]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Minor refactoring:
[thirdparty/glibc.git] / ChangeLog
1 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 * posix/wordexp.c (CHAR_IN_SET): New macro.
4 (parse_param): Use it.
5
6 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7
8 * sysdeps/powerpc/fpu/libm-test-ulps: update.
9
10 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11
12 [BZ #18043]
13 * posix/wordexp.c (parse_param): Fix buffer overflow.
14 * posix/wordexp-test.c (test_case): Add test case.
15
16 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17
18 [BZ #18042]
19 * posix/wordexp.c (parse_backtick): Fix off-by-one.
20 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21
22 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
23
24 [BZ #18043]
25 * posix/wordexp-test.c (test_case): Add test for BZ #18043
26 (do_bz18043): Delete.
27 (at_page_end): New.
28 (testit): Refactor to have words at the edge of unreadable page.
29
30 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31
32 [BZ #16734]
33 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34 Cleanup read-only streams as well.
35 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
36
37 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38
39 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
40 <bits/libc-lockP.h>
41
42 2015-03-07 Joseph Myers <joseph@codesourcery.com>
43
44 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
45 on [__KERNEL__].
46 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
47 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
48 * soft-fp/op-common.h (_FP_DECL): Likewise.
49
50 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
51
52 * elf/ifuncdep2.c (global): Replace
53 __attribute__((visibility("protected"))) with
54 asm (".protected global").
55 * elf/ifuncmod1.c (global): Likewise.
56 * elf/ifuncmod5.c (global): Likewise.
57
58 2015-03-06 Joseph Myers <joseph@codesourcery.com>
59
60 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
61 <asm/sfp-machine.h> instead of <sfp-machine.h>.
62
63 2015-03-06 Roland McGrath <roland@hack.frob.com>
64
65 * manual/install.texi (Configuring and compiling):
66 Document test-wrapper-env-only.
67 * INSTALL: Regenerated.
68
69 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
70
71 [BZ #18043]
72 * posix/wordexp.c (parse_param): Fix buffer overflow.
73 * posix/wordexp-test.c (do_bz18043): Add test case.
74
75 2015-03-06 Vincent Bernat <vincent@bernat.im>
76
77 * time/tst-strptime2.c (do_test): Ensure failing tests are
78 reported correctly.
79 * time/tst-strptime3.c (do_test): Likewise.
80
81 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
82
83 Fix aio_error thread-safety.
84 * sysdeps/pthread/aio_error.c: New file
85 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
86 synchronization.
87
88 2015-03-06 Florian Weimer <fweimer@redhat.com>
89
90 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
91 (group_number, vfprintf): Use it.
92 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
93 (JUMP, REF): Use it.
94 (WORK_BUFFER_SIZE): New enum constant.
95 (process_arg, vfprintf): Use it.
96
97 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
98
99 * manual/errno.texi (Error Messages): Complete example function
100 by adding missing #define.
101 (program_invocation_name): Add statement indicating GNU
102 extension and reference which header file declares the variable.
103 (program_invocation_short_name): Likewise.
104
105 2015-03-06 Mike Frysinger <vapier@gentoo.org>
106
107 * manual/errno.texi (Error Messages): Delete strerror ISO C89
108 compatibility note.
109
110 2015-03-05 Roland McGrath <roland@hack.frob.com>
111
112 * Makeconfig (test-wrapper-env-only): New variable.
113 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
114 then use that with $(test-wrapper-env-only) rather than using
115 $(test-wrapper-env) $(run-program-env) $($*-ENV).
116
117 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
118
119 [BZ #18082]
120 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
121 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
122 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
123 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
124 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
125 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
126 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
127 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
128 Likewise.
129 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
130 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
131 Likewise.
132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
133 Likewise.
134 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
135 Likewise.
136 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
137 Likewise.
138 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
140 Likewise.
141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
142 Likewise.
143 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
144 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
145
146 2015-03-04 Roland McGrath <roland@hack.frob.com>
147
148 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
149 (ETH_ALEN): New macro.
150 (struct ether_addr): Use it for length of ether_addr_octet.
151
152 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
153 (setdb): Don't call __nss_configure_lookup for "rpc".
154 (do_test): Don't call test_rpc.
155 (output_rpcent, test_rpc): Functions moved ...
156 * sunrpc/test-rpcent.c: ... to this new file.
157 * sunrpc/Makefile (tests): Add it.
158
159 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
160 __xpg_sigpause.
161 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
162 * nptl/tst-signal6.c: Likewise.
163 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
164 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
165
166 * configure.ac (libc_cv_cxx_link_ok): New check.
167 Reset CXX to empty if it fails to link.
168 * configure: Regenerated.
169 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
170 bug-atexit3-lib only if $(CXX) is nonempty.
171 * nptl/Makefile (tests): Likewise for tst-cancel24.
172 (tests, tests-static): Likewise for tst-cancel24-static.
173 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
174 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
175 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
176 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
177
178 2015-03-04 Andreas Schwab <schwab@suse.de>
179
180 [BZ #17631]
181 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
182 for non-GCC compilers.
183 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
184 Likewise.
185
186 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
187
188 [BZ #17776]
189 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
190 integer before bitwise and assembly operations.
191 (feclearexcept): Likewise.
192 * math/test-fenvinline.c: New file.
193 * math/Makefile: Add test-fenvinline test.
194
195 2015-03-03 Alan Modra <amodra@gmail.com>
196
197 [BZ #16512]
198 * scripts/localplt.awk: Strip off symbol version.
199 * NEWS: Mention bug fix.
200
201 2015-03-02 Roland McGrath <roland@hack.frob.com>
202
203 * sysdeps/pthread/timer_routines.c
204 (timer_free_list, thread_free_list, thread_active_list): Make static.
205
206 2015-03-02 Joseph Myers <joseph@codesourcery.com>
207
208 [BZ #17779]
209 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
210 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
211 Undefine.
212 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
213 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
214 Likewise.
215 * sysdeps/unix/sysv/linux/sh/kernel-features.h
216 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
217 Likewise.
218
219 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
220
221 [BZ #18036]
222 * posix/fnmatch_loop.c (END): Detect invalid pattern.
223 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
224
225 2015-03-02 Andreas Schwab <schwab@suse.de>
226
227 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
228 variable name.
229
230 2015-03-02 Florian Weimer <fweimer@redhat.com>
231
232 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
233 Return error status.
234
235 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
236
237 [BZ #15969]
238 * locale/findlocale.c (_nl_find_locale): Introduce const
239 version of loc_name and drop unsafe type casts.
240
241 2015-02-27 Roland McGrath <roland@hack.frob.com>
242
243 * dlfcn/tststatic2.c (main): Converted to ...
244 (do_test): ... this.
245 (TEST_FUNCTION): New macro.
246 Include test-skeleton.c.
247
248 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
249
250 [BZ #17711]
251 * elf/Makefile (tests): Add vismain only if PIE is enabled.
252 (tests-pie): Add vismain.
253 (CFLAGS-vismain.c): New.
254 * elf/vismain.c: Add comments for PIE requirement.
255
256 2015-02-27 Joseph Myers <joseph@codesourcery.com>
257
258 [BZ #18046]
259 [BZ #18047]
260 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
261 0x1p-56L as threshold for just returning the argument.
262 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
263 0x1p-32L as threshold for just returning the argument.
264 * math/auto-libm-test-in: Add more tests of atanh.
265 * math/auto-libm-test-out: Regenerated.
266 * sysdeps/i386/fpu/libm-test-ulps: Update.
267 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
268
269 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
270
271 * string/bcopy.c (bcopy): Call memmove for performance.
272
273 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
274
275 * string/bzero.c (__bzero): Call memset for performance.
276
277 2015-02-27 John David Anglin <dave.anglin@bell.net>
278
279 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
280 to 00100000.
281
282 2015-02-27 Joseph Myers <joseph@codesourcery.com>
283
284 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
285
286 2015-02-26 Joseph Myers <joseph@codesourcery.com>
287
288 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
289 (__kernel_standard): Use CSTR macro when setting exc.name.
290 * sysdeps/ieee754/Makefile [$(subdir) = math]
291 (CFLAGS-k_standard.c): Remove variable.
292
293 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
294 setting p and q from "else if" to "else".
295 (qzero): Likewise.
296 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
297 (qone): Likewise.
298 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
299 (qzerof): Likewise.
300 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
301 (qonef): Likewise.
302 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
303 (qzero): Likewise.
304 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
305 (qone): Likewise.
306
307 [BZ #18038]
308 [BZ #18039]
309 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
310 return pi/2 for arguments below 0x1p-113L.
311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
312 return pi/2 for arguments below 0x1p-106L.
313 * math/auto-libm-test-in: Add more tests of acos.
314 * math/auto-libm-test-out: Regenerated.
315
316 [BZ #16351]
317 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
318 (MO): New macro.
319 (__ieee754_asin): Force underflow exception for results with small
320 absolute value.
321 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
322 (MO): New macro.
323 (__ieee754_asinf): Force underflow exception for results with
324 small absolute value.
325 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
326 (__ieee754_asin): Force underflow exception for results with small
327 absolute value.
328 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
329 (__ieee754_asinf): Force underflow exception for results with
330 small absolute value.
331 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
332 (__ieee754_asinl): Force underflow exception for results with
333 small absolute value.
334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
335 (__ieee754_asinl): Force underflow exception for results with
336 small absolute value.
337 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
338 (__ieee754_asinl): Force underflow exception for results with
339 small absolute value.
340 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
341 Include <math.h>.
342 * math/auto-libm-test-in: Do not mark underflow exceptions as
343 possibly missing for bug 16351.
344 * math/auto-libm-test-out: Regenerated.
345
346 [BZ #18030]
347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
348 of power of 2 down when low part has opposite sign.
349 * math/libm-test.inc (logb_test_data): Add more tests.
350
351 2015-02-26 Andreas Schwab <schwab@suse.de>
352
353 [BZ #18032]
354 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
355 over collating symbol inside a bracket expression. Minor cleanup.
356 * posix/tst-fnmatch3.c (do_test): Add test case.
357
358 2015-02-26 Joseph Myers <joseph@codesourcery.com>
359
360 [BZ #18029]
361 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
362 Adjust exponent of power of 2 down when low part has opposite
363 sign.
364 * math/libm-test.inc (ilogb_test_data): Add more tests.
365
366 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
367
368 [BZ #15969]
369 * locale/findlocale.c (_nl_find_locale): Fix constness error in
370 the previous change.
371
372 [BZ #15969]
373 * locale/findlocale.c (_nl_find_locale): Retry archive search
374 after alias expansion.
375
376 2015-02-25 Roland McGrath <roland@hack.frob.com>
377
378 * iconv/tst-iconv3.c (main): Converted to ...
379 (do_test): ... this.
380 (TEST_FUNCTION): New macro.
381 Include test-skeleton.c.
382
383 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
384 (convert): Make function static.
385 (test_unalign): Likewise. Add const to argument pointee types.
386 (main): Replace with static function do_test.
387 Print "Succeeded." only if RET is zero.
388 (TEST_FUNCTION): New macro.
389 Include test-skeleton.c.
390
391 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
392 returns a null pointer.
393
394 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
395
396 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
397 to __memcpy_ppc only for static builds.
398
399 2015-02-25 Joseph Myers <joseph@codesourcery.com>
400
401 [BZ #18020]
402 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
403 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
404 * math/auto-libm-test-in: Add more tests of asinh.
405 * math/auto-libm-test-out: Regenerated.
406 * sysdeps/i386/fpu/libm-test-ulps: Update.
407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
408
409 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
410
411 [BZ #15850]
412 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
413 and ip6_mtuinfo definitions here.
414 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
415 in this define too. Update comment.
416
417 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
418
419 * elf/sprof.c (load_shobj): Tweak error message to match others.
420
421 2015-02-24 Kevin Easton <kevin@guarana.org>
422
423 [BZ #16145] (partial fix)
424 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
425 to reduce lock contention.
426
427 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
428
429 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
430 (struct timex): Update time comment.
431 (ADJ_SETOFFSET): Define.
432
433 2015-02-24 Joseph Myers <joseph@codesourcery.com>
434
435 [BZ #18019]
436 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
437 2**56 not 2**28 as threshold for log (2x) formula.
438 * math/auto-libm-test-in: Add more tests of acosh.
439 * math/auto-libm-test-out: Regenerated.
440 * sysdeps/i386/fpu/libm-test-ulps: Update.
441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
442
443 2015-02-24 Mike Frysinger <vapier@gentoo.org>
444
445 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
446 parenthesis around the buf assignment.
447 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
448
449 2015-02-24 Joseph Myers <joseph@codesourcery.com>
450
451 [BZ #16783]
452 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
453 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
454 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
455 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
456 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
457 * math/libm-test.inc (scalb_test_data): Add more tests.
458
459 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
460
461 [BZ #17916]
462 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
463 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
464
465 2015-02-24 Eric Rannaud <e@nanocritical.com>
466
467 [BZ #17523]
468 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
469 * io/bits/fcntl2.h (open): Use it.
470 (openat): Likewise.
471 * io/open.c (__libc_open): Likewise.
472 * io/open64.c (__libc_open64): Likewise.
473 * io/open64_2.c (__open64_2): Likewise.
474 * io/open_2.c (__open_2): Likewise.
475 * io/openat.c (__openat): Likewise.
476 * io/openat64.c (__openat64): Likewise.
477 * io/openat64_2.c (__openat64_2): Likewise.
478 * io/openat_2.c (__openat_2): Likewise.
479 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
480 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
481 * sysdeps/posix/open64.c (__libc_open64): Likewise.
482 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
483 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
484 (__open_nocancel): Likewise.
485 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
486 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
487 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
488
489 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
490
491 [BZ #14841]
492 * resolv/gethnamaddr.c (getanswer): Skip logging if
493 RES_USE_DNSSEC is set.
494 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
495
496 2015-02-24 Mike Frysinger <vapier@gentoo.org>
497
498 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
499
500 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
501
502 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
503 201304L, for Unicode 7.
504
505 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
506
507 [BZ #17836]
508 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
509 shared library. Add gmon-start.os otherwise.
510 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
511 $(objpfx)gmon-start.os if builing shared library.
512 ($(objpfx)g$(static-start-installed-name)): Likewise.
513
514 2015-02-23 Andreas Schwab <schwab@suse.de>
515
516 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
517
518 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
519
520 [BZ #17269]
521 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
522 (enlarge_userbuf): Likewise.
523
524 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
525
526 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
527 * math/atest-exp.c (TIMEOUT): Adjust to 200.
528 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
529 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
530
531 2015-02-20 Joseph Myers <joseph@codesourcery.com>
532
533 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
534 expression inside statement expression.
535
536 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
537
538 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
539 <sysdeps/nptl/lowlevellock.h> and remove macros and
540 functions that are now defined there.
541 (SYS_futex): Remove.
542 (lll_compare_and_swap): Remove.
543 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
544
545 2015-02-19 Joseph Myers <joseph@codesourcery.com>
546
547 [BZ #17999]
548 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
549 instead of scandirat.
550 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
551 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
552 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
553 __scandirat.
554 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
555 (__scandirat): Declare. Use libc_hidden_proto.
556 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
557 Remove variable.
558 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
559
560 2015-02-18 Joseph Myers <joseph@codesourcery.com>
561
562 [BZ #15319]
563 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
564 (MO): New macro.
565 (__ieee754_atan2): For results with small absolute value, force
566 underflow exception and remove excess range and precision from
567 return value.
568 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
569 (MO): New macro.
570 (__ieee754_atan2f): For results with small absolute value, force
571 underflow exception and remove excess range and precision from
572 return value.
573 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
574 (MO): New macro.
575 (__atan): For results with small absolute value, force underflow
576 exception and remove excess range and precision from return value.
577 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
578 (MO): New macro.
579 (__atanf): For results with small absolute value, force underflow
580 exception and remove excess range and precision from return value.
581 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
582 <math.h>.
583 (__ieee754_atan2): Force underflow exception for results with
584 small absolute value.
585 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
586 <math_private.h>.
587 (atan): Force underflow exception for results with small absolute
588 value.
589 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
590 (__atanf): Force underflow exception for results with small
591 absolute value.
592 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
593 <math.h>.
594 (__atanl): Force underflow exception for results with small
595 absolute value.
596 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
597 (__atanl): Force underflow exception for results with small
598 absolute value.
599 * sysdeps/x86/fpu/bits/mathinline.h
600 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
601 (__ieee754_atan2): Only define inline for long double.
602 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
603 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
604 * math/auto-libm-test-in: Do not mark underflow exceptions as
605 possibly missing for bug 15319. Add more tests of atan2.
606 * math/auto-libm-test-out: Regenerated.
607 * math/libm-test.inc (casin_test_data): Do not mark underflow
608 exceptions as possibly missing for bug 15319.
609 (casinh_test_data): Likewise.
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
611
612 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
613
614 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
615 * sysdeps/mips/bits/endian.h: Fix comments.
616
617 2015-02-18 Joseph Myers <joseph@codesourcery.com>
618
619 [BZ #17996]
620 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
621 (hdestroy_r): Likewise.
622 (hsearch_r): Likewise.
623 (__hcreate_r): Declare and use libc_hidden_proto.
624 (__hdestroy_r): Likewise.
625 (__hsearch_r): Likewise.
626 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
627 (hcreate): Call __hcreate_r instead of hcreate_r.
628 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
629 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
630 as weak alias of __hcreate_r.
631 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
632 __hdestroy_r.
633 (hsearch_r): Rename to __hsearch_r and define as weak alias of
634 __hsearch_r.
635 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
636 Remove variable.
637 (test-xfail-XPG4/search.h/linknamespace): Likewise.
638 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
639 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
640 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
641
642 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
643
644 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
645 arena_lock into a single arena_get.
646
647 2015-02-17 Carlos O'Donell <carlos@redhat.com>
648
649 * dl-reloc.c: Inlucde libc-internal.h.
650 (_dl_try_allocate_static_tls): Call ALIGN_UP.
651 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
652 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
653 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
654 (grow_heap): Likewise.
655 * malloc/malloc.c: Include libc-internal.h.
656 (do_check_malloc): Call powerof2.
657 (sysmalloc): Use pagesize. Call ALIGN_UP.
658 (systrim): Use pagesize.
659 (mremap_chunk): Use pagesize. Call ALIGN_UP.
660 (__libc_valloc): Use pagesize.
661 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
662
663 2015-02-17 Joseph Myers <joseph@codesourcery.com>
664
665 [BZ #17991]
666 * include/sys/resource.h (__getrlimit64): Declare. Use
667 libc_hidden_proto.
668 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
669 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
670 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
671 getrlimit64.
672 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
673 __getrlimit64.
674 [!getrlimit64] (getrlimit64): Define as weak alias of
675 __getrlimit64. Use libc_hidden_weak.
676 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
677 using __getrlimit64 not __new_getrlimit64.
678 (__GI_getrlimit64): Likewise.
679 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
680 Likewise.
681 (__GI_getrlimit64): Likewise.
682 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
684 (getrlimit): Add __getrlimit64 alias.
685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
686 Likewise.
687 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
688 Remove variable.
689 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
690 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
691
692 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
693
694 * libio/fileops.c: Add missing sys/mman.h
695 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
696
697 2015-02-17 Joseph Myers <joseph@codesourcery.com>
698
699 * manual/math.texi (Errors in Math Functions): Clarify goals
700 regarding inexact and underflow exceptions.
701
702 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
703
704 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
705 * sysdeps/mips/memset.S: Ditto.
706
707 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
708
709 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
710
711 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
712
713 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
714 (__v1longjmp): Remove versioned symbol.
715 (__v1siglongjmp): Remove alias and versioned symbol.
716 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
717 (__v2siglongjmp): Likewise.
718
719 2015-02-16 Torvald Riegel <triegel@redhat.com>
720
721 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
722
723 2015-02-16 Mike Frysinger <vapier@gentoo.org>
724
725 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
726
727 2015-02-16 Joseph Myers <joseph@codesourcery.com>
728
729 [BZ #17987]
730 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
731 zero result does not depend on the sign resulting from
732 subtraction.
733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
734 Likewise.
735 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
736 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
737 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
738 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
739 * math/libm-test.inc (remquo_test_data): Add more tests.
740
741 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
742
743 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
744 Problem reported by J William Piggott.
745
746 2015-02-16 Joseph Myers <joseph@codesourcery.com>
747
748 [BZ #17978]
749 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
750 products 4 * y and 2 * y where those would overflow.
751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
752 Likewise.
753 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
754 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
755 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
756 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
757 * math/libm-test.inc (remquo_test_data): Add more tests.
758
759 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
760
761 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
762 [defined _COMPILING_NEWLIB].
763 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
764 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
765
766 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
767 [!defined __mips_isa_rev || __mips_isa_rev < 6].
768
769 2015-02-16 Torvald Riegel <triegel@redhat.com>
770
771 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
772 acquired.
773
774 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
775
776 [BZ #17792]
777 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
778 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
779 HOST_STACK_END_ADDR): Likewise.
780
781 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
782
783 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
784 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
785 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
786
787 2015-02-13 Roland McGrath <roland@hack.frob.com>
788
789 * sysdeps/generic/c++-types.data: New file.
790 * sysdeps/generic/ld.abilist: New file.
791 * sysdeps/generic/libBrokenLocale.abilist: New file.
792 * sysdeps/generic/libanl.abilist: New file.
793 * sysdeps/generic/libc.abilist: New file.
794 * sysdeps/generic/libcrypt.abilist: New file.
795 * sysdeps/generic/libdl.abilist: New file.
796 * sysdeps/generic/libm.abilist: New file.
797 * sysdeps/generic/libpthread.abilist: New file.
798 * sysdeps/generic/libresolv.abilist: New file.
799 * sysdeps/generic/librt.abilist: New file.
800
801 2015-02-13 Joseph Myers <joseph@codesourcery.com>
802
803 [BZ #17569]
804 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
805 Compute absolute value of x as modified by fmod, not original
806 value of x.
807 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
808 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
809 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
810 RUN_TEST_ffI_f1_mod8.
811 (remquo_test_data): Add more tests.
812
813 2015-02-13 Roland McGrath <roland@hack.frob.com>
814
815 * sysdeps/init_array/pt-crti.S: New file.
816
817 2015-02-13 Joseph Myers <joseph@codesourcery.com>
818
819 [BZ #17967]
820 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
821 __builtin_fmaf instead of relying on contraction of a * b + c.
822
823 2015-02-12 J William Piggott <elseifthen@gmx.com>
824
825 [BZ #17969]
826 * manual/time.texi: correct the zoneinfo path in the TZ Variable
827 node.
828
829 2015-02-12 Joseph Myers <joseph@codesourcery.com>
830
831 [BZ #17964]
832 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
833 __builtin_fma instead of relying on contraction of a * b + c.
834
835 2015-02-12 Roland McGrath <roland@hack.frob.com>
836
837 * Makeconfig (ASFLAGS): Add -Werror=undef.
838 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
839 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
840 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
841
842 * Makeconfig (after-link): New variable.
843 (+link-pie, +link-pie-tests): Use it.
844 (+link-static, +link-static-tests): Likewise.
845 (+link, +link-tests): Likewise.
846 * Makerules (build-module, build-module-asneeded): Likewise.
847 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
848 Likewise.
849 * elf/Makefile ($(objpfx)ld.so): Likewise.
850
851 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
852
853 [BZ #17965]
854 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
855 both struct timeval and struct timespec.
856
857 2015-02-12 Joseph Myers <joseph@codesourcery.com>
858
859 [BZ #16560]
860 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
861 and redefine.
862 (__ieee754_exp2l): Do not multiply small fractional parts by
863 M_LN2l.
864 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
865 small argument.
866 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
867 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
868 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
869 * math/auto-libm-test-in: Add more tests of exp2.
870 * math/auto-libm-test-out: Regenerated.
871
872 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
873
874 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
875 unaligned path.
876
877 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
878
879 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
880 little endian.
881
882 2015-02-12 Andreas Schwab <schwab@suse.de>
883
884 [BZ #15790]
885 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
886 Filter out elision flags from value returned in kind.
887 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
888 * nptl/tst-pthread-mutexattr.c: New file.
889
890 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
891
892 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
893 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
894 into gnu-gnu, and update comment to refer to abi-tags.
895
896 2015-02-11 Joseph Myers <joseph@codesourcery.com>
897
898 [BZ #15467]
899 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
900 (__sincos): Set errno to EDOM for infinite argument.
901 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
902 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
903 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
904 (__sincosl): Set errno to EDOM for infinite argument.
905 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
906 (__sincosl): Set errno to EDOM for infinite argument.
907 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
908 (__sincosl): Set errno to EDOM for infinite argument.
909 * math/libm-test.inc (sincos_test_data): Test errno setting.
910
911 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
912
913 * string/strxfrm_l.c: Remove #define STRCMP.
914 * string/strcoll_l.c: Remove #define STRLEN.
915 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
916 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
917
918 2015-02-10 Joseph Myers <joseph@codesourcery.com>
919
920 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
921 * sysdeps/mips/mips32/sfp-machine.h: ... here.
922 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
923 * sysdeps/mips/mips64/Makefile: ... here.
924 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
925 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
926 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
927 * sysdeps/mips/mips64/sfp-machine.h: ... here.
928 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
929 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
930 * sysdeps/mips/mips64/n64/Implies: Likewise.
931
932 2015-02-10 Roland McGrath <roland@hack.frob.com>
933
934 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
935 <sys/time.h>, <string.h>, and <errno.h>.
936 (dest_offset, dest_address, value, zero): Remove unused variables.
937 (ldouble): Remove typedef.
938 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
939 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
940 1). Fix code style.
941 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
942 (check): Function removed.
943 (CHECK): New macro.
944 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
945 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
946 Don't call set_sigaction_FP and remove_sigaction_FP here.
947 (ldouble_test): Just use 'long double' as macro argument, no need for
948 the 'ldouble' typedef.
949 (do_test): Set up SIGFPE handler at start, using plain signal rather
950 than sigaction. Fix code style.
951
952 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
953
954 [BZ #17949]
955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
956 jump label.
957
958 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
959
960 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
961 * sysdeps/powerpc/powerpc32/configure: Regenerated.
962
963 * sysdeps/powerpc/configure.ac: Remove file.
964 * sysdeps/powerpc/configure: Likewise.
965
966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
967 [sysdep_routines]: Remove wordcopy-power6 object.
968 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
969 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
970 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
971 (__memmove_ppc32): Likewise.
972 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
973 file.
974 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
975 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
976 Remove preprocessor.
977
978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
979 [sysdep_routines]: Remove wide chars objects.
980 [wcsmbs]: New rule for wide char objects.
981
982 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
983 Remove wordcopy-power6 obejct.
984 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
985 Use local call for wordcopy and memcpy symbols.
986 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
987 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
988 implementation for loader.
989 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
990
991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
992 Remove wordcopy-power7 object.
993 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
994 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
995 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
996 (_wordcopy_fwd_dest_aligned): Likewise.
997 (_wordcopy_bwd_aligned): Likewise.
998 (_wordcopy_bwd_dest_aligned): Likewise.
999
1000 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1001 Rewrite to call __memmove_ppc instead of include default
1002 implementation.
1003
1004 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1005 Remove wide chars objects.
1006 [wcsmbs]: New rule for wide char objects.
1007
1008 2015-02-09 Andreas Schwab <schwab@suse.de>
1009
1010 [BZ #17912]
1011 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1012 in terms of __O_DIRECTORY.
1013
1014 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1015
1016 * time/getdate.c: Include <stdbool.h>.
1017 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1018 call PTR_MANGLE.
1019 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1020 PTR_DEMANGLE.
1021
1022 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1023
1024 Add ersatz _Static_assert on older C hosts
1025 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1026 pre-C11 C platform that is not known to support _Static_assert.
1027
1028 2015-02-07 Richard Braun <rbraun@sceen.net>
1029
1030 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1031 sigstate.
1032 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1033
1034 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1035
1036 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1037 priority against unexistent AIO_PRIO_DELTA_MAX.
1038 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1039 instead of int.
1040 * misc/fchflags.c (fchflags): Likewise.
1041 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1042 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1043 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1044 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1045 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1046 Declare macros.
1047 [__USE_MISC] (chflags, fchflags): Declare functions.
1048 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1049 EINVAL when nfds is greater than FD_SETSIZE.
1050 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1051 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1052 45.
1053 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1054 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1055 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1056 MACH_RCV_TIMED_OUT.
1057 * hurd/hurd/signal.h (_hurd_self_sigstate,
1058 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1059 Explicit casts from void *.
1060 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1061 * abi-tags: Rename gnu-gnu os into gnu.
1062
1063 [BZ #4719]
1064 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1065 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1066 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1067 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1068 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1069 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1070
1071 [BZ #17944]
1072 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1073 duplicates ADDR->sun_path with sockaddr LEN limitation.
1074 * sysdeps/mach/hurd/connect.c: Include <string.h>
1075 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1076 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1077 * sysdeps/mach/hurd/sendto.c: Likewise.
1078 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1079 implementing it by hand.
1080
1081 2015-02-06 Roland McGrath <roland@hack.frob.com>
1082
1083 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1084 Use sfi_breg on ldr.
1085 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1086 Likewise.
1087
1088 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1089 it's defined.
1090 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1091 Test SIGSETXID only if it's defined.
1092
1093 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1094
1095 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1096 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1097
1098 * nptl/tst-align2.c: Moved ...
1099 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1100 * nptl/Makefile (tests): Remove tst-align2.
1101 * sysdeps/unix/sysv/linux/Makefile
1102 [$(subdir) = nptl] (tests): Add tst-align-clone.
1103 * nptl/tst-getpid1.c: Moved ...
1104 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1105 * nptl/tst-getpid2.c: Moved ...
1106 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1107 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1108 * sysdeps/unix/sysv/linux/Makefile
1109 [$(subdir) = nptl] (tests): ... here.
1110 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1111 * sysdeps/unix/sysv/linux/Makefile
1112 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1113
1114 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1115 Drop trailing \n from perror argument. Use return rather than exit.
1116
1117 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1118 on [SA_SIGINFO].
1119 * nptl/tst-cancel21.c (do_test): Likewise.
1120 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1121 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1122 [!SA_SIGINFO]: Make it a stub test.
1123
1124 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1125 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1126
1127 * posix/tst-getlogin.c: Move to ...
1128 * login/tst-getlogin.c: ... here.
1129 * posix/Makefile (tests): Move tst-getlogin to ...
1130 * login/Makefile (tests): ... here.
1131
1132 * libio/tst-atime.c (do_test): Move local variables SV and E
1133 inside [ST_NOATIME] conditional.
1134
1135 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1136
1137 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1138
1139 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1140 (wait_code): New function replaces macro.
1141 Call nanosleep rather than syscall.
1142
1143 * nptl/pt-system.c: Rewritten. Put everything under
1144 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1145 Use IFUNC to redirect when possible.
1146
1147 * nptl/pt-longjmp.c: Rewritten. Put everything under
1148 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1149 Use IFUNC to redirect when possible.
1150
1151 * nptl/pt-fork.c: Rewritten. Put everything under
1152 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1153 Use IFUNC to redirect when possible.
1154 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1155
1156 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1157 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1158 unconditionally nowadays. This included the only reference to
1159 __vdso_clock_gettime that appears outside libc proper.
1160 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1161 Remove version set (containing only __vdso_clock_gettime).
1162 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1163 Add attribute_hidden.
1164 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1165 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1166 libc_hidden_data_def.
1167 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1169
1170 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1171 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1172 setrpcent, and getrpcport to ...
1173 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1174 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1175 getrpcbynumber_r, and getrpcent_r to ...
1176 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1177 * inet/getrpcbyname.c: Moved ...
1178 * sunrpc/getrpcbyname.c: ... here.
1179 * inet/getrpcbyname_r.c: Moved ...
1180 * sunrpc/getrpcbyname_r.c: ... here.
1181 * inet/getrpcbynumber.c: Moved ...
1182 * sunrpc/getrpcbynumber.c: ... here.
1183 * inet/getrpcbynumber_r.c: Moved ...
1184 * sunrpc/getrpcbynumber_r.c: ... here.
1185 * inet/getrpcent.c: Moved ...
1186 * sunrpc/getrpcent.c: ... here.
1187 * inet/getrpcent_r.c: Moved ...
1188 * sunrpc/getrpcent_r.c: ... here.
1189 * inet/Makefile (routines): Move those to ...
1190 * sunrpc/Makefile (routines): ... here.
1191 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1192 the $(subdirs) list.
1193 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1194 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1195 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1196 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1197
1198 * elf/Makefile (routines): Include $(all-dl-routines), not just
1199 $(dl-routines).
1200 (rtld-routines): Likewise. Use = rather than :=.
1201 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1202 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1203 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1204 * sysdeps/arm/Makefile: Likewise.
1205 * sysdeps/i386/Makefile: Likewise.
1206 * sysdeps/x86_64/Makefile: Likewise.
1207 * sysdeps/hppa/Makefile [$(subdir) = elf]
1208 (sysdep_routines, sysdep-rtld-routines): Don't add
1209 $(sysdep-dl-routines) to these.
1210 * sysdeps/ia64/Makefile: Likewise.
1211 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1212 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1213 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1214 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1215 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1216 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1217 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1218 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1219 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1220 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1221 these; sysdep-dl-routines alone is enough.
1222
1223 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1224
1225 [BZ #17932]
1226 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1227 where multiplication results in zero and third argument is finite
1228 and nonzero.
1229 * math/auto-libm-test-in: Add more tests of fma.
1230 * math/auto-libm-test-out: Regenerated.
1231
1232 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1233 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1234 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1235 (_FP_CMP_EQ): Likewise.
1236 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1237
1238 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1239 extra argument CHECK_NAN. Redefine as wrapper around
1240 _FP_EXTEND_CNAN.
1241
1242 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1243
1244 * version.h (RELEASE): Set to "stable".
1245 (VERSION): Set to "2.21"
1246 * include/features.h (__GLIBC_MINOR__): Set to 21.
1247
1248 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1249
1250 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1251 Paul Eggert <eggert@cs.ucla.edu>
1252
1253 [BZ #16618]
1254 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1255 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1256 size in bytes. Store needed elements in wpmax. Use needed size
1257 in bytes for extend_alloca.
1258
1259 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1260
1261 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1262 binutls 2.25, and texinfo 5.2.
1263 * INSTALL: Regenerate.
1264 * sysdeps/nios2/configure: Regenerate.
1265 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1266 * manual/contrib.texi: Update.
1267 * po/be.po: Update.
1268 * po/bg.po: Update.
1269 * po/ca.po: Update.
1270 * po/cs.po: Update.
1271 * po/da.po: Update.
1272 * po/de.po: Update.
1273 * po/el.po: Update.
1274 * po/eo.po: Update.
1275 * po/es.po: Update.
1276 * po/fi.po: Update.
1277 * po/fr.po: Update.
1278 * po/gl.po: Update.
1279 * po/hr.po: Update.
1280 * po/hu.po: Update.
1281 * po/ia.po: Update.
1282 * po/id.po: Update.
1283 * po/it.po: Update.
1284 * po/ja.po: Update.
1285 * po/ko.po: Update.
1286 * po/lt.po: Update.
1287 * po/nb.po: Update.
1288 * po/nl.po: Update.
1289 * po/pl.po: Update.
1290 * po/pt_BR.po: Update.
1291 * po/ru.po: Update.
1292 * po/rw.po: Update.
1293 * po/sk.po: Update.
1294 * po/sl.po: Update.
1295 * po/sv.po: Update.
1296 * po/tr.po: Update.
1297 * po/uk.po: Update.
1298 * po/vi.po: Update.
1299 * po/zh_CN.po: Update.
1300 * po/zh_TW.po: Update.
1301
1302 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1303 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1304 * sysdeps/hppa/dl-irel.h: Remove #warning.
1305 * sysdeps/hppa/entry.h: Provide prototype for
1306 __canonicalize_funcptr_for_compare and cast argument.
1307 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1308 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1309 * sysdeps/hppa/sotruss-lib.c: New file.
1310 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1311 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1312 (atomic_compare_and_exchange_bool_acq): Likewise.
1313 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1314 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1315
1316 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1317 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1318 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1319
1320 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1321
1322 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1323 called function in non-PIC case.
1324
1325 2015-01-31 David S. Miller <davem@davemloft.net>
1326
1327 * sysdeps/sparc/sparc32/bits/atomic.h
1328 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1329 unlock not after it.
1330 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1331 volatile register usage warnings from the compiler.
1332
1333 * sysdeps/sparc/nptl/sem_init.c: Delete.
1334 * sysdeps/sparc/nptl/sem_post.c: Delete.
1335 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1336 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1337 * sysdeps/sparc/sparc32/sem_init.c: New file.
1338 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1339 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1340 padding explicitly initialized.
1341 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1342 padding for in-semaphore spinlock.
1343 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1344 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1345 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1346 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1347 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1348 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1349 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1350 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1351 version.
1352 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1353 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1354
1355 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1356
1357 [BZ #17801]
1358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1359 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1360 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1361 New.
1362 (index_AVX_Fast_Unaligned_Load): Likewise.
1363 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1364 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1365 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1366 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1367 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1368 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1369 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1370 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1371 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1372
1373 2015-01-29 Andreas Schwab <schwab@suse.de>
1374
1375 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1376
1377 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1378
1379 [BZ #17892]
1380 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1381
1382 2015-01-28 Martin Sebor <msebor@redhat.com>
1383
1384 * math/README.libm-test: Clarify. Add "How to read the test output."
1385
1386 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1387
1388 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1389 Define to 0.
1390
1391 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1392
1393 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1394 (__HAVE_64B_ATOMICS): Define to 0.
1395
1396 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1397
1398 [BZ #17885]
1399 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1400 value to set as new flag.
1401
1402 [BZ #16576]
1403 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1404 and use _ARCH_PPCSQ instead.
1405 (__ieee754_sqrt): Likewise.
1406 (__ieee754_sqrtf): Likewise.
1407 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1408 _ARCH_PPCSQ is defined.
1409 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1410 fsqrt instruction.
1411 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1412 _ARCH_PPCSQ is defined.
1413 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1414 fsqrts instruction.
1415 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1416
1417 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1418
1419 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1420 bug (GCC BZ #64739).
1421
1422 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1423
1424 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1425 Mark _retval as used.
1426 (lll_futex_wake_unlock): Likewise.
1427 (lll_futex_timed_wait_requeue_pi): Likewise.
1428
1429 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1430 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1431 register variables.
1432
1433 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1434 libm_hidden_def.
1435
1436 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1437 (__bswap_64): Mark as __always_inline.
1438
1439 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1440
1441 [BZ #15378]
1442 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1443 when none of the search directories exist.
1444
1445 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1446
1447 [BZ #17869]
1448 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1449 power8 in .machine directive.
1450
1451 [BZ #17868]
1452 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1453 set dependency from opd value.
1454
1455 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1458 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1459 architecture.
1460
1461 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 [BZ #17870]
1464 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1465 with uint64_t.
1466 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1467 (uint64_t) 1.
1468 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1469 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1470 Replace 1UL with (uint64_t) 1.
1471 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1472 int with uint64_t.
1473
1474 2015-01-23 Roland McGrath <roland@hack.frob.com>
1475
1476 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1477 (if_freenameindex): Likewise.
1478
1479 * resource/getrlimit64.c: Add missing libc_hidden_def.
1480
1481 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1482
1483 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1484 __label__.
1485 (_FP_FMA): Likewise.
1486 (_FP_TO_INT_ROUND): Likewise.
1487 (_FP_FROM_INT): Likewise.
1488
1489 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1490
1491 [BZ #16418]
1492 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1493 Make code racy and cancel safe.
1494
1495 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1496
1497 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1498 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1499 attribution.
1500
1501 * pwd/tst-getpw.c: Rewrite.
1502
1503 [BZ #17702]
1504 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1505 (modules-names): Add moddummy1 and moddummy2.
1506 ($(objpfx)tst-rec-dlopen): Define.
1507 * dlfcn/moddummy1.c: New file.
1508 * dlfcn/moddummy2.c: New file.
1509 * dlfcn/tst-rec-dlopen.c: New file.
1510 * elf/dl-cache.c (_dl_load_cache_lookup):
1511 Return char*. Copy result with alloca/strcpy/strdup.
1512 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1513 returns char*. Free cached. If not saving realname
1514 free cached.
1515 * elf/dl-open.c (dl_open_worker): Do not assert that
1516 _r_debug->r_state is RT_CONSISTENT.
1517 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1518 returns char*.
1519
1520 2015-01-21 Torvald Riegel <triegel@redhat.com>
1521 Carlos O'Donell <carlos@redhat.com>
1522
1523 [BZ #12674]
1524 * nptl/sem_waitcommon.c: New file.
1525 * nptl/sem_wait.c: Include sem_waitcommon.c.
1526 (__sem_wait_cleanup, do_futex_wait): Remove.
1527 (__new_sem_wait): Adapt.
1528 (__new_sem_trywait): New function.
1529 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1530 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1531 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1532 (sem_timedwait): Adapt.
1533 * nptl/sem_post.c (__new_sem_post): Adapt.
1534 (futex_wake): New function.
1535 (__old_sem_post): Add release MO fence.
1536 * nptl/sem_open.c (sem_open): Adapt.
1537 * nptl/sem_init.c (__new_sem_init): Adapt.
1538 (futex_private_if_supported): New function.
1539 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1540 (__old_sem_getvalue): Add using previous code.
1541 * sysdeps/nptl/internaltypes.h: Adapt.
1542 * nptl/tst-sem13.c (do_test): Adapt.
1543 * nptl/tst-sem11.c (main): Adapt.
1544 * nptl/sem_trywait.c: Remove.
1545 * nptl/DESIGN-sem.txt: Remove.
1546 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1547 (gen-as-const-headers): Remove structsem.sym.
1548 * nptl/structsem.sym: Remove.
1549 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1550 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1551 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1552 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1553 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1554 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1555 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1556 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1557 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1558 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1559 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1560 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1561 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1562 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1563 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1564 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1565 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1566 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1567 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1568 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1569 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1570 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1571
1572 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1573
1574 * INSTALL: Regenerated.
1575
1576 * po/libc.pot: Regenerated.
1577
1578 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1579 Sandra Loosemore <sandra@codesourcery.com>
1580 Andrew Jenner <andrew@codesourcery.com>
1581 Joseph Myers <joseph@codesourcery.com>
1582 Nathan Sidwell <nathan@codesourcery.com>
1583
1584 * NEWS: Mention new Nios II port.
1585 * sysdeps/nios2/Implies: New file.
1586 * sysdeps/nios2/Makefile: New file.
1587 * sysdeps/nios2/Subdirs: New file.
1588 * sysdeps/nios2/Versions: New file.
1589 * sysdeps/nios2/__longjmp.S: New file.
1590 * sysdeps/nios2/abort-instr.h: New file.
1591 * sysdeps/nios2/backtrace.c: New file.
1592 * sysdeps/nios2/bits/endian.h: New file.
1593 * sysdeps/nios2/bits/fenv.h: New file.
1594 * sysdeps/nios2/bits/link.h: New file.
1595 * sysdeps/nios2/bits/setjmp.h: New file.
1596 * sysdeps/nios2/bsd-_setjmp.S: New file.
1597 * sysdeps/nios2/bsd-setjmp.S: New file.
1598 * sysdeps/nios2/configure: New generated file.
1599 * sysdeps/nios2/configure.ac: New file.
1600 * sysdeps/nios2/crti.S: New file.
1601 * sysdeps/nios2/crtn.S: New file.
1602 * sysdeps/nios2/dl-init.c: New file.
1603 * sysdeps/nios2/dl-machine.h: New file.
1604 * sysdeps/nios2/dl-sysdep.h: New file.
1605 * sysdeps/nios2/dl-tls.h: New file.
1606 * sysdeps/nios2/dl-trampoline.S: New file.
1607 * sysdeps/nios2/gccframe.h: New file.
1608 * sysdeps/nios2/gmp-mparam.h: New file.
1609 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1610 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1611 * sysdeps/nios2/ldsodefs.h: New file.
1612 * sysdeps/nios2/libc-tls.c: New file.
1613 * sysdeps/nios2/libm-test-ulps: New file.
1614 * sysdeps/nios2/machine-gmon.h: New file.
1615 * sysdeps/nios2/math-tests.h: New file.
1616 * sysdeps/nios2/math_private.h: New file.
1617 * sysdeps/nios2/memusage.h: New file.
1618 * sysdeps/nios2/nptl/Makefile: New file.
1619 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1620 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1621 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1622 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1623 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1624 * sysdeps/nios2/nptl/tls.h: New file.
1625 * sysdeps/nios2/preconfigure: New file.
1626 * sysdeps/nios2/s_fma.c: New file.
1627 * sysdeps/nios2/s_fmaf.c: New file.
1628 * sysdeps/nios2/setjmp.S: New file.
1629 * sysdeps/nios2/sfp-machine.h: New file.
1630 * sysdeps/nios2/sotruss-lib.c: New file.
1631 * sysdeps/nios2/stackguard-macros.h: New file.
1632 * sysdeps/nios2/stackinfo.h: New file.
1633 * sysdeps/nios2/start.S: New file.
1634 * sysdeps/nios2/sysdep.h: New file.
1635 * sysdeps/nios2/tls-macros.h: New file.
1636 * sysdeps/nios2/tst-audit.h: New file.
1637 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1638 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1639 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1640 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1641 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1642 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1643 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1644 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1645 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1646 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1647 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1648 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1649 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1650 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1651 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1652 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1653 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1654 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1655 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1656 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1657 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1658 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1659 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1660 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1661 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1662 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1663 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1664 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1665 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1666 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1667 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1668 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1669 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1670 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1671 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1672 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1673 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1674 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1675 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1676 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1677 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1678 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1679 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1680 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1681
1682 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1683
1684 [BZ #17844]
1685 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1686 (getutent): Use weak_alias in non SHARED case
1687 and default_symbol_version in SHARED case.
1688 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1689 (getutent_r, pututline): Likewise.
1690 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1691 (getutid): Likewise.
1692 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1693 (getutid_r): Likewise.
1694 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1695 (getutline): Likewise.
1696 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1697 (getutline_r): Likewise.
1698 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1699 (updwtmp): Likewise.
1700
1701 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1702
1703 [BZ #17848]
1704 * sysdeps/s390/s390-32/memcmp.S
1705 (memcmp_g5): Rename to __memcmp_g5.
1706 * sysdeps/s390/s390-32/memcpy.S
1707 (memcpy_g5): Rename to __memcpy_g5.
1708 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1709 (memcpy_mvcle) Rename to __memcpy_mvcle.
1710 * sysdeps/s390/s390-32/memset.S
1711 (memset_g5): Rename to __memset_g5.
1712 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1713 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1714 and use prefixed functions.
1715 * sysdeps/s390/s390-32/multiarch/memcmp.S
1716 (memcmp_z196): Rename to __memcmp_z196.
1717 (memcmp_z10): Rename to __memcmp_z10.
1718 (memcmp): Set alias to __memcmp_g5.
1719 (bcmp): Set alias to __memcmp_g5.
1720 * sysdeps/s390/s390-32/multiarch/memcpy.S
1721 (memcpy_z196): Rename to __memcpy_z196.
1722 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1723 (memcpy_z10): Rename to __memcpy_z10.
1724 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1725 (memcpy): Set alias to __memcpy_g5.
1726 * sysdeps/s390/s390-32/multiarch/memset.S
1727 (memset_z196): Rename to __memset_z196.
1728 Jump to __memset_mvcle instead of memset_mvcle.
1729 (memset_z10): Rename to __memset_z10.
1730 Jump to __memset_mvcle instead of memset_mvcle.
1731 (memset_mvcle) Rename to __memset_mvcle.
1732 (memset): Set alias to __memset_g5.
1733 * sysdeps/s390/s390-64/memcmp.S
1734 (memcmp_z900): Rename to __memcmp_z900.
1735 * sysdeps/s390/s390-64/memcpy.S
1736 (memcpy_z900): Rename to __memcpy_z900.
1737 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1738 (memcpy_mvcle) Rename to __memcpy_mvcle.
1739 * sysdeps/s390/s390-64/memset.S
1740 (memset_z900): Rename to __memset_z900.
1741 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1742 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1743 and use prefixed functions.
1744 * sysdeps/s390/s390-64/multiarch/memcmp.S
1745 (memcmp_z196): Rename to __memcmp_z196.
1746 (memcmp_z10): Rename to __memcmp_z10.
1747 (memcmp): Set alias to __memcmp_z900.
1748 (bcmp): Set alias to __memcmp_z900.
1749 * sysdeps/s390/s390-64/multiarch/memcpy.S
1750 (memcpy_z196): Rename to __memcpy_z196.
1751 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1752 (memcpy_z10): Rename to __memcpy_z10.
1753 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1754 (memcpy): Set alias to __memcpy_z900.
1755 * sysdeps/s390/s390-64/multiarch/memset.S
1756 (memset_z196): Rename to __memset_z196.
1757 Jump to __memset_mvcle instead of memset_mvcle.
1758 (memset_z10): Rename to __memset_z10.
1759 Jump to __memset_mvcle instead of memset_mvcle.
1760 (memset_mvcle) Rename to __memset_mvcle.
1761 (memset): Set alias to __memset_z900.
1762
1763 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1764
1765 [BZ #17748]
1766 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1767 __fesetenv instead of fesetenv.
1768
1769 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1770
1771 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1772 macro.
1773
1774 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1775
1776 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1777 regression on LE.
1778
1779 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1780 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1781 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1782 strncmp-power8 object.
1783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1784 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1785 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1786 * NEWS: Update.
1787
1788 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1789 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790
1791 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1792 trailing byte check.
1793
1794 2015-01-13 David S. Miller <davem@davemloft.net>
1795
1796 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1797
1798 2015-01-13 Roland McGrath <roland@hack.frob.com>
1799
1800 * login/logout.c (logout): Use memset rather than bzero.
1801 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1802 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1803 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1804 (_gethtbyaddr): Likewise.
1805 * locale/programs/simple-hash.c (bcopy): Macro removed.
1806
1807 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808
1809 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1810 Add strcmp-power8 object.
1811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1812 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1814 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1815 __strcmp_power8 implementation.
1816 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1817 * NEWS: Update.
1818
1819 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1820 Add strncpy-power8 and stpncpy-power8 objects.
1821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1822 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1823 implementations.
1824 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1825 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1826 __stpncpy_power8 implementation.
1827 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1828 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1829 __strncpy_power8 implementation.
1830 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1831 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1832 * NEWS: Update.
1833
1834 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1835 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1836 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1837
1838 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1839 strncat-power8 object.
1840 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1841 __strcat_power8 implementation.
1842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1843 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1844 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1845 optimized strcat for power8.
1846
1847 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1848 strcpy-power8 and stpcpy-power8 objects.
1849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1850 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1851 implementations.
1852 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1853 multiarch stpcpy implementation for POWER8.
1854 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1855 multiarch strcpy implementation for POWER8.
1856 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1857 __strcpy_power8 function.
1858 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1859 stpcpy for POWER8.
1860 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1861 strcpy for POWER8.
1862 * NEWS: Update.
1863
1864 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1865
1866 [BZ #16009]
1867 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1868 weights and rules. Use do_xfrm_cached if data fits in cache,
1869 do_xfrm otherwise. Moved former main loop to...
1870 * (do_xfrm_cached): New function.
1871 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1872 find_idx, find_position and stack_push.
1873 * (find_idx): New function.
1874 * (find_position): Likewise.
1875 * localedata/sort-test.sh: Added test run for do_xfrm.
1876 * localedata/xfrm-test.c (main): Added command line option
1877 -nocache to run the test with strings that are too large for
1878 the STRXFRM cache.
1879
1880 2015-01-13 Torvald Riegel <triegel@redhat.com>
1881
1882 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1883 variable to lll_futex_wake call, not the value itself.
1884
1885 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1886
1887 [BZ #17803]
1888 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1889 twom64. Adjust value to 0x1p-64L.
1890 (__scalblnl): Only return standard underflowing result for K <=
1891 -64 not K <= -63; adjust exponent for underflowing result by 64
1892 not 63.
1893 * math/libm-test.inc (scalbn_test_data): Add more tests.
1894 (scalbln_test_data): Likewise.
1895
1896 [BZ #17834]
1897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1898 0x1p63L.
1899 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1900 not HX.
1901 * math/libm-test.inc (scalbn_test_data): Add more tests.
1902 (scalbln_test_data): Likewise.
1903
1904 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905 Stefani Seibold <stefani@seibold.net>
1906
1907 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1908 (sysdep_routines): Add dl-vdso here, ...
1909 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1910 (sysdep_routines): ... not here.
1911 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1912 fallback when vDSO is not presented.
1913 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1914 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1915 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1916 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1917 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1918 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1919 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1921 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1923 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1924 fallback configurable symbol when vDSO is not available.
1925 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1926 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1927 be able to redefine fallback symbol when vDSO is not available.
1928 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1929 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1930
1931 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932
1933 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1934 (TLS_INIT_TP): Add tm_capable initialization.
1935 (TLS_DEFINE_INIT_TP): Likewise.
1936 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1937 TCB.
1938 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1939 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1940 calculation.
1941 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1942 transactoion is lock elision is built and TCB tm_capable is set.
1943 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1945 (INTERNAL_SYSCALL_NCS): Likewise.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1947 (INTERNAL_SYSCALL_NCS): Likewise.
1948 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1949
1950 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1951 for powerpc.
1952 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1953 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1954 and remove it for 32 bits case.
1955 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1956 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1957 initialization.
1958 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1959 Disable lock elision with rdlocks if elision is not available.
1960
1961 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1962 (sysdep_routines): Add lock elision objects.
1963 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1964 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1965 [pthread_mutex_t] (__elision): Add field.
1966 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1967 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1968 elision definitions for powerpc.
1969 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1970 implementation of lock elision for powerpc.
1971 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1972 implementation of timed lock elision for powerpc.
1973 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1974 implementation of trylock with lock elision for powerpc.
1975 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1976 implementaion of unlock for lock elision for powerpc.
1977 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1978 automatic enable lock elision for mutexes.
1979 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1980 transaction execution definitions for powerpc.
1981 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1982 definitions.
1983 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1984 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1985 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1986 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1987 * NEWS: Update.
1988
1989 2015-01-09 Roland McGrath <roland@hack.frob.com>
1990
1991 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1992 for #include of <shm-directory.h>.
1993
1994 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1995
1996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1997 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1998
1999 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2000
2001 [BZ #17791]
2002 * NEWS: Mention bug fix.
2003 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2004 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2005 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2006
2007 2015-01-09 Torvald Riegel <triegel@redhat.com>
2008
2009 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2010
2011 2015-01-09 Torvald Riegel <triegel@redhat.com>
2012
2013 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2014
2015 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2016
2017 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2018 pointer and cast to uintptr_t.
2019
2020 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2021
2022 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2023 removed.
2024 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2025
2026 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2027
2028 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2029 of 0.
2030
2031 2015-01-08 Roland McGrath <roland@hack.frob.com>
2032
2033 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2034 <nptl/pthreadP.h> instead.
2035 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2036
2037 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2038 already defined.
2039 [__SIGRTMIN] (init): Function removed.
2040 [__SIGRTMIN] (initialized): Variable removed.
2041 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2042 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2043 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2044 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2045 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2046 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2047 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2048 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2049 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2050 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2051 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2052 * sysdeps/nptl/allocrtsig.c: New file.
2053 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2054 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2055 * sysdeps/generic/testrtsig.h: File removed.
2056
2057 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2058 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2059
2060 * nptl/nptl-init.c (pthread_functions): Conditionalize
2061 .ptr__nptl_setxid initialization on [SIGSETXID].
2062
2063 * sysdeps/nptl/sys/procfs.h: New file.
2064 * nptl_db/Makefile (headers): Add it.
2065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2066
2067 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2068 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2069 * nptl/pthread_attr_setaffinity.c: Include it.
2070 * nptl/pthread_setattr_default_np.c: Likewise.
2071 * nptl/check-cpuset.h: New file.
2072
2073 2015-01-08 Richard Henderson <rth@redhat.com>
2074
2075 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2076 (CFLAGS-tst-execstack-prog.c): Likewise.
2077 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2078
2079 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2080 Sandra Loosemore <sandra@codesourcery.com>
2081 Andrew Jenner <andrew@codesourcery.com>
2082 Joseph Myers <joseph@codesourcery.com>
2083 Nathan Sidwell <nathan@codesourcery.com>
2084
2085 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2086 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2087 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2088 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2089 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2090 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2091 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2092 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2093 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2094 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2095 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2096 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2097 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2098 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2099 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2100 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2101 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2102
2103 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2104
2105 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2106 timespec struct member in syscall macro.
2107 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2108 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2109 first timeval struct member in syscall macro.
2110 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2111
2112 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2113
2114 [BZ #17748]
2115 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2116 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2117 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2118 __feupdateenv and define as weak alias of __feupdateenv. Use
2119 libm_hidden_weak.
2120 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2121 libm_hidden_def.
2122 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2123 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2124 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2125 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2126 libm_hidden_def.
2127 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2128 __feupdateenv and define as weak alias of __feupdateenv. Use
2129 libm_hidden_weak.
2130 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2131 libm_hidden_def.
2132 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2133 __feupdateenv and define as weak alias of __feupdateenv. Use
2134 libm_hidden_weak.
2135 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2136 libm_hidden_def.
2137 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2138 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2139 (__feupdateenv): Likewise.
2140 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2141 __feupdateenv and define as weak alias of __feupdateenv. Use
2142 libm_hidden_weak.
2143 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2144 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2145 libm_hidden_def.
2146 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2147 function.
2148 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2149 libm_hidden_def.
2150 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2151 __feupdateenv instead of feupdateenv.
2152 (default_libc_feupdateenv_test): Likewise.
2153 (libc_feresetround_ctx): Likewise.
2154
2155 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156
2157 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2158 prototype.
2159
2160 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2161
2162 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2163 COLL_SYM in a couple of places to avoid uninitialized variable
2164 wanings on tilegx gcc 4.8.2.
2165
2166 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2167
2168 * sysdeps/aarch64/strcpy.S: New file.
2169 * sysdeps/aarch64/stpcpy.S: New file.
2170 * NEWS: Updated.
2171
2172 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2173
2174 * sysdeps/aarch64/strrchr.S: New file.
2175 * NEWS: Updated.
2176
2177 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2178
2179 [BZ #17658]
2180 * stdlib/setenv.c: Fix memory leak when setting large,
2181 duplicate string.
2182
2183 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2184
2185 [BZ #17273]
2186 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2187 and tabs from buffer before parsing fstab entry.
2188 * misc/tst-mntent.c (main): Add test for mount entry with
2189 trailing spaces and tabs.
2190
2191 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2192
2193 [BZ #17748]
2194 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2195 * math/fesetround.c (fesetround): Rename to __fesetround and
2196 define as weak alias of __fesetround. Use libm_hidden_weak.
2197 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2198 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2199 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2200 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2201 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2202 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2203 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2204 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2205 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2206 __fesetround_inline.
2207 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2208 __fesetround_inline instead of __fesetround.
2209 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2210 __fesetround and define as weak alias of __fesetround. Use
2211 libm_hidden_weak. Call __fesetround_inline instead of
2212 __fesetround.
2213 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2214 __fesetround and define as weak alias of __fesetround. Use
2215 libm_hidden_weak.
2216 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2217 Likewise.
2218 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2219 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2220 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2221 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2222 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2223 __fesetround and define as weak alias of __fesetround. Use
2224 libm_hidden_weak.
2225 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2226 __fesetround instead of fesetround.
2227 (default_libc_feholdexcept_setround): Likewise.
2228 (libc_feholdsetround_ctx): Likewise.
2229 (libc_feholdsetround_noex_ctx): Likewise.
2230
2231 [BZ #17748]
2232 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2233 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2234 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2235 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2236 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2237 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2238 define as weak alias of __fesetenv. Use libm_hidden_weak.
2239 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2240 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2241 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2242 define as weak alias of __fesetenv. Use libm_hidden_weak.
2243 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2244 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2245 define as weak alias of __fesetenv. Use libm_hidden_weak.
2246 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2247 libm_hidden_def.
2248 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2249 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2250 Likewise.
2251 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2252 define as weak alias of __fesetenv. Use libm_hidden_weak.
2253 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2254 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2255 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2256 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2257 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2258 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2259 __fesetenv instead of fesetenv.
2260 (libc_feresetround_noex_ctx): Likewise.
2261 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2262 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2263 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2264 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2265 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2266 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2267 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2268 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2269 (__feupdateenv): Likewise.
2270 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2271 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2272 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2273 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2274
2275 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2276
2277 [BZ #17806]
2278 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2279 addresses have been freed.
2280
2281 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2282
2283 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2284 and nservall.
2285
2286 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2287
2288 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2289 Clean up check_pf allocation pattern. addresses
2290
2291 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2292
2293 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2294 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2295 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2296 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2297 * nptl/pthread_join.c (pthread_join): Likewise.
2298 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2299 * sysdeps/posix/waitid.c (__waitid): Likewise.
2300 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2301 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2302 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2303 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2304 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2305 Likewise.
2306 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2307 (__libc_pread64): Likewise.
2308 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2309 (__libc_pwrite): Likewise.
2310 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2311 (__libc_pwrite64): Likewsie.
2312 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2313 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2314 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2315 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2316 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2317 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2318 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2320 Likewise.
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2322 (__libc_pread64): Likewise.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2324 Likewise.
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2326 (__libc_pwrite64): Likewise.
2327 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2328 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2329 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2330 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2331 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2332 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2333 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2334 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2335 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2336 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2337 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2338 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2339 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2340 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2341 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2343 Likewise.
2344
2345 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2346
2347 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2348 (CFLAGS-test-double.c): Likewise.
2349 (CFLAGS-test-ldouble.c): Likewise.
2350 (CPPFLAGS-test-ifloat.c): Likewise.
2351 (CPPFLAGS-test-idouble.c): Likewise.
2352 (CPPFLAGS-test-ildoubl.c): Likewise.
2353 (CFLAGS-test-test-fenv.c): Remove variable.
2354 (CFLAGS-test-misc.c): Likewise.
2355
2356 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2357
2358 [BZ #17797]
2359 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2360 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2361 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2362 CLOCKS_PER_SEC == 1000000.
2363 * time/clocktest.c (main): Replace %ld with %jd and cast to
2364 intmax_t.
2365
2366 2015-01-05 Roland McGrath <roland@hack.frob.com>
2367
2368 * sysdeps/generic/unwind-resume.h: New file.
2369 * sysdeps/gnu/unwind-resume.c: Include it.
2370 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2371 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2372 argument list.
2373 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2374 global rather than static.
2375 (_Unwind_Resume): Update user.
2376 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2377 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2378 rather than static. Add __attribute__ ((cold)).
2379 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2380 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2381 * sysdeps/arm/arm-unwind-resume.S: New file.
2382 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2383 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2384 * sysdeps/arm/Makefile [$(subdir) = csu]
2385 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2386 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2387 Add rt-arm-unwind-resume.
2388 [$(subdir) = nptl]
2389 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2390 Add pt-arm-unwind-resume.
2391 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2392 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2393
2394 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2395
2396 [BZ #17748]
2397 * include/fenv.h (__feholdexcept): Declare. Use
2398 libm_hidden_proto.
2399 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2400 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2401 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2402 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2403 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2404 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2405 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2406 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2407 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2408 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2409 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2410 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2411 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2412 (feholdexcept): Likewise.
2413 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2414 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2415 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2416 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2417 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2418 __feholdexcept instead of feholdexcept.
2419 (default_libc_feholdexcept_setround): Likewise.
2420
2421 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2422
2423 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2424 to avoid using stl/str to align destination.
2425
2426 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2427
2428 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2429
2430 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2431
2432 [BZ #17796]
2433 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2434 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2435 Define as weak alias not strong alias.
2436
2437 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2438
2439 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2440 bltzal with addiupc.
2441 (RTLD_START): Ditto.
2442
2443 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2444
2445 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2446 for __vdso_* functions in declarations.
2447 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2448 definitions.
2449 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2450 INTERNAL_VSYSCALL): Use struct return types to check for error.
2451
2452 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2453 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2454 function with cast from llround().
2455 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2456 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2457 Define.
2458
2459 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2460
2461 [BZ #17793]
2462 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2463 Define as weak alias not strong alias.
2464
2465 [BZ #17635]
2466 * ctype/ctype-c99.c: New file. isblank implementation moved from
2467 ...
2468 * ctype/ctype-extn.c: ... here.
2469 (__isblank_l): Move to ...
2470 * ctype/ctype-c99_l.c: ... here. New file.
2471 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2472 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2473 Remove variable.
2474 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2475 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2476 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2477 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2478 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2479
2480 [BZ #17777]
2481 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2482 (posix_fadvise64): Define as weak alias not strong alias.
2483 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2484 (posix_fallocate64): Likewise.
2485 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2486 Remove variable.
2487 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2488 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2489 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2490 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2491 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2492
2493 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2494
2495 [BZ #16191]
2496 * NEWS: Mention bug fix.
2497 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2498 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2499 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2500 (HOST_STACK_END_ADDR): Likewise.
2501
2502 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2503
2504 [BZ #17748]
2505 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2506 * math/fegetround.c (fegetround): Rename to __fegetround and
2507 define as weak alias of __fegetround. Use libm_hidden_weak.
2508 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2509 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2510 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2511 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2512 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2513 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2514 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2515 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2516 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2517 Undefine after rather than before function definition; use
2518 parentheses around function name in definition.
2519 (__fegetround): Also undefine macro after function definition.
2520 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2521 __fegetround and define as weak alias of __fegetround. Use
2522 libm_hidden_weak. Do not undefine as macro.
2523 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2524 Likewise.
2525 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2526 __fegetround and define as weak alias of __fegetround. Use
2527 libm_hidden_weak.
2528 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2529 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2530 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2531 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2532 __fegetround and define as weak alias of __fegetround. Use
2533 libm_hidden_weak.
2534 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2535 __fegetround instead of fegetround.
2536
2537 [BZ #17782]
2538 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2539 Condition macro definition on [__USE_MISC].
2540
2541 [BZ #17781]
2542 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2543 (struct sigaction): Change type of sa_flags field to int.
2544
2545 [BZ #17780]
2546 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2547 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2548 __glibc_reserved0.
2549
2550 * nptl/version.c (banner): Use single year in copyright notice.
2551
2552 * NEWS: Update copyright dates.
2553 * catgets/gencat.c (print_version): Likewise.
2554 * csu/version.c (banner): Likewise.
2555 * debug/catchsegv.sh: Likewise.
2556 * debug/pcprofiledump.c (print_version): Likewise.
2557 * debug/xtrace.sh (do_version): Likewise.
2558 * elf/ldconfig.c (print_version): Likewise.
2559 * elf/ldd.bash.in: Likewise.
2560 * elf/pldd.c (print_version): Likewise.
2561 * elf/sotruss.sh: Likewise.
2562 * elf/sprof.c (print_version): Likewise.
2563 * iconv/iconv_prog.c (print_version): Likewise.
2564 * iconv/iconvconfig.c (print_version): Likewise.
2565 * locale/programs/locale.c (print_version): Likewise.
2566 * locale/programs/localedef.c (print_version): Likewise.
2567 * login/programs/pt_chown.c (print_version): Likewise.
2568 * malloc/memusage.sh (do_version): Likewise.
2569 * malloc/memusagestat.c (print_version): Likewise.
2570 * malloc/mtrace.pl: Likewise.
2571 * manual/libc.texinfo: Likewise.
2572 * nptl/version.c (banner): Likewise.
2573 * nscd/nscd.c (print_version): Likewise.
2574 * nss/getent.c (print_version): Likewise.
2575 * nss/makedb.c (print_version): Likewise.
2576 * posix/getconf.c (main): Likewise.
2577 * scripts/test-installation.pl: Likewise.
2578 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2579
2580 2015-01-02 Will Newton <will.newton@linaro.org>
2581
2582 * sysdeps/arm/armv7/configure: Removed.
2583 * sysdeps/arm/armv7/configure.ac: Likewise.
2584
2585 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2586
2587 * All files with FSF copyright notices: Update copyright dates
2588 using scripts/update-copyrights.
2589 * intl/plural.c: Regenerated.
2590 * locale/programs/charmap-kw.h: Likewise.
2591 * locale/programs/locfile-kw.h: Likewise.
2592
2593 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2594
2595 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2596
2597 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2598
2599 [BZ #17748]
2600 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2601 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2602 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2603 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2604 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2605 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2606 define as weak alias of __fegetenv. Use libm_hidden_weak.
2607 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2608 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2609 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2610 define as weak alias of __fegetenv. Use libm_hidden_weak.
2611 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2612 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2613 define as weak alias of __fegetenv. Use libm_hidden_weak.
2614 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2615 libm_hidden_def.
2616 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2618 Likewise.
2619 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2620 define as weak alias of __fegetenv. Use libm_hidden_weak.
2621 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2622 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2623 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2624 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2625 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2626 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2627 __fegetenv instead of fegetenv.
2628 (libc_feholdsetround_noex_ctx): Likewise.
2629
2630 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2631
2632 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2633 (Elf_MIPS_ABIFlags_v0): New structure.
2634 (EF_MIPS_FP64): Define.
2635 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2636 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2637 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2638 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2639 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2640 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2641 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2642 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2643 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2644 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2645 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2646 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2647 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2648 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2649 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2650 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2651 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2652 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2653 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2654 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2655 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2656 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2657 field.
2658 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2659 EF_MIPS_FP64.
2660 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2661 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2662 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2663 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2664 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2665 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2666 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2667 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2668 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2669 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2670 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2671 record the current FP ABI extension.
2672 (mips-mode-switch): Define to show if kernel headers support mode
2673 switching.
2674 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2675 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2676 supported SYSV ABI version to 3.
2677 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2678 feature.
2679
2680 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2681 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2682
2683 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2684 path.
2685 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2686
2687 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2688
2689 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2690 __fegetround and redefine to call __fegetround. Remove condition
2691 on [!__NO_MATH_INLINES].
2692 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2693 function.
2694 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2695 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2696 Remove macro.
2697 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2698 instead of <fenv_libc.h>.
2699 (__llrintl): Call fegetround instead of __fegetround.
2700 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2701 instead of <fenv_libc.h>.
2702 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2703 (__lrintl): Call fegetround instead of __fegetround.
2704 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2705 instead of <fenv_libc.h>.
2706 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2707 (__rintl): Call fegetround instead of __fegetround.
2708
2709 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2710
2711 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2712 arrays.
2713
2714 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 [BZ #17775]
2717 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2718 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2719 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2720
2721 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2722
2723 * sysdeps/i386/tls-macros.h: Include <features.h>.
2724 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2725 (TLS_IE): Likewise.
2726 (TLS_LD): Likewise.
2727 (TLS_GD): Likewise.
2728 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2729 define for GCC >= 5.0.
2730
2731 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2732
2733 * math/test-fenv.c (test_single_exception, set_single_exc,
2734 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2735 feexcp_mask_test, feenable_test, fe_single_test): Add
2736 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2737 case where they are not used.
2738 * math/libm-test.inc: Likewise.
2739 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2740 unused in the absence of FP rounding/exception support.
2741 * stdio-common/tst-printf-round.c: Likewise.
2742 * stdlib/tst-strtod-round.c: Likewise.
2743 * stdlib/tst-strtod-underflow.c: Likewise.
2744
2745 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2746
2747 [BZ #17723]
2748 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2749 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2750 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2751 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2752 libm_hidden_weak.
2753 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2754 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2755 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2756 libm_hidden_def.
2757 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2758 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2759 libm_hidden_weak.
2760 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2761 Likewise.
2762 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2763 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2764 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2765 libm_hidden_weak.
2766 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2767 libm_hidden_def.
2768 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2769 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2770 (__feraiseexcept): Likewise.
2771 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2772 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2773 libm_hidden_weak.
2774 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2775 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2776 libm_hidden_def.
2777 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2778 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2779 Use libm_hidden_def.
2780 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2781 libm_hidden_def.
2782 (feraiseexcept): Define as weak not strong alias. Use
2783 libm_hidden_weak.
2784 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2785 New inline function. Factored out of ...
2786 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2787 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2788 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2789 feraiseexcept.
2790 * math/w_acos.c (__acos): Likewise.
2791 * math/w_asin.c (__asin): Likewise.
2792 * math/w_ilogb.c (__ilogb): Likewise.
2793 * math/w_j0.c (y0): Likewise.
2794 * math/w_j1.c (y1): Likewise.
2795 * math/w_jn.c (yn): Likewise.
2796 * math/w_log.c (__log): Likewise.
2797 * math/w_log10.c (__log10): Likewise.
2798 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2799 * sysdeps/aarch64/fpu/math_private.h
2800 (libc_feupdateenv_test_aarch64): Likewise.
2801 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2802 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2803 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2804 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2805 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2806 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2807 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2808 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2809 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2810 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2811
2812 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2813
2814 [BZ #17732]
2815 * io/test-utime.c (main): Replace %ld with %jd and cast to
2816 intmax_t.
2817 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2818 * nptl/tst-mutex5.c: Include <stdint.h>.
2819 (do_test): Replace %ld with %jd and cast to intmax_t.
2820 * posix/tst-regex.c (run_test): Likewise.
2821 (run_test_backwards): Likewise.
2822 * rt/tst-clock.c: Include <stdint.h>.
2823 (clock_test): Replace %ld with %jd and cast to intmax_t.
2824 * rt/tst-cpuclock1.c: Include <stdint.h>.
2825 (do_test): Replace %lu with %ju and cast to uintmax_t.
2826 * rt/tst-cpuclock2.c: Include <stdint.h>.
2827 (do_test): Replace %lu with %ju and cast to uintmax_t.
2828 * rt/tst-mqueue1.c: Include <stdint.h>.
2829 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2830 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2831 intmax_t.
2832 * rt/tst-mqueue4.c (do_test): Likewise.
2833 * rt/tst-timer4.c: Include <stdint.h>.
2834 (check_ts): Replace %ld with %jd and cast to intmax_t.
2835 (do_test): Likewise.
2836 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2837 and cast to intmax_t.
2838 * sysdeps/pthread/tst-timer.c (main): Likewise.
2839 * time/clocktest.c (main): Likewise.
2840 * time/tst-posixtz.c (do_test): Likewise.
2841 * timezone/tst-timezone.c (main): Likewise.
2842
2843 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2844 H.J. Lu <hongjiu.lu@intel.com>
2845
2846 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2847 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2848 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2849 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2850 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2851 version if bit_Fast_Unaligned_Load is set.
2852 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2853 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2854 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2855 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2856 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2857 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2859 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2860 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2861 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2862 to 4.
2863 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2864 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2865 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2866 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2867
2868 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2869
2870 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2871 instead of #if to avoid a Wundef warning.
2872 * stdlib/tst-limits.c (do_test): Likewise.
2873
2874 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2875 parallel other exception macros.
2876 (fegetenv): Convert from macro to extern inline so that it applies
2877 retroactively to inline functions already seen by the compiler.
2878 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2879
2880 * posix/Makefile (before-compile): Use $(objpfx) for
2881 posix-conf-vars-def.h.
2882
2883 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2884
2885 * posix/getconf.c (main): Use size_t for type of I.
2886 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2887 NSPEC.
2888
2889 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2890 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2891 * posix/posix-envs.def: Likewise.
2892 * sysdeps/posix/sysconf.c: Likewise.
2893 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2894 (specs): Remove array.
2895 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2896 array.
2897
2898 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2899 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2900 (__sysconf): Use CONF_IS_* macros.
2901
2902 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2903 ($(objpfx)posix-conf-vars-def.h): New target.
2904 * posix/posix-conf-vars.list: New file.
2905 * posix/posix-conf-vars.h: New file.
2906 * posix/confstr.c: Include posix-conf-vars.h.
2907 (confstr): Use CONF_IS_* macros.
2908 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2909 CONF_IS_* macros.
2910 * scripts/gen-posix-conf-vars.awk: New file.
2911
2912 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2913
2914 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2915 fegetround): Add no-op macros to avoid linknamespace issues.
2916
2917 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2918 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2919
2920 * sysdeps/unix/sysv/linux/tile/sysdep.h
2921 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2922 assembly-specific section to avoid a redefinition warning.
2923
2924 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2925 long before casting to pointer to avoid a cast warning.
2926
2927 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2928
2929 * sysdeps/tile/tilegx/Implies: New file.
2930
2931 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2932
2933 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2934
2935 2014-12-23 Florian Weimer <fweimer@redhat.com>
2936
2937 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2938
2939 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2940
2941 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2942 not define.
2943 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2944 <kernel-features.h>.
2945 (__utimes) [__NR_utimes]: Make code unconditional.
2946 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2947 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2948 (__ASSUME_UTIMES): Do not undefine.
2949 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2950 (__ASSUME_UTIMES): Likewise.
2951 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2952 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2953 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2954 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2955
2956 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2957
2958 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2959
2960 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2961
2962 [BZ #17747]
2963 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2964 alias to weak alias for j0l, y0l.
2965 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2966 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2967
2968 [BZ #17746]
2969 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2970 conversion.
2971
2972 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2973
2974 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2975 to zero if not already defined.
2976
2977 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2978
2979 [BZ #17724]
2980 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2981 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2982 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2983 (char *) casts added.
2984 * sysdeps/ieee754/k_standardf.c: New file.
2985 * sysdeps/ieee754/k_standardl.c: Likewise.
2986 * math/Makefile (libm-support): Remove k_standard.
2987 (libm-calls): Add k_standard.
2988
2989 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2990
2991 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2992 Optimize to avoid an unnecessary FPCR read.
2993
2994 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2995
2996 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2997 Optimize to reduce FPCR/FPSR accesses.
2998
2999 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3000
3001 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3002 Call libc_fetestexcept_aarch64.
3003
3004 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3005
3006 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3007 Call libc_fesetround_aarch64.
3008
3009 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3010
3011 [BZ #17733]
3012 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3013 (__bind): Do not define as weak alias.
3014 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3015 define.
3016 (__getsockname): Do not define as weak alias.
3017
3018 2014-12-22 Will Newton <will.newton@linaro.org>
3019
3020 * manual/install.texi: Document that we require bison 2.7
3021 or above.
3022 * INSTALL: Regenerate.
3023 * configure.ac: Use AC_CHECK_PROG_VER instead of
3024 AC_PATH_PROG when checking for bison and check for
3025 version 2.7 or above.
3026 * configure: Regenerate.
3027
3028 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3029
3030 [BZ #17745]
3031 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3032 * sysdeps/tile/ffsll.c (ffsll): To here.
3033
3034 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3035
3036 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3037
3038 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3039 if not defined.
3040 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3041 definition.
3042 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3043 hidden ___tls_get_addr.
3044 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3045 hidden __tls_get_addr.
3046 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3047 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3048 Likewise.
3049
3050 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3051
3052 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3053 _dl_init call.
3054
3055 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3058 from "call _dl_init@PLT".
3059 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3060
3061 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3062
3063 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3064 guarantees.
3065
3066 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3067
3068 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3069
3070 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3071
3072 [BZ #17744]
3073 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3074 strnlen.
3075
3076 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3077
3078 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3079 of multu on MIPSr6.
3080 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3081 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3082 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3083 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3084 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3085
3086 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3087
3088 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3089 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3090 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3091 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3092 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3093 mips32r6/mips64r6.
3094 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3095
3096 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3097
3098 * string/strncat.c (STRNCAT): Simplify implementation.
3099
3100 2014-12-19 David S. Miller <davem@davemloft.net>
3101
3102 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3103 access the quad as both a long double and as a series of 4 words.
3104
3105 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3106 link_map->l_info array access.
3107
3108 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3109
3110 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3111
3112 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3113 * math/atest-exp2.c (TIMEOUT): Likewise.
3114 * math/atest-sincos.c (TIMEOUT): Likewise.
3115
3116 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3117
3118 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3119 -Wno-error with -fno-builtin-lround.
3120
3121 2014-12-19 Torvald Riegel <triegel@redhat.com>
3122
3123 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3124 Contains futex constants and functions moved over from ...
3125 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3126 <lowlevellock-futex.h>.
3127 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3128 (lll_timedwait_tid): Add comments and parentheses around macro
3129 arguments.
3130
3131 2014-12-19 Torvald Riegel <triegel@redhat.com>
3132
3133 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3134 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3135 (__lll_private_flag): Remove.
3136 (lll_futex_wait): Likewise.
3137 (lll_futex_timed_wait): Likewise.
3138 (lll_futex_wake): Likewise.
3139 (lll_futex_requeue): Likewise.
3140 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3141 (__lll_timedwait_tid): Spell out argument names.
3142 (lll_timedwait_tid): Add comments and parentheses around macro
3143 arguments.
3144 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3145 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3146
3147 2014-12-19 Torvald Riegel <triegel@redhat.com>
3148
3149 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3150 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3151 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3152 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3153 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3154 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3155 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3156 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3157 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3158 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3159 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3160 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3161 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3162 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3163 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3164 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3165 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3166 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3167 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3168
3169 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3170
3171 * sysdeps/x86_64/x32/Makefile: New file.
3172
3173 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3174
3175 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3176 1L with (mp_limb_t) 1.
3177
3178 2014-12-17 Roland McGrath <roland@hack.frob.com>
3179
3180 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3181 * nptl/libc_pthread_init.c: ... here.
3182 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3183 * nptl/register-atfork.c: ... here.
3184
3185 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3186 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3187 Use assert_perror to check its return value.
3188 (__gai_create_helper_thread): Likewise.
3189
3190 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3191
3192 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3193
3194 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3195
3196 [BZ #17725]
3197 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3198 __profil_counter.
3199 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3200 Likewise.
3201 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3202 Likewise.
3203 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3204 Likewise.
3205 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3206 (profil_counter): Likewise.
3207 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3208 (profil_counter): Likewise.
3209 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3210 Likewise.
3211 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3212 Likewise.
3213 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3214 (profil_counter): Likewise.
3215 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3216 Likewise.
3217 [!__profil_counter] (profil_counter): Define as weak alias of
3218 __profil_counter.
3219 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3220 (profil_counter): Rename to __profil_counter.
3221 [!__profil_counter] (profil_counter): Define as weak alias of
3222 __profil_counter.
3223 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3224 (profil_counter): Rename to __profil_counter.
3225 [!__profil_counter] (profil_counter): Define as weak alias of
3226 __profil_counter.
3227 * sysdeps/posix/profil.c: Update comment referring to
3228 profil_counter.
3229 (__profil): Use __profil_counter instead of profil_counter.
3230 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3231 __profil_counter. Use __profil_counter_ushort and
3232 __profil_counter_uint in definitions.
3233 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3234 instead of profil_counter_uint and profil_counter_ushort.
3235
3236 [BZ #17722]
3237 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3238 define as weak alias of __inet_makeaddr.
3239 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3240 as weak alias of __inet_addr.
3241 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3242 as weak alias of __inet_pton. Use libc_hidden_weak.
3243 * include/arpa/inet.h (__inet_pton): Declare. Use
3244 libc_hidden_proto.
3245 (inet_makeaddr): Don't use libc_hidden_proto.
3246 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3247 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3248 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3249 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3250 Remove variable.
3251 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3252 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3253
3254 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3255
3256 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3257
3258 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3259
3260 * stdio-common/bug-vfprintf-nargs.c (do_test):
3261 Cast value to intptr_t to avoid format warning
3262 for usage with PRIdPTR printing macro.
3263
3264 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3265
3266 * libio/tst-widetext.c (do_test):
3267 Use format type %td instead of %Zd for ptrdiff_t
3268 in order to avoid format warning.
3269
3270 2014-12-17 Andreas Schwab <schwab@suse.de>
3271
3272 * nscd/mem.c (gc): Add size_t cast to match printf format.
3273
3274 2014-12-16 Roland McGrath <roland@hack.frob.com>
3275
3276 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3277 (init): Apply PTR_MANGLE to pointers before storing them.
3278 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3279 before using them.
3280
3281 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3282
3283 [BZ #17719]
3284 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3285 define as weak alias of __memrchr.
3286 (__memrchr): Do not define as strong alias of memrchr.
3287 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3288 Remove variable.
3289 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3290 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3291 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3292
3293 [BZ #17717]
3294 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3295 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3296 (if_indextoname): Rename to __if_indextoname and define as weak
3297 alias of __if_indextoname. Use libc_hidden_weak.
3298 (if_freenameindex): Rename to __if_freenameindex and define as
3299 weak alias of __if_freenameindex.
3300 (if_nameindex): Rename to __if_nameindex and define as weak alias
3301 of __if_nameindex.
3302 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3303 __if_nametoindex and define as weak alias of __if_nametoindex.
3304 Use libc_hidden_weak.
3305 (if_freenameindex): Rename to __if_freenameindex and define as
3306 weak alias of __if_freenameindex.
3307 (if_nameindex): Rename to __if_nameindex and define as weak alias
3308 of __if_nameindex.
3309 (if_indextoname): Rename to __if_indextoname and define as weak
3310 alias of __if_indextoname. Use libc_hidden_weak.
3311 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3312 __if_nametoindex and define as weak alias of __if_nametoindex.
3313 Use libc_hidden_weak.
3314 (if_freenameindex): Rename to __if_freenameindex and define as
3315 weak alias of __if_freenameindex. Use libc_hidden_weak.
3316 (if_nameindex_netlink): Use __if_freenameindex instead of
3317 if_freenameindex.
3318 (if_nameindex): Rename to __if_nameindex and define as weak alias
3319 of __if_nameindex. Use libc_hidden_weak.
3320 (if_indextoname): Rename to __if_indextoname and define as weak
3321 alias of __if_indextoname. Use libc_hidden_weak.
3322 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3323 libc_hidden_proto.
3324 [!_ISOMAC] (__if_freenameindex): Likewise.
3325 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3326 if_nametoindex.
3327 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3328 variable.
3329 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3330 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3331 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3332 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3333 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3334 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3335 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3336
3337 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3338 Remove variable.
3339 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3340 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3341
3342 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3343
3344 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3345 subscript above bounds'
3346
3347 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3348 bounds.
3349
3350 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3351
3352 * libio/tst-fopenloc.c: Use test-skeleton.c.
3353
3354 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3355 (entry): Rename to ITEM.
3356 (do_test, comp): Adjust.
3357
3358 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3359
3360 2014-12-16 Torvald Riegel <triegel@redhat.com>
3361
3362 * string/tester.c: Include <libc-internal.h>.
3363 (test_memset): Ignore -Wmemset-transposed-args.
3364
3365 2014-12-16 Torvald Riegel <triegel@redhat.com>
3366
3367 * misc/tst-mntent2.c (do_test): Fix warning.
3368
3369 2014-12-16 Torvald Riegel <triegel@redhat.com>
3370
3371 * elf/tst-unique4lib.cc(a): Mark as used.
3372
3373 2014-12-16 Florian Weimer <fweimer@redhat.com>
3374
3375 [BZ #17630]
3376 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3377 names.
3378
3379 2014-12-16 Allan McRae <allan@archlinux.org>
3380
3381 * stdio-common/Makefile (tests): Re-add bug26.
3382
3383 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3384
3385 [BZ #17657]
3386 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3387 static array.
3388
3389 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3390
3391 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3392 (__lll_lock_wait): Likewise.
3393 (__lll_timedlock_wait): Likewise.
3394 (__lll_timedwait_tid): Likewise.
3395 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3396 (__lll_robust_timedlock_wait): Likewise.
3397 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3398 (lll_cond_trylock): Likewise.
3399 (__lll_lock): Likewise.
3400 (__lll_robust_lock): Likewise.
3401 (__lll_cond_lock): Likewise.
3402 (lll_robust_cond_lock): Likewise.
3403 (__lll_timedlock): Likewise.
3404 (__lll_robust_timedlock): Likewise.
3405 (__lll_unlock): Likewise.
3406 (__lll_robust_unlock): Likewise.
3407 (lll_wait_tid): Likewise.
3408 (lll_timedwait_tid): Likewise.
3409
3410 2014-12-15 Torvald Riegel <triegel@redhat.com>
3411
3412 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3413
3414 2014-12-15 Torvald Riegel <triegel@redhat.com>
3415
3416 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3417
3418 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3419
3420 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3421 * stdio-common/tst-sprintf.c: Likewise.
3422
3423 2014-12-15 Torvald Riegel <triegel@redhat.com>
3424
3425 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3426
3427 2014-12-15 Jeff Law <law@redhat.com>
3428
3429 [BZ #16617]
3430 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3431 on the heap. (CVE-2012-3406)
3432 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3433 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3434 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3435
3436 2014-12-15 Will Newton <will.newton@linaro.org>
3437
3438 * manual/install.texi: Bump required version of texinfo
3439 to 4.7 from 4.5.
3440 * INSTALL: Regenerated.
3441 * configure.ac: Check for makeinfo version 4.7 and above.
3442 * configure: Regenerated.
3443
3444 2014-12-12 Roland McGrath <roland@hack.frob.com>
3445
3446 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3447 PREFIX, string constant to insert between directory and name.
3448 * sysdeps/posix/shm_open.c: Update caller.
3449 * sysdeps/posix/shm_unlink.c: Likewise.
3450 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3451 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3452 (SEM_SHM_PREFIX): New macro.
3453 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3454 [$(have-thread-library) = no].
3455 * nptl/Makefile (libpthread-routines): Add shm-directory.
3456 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3457 * sysdeps/nptl/shm-directory.h: New file.
3458 * sysdeps/posix/shm-directory.c
3459 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3460 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3461 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3462 INTERNAL_SYSCALL.
3463 (__where_is_shmfs): Function removed.
3464 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3465 Variables removed.
3466 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3467 Use SHM_GET_NAME.
3468 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3469
3470 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3471 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3472 unconditional for use inside libpthread.
3473 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3474
3475 2014-12-12 Roland McGrath <roland@hack.frob.com>
3476
3477 * nptl/pthread_getaffinity.c: New file.
3478 * nptl/pthread_setaffinity.c: New file.
3479 * nptl/pthread_getname.c: New file.
3480 * nptl/pthread_setname.c: New file.
3481
3482 * nptl/pthread_create.c (START_THREAD_DEFN)
3483 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3484
3485 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3486 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3487
3488 * resolv/res_send.c (send_vc): Disable warning resplen may
3489 be used uninitialized.
3490
3491 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3492
3493 * nptl/tst-mutex6.c
3494 (ATTR_NULL): New define checks ATTR against NULL.
3495 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3496 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3497
3498 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3499
3500 [BZ #17581]
3501 * malloc/hooks.c
3502 (mem2mem_check): Revert my previous change.
3503 (malloc_check_get_size): Revert my previous change.
3504 (mem2chunk_check): Revert my previous change.
3505
3506 2014-12-11 Roland McGrath <roland@hack.frob.com>
3507
3508 * sysdeps/posix/shm-directory.c: New file.
3509 * sysdeps/posix/shm-directory.h: New file.
3510 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3511 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3512 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3513 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3514 Transmute EPERM to EACCES.
3515 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3516 from ...
3517 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3518 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3519
3520 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3521
3522 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3523 pointer and cast to uintptr_t.
3524 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3525 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3526 Add cast to avoid warning.
3527 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3528
3529 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3530
3531 * nptl/semaphore.h: Move to ...
3532 * sysdeps/pthread/semaphore.h: ... here.
3533 * Makefile (installed-headers): Change nptl/semaphore.h to
3534 sysdeps/pthread/semaphore.h.
3535
3536 2014-12-11 Roland McGrath <roland@hack.frob.com>
3537
3538 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3539 generated error format strings.
3540
3541 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3542 -Wformat-extra-args warnings for scanf formats.
3543 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3544 test of zero-length format (duh).
3545 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3546 corner-case scanf format test.
3547 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3548 generated fprintf format string.
3549 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3550 corner-case sprintf format tests.
3551 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3552 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3553 -Wformat-extra-args warnings throughout.
3554 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3555 (CFLAGS-scanf4.c): Likewise.
3556 (CFLAGS-scanf7.c): Likewise.
3557 (CFLAGS-tst-sprintf.c): Likewise.
3558 (CFLAGS-tst-printf.c): Likewise.
3559 (CFLAGS-tst-printfsz.c): Likewise.
3560
3561 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3562
3563 * include/cpio.h: New file.
3564 * include/fmtmsg.h: Likewise.
3565
3566 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3567 corresponding format argument to size_t.
3568 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3569 arguments.
3570 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3571 corresponding format argument to size_t.
3572 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3573 arguments.
3574 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3575 corresponding format argument to size_t.
3576 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3577 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3578 (CFLAGS-tst-mbswcs2.c): Likewise.
3579 (CFLAGS-tst-mbswcs3.c): Likewise.
3580 (CFLAGS-tst-mbswcs4.c): Likewise.
3581 (CFLAGS-tst-mbswcs5.c): Likewise.
3582 (CFLAGS-tst-trans.c): Likewise
3583
3584 2014-12-11 Roland McGrath <roland@hack.frob.com>
3585
3586 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3587 rather than assuming they won't contain any '%'s.
3588
3589 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3590
3591 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3592 inhibit_loop_to_libcall to avoid recursive calls.
3593 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3594 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3595
3596 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3597
3598 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3599 prototype.
3600
3601 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3602
3603 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3604 integer value instead of boolean.
3605
3606 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3607
3608 * malloc/malloc.c: Fix powerof2 check.
3609
3610 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3611
3612 * locale/programs/locfile.h (maybe_swap_uint32):
3613 Remove inline and add unused attribute.
3614
3615 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3616
3617 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3618 Truncating assembler expression to a .long expression.
3619
3620 2014-12-11 Andreas Schwab <schwab@suse.de>
3621
3622 * elf/rtld.c (struct map_args): Constify str member.
3623 (do_preload): Constify fname argument.
3624
3625 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3626
3627 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3628 constants definition.
3629
3630 2014-12-11 Andreas Schwab <schwab@suse.de>
3631
3632 [BZ #16657]
3633 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3634 FORCE_ELISION instead of DO_ELISION.
3635 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3636 Remove.
3637 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3638 Likewise.
3639
3640 * iconvdata/gconv-modules: Remove duplicate entry.
3641
3642 2014-12-11 Will Newton <will.newton@linaro.org>
3643
3644 Merge gettext 0.19.3 into intl/.
3645
3646 This involves a number of cosmetic changes to comments
3647 and ANSI function definitions and prototypes throughout
3648 all the files. The gettext copyright header is used but
3649 with the date ranges taken from the glibc copy.
3650
3651 * NEWS: Add gettext merge to 2.21.
3652 * intl/bindtextdom.c: Switch to gettext copyright.
3653 Use ANSI definitions and prototypes.
3654 Use gl_* locking primitives rather than __libc_* ones.
3655 Use __builtin_expect rather than __glibc_likely/unlikely.
3656 * intl/dcgettext.c: Switch to gettext copyright.
3657 Use ANSI definitions and prototypes.
3658 * intl/dcigettext.c: Switch to gettext copyright.
3659 Use ANSI definitions and prototypes.
3660 (INTDIV0_RAISES_SIGFPE): New define.
3661 Use gl_* locking primitives rather than __libc_* ones.
3662 Include eval-plural.h instead of plural-eval.c.
3663 Use __builtin_expect rather than __glibc_likely/unlikely.
3664 * intl/dcngettext.c: Switch to gettext copyright.
3665 Use ANSI definitions and prototypes.
3666 * intl/dgettext.c: Likewise.
3667 * intl/dngettext.c: Likewise.
3668 * intl/plural-eval.c: Renamed to...
3669 * intl/eval-plural.h: ...this.
3670 * intl/explodename.c: Switch to gettext copyright.
3671 Use ANSI definitions and prototypes.
3672 (_nl_explode_name): Use strchr instead of __rawmemchr.
3673 * intl/finddomain.c: Switch to gettext copyright.
3674 Use ANSI definitions and prototypes.
3675 Use gl_* locking primitives rather than __libc_* ones.
3676 (_nl_find_domain): Use malloc rather than alloca for
3677 allocation of temporary locale name.
3678 * intl/gettext.c: Switch to gettext copyright.
3679 Use ANSI definitions and prototypes.
3680 * intl/gettextP.h: Switch to gettext copyright.
3681 Use ANSI definitions and prototypes.
3682 Use gl_* locking primitives rather than __libc_* ones.
3683 * intl/gmo.h: Switch to gettext copyright.
3684 (struct sysdep_string): Move struct segment_pair outside of
3685 struct definition.
3686 * intl/hash-string.c: Use ANSI definitions and prototypes.
3687 * intl/hash-string.h: Switch to gettext copyright.
3688 Use ANSI definitions and prototypes.
3689 * intl/l10nflist.c: Switch to gettext copyright.
3690 Use ANSI definitions and prototypes.
3691 (_nl_normalize_codeset): Avoid integer overflow.
3692 * intl/loadinfo.h: Switch to gettext copyright.
3693 Use ANSI definitions and prototypes.
3694 (LIBINTL_DLL_EXPORTED): New define.
3695 (PATH_SEPARATOR): New define.
3696 * intl/loadmsgcat.c: Switch to gettext copyright.
3697 * intl/localealias.c: Switch to gettext copyright.
3698 Use ANSI definitions and prototypes.
3699 (_nl_expand_alias): Use PATH_SEPARATOR.
3700 * intl/ngettext.c: Switch to gettext copyright.
3701 Use ANSI definitions and prototypes.
3702 * intl/plural-exp.c: Likewise.
3703 * intl/plural-exp.h: Switch to gettext copyright.
3704 Use ANSI definitions and prototypes.
3705 (struct expression): Move definition of enum operator outside
3706 of struct definition.
3707 * intl/plural.c: Regenerate.
3708 * intl/plural.y: Switch to gettext copyright.
3709 Use ANSI definitions and prototypes.
3710 Port to bison 3.0.
3711 * intl/textdomain.c: Switch to gettext copyright.
3712 Use ANSI definitions and prototypes.
3713 Use gl_* locking primitives rather than __libc_* ones.
3714
3715 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3716
3717 * debug/warning-nop.c: Add used atrribute.
3718
3719 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3720
3721 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3722
3723 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3724 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3725 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3726
3727 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3728 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3729
3730 [BZ #17634]
3731 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3732 Undefine after defining function. Define as weak alias of
3733 __wcschr. Use libc_hidden_weak.
3734 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3735 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3736 (libc_hidden_def): Also define __GI___wcschr alias.
3737 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3738 __wcschr and define as weak alias of __wcschr.
3739 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3740 __wcschr.
3741 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3742 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3743 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3744 libc_hidden_weak. Do not use libc_hidden_def.
3745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3746 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3747 __GI___wcschr alias.
3748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3749 [IS_IN (libc)] (wcschr): Define as macro expanding to
3750 __redirect_wcschr.
3751 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3752 [IS_IN (libc)] (__wcschr_power6): Likewise.
3753 [IS_IN (libc)] (__wcschr_power7): Likewise.
3754 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3755 instead of wcschr.
3756 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3757 __libc_wcschr.
3758 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3759 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3760 __wcschr and define as weak alias of __wcschr. Use
3761 libc_hidden_builtin_def.
3762 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3763 as weak alias of __wcschr. Use libc_hidden_weak.
3764 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3765 wcschr.
3766 * time/era.c (_nl_init_era_entries): Likewise.
3767 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3768 variable.
3769 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3770 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3771
3772 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3773
3774 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3775 format for long int variable.
3776
3777 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3778
3779 [BZ #10672]
3780 * manual/search.texi: (Array Sort Function): Remove claim how to make
3781 qsort stable.
3782
3783 2014-12-10 Andreas Schwab <schwab@suse.de>
3784
3785 [BZ #12847]
3786 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3787 user-controlled locks.
3788
3789 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3790
3791 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3792 register.
3793
3794 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3795
3796 * configure.ac (--disable-werror): New configure option.
3797 (enable_werror): New AC_SUBST.
3798 * configure: Regenerated.
3799 * config.make.in (enable-werror): New variable.
3800 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3801 -Wno-error=undef.
3802 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3803 * manual/install.texi (Configuring and compiling): Document
3804 --disable-werror.
3805 * INSTALL: Regenerated.
3806 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3807 (CFLAGS-tst-chk2.c): Likewise.
3808 (CFLAGS-tst-chk3.c): Likewise.
3809 (CFLAGS-tst-chk4.cc): Likewise.
3810 (CFLAGS-tst-chk5.cc): Likewise.
3811 (CFLAGS-tst-chk6.cc): Likewise.
3812 (CFLAGS-tst-lfschk1.c): Likewise.
3813 (CFLAGS-tst-lfschk2.c): Likewise.
3814 (CFLAGS-tst-lfschk3.c): Likewise.
3815 (CFLAGS-tst-lfschk4.cc): Likewise.
3816 (CFLAGS-tst-lfschk5.cc): Likewise.
3817 (CFLAGS-tst-lfschk6.cc): Likewise.
3818
3819 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3820 (main): Disable -Wdeprecated-declarations around calls to
3821 register_printf_function.
3822
3823 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3824 (do_test): Disable -Wdiv-by-zero around some calls to
3825 fwrite_unlocked and fread_unlocked.
3826
3827 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3828 (DIAG_POP_NEEDS_COMMENT): Likewise.
3829 (_DIAG_STR1): Likewise.
3830 (_DIAG_STR): Likewise.
3831 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3832 * stdio-common/bug21.c: Include <libc-internal.h>.
3833 (do_test): Disable -Wformat around call to sscanf.
3834 * stdio-common/scanf14.c: Include <libc-internal.h>.
3835 (main): Disable -Wformat around some calls to scanf functions.
3836
3837 2014-12-09 Torvald Riegel <triegel@redhat.com>
3838
3839 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3840
3841 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3842
3843 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3844 stack variable alignment.
3845
3846 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3847
3848 [BZ #17682]
3849 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3850 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3851 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3852 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3853 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3854 __getrlimit instead of getrlimit.
3855 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3856 __gettimeofday instead of gettimeofday.
3857 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3858 Likewise.
3859 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3860 Likewise.
3861 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3862 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3863 Remove variable.
3864 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3865 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3866
3867 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3868
3869 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3870 for wide-character tests.
3871
3872 2014-12-04 Roland McGrath <roland@hack.frob.com>
3873
3874 * io/openat64.c: #include <libc-internal.h>
3875 (__openat64): Prototypify. Use ignore_value on MODE.
3876 * io/openat.c: Likewise.
3877 * misc/reboot.c: #include <libc-internal.h>
3878 (reboot): Prototypify. Use ignore_value on HOWTO.
3879 * misc/ptrace.c: #include <libc-internal.h>
3880 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3881
3882 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3883
3884 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3885 XPG4, UNIX98 and XOPEN2K.
3886 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3887 Remove variable.
3888 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3889
3890 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3891
3892 * libio/fileops.c: Use ISO C style for function definitions.
3893 * libio/iofopen.c: Likewise.
3894 * libio/wfileops.c: Likewise.
3895
3896 [BZ #17653]
3897 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3898 offset on EOF.
3899 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3900 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3901 (fgets_func): Function pointer to fgets and fgetws.
3902 (do_ftell_test): Add test to verify ftell value after read
3903 EOF.
3904 (do_test): Set fgets_func.
3905
3906 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3907 O_TRUNC flag for w and w+ modes.
3908 (do_rewind_test): Likewise.
3909 (do_ftell_test): Likewise.
3910 (do_write_test): Likewise.
3911
3912 [BZ #17647]
3913 * libio/fileops.c (do_ftell): Seek only when there are
3914 unflushed writes.
3915 * libio/wfileops.c (do_ftell_wide): Likewise.
3916 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3917 test case.
3918 (do_one_test): Call it.
3919
3920 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3921
3922 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3923 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3924 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3925 Remove variable.
3926 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3927 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3928 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3929
3930 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3931
3932 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3933 Remove variable.
3934 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3935
3936 [BZ #17668]
3937 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3938 as weak alias of __getifaddrs. Use libc_hidden_weak.
3939 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3940 __freeifaddrs. Use libc_hidden_weak.
3941 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3942 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3943 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3944 __freeifaddrs. Use libc_hidden_weak.
3945 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3946 __getifaddrs and define as weak alias of __getifaddrs. Use
3947 libc_hidden_weak.
3948 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3949 __freeifaddrs. Use libc_hidden_weak.
3950 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3951 Remove variable.
3952 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3953 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3954
3955 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3956
3957 [BZ #17601]
3958 * sysdeps/mips/start.S (__start): Use indirect jump to call
3959 __libc_start_main.
3960
3961 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3962
3963 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3964
3965 * nptl/tst-mutex1.c: Include <stdbool.h>.
3966 [!ATTR] (ATTR_NULL): New macro.
3967 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3968 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3969 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3970
3971 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3972 to char *.
3973
3974 [BZ #17665]
3975 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3976 Change conditional to [__USE_MISC].
3977
3978 [BZ #17664]
3979 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3980 fgets_unlocked.
3981 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3982 __fgets_unlocked.
3983 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3984 fgets_unlocked.
3985 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3986 Remove variable.
3987 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3988 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3989 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3990 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3991 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3992 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3993 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3994 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3995 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3996
3997 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3998
3999 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4000
4001 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4002 Remove strpbrk objects.
4003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4004 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4005 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4006 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4007 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4008 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4009
4010 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4011 Remove strcspn objects.
4012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4013 (__libc_ifunc_impl_list): Remove strcspn implementation.
4014 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4015 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4016 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4017 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4018
4019 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4020 Remove strspn objetcs.
4021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4022 (__libc_ifunc_impl_list): Remove strspn implementation.
4023 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4024 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4025 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4026 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4027
4028 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4029
4030 [BZ #17581]
4031 * malloc/hooks.c
4032 (mem2mem_check): Add a terminator to the chain of checking blocks.
4033 (malloc_check_get_size): Use it here.
4034 (mem2chunk_check): Ditto.
4035
4036 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4037
4038 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4039 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4040
4041 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4042
4043 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4044
4045 * nptl/nptl-init.c: Include libc-internal.h.
4046 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4047
4048 * elf/ldconfig.c (search_dir): Expand comment.
4049
4050 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4051
4052 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4053 variable.
4054 (linknamespace-symlist-stdlibs-tests): Likewise.
4055 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4056 instead of $(objpfx)symlist-stdlibs.
4057 (linknamespace-libs-isoc): New variable.
4058 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4059 (linknamespace-libs-ISO): New variable.
4060 (linknamespace-libs-ISO99): Likewise.
4061 (linknamespace-libs-ISO11): Likewise.
4062 (linknamespace-libs-XPG3): Likewise.
4063 (linknamespace-libs-XPG4): Likewise.
4064 (linknamespace-libs-POSIX): Likewise.
4065 (linknamespace-libs-UNIX98): Likewise.
4066 (linknamespace-libs-XOPEN2K): Likewise.
4067 (linknamespace-libs-POSIX2008): Likewise.
4068 (linknamespace-libs-XOPEN2K8): Likewise.
4069 ($(objpfx)symlist-stdlibs): Replace by
4070 $(linknamespace-symlist-stdlibs-tests). Use
4071 $(linknamespace-libs-$*) as set of libraries.
4072 ($(linknamespace-header-tests)): Update dependencies. Use
4073 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4074 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4075 * conform/linknamespace.pl: Remove comment about considering
4076 definitions of symbols from irrelevant libraries.
4077
4078 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4079
4080 [BZ #13862]
4081 * elf/dl-tls.c: Include <atomic.h>.
4082 (oom): Remove #ifdef SHARED/#endif.
4083 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4084 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4085 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4086 big enough.
4087 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4088 * nptl/Makefile (tests): Add tst-stack4.
4089 (modules-names): Add tst-stack4mod.
4090 ($(objpfx)tst-stack4): New.
4091 (tst-stack4mod.sos): Likewise.
4092 ($(objpfx)tst-stack4.out): Likewise.
4093 ($(tst-stack4mod.sos)): Likewise.
4094 (clean): Likewise.
4095 * nptl/tst-stack4.c: New file.
4096 * nptl/tst-stack4mod.c: Likewise.
4097
4098 2014-11-27 J. Brown <jb999@gmx.de>
4099
4100 * sysdeps/x86/bits/string.h: Add recent CPUs.
4101
4102 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4103
4104 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4105 sigblock.
4106
4107 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4108 feof.
4109
4110 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4111 variable.
4112
4113 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4114
4115 * nscd/connections.c: Include libc-internal.h because of macro
4116 usage ignore_value.
4117
4118 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4119
4120 * string/bits/string3.h (__warn_memset_zero_len): Don't
4121 declare for gcc newer than 5.0.
4122 (memset): Don't test for zero-length __LEN for gcc newer than
4123 5.0.
4124
4125 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4126
4127 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4128 size_t for %zu format.
4129
4130 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4131 difference, not %ju.
4132
4133 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4134
4135 * include/libc-internal.h (ignore_value): New macro.
4136 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4137 with ignore_value.
4138
4139 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4140 definition.
4141
4142 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4143 pthread_cleanup_push to void *.
4144
4145 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4146 Undefine.
4147
4148 [BZ #16619]
4149 [BZ #16740]
4150 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4151 instead of 1L << 52.
4152
4153 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4154 * libio/bug-rewind2.c (do_test): Likewise.
4155
4156 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4157 * debug/test-strcpy_chk-ifunc.c: Likewise.
4158 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4159 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4160 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4161 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4162 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4163 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4164 * Rules [$(multi-arch) = no] (tests): Do not filter out
4165 $(tests-ifunc).
4166 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4167 * debug/Makefile (tests-ifunc): Remove variable.
4168 (tests): Do not add $(tests-ifunc).
4169 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4170 (tests): Do not add $(tests-ifunc).
4171 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4172 [TEST_IFUNC]: Remove conditionals.
4173 * string/test-string.h (TEST_IFUNC): Remove macro.
4174 [TEST_IFUNC]: Remove conditionals.
4175
4176 * string/test-strchr.c [!WIDE] (L): New macro.
4177 [WIDE] (L): Likewise.
4178 (check1): Use CHAR instead of char. Use L on string and character
4179 constants.
4180
4181 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4182
4183 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4184 tests.
4185 * sysdeps/powerpc/bits/atomic.h
4186 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4187 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4188 (atomic_exchange_and_add_acq): Likewise.
4189 (atomic_exchange_and_add_rel): Likewise.
4190 * sysdeps/powerpc/powerpc32/bits/atomic.h
4191 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4192 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4193 * sysdeps/powerpc/powerpc64/bits/atomic.h
4194 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4195 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4196
4197 2014-11-26 Torvald Riegel <triegel@redhat.com>
4198
4199 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4200 Change synchronization of __sched_fifo_min_prio and
4201 __sched_fifo_max_prio.
4202 * nptl/pthread_mutexattr_getprioceiling.c
4203 (pthread_mutexattr_getprioceiling): Likewise.
4204 * nptl/pthread_mutexattr_setprioceiling.c
4205 (pthread_mutexattr_setprioceiling): Likewise.
4206 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4207 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4208 Likewise.
4209
4210 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4211
4212 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4213 void.
4214
4215 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4216
4217 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4218 third argument const.
4219
4220 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4221
4222 fnmatch: work around GCC compiler warning bug with uninit var
4223 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4224 This works around a bug with x86-64 GCC 4.9.2 and earlier
4225 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4226 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4227 used uninitialized in this function [-Wmaybe-uninitialized]".
4228
4229 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4230
4231 * posix/bug-regex31.c (main): Return RES not 0.
4232
4233 2014-11-25 Anton Blanchard <anton@samba.org>
4234
4235 * sysdeps/powerpc/bits/atomic.h
4236 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4237
4238 2014-11-24 Sterling Augustine <saugustine@google.com>
4239
4240 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4241
4242 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4243
4244 [BZ #17608]
4245 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4246
4247 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4248
4249 [BZ #17633]
4250 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4251 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4252 variable.
4253 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4254 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4255
4256 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4257
4258 * string/strncpy.c (strncpy): Improve performance by using memset.
4259
4260 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4261
4262 * string/strcpy.c (strcpy):
4263 Improve performance by using strlen and memcpy.
4264
4265 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4266
4267 * string/strcoll_l.c (get_next_seq): __always_inline.
4268 * string/strcoll_l.c (do_compare): __always_inline.
4269
4270 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4271
4272 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4273 defined.
4274 * include/mqueue.h: Likewise.
4275 * include/stdlib.h: Likewise.
4276
4277 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4278 (get_null_defines): Adjust.
4279 * sunrpc/Makefile: Adjust comment.
4280 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4281 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4282 (CFLAGS-interp.c): Likewise.
4283 (CFLAGS-ldconfig.c): Likewise.
4284 (CPPFLAGS-.os): Likewise.
4285 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4286 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4287 * extra-modules.mk (extra-modules.mk): Likewise.
4288 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4289 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4290 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4291 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4292 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4293 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4294 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4295 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4296 * iconvdata/Makefile (CPPFLAGS): Likewise.
4297 (cpp-srcs-left): Add libof for all iconvdata routines.
4298 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4299 * include/assert.h: Likewise.
4300 * include/ctype.h: Likewise.
4301 * include/errno.h: Likewise.
4302 * include/libc-symbols.h: Likewise.
4303 * include/math.h: Likewise.
4304 * include/netdb.h: Likewise.
4305 * include/resolv.h: Likewise.
4306 * include/stdio.h: Likewise.
4307 * include/stdlib.h: Likewise.
4308 * include/string.h: Likewise.
4309 * include/sys/stat.h: Likewise.
4310 * include/wctype.h: Likewise.
4311 * intl/l10nflist.c: Likewise.
4312 * libidn/idn-stub.c: Likewise.
4313 * libio/libioP.h: Likewise.
4314 * nptl/libc_multiple_threads.c: Likewise.
4315 * nptl/pthreadP.h: Likewise.
4316 * posix/regex_internal.h: Likewise.
4317 * resolv/res_hconf.c: Likewise.
4318 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4319 * sysdeps/arm/memmove.S: Likewise.
4320 * sysdeps/arm/sysdep.h: Likewise.
4321 * sysdeps/generic/_itoa.h: Likewise.
4322 * sysdeps/generic/symbol-hacks.h: Likewise.
4323 * sysdeps/gnu/errlist.awk: Likewise.
4324 * sysdeps/gnu/errlist.c: Likewise.
4325 * sysdeps/i386/i586/memcpy.S: Likewise.
4326 * sysdeps/i386/i586/memset.S: Likewise.
4327 * sysdeps/i386/i686/memcpy.S: Likewise.
4328 * sysdeps/i386/i686/memmove.S: Likewise.
4329 * sysdeps/i386/i686/mempcpy.S: Likewise.
4330 * sysdeps/i386/i686/memset.S: Likewise.
4331 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4332 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4333 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4334 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4335 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4337 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4338 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4339 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4340 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4341 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4342 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4343 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4344 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4345 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4346 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4348 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4350 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4357 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4358 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4360 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4361 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4364 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4365 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4366 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4367 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4368 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4369 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4370 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4371 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4372 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4373 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4374 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4375 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4376 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4377 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4378 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4381 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4382 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4383 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4384 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4385 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4386 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4387 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4388 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4389 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4390 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4391 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4392 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4393 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4394 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4395 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4396 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4397 * sysdeps/posix/closedir.c: Likewise.
4398 * sysdeps/posix/opendir.c: Likewise.
4399 * sysdeps/posix/readdir.c: Likewise.
4400 * sysdeps/posix/rewinddir.c: Likewise.
4401 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4402 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4403 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4404 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4405 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4406 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4412 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4413 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4414 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4415 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4416 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4417 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4418 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4419 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4420 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4421 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4422 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4423 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4424 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4425 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4429 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4431 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4433 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4436 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4437 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4438 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4439 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4440 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4441 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4442 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4443 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4444 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4445 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4446 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4447 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4448 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4449 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4450 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4451 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4452 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4453 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4454 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4455 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4457 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4458 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4459 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4460 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4461 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4463 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4464 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4465 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4466 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4468 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4469 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4470 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4471 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4472 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4473 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4474 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4475 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4476 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4477 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4478 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4479 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4480 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4481 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4482 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4483 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4484 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4485 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4486 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4487 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4488 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4489 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4490 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4491 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4492 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4493 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4495 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4497 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4499 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4500 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4501 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4502 * sysdeps/unix/alpha/sysdep.S: Likewise.
4503 * sysdeps/unix/alpha/sysdep.h: Likewise.
4504 * sysdeps/unix/make-syscalls.sh: Likewise.
4505 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4507 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4508 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4509 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4510 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4511 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4512 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4513 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4514 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4515 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4516 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4518 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4519 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4520 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4521 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4522 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4523 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4524 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4525 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4526 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4527 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4528 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4529 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4530 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4534 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4535 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4538 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4539 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4540 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4541 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4543 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4544 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4545 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4546 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4547 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4548 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4549 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4551 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4552 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4555 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4556 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4557 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4558 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4559 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4560 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4561 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4563 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4564 * sysdeps/x86_64/memcpy.S: Likewise.
4565 * sysdeps/x86_64/memmove.c: Likewise.
4566 * sysdeps/x86_64/memset.S: Likewise.
4567 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4568 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4569 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4570 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4571 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4574 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4575 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4576 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4577 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4578 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4579 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4580 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4581 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4582 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4583 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4584 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4585 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4586 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4587 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4588 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4591 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4592 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4593 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4594 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4595 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4596 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4597 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4598 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4599 * sysdeps/x86_64/strcmp.S: Likewise.
4600
4601 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4602
4603 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4604 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4605 * elf/rtld-Rules: Likewise.
4606 * elf/setup-vdso.h: Likewise.
4607 * include/assert.h: Likewise.
4608 * include/bits/stdlib-float.h: Likewise.
4609 * include/errno.h: Likewise.
4610 * include/sys/stat.h: Likewise.
4611 * include/unistd.h: Likewise.
4612 * sysdeps/aarch64/setjmp.S: Likewise.
4613 * sysdeps/alpha/setjmp.S: Likewise.
4614 * sysdeps/arm/__longjmp.S: Likewise.
4615 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4616 * sysdeps/arm/setjmp.S: Likewise.
4617 * sysdeps/arm/sysdep.h: Likewise.
4618 * sysdeps/generic/_itoa.h: Likewise.
4619 * sysdeps/generic/dl-sysdep.h: Likewise.
4620 * sysdeps/generic/ldsodefs.h: Likewise.
4621 * sysdeps/i386/dl-tls.h: Likewise.
4622 * sysdeps/i386/setjmp.S: Likewise.
4623 * sysdeps/m68k/setjmp.c: Likewise.
4624 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4625 * sysdeps/mach/hurd/opendir.c: Likewise.
4626 * sysdeps/posix/getcwd.c: Likewise.
4627 * sysdeps/posix/opendir.c: Likewise.
4628 * sysdeps/posix/profil.c: Likewise.
4629 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4630 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4631 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4633 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4636 * sysdeps/s390/dl-tls.h: Likewise.
4637 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4638 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4639 * sysdeps/sh/sh3/setjmp.S: Likewise.
4640 * sysdeps/sh/sh4/setjmp.S: Likewise.
4641 * sysdeps/unix/alpha/sysdep.h: Likewise.
4642 * sysdeps/unix/arm/sysdep.S: Likewise.
4643 * sysdeps/unix/i386/sysdep.S: Likewise.
4644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4645 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4646 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4647 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4648 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4649 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4650 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4651 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4652 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4653 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4654 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4655 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4659 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4660 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4661 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4662 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4663 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4664 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4667 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4668 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4669 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4671 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4672 * sysdeps/x86_64/setjmp.S: Likewise.
4673
4674 * include/math.h: Use IS_IN instead of IS_IN_libm.
4675 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4687 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4695 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4696 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4697 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4698 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4699 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4700 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4702 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4703 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4704 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4705 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4706 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4707 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4709 Likewise.
4710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4711 Likewise.
4712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4713 Likewise.
4714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4715 Likewise.
4716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4717 Likewise.
4718 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4719 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4720 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4721 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4722 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4723 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4729 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4730 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4734 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4735 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4736 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4737 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4738 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4739 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4741 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4742 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4744 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4745
4746 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4747 * nptl/pthreadP.h: Likewise.
4748 * nptl_db/structs.def: Likewise.
4749 * sysdeps/arm/sysdep.h: Likewise.
4750 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4751 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4752 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4753 * sysdeps/unix/alpha/sysdep.h: Likewise.
4754 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4755 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4756 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4757 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4758 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4759 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4760 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4761 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4762 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4763 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4764 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4765 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4766 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4767 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4771 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4772 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4775 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4776 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4777 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4778 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4779 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4780
4781 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4782 * nptl/pthreadP.h: Likewise.
4783 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4784 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4785 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4786 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4787 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4788 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4789 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4790 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4791 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4792 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4793 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4794 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4796 Likewise.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4798 Likewise.
4799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4801 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4802 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4804 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4805 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4806 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4807
4808 * dlfcn/dladdr.c: Use IS_IN.
4809 * dlfcn/dladdr1.c: Likewise.
4810 * dlfcn/dlclose.c: Likewise.
4811 * dlfcn/dlerror.c: Likewise.
4812 * dlfcn/dlinfo.c: Likewise.
4813 * dlfcn/dlmopen.c: Likewise.
4814 * dlfcn/dlopen.c: Likewise.
4815 * dlfcn/dlsym.c: Likewise.
4816 * dlfcn/dlvsym.c: Likewise.
4817
4818 * include/ifaddrs.h: Use IS_IN.
4819 * inet/check_pf.c: Likewise.
4820 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4821 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4822
4823 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4824 IS_IN_ldconfig.
4825 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4826 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4827
4828 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4829 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4830 IS_IN (libc).
4831
4832 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4833
4834 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4835 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4836 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4837 * include/libc-symbols.h (IS_IN_LIB): New macro.
4838 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4839 * include/netdb.h: Likewise.
4840 * include/stap-probe.h: Remove all uses of IN_LIB.
4841
4842 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4843 instead of IN_MODULE.
4844 * include/libc-symbols.h (IN_MODULE): Define using
4845 MODULE_NAME.
4846 (PASTE_NAME, PASTE_NAME1): New macros.
4847 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4848 of IN_LIB.
4849 (STAP_PROBE_ASM): Likewise.
4850
4851 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4852
4853 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4854 __mach_init in dlopened libc.
4855
4856 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4857
4858 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4859 * sysdeps/arm/preconfigure: Regenerate.
4860
4861 2014-11-21 Roland McGrath <roland@hack.frob.com>
4862
4863 * nptl/pthread_create.c (__pthread_create_2_1): Set
4864 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4865 when copying values from IATTR into PD.
4866
4867 2014-11-21 Will Newton <will.newton@linaro.org>
4868 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4869
4870 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4871 Refactor inline-asm. Also add comment.
4872
4873 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4874 ElfW macro instead of hardcoded Elf64 types.
4875 (la_aarch64_gnu_pltenter): Likewise.
4876 * sysdeps/aarch64/dl-machine.h
4877 (elf_machine_runtime_setup): Use ElfW(Addr).
4878
4879 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4880 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4881 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4882 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4883 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4884 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4885 (R_AARCH64_TLS_DTPMOD): This.
4886 (R_AARCH64_TLS_DTPREL64): Rename to ...
4887 (R_AARCH64_TLS_DTPREL): This.
4888 (R_AARCH64_TLS_TPREL64): Rename to ...
4889 (R_AARCH64_TLS_TPREL): This.
4890 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4891 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4892 R_AARCH64_TLS_TPREL64.
4893 (elf_machine_rela): Likewise.
4894
4895 2014-11-21 Torvald Riegel <triegel@redhat.com>
4896
4897 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4898 by setting it to 0. 64b atomics are not supported currently.
4899
4900 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4901
4902 [BZ #16469]
4903 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4904 search domain names.
4905
4906 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4907
4908 [BZ #16469]
4909 * NEWS: Update.
4910 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4911 trailing dot.
4912 * posix/tst-getaddrinfo5.c: New.
4913 * posix/Makefile (tests): Add it.
4914
4915 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4916
4917 [BZ #14498]
4918 * NEWS: Fixed.
4919 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4920 after parsing line but before break_if_match.
4921 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4922 if there is a protocol mismatch.
4923
4924 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4925
4926 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4927 because the potential race is on the user-supplied stream.
4928
4929 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4930
4931 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4932 string literal if not passed a buffer.
4933 * manual/job.texi (ctermid): Update reasoning, note deviation
4934 from posix, suggest mtasurace when not passed a buffer, for
4935 future non-preliminary safety notes.
4936
4937 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4938
4939 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4940 of not passing it a buffer.
4941 Reported by Peng Haitao.
4942
4943 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4944
4945 * manual/Makefile ($(objpfx)stamp-summary): Require
4946 check-safety.sh to pass.
4947 * manual/check-safety.sh: Wish for verification that every
4948 @deftypefn and @deftypefun is followed by a @safety remark.
4949
4950 2014-11-20 Roland McGrath <roland@hack.frob.com>
4951
4952 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4953
4954 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4955 PTHREAD_CANCEL_ASYNCHRONOUS.
4956 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4957 send SIGCANCEL.
4958
4959 * nptl/default-sched.h: New file.
4960 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4961 * nptl/pthread_create.c: Include it.
4962 (__pthread_create_2_1): Use collect_default_sched instead of making
4963 Linux syscalls here directly.
4964
4965 2014-11-20 Torvald Riegel <triegel@redhat.com>
4966
4967 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4968 __pthread_once): Use C11 atomics.
4969
4970 2014-11-20 Torvald Riegel <triegel@redhat.com>
4971
4972 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4973
4974 2014-11-20 Torvald Riegel <triegel@redhat.com>
4975
4976 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4977 atomic_thread_fence_acquire, atomic_thread_fence_release,
4978 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4979 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4980 atomic_compare_exchange_weak_relaxed,
4981 atomic_compare_exchange_weak_acquire,
4982 atomic_compare_exchange_weak_release,
4983 atomic_exchange_acquire, atomic_exchange_release,
4984 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4985 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4986 atomic_fetch_and_acquire,
4987 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4988
4989 2014-11-20 Torvald Riegel <triegel@redhat.com>
4990
4991 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4992 USE_ATOMIC_COMPILER_BUILTINS): Define.
4993 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4994 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4995 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4996 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4997 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4998 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4999 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5000 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5001 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5002 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5003 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5004 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5005 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5006 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5007 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5008 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5009 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5010 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5011 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5012 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5013 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5014 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5015 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5016 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5017 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5018 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5019 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5020 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5021 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5022 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5023 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5024 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5025 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5026 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5027 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5028 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5029 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5030 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5031 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5032 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5033
5034 2014-11-19 Roland McGrath <roland@hack.frob.com>
5035
5036 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5037 the sched_priority value here. It was already checked when the user
5038 called pthread_attr_setschedparam.
5039
5040 * nptl/tst-bad-schedattr.c: New file.
5041 * nptl/Makefile (tests): Add it.
5042
5043 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5044 Florian Weimer <fweimer@redhat.com>
5045 Joseph Myers <joseph@codesourcery.com>
5046 Adam Conrad <adconrad@0c3.net>
5047 Andreas Schwab <schwab@suse.de>
5048 Brooks <bmoses@google.com>
5049
5050 [BZ #17625]
5051 * wordexp-test.c (__dso_handle): Add prototype.
5052 (__register_atfork): Likewise.
5053 (__app_register_atfork): New function.
5054 (registered_forks): New global.
5055 (register_fork): New function.
5056 (test_case): Add 3 new tests for WRDE_CMDSUB.
5057 (main): Call __app_register_atfork.
5058 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5059 fork count is non-zero fail the test.
5060 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5061 is set.
5062 (parse_dollars): Remove check for WRDE_NOCMD.
5063 (parse_dquote): Likewise.
5064
5065 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5066
5067 * Makeconfig (built-modules): List non-library modules to be
5068 built.
5069 (module-cppflags): Include libc-modules.h for
5070 everything except shlib-versions.v.i.
5071 (CPPFLAGS): Use it.
5072 (before-compile): Add libc-modules.h.
5073 ($(common-objpfx)libc-modules.h,
5074 $(common-objpfx)libc-modules.stmp): New targets.
5075 (common-generated): Add libc-modules.h and libc-modules.stmp.
5076 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5077 * include/libc-symbols.h: Don't include libc-modules.h.
5078 * include/libc-modules.h: Remove file.
5079 * scripts/gen-libc-modules.awk: New script to generate
5080 libc-modules.h.
5081 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5082 Depend on libc-modules.stmp.
5083
5084 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5085
5086 * Makeconfig (in-module): Get value of libof set for the
5087 translation unit.
5088 (CPPFLAGS): Use $(in-module).
5089 * Makerules: Don't suffix routine names for nonlib.
5090 * include/libc-modules.h: New file.
5091 * include/libc-symbols.h: Include libc-modules.h
5092 (IS_IN): New macro to replace IS_IN_* macros.
5093 * elf/Makefile: Set libof-* for each routine.
5094 * elf/rtld-Rules: Likewise.
5095 * extra-modules.mk: Likewise.
5096 * iconv/Makefile: Likewise.
5097 * iconvdata/Makefile: Likewise.
5098 * locale/Makefile: Likewise.
5099 * malloc/Makefile: Likewise.
5100 * nss/Makefile: Likewise.
5101 * sysdeps/gnu/Makefile: Likewise.
5102 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5103 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5104 * sysdeps/s390/s390-64/Makefile: Likewise.
5105 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5106 CPPFLAGS for nscd instead of nonlib.
5107
5108 2014-11-18 Roland McGrath <roland@hack.frob.com>
5109
5110 * nptl/createthread.c: New file.
5111
5112 * nptl/createthread.c: Moved ...
5113 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5114
5115 * nptl/createthread.c: Add proper top-line comment.
5116 (do_clone): Folded into ...
5117 (create_thread): ... here. Take new arguments STOPPED_START and
5118 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5119 increment __nptl_threads, do event-reporting logic, do
5120 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5121 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5122 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5123 just send SIGCANCEL.
5124 * nptl/pthread_create.c: Forward-declare create_thread before
5125 including createthread.c.
5126 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5127 declaration, and new macro START_THREAD_SELF to replace argument.
5128 Remove return statement.
5129 (report_thread_creation): New function.
5130 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5131 synchronization logic, and __nptl_nthreads increment here, around
5132 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5133 PD->parent_cancelhandling here, before create_thread. When
5134 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5135 __deallocate_stack, and ENOMEM translation here.
5136
5137 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5138
5139 [BZ #17616]
5140 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5141 (mptwo): Rename to __mptwo.
5142 (__inv): Use __mptwo instead of mptwo.
5143 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5144 (mptwo): Rename to __mptwo.
5145 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5146 of mpone and __mptwo instead of mptwo.
5147 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5148 instead of mpone.
5149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5150 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5151 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5152 of mpone and __mptwo instead of mptwo.
5153 (__mpranred): Use __mpone instead of mpone.
5154 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5155 variable.
5156 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5157 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5158 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5159 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5160 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5161 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5162 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5163 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5164 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5165 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5166 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5167 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5168 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5169 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5170 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5171 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5172 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5173 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5174 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5175
5176 2014-11-18 Tom de Vries <tom@codesoucery.com>
5177
5178 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5179 replace BSD Handler xref with BSD Signal Handling.
5180
5181 2014-11-17 Richard Henderson <rth@redhat.com>
5182
5183 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5184 (_FP_PACK_RAW_2): Remove.
5185 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5186 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5187 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5188 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5189 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5190 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5191 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5192 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5193 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5194 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5195 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5196 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5197 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5198 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5199 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5200 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5201
5202 2014-11-14 Roland McGrath <roland@hack.frob.com>
5203
5204 * signal/signal.h [__USE_MISC]
5205 (struct sigvec): Remove type.
5206 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5207 (sigvec): Remove declaration.
5208 * sysdeps/posix/sigvec.c: Moved ...
5209 * signal/sigvec.c: ... here, replacing old file.
5210 (struct sigvec): New type, copied from old signal.h definition.
5211 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5212 (__sigvec): Convert definition to prototype.
5213 (sigvec): Replace weak_alias with compat_symbol.
5214 * signal/Versions (libc: GLIBC_2.21): New version set.
5215 * include/signal.h: Remove __sigvec declaration.
5216 * sysdeps/unix/bsd/sigvec.c: Remove file.
5217 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5218 * manual/signal.texi (BSD Handler): Remove subsection.
5219 Move siginterrupt up to ...
5220 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5221 (Blocking in BSD): Fold subsection into its parent.
5222 * NEWS: Mention sigvec removal.
5223
5224 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5225
5226 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5227 (DLA_FMS): Make definition conditional only on [__FMA4__].
5228 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5229 definition.
5230
5231 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5232 Make definition conditional only on [PROF].
5233 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5234 definition.
5235 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5236 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5237
5238 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5239 !__GNUC__].
5240 * include/signal.h (__sigpause): Move declaration above call to
5241 libc_hidden_proto.
5242 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5243 variable.
5244 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5245 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5246
5247 2014-11-14 David S. Miller <davem@davemloft.net>
5248
5249 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5250 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5251
5252 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5253
5254 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5255 * configure: Regenerated.
5256 * manual/install.texi (Tools for Compilation): Document a
5257 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5258 compiler verified to work.
5259 * INSTALL: Regenerated.
5260
5261 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5262 redeclare with asm name.
5263 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5264 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5265 including <string.h>.
5266 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5267 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5268 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5269 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5270 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5271 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5272 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5273
5274 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5275
5276 * stdlib/strtol.c (__strtol): Use prototype definition.
5277
5278 [BZ #17594]
5279 * stdlib/strtol.c (SYM__): New macro.
5280 (SYM__1): Likewise.
5281 (__strtol): Likewise.
5282 (strtol): Rename to __strtol and define as weak alias of
5283 __strtol. Use libc_hidden_weak.
5284
5285 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5286
5287 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5288 Use numbered labels in inline assembly.
5289
5290 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5291
5292 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5293 Add setjmp LIBC_PROBE.
5294 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5295 Likewise.
5296 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5297 Add longjmp, longjmp_target LIBC_PROBE.
5298 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5299 Likewise.
5300
5301 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5302
5303 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5304 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5305 to get rid of unused variable warning.
5306
5307 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5308
5309 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5310 Check for unwind_backtrace == NULL only in SHARED case.
5311 (__backchain_backtrace): Compile only in SHARED case.
5312 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5313 Likewise.
5314 (__backchain_backtrace): Declare as static.
5315
5316 2014-11-12 Roland McGrath <roland@hack.frob.com>
5317
5318 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5319 (__libc_multiple_threads_ptr): Variable moved ...
5320 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5321
5322 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5323
5324 * conform/GlibcConform.pm: New file.
5325 * conform/conformtest.pl: Use GlibcConform module.
5326 * conform/linknamespace.pl: New file.
5327 * conform/list-header-symbols.pl: Likewise.
5328 * conform/Makefile (linknamespace-symlists-base): New variable.
5329 (linknamespace-symlists-tests): Likewise.
5330 (linknamespace-header-base): Likewise.
5331 (linknamespace-header-tests): Likewise.
5332 (tests-special): Add new tests.
5333 ($(linknamespace-symlists-tests)): New rule.
5334 (linknamespace-libs): New variable.
5335 ($(objpfx)symlist-stdlibs): New rule.
5336 ($(linknamespace-header-tests)): Likewise.
5337 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5338 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5339 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5340 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5341 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5342 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5343 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5344 (test-xfail-ISO/math.h/linknamespace): Likewise.
5345 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5346 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5347 (test-xfail-ISO/time.h/linknamespace): Likewise.
5348 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5349 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5350 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5351 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5352 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5353 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5354 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5355 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5356 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5357 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5358 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5359 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5360 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5361 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5362 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5363 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5364 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5365 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5366 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5367 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5368 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5369 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5370 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5371 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5372 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5373 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5374 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5375 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5376 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5377 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5378 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5379 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5380 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5381 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5382 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5383 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5384 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5385 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5386 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5387 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5388 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5389 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5390 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5391 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5392 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5393 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5394 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5395 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5396 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5397 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5398 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5399 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5400 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5401 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5402 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5403 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5404 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5405 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5406 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5407 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5408 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5409 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5410 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5411 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5412 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5413 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5414 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5415 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5416 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5417 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5418 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5419 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5420 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5421 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5422 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5423 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5424 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5425 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5426 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5427 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5428 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5429 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5430 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5431 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5432 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5433 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5434 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5435 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5436 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5437 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5438 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5439 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5440 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5441 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5442 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5443 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5444 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5445 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5446 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5447 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5448 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5449 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5450 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5451 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5452 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5453 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5454 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5455 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5456 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5457 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5458 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5459 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5460 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5461 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5462 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5463 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5464 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5465 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5466 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5467 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5468 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5469 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5470 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5471 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5472 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5473 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5474 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5475 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5476 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5477 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5478 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5479 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5480 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5481 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5482 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5483 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5484 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5485 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5486 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5487 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5488 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5489 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5490 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5491 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5492 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5493 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5494 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5495 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5496 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5497 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5498
5499 [BZ #17589]
5500 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5501 of fgets_unlocked.
5502
5503 [BZ #17585]
5504 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5505 (memmem): Rename to __memmem and define as weak alias of
5506 __memmem. Use libc_hidden_weak.
5507 (__memmem): Use libc_hidden_def.
5508 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5509 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5510 memmem.
5511
5512 [BZ #17582]
5513 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5514 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5515 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5516 and define as weak alias of __fgets_unlocked. Use
5517 libc_hidden_weak.
5518 (__fgets_unlocked): Use libc_hidden_def.
5519 * include/stdio.h (__fgets_unlocked): Declare. Use
5520 libc_hidden_proto.
5521 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5522 __fgets_unlocked instead of fgets_unlocked.
5523 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5524 (GET_NPROCS_CONF_PARSER): Likewise.
5525 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5526 (GET_NPROCS_CONF_PARSER): Likewise.
5527
5528 [BZ #17574]
5529 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5530 weak alias of __wmemset. Use libc_hidden_weak.
5531 (__wmemset): Use libc_hidden_def.
5532 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5533 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5534 of wmemset.
5535
5536 [BZ #17573]
5537 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5538 with asm name __mempcpy.
5539 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5540
5541 [BZ #17572]
5542 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5543 and define as weak alias of __rawmemchr.
5544 (__rawmemchr): Do not define as strong alias of rawmemchr.
5545
5546 [BZ #17571]
5547 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5548 alias of __qsort_r.
5549 (qsort): Call __qsort_r instead of qsort_r.
5550 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5551 (__qsort_r): Declare. Call libc_hidden_proto.
5552 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5553 instead of qsort_r.
5554 * nscd/gai.c (__qsort_r): Define to qsort_r.
5555 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5556 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5557 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5558
5559 [BZ #17570]
5560 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5561 define as weak alias of __malloc_info.
5562
5563 [BZ #17584]
5564 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5565 as weak alias of __rewinddir. Don't use libc_hidden_def.
5566 (__rewinddir): Use libc_hidden_def.
5567 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5568 as weak alias of __rewinddir. Don't use libc_hidden_def.
5569 (__rewinddir): Use libc_hidden_def.
5570 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5571 weak alias of __rewinddir. Don't use libc_hidden_def.
5572 (__rewinddir): Use libc_hidden_def.
5573 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5574 (__rewinddir): Use libc_hidden_proto.
5575 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5576 rewinddir.
5577 (__getcwd): Use __rewinddir instead of rewinddir.
5578
5579 [BZ #17583]
5580 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5581 alias of __fileno. Use libc_hidden_weak.
5582 (__fileno): Use libc_hidden_def.
5583 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5584 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5585 alias of __ftello.
5586 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5587 __ftello.
5588 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5589 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5590 libc_hidden_def.
5591 (fread_unlocked): Don't use libc_hidden_ver.
5592 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5593 and define as weak alias of __fread_unlocked. Don't use
5594 libc_hidden_def.
5595 (__fread_unlocked): Use libc_hidden_def.
5596 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5597 (ftello): Don't use libc_hidden_proto.
5598 (__ftello): Declare. Use libc_hidden_proto.
5599 (fread_unlocked): Don't use libc_hidden_proto.
5600 (__fread_unlocked): Declare. Use libc_hidden_proto.
5601 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5602 and __ftello instead of fileno, fread_unlocked and ftello.
5603
5604 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5605
5606 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5607 GOT12.
5608 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5609 Likewise.
5610 (_dl_start_user): Likewise.
5611 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5612
5613 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5614 Siddhesh Poyarekar <siddhesh@redhat.com>
5615
5616 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5617 Move argv and envp down instead of moving argc up.
5618 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5619
5620 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5621
5622 [BZ #17506]
5623 * test-skeleton.c (main): Return successful if one of
5624 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5625 * string/tst-strcoll-overflow.c: Define expected status.
5626
5627 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5628
5629 [BZ #17475]
5630 * locale/iso-639.def: Define Bhili and Tulu language codes.
5631
5632 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5633
5634 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5635
5636 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5637
5638 [BZ #17555]
5639 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5640
5641 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5642
5643 * configure.ac: Updated check of minimal required version to
5644 2.22.
5645 * manual/install.texi (Tools for Compilation): Updated version
5646 number.
5647 * configure: Regenerated.
5648 * INSTALL: Likewise.
5649
5650 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5651
5652 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5653 __tls_get_addr.
5654
5655 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5656
5657 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5658 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5659 (__waitpid): Don't define as alias. Use libc_hidden_def not
5660 libc_hidden_weak.
5661 (waitpid): Define as alias of __waitpid.
5662 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5663 __waitpid.
5664 (__waitpid): Don't define as alias. Use libc_hidden_def not
5665 libc_hidden_weak.
5666 (waitpid): Define as alias of __waitpid.
5667 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5668 __libc_waitpid alias.
5669 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5671 Likewise.
5672 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5673 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5674 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5675 alias.
5676 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5677 __waitpid.
5678 (__waitpid): Don't define as alias. Use libc_hidden_def not
5679 libc_hidden_weak.
5680 (waitpid): Define as alias of __waitpid.
5681
5682 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5683
5684 * manual/llio.texi: Add comment that write safety has been
5685 fixed in Linux.
5686
5687 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5688 (localplt-build-dso): Add elf/ld.so.
5689 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5690 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5691 and free for ld.so.
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5693 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5695 Likewise.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5697 Likewise.
5698 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5699 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5700 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5701 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5702 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5703 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5704 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5705 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5706 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5707 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5708 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5709
5710 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5711
5712 [BZ #14132]
5713 * include/libc-symbols.h (INTUSE): Remove macro.
5714 (INTDEF): Likewise.
5715 (INTVARDEF): Likewise.
5716 (_INTVARDEF): Likewise.
5717 (INTDEF2): Likewise.
5718 (INTVARDEF2): Likewise.
5719 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5720 rtld_hidden_def instead of INTVARDEF.
5721 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5722 (_dl_starting_up_internal): Remove declaration.
5723 (_dl_starting_up): Use rtld_hidden_proto.
5724 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5725 declaration.
5726 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5727 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5728 _dl_starting_up.
5729 * elf/dl-writev.h (_dl_writev): Likewise.
5730 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5731 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5732 _dl_starting_up_internal.
5733
5734 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735
5736 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5737 test-skeleton.c.
5738
5739 2014-11-05 Will Newton <will.newton@linaro.org>
5740
5741 * benchtests/Makefile: (bench-malloc): Add malloc thread
5742 scalability benchmark.
5743 * benchtests/bench-malloc-threads.c: New file.
5744
5745 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5746
5747 * sysdeps/aarch64/strchrnul.S: New file.
5748
5749 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750
5751 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5752 definition.
5753 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5754 Likwise.
5755 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5756 Likewise.
5757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5758 Likewise.
5759 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5760 Likewise.
5761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5762 Likewise.
5763
5764 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5765
5766 * catgets/test-gencat.c: Use test-skeleton.c.
5767 * catgets/tst-catgets.c: Likewise.
5768 * csu/tst-empty.c: Likewise.
5769 * elf/tst-audit2.c: Likewise.
5770 * elf/tst-global1.c: Likewise.
5771 * elf/tst-pathopt.c: Likewise.
5772 * elf/tst-piemod1.c: Likewise.
5773 * elf/tst-tls10.c: Likewise.
5774 * elf/tst-tls11.c: Likewise.
5775 * elf/tst-tls12.c: Likewise.
5776 * gnulib/tst-gcc.c: Likewise.
5777 * iconvdata/tst-e2big.c: Likewise.
5778 * iconvdata/tst-loading.c: Likewise.
5779 * iconv/tst-iconv1.c: Likewise.
5780 * iconv/tst-iconv2.c: Likewise.
5781 * inet/test-inet6_opt.c: Likewise.
5782 * inet/tst-gethnm.c: Likewise.
5783 * inet/tst-network.c: Likewise.
5784 * inet/tst-ntoa.c: Likewise.
5785 * intl/tst-codeset.c: Likewise.
5786 * intl/tst-gettext2.c: Likewise.
5787 * intl/tst-gettext3.c: Likewise.
5788 * intl/tst-ngettext.c: Likewise.
5789 * intl/tst-translit.c: Likewise.
5790 * io/test-stat.c: Likewise.
5791 * libio/test-fmemopen.c: Likewise.
5792 * libio/tst-freopen.c: Likewise.
5793 * libio/tst-sscanf.c: Likewise.
5794 * libio/tst-ungetwc1.c: Likewise.
5795 * libio/tst-ungetwc2.c: Likewise.
5796 * libio/tst-widetext.c: Likewise.
5797 * localedata/tst-ctype.c: Likewise.
5798 * localedata/tst-digits.c: Likewise.
5799 * localedata/tst-leaks.c: Likewise.
5800 * localedata/tst-mbswcs1.c: Likewise.
5801 * localedata/tst-mbswcs2.c: Likewise.
5802 * localedata/tst-mbswcs3.c: Likewise.
5803 * localedata/tst-mbswcs4.c: Likewise.
5804 * localedata/tst-mbswcs5.c: Likewise.
5805 * localedata/tst-setlocale.c: Likewise.
5806 * localedata/tst-trans.c: Likewise.
5807 * localedata/tst-wctype.c: Likewise.
5808 * localedata/tst-xlocale1.c: Likewise.
5809 * login/tst-grantpt.c: Likewise.
5810 * malloc/tst-calloc.c: Likewise.
5811 * malloc/tst-malloc.c: Likewise.
5812 * malloc/tst-mallocstate.c: Likewise.
5813 * malloc/tst-mcheck.c: Likewise.
5814 * malloc/tst-mtrace.c: Likewise.
5815 * malloc/tst-obstack.c: Likewise.
5816 * math/atest-exp2.c: Likewise.
5817 * math/atest-exp.c: Likewise.
5818 * math/atest-sincos.c: Likewise.
5819 * math/test-matherr.c: Likewise.
5820 * math/test-misc.c: Likewise.
5821 * math/test-powl.c: Likewise.
5822 * math/tst-definitions.c: Likewise.
5823 * misc/tst-dirname.c: Likewise.
5824 * misc/tst-efgcvt.c: Likewise.
5825 * misc/tst-fdset.c: Likewise.
5826 * misc/tst-hsearch.c: Likewise.
5827 * misc/tst-mntent2.c: Likewise.
5828 * nptl/tst-sem7.c: Likewise.
5829 * nptl/tst-sem8.c: Likewise.
5830 * nptl/tst-sem9.c: Likewise.
5831 * nss/test-netdb.c: Likewise.
5832 * posix/tst-fnmatch.c: Likewise.
5833 * posix/tst-getlogin.c: Likewise.
5834 * posix/tst-gnuglob.c: Likewise.
5835 * posix/tst-mmap.c: Likewise.
5836 * pwd/tst-getpw.c: Likewise.
5837 * resolv/tst-inet_ntop.c: Likewise.
5838 * rt/tst-timer.c: Likewise.
5839 * stdio-common/test-fseek.c: Likewise.
5840 * stdio-common/test-popen.c: Likewise.
5841 * stdio-common/test-vfprintf.c: Likewise.
5842 * stdio-common/tst-cookie.c: Likewise.
5843 * stdio-common/tst-fileno.c: Likewise.
5844 * stdio-common/tst-gets.c: Likewise.
5845 * stdio-common/tst-obprintf.c: Likewise.
5846 * stdio-common/tst-perror.c: Likewise.
5847 * stdio-common/tst-sprintf2.c: Likewise.
5848 * stdio-common/tst-sprintf3.c: Likewise.
5849 * stdio-common/tst-sprintf.c: Likewise.
5850 * stdio-common/tst-swprintf.c: Likewise.
5851 * stdio-common/tst-tmpnam.c: Likewise.
5852 * stdio-common/tst-unbputc.c: Likewise.
5853 * stdio-common/tst-wc-printf.c: Likewise.
5854 * stdlib/tst-environ.c: Likewise.
5855 * stdlib/tst-fmtmsg.c: Likewise.
5856 * stdlib/tst-limits.c: Likewise.
5857 * stdlib/tst-rand48-2.c: Likewise.
5858 * stdlib/tst-rand48.c: Likewise.
5859 * stdlib/tst-random2.c: Likewise.
5860 * stdlib/tst-random.c: Likewise.
5861 * stdlib/tst-strtol.c: Likewise.
5862 * stdlib/tst-strtoll.c: Likewise.
5863 * stdlib/tst-tls-atexit.c: Likewise.
5864 * stdlib/tst-xpg-basename.c: Likewise.
5865 * string/test-ffs.c: Likewise.
5866 * string/tst-bswap.c: Likewise.
5867 * string/tst-inlcall.c: Likewise.
5868 * string/tst-strtok.c: Likewise.
5869 * string/tst-strxfrm.c: Likewise.
5870 * sysdeps/x86_64/tst-audit10.c: Likewise.
5871 * sysdeps/x86_64/tst-audit3.c: Likewise.
5872 * sysdeps/x86_64/tst-audit4.c: Likewise.
5873 * sysdeps/x86_64/tst-audit5.c: Likewise.
5874 * time/tst-ftime_l.c: Likewise.
5875 * time/tst-getdate.c: Likewise.
5876 * time/tst-mktime3.c: Likewise.
5877 * time/tst-mktime.c: Likewise.
5878 * time/tst-posixtz.c: Likewise.
5879 * time/tst-strptime2.c: Likewise.
5880 * time/tst-strptime3.c: Likewise.
5881 * wcsmbs/tst-btowc.c: Likewise.
5882 * wcsmbs/tst-mbrtowc.c: Likewise.
5883 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5884 * wcsmbs/tst-wchar-h.c: Likewise.
5885 * wcsmbs/tst-wcpncpy.c: Likewise.
5886 * wcsmbs/tst-wcrtomb.c: Likewise.
5887 * wcsmbs/tst-wcsnlen.c: Likewise.
5888 * wcsmbs/tst-wcstof.c: Likewise.
5889
5890 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5891
5892 [BZ #14132]
5893 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5894 INTDEF.
5895 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5896 declaration.
5897 (_dl_mcount): Use rtld_hidden_proto.
5898 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5899 _dl_mcount.
5900 * elf/rtld.c (_rtld_global_ro): Likewise.
5901
5902 [BZ #14132]
5903 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5904 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5905 of _dl_init_internal.
5906 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5907 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5908 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5909 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5910 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5911 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5912 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5913 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5914 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5915 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5916 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5917 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5918 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5919 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5920 * sysdeps/tile/dl-start.S (_start): Likewise.
5921 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5922 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5923
5924 [BZ #14132]
5925 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5926 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5927 (rtld_progname): Make macro definition unconditional.
5928 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5929 INTDEF.
5930 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5931 (dl_main): Likewise.
5932 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5933 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5934 instead of _dl_argv_internal.
5935 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5936 __GI__dl_argv instead of INTUSE(_dl_argv).
5937 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5938 __GI__dl_argv instead of _dl_argv_internal.
5939
5940 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5941 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5942 macro.
5943 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5944 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5945 New macro.
5946 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5947 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5948 macro.
5949 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5950 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5951
5952 2014-11-04 Andreas Schwab <schwab@suse.de>
5953
5954 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5955
5956 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5957
5958 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5959 mtvsrd instruction in binary form.
5960
5961 2014-11-03 Andreas Schwab <schwab@suse.de>
5962
5963 [BZ #17522]
5964 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5965 for less than MB_LEN_MAX use a local buffer of that size.
5966 * libio/tst-fputws.c: New file.
5967 * libio/Makefile (tests): Add tst-fputws.
5968
5969 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5970
5971 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5972 the size of the fpu_fr.fpu_dregs[] array.
5973
5974 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5975
5976 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5977 (__nanosleep): Do not define as alias.
5978 (nanosleep): Define as alias of __nanosleep.
5979 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5980 __libc_nanosleep name.
5981
5982 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5983
5984 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5985 install.texi in comment.
5986
5987 2014-10-31 Torvald Riegel <triegel@redhat.com>
5988
5989 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5990 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5991 ... add here and use lwsync or sync ...
5992 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5993 ... and add here using lwsync.
5994
5995 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5996
5997 * elf/dl-machine-reject-phdr.h: New file.
5998 * elf/dl-load.c: #include that.
5999 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6000 if that returned true.
6001
6002 2014-10-31 Roland McGrath <roland@hack.frob.com>
6003
6004 [BZ #17496]
6005 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6006 gen-as-const-headers chunk. Add a big scare comment after the last
6007 safe place to touch before-compile.
6008
6009 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6010
6011 * manual/install.texi (Tools for Compilation): Update autoconf
6012 version requirements.
6013 * INSTALL: Regenerated.
6014
6015 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6016 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6017 (__libc_pselect): Likewise.
6018
6019 [BZ #14138]
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6024
6025 2014-10-31 Torvald Riegel <triegel@redhat.com>
6026
6027 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6028 correct barrier instruction.
6029 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6030 Likewise.
6031 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6032 Likewise.
6033
6034 2014-10-30 Roland McGrath <roland@hack.frob.com>
6035
6036 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6037 after defining inlines. Instead, just use parens to defeat macro
6038 expansion of __isctype in its declaration.
6039
6040 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6041
6042 * include/sys/uio.h (__libc_readv): Remove declaration.
6043 (__libc_writev): Likewise.
6044 * misc/readv.c (__libc_readv): Rename to __readv.
6045 (__readv): Do not define as alias.
6046 (readv): Define as alias of __readv.
6047 * misc/writev.c (__libc_writev): Rename to __writev.
6048 (__writev): Do not define as alias.
6049 (writev): Define as alias of __writev.
6050 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6051 (__readv): Do not define as alias.
6052 (readv): Define unconditionally as alias of __readv.
6053 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6054 (__writev): Do not define as alias.
6055 (writev): Define unconditionally as alias of __writev.
6056 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6057 name.
6058 (writev): Do not define __libc_writev name.
6059
6060 2014-10-30 Roland McGrath <roland@hack.frob.com>
6061
6062 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6063 (convert_charseq): New function, broken out of ...
6064 (use_from_charmap): ... here. Call it.
6065 (use_to_charmap): Use convert_charseq and free instead of duplicating
6066 its code with a variable-length stack struct.
6067
6068 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6069
6070 * include/fcntl.h (__libc_creat): Remove declaration.
6071 * io/creat.c (__libc_creat): Rename to creat.
6072 (creat): Do not define as alias.
6073 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6074 of creat instead of __libc_creat.
6075 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6076 to creat.
6077 (creat): Do not define as alias.
6078 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6079 __libc_creat.
6080 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6081 __libc_creat name.
6082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6083 Likewise.
6084
6085 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6086
6087 * manual/llio.texi: Add comments discussing why write() may be
6088 considered MT-unsafe on Linux.
6089
6090 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6091
6092 * dl-load.c (local_strdup): Remove.
6093 (expand_dynamic_string_token): Use __strdup.
6094 (decompose_rpath): Likewise.
6095 (_dl_map_object): Likewise.
6096
6097 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6098
6099 [BZ #14132]
6100 * sysdeps/generic/unwind-dw2-fde.c
6101 (__register_frame_info_bases_internal): Do not declare.
6102 (__register_frame_info_table_bases_internal): Likewise.
6103 (__deregister_frame_info_bases_internal): Likewise.
6104 (__register_frame_info_bases): Declare and use hidden_proto before
6105 definition. Use hidden_def instead of INTDEF.
6106 (__register_frame_info_table_bases): Likewise.
6107 (__deregister_frame_info_bases): Likewise.
6108 (__register_frame_info): Do not use INTUSE.
6109 (__register_frame): Likewise.
6110 (__register_frame_info_table): Likewise.
6111 (__register_frame_table): Likewise.
6112 (__deregister_frame_info): Likewise.
6113 (__deregister_frame): Likewise.
6114
6115 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6116
6117 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6118 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6119 not undefine.
6120 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6121 Likewise.
6122 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6123 Likewise.
6124
6125 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6126
6127 [BZ #14138]
6128 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6129 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6130 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6131 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6132 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6133 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6134 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6135 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6136 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6137 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6138 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6139 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6140 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6141 syscall.
6142 (setfsuid): Likewise.
6143 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6144 (setfsuid): Likewise.
6145 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6146 (setfsuid): Likewise.
6147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6148 Likewise.
6149 (setfsuid): Likewise.
6150 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6151 (setfsuid): Likewise.
6152 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6153 Likewise.
6154 (setfsuid): Likewise.
6155
6156 2014-10-27 Andreas Schwab <schwab@suse.de>
6157
6158 [BZ #17501]
6159 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6160 check for Slow_SSE4_2 feature bit.
6161 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6162 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6163 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6164 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6165
6166 2014-10-24 Roland McGrath <roland@hack.frob.com>
6167
6168 * configure.ac: Validate compiler version with a empirical test of
6169 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6170 $CC -v output.
6171 * configure: Regenerated.
6172
6173 * inet/htons.c (htons): Prototypify.
6174 * inet/htonl.c (htonl): Likewise.
6175
6176 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6177
6178 * string/strncat.c (strncat): Improve performance by using strlen.
6179
6180 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6181
6182 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6183
6184 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6185
6186 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6187 Call libc_fetestexcept_aarch64.
6188
6189 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6190
6191 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6192 Call libc_feholdexcept_aarch64.
6193
6194 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6195
6196 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6197 Call get_rounding_mode.
6198
6199 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6200
6201 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6202 Simplify logic.
6203
6204 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6205
6206 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6207 Simplify logic.
6208
6209 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6210
6211 [BZ #14138]
6212 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6213 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6214 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6215 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6216 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6217 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6218 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6219 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6220 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6221 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6222 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6223 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6224 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6225 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6226 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6227 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6228 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6229 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6230 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6231 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6232 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6233 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6234 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6235 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6236 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6237 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6238 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6239 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6240 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6241 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6242 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6243 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6244 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6245 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6246 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6247 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6248 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6249 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6250 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6251 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6252 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6253 syscall.
6254 (geteuid): Likewise.
6255 (getgid): Likewise.
6256 (getuid): Likewise.
6257 (getresgid): Likewise.
6258 (getresuid): Likewise.
6259 (getgroups): Likewise.
6260 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6261 (geteuid): Likewise.
6262 (getgid): Likewise.
6263 (getuid): Likewise.
6264 (getresgid): Likewise.
6265 (getresuid): Likewise.
6266 (getgroups): Likewise.
6267 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6268 (geteuid): Likewise.
6269 (getgid): Likewise.
6270 (getuid): Likewise.
6271 (getresgid): Likewise.
6272 (getresuid): Likewise.
6273 (getgroups): Likewise.
6274 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6275 Likewise.
6276 (geteuid): Likewise.
6277 (getgid): Likewise.
6278 (getuid): Likewise.
6279 (getresgid): Likewise.
6280 (getresuid): Likewise.
6281 (getgroups): Likewise.
6282 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6283 (geteuid): Likewise.
6284 (getgid): Likewise.
6285 (getuid): Likewise.
6286 (getresgid): Likewise.
6287 (getresuid): Likewise.
6288 (getgroups): Likewise.
6289 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6290 Likewise.
6291 (geteuid): Likewise.
6292 (getgid): Likewise.
6293 (getuid): Likewise.
6294 (getgroups): Likewise.
6295
6296 [BZ #14138]
6297 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6298 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6299 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6300 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6301 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6302 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6303 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6304 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6305 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6306 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6307 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6308 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6309 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6310 __chown.
6311 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6312 (lchown): Likewise.
6313 (fchown): Likewise.
6314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6315 Likewise.
6316 (lchown): Likewise.
6317 (fchown): Likewise.
6318 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6319 (lchown): Likewise.
6320 (fchown): Likewise.
6321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6322 Likewise.
6323 (lchown): Likewise.
6324 (fchown): Likewise.
6325
6326 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6327
6328 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6329 Simplify logic.
6330
6331 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6332
6333 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6334 Cleanup logic.
6335
6336 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6337
6338 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6339 Remove unused include.
6340
6341 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6342
6343 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6344 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6345 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6346 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6347
6348 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6349 Helge Deller <deller@gmx.de>
6350
6351 [BZ #17508]
6352 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6353 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6354 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6355
6356 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6357
6358 [BZ #14132]
6359 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6360 Remove macro definition.
6361 (__ashrdi3_v_glibc20): Likewise.
6362 (__lshrdi3_v_glibc20): Likewise.
6363 (__cmpdi2_v_glibc20): Likewise.
6364 (__ucmpdi2_v_glibc20): Likewise.
6365 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6366 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6367 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6368 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6369 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6370 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6371
6372 2014-10-22 Roland McGrath <roland@hack.frob.com>
6373
6374 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6375 old GNU extension [0] syntax.
6376 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6377 alloca rather than an array member with variable length.
6378 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6379 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6380 (parse_opt): ... here. Likewise use alloca there.
6381 Validate the -i argument before checking for rootness.
6382 (send_shutdown): New function, broken out of ...
6383 (parse_opt): ... here.
6384
6385 2014-10-22 Roland McGrath <roland@hack.frob.com>
6386
6387 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6388 macro to get at the _rt_local_ro field.
6389 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6390 ([PIC] case) or _dl_hwcap ([!PIC] case).
6391 * sysdeps/arm/setjmp.S: Likewise.
6392
6393 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6394 * sysdeps/arm/configure.ac: New check to define it.
6395 * sysdeps/arm/configure: Regenerated.
6396 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6397 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6398 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6399 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6400 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6401 Use move/movt pair instead of a load.
6402 (LDST_GLOBAL): Macro removed.
6403 (LDR_GLOBAL): New macro replaces it.
6404 (LDR_HIDDEN): New macro.
6405 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6406 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6407
6408 * setjmp/tst-setjmp-static.c: New file.
6409 * setjmp/Makefile (tests): Add it.
6410 (tests-static): New variable.
6411
6412 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6413
6414 [BZ #17485]
6415 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6416
6417 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6418
6419 [BZ #14132]
6420 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6421
6422 2014-10-21 Roland McGrath <roland@hack.frob.com>
6423
6424 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6425
6426 2014-10-20 Roland McGrath <roland@hack.frob.com>
6427
6428 * io/fts.c (dirent_not_directory): New function.
6429 (fts_build): Call it.
6430
6431 2014-10-20 Roland McGrath <roland@hack.frob.com>
6432
6433 * nptl/version.c (__nptl_main): Use normal __write rather than
6434 INTERNAL_SYSCALL.
6435 (banner): Update copyright years.
6436
6437 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6438 gettimeofday.
6439 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6440 * nptl/pthread_cond_timedwait.c: Likewise.
6441 * nptl/pthread_mutex_timedlock.c: Likewise.
6442 * nptl/sem_timedwait.c: Likewise.
6443
6444 * sysdeps/nptl/bits/libc-lock.h
6445 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6446 (__libc_lock_init_recursive): Return void, not 0.
6447 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6448 (__libc_rwlock_init): Likewise.
6449 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6450
6451 2014-10-20 Torvald Riegel <triegel@redhat.com>
6452
6453 [BZ #15215]
6454 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6455 (__pthread_once_slow): ... here.
6456 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6457 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6458
6459 2014-10-20 Torvald Riegel <triegel@redhat.com>
6460
6461 [BZ #15215]
6462 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6463 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6464 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6465 * nptl/pthread_once.c (__pthread_once): Likewise.
6466 Update comments.
6467
6468 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6469
6470 [BZ #14138]
6471 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6472 name.
6473 (writev): Use __libc_writev as strong name.
6474 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6475 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6476
6477 2014-10-17 Roland McGrath <roland@hack.frob.com>
6478
6479 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6480
6481 * sysdeps/i386/nptl/tls.h
6482 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6483 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6484 New macros.
6485 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6486 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6487 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6488 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6489 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6490 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6491
6492 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6493 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6494 on [__NR_futex].
6495 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6496 broken out of ...
6497 (__pthread_mutex_init): ... here. Call it.
6498 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6499 Conditionalize PI cases on [__NR_futex].
6500 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6501 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6502 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6503
6504 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6505 conditional on [SIGSETXID].
6506 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6507 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6508 is defined. Likewise for SIGSETXID.
6509 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6510 Conditionalize definitions on [SIGSETXID].
6511 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6512 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6513 unblocking on [SIGCANCEL].
6514
6515 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6516 [__NR_set_robust_list].
6517
6518 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6519
6520 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6521 (do_compare): Likewise.
6522
6523 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6524
6525 [BZ #15884]
6526 * string/strcoll_l.c: Don't include stdio.h.
6527 (coll_seq): Remove members idxarr and rulearr.
6528 (get_next_seq_cached): Remove function.
6529 (get_next_seq): Likewise.
6530 (get_next_seq_nocache): Rename to get_next_seq.
6531 (do_compare): Remove function.
6532 (do_compare_nocache): Rename to do_compare.
6533 (STRCOLL): Remove weight and rules cache.
6534
6535 2014-10-16 Roland McGrath <roland@hack.frob.com>
6536
6537 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6538 * sysdeps/arm/sfp-machine.h: ... to here.
6539 * sysdeps/arm/Implies: Remove arm/soft-fp.
6540
6541 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6542
6543 * conform/data/sys/utsname.h-data (*_t): Allow.
6544 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6545 [POSIX] (WEXITED): Do not expect constant.
6546 [POSIX] (WSTOPPED): Likewise.
6547 [POSIX] (WNOHANG): Likewise.
6548 [POSIX] (WNOWAIT): Likewise.
6549 [POSIX] (siginfo_t): Do not expect type or elements.
6550 [POSIX] (pid_t): Do not expect type.
6551 [POSIX] (signal.h): Do not allow header.
6552 [POSIX] (sys/resource.h): Likewise.
6553 [POSIX] (si_*): Do not allow pattern.
6554 [POSIX] (W*): Likewise.
6555 [POSIX] (P_*): Likewise.
6556 [POSIX] (BUS_*): Likewise.
6557 [POSIX] (CLD_*): Likewise.
6558 [POSIX] (FPE_*): Likewise.
6559 [POSIX] (ILL_*): Likewise.
6560 [POSIX] (POLL_*): Likewise.
6561 [POSIX] (SEGV_*): Likewise.
6562 [POSIX] (SI_*): Likewise.
6563 [POSIX] (TRAP_*): Likewise.
6564 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6565 variable.
6566
6567 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6568
6569 [BZ #12926]
6570 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6571 infinite loop when __recvmsg returns 0.
6572
6573 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6574
6575 * CANCEL-FCT-WAIVE: Remove file.
6576 * CANCEL-FILE-WAIVE: Likewise.
6577
6578 [BZ #14132]
6579 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6580 instead of INTVARDEF.
6581 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6582 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6583 rtld_hidden_data_def instead of INTVARDEF.
6584 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6585 * elf/dl-deps.c (expand_dst): Likewise.
6586 * elf/dl-load.c (_dl_dst_count): Likewise.
6587 (_dl_dst_substitute): Likewise.
6588 (decompose_rpath): Likewise.
6589 (_dl_init_paths): Likewise.
6590 (open_path): Likewise.
6591 (_dl_map_object): Likewise.
6592 * elf/rtld.c (dl_main): Likewise.
6593 (process_dl_audit): Likewise.
6594 (process_envvars): Likewise.
6595 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6596 Remove declaration.
6597 (__libc_enable_secure): Use rtld_hidden_proto.
6598
6599 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6600
6601 * elf/dl-load.c
6602 (add_path): New function broken out of _dl_rtld_di_serinfo.
6603 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6604
6605 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6606
6607 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6608 parentheses around macro arguments.
6609 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6610 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6611 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6612 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6613 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6614 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6615 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6616 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6617 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6618 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6619 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6620 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6621 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6622 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6623 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6624 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6625 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6626 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6627 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6628 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6629 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6630 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6631 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6632 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6633 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6634 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6635 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6636 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6637 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6638 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6639 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6640 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6641 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6642 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6643 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6644 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6645 Likewise.
6646 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6647 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6648 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6649 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6650 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6651 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6652 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6653 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6654 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6655 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6656 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6657 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6658 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6659 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6660 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6661 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6662 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6663 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6664 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6665 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6666 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6667 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6668 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6669 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6670 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6671 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6672 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6673 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6674 (_FP_FRAC_SRS_1): Likewise.
6675 (_FP_FRAC_CLZ_1): Likewise.
6676 (_FP_MUL_MEAT_1_imm): Likewise.
6677 (_FP_MUL_MEAT_1_wide): Likewise.
6678 (_FP_MUL_MEAT_1_hard): Likewise.
6679 (_FP_SQRT_MEAT_1): Likewise.
6680 (_FP_FRAC_ASSEMBLE_1): Likewise.
6681 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6682 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6683 (__FP_CLZ_2): Likewise.
6684 (_FP_MUL_MEAT_2_wide): Likewise.
6685 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6686 (_FP_MUL_MEAT_2_gmp): Likewise.
6687 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6688 (_FP_SQRT_MEAT_2): Likewise.
6689 (_FP_FRAC_ASSEMBLE_2): Likewise.
6690 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6691 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6692 (_FP_FRAC_CLZ_4): Likewise.
6693 (_FP_MUL_MEAT_4_wide): Likewise.
6694 (_FP_MUL_MEAT_4_gmp): Likewise.
6695 (_FP_SQRT_MEAT_4): Likewise.
6696 (_FP_FRAC_ASSEMBLE_4): Likewise.
6697 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6698 * soft-fp/op-common.h (_FP_CMP): Likewise.
6699 (_FP_CMP_EQ): Likewise.
6700 (_FP_CMP_UNORD): Likewise.
6701 (_FP_TO_INT): Likewise.
6702 (_FP_FROM_INT): Likewise.
6703 [!__FP_CLZ] (__FP_CLZ): Likewise.
6704 (_FP_DIV_HELP_imm): Likewise.
6705 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6706 Likewise.
6707 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6708 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6709 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6710 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6711 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6712 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6713 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6714 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6715 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6716 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6717 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6718 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6719 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6720 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6721 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6722 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6723 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6724 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6725 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6726 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6727 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6728 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6729 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6730 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6731 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6732 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6733 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6734 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6736 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6737 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6738 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6739 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6740 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6741 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6742 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6743 (FP_UNPACK_RAW_SP): Likewise.
6744 (FP_PACK_RAW_S): Likewise.
6745 (FP_PACK_RAW_SP): Likewise.
6746 (FP_UNPACK_S): Likewise.
6747 (FP_UNPACK_SP): Likewise.
6748 (FP_UNPACK_SEMIRAW_S): Likewise.
6749 (FP_UNPACK_SEMIRAW_SP): Likewise.
6750 (FP_PACK_S): Likewise.
6751 (FP_PACK_SP): Likewise.
6752 (FP_PACK_SEMIRAW_S): Likewise.
6753 (FP_PACK_SEMIRAW_SP): Likewise.
6754 (_FP_SQRT_MEAT_S): Likewise.
6755 (FP_CMP_S): Likewise.
6756 (FP_CMP_EQ_S): Likewise.
6757 (FP_CMP_UNORD_S): Likewise.
6758 (FP_TO_INT_S): Likewise.
6759 (FP_FROM_INT_S): Likewise.
6760
6761 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6762
6763 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6764 (FP_EX_INVALID_IMZ): Likewise.
6765 (FP_EX_INVALID_IMZ_FMA): Likewise.
6766 (FP_EX_INVALID_ISI): Likewise.
6767 (FP_EX_INVALID_ZDZ): Likewise.
6768 (FP_EX_INVALID_IDI): Likewise.
6769 (FP_EX_INVALID_SQRT): Likewise.
6770 (FP_EX_INVALID_CVI): Likewise.
6771 (FP_EX_INVALID_VC): Likewise.
6772 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6773 "invalid" exceptions.
6774 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6775 (_FP_ADD_INTERNAL): Likewise.
6776 (_FP_MUL): Likewise.
6777 (_FP_FMA): Likewise.
6778 (_FP_DIV): Likewise.
6779 (_FP_CMP_CHECK_NAN): Likewise.
6780 (_FP_SQRT): Likewise.
6781 (_FP_TO_INT): Likewise.
6782 (FP_EXTEND): Likewise.
6783
6784 2014-10-09 Allan McRae <allan@archlinux.org>
6785
6786 * po/fr.po: Update French translation from translation project.
6787
6788 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6789
6790 [BZ #14132]
6791 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6792 of INTDEF.
6793 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6794 (__cxa_atexit): Use libc_hidden_proto.
6795 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6796
6797 [BZ #14132]
6798 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6799 declaration.
6800 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6801 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6802 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6803 [!_ISOMAC] (__iswctype_internal): Likewise.
6804 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6805 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6806 alias.
6807 (fcntl): Remove __fcntl_internal alias.
6808 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6809 __connect_internal alias.
6810 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6811 Likewise.
6812
6813 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6814 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6815 FP_DENORM_ZERO.
6816 (_FP_CHECK_FLUSH_ZERO): New macro.
6817 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6818 (_FP_CMP): Likewise.
6819 (_FP_CMP_EQ): Likewise.
6820 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6821 FP_DENORM_ZERO.
6822 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6823 (FP_TRUNC): Likewise.
6824
6825 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6826 treated as invalid conversion, not as normal exponent.
6827
6828 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6829 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6830 (_FP_CMP_EQ): Likewise.
6831 (_FP_CMP_UNORD): Likewise.
6832 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6833 (FP_CMP_EQ_D): Likewise.
6834 (FP_CMP_UNORD_D): Likewise.
6835 * soft-fp/extended.h (FP_CMP_E): Likewise.
6836 (FP_CMP_EQ_E): Likewise.
6837 (FP_CMP_UNORD_E): Likewise.
6838 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6839 (FP_CMP_EQ_Q): Likewise.
6840 (FP_CMP_UNORD_Q): Likewise.
6841 * soft-fp/single.h (FP_CMP_S): Likewise.
6842 (FP_CMP_EQ_S): Likewise.
6843 (FP_CMP_UNORD_S): Likewise.
6844 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6845 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6846 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6847 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6848 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6849 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6850 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6851 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6852 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6853 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6854 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6855 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6856 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6857 to FP_CMP_Q.
6858 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6859 FP_CMP_Q.
6860 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6861 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6862 FP_CMP_EQ_Q.
6863 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6864 FP_CMP_Q.
6865 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6866 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6867 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6868 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6869 FP_CMP_EQ_Q.
6870 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6871 FP_CMP_Q.
6872 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6873 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6874 FP_CMP_EQ_Q.
6875 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6876 FP_CMP_Q.
6877 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6878 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6879 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6880 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6881 FP_CMP_EQ_Q.
6882
6883 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6884 a subnormal result, set the underflow exception if trapping on
6885 underflow is enabled.
6886 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6887 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6888 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6889 redefine to 0.
6890 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6891 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6892 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6893 * soft-fp/extendxftf2.c (__extendxftf2): Use
6894 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6895
6896 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6897 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6898 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6899 FP_HANDLE_EXCEPTIONS.
6900 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6901 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6902 FP_HANDLE_EXCEPTIONS.
6903 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6904 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6905 FP_HANDLE_EXCEPTIONS.
6906 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6907 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6908 FP_HANDLE_EXCEPTIONS.
6909
6910 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6911
6912 [BZ #14132]
6913 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6914 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6915 use INTUSE.
6916 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6917 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6918 Remove alias.
6919 (__adjtimex): Define using libc_hidden_ver.
6920 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6921 Remove declaration.
6922 (ntp_gettime): Call __adjtimex directly.
6923 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6924 Remove declaration.
6925 (ntp_gettimex): Call __adjtimex directly.
6926 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6927 __adjtimex_internal alias.
6928
6929 2014-10-08 Roland McGrath <roland@hack.frob.com>
6930
6931 [BZ #17460]
6932 * nscd/nscd.c (more_help): Rewrite list of tables collection
6933 using xstrdup and asprintf.
6934
6935 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6936
6937 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6938 Roland McGrath <roland@hack.frob.com>
6939
6940 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6941 (do_lookup_unique): ... local function 'enter' here; update callers.
6942
6943 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6944
6945 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6946 compat_symbol calls on [SHARED].
6947 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6948 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6949 Remove.
6950 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6951 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6952 (oldsetrlimit): Remove.
6953 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6955 (lchown): New syscall entry.
6956 (oldsetrlimit): Remove.
6957 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6958 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6959 (oldsetrlimit): Remove.
6960 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6961
6962 [BZ #14138]
6963 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6964 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6965 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6966 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6967 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6968 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6969 (fchown): Likewise.
6970 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6971 (fchown): Likewise.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6973 Likewise.
6974
6975 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6976
6977 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6978 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6979 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6980 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6981 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6982 Likewise.
6983 (__old_sem_post): Likewise.
6984
6985 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6986
6987 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6988 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6989 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6990 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6991 Use INLINE_VSYSCALL macro.
6992 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6993 __vdso_clock_gettime.
6994 * sysdeps/unix/sysv/linux/tile/init-first.c
6995 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6996 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6997 __vdso_clock_gettime.
6998
6999 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7000 to set up frame more cleanly.
7001
7002 * sysdeps/tile/memcmp.c: New file.
7003
7004 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7005
7006 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7007 * sysdeps/tile/tilegx/strcasestr.c: New file.
7008 * sysdeps/tile/tilegx/strnlen.c: New file.
7009 * sysdeps/tile/tilegx/strstr.c: New file.
7010
7011 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7012
7013 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7014
7015 * nptl/tst-setuid3.c: Write errors to stdout.
7016
7017 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7018
7019 * elf/dl-deps.c
7020 (preload): New functions broken out of _dl_map_object_deps.
7021 (_dl_map_object_deps): Remove a nested function. Update call sites.
7022
7023 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7024
7025 [BZ #14138]
7026 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7027 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7028
7029 2014-10-01 Steve Ellcey <sellcey@mips.com>
7030
7031 * sysdeps/mips/strcmp.S: New.
7032
7033 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7034
7035 [BZ #14138]
7036 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7037 (linkat): Likewise.
7038 (mkdirat): Likewise.
7039 (readlinkat): Likewise.
7040 (renameat): Likewise.
7041 (symlinkat): Likewise.
7042 (unlinkat): Likewise.
7043 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7044 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7045 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7046 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7047 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7048 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7049 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7050
7051 2014-09-30 Will Newton <will.newton@linaro.org>
7052
7053 * math/math.h: Define long double math functions if
7054 _LIBC_TEST is defined.
7055 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7056
7057 * localedata/Makefile: Move assignment to tests-special
7058 into an ifdef testing run-built-tests.
7059 * timezone/Makefile: Likewise.
7060
7061 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7062
7063 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7064 with $(BASH) not $(SHELL).
7065
7066 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7067 Matthew LeGendre <legendre1@llnl.gov>
7068
7069 [BZ #17411]
7070 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7071 l_reloc_result.
7072
7073 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7074
7075 * stdio-common/printf_fp.c
7076 (hack_digit): New function, broken out of ...
7077 (__printf_fp): ... local function here. Update call sites.
7078 hack_digit now takes an additional parameter that is a pointer
7079 to a struct of the referenced locals. Those locals moved inside
7080 the struct and references updated.
7081
7082 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7083
7084 * aclocal.m4: Require autoconf 2.69.
7085 * configure: Regenerated.
7086 * sysdeps/aarch64/configure: Likewise.
7087 * sysdeps/alpha/configure: Likewise.
7088 * sysdeps/arm/armv7/configure: Likewise.
7089 * sysdeps/arm/configure: Likewise.
7090 * sysdeps/ia64/configure: Likewise.
7091 * sysdeps/mach/configure: Likewise.
7092 * sysdeps/mips/configure: Likewise.
7093 * sysdeps/s390/configure: Likewise.
7094 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7096
7097 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7098 file.
7099 * sysdeps/ia64/configure.ac: Likewise.
7100
7101 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7102
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7104 specify symbol version for ld.so. Do not include entry for
7105 libpthread.
7106 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7107 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7108 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7109
7110 [BZ #14171]
7111 * Makeconfig [$(build-shared) = yes]
7112 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7113 makefiles.
7114 [$(build-shared) = yes && $(soversions.mk-done) = t]
7115 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7116 [$(build-shared) = yes && $(soversions.mk-done) = t]
7117 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7118 to Makerules.
7119 [$(build-shared) = yes && $(soversions.mk-done) = t]
7120 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7121 here.
7122 [$(build-shared) = yes && $(soversions.mk-done) = t]
7123 (common-generated): Don't append gnu/lib-names.h and
7124 gnu/lib-names.stmp here.
7125 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7126 (lib-names-h-abi): New variable.
7127 [$(build-shared) = yes && $(soversions.mk-done) = t]
7128 (lib-names-stmp-abi): Likewise.
7129 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7130 abi-variants] (before-compile): Append
7131 $(common-objpfx)$(lib-names-h-abi).
7132 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7133 abi-variants] (common-generated): Append gnu/lib-names.h.
7134 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7135 abi-variants] (install-others-nosubdir): Depend on
7136 $(inst_includedir)/$(lib-names-h-abi).
7137 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7138 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7139 [$(build-shared) = yes && $(soversions.mk-done) = t]
7140 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7141 [$(build-shared) = yes && $(soversions.mk-done) = t]
7142 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7143 [$(build-shared) = yes && $(soversions.mk-done) = t]
7144 (common-generated): Append $(lib-names-h-abi) and
7145 $(lib-names-stmp-abi).
7146 * scripts/lib-names.awk: Do not handle multi being set.
7147 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7148 Remove variable.
7149 (abi-lp64_be-ld-soname): Likewise.
7150 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7151 Likewise.
7152 (abi-hard-ld-soname): Likewise.
7153 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7154 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7155 Remove variable.
7156 (abi-o32_hard-ld-soname): Likewise.
7157 (abi-o32_soft_2008-ld-soname): Likewise.
7158 (abi-o32_hard_2008-ld-soname): Likewise.
7159 (abi-n32_soft-ld-soname): Likewise.
7160 (abi-n32_hard-ld-soname): Likewise.
7161 (abi-n32_soft_2008-ld-soname): Likewise.
7162 (abi-n32_hard_2008-ld-soname): Likewise.
7163 (abi-n64_soft-ld-soname): Likewise.
7164 (abi-n64_hard-ld-soname): Likewise.
7165 (abi-n64_soft_2008-ld-soname): Likewise.
7166 (abi-n64_hard_2008-ld-soname): Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7168 Likewise.
7169 (abi-64-v2-ld-soname): Likewise.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7171 ld.so entries.
7172 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7173 variable.
7174 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7175 entry.
7176 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7177 variable.
7178 (abi-64-ld-soname): Likewise.
7179 (abi-x32-ld-soname): Likewise.
7180 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7181 entry.
7182 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7183
7184 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7185
7186 [BZ #14138]
7187 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7188 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7189 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7190 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7191 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7192 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7193 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7194 syscall entry for GLIBC_2.2 symbol version.
7195 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7196 Likewise.
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7198 (setrlimit): Likewise.
7199 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7200 Likewise.
7201
7202 2014-09-23 Will Newton <will.newton@linaro.org>
7203
7204 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7205 _LINUX_ARM_SYSDEP_H include guard too.
7206 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7207 define.
7208
7209 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7210
7211 * sysdeps/unix/sysv/linux/eventfd.c:
7212 Make first argument unsigned.
7213 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7214 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7215
7216 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7217
7218 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7219 * socket/sys/socket.h: Likewise
7220 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7221
7222 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7223
7224 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7225
7226 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7227
7228 * time/tst-ftime.c: New test.
7229 * time/Makefile (tests): Add tst-ftime.
7230
7231 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7232
7233 * soft-fp/extended.h: Fix comment formatting.
7234 * soft-fp/op-1.h: Likewise.
7235 * soft-fp/op-2.h: Likewise.
7236 * soft-fp/op-4.h: Likewise.
7237 * soft-fp/op-8.h: Likewise.
7238 * soft-fp/op-common.h: Likewise.
7239 * soft-fp/soft-fp.h: Likewise.
7240
7241 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7242
7243 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7244
7245 [BZ #6652]
7246 * Makeconfig (soversions-default-setname): Remove variable.
7247 ($(common-objpfx)soversions.i): Don't pass default_setname to
7248 soversions.awk.
7249 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7250 oldest_abi to abi-versions.awk.
7251 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7252 * config.make.in (oldest-abi): Remove variable.
7253 * configure.ac (--enable-oldest-abi): Remove configure option.
7254 * configure: Regenerated.
7255 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7256 text.
7257 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7258 * scripts/soversions.awk: Do not handle default_setname variable.
7259 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7260 variable.
7261 * sysdeps/mach/hurd/configure: Regenerated.
7262 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7263 variable.
7264 * sysdeps/unix/sysv/linux/configure: Regenerated.
7265
7266 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7267
7268 * elf/Makefile (CFLAGS-interp.c): Remove.
7269 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7270 path string.
7271 * elf/interp.c: Include generated runtime-linker.h
7272
7273 * Makerules (lib%.so): Don't include $(+interp) in
7274 prerequisites.
7275 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7276 * dlfcn/eval.c: Remove file.
7277
7278 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7279 macros.
7280
7281 [BZ #17266]
7282 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7283 4.2 and newer.
7284
7285 [BZ #17370]
7286 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7287
7288 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7289 Jakub Jelinek <jakub@redhat.com>
7290
7291 [BZ #17266]
7292 * libio/stdio.h: Check definition of __fortify_function
7293 instead of __extern_always_inline to include bits/stdio2.h.
7294 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7295 check if __extern_always_inline is defined.
7296 [__USE_MISC || __USE_XOPEN]: Likewise.
7297 [__USE_ISOC99] Likewise.
7298 * misc/sys/cdefs.h (__fortify_function): Define only if
7299 __extern_always_inline is defined.
7300 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7301 __extern_always_inline and __extern_inline only for g++-4.3
7302 and newer or a compatible gcc.
7303
7304 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7305
7306 [BZ #17371]
7307 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7308 last change to handle zero prefix length.
7309
7310 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7311
7312 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7313 _SC_REGEX_VERSION.
7314
7315 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7316 _POSIX_RAW_SOCKETS.
7317
7318 2014-09-13 Allan McRae <allan@archlinux.org>
7319
7320 * po/ru.po: Update Russian translation from translation project.
7321
7322 2014-09-12 Roland McGrath <roland@hack.frob.com>
7323
7324 * locale/programs/locale.c (show_locale_vars): Inline local function
7325 into its sole call site. Clean up some style nits.
7326 (print_item): New function, broken out of ...
7327 (show_info): ... local function here. Clean up style nits.
7328
7329 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7330 out of ...
7331 (set_class_defaults): ... local function set_default here.
7332 Define set_default as a macro locally to pass constant parameters.
7333 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7334 rather than a shared local.
7335
7336 * stdlib/rpmatch.c (try): New function, broken out of ...
7337 (rpmatch): ... local function here. Also, prototypify definition.
7338
7339 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7340
7341 * scripts/soversions.awk: Do not handle configuration names.
7342 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7343 vendor and os variables to soversions.awk.
7344 * configure.ac: Do not modify gnu-* host_os.
7345 * configure: Regenerated
7346 * shlib-versions: Remove first column with configuration names.
7347 * nptl/shlib-versions: Likewise.
7348 * nptl_db/shlib-versions: Likewise.
7349 * sysdeps/hppa/shlib-versions: Likewise.
7350 * sysdeps/m68k/shlib-versions: Likewise.
7351 * sysdeps/mach/hurd/shlib-versions: Likewise.
7352 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7353 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7354 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7355 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7356 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7357 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7358 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7359 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7361 Likewise.
7362 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7363 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7364 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7365 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7367 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7368 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7369 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7370
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7372 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7374 Regenerated.
7375 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7377 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7378
7379 * shlib-versions: Remove OS-specific entries. Moved to files in
7380 sysdeps.
7381 * sysdeps/mach/hurd/shlib-versions: New file.
7382 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7383
7384 * nptl/shlib-versions: Remove architecture-specific entries.
7385 Moved to files in sysdeps.
7386 * shlib-versions: Likewise.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7388 file.
7389 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7390 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7391 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7393
7394 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7395 (UDP_NO_CHECK6_RX): Likewise.
7396
7397 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7398
7399 * sysdeps/posix/sysconf.c (__sysconf): Spell
7400 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7401
7402 2014-08-12 Florian Weimer <fweimer@redhat.com>
7403
7404 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7405 loading.
7406 * iconv/Versions (__gconv_transliterate): Export for use from
7407 gconv modules.
7408 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7409 (struct __gconv_trans_data, __gconv_trans_fct,
7410 __gconv_trans_context_fct, __gconv_trans_query_fct,
7411 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7412 definitions.
7413 (struct __gconv_step_data): Remove __trans member.
7414 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7415 longer hidden. Remove unused trans_data argument.
7416 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7417 (__gconv_translit_find): Remove declaration.
7418 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7419 prototype.
7420 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7421 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7422 trans_data argument. Add hidden definition.
7423 (__gconv_translit_find): Remove.
7424 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7425 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7426 * iconv/skeleton.c: Remove transliteration initialization.
7427 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7428 __gconv_step_data initialization.
7429 * libio/iofwide.c (__libio_translit_): Remove.
7430 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7431 * wcsmbs/btowc.c (__btowc): Likewise.
7432 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7433 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7434 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7435 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7436 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7437 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7438 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7439 * wcsmbs/wctob.c (wctob): Likewise.
7440
7441 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7442
7443 [BZ #16194]
7444 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7445 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7446 register usage.
7447 * sysdeps/x86/Makefile: Adjust.
7448
7449 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7450 Roland McGrath <roland@hack.frob.com>
7451
7452 * locale/weight.h: Add include guard.
7453 (findidx): Make static rather than auto; take new parameters
7454 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7455 * locale/weightwc.h: Likewise.
7456 * posix/fnmatch_loop.c
7457 (FCT): Change type of EXTRA from int32_t to wint_t.
7458 Don't include either header inside the function.
7459 Call FINDIDX rather than findidx, and pass new arguments.
7460 #undef FINDIDX at the end of the file.
7461 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7462 FINDIDX before including fnmatch_loop.c for the non-wide version.
7463 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7464 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7465 for the wide version.
7466 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7467 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7468 Pass new arguments to findidx.
7469 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7470 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7471 Don't #include it inside the function. Pass new arguments to findidx.
7472 * posix/regex_internal.h
7473 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7474 (re_string_elem_size_at): Don't #include it inside the function.
7475 Pass new arguments to findidx.
7476 * string/strcoll_l.c: #include WEIGHT_H at top level.
7477 (get_next_seq): Don't #include it inside the function.
7478 Pass new arguments to findidx.
7479 (get_next_seq_nocache): Likewise.
7480 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7481 (STRXFRM): Don't #include it inside the function.
7482 Pass new arguments to findidx.
7483
7484 2014-09-11 Florian Weimer <fweimer@redhat.com>
7485
7486 [BZ #17344]
7487 * malloc/malloc.c (unlink): Turn asserts into a call to
7488 malloc_printerr.
7489
7490 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7491
7492 [BZ #17370]
7493 * libio/wfileops (do_ftell_wide): Free OUT.
7494
7495 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7496
7497 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7498
7499 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7500
7501 [BZ #17363]
7502 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7503 group if the current group is empty.
7504
7505 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7506
7507 * benchtests/bench-memset.c (test_main): Add more test from size
7508 from 32 to 512 bytes.
7509 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7510 Add POWER8 memset object.
7511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7512 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7513 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7514 implementation.
7515 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7516 Likewise.
7517 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7518 multiarch POWER8 memset optimization.
7519 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7520 POWER8 memset optimization.
7521
7522 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7523 Remove bzero multiarch objects.
7524 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7525 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7526 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7527 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7528 Remove define.
7529 [__bzero]: Redefine to specific name.
7530 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7531 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7532 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7533 define.
7534 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7535 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7536
7537 2014-09-10 Florian Weimer <fweimer@redhat.com>
7538
7539 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7540 warnings into errors.
7541
7542 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7543 __cxa_thread_atexit_impl prototype.
7544
7545 2014-09-09 Steve Ellcey <sellcey@mips.com>
7546
7547 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7548 Fix capitalization of error message.
7549
7550 2014-09-09 Steve Ellcey <sellcey@mips.com>
7551
7552 * sysdeps/mips/preconfigure: Modify ABI tests.
7553
7554 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7555
7556 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7557
7558 2014-09-07 Roland McGrath <roland@hack.frob.com>
7559 Carlos O'Donell <carlos@systemhalted.org>
7560
7561 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7562 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7563 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7564 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7565 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7566 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7567 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7568 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7569 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7570 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7571 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7572 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7573 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7574 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7575 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7576 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7577 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7578 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7579 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7580 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7581 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7582 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7583 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7584 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7585 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7586 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7587 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7588 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7589 Deconditionalize the code that was previously under [RESET_PID].
7590 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7591 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7592 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7593 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7594 include sysdep.h.
7595
7596 2014-09-08 Allan McRae <allan@archlinux.org>
7597
7598 * version.h (RELEASE): Set to "development".
7599 (VERSION): Set to "2.20.90"
7600
7601 2014-09-07 Allan McRae <allan@archlinux.org
7602
7603 * version.h (RELEASE): Set to "stable".
7604 (VERSION): Set to "2.20"
7605 * include/features.h (__GLIBC_MINOR__): Set to 20.
7606
7607 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7608 Liebler.
7609
7610 * po/ko.po: Update Korean translation from translation project.
7611
7612 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7613
7614 [BZ #17354]
7615 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7616 macro for handling signed relocations.
7617
7618 2014-09-03 Florian Weimer <fweimer@redhat.com>
7619
7620 [BZ #17325]
7621 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7622 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7623 assert.
7624 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7625 * iconvdata/ibm935.c (BODY): Likewise.
7626 * iconvdata/ibm937.c (BODY): Likewise.
7627 * iconvdata/ibm939.c (BODY): Likewise.
7628 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7629 assert.
7630 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7631 script.
7632 * iconvdata/run-iconv-test.sh: New test loop for checking for
7633 decoder crashers.
7634
7635 2014-09-02 Khem Raj <raj.khem@gmail.com>
7636
7637 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7638 libm_hidden_ver.
7639
7640 2014-09-01 Allan McRae <allan@archlinux.org>
7641
7642 * po/eo.po: Update Esperanto translation from translation project.
7643
7644 * po/ca.po: Update Catalan translation from translation project.
7645
7646 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7647
7648 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7649 __proc_dostop call.
7650
7651 2014-08-27 Mark Wielaard <mjw@redhat.com>
7652
7653 [BZ #17319]
7654 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7655 to call set_thread_area instead of hand written asm.
7656 (__NR_set_thread_area): Removed define.
7657 (TLS_FLAG_WRITABLE): Likewise.
7658 (__ASSUME_SET_THREAD_AREA): Remove check.
7659 (TLS_EBX_ARG): Remove define.
7660 (TLS_LOAD_EBX): Likewise.
7661
7662 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7663
7664 Simplify atomicity of socket creation in bind.
7665
7666 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7667 looking up the name after linking the file.
7668
7669 2014-08-27 Allan McRae <allan@archlinux.org>
7670
7671 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7672
7673 2014-08-26 Florian Weimer <fweimer@redhat.com>
7674
7675 [BZ #17187]
7676 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7677 trans_compare, open_translit, __gconv_translit_find):
7678 Remove module loading code.
7679
7680 2014-08-26 Allan McRae <allan@archlinux.org>
7681
7682 * po/vi.po: Update Vietnamese translation from translation project.
7683
7684 * po/uk.po: Update Ukrainian translation from translation project.
7685
7686 * po/fr.po: Update French translation from translation project.
7687
7688 * po/ru.po: Update Russian translation from translation project.
7689
7690 * po/pl.po: Update Polish translation from translation project.
7691
7692 * po/cs.po: Update Czech translation from translation project.
7693
7694 * po/de.po: Update German translation from translation project.
7695
7696 * po/bg.po: Update Bulgarian translation from translation project.
7697
7698 * po/sv.po: Update Sweedish translation from translation project.
7699
7700 * po/nl.po: Update Dutch translation from translation project.
7701
7702 * po/es.po: Update Spanish translation from translation project.
7703
7704 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7705
7706 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7707
7708 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7709 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7710 (CPPFLAGS-iconvconfig): Likewise.
7711 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7712
7713 * include/libc-symbols.h: Remove unnecessary check for
7714 NOT_IN_libc.
7715 * nptl/pthreadP.h: Likewise.
7716 * sysdeps/aarch64/setjmp.S: Likewise.
7717 * sysdeps/alpha/setjmp.S: Likewise.
7718 * sysdeps/arm/sysdep.h: Likewise.
7719 * sysdeps/i386/setjmp.S: Likewise.
7720 * sysdeps/m68k/setjmp.c: Likewise.
7721 * sysdeps/posix/getcwd.c: Likewise.
7722 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7723 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7724 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7725 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7726 * sysdeps/sh/sh3/setjmp.S: Likewise.
7727 * sysdeps/sh/sh4/setjmp.S: Likewise.
7728 * sysdeps/unix/alpha/sysdep.h: Likewise.
7729 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7730 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7731 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7732 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7735 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7737 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7740 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7742 * sysdeps/x86_64/setjmp.S: Likewise.
7743
7744 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7745
7746 [BZ #17263]
7747 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7748 <stdint.h>.
7749 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7750 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7751
7752 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7753
7754 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7755
7756 [BZ #17262]
7757 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7758 and __x86_64__ when disabling x87 inline functions.
7759
7760 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 [BZ #17259]
7763 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7764 asm statement with __cpuid_count.
7765
7766 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7767
7768 * configure.ac: Change __ehdr_start code to dereference the struct.
7769 Run readelf on the output to look for relocations.
7770 * configure: Regenerated.
7771
7772 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7773
7774 [BZ #17261]
7775 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7776 value to 0.
7777 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7778
7779 2014-08-12 Roland McGrath <roland@hack.frob.com>
7780
7781 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7782
7783 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7784
7785 [BZ #16892]
7786 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7787 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7788
7789 2014-08-12 Sean Anderson <seanga2@gmail.com>
7790
7791 * malloc/malloc.c: Fix typo in comment.
7792
7793 2014-08-09 Allan McRae <allan@archlinux.org>
7794
7795 * Regenerate libc.po.
7796
7797 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7798
7799 * intl/tst-gettext2.sh: Check every lang file for creation.
7800
7801 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7802
7803 * sysdeps/aarch64/fpu/math_private.h
7804 (libc_feholdsetround_noex_aarch64_ctx): New function.
7805
7806 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7807
7808 * sysdeps/arm/armv6/strcpy.S (strcpy):
7809 Fix performance issue in misaligned cases.
7810
7811 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7812
7813 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7814 Move definition from termios.h.
7815 (struct termio): Likewise.
7816 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7817 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7818 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7819 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7820 Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7822 Move definition to ioctl-types.h
7823 (struct termio): Likewise.
7824 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7825 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7826 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7827 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7828 Likewise.
7829
7830 2014-08-05 Richard Henderson <rth@redhat.com>
7831
7832 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7833 exceptions.
7834 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7835 Add fraiseexcpt.
7836 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7837 Use __feraiseexcept.
7838 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7839 Protect libm symbols with IS_IN_libm.
7840
7841 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7842
7843 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7844
7845 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7846
7847 2014-08-04 Will Newton <will.newton@linaro.org>
7848
7849 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7850 file.
7851
7852 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7853
7854 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7855 variants for each function.
7856
7857 2014-08-04 Roland McGrath <roland@hack.frob.com>
7858
7859 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7860 appended ...
7861 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7862 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7863 appended ...
7864 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7865 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7866 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7867 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7868 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7869 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7870 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7871 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7872 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7873 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7874 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7875 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7876 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7877 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7878 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7879 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7880 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7881 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7882 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7883 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7884 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7886 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7887 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7888 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7889 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7890 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7891 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7892 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7893 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7894 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7895 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7896 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7897 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7898 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7899 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7900 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7901 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7902 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7903 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7904 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7905 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7906 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7907 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7908 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7909 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7910 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7911 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7912 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7913 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7914 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7915 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7916 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7917 Update #include.
7918 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7919 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7920
7921 2014-08-04 Roland McGrath <roland@hack.frob.com>
7922
7923 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7924 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7925 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7926 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7927 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7928 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7929
7930 2014-08-04 Roland McGrath <roland@hack.frob.com>
7931
7932 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7933 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7934 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7935 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7936
7937 2014-08-04 Roland McGrath <roland@hack.frob.com>
7938
7939 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7940 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7941 (__libc_vfork): Define function under this name.
7942 (__vfork): Define as an alias.
7943 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7944 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7945
7946 2014-08-04 Roland McGrath <roland@hack.frob.com>
7947
7948 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7949 that was previously under [RESET_PID].
7950 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7951
7952 2014-08-04 Andreas Schwab <schwab@suse.de>
7953
7954 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7955
7956 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7957
7958 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7959 (main): Likewise.
7960
7961 2014-08-01 Roland McGrath <roland@hack.frob.com>
7962
7963 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7964
7965 2014-08-01 Richard Henderon <rth@redhat.com>
7966
7967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7968 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7969 typo in exact zero test.
7970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7971 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7973
7974 2014-08-01 Roland McGrath <roland@hack.frob.com>
7975
7976 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7977 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7978 * sysdeps/arm/sysdep.h: ... here.
7979 [!__ASSEMBLER__]: Include <stdint.h>.
7980
7981 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7982
7983 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7984 (HAVE_WCTYPE_H): Likewise.
7985 (HAVE_ISWCTYPE): Likewise.
7986 (ENABLE_NLS): Likewise.
7987 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7988 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7989
7990 * posix/regex_internal.c: Check if DEBUG is defined and is
7991 set.
7992
7993 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7994 (HAVE_MBSRTOWCS): Likewise.
7995 * posix/fnmatch.c: Include string.h unconditionally.
7996
7997 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7998
7999 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8000 reversal.
8001
8002 2014-07-31 Roland McGrath <roland@hack.frob.com>
8003
8004 * sysdeps/generic/safe-fatal.h: New file.
8005 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8006 * nptl/forward.c: Include it.
8007 (__pthread_unwind): Use __safe_fatal as default action, rather
8008 than a bogus use of INTERNAL_SYSCALL that could never work.
8009
8010 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8011 * configure.ac (libc_cv_builtin_trap): New test.
8012 * configure: Regenerated.
8013 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8014 (ABORT_INSTRUCTION): Define using __builtin_trap.
8015
8016 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8017 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8018 * sysdeps/nptl/nptl-signals.h: New file.
8019 * nptl/pthreadP.h: Include <nptl-signals.h>.
8020
8021 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8022
8023 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8024 (ONE_DIRECTION): Define.
8025 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8026 (ONE_DIRECTION): Define.
8027 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8028 (ONE_DIRECTION): Define.
8029
8030 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8031
8032 * sysdeps/s390/Makefile: Delete file.
8033 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8034 * sysdeps/s390/__longjmp.c: Delete file.
8035 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8036 Remove fields __flags and __reserved.
8037 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8038 and add versioning.
8039 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8040 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8041 * sysdeps/s390/rtld-setjmp.S: Likewise.
8042 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8043 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8044 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8045 * sysdeps/s390/s390-32/setjmp.S: ... here.
8046 Add versioning.
8047 (__sigsetjmp): Remove setting __flags field.
8048 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8049 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8050 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8051 * sysdeps/s390/s390-64/setjmp.S: ... here.
8052 Add versioning.
8053 (__sigsetjmp): Remove setting __flags field.
8054 * sysdeps/s390/setjmp.S: Delete file.
8055 * sysdeps/s390/sigjmp.c: Likewise.
8056 * sysdeps/s390/v1-longjmp.c: Likewise.
8057 * sysdeps/s390/v1-setjmp.h: Likewise.
8058 * sysdeps/s390/v1-sigjmp.c: Likewise.
8059 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8060 Remove v1-longjmp_chk.
8061 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8062 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8063 Include debug/longjmp_chk.c and add versioning.
8064 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8065 Include nptl/pt-longjmp.c and add versioning.
8066 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8067 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8068 Include __longjmp.c.
8069 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8070 Move to ...
8071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8072 (__getcontext): Remove setting __flags field.
8073 Add versioning.
8074 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8075 Don't restore upper high grps.
8076 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8077 Likewise.
8078 (__swapcontext): Remove setting uc_flags field.
8079 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8080 Delete file.
8081 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8082 Include __longjmp.c.
8083 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8084 Move to ...
8085 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8086 (__getcontext): Remove setting __flags field.
8087 Add versioning.
8088 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8089 (__swapcontext): Remove setting uc_flags field.
8090 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8091 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8092 Remove fields uc_high_gprs and __reserved.
8093 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8094 New file with reverted content.
8095 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8096 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8097 Regenerated.
8098 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8099 Regenerated.
8100
8101 2014-07-31 Andreas Schwab <schwab@suse.de>
8102
8103 * config.h.in (HAVE_IFUNC): Define to 0.
8104 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8105 definedness.
8106
8107 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8108
8109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8110 memmove-avx-unaligned, memcpy-avx-unaligned and
8111 mempcpy-avx-unaligned.
8112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8113 Add tests for AVX memcpy functions.
8114 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8115 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8116 memcpy_chk.
8117 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8118 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8119 memmove_chk.
8120 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8122 mempcpy_chk.
8123 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8124 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8125 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8126
8127 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8128
8129 [BZ #17213]
8130 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8131 powerpc64le.
8132
8133 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8134
8135 [BZ #16839]
8136 * manual/llio.texi: Add section about open file description locks.
8137 * manual/examples/ofdlocks.c: Example of open file description
8138 lock usage.
8139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8140 F_OFD_SETLK, and F_OFD_SETLKW.
8141
8142 2014-07-23 Allan McRae <allan@archlinux.org>
8143
8144 * po/es.po: Update Spanish translation from translation project.
8145
8146 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8147
8148 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8149
8150 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8151
8152 [BZ #17078]
8153 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8154 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8155 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8156
8157 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8158
8159 [BZ #17088]
8160 * math/fesetenv.c (__fesetenv)
8161 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8162 * math/feupdateenv.c (__feupdateenv)
8163 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8164
8165 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8166 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8167 (__ASSUME_SOCKETCALL): Do not define.
8168
8169 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8170 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8171 (__ASSUME_SOCKETCALL): Do not define.
8172 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8173 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8174 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8175 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8176 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8177 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8178 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8179 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8180
8181 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8182 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8183 (__ASSUME_SOCKETCALL): Do not define.
8184 (__ASSUME_IPC64): Define unconditionally.
8185 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8186 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8187 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8188 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8189 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8190 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8191 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8192 Likewise.
8193
8194 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8195 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8196 (__ASSUME_SOCKETCALL): Do not define.
8197 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8198 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8199 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8200 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8201 (__ASSUME_REQUEUE_PI): Define unconditionally.
8202 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8203 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8204 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8205 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8206 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8207 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8208
8209 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8210 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8211 (__ASSUME_SOCKETCALL): Do not define.
8212 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8213 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8214 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8215 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8216 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8217 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8218
8219 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8220 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8221 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8222 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8223 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8224 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8225 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8226 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8227 (__ASSUME_GETCPU_SYSCALL): Likewise.
8228
8229 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8230 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8231 cases for individual architectures.
8232 * sysdeps/gnu/configure: Regenerated.
8233 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8234 LIBC_SLIBDIR_RTLDDIR.
8235 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8236 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8237 LIBC_SLIBDIR_RTLDDIR.
8238 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8240 LIBC_SLIBDIR_RTLDDIR.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8242 Regenerated.
8243 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8244 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8245 file.
8246 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8247 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8248 file.
8249 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8250 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8251 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8252 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8253
8254 * sysdeps/aarch64/shlib-versions: Move to ...
8255 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8256 * sysdeps/alpha/shlib-versions: Move to ...
8257 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8258 * sysdeps/arm/shlib-versions: Move to ...
8259 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8260 * sysdeps/hppa/shlib-versions: Move all contents except for
8261 libgcc_s entry to ...
8262 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8263 entry from ...
8264 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8265 * sysdeps/ia64/shlib-versions: Move to ...
8266 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8267 entry from ...
8268 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8269 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8270 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8271 * sysdeps/microblaze/shlib-versions: Move to ...
8272 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8273 * sysdeps/mips/shlib-versions: Move to ...
8274 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8275 entry from ...
8276 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8277 * sysdeps/tile/shlib-versions: Move to ...
8278 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8279 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8280 from ...
8281 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8282 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8283 entry from ...
8284 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8285
8286 2014-07-17 Will Newton <will.newton@linaro.org>
8287
8288 * sysdeps/arm/bits/atomic.h
8289 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8290 (__arch_compare_and_exchange_bool_16_int): Likewise.
8291 (__arch_compare_and_exchange_bool_64_int): Likewise.
8292
8293 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8294 into an #else block.
8295
8296 2014-07-16 Roland McGrath <roland@hack.frob.com>
8297
8298 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8299 just Linux configurations. Test empirically that the compiler sets
8300 __ARM_EABI__, rather than using the tuple to decide.
8301 * sysdeps/arm/preconfigure: Regenerated.
8302 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8303 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8304 contents appended ...
8305 * sysdeps/arm/configure.ac: ... here.
8306 * sysdeps/arm/configure: Regenerated.
8307
8308 2014-07-15 Roland McGrath <roland@hack.frob.com>
8309
8310 * nptl/pthread_kill.c: New file.
8311 * nptl/pthread_sigmask.c: New file.
8312 * nptl/pthread_sigqueue.c: New file.
8313
8314 * sysdeps/nptl/lowlevellock.h: New file.
8315 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8316 * sysdeps/nptl/lowlevellock-futex.h: New file.
8317
8318 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8319 Remove dead declarations.
8320
8321 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8322
8323 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8324 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8325 config-cflags-avx2.
8326 * sysdeps/x86_64/configure.ac: Likewise.
8327 * sysdeps/i386/configure: Regenerated.
8328 * sysdeps/x86_64/configure: Likewise.
8329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8330 memset-avx2 only if config-cflags-avx2 is yes.
8331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8332 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8333 defined.
8334 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8335 only if HAVE_AVX2_SUPPORT is defined.
8336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8337
8338 2014-07-14 Alan Modra <amodra@gmail.com>
8339
8340 [BZ #17153]
8341 * elf/elf.h (DT_PPC64_NUM): Correct value.
8342 * NEWS: Add to fixed bug list.
8343
8344 2014-07-13 Jim Meyering <meyering@fb.com>
8345
8346 [BZ 17150]
8347 regex: don't deref NULL upon heap allocation failure
8348 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8349 failure in one more place.
8350 To trigger the segfault, configure grep -with-included-regex,
8351 build it, and run these commands:
8352 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8353
8354 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8355
8356 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8357
8358 2014-07-11 Richard Henderson <rth@redhat.com>
8359
8360 * sysdeps/aarch64/libm-test-ulps: Update.
8361
8362 2014-07-10 Florian Weimer <fweimer@redhat.com>
8363
8364 [BZ #17135]
8365 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8366 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8367 (__nptl_setxid): Initialize error member. Call
8368 __nptl_setxid_error.
8369 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8370 * nptl/descr.h (struct xid_command): Add error member.
8371 * nptl/tst-setuid3.c: New file.
8372 * nptl/Makefile (tests): Add it.
8373
8374 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8375
8376 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8377 New define.
8378 (__lll_trylock): Use __lll_base_trylock.
8379 (__lll_cond_trylock): Likewise.
8380
8381 2014-07-10 Roland McGrath <roland@hack.frob.com>
8382
8383 * nptl/pthread_create.c (start_thread): Use atomic_or and
8384 lll_futex_wake directly rather than lll_robust_dead.
8385 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8386 (lll_robust_dead): Macro removed.
8387 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8388 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8389 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8390 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8391 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8392 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8393 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8394 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8395 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8396 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8397 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8398 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8399 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8400 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8401 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8402
8403 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8404 Use atomic_compare_and_exchange_val_acq directly rather than
8405 lll_robust_trylock.
8406 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8407 (__lll_robust_trylock, lll_robust_trylock): Removed.
8408 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8409 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8410 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8411 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8412 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8413 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8414 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8415 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8416 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8417 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8418 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8419 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8420 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8421 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8422
8423 2014-07-02 Florian Weimer <fweimer@redhat.com>
8424
8425 * manual/locale.texi (Locale Names): New section documenting
8426 locale name syntax. Adjust menu and node chaining accordingly.
8427 (Choosing Locale): Reference Locale Names, Locale Categories.
8428 Mention setting LC_ALL=C. Reflect that name syntax is now
8429 documented.
8430 (Locale Categories): New section title. Reference Locale Names.
8431 LC_ALL is an environment variable, but not a category.
8432 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8433 description, now in Locale Name. Reference that section. Locale
8434 name syntax is now documented.
8435
8436 2014-07-02 Florian Weimer <fweimer@redhat.com>
8437
8438 [BZ #17137]
8439 * locale/findlocale.c (name_present, valid_locale_name): New
8440 functions.
8441 (_nl_find_locale): Use the loc_name variable to store name
8442 candidates. Call name_present and valid_locale_name to check and
8443 validate locale names. Return an error if the locale is invalid.
8444
8445 2014-07-02 Florian Weimer <fweimer@redhat.com>
8446
8447 * locale/setlocale.c (setlocale): Use strdup for allocating
8448 composite name copy.
8449
8450 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8451
8452 Sync up with gnulib.
8453 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8454 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8455 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8456 and _GL_ARG_NONNULL.
8457 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8458 [!_LIBC]: Include code for Windows and Cygwin.
8459 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8460 Include prototype for int strerror_r.
8461 [!_LIBC] (is_open): New function.
8462 (flush_stdout): New function.
8463 (print_errno_message): Use it.
8464 (error): Likewise.
8465 (error_at_line): Likewise.
8466 (error_tail) Add function attribute macros. Use
8467 __builtin_expect.
8468
8469 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8470
8471 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8472
8473 * io/ftw.c: Include sys/param.h unconditionally.
8474
8475 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8476
8477 [BZ #17125]
8478 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8479 libc_freeres_ptr.
8480 (freecache): New function to free CACHE on exit.
8481
8482 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8483 initialization.
8484
8485 2014-07-09 David S. Miller <davem@davemloft.net>
8486
8487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8488
8489 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8490 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8491 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8492 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8493 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8494 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8495 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8496 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8497 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8498 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8499 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8500 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8501 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8502
8503 2014-07-09 Andreas Schwab <schwab@suse.de>
8504
8505 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8506 output.
8507 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8508 (do_test): Likewise.
8509
8510 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8511
8512 2014-07-09 Will Newton <will.newton@linaro.org>
8513
8514 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8515 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8516 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8517 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8518 * sysdeps/hppa/start.S (_start): Likewise.
8519
8520 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8521
8522 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8523
8524 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8525 defined.
8526
8527 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8528
8529 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8530 after checking that it is non-NULL.
8531
8532 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8533
8534 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8535
8536 * sysdeps/powerpc/memmove.c: Remove file.
8537 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8538 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8539 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8540 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8541 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8542 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8543 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8544 string memmove instead of removed powerpc one.
8545
8546 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8547 [weak_alias]: Fix compiler warning due trailing data.
8548 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8549 [weak_alias]: Likewise.
8550 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8551 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8552
8553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8554 (__libc_ifunc_impl_list): Add memmove functions.
8555
8556 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8557
8558 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8559 Remove code.
8560 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8561 Likewise
8562 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8563 Likewise
8564 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8565 Likewise
8566 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8567 Likewise
8568 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8569 Likewise
8570 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8571 Likewise
8572 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8573 Likewise
8574 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8575 Likewise
8576 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8577 Likewise
8578 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8579 Likewise
8580 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8581 Likewise
8582 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8583 Likewise
8584 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8585 Likewise
8586 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8587 Likewise
8588 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8589 Likewise
8590 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8591 Likewise
8592
8593 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8594
8595 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8596 to avoid alignment traps in non-cacheable memory.
8597 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8598
8599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8600 multiarch objects.
8601 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8602 file: multiarch power7 memmove.
8603 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8604 multiarch default memmove.
8605 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8606 multiarch memove for powerpc32/power4.
8607
8608 * string/bcopy.c: Use full path to include memmove.c.
8609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8610 multiarch objects.
8611 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8612 bcopy for powerpc64.
8613 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8614 bcopy for powerpc64.
8615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8616 and memmove implementations.
8617 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8618 optimized multiarch memmove for POWER7/powerpc64.
8619 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8620 default multiarch memmove for powerpc64.
8621 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8622 multiarch for powerpc64.
8623 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8624 for POWER7/powerpc64.
8625 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8626 memmove for POWER7/powerpc64.
8627
8628 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8629 glibc default one.
8630
8631 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8632 __ELF_NATIVE_CLASS equal to 64.
8633
8634 2014-07-07 Roland McGrath <roland@hack.frob.com>
8635
8636 * sysdeps/nptl/lowlevellock.h: File removed.
8637
8638 * NEWS: NPTL is no longer an add-on!
8639 * nptl/internaltypes.h: Moved ...
8640 * sysdeps/nptl/internaltypes.h: ... here.
8641 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8642 * sysdeps/nptl/fork.c: Likewise.
8643 * sysdeps/nptl/gai_misc.h: Likewise.
8644 * sysdeps/nptl/librt-cancellation.c: Likewise.
8645 * sysdeps/nptl/jmp-unwind.c: Likewise.
8646 * sysdeps/nptl/setxid.h: Likewise.
8647 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8648 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8649 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8650 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8651 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8652 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8653 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8654 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8655 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8656 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8657 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8658 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8659 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8660 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8661 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8662 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8663 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8664 * nptl/Makeconfig: Moved ...
8665 * sysdeps/nptl/Makeconfig: ... here.
8666 * nptl/configure: File removed.
8667 * nptl/ANNOUNCE: File removed.
8668 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8669 * sysdeps/unix/sysv/linux/configure: Regenerated.
8670
8671 * nptl/Makefile (routines): Add libc_pthread_init,
8672 libc_multiple_threads, register-atfork and unregister-atfork.
8673 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8674 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8675 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8676 pthread-pi-defines.sym, structsem.sym.
8677 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8678 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8679 [$(subdir) = nptl] (tests): Add tst-setgetname.
8680 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8681 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8682 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8683 [!LIBC_SIGACTION]: Remove aliases.
8684 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8685 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8686 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8687 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8688 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8689 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8690 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8692 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8693 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8694 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8695 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8696 __libc_allocate_rtsig_private.
8697 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8698 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8699 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8700 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8701 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8702 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8703 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8704 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8705 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8706 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8707 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8708 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8709 * nptl/internaltypes.h: ... here.
8710 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8711 * sysdeps/nptl/jmp-unwind.c: ... here.
8712 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8713 * nptl/libc-lowlevellock.c: ... here.
8714 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8715 * nptl/libc_multiple_threads.c: ... here.
8716 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8717 * nptl/libc_pthread_init.c: ... here.
8718 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8719 * nptl/lowlevelbarrier.sym: ... here.
8720 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8721 * nptl/lowlevelcond.sym: ... here.
8722 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8723 * nptl/lowlevellock.c: ... here.
8724 * nptl/lowlevellock.h: Moved ...
8725 * sysdeps/nptl/lowlevellock.h: ... here.
8726 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8727 * nptl/lowlevelrobustlock.c: ... here.
8728 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8729 * nptl/lowlevelrobustlock.sym: ... here.
8730 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8731 * nptl/lowlevelrwlock.sym: ... here.
8732 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8733 * nptl/pt-fork.c: ... here.
8734 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8735 * nptl/pthread-pi-defines.sym: ... here.
8736 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8737 * nptl/pthread_attr_getaffinity.c: ... here.
8738 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8739 * nptl/pthread_attr_setaffinity.c: ... here.
8740 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8741 * nptl/pthread_mutex_cond_lock.c: ... here.
8742 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8743 Update #include.
8744 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8745 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8746 * nptl/pthread_once.c: ... here, replacing old file.
8747 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8748 * nptl/pthread_yield.c: ... here.
8749 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8750 * nptl/register-atfork.c: ... here.
8751 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8752 * nptl/sem_post.c: ... here.
8753 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8754 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8755 * nptl/sem_timedwait.c: ... here.
8756 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8757 * nptl/sem_trywait.c: ... here.
8758 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8759 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8760 * nptl/sem_wait.c: ... here.
8761 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8762 * nptl/structsem.sym: ... here.
8763 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8764 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8765 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8766 * nptl/unregister-atfork.c: ... here.
8767 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8768 * nptl/unwindbuf.sym: ... here.
8769 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8770 * sysdeps/nptl/fork.c: ... here.
8771 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8772 * sysdeps/nptl/fork.h: ... here.
8773 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8774 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8775 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8776 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8777 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8778 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8779 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8780 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8781 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8782 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8783 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8784 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8785 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8786 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8787 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8788 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8789 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8790 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8791 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8792 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8793 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8794 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8795 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8796 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8797 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8798 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8799 * sysdeps/unix/sysv/linux/raise.c: ... here.
8800 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8801 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8802 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8803 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8804 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8805 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8806 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8807 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8808 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8809 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8810 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8811 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8812 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8813 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8814 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8815
8816 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8817
8818 * sysdeps/generic/memcopy.h: Add comment for
8819 MEMCPY_OK_FOR_FWD_MEMMOVE.
8820
8821 2014-07-04 Will Newton <will.newton@linaro.org>
8822
8823 * string/memchr.c: Merge from gnulib.
8824 [_LIBC]: Remove conditionals.
8825 (__ptr_t): Remove define.
8826 (LONG_MAX_32_BITS): Likewise.
8827 (LONG_MAX): Likewise.
8828 (MEMCHR): Use ANSI prototype and optimize algorithm.
8829
8830 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8831
8832 2014-07-03 Roland McGrath <roland@hack.frob.com>
8833
8834 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8835 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8836
8837 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8838 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8839 in a bare environment with no <stdlib.h> installed.
8840 * sysdeps/nptl/configure: Regenerated.
8841
8842 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8843
8844 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8845 AC_EGREP_CPP for kernel header checks, so they only succeed if
8846 including <linux/version.h> actually works right.
8847 * sysdeps/unix/sysv/linux/configure: Regenerated.
8848
8849 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8850 value so it's not diagnosed as unused.
8851
8852 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8853 thing) with "ifeq ($(subdir),rt)".
8854
8855 2014-07-03 Richard Henderson <rth@redhat.com>
8856
8857 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8858 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8859 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8860
8861 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8862 (math_force_eval): New.
8863
8864 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8865 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8866
8867 * sysdeps/alpha/fpu/s_round.c: Remove file.
8868 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8869
8870 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8871 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8872 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8873 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8874 (_dl_start, print_statistics): Likewise.
8875 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8876 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8877
8878 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8879 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8880 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8881 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8883 (HP_SMALL_TIMING_AVAIL): Define.
8884 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8885 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8886 (HP_SMALL_TIMING_AVAIL): Define.
8887 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8888 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8889
8890 * sysdeps/aarch64/hp-timing.h: New file.
8891
8892 * sysdeps/generic/hp-timing.h: Remove dead comment.
8893 * sysdeps/generic/hp-timing-common.h: New file.
8894 * sysdeps/alpha/hp-timing.h: Include it.
8895 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8896 * sysdeps/i386/i686/hp-timing.h: Likewise.
8897 * sysdeps/ia64/hp-timing.h: Likewise.
8898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8899 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8900 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8901 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8902 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8903 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8904 (hp_timing_t): New.
8905
8906 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8907 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8908 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8909 * elf/rtld.c (_dl_start_final): Likewise.
8910 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8911 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8912 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8913 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8914 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8915 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8916 (HP_TIMING_DIFF_INIT): Remove.
8917 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8918 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8919 (HP_TIMING_DIFF_INIT): Remove.
8920 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8921 * sysdeps/i386/i686/hp-timing.c: Remove file.
8922 * sysdeps/x86_64/hp-timing.c: Remove file.
8923 * sysdeps/ia64/hp-timing.c: Remove file.
8924 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8925 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8926 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8927 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8928
8929 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8930 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8931 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8932 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8934 (HP_TIMING_ACCUM): Remove.
8935 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8936 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8937 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8938
8939 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8940 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8941 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8942 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8944 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8945 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8946 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8947
8948 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8949
8950 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8951
8952 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8953
8954 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8955
8956 Sync up with gettext.
8957 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8958 [_MSC_VER]: Include malloc.h
8959 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8960 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8961 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8962 TEMP_FAILURE_RETRY. Cast return of alloca.
8963 [!_LIBC] Call gl_rwlock_init.
8964 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8965
8966 2014-07-02 Roland McGrath <roland@hack.frob.com>
8967
8968 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8969 before checking its value.
8970
8971 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8972
8973 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8974
8975 * debug/memcpy_chk.c: Don't include pagecopy.h.
8976 * debug/mempcpy_chk.c: Likewise.
8977 * string/memcpy.c: Likewise.
8978 * string/memmove.c: Likewise.
8979 * sysdeps/powerpc/memmove.c: Likewise.
8980 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8981 definition of PAGE_COPY_FWD_MAYBE here...
8982 * sysdeps/generic/pagecopy.h: ... from here.
8983 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8984
8985 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8986 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8987
8988 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8990 optimizations.
8991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8992 (__libc_ifunc_impl_list): Likewise.
8993 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8994 multiarch strcat for PPC64.
8995 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8996 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8997
8998 2014-07-02 Roland McGrath <roland@hack.frob.com>
8999
9000 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9001
9002 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9003
9004 * intl/loadmsgcat.c: Remove declaration of
9005 get_sysdep_segment_value.
9006 (get_sysdep_segment_value): Use ISO C style.
9007 (_nl_load_domain): Use ISO C style. Get rid of redundant
9008 semicolon. Fix typo and formatting in comment.
9009 (_nl_unload_domain): Use ISO C style.
9010
9011 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9012
9013 2014-07-02 Will Newton <will.newton@linaro.org>
9014
9015 * malloc/obstack.c: Merge from gnulib master.
9016 [HAVE_CONFIG_H]: Remove conditional code.
9017 [!_LIBC]: Include config.h.
9018 [!ELIDE_CODE]: Don't include inttypes.h, include
9019 stdint.h unconditionally.
9020 (print_and_abort): Mark as _Noreturn.
9021 (_obstack_allocated_p): Mark as __attribute_pure__.
9022 (obstack_free): Rename to __obstack_free.
9023 [!__attribute__]: Remove conditional code.
9024 * malloc/obstack.h: Merge from gnulib master.
9025 [__cplusplus]: Move conditional down.
9026 [!__attribute_pure__]: Define __attribute_pure__ here
9027 if it is not already defined.
9028 (_obstack_memory_used): Mark as __attribute_pure__.
9029 [!__obstack_free]: Define as obstack_free.
9030 [__GNUC__]: Remove check for ancient NeXT gcc.
9031
9032 2014-07-02 Will Newton <will.newton@linaro.org>
9033 Paul Eggert <eggert@cs.ucla.edu>
9034
9035 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9036
9037 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9038
9039 * resolv/gethnamaddr.c: Add comment warning that the file is
9040 not maintained.
9041
9042 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9043
9044 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9045 entries.
9046
9047 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9048 entry for aio_cancel and aio_cancel64.
9049 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9050 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9051 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9052 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9053 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9054 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9055 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9056 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9057 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9058 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9059 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9060 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9061 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9062
9063 2014-07-01 Roland McGrath <roland@hack.frob.com>
9064
9065 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9066 * nptl/pthread_mutex_lock.c: Likewise.
9067 * nptl/pthread_mutex_timedlock.c: Likewise.
9068 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9069
9070 2014-07-01 Richard henderson <rth@redhat.com>
9071
9072 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9073 (__isnan, __isnanl): Remove.
9074 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9075
9076 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9077
9078 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9079
9080 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9081
9082 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9083
9084 * resolv/nss_dns/dns-host.c (getanswer_r)
9085 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9086
9087 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9088
9089 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9090 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9091 undefine.
9092 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9093 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9094
9095 2014-07-01 Roland McGrath <roland@hack.frob.com>
9096
9097 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9098 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9099
9100 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9101 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9102
9103 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9104 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9105 ... here.
9106 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9107 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9108
9109 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9110 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9111 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9112 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9113
9114 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9115 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9116 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9117 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9119 Moved ...
9120 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9121 ... here.
9122 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9123 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9125 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9127 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9128 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9129 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9131 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9132 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9133 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9134 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9135 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9136 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9137 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9139 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9141 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9142 ... here.
9143 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9144 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9145 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9146 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9147 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9148 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9149 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9150 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9151
9152 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9153
9154 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9155 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9156 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9157 Add sysdep.
9158
9159 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9160
9161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9162
9163 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9164
9165 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9166 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9167
9168 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9169
9170 * sysdeps/arm/libm-test-ulps: Regenerated.
9171
9172 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9173 Roland McGrath <roland@hack.frob.com>
9174
9175 * test-skeleton.c (signal_handler): Kill the whole process group
9176 before killing the child individually.
9177 (main): Report any failure on `setpgid'.
9178
9179 2014-06-30 Roland McGrath <roland@hack.frob.com>
9180
9181 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9182 from _TLS_H to _ARM_NPTL_TLS_H.
9183 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9184 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9185
9186 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9187
9188 [BZ #16539]
9189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9190 (__expm1l): Return argument unchanged when small but not
9191 subnormal.
9192
9193 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9194 include macro name.
9195 (_FP_UNPACK_RAW_1_P): Likewise.
9196 (_FP_PACK_RAW_1): Likewise.
9197 (_FP_PACK_RAW_1_P): Likewise.
9198 (_FP_MUL_MEAT_1_wide): Likewise.
9199 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9200 (_FP_MUL_MEAT_1_hard): Likewise.
9201 (_FP_DIV_MEAT_1_imm): Likewise.
9202 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9203 (_FP_DIV_MEAT_1_udiv): Likewise.
9204 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9205 (_FP_UNPACK_RAW_2): Likewise.
9206 (_FP_UNPACK_RAW_2_P): Likewise.
9207 (_FP_PACK_RAW_2): Likewise.
9208 (_FP_PACK_RAW_2_P): Likewise.
9209 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9210 (_FP_MUL_MEAT_2_wide): Likewise.
9211 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9212 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9213 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9214 (_FP_MUL_MEAT_2_gmp): Likewise.
9215 (_FP_DIV_MEAT_2_udiv): Likewise.
9216 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9217 (_FP_FRAC_SRL_4): Likewise.
9218 (_FP_FRAC_SRST_4): Likewise.
9219 (_FP_FRAC_SRS_4): Likewise.
9220 (_FP_UNPACK_RAW_4): Likewise.
9221 (_FP_UNPACK_RAW_4_P): Likewise.
9222 (_FP_PACK_RAW_4): Likewise.
9223 (_FP_PACK_RAW_4_P): Likewise.
9224 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9225 (_FP_MUL_MEAT_4_wide): Likewise.
9226 (_FP_MUL_MEAT_4_gmp): Likewise.
9227 (umul_ppppmnnn): Likewise.
9228 (_FP_DIV_MEAT_4_udiv): Likewise.
9229 (__FP_FRAC_ADD_4): Likewise.
9230 (__FP_FRAC_SUB_3): Likewise.
9231 (__FP_FRAC_SUB_4): Likewise.
9232 (__FP_FRAC_DEC_3): Likewise.
9233 (__FP_FRAC_DEC_4): Likewise.
9234 (__FP_FRAC_ADDI_4): Likewise.
9235 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9236 (_FP_FRAC_SRL_8): Likewise.
9237 (_FP_FRAC_SRS_8): Likewise.
9238
9239 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9240 include macro name.
9241 (FP_UNPACK_RAW_EP): Likewise.
9242 (FP_PACK_RAW_E): Likewise.
9243 (FP_PACK_RAW_EP): Likewise.
9244 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9245 (_FP_ISSIGNAN): Likewise.
9246 (_FP_ADD_INTERNAL): Likewise.
9247 (_FP_FMA): Likewise.
9248 (_FP_CMP): Likewise.
9249 (_FP_SQRT): Likewise.
9250 (_FP_TO_INT): Likewise.
9251 (_FP_FROM_INT): Likewise.
9252 (FP_EXTEND): Likewise.
9253 (_FP_DIV_MEAT_N_loop): Likewise.
9254
9255 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9256
9257 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9258 throughout.
9259
9260 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9261
9262 [BZ #17097]
9263 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9264 result with correct sign in case of exponents that produce
9265 overflow except for X very close to 1.
9266
9267 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9268
9269 mktime: merge #if/#ifdef usage from glibc
9270 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9271 as that works with both Glibc's and Gnulib's style.
9272 See thread starting at Siddhesh Poyarekar's bug report at:
9273 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9274
9275 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9276
9277 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9278 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9279 * sysdeps/tile/tilegx/memmove.c: Remove file.
9280
9281 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9282
9283 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9284 abi-name definition.
9285 * scripts/soversions.awk: Do not handle or generate ABI lines.
9286 * shlib-versions: Remove ABI entries.
9287 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9288 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9289
9290 2014-06-27 Roland McGrath <roland@hack.frob.com>
9291
9292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9293 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9294 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9295 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9299 Moved ...
9300 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9301 ... here.
9302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9307 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9311 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9313 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9315 Moved ...
9316 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9317 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9318 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9320 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9322 Moved ...
9323 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9325 Moved ...
9326 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9330 Moved ...
9331 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9333 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9335 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9337 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9339 Moved ...
9340 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9342 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9343 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9344 Moved ...
9345 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9346 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9347 Moved ...
9348 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9349 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9350 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9351 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9352 Moved ...
9353 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9354 ... here.
9355 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9356 Identical file removed.
9357 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9358 Moved ...
9359 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9360 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9361 Identical file removed.
9362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9363 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9364 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9365 Moved ...
9366 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9367 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9368 Identical file removed.
9369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9370 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9372 Identical file removed.
9373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9374 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9376 Identical file removed.
9377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9378 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9379 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9380 Identical file removed.
9381 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9382 Moved ...
9383 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9384 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9385 Identical file removed.
9386 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9387 Moved ...
9388 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9390 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9392 Identical file removed.
9393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9394 Moved ...
9395 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9396 ... here.
9397 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9398 Identical file removed.
9399 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9400 Moved ...
9401 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9403 Identical file removed.
9404 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9405 Moved ...
9406 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9407 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9408 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9410 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9412 Moved ...
9413 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9414 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9415 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9416
9417 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9418 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9419 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9420 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9421 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9422
9423 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9424
9425 [BZ #17092]
9426 * nscd/nscd.c (monitor_child): Return exit status of child
9427 instead of return value from wait syscall.
9428
9429 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9430
9431 * configure.ac (libc_commonpagesize): Remove variable.
9432 (libc_relro_required): Likewise.
9433 (libc_cv_z_relro): Remove configure test.
9434 * configure: Regenerated.
9435 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9436 variable.
9437 (libc_relro_required): Likewise.
9438 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9439 (libc_relro_required): Likewise.
9440 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9441 (libc_relro_required): Likewise.
9442 * sysdeps/arm/preconfigure: Regenerated.
9443 * sysdeps/ia64/preconfigure: Remove file.
9444 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9445 variable.
9446 (libc_relro_required): Likewise.
9447
9448 [BZ #16561]
9449 [BZ #16562]
9450 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9451 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9452 recompute overflowing results in original rounding mode.
9453 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9454 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9455 recompute overflowing results in original rounding mode.
9456 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9457 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9458 recompute overflowing results in original rounding mode.
9459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9460 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9461 recompute overflowing results in original rounding mode.
9462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9463 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9464 recompute overflowing results in original rounding mode.
9465 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9466 (libc_feholdsetround_ctx): New macro.
9467 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9468 * sysdeps/i386/fpu/libm-test-ulps: Update.
9469 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9470
9471 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9472
9473 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9474 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9475 corresponding .cpsetup call.
9476
9477 2014-06-26 Roland McGrath <roland@hack.frob.com>
9478
9479 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9480 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9481 * sysdeps/arm/Makefile [$(subdir) = csu]
9482 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9483 (static-only-routines): Add aeabi_read_tp here.
9484 (shared-only-routines): Add libc-aeabi_read_tp here.
9485 (CFLAGS-libc-start.c): Add -fexceptions here.
9486 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9487 (sysdep_routines, static-only-routines, shared-only-routines):
9488 Don't add to these here.
9489 (CFLAGS-libc-start.c): Likewise.
9490
9491 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9492 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9493 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9494 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9495 * sysdeps/arm/Makefile [$(subdir) = rt]
9496 (librt-sysdep_routines, librt-shared-only-routines):
9497 Append rt-aeabi_unwind_cpp_pr1 here.
9498 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9499 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9500 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9501 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9502 Append nptl-aeabi_unwind_cpp_pr1 here.
9503 (tests): Filter out tst-cleanupx4 here.
9504 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9505 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9506 Don't do those here.
9507
9508 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9509
9510 * scripts/list-sources.sh: Do not handle ports specially.
9511
9512 2014-06-26 Roland McGrath <roland@hack.frob.com>
9513
9514 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9515 * sysdeps/arm/feupdateenv.c: Likewise.
9516
9517 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9518
9519 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9520
9521 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9522 trailing whitespace removed.
9523 * scripts/config.guess: Update to version 2014-03-23.
9524 * scripts/config.sub: Update to version 2014-05-01
9525 * scripts/install-sh: Update to version 2013-12-25.23.
9526 * scripts/move-if-change: Update from gnulib.
9527
9528 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9529
9530 * debug/memmove_chk.c: Remove pagecopy.h include.
9531
9532 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9533
9534 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9535 identical to gnulib mktime.
9536
9537 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9538
9539 * configure.ac: Do not test for machine being rs6000. Do not test
9540 for powerpc*-*soft.
9541 * configure: Regenerated.
9542
9543 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9544 test.
9545 * configure: Regenerated.
9546 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9547 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9548 Remove configure test.
9549 * sysdeps/arm/configure: Regenerated.
9550 * sysdeps/nptl/configure.ac: Do not check
9551 libc_cv_asm_cfi_directives.
9552 * sysdeps/nptl/configure: Regenerated.
9553 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9554 * sysdeps/x86_64/nptl/configure: Remove generated file.
9555 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9556 unconditional.
9557 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9558
9559 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9560
9561 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9562 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9563 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9564 it is defined.
9565
9566 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9567 instead of whether it is defined.
9568 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9569 * sysdeps/hppa/dl-machine.h: Likewise.
9570 * sysdeps/ia64/dl-machine.h: Likewise.
9571 * sysdeps/m68k/dl-machine.h: Likewise.
9572 * sysdeps/microblaze/dl-machine.h: Likewise.
9573 * sysdeps/mips/dl-machine.: Likewise.
9574 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9575 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9576 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9577 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9578 * sysdeps/sh/dl-machine.h: Likewise.
9579 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9580 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9581 * sysdeps/tile/dl-machine.h: Likewise.
9582 * sysdeps/x86_64/dl-machine.h: Likewise.
9583
9584 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9585 code.
9586 (verify_persistent_db): Likewise.
9587
9588 2014-06-26 Roland McGrath <roland@hack.frob.com>
9589
9590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9591 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9593 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9595 Moved ...
9596 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9597 ... here.
9598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9599 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9601 Identical file removed.
9602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9605 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9611 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9613 Moved ...
9614 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9616 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9618 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9620 Moved ...
9621 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9623 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9625 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9627 Identical file removed.
9628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9629 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9631 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9633 Moved ...
9634 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9635 ... here.
9636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9647 Moved ...
9648 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9650 Moved ...
9651 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9653 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9655 Moved ...
9656 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9658 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9659
9660 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9661 folded into ...
9662 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9663 * sysdeps/unix/sysv/linux/s390/Versions
9664 (libpthread: GLIBC_2.19): New version set.
9665 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9666 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9667 (librt: GLIBC_2.3.3): New version set.
9668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9669 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9670 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9671 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9672 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9673 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9674 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9675 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9676 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9677 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9678 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9679 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9680 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9681 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9682 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9683 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9684 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9685 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9686 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9687 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9688 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9689 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9690 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9692 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9693 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9694 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9695 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9696 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9697 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9698 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9699 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9701 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9703 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9704 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9705 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9706 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9708 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9709 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9710 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9712 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9713
9714 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9715 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9716 (__libc_vfork): Define the function under this name.
9717 [!NOT_IN_libc] (__vfork): Make this an alias.
9718 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9720 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9721 (__libc_vfork): Define the function under this name.
9722 [!NOT_IN_libc] (__vfork): Make this an alias.
9723 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9724 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9725 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9727 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9728 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9729
9730 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9731 code that was previously under [RESET_PID].
9732 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9733 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9735
9736 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9737 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9738 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9739 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9740 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9741 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9742 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9743 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9744 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9745 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9747 Moved ...
9748 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9750 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9751 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9752 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9753 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9754 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9756 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9757 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9758 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9759 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9760 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9762 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9763 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9764 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9765 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9766 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9767 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9768 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9769 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9770 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9771 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9772 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9773 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9774 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9775 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9776 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9777
9778 2014-06-25 Roland McGrath <roland@hack.frob.com>
9779
9780 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9781 that was previously under [RESET_PID].
9782 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9783
9784 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9785
9786 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9787 not undefine and redefine.
9788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9789 [O_CLOEXEC]: Make code unconditional.
9790 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9791 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9792 <kernel-features.h>.
9793 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9794 conditional variable definition.
9795 (shm_open) [O_CLOEXEC]: Make code unconditional.
9796 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9797 code.
9798
9799 * configure.ac (USE_REGPARMS): Don't define here.
9800 * configure: Regenerated.
9801 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9802 * sysdeps/i386/configure: Regenerated.
9803
9804 * nptl/createthread.c: Don't include kernel-features.h.
9805 * nptl/pthread_cancel.c: Likewise.
9806 * nptl/pthread_condattr_setclock.c: Likewise.
9807 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9808 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9809 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9810 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9811 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9812 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9813 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9816 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9817 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9818 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9819 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9820 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9821 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9822 * nscd/gai.c: Likewise.
9823 * nss/nss_db/db-open.c: Likewise.
9824 * sysdeps/generic/ldsodefs.h: Likewise.
9825 * sysdeps/sh/nptl/tls.h: Likewise.
9826 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9827 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9828 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9829 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9830 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9831 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9832 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9833 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9834 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9835 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9836 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9837 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9838 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9839 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9840 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9841 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9842 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9843 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9844 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9845 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9846 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9847 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9848 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9849 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9850 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9851 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9852 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9853 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9854 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9855 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9856 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9857 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9858 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9859 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9860 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9861 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9862 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9863 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9864 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9865 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9866 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9867 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9868 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9869 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9870 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9871 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9872 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9873 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9874 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9875 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9876 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9877 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9878 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9879 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9880 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9881 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9882 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9883 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9906 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9907 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9908 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9909 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9910 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9911 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9912 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9913 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9914 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9915 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9916 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9917 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9918 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9919 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9920 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9921 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9922 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9924 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9925 * sysdeps/unix/sysv/linux/system.c: Likewise.
9926 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9927 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9928 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9929 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9930 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9931 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9932 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9933
9934 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9935 * configure: Regenerated.
9936 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9937
9938 * configure.ac (base_machine): Do not set specially for particular
9939 machines here.
9940 * configure: Regenerated.
9941 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9942 settings from configure.ac.
9943 * sysdeps/i386/preconfigure: New file.
9944 * sysdeps/s390/preconfigure: Likewise.
9945 * sysdeps/sh/preconfigure: Likewise.
9946 * sysdeps/sparc/preconfigure: Likewise.
9947
9948 2014-06-25 Roland McGrath <roland@hack.frob.com>
9949
9950 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9951 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9952 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9953 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9954 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9955 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9956 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9957 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9958 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9959 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9960 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9961 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9962 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9963 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9964 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9965 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9967 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9968 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9969
9970 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9971 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9972 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9973 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9974 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9975 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9976 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9977 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9978 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9979 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9980 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9981 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9982 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9983 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9984 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9985 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9986 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9987 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9988 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9989 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9990 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9991 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9992 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9993 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9994 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9995 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9996 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9997 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9998 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9999 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10000 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10001 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10002 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10003 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10004 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10005 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10006 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10007 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10008
10009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10010 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10012 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10014 Moved ...
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10016 ... here.
10017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10018 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10020 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10022 Moved ...
10023 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10025 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10027 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10029 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10031 Moved ...
10032 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10034 Moved ...
10035 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10037 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10039 Moved ...
10040 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10042 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10044 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10046 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10048 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10050 Moved ...
10051 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10052 ... here.
10053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10054 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10056 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10058 Moved ...
10059 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10061 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10063 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10065 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10067 Moved ...
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10070 Moved ...
10071 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10073 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10075 Moved ...
10076 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10078 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10080 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10081
10082 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10083
10084 * timezone/checktab.awk: Update from tzcode 2014e.
10085 * timezone/private.h: Likewise.
10086 * timezone/tzfile.h: Likewise.
10087 * timezone/zdump.c: Likewise.
10088 * timezone/zic.c: Likewise.
10089
10090 * sysdeps/unix/sysv/linux/kernel-features.h
10091 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10093 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10094 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10095 Remove conditional code.
10096
10097 2014-06-25 Will Newton <will.newton@linaro.org>
10098
10099 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10100 (_dl_arm_cap_flags): Add HWCAP2 values.
10101 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10102 (_DL_HWCAP_COUNT): Increase to 37.
10103 (_DL_HWCAP_LAST): New define.
10104 (_DL_HWCAP2_LAST): New define.
10105 (_dl_procinfo): Add support for printing
10106 AT_HWCAP2 entries.
10107 (_dl_string_hwcap): Use _dl_hwcap_string.
10108
10109 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10110
10111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10112
10113 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10114
10115 * README: Do not mention ports directory.
10116
10117 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10118 Remove macro.
10119 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10120 <kernel-features.h>.
10121 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10122 conditional variable definition.
10123 (__futimes): Update comment.
10124 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10125 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10126
10127 [BZ #16560]
10128 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10129 arguments close to 0.
10130 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10131 Likewise.
10132 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10133 Likewise.
10134 * math/auto-libm-test-in: Add more tests of exp10.
10135 * math/auto-libm-test-out: Regenerated.
10136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10137
10138 * sysdeps/unix/sysv/linux/kernel-features.h
10139 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10140 * sysdeps/unix/sysv/linux/readv.c: Do not include
10141 <kernel-features.h>.
10142 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10143 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10144 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10145 unconditional.
10146 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10147 conditional code.
10148 * sysdeps/unix/sysv/linux/writev.c: Do not include
10149 <kernel-features.h>.
10150 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10151 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10152 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10153 unconditional.
10154 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10155 conditional code.
10156
10157 2014-06-25 Will Newton <will.newton@linaro.org>
10158
10159 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10160 comment changes throughout the file. Remove checks
10161 for HAVE_*_H definitions that are not required.
10162 (__gen_tempname): Call abort if an unknown kind value is
10163 passed.
10164
10165 2014-06-25 Andreas Schwab <schwab@suse.de>
10166
10167 [BZ #17086]
10168 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10169 scalbln, scalblnf, scalblnl in libc.
10170
10171 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10172
10173 [BZ #17086]
10174 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10175 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10176 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10177
10178 2014-06-24 Roland McGrath <roland@hack.frob.com>
10179
10180 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10181 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10182 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10183 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10184 Update #include.
10185 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10186 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10187 Update #include.
10188 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10189 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10190 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10191 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10192 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10193 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10194 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10195 * sysdeps/x86/bits/semaphore.h: ... here.
10196 * sysdeps/x86/nptl/elide.h: Moved ...
10197 * sysdeps/x86/elide.h: ... here.
10198 * sysdeps/x86_64/nptl/Implies: File removed.
10199 * sysdeps/i386/nptl/Implies: File removed.
10200
10201 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10202
10203 [BZ #16539]
10204 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10205 return the argument for normal arguments with exponent below -64.
10206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10207 Likewise.
10208 * math/auto-libm-test-in: Add another test of expm1.
10209 * math/auto-libm-test-out: Regenerated.
10210
10211 [BZ #16287]
10212 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10213 calling __erfcl for arguments at least 16.
10214 * math/auto-libm-test-in: Add more tests of erf.
10215 * math/auto-libm-test-out: Regenerated.
10216
10217 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10218 individual architectures.
10219 * sysdeps/unix/sysv/linux/configure: Regenerated.
10220 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10221 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10222 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10223 (ldd_rewrite_script): Define variable.
10224 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10226 file.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10228 generated file.
10229 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10230 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10231 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10232 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10233 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10234 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10235 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10236 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10237
10238 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10239
10240 [BZ #17084]
10241 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10242 Rename member __data.d to __data.__elision_data.
10243
10244 2014-06-24 Wilco <wdijkstr@arm.com>
10245
10246 * NEWS: Add 16918 to fixed bug list.
10247
10248 2014-06-24 Wilco <wdijkstr@arm.com>
10249
10250 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10251
10252 2014-06-24 Wilco <wdijkstr@arm.com>
10253
10254 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10255 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10256 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10257 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10258 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10259 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10260 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10261 Use _FPU_MASK_RM.
10262
10263 2014-06-24 Wilco <wdijkstr@arm.com>
10264
10265 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10266
10267 2014-06-24 Wilco <wdijkstr@arm.com>
10268
10269 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10270 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10271 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10272 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10273
10274 2014-06-24 Wilco <wdijkstr@arm.com>
10275
10276 [BZ #16918]
10277 * sysdeps/arm/feupdateenv.c (feupdateenv):
10278 Rewrite to reduce FPSCR accesses and fix return value.
10279
10280 2014-06-24 Wilco <wdijkstr@arm.com>
10281
10282 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10283 Optimize to avoid unnecessary FPSCR writes.
10284 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10285 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10286 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10287 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10288
10289 2014-06-24 Wilco <wdijkstr@arm.com>
10290
10291 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10292 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10293 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10294 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10295 Call libc_fetestexcept_vfp.
10296 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10297 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10298 __SOFTFP__ ifdef so that they can be built for softfp.
10299
10300 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10301
10302 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10303 argument type signed char.
10304
10305 * Makerules (check-abi): Dump diff of symlist if the test
10306 fails.
10307
10308 2014-06-23 Roland McGrath <roland@hack.frob.com>
10309
10310 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10311 using abort.
10312
10313 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10314 Remove unused variable ST.
10315
10316 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10317
10318 [BZ #16354]
10319 [BZ #17061]
10320 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10321 small arguments before calling __expm1.
10322 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10323 small arguments before calling __expm1f.
10324 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10325 small arguments before calling __expm1l.
10326 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10327 Likewise.
10328 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10329 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10330 spurious underflow for some cosh tests.
10331 * math/auto-libm-test-out: Regenerated.
10332 * sysdeps/i386/fpu/libm-test-ulps: Update.
10333
10334 [BZ #17050]
10335 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10336 (__ieee754_y1): Set errno if return value overflows.
10337 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10338 (__ieee754_y1f): Set errno if return value overflows.
10339 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10340 (__ieee754_y1l): Set errno if return value overflows.
10341 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10342 (__ieee754_y1l): Set errno if return value overflows.
10343 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10344 * math/auto-libm-test-out: Regenerated.
10345
10346 * math/gen-auto-libm-tests.c: Document use of
10347 ignore-zero-inf-sign.
10348 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10349 (input_flags): Add ignore-zero-inf-sign.
10350 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10351 * math/gen-libm-test.pl (generate_testfile): Handle
10352 ignore-zero-inf-sign.
10353 * math/auto-libm-test-in: Mark some cpow tests with
10354 ignore-zero-inf-sign and some with xfail-rounding.
10355 * math/auto-libm-test-out: Regenerated.
10356 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10357 * sysdeps/i386/fpu/libm-test-ulps: Update.
10358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10359
10360 [BZ #16315]
10361 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10362 overflowing or underflowing operations take place with sign of
10363 result.
10364 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10365 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10366 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10367 (__ieee754_pow): Recompute overflowing and underflowing results in
10368 original rounding mode.
10369 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10370 (__powl_helper): Allow negative argument X and scale negated value
10371 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10372 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10373 overflowing or underflowing operations take place with sign of
10374 result.
10375 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10376 Include <math.h>.
10377 * math/auto-libm-test-in: Add more tests of pow.
10378 * math/auto-libm-test-out: Regenerated.
10379 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10380 (pow_tonearest_test_data): Remove.
10381 (pow_test_tonearest): Likewise.
10382 (pow_towardzero_test_data): Likewise.
10383 (pow_test_towardzero): Likewise.
10384 (pow_downward_test_data): Likewise.
10385 (pow_test_downward): Likewise.
10386 (pow_upward_test_data): Likewise.
10387 (pow_test_upward): Likewise.
10388 (main): Don't call removed functions.
10389 * sysdeps/i386/fpu/libm-test-ulps: Update.
10390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10391
10392 2014-06-23 Roland McGrath <roland@hack.frob.com>
10393
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10395 Moved ...
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10398 Moved ...
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10401 Moved ...
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10404 Moved ...
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10407 File removed.
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10409 File removed.
10410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10411 File removed.
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10413 File removed.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10415 File removed.
10416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10417 File removed.
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10419 File removed.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10421 File removed.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10423 File removed.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10425 File removed.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10427 File removed.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10429 File removed.
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10431 Moved ...
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10434 Moved ...
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10436 ... here.
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10438 Moved ...
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10441 Moved ...
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10444 Moved ...
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10447 Moved ...
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10450 Moved ...
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10453 Moved ...
10454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10456 Moved ...
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10460 ... here.
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10462 Moved ...
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10465 Moved ...
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10467 ... here.
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10469 Moved ...
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10471 ... here.
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10473 Moved ...
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10475 ... here.
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10477 Moved ...
10478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10480 Moved ...
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10485 Moved ...
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10487 ... here.
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10489 Moved ...
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10491 ... here.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10493 Moved ...
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10496 Moved ...
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10499 Moved ...
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10502 Moved ...
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10505 Moved ...
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10507 ... here.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10509 Moved ...
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10512 Moved ...
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10515 Moved ...
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10518 Moved ...
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10523 Moved ...
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10526 Moved ...
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10529 Moved ...
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10531 ... here.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10533 Moved ...
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10535 ... here.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10537 Moved ...
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10539 ... here.
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10541 Moved ...
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10544 Moved ...
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10547 Moved ...
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10550 Moved ...
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10552 ... here.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10554 Moved ...
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10556 ... here.
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10558 Moved ...
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10560 ... here.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10562 Moved ...
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10565 Moved ...
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10567
10568 2014-06-23 Will Newton <will.newton@linaro.org>
10569 Wilco <wdijkstr@arm.com>
10570
10571 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10572 implementation. Include get-rounding-mode.h.
10573 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10574 [!libc_feholdsetround_noex_ctx]: Define
10575 libc_feholdsetround_noex_ctx.
10576 [!libc_feholdsetround_noexf_ctx]: Define
10577 libc_feholdsetround_noexf_ctx.
10578 [!libc_feholdsetround_noexl_ctx]: Define
10579 libc_feholdsetround_noexl_ctx.
10580 (libc_feholdsetround_ctx): New function.
10581 (libc_feresetround_ctx): New function.
10582 (libc_feholdsetround_noex_ctx): New function.
10583 (libc_feresetround_noex_ctx): New function.
10584
10585 2014-06-23 Roland McGrath <roland@hack.frob.com>
10586
10587 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10588 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10589 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10590 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10591 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10592 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10593
10594 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10595 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10596 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10597 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10598 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10599 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10600 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10601 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10602 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10603 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10604 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10605 Moved ...
10606 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10607 ... here.
10608 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10609 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10610 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10611 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10612 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10613 Moved ...
10614 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10615 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10616 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10617 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10618 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10622 Moved ...
10623 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10625 Moved ...
10626 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10628 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10630 Moved ...
10631 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10633 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10635 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10636 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10637 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10638 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10639 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10640 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10641 Moved ...
10642 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10643 ... here.
10644 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10645 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10646 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10647 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10648 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10649 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10653 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10655 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10657 Moved ...
10658 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10660 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10661 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10662 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10663 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10664 Moved ...
10665 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10667 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10668 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10669 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10670
10671 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10672 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10673 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10674 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10676 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10678 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10680 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10681 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10682 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10684 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10686 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10687 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10688 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10690 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10691 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10692 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10693 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10694 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10695 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10696 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10697 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10698 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10699
10700 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10701
10702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10703 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10704 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10705 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10706 (IPV6_PMTUDISC_INTERFACE): Likewise.
10707 (IPV6_PMTUDISC_OMIT): Likewise.
10708
10709 2014-06-23 Andreas Schwab <schwab@suse.de>
10710
10711 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10712 Remove unused errout label.
10713
10714 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10715
10716 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10717 macro: hardware supports Vector Crypto instructions.
10718
10719 2014-06-23 Will Newton <will.newton@linaro.org>
10720
10721 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10722 rather than __builtin_expect.
10723
10724 * elf/dl-lookup.c (undefined_msg): Remove variable.
10725 (_dl_lookup_symbol_x): Replace undefined_msg with string
10726 literal.
10727
10728 * elf/dl-lookup.c (do_lookup_unique): New function.
10729 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10730 to a separate function.
10731
10732 2014-06-23 Andreas Schwab <schwab@suse.de>
10733
10734 [BZ #17079]
10735 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10736 before reading the next line.
10737
10738 2014-06-23 Will Newton <will.newton@linaro.org>
10739
10740 * test-skeleton.c (signal_handler): Use printf and %m
10741 rather than perror. Use printf rather than fprintf to
10742 stderr. Use puts rather than fputs to stderr.
10743 (main): Likewise.
10744
10745 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10746
10747 * nscd/nscd.c (thread_info_t): Remove typedef.
10748 (thread_info): Remove variable.
10749
10750 2014-06-21 Allan McRae <allan@archlinux.org>
10751
10752 * NEWS: Mention CVE-2014-4043.
10753
10754 2014-06-20 Roland McGrath <roland@hack.frob.com>
10755
10756 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10757 * nptl/smp.h: ... here.
10758
10759 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10760
10761 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10762 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10763 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10764 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10765
10766 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10767 * nptl/stack-aliasing.h: New file.
10768 * sysdeps/i386/i686/stack-aliasing.h: New file.
10769 * sysdeps/i386/i686/nptl/Makefile: File removed.
10770 * sysdeps/x86_64/stack-aliasing.h: New file.
10771 * sysdeps/x86_64/nptl/Makefile
10772 (CFLAGS-pthread_create.c): Variable removed.
10773
10774 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10775 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10776 old file.
10777 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10778 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10779 old file.
10780
10781 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10782
10783 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10784 (__ASSUME_SIGFRAME_V2): Remove macro.
10785 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10786 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10787 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10788 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10789 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10790 Declare as function. Remove conditional macro definitions.
10791 (__default_rt_sa_restorer): Likewise.
10792 (__default_sa_restorer_v1): Remove declaration.
10793 (__default_sa_restorer_v2): Likewise.
10794 (__default_rt_sa_restorer_v1): Likewise.
10795 (__default_rt_sa_restorer_v2): Likewise.
10796 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10797 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10798 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10799
10800 2014-06-20 Roland McGrath <roland@hack.frob.com>
10801
10802 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10803 (libpthread-routines): Add sysdep.
10804 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10805 * sysdeps/unix/sysv/linux/sparc/Versions
10806 (libpthread: GLIBC_2.3.3): New version set.
10807 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10808 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10809 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10811 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10812 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10813 Moved ...
10814 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10815 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10816 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10817 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10818 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10819 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10820 * sysdeps/sparc/nptl/sem_init.c: ... here.
10821 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10822 * sysdeps/sparc/nptl/sem_post.c: ... here.
10823 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10824 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10825 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10826 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10827 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10828 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10829 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10830 (libpthread-routines): Add cpu_relax.
10831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10832 File removed.
10833 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10834 (librt: GLIBC_2.3.3): New version set.
10835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10836 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10837 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10838 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10841 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10843 Moved ...
10844 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10846 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10848 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10850 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10852 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10854 Moved ...
10855 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10856 Update #include.
10857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10858 Moved ...
10859 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10860 Update #include.
10861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10862 Moved ...
10863 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10864 Update #include.
10865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10866 Moved ...
10867 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10868 Update #include.
10869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10870 Moved ...
10871 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10872 Update #include.
10873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10874 Moved ...
10875 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10876 Update #include.
10877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10878 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10886 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10888 Moved ...
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10893 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10894
10895 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10896
10897 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10898 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10899 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10900 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10901 * nscd/nscd.c: Likewise.
10902 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10903 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10904 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10905 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10906
10907 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10908 <kernel-features.h>.
10909 (init_mq_netlink): Remove conditional have_sock_cloexec
10910 definitions. Remove code conditional on have_sock_cloexec < 0.
10911 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10912 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10913 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10914 <kernel-features.h>.
10915 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10916 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10917
10918 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10919
10920 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10921 Add tests for memset_chk and memset.
10922
10923 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10924 with AVX2_Usable.
10925
10926 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10927
10928 [BZ #16046]
10929 * elf/tst-dl-iter-static.c: New file.
10930 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10931
10932 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10933 error.
10934
10935 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10936
10937 * sysdeps/unix/sysv/linux/kernel-features.h
10938 (__ASSUME_F_GETOWN_EX): Remove macro.
10939 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10940 <kernel-features.h>.
10941 (miss_F_GETOWN_EX): Remove variable or macro.
10942 (do_fcntl): Do not check miss_F_GETOWN_EX.
10943 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10944
10945 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10946 Remove macro.
10947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10948 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10949 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10950
10951 * sysdeps/unix/sysv/linux/kernel-features.h
10952 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10953 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10954 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10955 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10956
10957 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10958
10959 [BZ #17075]
10960 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10961 Fix calculation of the symbol's value.
10962 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10963 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10964 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10965 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10966 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10967 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10968 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10969 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10970 (modules-names): Add `tst-armtlsdescmod',
10971 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10972 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10973 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10974 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10975 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10976 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10977 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10978 ($(objpfx)tst-armtlsdescloc): New dependency.
10979 ($(objpfx)tst-armtlsdescextnow): Likewise.
10980 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10981 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10982 TLS scheme support.
10983 * sysdeps/arm/configure: Regenerate.
10984
10985 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10986
10987 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10988 (__atfct_seterrno_2): Likewise.
10989 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10990 <kernel-features.h>.
10991 (__ASSUME_ATFCTS): Do not undefine and redefine.
10992 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10993 (__have_atfcts): Remove conditional definition.
10994 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10995 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10996 unreachable if [__ASSUME_ATFCTS].
10997 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10998 not undefine and redefine.
10999 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11000 <kernel-features.h>.
11001 (faccessat) [__NR_faccessat]: Make code unconditional.
11002 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11003 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11004 <kernel-features.h>.
11005 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11006 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11007 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11008 <kernel-features.h>.
11009 (fchownat) [__NR_fchownat]: Make code unconditional.
11010 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11011 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11012 <kernel-features.h>.
11013 (futimesat) [__NR_futimesat]: Make code unconditional.
11014 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11015 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11016 <kernel-features.h>.
11017 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11018 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11019 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11020 <kernel-features.h>.
11021 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11022 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11023 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11024 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11025 <kernel-features.h>.
11026 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11027 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11028 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11029 <kernel-features.h>.
11030 (linkat) [__NR_linkat]: Make code unconditional.
11031 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11032 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11033 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11034 <kernel-features.h>.
11035 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11036 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11037 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11038 <kernel-features.h>.
11039 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11040 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11041 * sysdeps/unix/sysv/linux/openat.c: Do not include
11042 <kernel-features.h>.
11043 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11044 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11045 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11046 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11047 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11048 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11049 <kernel-features.h>.
11050 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11051 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11052 result of INLINE_SYSCALL directly, not via int variable.
11053 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11054 <kernel-features.h>.
11055 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11056 (renameat) [__NR_renameat]: Make code unconditional.
11057 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11058 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11059 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11060 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11061 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11062 (__ASSUME_ATFCTS): Do not undefine and redefine.
11063 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11064 <kernel-features.h>.
11065 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11066 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11067 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11068 <kernel-features.h>.
11069 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11070 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11071 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11072 (__ASSUME_ATFCTS): Do not undefine and redefine.
11073 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11074 <kernel-features.h>.
11075 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11076 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11077 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11078 <kernel-features.h>.
11079 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11080 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11081
11082 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11083
11084 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11085
11086 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11087
11088 [BZ #17069]
11089 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11090 constructed tree before returning error.
11091 * posix/bug-regexp36.c: Expand test case.
11092
11093 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11094
11095 [BZ #6803]
11096 * math/libm-test.inc (scalbln_test_date):
11097 Add errno expectations.
11098 * math/w_scalblnf.c: New File.
11099 Add wrapper which checks for setting errno to ERANGE.
11100 Add weak_alias for corresponding scalbln function.
11101 * math/w_scalbln.c: Likewise.
11102 * math/w_scalblnl.c: Likewise.
11103 * math/Makefile (libm-calls): Add w_scalbln.
11104 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11105 Remove weak_alias for corresponding scalbln function.
11106 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11108 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11110 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11111 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11112 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11113 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11114 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11115 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11116 Remove long_double_symbol for scalblnl function in libm, libc.
11117 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11118 Add wrapper which checks for setting errno to ERANGE.
11119 Add long_double_symbol for scalblnl function in libm, libc.
11120 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11121 Remove long_double_symbol for scalblnl in libm.
11122 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11123 Add wrapper which checks for setting errno to ERANGE.
11124 Add long_double_symbol for scalblnl function in libm.
11125 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11126 Do not use wrapper because of own implementation.
11127
11128 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11129
11130 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11131 3 bytes for __pad1 for x32.
11132 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11133
11134 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11135 H.J. Lu <hongjiu.lu@intel.com>
11136
11137 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11138 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11139 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11140 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11141 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11142
11143 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11144
11145 [BZ #17069]
11146 * posix/regcomp.c (parse_expression): Deallocate partially
11147 constructed tree before returning error.
11148 * posix/Makefile.c (tests): Add bug-regex36.
11149 (generated): Add bug-regex36.mtrace.
11150 (tests-special): Add $(objpfx)bug-regex36-mem.out
11151 (bug-regex36-ENV): New variable.
11152 ($(objpfx)bug-regex36-mem.out): New rule.
11153 * posix/bug-regex36.c: New file.
11154
11155 2014-06-19 Will Newton <will.newton@linaro.org>
11156
11157 * malloc/malloc.c (systrim): If extra is zero then return
11158 early.
11159
11160 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11161
11162 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11163
11164 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11165
11166 * sysdeps/aarch64/strchr.S: New file.
11167
11168 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11169
11170 [BZ #17022]
11171 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11172 from arguments -2 or below.
11173 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11174 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11175
11176 2014-06-18 Andreas Schwab <schwab@suse.de>
11177
11178 [BZ #17062]
11179 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11180 of a bracket expr not to run off the end of the string.
11181 * posix/Makefile (tests): Add tst-fnmatch3.
11182 * posix/tst-fnmatch3.c: New file.
11183
11184 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11185
11186 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11187 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11188 [$(cross-compiling) = no]: Likewise.
11189 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11190 [$(cross-compiling) = no]: Likewise.
11191
11192 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11193
11194 [BZ #17031]
11195 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11196 double, adjusted for any remainder from the high double.
11197 * math/libm-test.inc (nearbyint): Add tests.
11198 (rint): Likewise.
11199
11200 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11201
11202 * nptl/sysdeps/powerpc/Makefile: Moved ...
11203 * sysdeps/powerpc/nptl/Makefile: ... here.
11204 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11205 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11206 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11207 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11208 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11209 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11210 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11211 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11212 * nptl/sysdeps/powerpc/tls.h: Moved ...
11213 * sysdeps/powerpc/nptl/tls.h: ... here.
11214
11215 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11216
11217 [BZ #16681]
11218 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11219 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11220 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11221 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11222 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11223 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11224 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11225 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11226 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11227
11228 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11229
11230 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11231
11232 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11233
11234 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11235 defined operator.
11236
11237 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11238 $TIMEOUTFACTOR.
11239
11240 2014-06-16 Florian Weimer <fweimer@redhat.com>
11241
11242 [BZ #17058]
11243 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11244 non-executed part of the test.
11245
11246 2014-06-16 Andreas Schwab <schwab@suse.de>
11247
11248 * string/bits/string2.h (strdup, strndup): Update feature guard.
11249
11250 2014-06-14 David S. Miller <davem@davemloft.net>
11251
11252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11253
11254 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11255
11256 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11257 that was previously under [RESET_PID].
11258 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11259
11260 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11261 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11262 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11263 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11264 (__libc_vfork): New strong alias.
11265 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11266
11267 2014-06-14 Andi Kleen <ak@linux.intel.com>
11268
11269 * sysdeps/generic/elide.h: New file.
11270
11271 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11272
11273 * Makefile (installed-headers): Adjust path of pthread.h header.
11274
11275 2014-06-13 Roland McGrath <roland@hack.frob.com>
11276
11277 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11278 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11279 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11280 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11281
11282 * nptl/sysdeps/s390/Makefile: Moved ...
11283 * sysdeps/s390/nptl/Makefile: ... here.
11284 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11285 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11286 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11287 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11288 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11289 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11290 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11291 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11292 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11293 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11294 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11295 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11296 * nptl/sysdeps/s390/tls.h: Moved ...
11297 * sysdeps/s390/nptl/tls.h: ... here.
11298
11299 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11300 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11301
11302 2014-06-13 David S. Miller <davem@davemloft.net>
11303
11304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11307 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11311 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11312 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11313 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11314 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11315 Remove RESET_PID cpp guards.
11316 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11317 Remove RESET_PID cpp guards.
11318 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11319
11320 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11321
11322 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11323 __sp to uintptr_t.
11324
11325 2014-06-13 Andi Kleen <ak@linux.intel.com>
11326
11327 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11328 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11329 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11331 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11332 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11333 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11334 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11335 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11337 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11338 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11339 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11340 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11342 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11343 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11344 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11345 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11346 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11347
11348 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11349 (pthread_rwlock_rdlock): Add elision.
11350 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11351 (pthread_rwlock_wrlock): Add elision.
11352 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11353 (pthread_rwlock_trywrlock): Add elision.
11354 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11355 (pthread_rwlock_tryrdlock): Add elision.
11356 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11357 (pthread_rwlock_tryrdlock): Add elision unlock.
11358 * nptl/sysdeps/pthread/pthread.h:
11359 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11360 (PTHREAD_RWLOCK_INITIALIZER,
11361 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11362 Handle new elision field.
11363 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11364 * sysdeps/arm/nptl/bits/pthreadtypes.h
11365 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11366 * sysdeps/sh/nptl/bits/pthreadtypes.h
11367 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11368 * sysdeps/tile/nptl/bits/pthreadtypes.h
11369 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11370 * sysdeps/a/nptl/bits/pthreadtypes.h
11371 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11372 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11373 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11375 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11376 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11377 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11378 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11380 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11381 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11382 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11384 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11386 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11388 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11389 (elision_init): Set try_xbegin to zero when no RTM.
11390 * sysdeps/x86/nptl/bits/pthreadtypes.h
11391 (pthread_rwlock_t): Change __pad1 to __rwelision.
11392 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11393
11394 2014-06-13 Andi Kleen <ak@linux.intel.com>
11395
11396 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11397 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11398 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11399 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11400
11401 2014-06-13 Meador Inge <meadori@codesourcery.com>
11402
11403 [BZ #16996]
11404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11405 that the cached result has been set before returning it.
11406
11407 2014-06-12 Roland McGrath <roland@hack.frob.com>
11408
11409 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11410 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11411 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11412 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11413 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11414 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11415
11416 * nptl/sysdeps/sparc/Makefile: Moved ...
11417 * sysdeps/sparc/nptl/Makefile: ... here.
11418 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11419 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11420 * nptl/sysdeps/sparc/tls.h: Moved ...
11421 * sysdeps/sparc/nptl/tls.h: ... here.
11422 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11423 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11424 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11425 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11426 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11427 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11428 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11429 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11430 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11431 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11432 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11433 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11434 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11435 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11436 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11437 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11438 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11439 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11440 Update #include.
11441 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11442 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11443 Update #include.
11444 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11445 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11446 Update #include.
11447 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11448 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11449 Update #include.
11450
11451 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11452
11453 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11454 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11455
11456 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11457 (struct list_links): Type removed.
11458 (struct thread_node, struct timer_node): Replace struct list_links
11459 with struct list_head.
11460 (list_unlink_ip): Likewise.
11461 * sysdeps/pthread/timer_routines.c
11462 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11463 (list_append, list_insbefore): Likewise.
11464 (list_init): Function removed.
11465 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11466 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11467 * sysdeps/pthread/Makefile: ... here, new file.
11468
11469 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11470 * sysdeps/nptl/Implies: ... here.
11471 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11472 * nptl/sysdeps/pthread/list.h: Moved ...
11473 * include/list.h: ... here.
11474 * nptl/sysdeps/pthread/createthread.c: Moved ...
11475 * nptl/createthread.c: ... here.
11476 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11477 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11478 * nptl/pt-longjmp.c: ... here.
11479 * nptl/sysdeps/pthread/Makefile: Moved ...
11480 * sysdeps/nptl/Makefile: ... here.
11481 * nptl/sysdeps/pthread/Subdirs: Moved ...
11482 * sysdeps/nptl/Subdirs: ... here.
11483 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11484 * sysdeps/nptl/aio_misc.h: ... here.
11485 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11486 * sysdeps/nptl/bits/libc-lock.h: ... here.
11487 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11488 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11489 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11490 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11491 * nptl/sysdeps/pthread/configure: Moved ...
11492 * sysdeps/nptl/configure: ... here.
11493 * nptl/sysdeps/pthread/configure.ac: Moved ...
11494 * sysdeps/nptl/configure.ac: ... here.
11495 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11496 * sysdeps/nptl/gai_misc.h: ... here.
11497 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11498 * sysdeps/nptl/librt-cancellation.c: ... here.
11499 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11500 * sysdeps/nptl/malloc-machine.h: ... here.
11501 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11502 * sysdeps/nptl/pthread-functions.h: ... here.
11503 * nptl/sysdeps/pthread/pthread.h: Moved ...
11504 * sysdeps/nptl/pthread.h: ... here.
11505 * nptl/sysdeps/pthread/setxid.h: Moved ...
11506 * sysdeps/nptl/setxid.h: ... here.
11507 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11508 * sysdeps/nptl/sigfillset.c: ... here.
11509 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11510 * sysdeps/nptl/tcb-offsets.h: ... here.
11511 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11512 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11513 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11514 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11515 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11516 * sysdeps/pthread/allocalim.h: ... here.
11517 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11518 * sysdeps/pthread/bits/sigthread.h: ... here.
11519 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11520 * sysdeps/pthread/flockfile.c: ... here.
11521 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11522 * sysdeps/pthread/ftrylockfile.c: ... here.
11523 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11524 * sysdeps/pthread/funlockfile.c: ... here.
11525 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11526 * sysdeps/pthread/posix-timer.h: ... here.
11527 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11528 * sysdeps/pthread/timer_create.c: ... here.
11529 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11530 * sysdeps/pthread/timer_delete.c: ... here.
11531 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11532 * sysdeps/pthread/timer_getoverr.c: ... here.
11533 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11534 * sysdeps/pthread/timer_gettime.c: ... here.
11535 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11536 * sysdeps/pthread/timer_routines.c: ... here.
11537 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11538 * sysdeps/pthread/timer_settime.c: ... here.
11539 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11540 * sysdeps/pthread/tst-timer.c: ... here.
11541 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11542 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11543
11544 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11545 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11546
11547 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11548 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11549 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11550 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11551 Update #include target.
11552 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11553 * sysdeps/i386/i686/nptl/Makefile: ... here.
11554 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11555 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11556 Update #include target.
11557 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11558 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11559 * nptl/sysdeps/i386/Makefile: Moved ...
11560 * sysdeps/i386/nptl/Makefile: ... here.
11561 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11562 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11563 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11564 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11565 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11566 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11567 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11568 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11569 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11570 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11571 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11572 * nptl/sysdeps/i386/tls.h: Moved ...
11573 * sysdeps/i386/nptl/tls.h: ... here.
11574
11575 * sysdeps/sh/Makefile [$(subdir) = csu]
11576 (gen-as-const-headers): Add tcb-offsets.sym.
11577 * nptl/sysdeps/sh/Makefile: File removed.
11578 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11579 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11580 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11581 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11582 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11583 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11584 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11585 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11586 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11587 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11588 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11589 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11590 * nptl/sysdeps/sh/tls.h: Moved ...
11591 * sysdeps/sh/nptl/tls.h: ... here.
11592 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11593 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11594 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11595 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11596 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11597 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11598 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11599 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11600 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11601 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11602 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11603 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11604 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11605 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11606 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11607 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11608 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11609 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11610 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11611 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11612 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11613 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11614 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11615 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11616 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11617 Moved ...
11618 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11619 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11620 Moved ...
11621 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11623 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11624 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11625 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11626 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11627 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11628 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11629 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11630 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11631 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11632 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11633 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11634 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11635 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11636 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11637 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11638 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11639 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11640
11641 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11642
11643 * posix/spawn_faction_addopen.c: Include string.h.
11644
11645 2014-06-11 Roland McGrath <roland@hack.frob.com>
11646
11647 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11648 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11649 * nptl/sysdeps/x86_64/Makefile: Moved ...
11650 * sysdeps/x86_64/nptl/Makefile: ... here.
11651 * nptl/sysdeps/x86_64/configure: Moved ...
11652 * sysdeps/x86_64/nptl/configure: ... here.
11653 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11654 * sysdeps/x86_64/nptl/configure.ac: ... here.
11655 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11656 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11657 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11658 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11659 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11660 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11661 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11662 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11663 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11664 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11665 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11666 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11667 * nptl/sysdeps/x86_64/tls.h: Moved ...
11668 * sysdeps/x86_64/nptl/tls.h: ... here.
11669 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11670 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11671 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11672 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11673
11674 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11675
11676 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11677
11678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11679
11680 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11681
11682 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11683 type.
11684 [POSIX] (off_t): Likewise.
11685 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11686 [POSIX] (S_ISBLK): Require macro.
11687 [POSIX] (S_ISCHR): Likewise.
11688 [POSIX] (S_ISDIR): Likewise.
11689 [POSIX] (S_ISFIFO): Likewise.
11690 [POSIX] (S_ISREG): Likewise.
11691 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11692 optional-macro.
11693 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11694 type.
11695 [POSIX] (time_t): Likewise.
11696 [POSIX] (timer_t): Likewise.
11697
11698 2014-06-11 Florian Weimer <fweimer@redhat.com>
11699
11700 [BZ #17048]
11701 * posix/spawn_int.h (struct __spawn_action): Make the path string
11702 non-const to support deallocation.
11703 * posix/spawn_faction_addopen.c
11704 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11705 * posix/spawn_faction_destroy.c
11706 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11707 path in all spawn_do_open actions.
11708 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11709 posix_spawn_file_actions_addopen.
11710
11711 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11712
11713 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11714 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11715 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11716 conditional code always true.
11717 (__libc_vfork): New alias.
11718
11719 2014-06-11 Roland McGrath <roland@hack.frob.com>
11720
11721 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11722 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11723
11724 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11725
11726 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11727 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11728
11729 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11730 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11731
11732 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11733 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11734
11735 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11736
11737 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11738 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11739 multiarch strcmp for PPC64.
11740 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11741 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11743 multiarch optimizations.
11744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11745 (__libc_ifunc_impl_list): Likewise.
11746
11747 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11748
11749 * benchtests/scripts/validate_benchout.py: New script.
11750 * benchtests/Makefile (bench-func): Call it.
11751 * benchtests/scripts/benchout.schema.json: New file.
11752
11753 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11754
11755 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11756 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11757 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11758 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11759 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11760 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11761 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11762 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11763 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11764 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11765 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11766 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11767 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11768 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11769 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11770 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11772 Moved ...
11773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11774 ... here.
11775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11776 Moved ...
11777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11779 Moved ...
11780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11781 ... here.
11782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11783 Moved ...
11784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11785 ... here.
11786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11787 Moved ...
11788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11790 Moved ...
11791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11792 ... here.
11793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11794 Moved ...
11795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11796 ... here.
11797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11798 Moved ...
11799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11801 Moved ...
11802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11803 ... here.
11804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11805 Moved ...
11806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11807 ... here.
11808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11809 Moved ...
11810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11811 ... here.
11812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11813 Moved ...
11814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11816 Moved ...
11817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11818 ... here.
11819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11820 Moved ...
11821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11822 ... here.
11823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11824 Moved ...
11825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11826 ... here.
11827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11828 Moved ...
11829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11831 Moved ...
11832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11833 ... here.
11834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11835 Moved ...
11836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11837 ... here.
11838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11839 Moved ...
11840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11842 Moved ...
11843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11844 ... here.
11845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11846 Moved ...
11847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11849 Moved ...
11850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11852 Moved ...
11853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11854 ... here.
11855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11856 Moved ...
11857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11858 ... here.
11859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11860 Moved ...
11861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11862 ... here.
11863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11864 Moved ...
11865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11867 Moved ...
11868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11869 ... here.
11870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11871 Moved ...
11872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11873 ... here.
11874 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11875 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11876 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11877 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11879 Moved ...
11880 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11881 ... here.
11882 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11883 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11884 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11885 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11887 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11888 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11889 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11890 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11891 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11892 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11893 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11895 Moved ...
11896 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11898 Moved ...
11899 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11901 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11903 Moved ...
11904 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11908 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11909 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11910 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11911
11912 2014-06-10 Wilco <wdijkstr@arm.com>
11913
11914 * math/test-fenv-return.c: New file.
11915 * math/Makefile: Add new test test-fenv-return.
11916
11917 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11918
11919 [BZ #17042]
11920 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11921 when x - 1 is zero.
11922 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11923 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11924 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11925 0.0L for an argument of 1.0L.
11926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11927 Likewise.
11928 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11929 value when x - 1 is zero.
11930 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11931 * sysdeps/i386/fpu/libm-test-ulps: Update.
11932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11933
11934 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11935
11936 [BZ #15119]
11937 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11938
11939 2014-06-09 Roland McGrath <roland@hack.frob.com>
11940
11941 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11942 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11943
11944 2014-06-09 Roland McGrath <roland@hack.frob.com>
11945
11946 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11947 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11948
11949 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11950 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11951
11952 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11953 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11954
11955 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11956 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11957
11958 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11959 if not already defined.
11960 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11961 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11962 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11963 (TLS_INIT_TP): Use it.
11964 (TLS_DEFINE_INIT_TP): New macro.
11965 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11966
11967 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11968
11969 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11970 constant.
11971 [POSIX] (IXANY): Likewise.
11972 [POSIX] (OLCUC): Likewise.
11973 [POSIX || POSIX2008] (CBAUD): Do not allow.
11974 [POSIX || POSIX2008] (DEFECHO): Likewise.
11975 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11976 [POSIX || POSIX2008] (ECHOKE): Likewise.
11977 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11978 [POSIX || POSIX2008] (EXTA): Likewise.
11979 [POSIX || POSIX2008] (EXTB): Likewise.
11980 [POSIX || POSIX2008] (FLUSHO): Likewise.
11981 [POSIX || POSIX2008] (LOBLK): Likewise.
11982 [POSIX || POSIX2008] (PENDIN): Likewise.
11983 [POSIX || POSIX2008] (SWTCH): Likewise.
11984 [POSIX || POSIX2008] (VDISCARD): Likewise.
11985 [POSIX || POSIX2008] (VDSUSP): Likewise.
11986 [POSIX || POSIX2008] (VLNEXT): Likewise.
11987 [POSIX || POSIX2008] (VREPRINT): Likewise.
11988 [POSIX || POSIX2008] (VSTATUS): Likewise.
11989 [POSIX || POSIX2008] (VWERASE): Likewise.
11990 (B*): Change to B[0123456789]*.
11991 * conform/data/time.h-data [POSIX || UNIX98]
11992 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11993 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11994 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11995 [POSIX] (tm_*): Do not allow.
11996
11997 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11998
11999 * Makefile (install): Don't set LANGUAGE.
12000 * Makefile.in (install): Likewise.
12001 * assert/Makefile (test-assert-ENV): Remove variable.
12002 (test-assert-perr-ENV): Likewise.
12003 * elf/Makefile (neededtest4-ENV): Likewise.
12004 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12005 [$(cross-compiling) = no]: Don't set LANGUAGE.
12006 * io/ftwtest-sh (LANG): Remove variable.
12007 * libio/Makefile (tst-widetext-ENV): Likewise.
12008 * manual/install.texi (Running make install): Don't refer to
12009 environment settings for make install.
12010 * INSTALL: Regenerated.
12011 * nptl/tst-tls6.sh: Don't set LANG.
12012 * posix/globtest.sh (LANG): Remove variable.
12013 * string/Makefile (tester-ENV): Likewise.
12014 (inl-tester-ENV): Likewise.
12015 (noinl-tester-ENV): Likewise.
12016 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12017 [$(cross-compiling) = no]: Don't set LANGUAGE.
12018 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12019 without explicit environment settings.
12020
12021 2014-06-06 Roland McGrath <roland@hack.frob.com>
12022
12023 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12024 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12025 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12026 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12027
12028 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12029
12030 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12031 other files in the crypt directory.
12032 * crypt/crypt.c: Remove duplicate includes.
12033 * crypt/crypt-entry.c: Likewise.
12034 * crypt/crypt_util.c: Likewise.
12035
12036 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12037
12038 * Makeconfig (run-program-env): New variable.
12039 (run-program-prefix-before-env): Likewise.
12040 (run-program-prefix-after-env): Likewise.
12041 (run-program-prefix): Define in terms of new variables.
12042 (built-program-cmd-before-env): New variable.
12043 (built-program-cmd-after-env): Likewise.
12044 (built-program-cmd): Define in terms of new variables.
12045 (test-program-prefix-before-env): New variable.
12046 (test-program-prefix-after-env): Likewise.
12047 (test-program-prefix): Define in terms of new variables.
12048 (test-program-cmd-before-env): New variable.
12049 (test-program-cmd-after-env): Likewise.
12050 (test-program-cmd): Define in terms of new variables.
12051 * Rules (make-test-out): Use $(run-program-env).
12052 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12053 (help): Do not mention environment variables. Mention
12054 --timeoutfactor option.
12055 (timeoutfactor): New variable.
12056 (blacklist_exports): Remove function.
12057 (exports): Remove variable.
12058 (command): Do not include ${exports}.
12059 * manual/install.texi (Configuring and compiling): Do not mention
12060 test wrappers preserving environment variables. Mention that last
12061 assignment to a variable must take precedence.
12062 * INSTALL: Regenerated.
12063 * benchtests/Makefile (run-bench): Use $(run-program-env).
12064 * catgets/Makefile ($(objpfx)test1.cat): Use
12065 $(built-program-cmd-before-env), $(run-program-env) and
12066 $(built-program-cmd-after-env).
12067 ($(objpfx)test2.cat): Do not specify environment variables
12068 explicitly.
12069 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12070 $(run-program-env) and $(built-program-cmd-after-env).
12071 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12072 $(run-program-env) and $(test-program-cmd-after-env).
12073 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12074 explicitly.
12075 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12076 run_program_env and test_program_cmd_after_env arguments.
12077 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12078 * elf/tst-pathopt.sh: Use run_program_env argument.
12079 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12080 $(test-wrapper-env) and $(run-program-env).
12081 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12082 run_program_env arguments.
12083 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12084 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12085 $(test-program-prefix-before-env), $(run-program-env) and
12086 $(test-program-prefix-after-env).
12087 ($(objpfx)tst-gettext2.out): Likewise.
12088 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12089 run_program_env and test_program_prefix_after_env arguments.
12090 * intl/tst-gettext2.sh: Likewise.
12091 * intl/tst-gettext4.sh: Do not set environment variables
12092 explicitly.
12093 * intl/tst-gettext6.sh: Likewise.
12094 * intl/tst-translit.sh: Likewise.
12095 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12096 $(test-program-prefix-before-env), $(run-program-env) and
12097 $(test-program-prefix-after-env).
12098 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12099 run_program_env and test_program_prefix_after_env arguments.
12100 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12101 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12102 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12103 explicitly with each use of ${test_wrapper_env}.
12104 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12105 $(test-program-prefix-before-env), $(run-program-env) and
12106 $(test-program-prefix-after-env).
12107 * posix/tst-getconf.sh: Do not set environment variables
12108 explicitly.
12109 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12110 run_program_env and test_program_prefix_after_env arguments.
12111 * stdio-common/tst-printf.sh: Do not set environment variables
12112 explicitly.
12113 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12114 $(test-program-prefix-before-env), $(run-program-env) and
12115 $(test-program-prefix-after-env).
12116 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12117 run_program_env and test_program_prefix_after_env arguments.
12118 Split $test calls into $test_pre and $test.
12119 * timezone/Makefile (build-testdata): Use
12120 $(built-program-cmd-before-env), $(run-program-env) and
12121 $(built-program-cmd-after-env).
12122
12123 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12124
12125 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12126 strlen for non SHARED builds.
12127
12128 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12129
12130 * nptl/allocatestack.c (check_list): Inlined function...
12131 (__reclaim_stacks): ... here.
12132
12133 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12134
12135 [BZ #15698]
12136 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12137 memory overrun.
12138
12139 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12140
12141 * Rules (make-test-out): Include
12142 LOCPATH=$(common-objpfx)localedata in default environment.
12143 * debug/Makefile (tst-chk1-ENV): Remove variable.
12144 (tst-chk2-ENV): Likewise.
12145 (tst-chk3-ENV): Likewise.
12146 (tst-chk4-ENV): Likewise.
12147 (tst-chk5-ENV): Likewise.
12148 (tst-chk6-ENV): Likewise.
12149 (tst-lfschk1-ENV): Likewise.
12150 (tst-lfschk2-ENV): Likewise.
12151 (tst-lfschk3-ENV): Likewise.
12152 (tst-lfschk4-ENV): Likewise.
12153 (tst-lfschk5-ENV): Likewise.
12154 (tst-lfschk6-ENV): Likewise.
12155 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12156 (tst-iconv7-ENV): Likewise.
12157 * intl/Makefile (LOCPATH-ENV): Likewise.
12158 (tst-codeset-ENV): Likewise.
12159 (tst-gettext3-ENV): Likewise.
12160 (tst-gettext5-ENV): Likewise.
12161 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12162 (tst-fopenloc-ENV): Likewise.
12163 (tst-fgetws-ENV): Remove variable.
12164 (tst-ungetwc1-ENV): Likewise.
12165 (tst-ungetwc2-ENV): Likewise.
12166 (bug-ungetwc2-ENV): Likewise.
12167 (tst-swscanf-ENV): Likewise.
12168 (bug-ftell-ENV): Likewise.
12169 (tst-fgetwc-ENV): Likewise.
12170 (tst-fseek-ENV): Likewise.
12171 (tst-ftell-partial-wide-ENV): Likewise.
12172 (tst-ftell-active-handler-ENV): Likewise.
12173 (tst-ftell-append-ENV): Likewise.
12174 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12175 (tst-regexloc-ENV): Likewise.
12176 (bug-regex1-ENV): Likewise.
12177 (tst-regex-ENV): Likewise.
12178 (tst-regex2-ENV): Likewise.
12179 (bug-regex5-ENV): Likewise.
12180 (bug-regex6-ENV): Likewise.
12181 (bug-regex17-ENV): Likewise.
12182 (bug-regex18-ENV): Likewise.
12183 (bug-regex19-ENV): Likewise.
12184 (bug-regex20-ENV): Likewise.
12185 (bug-regex22-ENV): Likewise.
12186 (bug-regex23-ENV): Likewise.
12187 (bug-regex25-ENV): Likewise.
12188 (bug-regex26-ENV): Likewise.
12189 (bug-regex30-ENV): Likewise.
12190 (bug-regex32-ENV): Likewise.
12191 (bug-regex33-ENV): Likewise.
12192 (bug-regex34-ENV): Likewise.
12193 (bug-regex35-ENV): Likewise.
12194 (tst-rxspencer-ENV): Likewise.
12195 (tst-rxspencer-no-utf8-ENV): Likewise.
12196 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12197 (tst-sscanf-ENV): Likewise.
12198 (tst-swprintf-ENV): Likewise.
12199 (tst-swscanf-ENV): Likewise.
12200 (test-vfprintf-ENV): Likewise.
12201 (scanf13-ENV): Likewise.
12202 (bug14-ENV): Likewise.
12203 (tst-grouping-ENV): Likewise.
12204 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12205 (tst-strtod3-ENV): Likewise.
12206 (tst-strtod4-ENV): Likewise.
12207 (tst-strtod5-ENV): Likewise.
12208 (testmb2-ENV): Likewise./
12209 * string/Makefile (tst-strxfrm-ENV): Likewise.
12210 (tst-strxfrm2-ENV): Likewise.
12211 (bug-strcoll1-ENV): Likewise.
12212 (test-strcasecmp-ENV): Likewise.
12213 (test-strncasecmp-ENV): Likewise.
12214 * time/Makefile (tst-strptime-ENV): Likewise.
12215 (tst-ftime_l-ENV): Likewise.
12216 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12217 (tst-mbrtowc-ENV): Likewise.
12218 (tst-wcrtomb-ENV): Likewise.
12219 (tst-mbrtowc2-ENV): Likewise.
12220 (tst-c16c32-1-ENV): Likewise.
12221 (tst-mbsnrtowcs-ENV): Likewise.
12222
12223 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12224
12225 * manual/resource.texi (How to get information about the memory
12226 subsystem?): Fix typo.
12227 Reported by Peon de la Parra Ivan <peon@keba.com>
12228
12229 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12230
12231 [BZ #16882]
12232 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12233 (pthread_spin_lock): Branch out of spin loop to proper location.
12234 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12235 (pthread_spin_lock): Likewise.
12236
12237 * nptl/tst-spin4.c: New test.
12238 * nptl/Makefile (tests): Add tst-spin4.
12239
12240 2014-06-03 Andreas Schwab <schwab@suse.de>
12241
12242 [BZ #15946]
12243 * resolv/res_send.c (send_dg): Reload file descriptor after
12244 calling reopen.
12245
12246 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12247
12248 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12249
12250 2014-06-03 Richard Henderson <rth@redhat.com>
12251
12252 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12253 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12254 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12255 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12256 in the SAVE_PID block.
12257 (__libc_vfork): New alias.
12258 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12259
12260 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12261 child in registers, not on the stack. Remove RESET_PID conditionals.
12262 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12263
12264 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12265
12266 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12267
12268 2014-06-03 Wilco <wdijkstr@arm.com>
12269
12270 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12271 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12272 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12273 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12274 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12275 Likewise.
12276
12277 2014-06-03 Wilco <wdijkstr@arm.com>
12278
12279 * sysdeps/aarch64/fpu/math_private.h
12280 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12281 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12282 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12283 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12284 Fix declarations.
12285
12286 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12287
12288 * crypt/crypt-private.h: Include ufc-crypt.h.
12289 (__b64_from_24bit): Declare extern.
12290 * crypt/crypt_util.c(__b64_from_24bit): New function.
12291 (b64t): New static const variable.
12292 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12293 (b64t): Remove variable.
12294 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12295 * crypt/sha256-crypt.c: Include crypt-private.h.
12296 (b64t): Remove variable.
12297 (__sha256_crypt_r): Remove b64_from_24bit and replace
12298 with __b64_from_24bit.
12299 * crypt/sha512-crypt.c: Likewise.
12300
12301 2014-06-02 Roland McGrath <roland@hack.frob.com>
12302
12303 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12304 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12305 Label the code __libc_vfork rather than __vfork.
12306 [!NOT_IN_libc] (vfork): Define as weak alias.
12307 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12308 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12309 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12310
12311 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12312
12313 * malloc/malloc.c (malloc_info): Fix format specifier for
12314 n_mmaps.
12315
12316 2014-06-02 Wilco <wdijkstr@arm.com>
12317
12318 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12319 FPCR write.
12320
12321 2014-06-02 Wilco <wdijkstr@arm.com>
12322
12323 [BZ #17009]
12324 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12325 Rewrite to reduce FPCR/FPSR accesses.
12326
12327 2014-06-01 David S. Miller <davem@davemloft.net>
12328
12329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12330
12331 2014-05-31 David S. Miller <davem@davemloft.net>
12332
12333 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12334 to occur in round to nearest mode when |x| >= 2.0
12335
12336 2014-05-30 Richard Henderson <rth@twiddle.net>
12337
12338 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12339 (PSEUDO_RET_NOERRNO): Remove.
12340 (ret): Don't redefine.
12341 (ret_NOERRNO): Define in terms of ret.
12342 (ret_ERRVAL): Likewise.
12343
12344 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12345 use of PSEUDO_RET; perform the error check directly.
12346
12347 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12348
12349 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12350 with __int128_t.
12351
12352 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12353
12354 * malloc/malloc (malloc_info): Fix formatting.
12355
12356 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12357 Roland McGrath <roland@hack.frob.com>
12358
12359 * malloc/malloc (malloc_info): Also print mmapped statistics.
12360
12361 2014-05-30 Roland McGrath <roland@hack.frob.com>
12362
12363 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12364 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12365
12366 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12367
12368 * malloc/malloc.c (malloc_info): Inline mi_arena.
12369
12370 2014-05-29 Richard Henderson <rth@twiddle.net>
12371
12372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12373 Remove comma before expanding ASM_ARGS_##nr.
12374 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12375 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12376 of ASM_ARGS_##nr.
12377 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12378 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12379 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12380 (ASM_ARGS_1): Add leading comma.
12381
12382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12383 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12384 to __errno_location.
12385 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12386 Remove the expected plt for __errno_location.
12387
12388 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12389 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12390 call to __read_tp.
12391
12392 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12393 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12394 it and break it down.
12395 (DOCARGS_0, DOCARGS_1): Do nothing.
12396 (DOCARGS_2): Update to store into the new stack frame.
12397 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12398 (UNDOCARGS_1): Update to restore from the new stack frame.
12399 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12400 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12401
12402 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12403 (SINGLE_THREAD_P): New parameter for result regno.
12404 (PSEUDO): Update to match; use cbz instead of beq.
12405
12406 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12407 Use ENTRY to define the _nocancel entry point. Share the syscall
12408 and syscall error check paths with the cancel path.
12409 (PSEUDO_END): New.
12410
12411 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12412 whitespace; tabs before and after asm mnemonics.
12413
12414 2014-05-29 Eric Wong <normalperson@yhbt.net>
12415
12416 [BZ #15132]
12417 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12418 Call fstat64 or stat64 internally, depending on arguments passed.
12419 Replace stat buffer argument with file descriptor argument.
12420 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12421 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12422 Pass fd to __internal_statvfs instead of calling fstat64.
12423 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12424 Pass fd to __internal_statvfs64 instead of calling fstat64.
12425 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12426 Pass -1 to __internal_statvfs instead of calling stat64.
12427 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12428 Pass -1 to __internal_statvfs64 instead of calling stat64.
12429
12430 2014-05-28 Roland McGrath <roland@hack.frob.com>
12431
12432 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12433 that was previously under [RESET_PID].
12434 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12435
12436 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12437 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12438
12439 2014-05-27 Roland McGrath <roland@hack.frob.com>
12440
12441 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12442
12443 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12444 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12445
12446 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12447
12448 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12449
12450 2014-05-27 Andreas Schwab <schwab@suse.de>
12451
12452 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12453 TLS_INIT_TP macro.
12454 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12455 * elf/rtld.c (init_tls, dl_main): Likewise.
12456 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12457 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12458 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12459 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12460 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12461 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12462 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12463 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12464 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12465 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12466 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12467 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12468 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12469 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12470 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12471 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12472 * sysdeps/generic/tls.h: Update description.
12473
12474 2014-05-27 Will Newton <will.newton@linaro.org>
12475
12476 [BZ #16990]
12477 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12478 and restore r2 rather than just restoring.
12479
12480 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12481
12482 [BZ #16724]
12483 * libio/tst-ftell-append.c: New test case.
12484 * libio/Makefile (tests): Add test case.
12485 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12486 append mode.
12487 * libio/wfileops.c (do_ftell_wide): Likewise.
12488
12489 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12490
12491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12492
12493 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12494 ...
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12497 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12498 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12499 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12500 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12501 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12502 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12504 Moved ...
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12507 Moved ...
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12509 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12510 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12511 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12512 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12513 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12514 ...
12515 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12517 Moved ...
12518 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12519 here.
12520 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12521 ...
12522 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12523 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12524 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12525
12526 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12527 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12528 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12529 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12530
12531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12532 merge into ...
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12535 ...
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12538 ...
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12541 Moved ...
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12543 here.
12544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12545 Moved ...
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12548 Moved ...
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12550
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12552 conditional [RESET_PID].
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12555 removed.
12556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12557 removed.
12558
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12560 <tcb-offsets.h>.
12561 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12562 (__libc_vfork): New strong alias.
12563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12564 removed.
12565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12566 Removed.
12567
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12569 <tcb-offsets.h>.
12570 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12571 (__libc_vfork): New strong alias.
12572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12573 removed.
12574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12575 removed.
12576
12577 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12578
12579 * malloc/malloc.c (mi_arena): New function.
12580 (malloc_info): Remove nested function mi_arena. Call non-nosted
12581 function mi_arena.
12582
12583 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12584
12585 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12586 by insrwi.
12587 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12588 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12589 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12590 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12591 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12592 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12593 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12594
12595 2014-05-26 Andreas Schwab <schwab@suse.de>
12596
12597 [BZ #16984]
12598 * locale/programs/repertoire.c (repertoire_read): Add slash
12599 between I18NPATH element and file name.
12600 * locale/programs/locfile.c (locfile_read): Likewise.
12601
12602 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12603
12604 * nptl/pthread_mutexattr_settype.c
12605 (__pthread_mutexattr_settype):
12606 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12607
12608 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12609
12610 * nptl/tst-mutex5 (do_test):
12611 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12612
12613 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12614
12615 * benchtests/README: Document 'init' directive.
12616 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12617 BENCH_INIT.
12618 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12619 (parse_file): Recognize 'init' directive.
12620
12621 2014-05-26 Kyle McMartin <kyle@redhat.com>
12622
12623 [BZ #16796]
12624 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12625 alignment of struct pthread.
12626
12627 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12628
12629 [BZ #16878]
12630 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12631 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12632 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12633 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12634
12635 2014-05-25 Richard Henderson <rth@twiddle.net>
12636
12637 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12638 (SINGLE_THREAD_P_PIC): Remove.
12639 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12640 (SINGLE_THREAD_P_PIC): Remove.
12641
12642 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12643 branch to syscall error ...
12644 (PSEUDO): ... here.
12645 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12646 from __local_syscall_error to .Lsyscall_error.
12647 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12648 (SYSCALL_ERROR): Update label name.
12649
12650 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12651 Do not use DOARGS/UNDOARGS.
12652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12653 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12654 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12655 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12656 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12657
12658 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12659 block comment.
12660
12661 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12662 define if !NOT_IN_libc.
12663 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12664 define with non-default symbol versions.
12665
12666 2014-05-23 Richard Henderson <rth@twiddle.net>
12667
12668 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12669 (vfork, __vfork): Define via compat_symbol.
12670
12671 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12672 [!HAVE_IFUNC] (vfork_compat): Remove.
12673 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12674
12675 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12676
12677 [BZ #16978]
12678 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12679 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12680 variable.
12681
12682 2014-05-23 Richard Henderson <rth@twiddle.net>
12683
12684 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12685 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12686 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12687 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12688
12689 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12690 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12691 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12692 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12693 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12694 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12695 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12696 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12697 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12698 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12699 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12700 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12701 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12702 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12703 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12704 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12705 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12706 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12707 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12708 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12709 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12710 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12711 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12712 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12713 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12714 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12715 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12716 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12717 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12718 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12719 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12720 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12721 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12722 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12723 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12724 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12725 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12726 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12727 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12728 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12729 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12730 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12731 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12732 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12733 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12734 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12735 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12736 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12737 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12738 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12739 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12740 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12741 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12742 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12743 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12744 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12745
12746 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12747 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12748 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12749 before exiting on error.
12750 (__libc_vfork): New strong alias.
12751 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12752 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12753
12754 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12755 that was previously under [RESET_PID].
12756 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12757
12758 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12759
12760 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12761
12762 [BZ #16977]
12763 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12764 value when x - 1 is zero.
12765 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12766 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12767 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12768 0.0L for an argument of 1.0L.
12769 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12770 Likewise.
12771 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12772 value when x - 1 is zero.
12773 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12774 * sysdeps/i386/fpu/libm-test-ulps: Update.
12775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12776
12777 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12778
12779 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12780 alphasort and versionsort.
12781
12782 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12783
12784 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12785 macro.
12786 [copysignf]: Likewise.
12787
12788 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12789
12790 * crypt/md5-crypt.c: Fix formatting.
12791
12792 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12793
12794 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12795 (b64_from_24bit): New function.
12796
12797 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12798
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12800 libc_hidden_builtin_def to ifunc.
12801 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12802 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12803
12804 2014-05-21 Roland McGrath <roland@hack.frob.com>
12805
12806 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12807 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12808
12809 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12810
12811 * nscd/Depend (linuxthreads): Remove.
12812 (nptl): Add.
12813 * resolv/Depend (linuxthreads): Remove.
12814 * rt/Depend (linuxthreads): Remove.
12815
12816 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12817 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12818 $(common-objpfx)elf/.
12819 (link-libc-before-gnulib): Likewise.
12820 (elfobjdir): Remove variable.
12821 * Makefile (install): Use $(elf-objpfx) instead of
12822 $(common-objpfx)elf/.
12823 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12824 $(elfobjdir)/.
12825 (link-libc-deps): Likewise.
12826 ($(common-objpfx)libc.so): Likewise.
12827 ($(common-objpfx)linkobj/libc.so): Likewise.
12828 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12829 instead of $(common-objpfx)elf/.
12830 (symbolic-link-list): Likewise.
12831 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12832 [$(cross-compiling) = no]: Likewise.
12833 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12834 $(elfobjdir)/.
12835 (static-gnulib-arch): Likewise.
12836 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12837 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12838 $(common-objpfx)elf/.
12839
12840 2014-05-21 Richard Henderson <rth@redhat.com>
12841
12842 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12843 (SINGLE_THREAD_P): Use the correct width load. Fold
12844 into the ldr offset.
12845
12846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12847 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12848
12849 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12850
12851 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12852 (libgcc_s_resume): Use __attribute_used__.
12853 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12854 Likewise.
12855
12856 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12857
12858 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12859 optimization when used with float constants.
12860
12861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12862
12863 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12864
12865 [BZ #16915]
12866 * locale/nl_langinfo_l.c: Make direct reference to every
12867 _nl_current_CATEGORY symbol.
12868 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12869 (tests-static): Add tst-langinfo-static.
12870 (tests-special): Add tst-langinfo-static.out.
12871 ($(objpfx)tst-langinfo.out): Redirect output.
12872 ($(objpfx)tst-langinfo-static.out): New.
12873 * localedata/tst-langinfo.sh: Send output to stdout.
12874 * localedata/tst-langinfo-static.c: New file.
12875
12876 [BZ #16965]
12877 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12878 when the shift amount is modulo the limb size.
12879
12880 2014-05-20 Richard Henderson <rth@redhat.com>
12881
12882 [BZ #16967]
12883 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12884 Change type of sa_flags from unsigned int to int.
12885
12886 [BZ #16966]
12887 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12888
12889 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12890
12891 2014-05-20 Will Newton <will.newton@linaro.org>
12892
12893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12894 Test the return value of the system call in the nocancel case.
12895
12896 2014-05-20 Will Newton <will.newton@linaro.org>
12897 Yvan Roux <yvan.roux@linaro.org>
12898
12899 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12900 #include of asm/ptrace.h.
12901 (PTRACE_GET_THREAD_AREA): Remove #undef.
12902 (PTRACE_GETHBPREGS): Likewise.
12903 (PTRACE_SETHBPREGS): Likewise.
12904 (struct user_regs_struct): New structure.
12905 (struct user_fpsimd_struct): New structure.
12906 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12907 #include of asm/ptrace.h and second #include of sys/user.h.
12908 (PTRACE_GET_THREAD_AREA): Remove #undef.
12909 (PTRACE_GETHBPREGS): Likewise.
12910 (PTRACE_SETHBPREGS): Likewise.
12911 (ELF_NGREG): Use new struct user_regs_struct.
12912 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12913
12914 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12915
12916 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12917 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12918
12919 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12920
12921 [BZ #16958]
12922 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12923 membar to avoid block loads/stores to overlap previous stores.
12924
12925 2014-05-17 Richard Henderson <rth@redhat.com>
12926
12927 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12928 Create the __##syscall_name##_nocancel entry point.
12929 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12930 Remove; let the sysdep-cancel.h code create it.
12931
12932 2014-05-17 David S. Miller <davem@davemloft.net>
12933
12934 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12935 Protect with __USE_GNU.
12936 (TIOCSET_TEMPT): Likewise.
12937 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12938 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12939 these are already provided in bits/ioctl-types.h
12940
12941 2014-05-16 Roland McGrath <roland@hack.frob.com>
12942
12943 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12944 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12945
12946 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12947 Use wait4 regardless of [__NR_waitpid].
12948
12949 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12950
12951 PR libgcc/60166
12952 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12953 (_FP_NANSIGN_Q): Set the quiet bit.
12954
12955 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12956
12957 * benchtests/Makefile
12958 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12959 not $(common-objpfx)math/libm.so.
12960 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12961 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12962 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12963 $(common-objpfx)dlfcn/libdl.so.
12964 ($(objpfx)tst-audit8): Depend on $(libm), not
12965 $(common-objpfx)math/libm.so.
12966 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12967 not $(common-objpfx)dlfcn/libdl.so.
12968 * math/Makefile
12969 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12970 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12971 [$(build-shared) = yes].
12972 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12973 $(common-objpfx)nptl/libpthread.so.
12974 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12975 $(common-objpfx)math/libm.so$(libm.so-version) or
12976 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12977 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12978 $(common-objpfx)dlfcn/libdl.so.
12979 * setjmp/Makefile (link-libm): Remove variable.
12980 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12981 * stdio-common/Makefile (link-libm): Remove variable.
12982 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12983 * stdlib/Makefile (link-libm): Remove variable.
12984 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12985 ($(objpfx)tst-strtod-round): Likewise.
12986 ($(objpfx)tst-tininess): Likewise.
12987 ($(objpfx)tst-strtod-underflow): Likewise.
12988 ($(objpfx)tst-strtod6): Likewise.
12989 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12990 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12991 $(common-objpfx)dlfcn/libdl.so.
12992
12993 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12994
12995 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12996 BSD terminal modes definitions.
12997
12998 2014-05-16 Roland McGrath <roland@hack.frob.com>
12999
13000 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13001 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13002
13003 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13004 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13005 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13006 Don't do #include_next.
13007 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13008 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13009 Don't do #include_next.
13010 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13011 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13012 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13013 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13014
13015 2014-05-16 Allan McRae <allan@archlinux.org>
13016
13017 * po/sv.po: Update Swedish translation from translation project.
13018
13019 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13020 in sed expression.
13021
13022 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13023
13024 [BZ #16917]
13025 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13026 errno if the TIOCGPTN ioctl fails with an error different than
13027 EINVAL.
13028 * login/tst-ptsname.c: New file.
13029 * login/Makefile (tests): Add tst-ptsname.
13030
13031 [BZ #16943]
13032 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13033 and prlimit64.
13034
13035 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13036
13037 [BZ #16849]
13038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13039 herrno to return EAI_AGAIN.
13040
13041 2014-05-14 Roland McGrath <roland@hack.frob.com>
13042
13043 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13044 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13045 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13046 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13047 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13048 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13049 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13050 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13052 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13053 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13054 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13055 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13056 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13057 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13058 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13059 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13060 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13062 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13063 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13064 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13065 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13066 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13067 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13068 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13069 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13070 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13071 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13072 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13074 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13076 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13078 Moved ...
13079 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13081 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13083 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13085 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13087 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13089 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13091 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13093 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13095 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13097 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13099 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13101 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13103 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13105 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13107 Moved ...
13108 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13110 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13112 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13114 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13116 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13118 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13120 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13122 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13124 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13126 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13128 Moved ...
13129 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13131 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13132
13133 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13134 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13135 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13136 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13137 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13138 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13139 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13140 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13141 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13142 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13143 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13144 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13145 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13146 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13147 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13148 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13149 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13150 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13151 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13152 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13153 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13154 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13155 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13156 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13157 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13158 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13159 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13160 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13161 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13162 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13163 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13164
13165 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13166 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13167
13168 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13169 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13170 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13171 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13172 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13173 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13174 Moved ...
13175 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13177 Moved ...
13178 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13180 Moved ...
13181 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13182 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13183 Moved ...
13184 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13185 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13186 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13187 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13188 Moved ...
13189 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13190 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13191 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13193 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13194 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13195 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13196 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13197 Moved ...
13198 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13200 Moved ...
13201 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13202 ... here.
13203 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13204 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13205 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13206 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13207 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13208 Moved ...
13209 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13210 ... here.
13211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13212 Moved ...
13213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13214 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13215 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13216 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13217 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13218 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13219 Moved ...
13220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13222 Moved ...
13223 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13225 Moved ...
13226 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13227 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13228 Moved ...
13229 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13230 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13231 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13232 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13233 Moved ...
13234 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13235 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13236 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13238 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13239 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13240 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13241 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13242 Moved ...
13243 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13245 Moved ...
13246 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13247 ... here.
13248 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13249 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13250 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13251 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13252 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13253 Moved ...
13254 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13255 ... here.
13256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13257 Moved ...
13258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13259 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13260 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13261 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13262 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13263 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13264 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13265 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13266 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13268 Moved ...
13269 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13271 Moved ...
13272 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13274 Moved ...
13275 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13277 Moved ...
13278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13279 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13280 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13281 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13282 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13284 Moved ...
13285 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13286 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13287 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13288 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13289 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13290 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13291 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13292 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13293 Moved ...
13294 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13296 Moved ...
13297 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13298 ... here.
13299 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13300 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13301 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13302 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13303 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13304 Moved ...
13305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13306 ... here.
13307 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13308 Moved ...
13309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13310 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13311 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13312 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13313 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13314 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13315 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13316 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13317 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13318 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13319 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13320
13321 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13322 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13323
13324 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13325 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13326
13327 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13328 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13329 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13330 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13331 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13332 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13333 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13334 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13335 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13336 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13337 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13338 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13339 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13340 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13341 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13343 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13344 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13345 Moved ...
13346 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13348 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13349 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13350 Moved ...
13351 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13353 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13354 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13355 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13357 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13358 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13359 Moved ...
13360 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13362 Moved ...
13363 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13365 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13367 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13369 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13370 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13371 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13372 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13373 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13374 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13375 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13376 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13377 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13378 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13379 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13380
13381 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13382 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13383 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13384 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13385 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13386
13387 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13388 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13390 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13391 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13392 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13393 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13394 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13395 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13396 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13397
13398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13400
13401 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13402 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13403 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13404 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13405 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13406 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13407 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13408 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13409 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13410 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13411 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13412 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13413 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13414 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13416 Update #include.
13417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13418 Likewise.
13419 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13420 Likewise.
13421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13422 Likewise.
13423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13424 Likewise.
13425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13426 Likewise.
13427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13428 Likewise.
13429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13430 Likewise.
13431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13432 Likewise.
13433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13434 Likewise.
13435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13440 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13441 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13442 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13445 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13446 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13447 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13449 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13450
13451 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13452 that was previously under [RESET_PID].
13453 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13454 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13455 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13456
13457 * sysdeps/i386/nptl/Implies: New file.
13458 * sysdeps/x86_64/nptl/Implies: New file.
13459 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13460 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13461 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13462 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13463
13464 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13465 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13466 (__libc_vfork): New strong alias.
13467 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13468 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13469
13470 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13471 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13472 (__libc_vfork): New strong alias.
13473 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13474 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13475
13476 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13477 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13478 (__libc_vfork): New strong alias.
13479 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13480 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13481 * nptl/pt-vfork.c: New file.
13482 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13483 (libpthread: GLIBC_2.20): New version set (empty).
13484
13485 2014-05-14 Will Newton <will.newton@linaro.org>
13486
13487 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13488 rather than #if.
13489
13490 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13491
13492 [BZ #16564]
13493 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13494 arguments with exponent 65 or above.
13495 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13496 arguments 0x1p113L or above.
13497 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13498 to arguments 0x1p107L or above.
13499 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13500 positive arguments with exponent 65 or above.
13501 * math/auto-libm-test-in: Add more tests of log1p.
13502 * math/auto-libm-test-out: Regenerated.
13503
13504 [BZ #16928]
13505 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13506 non-finite arguments is +0.
13507 * math/s_cacosf.c (__cacosf): Likewise.
13508 * math/s_cacosl.c (__cacosl): Likewise.
13509 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13510 * sysdeps/i386/fpu/libm-test-ulps: Update.
13511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13512
13513 [BZ #16927]
13514 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13515 value.
13516 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13517 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13518 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13519 for explicit high bit of mantissa when testing for argument equal
13520 to 1.
13521 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13522 * sysdeps/i386/fpu/libm-test-ulps: Update.
13523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13524
13525 [BZ #16516]
13526 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13527 (__erf): Scale by 16 instead of 8 in potentially underflowing
13528 case. Ensure exception if result actually underflows.
13529 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13530 (__erff): Scale by 16 instead of 8 in potentially underflowing
13531 case. Ensure exception if result actually underflows.
13532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13533 (efx8): Remove variable.
13534 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13535 case. Ensure exception if result actually underflows.
13536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13537 (efx8): Remove variable.
13538 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13539 case. Ensure exception if result actually underflows.
13540 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13541 (efx8): Remove variable.
13542 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13543 case. Ensure exception if result actually underflows.
13544 * math/auto-libm-test-in: Add more tests of erf.
13545 * math/auto-libm-test-out: Regenerated.
13546
13547 2014-05-14 Andreas Schwab <schwab@suse.de>
13548
13549 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13550 Remove code conditionalized on USE___THREAD.
13551
13552 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13553 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13554 not definedness.
13555
13556 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13557
13558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13559 Define unconditionally.
13560 (__ASSUME_O_CLOEXEC): Likewise.
13561 (__ASSUME_SOCK_CLOEXEC): Likewise.
13562 (__ASSUME_IN_NONBLOCK): Likewise.
13563 (__ASSUME_PIPE2): Likewise.
13564 (__ASSUME_EVENTFD2): Likewise.
13565 (__ASSUME_SIGNALFD4): Likewise.
13566 (__ASSUME_DUP3): Likewise.
13567 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13568 (__ASSUME_DUP3): Do not define.
13569 (__ASSUME_EVENTFD2): Likewise.
13570 (__ASSUME_IN_NONBLOCK): Likewise.
13571 (__ASSUME_O_CLOEXEC): Likewise.
13572 (__ASSUME_PIPE2): Likewise.
13573 (__ASSUME_SIGNALFD4): Likewise.
13574 (__ASSUME_SOCK_CLOEXEC): Likewise.
13575 (__ASSUME_UTIMES): Undefine.
13576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13577 (__ASSUME_UTIMES): Do not define.
13578 (__ASSUME_O_CLOEXEC): Likewise.
13579 (__ASSUME_SOCK_CLOEXEC): Likewise.
13580 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13581 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13582 0x020621].
13583 (__ASSUME_PIPE2): Likewise.
13584 (__ASSUME_EVENTFD2): Likewise.
13585 (__ASSUME_SIGNALFD4): Likewise.
13586 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13587 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13588 Do not define.
13589 (__ASSUME_EVENTFD2): Likewise.
13590 (__ASSUME_SIGNALFD4): Likewise.
13591 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13592 (__ASSUME_32BITUIDS): Likewise.
13593 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13594 (__ASSUME_IPC64): Likewise.
13595 (__ASSUME_ST_INO_64_BIT): Likewise.
13596 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13597 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13598 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13599 (__ASSUME_UTIMES): Do not define.
13600 (__ASSUME_PSELECT): Likewise.
13601 (__ASSUME_PPOLL): Likewise.
13602 (__ASSUME_O_CLOEXEC): Likewise.
13603 (__ASSUME_SOCK_CLOEXEC): Likewise.
13604 (__ASSUME_IN_NONBLOCK): Likewise.
13605 (__ASSUME_PIPE2): Likewise.
13606 (__ASSUME_EVENTFD2): Likewise.
13607 (__ASSUME_SIGNALFD4): Likewise.
13608 (__ASSUME_DUP3): Likewise.
13609 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13610 (__ASSUME_UTIMES): Likewise.
13611 (__ASSUME_O_CLOEXEC): Likewise.
13612 (__ASSUME_SOCK_CLOEXEC): Likewise.
13613 (__ASSUME_IN_NONBLOCK): Likewise.
13614 (__ASSUME_PIPE2): Likewise.
13615 (__ASSUME_EVENTFD2): Likewise.
13616 (__ASSUME_SIGNALFD4): Likewise.
13617 (__ASSUME_DUP3): Likewise.
13618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13619 (__ASSUME_UTIMES): Likewise.
13620 (__ASSUME_O_CLOEXEC): Likewise.
13621 (__ASSUME_SOCK_CLOEXEC): Likewise.
13622 (__ASSUME_IN_NONBLOCK): Likewise.
13623 (__ASSUME_PIPE2): Likewise.
13624 (__ASSUME_EVENTFD2): Likewise.
13625 (__ASSUME_SIGNALFD4): Likewise.
13626 (__ASSUME_DUP3): Likewise.
13627 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13628 Likewise.
13629 (__ASSUME_UTIMES): Likewise.
13630 (__ASSUME_EVENTFD2): Likewise.
13631 (__ASSUME_SIGNALFD4): Likewise.
13632 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13633 (__ASSUME_O_CLOEXEC): Likewise.
13634 (__ASSUME_SOCK_CLOEXEC): Likewise.
13635 (__ASSUME_IN_NONBLOCK): Likewise.
13636 (__ASSUME_PIPE2): Likewise.
13637 (__ASSUME_EVENTFD2): Likewise.
13638 (__ASSUME_SIGNALFD4): Likewise.
13639 (__ASSUME_DUP3): Likewise.
13640 (__ASSUME_UTIMES): Undefine.
13641
13642 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13643 feclearexcept. Remove symbol versioning code.
13644 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13645 symbol versioning code.
13646 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13647 symbol versioning code.
13648 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13649 feupdateenv. Remove symbol versioning code.
13650 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13651 fegetexceptflag. Remove symbol versioning code.
13652 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13653 fesetexceptflag. Remove symbol versioning code.
13654 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13655 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13656 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13657 (__posix_fadvise64_l32): Remove prototype.
13658 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13659 code.
13660
13661 2014-05-13 Roland McGrath <roland@hack.frob.com>
13662
13663 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13664 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13665 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13666 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13667
13668 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13669
13670 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13671 current working directory
13672
13673 2014-05-13 Roland McGrath <roland@hack.frob.com>
13674
13675 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13676 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13677 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13678 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13679 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13680 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13681 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13682 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13683 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13684 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13685 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13686 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13687 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13688 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13690 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13691 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13692 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13693 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13694 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13695 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13696 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13697 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13698 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13699 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13700 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13701 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13702 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13703 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13704 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13705 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13706 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13707 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13708 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13709 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13710 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13711 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13712 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13713 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13714 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13715 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13716 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13717
13718 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13719 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13720
13721 * sysdeps/unix/sysv/linux/arm/Makefile
13722 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13723 Add rt-aeabi_unwind_cpp_pr1.
13724 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13725 Add nptl-aeabi_unwind_cpp_pr1.
13726 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13727 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13728 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13729 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13730 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13731 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13732
13733 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13734 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13735 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13736 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13737
13738 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13739 Deconditionalize the code that was previously under [RESET_PID].
13740 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13741
13742 * sysdeps/generic/exit-thread.h: New file.
13743 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13744 * include/unistd.h (__exit_thread): Remove declaration.
13745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13746 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13747 * csu/libc-start.c: Include <exit-thread.h>.
13748 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13749 * nptl/pthread_create.c: Include <exit-thread.h>.
13750 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13751 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13752 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13753 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13754 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13755 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13756 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13757 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13758 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13759 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13760 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13761 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13762 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13763 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13764 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13765 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13766 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13767
13768 2014-05-13 Andreas Schwab <schwab@suse.de>
13769
13770 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13771
13772 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13773
13774 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13775 (__ASSUME_UTIMES): Do not condition on kernel version.
13776 (__ASSUME_PSELECT): Define unconditionally.
13777 (__ASSUME_PPOLL): Likewise.
13778 (__ASSUME_ATFCTS): Likewise.
13779 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13780 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13781 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13782 (__ASSUME_UTIMENSAT): Define unconditionally.
13783 (__ASSUME_PRIVATE_FUTEX): Likewise.
13784 (__ASSUME_FALLOCATE): Likewise.
13785 (__ASSUME_O_CLOEXEC): Likewise.
13786 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13787 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13788 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13789 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13790 (__ASSUME_IN_NONBLOCK): Likewise.
13791 (__ASSUME_PIPE2): Likewise.
13792 (__ASSUME_EVENTFD2): Likewise.
13793 (__ASSUME_SIGNALFD4): Likewise.
13794 (__ASSUME_DUP3): Likewise.
13795 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13796 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13797 (__ASSUME_AT_RANDOM): Likewise.
13798 (__ASSUME_PREADV): Likewise.
13799 (__ASSUME_PWRITEV): Likewise.
13800 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13801 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13802 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13803 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13804 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13805 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13806 (__ASSUME_O_CLOEXEC): Define unconditionally.
13807 (__ASSUME_PSELECT): Do not undefine conditionally.
13808 (__ASSUME_PPOLL): Likewise.
13809 (__ASSUME_ATFCTS): Likewise.
13810 (__ASSUME_SET_ROBUST_LIST): Likewise.
13811 (__ASSUME_UTIMENSAT): Likewise.
13812 (__ASSUME_FDATASYNC): Define unconditionally.
13813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13814 (__ASSUME_SIGFRAME_V2): Likewise.
13815 )__ASSUME_EVENTFD2): Likewise.
13816 (__ASSUME_SIGNALFD4): Likewise.
13817 (__ASSUME_PSELECT): Do not undefine conditionally.
13818 (__ASSUME_PPOLL): Likewise.
13819 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13820 (__ASSUME_PSELECT): Define unconditionally.
13821 (__ASSUME_PPOLL): Likewise.
13822 (__ASSUME_O_CLOEXEC): Likewise.
13823 (__ASSUME_SOCK_CLOEXEC): Likewise.
13824 (__ASSUME_IN_NONBLOCK): Likewise.
13825 (__ASSUME_PIPE2): Likewise.
13826 (__ASSUME_EVENTFD2): Likewise.
13827 (__ASSUME_SIGNALFD4): Likewise.
13828 (__ASSUME_DUP3): Likewise.
13829 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13830 (__ASSUME_O_CLOEXEC): Likewise.
13831 (__ASSUME_SOCK_CLOEXEC): Likewise.
13832 (__ASSUME_IN_NONBLOCK): Likewise.
13833 (__ASSUME_PIPE2): Likewise.
13834 (__ASSUME_EVENTFD2): Likewise.
13835 (__ASSUME_SIGNALFD4): Likewise.
13836 (__ASSUME_DUP3): Likewise.
13837 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13838 (__ASSUME_EVENTFD2): Likewise.
13839 (__ASSUME_SIGNALFD4): Likewise.
13840 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13841
13842 2014-05-12 Andreas Schwab <schwab@suse.de>
13843
13844 [BZ #16932]
13845 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13846 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13847 than maximum RPC packet size.
13848 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13849 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13850 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13851 (_nss_nis_getservbyport_r): Likewise.
13852
13853 2014-05-12 Will Newton <will.newton@linaro.org>
13854
13855 * malloc/Makefile (tests): Add tst-mallopt.
13856 * malloc/tst-mallopt.c: New file.
13857
13858 2014-05-09 Roland McGrath <roland@hack.frob.com>
13859
13860 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13861 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13862
13863 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13864
13865 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13866 (tst-tlsmod6.so): Likewise.
13867
13868 2014-05-09 Roland McGrath <roland@hack.frob.com>
13869
13870 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13871
13872 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13873
13874 [BZ #16064]
13875 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13876 and <dl-procinfo.h>.
13877 (__fegetenv): Save SSE state in envp->__eip if supported.
13878 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13879 envp->__eip if supported.
13880 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13881 and <dl-procinfo.h>.
13882 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13883 __data_offset and __data_selector in environment to 0. Set SSE
13884 state if supported.
13885 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13886 test-fenv-sse.
13887 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13888 -mfpmath=sse.
13889 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13890
13891 2014-05-09 Will Newton <will.newton@linaro.org>
13892
13893 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13894 and libc_relro_required for ARM.
13895 * sysdeps/arm/preconfigure: Regenerate.
13896
13897 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13898 Stefan Liebler <stli@linux.vnet.ibm.com>
13899
13900 * config.make.in (enable-lock-elision): New Makefile variable.
13901 * configure.ac: Likewise.
13902 * configure: Regenerate.
13903 * sysdeps/s390/configure.ac:
13904 Add check for gcc transactions support.
13905 * sysdeps/s390/configure: Regenerate.
13906 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13907 Build elision files if enabled.
13908 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13909 Add lock elision support for s390.
13910 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13911 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13912 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13913 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13914 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13915 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13916 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13917 Likewise.
13918 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13919 Likewise.
13920 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13921 Likewise.
13922 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13923 Likewise.
13924 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13925 (__lll_timedlock_elision, __lll_lock_elision)
13926 (__lll_unlock_elision, __lll_trylock_elision)
13927 (lll_timedlock_elision, lll_lock_elision)
13928 (lll_unlock_elision, lll_trylock_elision): Add.
13929 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13930 (pthread_mutex_t): Add lock elision support for s390.
13931
13932 2014-05-14 Wilco <wdijkstr@arm.com>
13933
13934 * sysdeps/arm/fclrexcpt.c: Cleanup.
13935 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13936 * sysdeps/arm/feenablxcpt.c: Cleanup.
13937 * sysdeps/arm/fegetenv.c: Cleanup.
13938 * sysdeps/arm/fegetexcept.c: Cleanup.
13939 * sysdeps/arm/fegetround.c: Cleanup.
13940 * sysdeps/arm/feholdexcpt.c: Cleanup.
13941 * sysdeps/arm/fesetenv.c: Cleanup.
13942 * sysdeps/arm/fesetround.c: Cleanup.
13943 * sysdeps/arm/feupdateenv.c: Cleanup.
13944 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13945 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13946 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13947 * sysdeps/arm/ftestexcept.c: Cleanup.
13948 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13949 * sysdeps/arm/setfpucw.c: Cleanup.
13950
13951 2014-05-09 Will Newton <will.newton@linaro.org>
13952
13953 * sysdeps/arm/armv7/strcmp.S: New file.
13954 * NEWS: Mention addition of ARMv7 optimized strcmp.
13955
13956 2014-05-08 Roland McGrath <roland@hack.frob.com>
13957
13958 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13959 look for %.ac rather than %.in.
13960
13961 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13962 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13963 * sysdeps/mach/hurd/configure: Regenerated.
13964 * sysdeps/unix/sysv/linux/configure: Regenerated.
13965
13966 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13967
13968 2014-05-07 Steve Ellcey <sellcey@mips.com>
13969
13970 [BZ# 16922]
13971 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13972 (LONG_SUB): Ditto.
13973 (PTR_SUB): Ditto.
13974
13975 2014-05-07 Andreas Schwab <schwab@suse.de>
13976
13977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13978 when skipping over non-matching result from nscd.
13979
13980 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13981
13982 [BZ #16876]
13983 * nptl/sockperf.c (client): Check socket return value.
13984
13985 [BZ #16877]
13986 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13987 nscd security class.
13988
13989 2014-05-06 Roland McGrath <roland@hack.frob.com>
13990
13991 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13992 * sysdeps/arm/unwind.h: ... here.
13993
13994 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13995
13996 [BZ# 16916]
13997 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13998 Define.
13999
14000 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14001
14002 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14003 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14004 multiarch strncpy for PPC64.
14005 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14006 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14008 multiarch optimizations.
14009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14010 (__libc_ifunc_impl_list): Likewise.
14011 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14012 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14013 multiarch stpncpy for PPC64.
14014 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14015 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14016
14017 2014-05-06 Andreas Schwab <schwab@suse.de>
14018
14019 [BZ #16912]
14020 * gmon/mcount.c (_MCOUNT_DECL): Use
14021 atomic_compare_and_exchange_bool_acq instead of
14022 catomic_compare_and_exchange_bool_acq.
14023
14024 2014-05-05 Roland McGrath <roland@hack.frob.com>
14025
14026 * elf/Makefile (others, install-bin): Remove pldd.
14027 (pldd-modules): Variable removed.
14028 ($(objpfx)pldd): Target removed.
14029 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14030 (others, install-bin): Append pldd here.
14031 ($(objpfx)pldd): New target.
14032
14033 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14034 to 0, so the first #if test emitted later doesn't see it undefined.
14035 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14036 * sysdeps/gnu/errlist.c: Regenerated.
14037
14038 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14039
14040 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14041 [libc_hidden_builtin_def]: Define to empty value.
14042 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14043 [libc_hidden_builtin_def]: Likewise.
14044 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14045 [libc_hidden_builtin_def]: Likewise.
14046 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14047 [libc_hidden_builtin_def]: Likewise.
14048 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14049 __redirect_memcpy and define ifunc as default hidden symbol.
14050 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14051 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14052
14053 2014-05-04 Adam Conrad <adconrad@0c3.net>
14054
14055 * locale/iso-4217.def: Reintroduce XDR currency.
14056
14057 2014-05-04 Allan McRae <allan@archlinux.org>
14058
14059 * po/eo.po: Update Esperanto translation from translation project.
14060
14061 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14062
14063 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14064 and FEATURE_INDEX_MAX to 1.
14065 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14066
14067 2014-05-01 Steve Ellcey <sellcey@mips.com>
14068
14069 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14070 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14071 * iconvdata/big5.c (ONE_DIRECTION): Define.
14072 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14073 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14074 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14075 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14076 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14077 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14078 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14079 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14080 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14081 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14082 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14083 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14084 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14085 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14086 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14087 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14088 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14089 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14090 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14091 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14092 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14093 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14094 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14095 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14096 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14097 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14098 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14099 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14100 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14101 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14102 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14103 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14104 * iconvdata/johab.c (ONE_DIRECTION): Define.
14105 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14106 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14107 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14108 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14109 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14110 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14111 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14112 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14113 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14114 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14115
14116 2014-05-01 Roland McGrath <roland@hack.frob.com>
14117
14118 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14119 (_IO_JUMPS_OFFSET): Define to 0.
14120
14121 * nptl/sysdeps/pthread/bits/libc-lock.h
14122 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14123 (__libc_lock_define_initialized_recursive): Always define using
14124 initializer. Modern compilers treat uninitialized (implicit zero) and
14125 explicit zero initializers the same (i.e. put the datum in bss).
14126
14127 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14128
14129 * nscd/nscd-client.h: Include <string.h>.
14130
14131 2014-05-01 David S. Miller <davem@davemloft.net>
14132
14133 [BZ #16885]
14134 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14135 multiple zero bytes exist at the end of a string.
14136 Reported by Aurelien Jarno <aurelien@aurel32.net>
14137
14138 * string/test-strcmp.c (check): Add explicit test for situations where
14139 there are multiple zero bytes after the first.
14140
14141 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14142
14143 [BZ #16890]
14144 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14145 when compiling wprintf.
14146 * stdio-common/tstdiomisc.c (t3): New function.
14147 (main): Call it.
14148
14149 2014-05-01 Steve Ellcey <sellcey@mips.com>
14150
14151 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14152 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14153 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14154 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14155
14156 2014-05-01 Steve Ellcey <sellcey@mips.com>
14157
14158 * stdlib/longlong.h: Updated from GCC.
14159
14160 2014-05-01 Will Newton <will.newton@linaro.org>
14161 Bernard Ogden <bernie.ogden@linaro.org>
14162
14163 * NEWS: Update fixed bug list.
14164
14165 [BZ #15119]
14166 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14167
14168 2014-04-30 David S. Miller <davem@davemloft.net>
14169
14170 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14171 (libc_feholdexcept_setround_sparc_ctx): New function.
14172 (libc_fesetenv_sparc_ctx): Likewise.
14173 (libc_feupdateenv_sparc_ctx): Likewise.
14174 (libc_feholdsetround_sparc_ctx): Likewise.
14175 (libc_feholdexcept_setround_ctx): Define.
14176 (libc_feholdexcept_setroundf_ctx): Likewise.
14177 (libc_feholdexcept_setroundl_ctx): Likewise.
14178 (libc_fesetenv_ctx): Likewise.
14179 (libc_fesetenvf_ctx): Likewise.
14180 (libc_fesetenvl_ctx): Likewise.
14181 (libc_feupdateenv_ctx): Likewise.
14182 (libc_feupdateenvf_ctx): Likewise.
14183 (libc_feupdateenvl_ctx): Likewise.
14184 (libc_feresetround_ctx): Likewise.
14185 (libc_feresetroundf_ctx): Likewise.
14186 (libc_feresetroundl_ctx): Likewise.
14187 (libc_feholdsetround_ctx): Likewise.
14188 (libc_feholdsetroundf_ctx): Likewise.
14189 (libc_feholdsetroundl_ctx): Likewise.
14190
14191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14192 with __USE_GNU instead of XOPEN cpp guards.
14193
14194 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14195 0.
14196
14197 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14198 with XOPEN cpp guards.
14199
14200 2014-04-30 Julian Brown <julian@codesourcery.com>
14201
14202 [BZ #16888]
14203 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14204 handling.
14205
14206 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14207
14208 [BZ #9894]
14209 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14210 Change to 2.6.32.
14211 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14212 * sysdeps/unix/sysv/linux/configure: Regenerated.
14213 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14214 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14215 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14216 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14217 * README: Update reference to required Linux kernel version.
14218 * manual/install.texi (Linux): Update reference to required Linux
14219 kernel headers version.
14220 * INSTALL: Regenerated.
14221
14222 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14223 header inclusion.
14224 [POSIX] (limits.h): Likewise.
14225 [POSIX] (math.h): Likewise.
14226 [POSIX] (sys/wait.h): Likewise.
14227 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14228 function.
14229 [POSIX] (stddef.h): Do not allow header inclusion.
14230
14231 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14232
14233 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14234
14235 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14236
14237 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14238 Return immediately after lll_futex_wake.
14239
14240 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14241
14242 [BZ #16791]
14243 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14244 structure.
14245 (datahead_init_pos): Call datahead_init_common early.
14246 (datahead_init_neg): Likewise.
14247
14248 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14249 datahead_init_neg): New functions.
14250 * nscd/aicache.c (addhstaiX): Use them.
14251 * nscd/grpcache.c (cache_addgr): Likewise.
14252 * nscd/hstcache.c (cache_addhst): Likewise.
14253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14254 * nscd/netgroupcache.c (do_notfound): Likewise.
14255 (addgetnetgrentX): Likewise.
14256 (addinnetgrX): Likewise.
14257 * nscd/pwdcache.c (cache_addpw): Likewise.
14258 * nscd/servicescache.c (cache_addserv): Likewise.
14259
14260 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14261 Atsushi Onoe <atsushi@onoe.org>
14262
14263 [BZ #14308]
14264 [BZ #12994]
14265 [BZ #13651]
14266 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14267 one response is valid.
14268 * resolv/res_send.c (send_dg): Check for validity of other
14269 response if the current response is a referral.
14270
14271 2014-04-29 Steve Ellcey <sellcey@mips.com>
14272
14273 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14274
14275 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14276
14277 [BZ #16823]
14278 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14279 Always divide by positive zero when computing -Inf result.
14280 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14281 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14282
14283 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14284
14285 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14286 FPSCR if value do not change.
14287 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14288 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14289 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14290 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14291 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14292 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14293 function.
14294
14295 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14296
14297 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14298 * sysdeps/unix/sysv/linux/hppa: Move directory from
14299 ports/systeps/unix/sysv/linux/hppa.
14300 * README: Update listing for hppa-*-linux-gnu.
14301
14302 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14303
14304 [BZ #16754]
14305 * manual/stdio.texi (Hook functions): Fix types of stream hook
14306 functions.
14307 [BZ #16854]
14308 * socket/sys/socket.h: Fix typo in comment.
14309
14310 2014-04-28 Wilco <wdijkstr@arm.com>
14311
14312 * sysdeps/arm/fenv_private.h: New file.
14313 * sysdeps/arm/math_private.h: New file.
14314 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14315
14316 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14317
14318 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14319 with __int128_t.
14320 (La_x86_64_retval): Likewise.
14321
14322 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14323
14324 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14325 fpsr if value didn't change.
14326 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14327 to fpcr if value didn't change.
14328 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14329 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14330 fpsr or fpcr if value didn't change.
14331 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14332 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14333 fpcr if value didn't change.
14334 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14335 to fpsr if value didn't change.
14336
14337 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14338
14339 * nptl/tst-sem3.c: Use test-skeleton.c
14340 (main): Rename to do_test. Use return instead of
14341 exit.
14342 * nptl/tst-sem4.c: Use test-skeleton.c
14343 (main): Rename to do_test.
14344
14345 2014-04-22 David S. Miller <davem@davemloft.net>
14346
14347 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14348 (struct sigaction): New struct member __glibc_reserved0, change
14349 type of sa_flags to int.
14350
14351 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14352
14353 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14354 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14355
14356 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14357
14358 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14359 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14360
14361 2014-04-22 Will Newton <will.newton@linaro.org>
14362 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14363
14364 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14365 (__longjmp): Add longjmp and longjmp_target SystemTap
14366 probes.
14367 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14368 (__sigsetjmp): Add setjmp SystemTap probe.
14369
14370 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14371
14372 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14373 match manual order.
14374
14375 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14376
14377 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14378
14379 * sysdeps/powerpc/fpu/fenv_private.h
14380 (libc_feholdexcept_setroundl_ctx): Define to
14381 libc_feholdexcept_setround_ppc_ctx.
14382 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14383 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14384 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14385 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14386
14387 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14388
14389 * sysdeps/aarch64/math-tests.h: New file.
14390
14391 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14392
14393 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14394 New.
14395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14396 Check and set bit_AVX2_Usable.
14397 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14398 macro.
14399 (bit_AVX2): Likewise.
14400 (index_AVX2_Usable): Likewise.
14401 (CPUID_AVX2): Likewise.
14402 (HAS_AVX2): Likewise.
14403
14404 2014-04-17 Will Newton <will.newton@linaro.org>
14405
14406 * manual/setjmp.texi (System V contexts): Add note that
14407 calling setcontext on a context created by a call to a
14408 signal handler is undefined. Update text to note that
14409 setcontext from a signal handler is possible but not
14410 recommended.
14411
14412 [BZ #16629]
14413 * stdlib/tst-setcontext.c: Include signal.h.
14414 (main): Check that the signal stack before and
14415 after swapcontext is the same.
14416
14417 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14418 Re-implement to restore registers in user code and avoid
14419 rt_sigreturn system call.
14420
14421 2014-04-17 Wilco <wdijkstr@arm.com>
14422
14423 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14424 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14425 * math/test-fenv.c: Skip exception trap tests on targets which only
14426 support non-stop mode.
14427
14428 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14429 Wilco Dijkstra <wilco.dijkstra@arm.com>
14430
14431 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14432 (libc_feholdsetround_aarch64_ctx)
14433 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14434 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14435 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14436 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14437 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14438 (libc_feresetround_noexl_ctx): Define.
14439
14440 2014-04-16 Richard Henderson <rth@redhat.com>
14441
14442 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14443
14444 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14445 unwind tables.
14446
14447 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14448 const from the non-libc, non-ldso copy.
14449
14450 * sysdeps/alpha/libm-test-ulps: Regenerate.
14451
14452 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14453 Wilco Dijkstra <wilco.dijkstra@arm.com>
14454
14455 * sysdeps/aarch64/fpu/math_private.h: New file.
14456
14457 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14458
14459 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14460
14461 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14462
14463 [BZ #16275]
14464 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14465 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14467 Intel MPX bound registers before _dl_profile_fixup.
14468 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14469 registers after _dl_profile_fixup. Save and restore bound
14470 registers bnd0/bnd1 when calling _dl_call_pltexit.
14471 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14472 (LR_BND_OFFSET): Likewise.
14473 (LRV_BND0_OFFSET): Likewise.
14474 (LRV_BND1_OFFSET): Likewise.
14475
14476 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14477
14478 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14479 to...
14480 * sysdeps/mach/hurd/i386/tls.h: ... here.
14481 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14482 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14483 fields.
14484
14485 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14486
14487 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14488
14489 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14490
14491 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14492
14493 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14494
14495 [BZ #14770]
14496 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14497 * sysdeps/s390/configure: Regenerate.
14498
14499 [BZ #16824]
14500 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14501 Set round-to-nearest internally to reduce error accumulation.
14502
14503 2014-04-16 Alan Modra <amodra@gmail.com>
14504
14505 [BZ #16740]
14506 [BZ #16619]
14507 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14508 * math/libm-test.inc (frexp_test_data): Add tests.
14509 * NEWS: Update fixed bug list.
14510
14511 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14512
14513 * benchtests/Makefile: Depend on libraries in build directory.
14514 (bench-math): Separate out math tests.
14515 (bench-pthread): Separate out pthread tests.
14516 (bench): Include math and pthread tests.
14517
14518 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14519
14520 [BZ #16831]
14521 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14522 _dl_debug_initialize.
14523
14524 * configure.ac: Remove SELinux header check.
14525 * configure: Regenerate.
14526 * nscd/selinux.c (perms): Array of const char* to permission names.
14527 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14528 default policy. Call string_to_security_class and string_to_av_perm to
14529 translate strings. Enforce default policy and call avs_has_perm with
14530 results of translated strings.
14531
14532 2014-04-13 David S. Miller <davem@davemloft.net>
14533
14534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14535
14536 2014-04-12 Allan McRae <allan@archlinux.org>
14537
14538 [BZ #16838]
14539 * manual/string.texi (Collation Functions): Fix qsort argument
14540 order in example.
14541 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14542
14543 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14544
14545 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14546 Make the test a no-op if there are no exceptions defined.
14547
14548 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14549
14550 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14551 enable-hardcoded-path-in-tests
14552
14553 2014-04-11 Will Newton <will.newton@linaro.org>
14554
14555 * benchtests/Makefile (extra-objs): Add json-lib.o.
14556 (bench-func): Tidy up JSON output.
14557 * benchtests/bench-skeleton.c: Include json-lib.h.
14558 (main): Use JSON library functions to do output of
14559 benchmark results.
14560 * benchtests/bench-timing-type.c (main): Output the
14561 timing type simply, leaving formatting to the user.
14562 * benchtests/json-lib.c: New file.
14563 * benchtests/json-lib.h: Likewise.
14564
14565 2014-04-11 Torvald Riegel <triegel@redhat.com>
14566
14567 [BZ #15215]
14568 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14569 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14570 memory barriers. Add comments.
14571 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14572 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14573 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14574 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14575 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14576 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14577
14578 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14579
14580 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14581 * sysdeps/s390/s390-64/configure.ac: ... this ...
14582 * sysdeps/s390/configure.ac: ... to here.
14583 * sysdeps/s390/s390-32/configure: Delete file.
14584 * sysdeps/s390/s390-64/configure: Delete file.
14585 * sysdeps/s390/configure: Regenerate.
14586
14587 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14588
14589 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14590
14591 2014-04-11 Will Newton <will.newton@linaro.org>
14592
14593 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14594 to zero if it is not defined elsewhere. (mtrim): Test
14595 the value of MALLOC_DEBUG with #if rather than #ifdef.
14596
14597 2014-04-10 Torvald Riegel <triegel@redhat.com>
14598
14599 * benchtests/pthread_once-inputs: New file.
14600 * benchtests/pthread_once-source.c: New file.
14601 * benchtests/README: Update documentation.
14602
14603 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14604 H.J. Lu <hongjiu.lu@intel.com>
14605
14606 [BZ #16275]
14607 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14608 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14609 * sysdeps/x86_64/configure: Regenerated.
14610 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14611 macro.
14612 (REGISTER_SAVE_RAX): Likewise.
14613 (REGISTER_SAVE_RCX): Likewise.
14614 (REGISTER_SAVE_RDX): Likewise.
14615 (REGISTER_SAVE_RSI): Likewise.
14616 (REGISTER_SAVE_RDI): Likewise.
14617 (REGISTER_SAVE_R8): Likewise.
14618 (REGISTER_SAVE_R9): Likewise.
14619 (REGISTER_SAVE_BND0): Likewise.
14620 (REGISTER_SAVE_BND1): Likewise.
14621 (REGISTER_SAVE_BND2): Likewise.
14622 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14623 bound registers when calling _dl_fixup.
14624
14625 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14626
14627 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14628 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14629 of its definition.
14630 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14631 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14632 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14633 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14634 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14635 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14636 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14637
14638 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14639
14640 [BZ #15514]
14641 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14642 pathconf(_PC_NAME_MAX).
14643
14644 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14645
14646 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14647 Remove macro usage.
14648 (__PTHREAD_SPINS): Move definition to ...
14649 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14650 (__PTHREAD_SPINS): ... here.
14651 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14652 (__PTHREAD_SPIN): Likewise.
14653 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14654 (__PTHREAD_SPIN): Likewise.
14655 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14656 (__PTHREAD_SPIN): Likewise.
14657 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14658 (__PTHREAD_SPIN): Likewise.
14659 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14660 (__PTHREAD_SPIN): Likewise.
14661 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14662 (__PTHREAD_SPIN): Likewise.
14663 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14664 (__PTHREAD_SPIN): Likewise.
14665 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14666 (__PTHREAD_SPIN): Likewise.
14667 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14668 (__PTHREAD_SPIN): Likewise.
14669 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14670 (__PTHREAD_SPIN): Likewise.
14671 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14672 (__PTHREAD_SPIN): Likewise.
14673 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14674 (__PTHREAD_SPIN): Likewise.
14675
14676 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14677 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14678 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14679 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14680 imply folder.
14681 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14682 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14683 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14684 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14685 correct imply path.
14686 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14687 strlen symbol for non multi-arch builds.
14688 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14689 missing hidden_def and weak_alias.
14690
14691 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14692
14693 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14694
14695 2014-04-07 Will Newton <will.newton@linaro.org>
14696
14697 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14698 and contents. [!_LIBC] Remove #ifndef and contents.
14699 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14700 * string/memccpy.c (__memccpy): Use ANSI prototype.
14701 * string/memfrob.c (memfrob): Likewise.
14702 * string/strcoll.c (STRCOLL): Likewise.
14703 * string/strlen.c (strlen): Likewise.
14704 * string/strtok.c (STRTOK): Likewise.
14705 * string/strcat.c: Remove unused #include of memcopy.h.
14706 (strcat): Use ANSI prototype.
14707 * string/strchr.c: Remove unused #include of memcopy.h.
14708 (strchr): Use ANSI prototype.
14709 * string/strcmp.c: Remove unused #include of memcopy.h.
14710 (strcmp): Use ANSI prototype.
14711 * string/strcpy.c: Remove unused #include of memcopy.h.
14712 (strcpy): Use ANSI prototype.
14713
14714 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14715
14716 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14717 * config.make.in (config-extra-cppflags): Set it from
14718 libc_extra_cppflags.
14719 * configure.ac (libc_extra_cflags): Make it accumulate over
14720 configure fragments.
14721 (libc_extra_cppflags): New flag.
14722 * configure. Regenerate.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14724 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14725 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14727
14728 [BZ #16815]
14729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14730 result for FE_DOWNWARD rounding mode.
14731 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14732 Likewise.
14733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14734
14735 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14736
14737 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14738 in function argument name.
14739
14740 2014-04-03 David Svoboda <svoboda@cert.org>
14741
14742 [BZ #5666]
14743 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14744 explicitly.
14745
14746 2014-04-03 Roland McGrath <roland@hack.frob.com>
14747
14748 * elf/dl-unmap-segments.h: New file.
14749 * sysdeps/generic/ldsodefs.h
14750 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14751 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14752 * elf/dl-fptr.c: Likewise.
14753 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14754 * sysdeps/aarch64/tlsdesc.c: Likewise.
14755 * sysdeps/arm/tlsdesc.c: Likewise.
14756 * sysdeps/i386/tlsdesc.c: Likewise.
14757 * sysdeps/tile/dl-runtime.c: Likewise.
14758 * sysdeps/x86_64/tlsdesc.c: Likewise.
14759 * elf/dl-load.h: New file.
14760 * elf/dl-load.c: Include it.
14761 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14762 Macros moved to dl-load.h.
14763 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14764 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14765 Use _dl_unmap_segments in place of __munmap.
14766 Break out segment-mapping loop into ...
14767 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14768
14769 2014-04-03 Will Newton <will.newton@linaro.org>
14770
14771 * elf/dl-lookup.c (do_lookup_x): Remove comment
14772 referring to nested function and move variable
14773 declarations down to before first use.
14774
14775 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14776
14777 [BZ #16799]
14778 [BZ #16800]
14779 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14780 with 0 numerator.
14781 * math/s_catanf.c (__catanf): Likewise.
14782 * math/s_catanh.c (__catanh): Likewise.
14783 * math/s_catanhf.c (__catanhf): Likewise.
14784 * math/s_catanhl.c (__catanhl): Likewise.
14785 * math/s_catanl.c (__catanl): Likewise.
14786 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14787 by positive zero when computing -Inf result.
14788 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14789 (catanh_test): Likewise.
14790 * sysdeps/i386/fpu/libm-test-ulps: Update.
14791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14792
14793 [BZ #16789]
14794 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14795 instead of using underflowing value in computing result.
14796 * math/s_clog10.c (__clog10): Likewise.
14797 * math/s_clog10f.c (__clog10f): Likewise.
14798 * math/s_clog10l.c (__clog10l): Likewise.
14799 * math/s_clogf.c (__clogf): Likewise.
14800 * math/s_clogl.c (__clogl): Likewise.
14801 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14802 (clog10_test): Likewise.
14803 * sysdeps/i386/fpu/libm-test-ulps: Update.
14804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14805
14806 2014-04-02 Alan Modra <amodra@gmail.com>
14807
14808 [BZ #16739]
14809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14810 output when value is near a power of two. Use int64_t for lx and
14811 remove casts. Use decimal rather than hex exponent constants.
14812 Don't use long double multiplication when double will suffice.
14813 * math/libm-test.inc (nextafter_test_data): Add tests.
14814 * NEWS: Add 16739 and 16786 to bug list.
14815
14816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14817
14818 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14819
14820 2014-04-01 Will Newton <will.newton@linaro.org>
14821
14822 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14823 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14824
14825 2014-04-01 Florian Weimer <fweimer@redhat.com>
14826
14827 [BZ #13347]
14828 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14829 * nptl/tst-setuid2.c: New file.
14830 * nptl/Makefile (xtests): Add tst-setuid2.
14831
14832 2014-04-01 Alan Modra <amodra@gmail.com>
14833
14834 [BZ #16786]
14835 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14836
14837 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14838
14839 [BZ #6803]
14840 [BZ #6804]
14841 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14842 set errno as appropriate.
14843 * math/w_scalbf.c (__scalbf): Likewise.
14844 * math/w_scalbl.c (__scalbl): Likewise.
14845 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14846 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14847 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14848 Add more NaN tests.
14849
14850 [BZ #16349]
14851 * math/w_atan2.c: Include <errno.h>.
14852 (__atan2): Set errno for result underflowing to zero.
14853 * math/w_atan2f.c: Include <errno.h>.
14854 (__atan2f): Set errno for result underflowing to zero.
14855 * math/w_atan2l.c: Include <errno.h>.
14856 (__atan2l): Set errno for result underflowing to zero.
14857 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14858 tests.
14859 * math/auto-libm-test-out: Regenerated.
14860
14861 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14862
14863 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14864 Encode instruction correctly in little endian.
14865 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14866 Likewise.
14867 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14868 Likewise.
14869 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14870 Likewise.
14871 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14872 Likewise.
14873
14874 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14875
14876 [BZ #9894]
14877 * sysdeps/unix/sysv/linux/kernel-features.h
14878 [__sparc__ && !__arch64__ && !__sparc_v9__]
14879 (__ASSUME_SET_ROBUST_LIST): Do not define.
14880 [__sparc__ && !__arch64__ && !__sparc_v9__]
14881 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14882 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14883 Likewise.
14884 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14885 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14886 (__ASSUME_REQUEUE_PI): Likewise.
14887 (__ASSUME_SET_ROBUST_LIST): Likewise.
14888 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14889 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14890 Undefine.
14891 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14892 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14893 Likewise.
14894 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14895 Likewise.
14896 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14897 Likewise.
14898 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14899 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14900 Undefine.
14901 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14902 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14903 Likewise.
14904
14905 [BZ #16648]
14906 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14907 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14908 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14909
14910 2014-03-31 Will Newton <will.newton@linaro.org>
14911
14912 * benchtests/Makefile (bench): Add ffs and ffsll to list
14913 of tests.
14914 * benchtests/ffs-inputs: New file.
14915 * benchtests/ffsll-inputs: Likewise.
14916
14917 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14918
14919 [BZ #16770]
14920 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14921 too large before casting to int.
14922 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14923 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14924 * math/libm-test.inc (scalb_test_data): Add more tests.
14925
14926 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14927
14928 * benchtests/Makefile (DETAILED_OPT): New make option.
14929 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14930 set.
14931 * benchtests/bench-skeleton.c: Include stdbool.h.
14932 (main): Store and print timings per input.
14933 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14934 member to each argument value.
14935 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14936 (_print_arg_data): Initialize per-input timing to 0.
14937
14938 * benchtests/Makefile (timing-type): New binary.
14939 (bench-clean): Also remove bench-timing-type.
14940 (bench): New target for timing-type.
14941 (bench-func): Print output in JSON format.
14942 * benchtests/bench-skeleton.c (main): Print output in JSON
14943 format.
14944 * benchtests/bench-timing-type.c: New file.
14945 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14946 (TIMING_PRINT_STATS): Remove.
14947 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14948 name separately.
14949
14950 * benchtests/bench-modf.c: Remove.
14951 * benchtests/modf-inputs: New inputs file.
14952
14953 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14954
14955 [BZ #16362]
14956 * math/s_clog10.c (M_PI_LOG10E): New macro.
14957 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14958 imaginary parts are 0.
14959 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14960 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14961 imaginary parts are 0.
14962 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14963 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14964 imaginary parts are 0.
14965 * math/libm-test.inc (clog10_test_data): Update expected results
14966 for when real and imaginary parts are 0.
14967
14968 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14969
14970 * elf/dl-load.c: Finish conversion of __builtin_expect into
14971 __glibc_{un}likely.
14972
14973 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14974
14975 [BZ #16348]
14976 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14977 1+x for argument with exponent below -67.
14978 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14979 Likewise.
14980 * math/auto-libm-test-in: Add more tests of exp.
14981 * math/auto-libm-test-out: Regenerated.
14982
14983 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14984
14985 [BZ #16759]
14986 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14987 (nscd_getnetgrent): Use it.
14988
14989 [BZ #16760]
14990 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14991 of stpcpy.
14992
14993 2014-03-27 Andi Kleen <ak@linux.intel.com>
14994
14995 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14996 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14997 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14998 (lll_robust_unlock): Remove out of line section. Use cfi
14999 intrinsics.
15000 (LLL_STUB_UNWIND_INFO*): Remove.
15001 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15002 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15003 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15004 (lll_robust_unlock): Remove out of line section. Use cfi
15005 intrinsics.
15006 (LLL_STUB_UNWIND_INFO*): Remove.
15007
15008 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15009
15010 [BZ #16758]
15011 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15012 blank values.
15013
15014 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15015
15016 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15017
15018 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15019
15020 [BZ #16198]
15021 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15022 fnstenv.
15023 * math/test-fenv-preserve.c: New file.
15024 * math/Makefile (tests): Add test-fenv-preserve.
15025
15026 2014-03-26 Will Newton <will.newton@linaro.org>
15027
15028 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15029
15030 2014-03-25 Roland McGrath <roland@hack.frob.com>
15031
15032 * scripts/versionlist.awk: Partition the version sets and emit all
15033 GLIBC_* (sorted) before all others (sorted).
15034
15035 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15036
15037 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15038 GLIBC_2.2.5 version.
15039
15040 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15041
15042 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15043 calls.
15044
15045 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15046 previous change.
15047
15048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15049
15050 2014-03-25 Andreas Schwab <schwab@suse.de>
15051
15052 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15053 label to be used after in6ailist is initialized.
15054
15055 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15056
15057 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15058 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15059
15060 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15061
15062 [BZ #16357]
15063 [BZ #16599]
15064 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15065 min_plus_half.
15066 (fp_formats): Update initializers.
15067 (init_fp_formats): Initialize new field.
15068 (output_for_one_input_case): Allow underflow for results up to
15069 min_plus_half.
15070 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15071 * math/auto-libm-test-in: Don't mark some underflows from asin and
15072 atanh as spurious.
15073 * math/auto-libm-test-out: Regenerated.
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15076
15077 2014-03-25 Andreas Schwab <schwab@suse.de>
15078
15079 * libio/Makefile (tst-ftell-partial-wide-ENV)
15080 (tst-ftell-active-handler-ENV): Define.
15081
15082 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15083
15084 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15085
15086 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15087
15088 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15089
15090 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15091
15092 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15093 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15094 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15095
15096 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15097
15098 [BZ #16634]
15099 * elf/dl-load.c (open_verify): Add mode parameter.
15100 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15101 (open_path): Change from boolean 'secure' to complete flag 'mode'
15102 (_dl_map_object): Adjust.
15103 * elf/Makefile (tests): Add tst-dlopen-aout.
15104 * elf/tst-dlopen-aout.c: New test.
15105
15106 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15107
15108 [BZ #16714]
15109 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15110 (struct stat): Rename member pad0 to __glibc_reserved0.
15111
15112 [BZ #16712]
15113 * sysdeps/s390/s390-32/bits/wordsize.h
15114 (__WORDSIZE32_SIZE_ULONG): New define.
15115 * sysdeps/s390/s390-64/bits/wordsize.h
15116 (__WORDSIZE32_SIZE_ULONG): Likewise.
15117 * sysdeps/generic/stdint.h (SIZE_MAX):
15118 Define as UL if __WORDSIZE32_SIZE_ULONG.
15119
15120 [BZ #16713]
15121 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15122 (__glibc_reserved0): New variable.
15123 (sa_flags): Change type to int.
15124
15125 * posix/Makefile (before-compile): Use += before-compile instead
15126 of a :=.
15127
15128 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15129 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15130
15131 2014-03-20 Andreas Schwab <schwab@suse.de>
15132
15133 [BZ #16743]
15134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15135 non-matching result from nscd.
15136
15137 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15138
15139 * scripts/bench.py: Moved to ...
15140 * benchtests/scripts/bench.py: ... here.
15141 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15142
15143 2014-03-24 Andreas Schwab <schwab@suse.de>
15144
15145 [BZ #16002]
15146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15147 alloca_account and account alloca use for struct in6ailist.
15148
15149 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15150
15151 [BZ #16284]
15152 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15153 rounding mode to recompute results that overflow to infinity or
15154 underflow to zero.
15155 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15156 bug 16284.
15157 * math/auto-libm-test-out: Regenerated.
15158 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15159 (ccosh_test): Likewise.
15160 (csin_test_data): Use plus_oflow.
15161 (csin_test): Use ALL_RM_TEST.
15162 (csinh_test_data): Use plus_oflow.
15163 (csinh_test): Use ALL_RM_TEST.
15164 * sysdeps/i386/fpu/libm-test-ulps: Update.
15165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15166
15167 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15168
15169 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15170 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15171 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15172
15173 [BZ #16731]
15174 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15175 when x - 1 is zero.
15176 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15177 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15178 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15179 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15180 argument is 1.
15181 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15182 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15183 zero.
15184 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15185 * sysdeps/i386/fpu/libm-test-ulps: Update.
15186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15187
15188 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15189
15190 * scripts/bench.pl: Remove file.
15191 * scripts/bench.py: New benchmark script.
15192 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15193 * benchtests/README: Mention python dependency.
15194 * scripts/pylintrc: New file.
15195 * scripts/pylint: New file.
15196
15197 * bits/mathdef.h: Use #ifdef instead of #if.
15198 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15199 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15200 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15201 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15202 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15203 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15204
15205 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15206 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15207
15208 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15210 and strpbrk-ppc64 objects.
15211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15212 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15213 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15214 multiarch strpbrk for POWER7.
15215 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15216 multiarch strpbrk for PPC64.
15217 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15218 ifunc selector.
15219 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15220 strpbrk for POWER7.
15221
15222 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15223
15224 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15225 (atan_test): Likewise.
15226 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15227 (atanh_test): Use ALL_RM_TEST.
15228 (atan2_test_data): Likewise.
15229 (cabs_test): Likewise.
15230 (cacosh_test): Likewise.
15231 (carg_test): Likewise.
15232 (casin_test): Likewise.
15233 (casinh_test): Likewise.
15234 (cbrt_test): Likewise.
15235 (csqrt_test): Likewise.
15236 (erf_test): Likewise.
15237 (erfc_test): Likewise.
15238 (pow10_test): Likewise.
15239 (exp2_test): Likewise.
15240 (hypot_test): Likewise.
15241 (j0_test): Likewise.
15242 (j1_test): Likewise.
15243 (lgamma_test): Likewise.
15244 (gamma_test): Likewise.
15245 (sincos_test): Likewise.
15246 (tanh_test): Likewise.
15247 (y0_test): Likewise.
15248 (y1_test): Likewise.
15249 * sysdeps/i386/fpu/libm-test-ulps: Update.
15250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15251
15252 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15253
15254 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15256 and strcspn-ppc64 objects.
15257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15258 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15259 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15260 multiarch strcspn for POWER7.
15261 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15262 multiarch strcspn for PPC64.
15263 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15264 ifunc selector.
15265 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15266 strcspn for POWER7.
15267
15268 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15269
15270 * math/gen-libm-test.pl (generate_testfile): Expect only function
15271 name as argument to AUTO_TESTS_* and pass results for all rounding
15272 modes to parse_args.
15273 (parse_auto_input): Separate inputs of automatic tests from
15274 outputs before storing in %auto_tests.
15275 * math/libm-test.inc (acos_test_data): Update call to
15276 AUTO_TESTS_f_f.
15277 (acos_test): Use ALL_RM_TEST.
15278 (acos_tonearest_test_data): Remove.
15279 (acos_test_tonearest): Likewise.
15280 (acos_towardzero_test_data): Likewise.
15281 (acos_test_towardzero): Likewise.
15282 (acos_downward_test_data): Likewise.
15283 (acos_test_downward): Likewise.
15284 (acos_upward_test_data): Likewise.
15285 (acos_test_upward): Likewise.
15286 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15287 (asin_test_data): Likewise.
15288 (asin_test): Use ALL_RM_TEST.
15289 (asin_tonearest_test_data): Remove.
15290 (asin_test_tonearest): Likewise.
15291 (asin_towardzero_test_data): Likewise.
15292 (asin_test_towardzero): Likewise.
15293 (asin_downward_test_data): Likewise.
15294 (asin_test_downward): Likewise.
15295 (asin_upward_test_data): Likewise.
15296 (asin_test_upward): Likewise.
15297 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15298 (atan_test_data): Likewise.
15299 (atanh_test_data): Likewise.
15300 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15301 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15302 (carg_test_data): Likewise.
15303 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15304 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15305 (ccosh_test_data): Likewise.
15306 (cexp_test_data): Likewise.
15307 (clog_test_data): Likewise.
15308 (clog10_test_data): Likewise.
15309 (cos_test_data): Update call to AUTO_TESTS_f_f.
15310 (cos_test): Use ALL_RM_TEST.
15311 (cos_tonearest_test_data): Remove.
15312 (cos_test_tonearest): Likewise.
15313 (cos_towardzero_test_data): Likewise.
15314 (cos_test_towardzero): Likewise.
15315 (cos_downward_test_data): Likewise.
15316 (cos_test_downward): Likewise.
15317 (cos_upward_test_data): Likewise.
15318 (cos_test_upward): Likewise.
15319 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15320 (cosh_test): Use ALL_RM_TEST.
15321 (cosh_tonearest_test_data): Remove.
15322 (cosh_test_tonearest): Likewise.
15323 (cosh_towardzero_test_data): Likewise.
15324 (cosh_test_towardzero): Likewise.
15325 (cosh_downward_test_data): Likewise.
15326 (cosh_test_downward): Likewise.
15327 (cosh_upward_test_data): Likewise.
15328 (cosh_test_upward): Likewise.
15329 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15330 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15331 (ctan_test_data): Likewise.
15332 (ctan_test): Use ALL_RM_TEST.
15333 (ctan_tonearest_test_data): Remove.
15334 (ctan_test_tonearest): Likewise.
15335 (ctan_towardzero_test_data): Likewise.
15336 (ctan_test_towardzero): Likewise.
15337 (ctan_downward_test_data): Likewise.
15338 (ctan_test_downward): Likewise.
15339 (ctan_upward_test_data): Likewise.
15340 (ctan_test_upward): Likewise.
15341 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15342 (ctanh_test): Use ALL_RM_TEST.
15343 (ctanh_tonearest_test_data): Remove.
15344 (ctanh_test_tonearest): Likewise.
15345 (ctanh_towardzero_test_data): Likewise.
15346 (ctanh_test_towardzero): Likewise.
15347 (ctanh_downward_test_data): Likewise.
15348 (ctanh_test_downward): Likewise.
15349 (ctanh_upward_test_data): Likewise.
15350 (ctanh_test_upward): Likewise.
15351 (erf_test_data): Update call to AUTO_TESTS_f_f.
15352 (erfc_test_data): Likewise.
15353 (exp_test_data): Likewise.
15354 (exp_test): Use ALL_RM_TEST.
15355 (exp_tonearest_test_data): Remove.
15356 (exp_test_tonearest): Likewise.
15357 (exp_towardzero_test_data): Likewise.
15358 (exp_test_towardzero): Likewise.
15359 (exp_downward_test_data): Likewise.
15360 (exp_test_downward): Likewise.
15361 (exp_upward_test_data): Likewise.
15362 (exp_test_upward): Likewise.
15363 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15364 (exp10_test): Use ALL_RM_TEST.
15365 (exp10_tonearest_test_data): Remove.
15366 (exp10_test_tonearest): Likewise.
15367 (exp10_towardzero_test_data): Likewise.
15368 (exp10_test_towardzero): Likewise.
15369 (exp10_downward_test_data): Likewise.
15370 (exp10_test_downward): Likewise.
15371 (exp10_upward_test_data): Likewise.
15372 (exp10_test_upward): Likewise.
15373 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15374 (expm1_test_data): Likewise.
15375 (expm1_test): Use ALL_RM_TEST.
15376 (expm1_tonearest_test_data): Remove.
15377 (expm1_test_tonearest): Likewise.
15378 (expm1_towardzero_test_data): Likewise.
15379 (expm1_test_towardzero): Likewise.
15380 (expm1_downward_test_data): Likewise.
15381 (expm1_test_downward): Likewise.
15382 (expm1_upward_test_data): Likewise.
15383 (expm1_test_upward): Likewise.
15384 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15385 (fma_test): Use ALL_RM_TEST.
15386 (fma_towardzero_test_data): Remove.
15387 (fma_test_towardzero): Likewise.
15388 (fma_downward_test_data): Likewise.
15389 (fma_test_downward): Likewise.
15390 (fma_upward_test_data): Likewise.
15391 (fma_test_upward): Likewise.
15392 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15393 (j0_test_data): Update call to AUTO_TESTS_f_f.
15394 (j1_test_data): Likewise.
15395 (jn_test_data): Update call to AUTO_TESTS_if_f.
15396 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15397 (log_test_data): Update call to AUTO_TESTS_f_f.
15398 (log10_test_data): Likewise.
15399 (log1p_test_data): Likewise.
15400 (log2_test_data): Likewise.
15401 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15402 (pow_tonearest_test_data): Likewise.
15403 (sin_test_data): Update call to AUTO_TESTS_f_f.
15404 (sin_test): Use ALL_RM_TEST.
15405 (sin_tonearest_test_data): Remove.
15406 (sin_test_tonearest): Likewise.
15407 (sin_towardzero_test_data): Likewise.
15408 (sin_test_towardzero): Likewise.
15409 (sin_downward_test_data): Likewise.
15410 (sin_test_downward): Likewise.
15411 (sin_upward_test_data): Likewise.
15412 (sin_test_upward): Likewise.
15413 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15414 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15415 (sinh_test): Use ALL_RM_TEST.
15416 (sinh_tonearest_test_data): Remove.
15417 (sinh_test_tonearest): Likewise.
15418 (sinh_towardzero_test_data): Likewise.
15419 (sinh_test_towardzero): Likewise.
15420 (sinh_downward_test_data): Likewise.
15421 (sinh_test_downward): Likewise.
15422 (sinh_upward_test_data): Likewise.
15423 (sinh_test_upward): Likewise.
15424 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15425 (sqrt_test): Use ALL_RM_TEST.
15426 (sqrt_tonearest_test_data): Remove.
15427 (sqrt_test_tonearest): Likewise.
15428 (sqrt_towardzero_test_data): Likewise.
15429 (sqrt_test_towardzero): Likewise.
15430 (sqrt_downward_test_data): Likewise.
15431 (sqrt_test_downward): Likewise.
15432 (sqrt_upward_test_data): Likewise.
15433 (sqrt_test_upward): Likewise.
15434 (tan_test_data): Update call to AUTO_TESTS_f_f.
15435 (tan_test): Use ALL_RM_TEST.
15436 (tan_tonearest_test_data): Remove.
15437 (tan_test_tonearest): Likewise.
15438 (tan_towardzero_test_data): Likewise.
15439 (tan_test_towardzero): Likewise.
15440 (tan_downward_test_data): Likewise.
15441 (tan_test_downward): Likewise.
15442 (tan_upward_test_data): Likewise.
15443 (tan_test_upward): Likewise.
15444 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15445 (tgamma_test_data): Likewise.
15446 (y0_test_data): Likewise.
15447 (y1_test_data): Likewise.
15448 (yn_test_data): Update call to AUTO_TESTS_if_f.
15449 (main): Do not call removed functions.
15450
15451 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15452
15453 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15454 (ldexp_test_data): Remove.
15455 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15456 scalbn_test_data.
15457 (scalb_test): Use ALL_RM_TEST.
15458
15459 2014-03-19 Andreas Schwab <schwab@suse.de>
15460
15461 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15462
15463 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15464
15465 [BZ #16649]
15466 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15467 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15468 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15470 (__ASSUME_PREADV): Undefine.
15471 (__ASSUME_PWRITEV): Likewise.
15472
15473 2014-03-18 Roland McGrath <roland@hack.frob.com>
15474
15475 * bits/mman-linux.h: Add comment about non-Linux use.
15476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15477 bits/mman-linux.h resting place.
15478
15479 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15480 * bits/mman-linux.h: ... here.
15481
15482 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15483
15484 * conform/conformtest.pl: Add standard definition when calling C
15485 preprocessor on data files.
15486 (checknamespace): Remove unused variable.
15487
15488 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15489
15490 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15491 minus_oflow, plus_uflow and minus_uflow in expected results.
15492 * math/libm-test.inc (scalbn_test_data): Add more tests of
15493 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15494 minus_uflow.
15495 (scalbn_test): Use ALL_RM_TEST.
15496 (scalbln_test_data): Add more tests of negative arguments. Use
15497 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15498 (scalbln_test): Use ALL_RM_TEST.
15499
15500 2014-03-18 Roland McGrath <roland@hack.frob.com>
15501
15502 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15503
15504 2014-03-18 Will Newton <will.newton@linaro.org>
15505
15506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15507 inaccurate comment.
15508
15509 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15510
15511 * Makerules [!subdir] (check-abi): Exit with error status if a
15512 test failed.
15513
15514 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15515
15516 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15517 for rint. Include results for all rounding modes.
15518 (nearbyint_test): Use ALL_RM_TEST.
15519 (rint_test_data): Include all tests used for nearbyint.
15520
15521 2014-03-17 Will Newton <will.newton@linaro.org>
15522
15523 * nptl/sysdeps/pthread/pthread.h: Revert previous
15524 change.
15525
15526 * sysdeps/generic/ldsodefs.h: Revert previous
15527 change.
15528
15529 * libio/genops.c: Revert previous change.
15530 * libio/libioP.h: Likewise.
15531 * stdio-common/vfprintf.c: Likewise.
15532
15533 * sysdeps/generic/math_private.h: Revert previous
15534 change.
15535
15536 * sysdeps/generic/math_private.h: Check whether
15537 HAVE_RM_CTX is defined with #ifdef rather
15538 than #if.
15539
15540 * argp/argp-fmtstream.h: Check whether
15541 __STRICT_ANSI__ is defined with #ifdef rather
15542 than #if.
15543 * argp/argp.h: Likewise.
15544
15545 * libio/genops.c: Check whether
15546 _IO_JUMPS_OFFSET is defined with #ifdef rather
15547 than #if.
15548 * libio/libioP.h: Likewise.
15549 * stdio-common/vfprintf.c: Likewise.
15550
15551 * sysdeps/generic/ldsodefs.h: Check whether
15552 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15553 than #if.
15554
15555 * nptl/sysdeps/pthread/pthread.h: Check
15556 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15557 its value.
15558
15559 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15560
15561 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15562 setting O_APPEND.
15563 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15564 test case.
15565
15566 [BZ #16680]
15567 * libio/fileops.c (_IO_file_open): Seek to end of file but
15568 don't cache the offset.
15569 (get_file_offset): Remove function.
15570 (do_ftell): Use cached offset when available.
15571 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15572 don't cache the offset.
15573 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15574 case.
15575 (do_one_test): Call it.
15576 (do_ftell_test): Fix up expected old offset for a+ mode.
15577 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15578 available.
15579
15580 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15581 up test status with function return status.
15582 (do_write_test): Likewise.
15583 (do_append_test): Likewise.
15584
15585 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15586 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15587 Remove.
15588
15589 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15590
15591 * math/gen-libm-test.pl (parse_args): Handle results specified for
15592 each rounding mode separately.
15593 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15594 tests and results from lrint_tonearest_test_data,
15595 lrint_towardzero_test_data, lrint_downward_test_data and
15596 lrint_upward_test_data.
15597 (lrint_test): Use ALL_RM_TEST.
15598 (lrint_tonearest_test_data): Remove.
15599 (lrint_test_tonearest): Likewise.
15600 (lrint_towardzero_test_data): Likewise.
15601 (lrint_test_towardzero): Likewise.
15602 (lrint_downward_test_data): Likewise.
15603 (lrint_test_downward): Likewise.
15604 (lrint_upward_test_data): Likewise.
15605 (lrint_test_upward): Likewise.
15606 (llrint_test_data): Merge in per-rounding-mode tests and results
15607 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15608 llrint_downward_test_data and llrint_upward_test_data.
15609 (llrint_test): Use ALL_RM_TEST.
15610 (llrint_tonearest_test_data): Remove.
15611 (llrint_test_tonearest): Likewise.
15612 (llrint_towardzero_test_data): Likewise.
15613 (llrint_test_towardzero): Likewise.
15614 (llrint_downward_test_data): Likewise.
15615 (llrint_test_downward): Likewise.
15616 (llrint_upward_test_data): Likewise.
15617 (llrint_test_upward): Likewise.
15618 (rint_test_data): Merge in per-rounding-mode tests and results
15619 from rint_tonearest_test_data, rint_towardzero_test_data,
15620 rint_downward_test_data and rint_upward_test_data. Add
15621 per-rounding-mode results for tests not in those arrays.
15622 (rint_test): Use ALL_RM_TEST.
15623 (rint_tonearest_test_data): Remove.
15624 (rint_test_tonearest): Likewise.
15625 (rint_towardzero_test_data): Likewise.
15626 (rint_test_towardzero): Likewise.
15627 (rint_downward_test_data): Likewise.
15628 (rint_test_downward): Likewise.
15629 (rint_upward_test_data): Likewise.
15630 (rint_test_upward): Likewise.
15631 (main): Don't call removed functions.
15632
15633 2014-03-14 Roland McGrath <roland@hack.frob.com>
15634
15635 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15636 "Compiled on ..." crapola. It is anti-useful.
15637
15638 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15639
15640 * scripts/evaluate-test.sh: Handle fourth argument to determine
15641 whether test run should stop on failure.
15642 * Makeconfig (stop-on-test-failure): New variable.
15643 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15644 $(stop-on-test-failure).
15645 * Makefile (tests): Give a summary of results from testing and
15646 exit with failure status if they include an ERROR or FAIL.
15647 (xtests): Likewise.
15648 * manual/install.texi (Configuring and compiling): Mention
15649 stop-on-test-failure=y.
15650 * INSTALL: Regenerated.
15651
15652 2014-03-14 Roland McGrath <roland@hack.frob.com>
15653
15654 * scripts/versionlist.awk: New file.
15655 * Makerules [$(build-shared) = yes]
15656 (postclean-generated): Add Versions.def, not Versions.def.v and
15657 Versions.def.v.i.
15658 ($(common-objpfx)Versions.def.v.i): Target removed.
15659 ($(common-objpfx)Versions.def): New target.
15660 ($(common-objpfx)Versions.all): Depend on that rather that
15661 $(common-objpfx)Versions.def.v.
15662 * Versions.def: File removed.
15663
15664 * Makeconfig (+gccwarn): Add -Wundef.
15665 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15666 a dl-sysdep.h breaking its contract.
15667 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15668 * include/stackinfo.h: New file.
15669 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15670 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15671 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15672 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15673 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15674 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15675 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15676 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15677 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15678 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15679 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15680 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15681 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15682 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15683 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15684
15685 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15686
15687 [BZ #16707]
15688 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15689 implementation.
15690 * math/libm-test.inc (round_test_data): Add more tests.
15691
15692 [BZ #16706]
15693 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15694 implementation.
15695 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15696
15697 [BZ #16701]
15698 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15699 implementation.
15700 * math/libm-test.inc (ceil_test_data): Add more tests.
15701
15702 * math/libm-test.inc (trunc_test_data): Add more tests related to
15703 BZ#16414.
15704
15705 2014-03-14 Roland McGrath <roland@hack.frob.com>
15706
15707 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15708 with #if rather than #ifdef.
15709 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15710
15711 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15712
15713 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15714 first. Disable AVX-512 GCC support if assembler doesn't support
15715 it.
15716 * sysdeps/x86_64/configure: Regenerated.
15717
15718 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15719
15720 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15721 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15722 (__old_pthread_attr_setstack): Likewise.
15723 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15724 [!_STACK_GROWS_DOWN]: Likewise.
15725
15726 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15727
15728 * config.make.in (have-bash2): Delete.
15729 * configure.ac (libc_cv_have_bash2): Delete.
15730 * configure: Regenerate.
15731 * elf/Makefile (common-ldd-rewrite): Rename to ...
15732 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15733 (sh-ldd-rewrite): Delete.
15734 (bash-ldd-rewrite): Delete.
15735 (have-bash2): Delete checks.
15736 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15737 ldd-rewrite.
15738
15739 * config.make.in (have-ksh): Delete.
15740 (KSH): Delete.
15741 * configure.ac (libc_cv_have_ksh): Delete.
15742 * configure: Regenerate.
15743
15744 * elf/Makefile: Delete $(have-ksh) check.
15745 ($(objpfx)sotruss): Change KSH to BASH.
15746 * elf/sotruss.ksh: Rename to ...
15747 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15748 function style to match POSIX. Drop ksh vim mode setting.
15749
15750 * manual/time.texi (Specifying the Time Zone with TZ): Change
15751 Tuesday to Thursday.
15752
15753 * debug/tst-longjmp_chk2.c: Update header comment.
15754 (stackoverflow_handler): Add comment. Call assert on pass value.
15755
15756 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15757
15758 [BZ #16194]
15759 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15760 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15761 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15762 (La_x86_64_vector): Add zmm.
15763 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15764 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15765 ($(objpfx)tst-audit10): New target.
15766 ($(objpfx)tst-audit10.out): Likewise.
15767 (tst-audit10-ENV): New.
15768 (AVX512-CFLAGS): Likewise.
15769 (CFLAGS-tst-audit10.c): Likewise.
15770 (CFLAGS-tst-auditmod10a.c): Likewise.
15771 (CFLAGS-tst-auditmod10b.c): Likewise.
15772 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15773 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15774 * sysdeps/x86_64/configure: Regenerated.
15775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15776 AVX-512 zmm register support.
15777 (_dl_x86_64_save_sse): Likewise.
15778 (_dl_x86_64_restore_sse): Likewise.
15779 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15780 size vector registers.
15781 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15782 (ZMM_SIZE): Likewise.
15783 * sysdeps/x86_64/tst-audit10.c: New file.
15784 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15785 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15786
15787 2014-03-13 Roland McGrath <roland@hack.frob.com>
15788
15789 * configure.ac (HAVE_EHDR_START): New check.
15790 * configure: Regenerated.
15791 * config.h.in (HAVE_EHDR_START): New #undef.
15792 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15793 assuming the lowest-addressed segment maps the start of the file.
15794
15795 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15796
15797 * INSTALL: Regenerated.
15798
15799 2014-03-13 Will Newton <will.newton@linaro.org>
15800
15801 * manual/setjmp.texi (System V contexts): Improve
15802 clarity and grammar of documentation.
15803
15804 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15805
15806 [BZ #16381]
15807 * elf/Makefile (tests): Add tst-pie2.
15808 (tests-pie): Add tst-pie2.
15809 * elf/tst-pie2.c: New file.
15810 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15811 for ET_EXEC.
15812 * elf/rtld.c (map_doit): Load executable as lt_executable.
15813 (dl_main): Likewise.
15814
15815 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15816
15817 [BZ #16642]
15818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15819 (__ASSUME_PSELECT): Undefine.
15820
15821 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15822
15823 [BZ #16689]
15824 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15825 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15826 static build.
15827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15828 selector for static builds.
15829
15830 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15831
15832 [BZ #16695]
15833 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15834 key in the buffer.
15835
15836 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15837
15838 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15839 IFUNC selector for static builds.
15840
15841 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15842
15843 * sysdeps/mips/math_private.h [__mips_hard_float]
15844 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15845 libc_feresetround_mips_ctx.
15846 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15847 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15848 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15849
15850 [BZ #16677]
15851 * math/s_nextafter.c (__nextafter): Do not return value from
15852 overflowing computation.
15853 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15854 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15855 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15856 Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15858 Likewise.
15859 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15860 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15861
15862 2014-03-11 Roland McGrath <roland@hack.frob.com>
15863
15864 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15865 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15866 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15867 the new mov targetting sp.
15868
15869 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15870
15871 [BZ #16683]
15872 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15873 Define it for static builds as well.
15874 (NO_BZERO_IMPL): Likewise.
15875
15876 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15877
15878 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15879 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15880 multiarch strspn for PPC64.
15881 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15882 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15884 (__libc_ifunc_impl_list): Likewise.
15885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15886 multiarch optimizations
15887 * string/strspn.c (strspn): Using macro to redefine symbol name.
15888
15889 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15890 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15891
15892 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15893 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15894 multiarch strncat for PPC64.
15895 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15896 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15898 (__libc_ifunc_impl_list): Likewise.
15899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15900 multiarch optimizations
15901
15902 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15903
15904 [BZ #16639]
15905 * nscd/nscd.service: Make service type forking.
15906
15907 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15908
15909 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15910 sign in non default rounding modes.
15911 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15912
15913 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15914
15915 * math/libm-test.inc (ALL_RM_TEST): New macro.
15916 (ceil_test): Use ALL_RM_TEST.
15917 (cimag_test): Likewise.
15918 (conj_test): Likewise.
15919 (copysign_test): Likewise.
15920 (cproj_test): Likewise.
15921 (creal_test): Likewise.
15922 (fabs_test): Likewise.
15923 (floor_test): Likewise.
15924 (fmax_test): Likewise.
15925 (fmin_test): Likewise.
15926 (fmod_test): Likewise.
15927 (fpclassify_test): Likewise.
15928 (frexp_test): Likewise.
15929 (ilogb_test): Likewise.
15930 (isfinite_test): Likewise.
15931 (finite_test): Likewise.
15932 (isgreater_test): Likewise.
15933 (isgreaterequal_test): Likewise.
15934 (isinf_test): Likewise.
15935 (isless_test): Likewise.
15936 (islessequal_test): Likewise.
15937 (islessgreater_test): Likewise.
15938 (isnan_test): Likewise.
15939 (isnormal_test): Likewise.
15940 (issignaling_test): Likewise.
15941 (isunordered_test): Likewise.
15942 (logb_test): Likewise.
15943 (logb_downward_test_data): Remove.
15944 (logb_test_downward): Likewise.
15945 (lround_test): Use ALL_RM_TEST.
15946 (llround_test): Likewise.
15947 (modf_test): Likewise.
15948 (nexttoward_test): Likewise.
15949 (remainder_test): Likewise.
15950 (drem_test): Likewise.
15951 (remainder_tonearest_test_data): Likewise.
15952 (remainder_test_tonearest): Likewise.
15953 (drem_test_tonearest): Likewise.
15954 (remainder_towardzero_test_data): Likewise.
15955 (remainder_test_towardzero): Likewise.
15956 (drem_test_towardzero): Likewise.
15957 (remainder_downward_test_data): Likewise.
15958 (remainder_test_downward): Likewise.
15959 (drem_test_downward): Likewise.
15960 (remainder_upward_test_data): Likewise.
15961 (remainder_test_upward): Likewise.
15962 (drem_test_upward): Likewise.
15963 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15964 (round_test): Use ALL_RM_TEST.
15965 (signbit_test): Likewise.
15966 (trunc_test): Likewise.
15967 (significand_test): Likewise.
15968 (main): Don't call removed functions.
15969
15970 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15971
15972 [BZ #16674]
15973 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15974 || __USE_XOPEN2K8].
15975 (ILL_ILLOPN): Likewise.
15976 (ILL_ILLADR): Likewise.
15977 (ILL_ILLTRP): Likewise.
15978 (ILL_PRVOPC): Likewise.
15979 (ILL_PRVREG): Likewise.
15980 (ILL_COPROC): Likewise.
15981 (ILL_BADSTK): Likewise.
15982 (FPE_INTDIV): Likewise.
15983 (FPE_INTOVF): Likewise.
15984 (FPE_FLTDIV): Likewise.
15985 (FPE_FLTOVF): Likewise.
15986 (FPE_FLTUND): Likewise.
15987 (FPE_FLTRES): Likewise.
15988 (FPE_FLTINV): Likewise.
15989 (FPE_FLTSUB): Likewise.
15990 (SEGV_MAPERR): Likewise.
15991 (SEGV_ACCERR): Likewise.
15992 (BUS_ADRALN): Likewise.
15993 (BUS_ADRERR): Likewise.
15994 (BUS_OBJERR): Likewise.
15995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15996 (TRAP_TRACE): Likewise.
15997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15998 __USE_XOPEN2K8].
15999 (CLD_KILLED): Likewise.
16000 (CLD_DUMPED): Likewise.
16001 (CLD_TRAPPED): Likewise.
16002 (CLD_STOPPED): Likewise.
16003 (CLD_CONTINUED): Likewise.
16004 (POLL_IN): Likewise.
16005 (POLL_OUT): Likewise.
16006 (POLL_MSG): Likewise.
16007 (POLL_ERR): Likewise.
16008 (POLL_PRI): Likewise.
16009 (POLL_HUP): Likewise.
16010 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16011 Likewise.
16012 (ILL_ILLOPN): Likewise.
16013 (ILL_ILLADR): Likewise.
16014 (ILL_ILLTRP): Likewise.
16015 (ILL_PRVOPC): Likewise.
16016 (ILL_PRVREG): Likewise.
16017 (ILL_COPROC): Likewise.
16018 (ILL_BADSTK): Likewise.
16019 (FPE_INTDIV): Likewise.
16020 (FPE_INTOVF): Likewise.
16021 (FPE_FLTDIV): Likewise.
16022 (FPE_FLTOVF): Likewise.
16023 (FPE_FLTUND): Likewise.
16024 (FPE_FLTRES): Likewise.
16025 (FPE_FLTINV): Likewise.
16026 (FPE_FLTSUB): Likewise.
16027 (SEGV_MAPERR): Likewise.
16028 (SEGV_ACCERR): Likewise.
16029 (BUS_ADRALN): Likewise.
16030 (BUS_ADRERR): Likewise.
16031 (BUS_OBJERR): Likewise.
16032 (BUS_MCEERR_AR): Likewise.
16033 (BUS_MCEERR_AO): Likewise.
16034 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16035 (TRAP_TRACE): Likewise.
16036 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16037 __USE_XOPEN2K8].
16038 (CLD_KILLED): Likewise.
16039 (CLD_DUMPED): Likewise.
16040 (CLD_TRAPPED): Likewise.
16041 (CLD_STOPPED): Likewise.
16042 (CLD_CONTINUED): Likewise.
16043 (POLL_IN): Likewise.
16044 (POLL_OUT): Likewise.
16045 (POLL_MSG): Likewise.
16046 (POLL_ERR): Likewise.
16047 (POLL_PRI): Likewise.
16048 (POLL_HUP): Likewise.
16049 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16050 (ILL_ILLOPN): Likewise.
16051 (ILL_ILLADR): Likewise.
16052 (ILL_ILLTRP): Likewise.
16053 (ILL_PRVOPC): Likewise.
16054 (ILL_PRVREG): Likewise.
16055 (ILL_COPROC): Likewise.
16056 (ILL_BADSTK): Likewise.
16057 (FPE_INTDIV): Likewise.
16058 (FPE_INTOVF): Likewise.
16059 (FPE_FLTDIV): Likewise.
16060 (FPE_FLTOVF): Likewise.
16061 (FPE_FLTUND): Likewise.
16062 (FPE_FLTRES): Likewise.
16063 (FPE_FLTINV): Likewise.
16064 (FPE_FLTSUB): Likewise.
16065 (SEGV_MAPERR): Likewise.
16066 (SEGV_ACCERR): Likewise.
16067 (BUS_ADRALN): Likewise.
16068 (BUS_ADRERR): Likewise.
16069 (BUS_OBJERR): Likewise.
16070 (BUS_MCEERR_AR): Likewise.
16071 (BUS_MCEERR_AO): Likewise.
16072 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16073 (TRAP_TRACE): Likewise.
16074 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16075 __USE_XOPEN2K8].
16076 (CLD_KILLED): Likewise.
16077 (CLD_DUMPED): Likewise.
16078 (CLD_TRAPPED): Likewise.
16079 (CLD_STOPPED): Likewise.
16080 (CLD_CONTINUED): Likewise.
16081 (POLL_IN): Likewise.
16082 (POLL_OUT): Likewise.
16083 (POLL_MSG): Likewise.
16084 (POLL_ERR): Likewise.
16085 (POLL_PRI): Likewise.
16086 (POLL_HUP): Likewise.
16087 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16088 Likewise.
16089 (ILL_ILLOPN): Likewise.
16090 (ILL_ILLADR): Likewise.
16091 (ILL_ILLTRP): Likewise.
16092 (ILL_PRVOPC): Likewise.
16093 (ILL_PRVREG): Likewise.
16094 (ILL_COPROC): Likewise.
16095 (ILL_BADSTK): Likewise.
16096 (ILL_BADIADDR): Likewise.
16097 (ILL_BREAK): Likewise.
16098 (FPE_INTDIV): Likewise.
16099 (FPE_INTOVF): Likewise.
16100 (FPE_FLTDIV): Likewise.
16101 (FPE_FLTOVF): Likewise.
16102 (FPE_FLTUND): Likewise.
16103 (FPE_FLTRES): Likewise.
16104 (FPE_FLTINV): Likewise.
16105 (FPE_FLTSUB): Likewise.
16106 (FPE_DECOVF): Likewise.
16107 (FPE_DECDIV): Likewise.
16108 (FPE_DECERR): Likewise.
16109 (FPE_INVASC): Likewise.
16110 (FPE_INVDEC): Likewise.
16111 (SEGV_MAPERR): Likewise.
16112 (SEGV_ACCERR): Likewise.
16113 (SEGV_PSTKOVF): Likewise.
16114 (BUS_ADRALN): Likewise.
16115 (BUS_ADRERR): Likewise.
16116 (BUS_OBJERR): Likewise.
16117 (BUS_MCEERR_AR): Likewise.
16118 (BUS_MCEERR_AO): Likewise.
16119 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16120 (TRAP_TRACE): Likewise.
16121 (TRAP_BRANCH): Likewise.
16122 (TRAP_HWBKPT): Likewise.
16123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16124 __USE_XOPEN2K8].
16125 (CLD_KILLED): Likewise.
16126 (CLD_DUMPED): Likewise.
16127 (CLD_TRAPPED): Likewise.
16128 (CLD_STOPPED): Likewise.
16129 (CLD_CONTINUED): Likewise.
16130 (POLL_IN): Likewise.
16131 (POLL_OUT): Likewise.
16132 (POLL_MSG): Likewise.
16133 (POLL_ERR): Likewise.
16134 (POLL_PRI): Likewise.
16135 (POLL_HUP): Likewise.
16136 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16137 (ILL_ILLOPN): Likewise.
16138 (ILL_ILLADR): Likewise.
16139 (ILL_ILLTRP): Likewise.
16140 (ILL_PRVOPC): Likewise.
16141 (ILL_PRVREG): Likewise.
16142 (ILL_COPROC): Likewise.
16143 (ILL_BADSTK): Likewise.
16144 (FPE_INTDIV): Likewise.
16145 (FPE_INTOVF): Likewise.
16146 (FPE_FLTDIV): Likewise.
16147 (FPE_FLTOVF): Likewise.
16148 (FPE_FLTUND): Likewise.
16149 (FPE_FLTRES): Likewise.
16150 (FPE_FLTINV): Likewise.
16151 (FPE_FLTSUB): Likewise.
16152 (SEGV_MAPERR): Likewise.
16153 (SEGV_ACCERR): Likewise.
16154 (BUS_ADRALN): Likewise.
16155 (BUS_ADRERR): Likewise.
16156 (BUS_OBJERR): Likewise.
16157 (BUS_MCEERR_AR): Likewise.
16158 (BUS_MCEERR_AO): Likewise.
16159 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16160 (TRAP_TRACE): Likewise.
16161 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16162 __USE_XOPEN2K8].
16163 (CLD_KILLED): Likewise.
16164 (CLD_DUMPED): Likewise.
16165 (CLD_TRAPPED): Likewise.
16166 (CLD_STOPPED): Likewise.
16167 (CLD_CONTINUED): Likewise.
16168 (POLL_IN): Likewise.
16169 (POLL_OUT): Likewise.
16170 (POLL_MSG): Likewise.
16171 (POLL_ERR): Likewise.
16172 (POLL_PRI): Likewise.
16173 (POLL_HUP): Likewise.
16174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16175 (ILL_ILLOPN): Likewise.
16176 (ILL_ILLADR): Likewise.
16177 (ILL_ILLTRP): Likewise.
16178 (ILL_PRVOPC): Likewise.
16179 (ILL_PRVREG): Likewise.
16180 (ILL_COPROC): Likewise.
16181 (ILL_BADSTK): Likewise.
16182 (FPE_INTDIV): Likewise.
16183 (FPE_INTOVF): Likewise.
16184 (FPE_FLTDIV): Likewise.
16185 (FPE_FLTOVF): Likewise.
16186 (FPE_FLTUND): Likewise.
16187 (FPE_FLTRES): Likewise.
16188 (FPE_FLTINV): Likewise.
16189 (FPE_FLTSUB): Likewise.
16190 (SEGV_MAPERR): Likewise.
16191 (SEGV_ACCERR): Likewise.
16192 (BUS_ADRALN): Likewise.
16193 (BUS_ADRERR): Likewise.
16194 (BUS_OBJERR): Likewise.
16195 (BUS_MCEERR_AR): Likewise.
16196 (BUS_MCEERR_AO): Likewise.
16197 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16198 (TRAP_TRACE): Likewise.
16199 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16200 __USE_XOPEN2K8].
16201 (CLD_KILLED): Likewise.
16202 (CLD_DUMPED): Likewise.
16203 (CLD_TRAPPED): Likewise.
16204 (CLD_STOPPED): Likewise.
16205 (CLD_CONTINUED): Likewise.
16206 (POLL_IN): Likewise.
16207 (POLL_OUT): Likewise.
16208 (POLL_MSG): Likewise.
16209 (POLL_ERR): Likewise.
16210 (POLL_PRI): Likewise.
16211 (POLL_HUP): Likewise.
16212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16213 (ILL_ILLOPN): Likewise.
16214 (ILL_ILLADR): Likewise.
16215 (ILL_ILLTRP): Likewise.
16216 (ILL_PRVOPC): Likewise.
16217 (ILL_PRVREG): Likewise.
16218 (ILL_COPROC): Likewise.
16219 (ILL_BADSTK): Likewise.
16220 (FPE_INTDIV): Likewise.
16221 (FPE_INTOVF): Likewise.
16222 (FPE_FLTDIV): Likewise.
16223 (FPE_FLTOVF): Likewise.
16224 (FPE_FLTUND): Likewise.
16225 (FPE_FLTRES): Likewise.
16226 (FPE_FLTINV): Likewise.
16227 (FPE_FLTSUB): Likewise.
16228 (SEGV_MAPERR): Likewise.
16229 (SEGV_ACCERR): Likewise.
16230 (BUS_ADRALN): Likewise.
16231 (BUS_ADRERR): Likewise.
16232 (BUS_OBJERR): Likewise.
16233 (BUS_MCEERR_AR): Likewise.
16234 (BUS_MCEERR_AO): Likewise.
16235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16236 (TRAP_TRACE): Likewise.
16237 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16238 __USE_XOPEN2K8].
16239 (CLD_KILLED): Likewise.
16240 (CLD_DUMPED): Likewise.
16241 (CLD_TRAPPED): Likewise.
16242 (CLD_STOPPED): Likewise.
16243 (CLD_CONTINUED): Likewise.
16244 (POLL_IN): Likewise.
16245 (POLL_OUT): Likewise.
16246 (POLL_MSG): Likewise.
16247 (POLL_ERR): Likewise.
16248 (POLL_PRI): Likewise.
16249 (POLL_HUP): Likewise.
16250 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16251 (ILL_ILLOPN): Likewise.
16252 (ILL_ILLADR): Likewise.
16253 (ILL_ILLTRP): Likewise.
16254 (ILL_PRVOPC): Likewise.
16255 (ILL_PRVREG): Likewise.
16256 (ILL_COPROC): Likewise.
16257 (ILL_BADSTK): Likewise.
16258 (ILL_DBLFLT): Likewise.
16259 (ILL_HARDWALL): Likewise.
16260 (FPE_INTDIV): Likewise.
16261 (FPE_INTOVF): Likewise.
16262 (FPE_FLTDIV): Likewise.
16263 (FPE_FLTOVF): Likewise.
16264 (FPE_FLTUND): Likewise.
16265 (FPE_FLTRES): Likewise.
16266 (FPE_FLTINV): Likewise.
16267 (FPE_FLTSUB): Likewise.
16268 (SEGV_MAPERR): Likewise.
16269 (SEGV_ACCERR): Likewise.
16270 (BUS_ADRALN): Likewise.
16271 (BUS_ADRERR): Likewise.
16272 (BUS_OBJERR): Likewise.
16273 (BUS_MCEERR_AR): Likewise.
16274 (BUS_MCEERR_AO): Likewise.
16275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16276 (TRAP_TRACE): Likewise.
16277 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16278 __USE_XOPEN2K8].
16279 (CLD_KILLED): Likewise.
16280 (CLD_DUMPED): Likewise.
16281 (CLD_TRAPPED): Likewise.
16282 (CLD_STOPPED): Likewise.
16283 (CLD_CONTINUED): Likewise.
16284 (POLL_IN): Likewise.
16285 (POLL_OUT): Likewise.
16286 (POLL_MSG): Likewise.
16287 (POLL_ERR): Likewise.
16288 (POLL_PRI): Likewise.
16289 (POLL_HUP): Likewise.
16290 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16291 (ILL_ILLOPN): Likewise.
16292 (ILL_ILLADR): Likewise.
16293 (ILL_ILLTRP): Likewise.
16294 (ILL_PRVOPC): Likewise.
16295 (ILL_PRVREG): Likewise.
16296 (ILL_COPROC): Likewise.
16297 (ILL_BADSTK): Likewise.
16298 (FPE_INTDIV): Likewise.
16299 (FPE_INTOVF): Likewise.
16300 (FPE_FLTDIV): Likewise.
16301 (FPE_FLTOVF): Likewise.
16302 (FPE_FLTUND): Likewise.
16303 (FPE_FLTRES): Likewise.
16304 (FPE_FLTINV): Likewise.
16305 (FPE_FLTSUB): Likewise.
16306 (SEGV_MAPERR): Likewise.
16307 (SEGV_ACCERR): Likewise.
16308 (BUS_ADRALN): Likewise.
16309 (BUS_ADRERR): Likewise.
16310 (BUS_OBJERR): Likewise.
16311 (BUS_MCEERR_AR): Likewise.
16312 (BUS_MCEERR_AO): Likewise.
16313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16314 (TRAP_TRACE): Likewise.
16315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16316 __USE_XOPEN2K8].
16317 (CLD_KILLED): Likewise.
16318 (CLD_DUMPED): Likewise.
16319 (CLD_TRAPPED): Likewise.
16320 (CLD_STOPPED): Likewise.
16321 (CLD_CONTINUED): Likewise.
16322 (POLL_IN): Likewise.
16323 (POLL_OUT): Likewise.
16324 (POLL_MSG): Likewise.
16325 (POLL_ERR): Likewise.
16326 (POLL_PRI): Likewise.
16327 (POLL_HUP): Likewise.
16328 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16329 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16330
16331 [BZ #16670]
16332 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16333 before #include of <time.h>.
16334 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16335 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16336 (test-xfail-UNIX98/sched.h/conform): Likewise.
16337
16338 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16339
16340 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16341 error absence of trapping exception support.
16342 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16343
16344 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16345
16346 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16347 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16348 * timezone/Makefile (testdata): Move definition above include of
16349 Rules.
16350 (test-zones): New variable.
16351 (tests-special): Add zone files.
16352 (build-testdata): Use $(evaluate-test).
16353
16354 * elf/Makefile (tests-special): Rename tests to end with .out.
16355 ($(objpfx)noload-mem): Likewise.
16356 ($(objpfx)tst-leaks1-mem): Likewise.
16357 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16358 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16359 $(objpfx)test-iconvconfig.out.
16360 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16361 set -e inside subshell and redirect output to file.
16362 * iconvdata/Makefile (generated): Rename tests to end with .out.
16363 Correct type.
16364 (tests-special): Rename tests to end with .out.
16365 ($(objpfx)mtrace-tst-loading): Likewise.
16366 * intl/Makefile (generated): Likewise.
16367 (tests-special): Likewise.
16368 ($(objpfx)mtrace-tst-gettext): Likewise.
16369 * misc/Makefile (generated): Likewise.
16370 (tests-special): Likewise.
16371 ($(objpfx)tst-error1-mem): Likewise.
16372 * nptl/Makefile (tests-special): Likewise.
16373 ($(objpfx)tst-stack3-mem): Likewise.
16374 (generated): Likewise.
16375 * posix/Makefile (generated): Likewise.
16376 (tests-special): Likewise.
16377 (xtests-special): Likewise.
16378 ($(objpfx)tst-fnmatch-mem): Likewise.
16379 ($(objpfx)bug-regex2-mem): Likewise.
16380 ($(objpfx)bug-regex14-mem): Likewise.
16381 ($(objpfx)bug-regex21-mem): Likewise.
16382 ($(objpfx)bug-regex31-mem): Likewise.
16383 ($(objpfx)tst-vfork3-mem): Likewise.
16384 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16385 ($(objpfx)tst-pcre-mem): Likewise.
16386 ($(objpfx)tst-boost-mem): Likewise.
16387 ($(objpfx)bug-ga2-mem): Likewise.
16388 ($(objpfx)bug-glob2-mem): Likewise.
16389 * resolv/Makefile (generate): Likewise.
16390 (tests-special): Likewise.
16391 (xtests-special): Likewise.
16392 (generated): Likewise.
16393 ($(objpfx)mtrace-tst-leaks): Likewise.
16394 ($(objpfx)mtrace-tst-leaks2): Likewise.
16395
16396 * scripts/merge-test-results.sh: New file.
16397 * Makefile (tests-special-notdir): New variable.
16398 (tests): Run merge-test-results.sh.
16399 (xtests): Likewise.
16400 * Rules (tests-special-notdir): New variable.
16401 (xtests-special-notdir): Likewise.
16402 (tests): Run merge-test-results.sh
16403 (xtests): Likewise.
16404
16405 * Makeconfig (test-xfail-name): New variable.
16406 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16407 compute variable name for expected failures.
16408 * conform/Makefile (conformtest-headers-data): New variable.
16409 (conformtest-standards): Likewise.
16410 (conformtest-headers-ISO): Likewise.
16411 (conformtest-headers-ISO99): Likewise.
16412 (conformtest-headers-ISO11): Likewise.
16413 (conformtest-headers-POSIX): Likewise.
16414 (conformtest-headers-XPG3): Likewise.
16415 (conformtest-headers-XPG4): Likewise.
16416 (conformtest-headers-UNIX98): Likewise.
16417 (conformtest-headers-XOPEN2K): Likewise.
16418 (conformtest-headers-POSIX2008): Likewise.
16419 (conformtest-headers-XOPEN2K8): Likewise.
16420 (conformtest-header-list-base): Likewise.
16421 (conformtest-header-list-tests): Likewise.
16422 (conformtest-header-base): Likewise.
16423 (conformtest-header-tests): Likewise.
16424 (tests-special): Add $(conformtest-header-list-tests). If
16425 [$(fast-check) && !$(cross-compiling)], add
16426 $(conformtest-header-tests) instead of
16427 $(objpfx)run-conformtest.out.
16428 (generated): Add $(conformtest-header-list-base). If
16429 [$(fast-check) && !$(cross-compiling)], add
16430 $(conformtest-header-base). Remove previous setting.
16431 ($(conformtest-header-list-tests)): New target.
16432 (test-xfail-run-conformtest): Remove variable.
16433 ($(objpfx)run-conformtest.out): Remove target.
16434 (test-xfail-ISO11/complex.h/conform): New variable.
16435 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16436 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16437 (test-xfail-XPG3/varargs.h/conform): Likewise.
16438 (test-xfail-XPG4/varargs.h/conform): Likewise.
16439 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16440 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16441 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16442 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16443 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16444 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16445 (test-xfail-XPG3/ftw.h/conform): Likewise.
16446 (test-xfail-XPG3/grp.h/conform): Likewise.
16447 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16448 (test-xfail-XPG3/limits.h/conform): Likewise.
16449 (test-xfail-XPG3/pwd.h/conform): Likewise.
16450 (test-xfail-XPG3/search.h/conform): Likewise.
16451 (test-xfail-XPG3/signal.h/conform): Likewise.
16452 (test-xfail-XPG3/stdio.h/conform): Likewise.
16453 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16454 (test-xfail-XPG3/string.h/conform): Likewise.
16455 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16456 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16457 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16458 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16459 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16460 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16461 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16462 (test-xfail-XPG3/termios.h/conform): Likewise.
16463 (test-xfail-XPG3/time.h/conform): Likewise.
16464 (test-xfail-XPG3/unistd.h/conform): Likewise.
16465 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16466 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16467 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16468 (test-xfail-XPG4/netdb.h/conform): Likewise.
16469 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16470 (test-xfail-XPG4/signal.h/conform): Likewise.
16471 (test-xfail-XPG4/stdio.h/conform): Likewise.
16472 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16473 (test-xfail-XPG4/stropts.h/conform): Likewise.
16474 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16475 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16476 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16477 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16478 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16479 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16480 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16481 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16482 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16483 (test-xfail-XPG4/termios.h/conform): Likewise.
16484 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16485 (test-xfail-XPG4/unistd.h/conform): Likewise.
16486 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16487 (test-xfail-POSIX/sched.h/conform): Likewise.
16488 (test-xfail-POSIX/signal.h/conform): Likewise.
16489 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16490 (test-xfail-POSIX/tar.h/conform): Likewise.
16491 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16492 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16493 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16494 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16495 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16496 (test-xfail-UNIX98/sched.h/conform): Likewise.
16497 (test-xfail-UNIX98/signal.h/conform): Likewise.
16498 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16499 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16500 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16501 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16502 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16503 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16504 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16505 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16506 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16507 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16508 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16509 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16510 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16511 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16512 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16513 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16514 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16515 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16516 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16517 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16518 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16519 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16520 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16521 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16522 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16523 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16524 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16525 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16526 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16527 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16528 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16529 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16530 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16531 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16532 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16533 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16534 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16535 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16536 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16537 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16538 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16539 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16540 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16541 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16542 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16543 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16544 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16545 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16546 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16547 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16548 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16549 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16550 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16551 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16552 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16553 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16554 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16555 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16556 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16557 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16558 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16559 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16560 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16561 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16562 (conformtest-cc-flags): Likewise.
16563 ($(conformtest-header-tests): New target.
16564 * conform/check-header-lists.sh: New file.
16565 * conform/run-conformtest.sh: Remove.
16566
16567 * conform/conformtest.pl: Allow ' and \ in values given for
16568 constants.
16569 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16570 inclusion.
16571 [POSIX] (sys/types.h): Likewise.
16572 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16573 inclusion.
16574 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16575 inclusion.
16576 * conform/data/signal.h-data (SIGIO): Remove expectation.
16577 [XPG3] (SIGBUS): Do not expect.
16578 [POSIX || XPG3] (SIGPOLL): Likewise.
16579 [POSIX || XPG3] (SIGPROF): Likewise.
16580 [POSIX || XPG3] (SIGSYS): Likewise.
16581 [XPG3] (SIGTRAP): Likewise.
16582 [POSIX || XPG3] (SIGURG): Likewise.
16583 [POSIX || XPG3] (SIGVTALRM): Likewise.
16584 [POSIX || XPG3] (SIGXCPU): Likewise.
16585 [POSIX || XPG3] (SIGXFSZ): Likewise.
16586 [POSIX] (SA_SIGINFO): Expect.
16587 [XPG3] (siginfo_t): Do not expect type or contents.
16588 [POSIX] (si_pid): Do not expect element.
16589 [POSIX] (si_uid): Likewise.
16590 [POSIX] (si_addr): Likewise.
16591 [POSIX] (si_status): Likewise.
16592 [POSIX] (si_band): Likewise.
16593 [XPG4] (si_value): Likewise.
16594 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16595 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16596 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16597 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16598 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16599 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16600 [POSIX || XPG3] (ILL_COPROC): Likewise.
16601 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16602 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16603 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16604 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16605 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16606 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16607 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16608 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16609 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16610 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16611 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16612 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16613 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16614 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16615 [POSIX || XPG3] (CLD_EXITED): Likewise.
16616 [POSIX || XPG3] (CLD_KILLED): Likewise.
16617 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16618 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16619 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16620 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16621 [POSIX || XPG3] (POLL_IN): Likewise.
16622 [POSIX || XPG3] (POLL_OUT): Likewise.
16623 [POSIX || XPG3] (POLL_MSG): Likewise.
16624 [POSIX || XPG3] (POLL_ERR): Likewise.
16625 [POSIX || XPG3] (POLL_PRI): Likewise.
16626 [POSIX || XPG3] (POLL_HUP): Likewise.
16627 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16628 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16629 (SIG*): Do not allow.
16630 [XPG3] (si_*): Likewise.
16631 [XPG3] (SI_*): Likewise.
16632 [XPG3 || XPG4] (sigev_*): Likewise.
16633 [XPG3 || XPG4] (SIGEV_*): Likewise.
16634 [XPG3 || XPG4] (sival_*): Likewise.
16635 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16636 [POSIX || XPG3] (BUS_*): Likewise.
16637 [POSIX || XPG3] (CLD_*): Likewise.
16638 [POSIX || XPG3] (FPE_*): Likewise.
16639 [POSIX || XPG3] (ILL_*): Likewise.
16640 [POSIX || XPG3] (POLL_*): Likewise.
16641 [POSIX || XPG3] (SEGV_*): Likewise.
16642 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16643 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16644 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16645 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16646 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16647 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16648 Specify type and value.
16649 (TVERSLEN): Likewise.
16650 (REGTYPE): Likewise.
16651 (AREGTYPE): Likewise.
16652 (LNKTYPE): Likewise.
16653 (SYMTYPE): Likewise.
16654 (CHRTYPE): Likewise.
16655 (BLKTYPE): Likewise.
16656 (DIRTYPE): Likewise.
16657 (FIFOTYPE): Likewise.
16658 (CONTTYPE): Likewise.
16659 (TSUID): Likewise.
16660 (TSGID): Likewise.
16661 (TSVTX): Likewise.
16662 (TUREAD): Likewise.
16663 (TUWRITE): Likewise.
16664 (TUEXEC): Likewise.
16665 (TGREAD): Likewise.
16666 (TGWRITE): Likewise.
16667 (TGEXEC): Likewise.
16668 (TOREAD): Likewise.
16669 (TOWRITE): Likewise.
16670 (TOEXEC): Likewise.
16671 [POSIX] (TSVTX): Expect constant.
16672
16673 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16674
16675 * Makefile (tests): Change dependencies to ....
16676 (tests-special): ... additions to this variable.
16677 (tests): Depend on $(tests-special).
16678 * Makerules (check-abi-list): New variable.
16679 (check-abi): Depend on $(check-abi-list).
16680 [$(subdir) = elf] (tests-special): Add
16681 $(objpfx)check-abi-libc.out.
16682 [$(build-shared) = yes && subdir] (tests-special): Add
16683 $(check-abi-list).
16684 [$(build-shared) = yes && subdir] (tests): Do not depend on
16685 check-abi.
16686 * Rules (tests): Depend on $(tests-special).
16687 (xtests): Depend on $(xtests-special).
16688 * catgets/Makefile (tests): Change dependencies to ....
16689 (tests-special): ... additions to this variable.
16690 * conform/Makefile (tests): Change dependencies to ....
16691 (tests-special): ... additions to this variable.
16692 * elf/Makefile (tests): Change dependencies to ....
16693 (tests-special): ... additions to this variable.
16694 * grp/Makefile (tests): Change dependencies to ....
16695 (tests-special): ... additions to this variable.
16696 * iconv/Makefile (xtests): Change dependencies to ....
16697 (xtests-special): ... additions to this variable.
16698 * iconvdata/Makefile (tests): Change dependencies to ....
16699 (tests-special): ... additions to this variable.
16700 * intl/Makefile (tests): Change dependencies to ....
16701 (tests-special): ... additions to this variable. Also add
16702 $(objpfx)tst-gettext.out.
16703 * io/Makefile (tests): Change dependencies to ....
16704 (tests-special): ... additions to this variable.
16705 * libio/Makefile (tests): Change dependencies to ....
16706 (tests-special): ... additions to this variable.
16707 * malloc/Makefile (tests): Change dependencies to ....
16708 (tests-special): ... additions to this variable.
16709 * misc/Makefile (tests): Change dependencies to ....
16710 (tests-special): ... additions to this variable.
16711 * nptl/Makefile (tests): Change dependencies to ....
16712 (tests-special): ... additions to this variable.
16713 * nptl_db/Makefile (tests): Change dependencies to ....
16714 (tests-special): ... additions to this variable.
16715 * posix/Makefile (tests): Change dependencies to ....
16716 (tests-special): ... additions to this variable.
16717 (xtests): Change dependencies to ....
16718 (xtests-special): ... additions to this variable.
16719 * resolv/Makefile (tests): Change dependencies to ....
16720 (tests-special): ... additions to this variable.
16721 (xtests): Change dependencies to ....
16722 (xtests-special): ... additions to this variable.
16723 * stdio-common/Makefile (tests): Change dependencies to ....
16724 (tests-special): ... additions to this variable.
16725 (do-tst-unbputc): Remove target.
16726 (do-tst-printf): Likewise.
16727 * stdlib/Makefile (tests): Change dependencies to ....
16728 (tests-special): ... additions to this variable.
16729 * string/Makefile (tests): Change dependencies to ....
16730 (tests-special): ... additions to this variable.
16731 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16732 (tests-special): ... additions to this variable.
16733
16734 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16735 whole file.
16736 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16737 whole file.
16738 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16739 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16740
16741 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16742 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16743 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16744 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16745 * conform/data/libgen.h-data [XPG3]: Likewise.
16746 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16747 * conform/data/ndbm.h-data [XPG3]: Likewise.
16748 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16749 * conform/data/netdb.h-data [XPG3]: Likewise.
16750 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16751 * conform/data/poll.h-data [XPG3]: Likewise.
16752 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16753 * conform/data/strings.h-data [XPG3]: Likewise.
16754 * conform/data/stropts.h-data [XPG3]: Likewise.
16755 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16756 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16757 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16758 Likewise.
16759 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16760 * conform/data/sys/time.h-data [XPG3]: Likewise.
16761 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16762 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16763 * conform/data/sys/un.h-data [XPG3]: Likewise.
16764 * conform/data/syslog.h-data [XPG3]: Likewise.
16765 * conform/data/ucontext.h-data [XPG3]: Likewise.
16766 * conform/data/utmpx.h-data [XPG3]: Likewise.
16767 * conform/data/varargs.h-data [UNIX98]: Enable file.
16768
16769 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16770
16771 * math/libm-test.inc (struct test_f_f_data): Move expected results
16772 into structure for each rounding mode.
16773 (struct test_ff_f_data): Likewise.
16774 (struct test_ff_f_data_nexttoward): Likewise.
16775 (struct test_fi_f_data): Likewise.
16776 (struct test_fl_f_data): Likewise.
16777 (struct test_if_f_data): Likewise.
16778 (struct test_fff_f_data): Likewise.
16779 (struct test_c_f_data): Likewise.
16780 (struct test_f_f1_data): Likewise.
16781 (struct test_fF_f1_data): Likewise.
16782 (struct test_ffI_f1_data): Likewise.
16783 (struct test_c_c_data): Likewise.
16784 (struct test_cc_c_data): Likewise.
16785 (struct test_f_i_data): Likewise.
16786 (struct test_ff_i_data): Likewise.
16787 (struct test_f_l_data): Likewise.
16788 (struct test_f_L_data): Likewise.
16789 (struct test_fFF_11_data): Likewise.
16790 (RM_): New macro.
16791 (RM_FE_DOWNWARD): Likewise.
16792 (RM_FE_TONEAREST): Likewise.
16793 (RM_FE_TOWARDZERO): Likewise.
16794 (RM_FE_UPWARD): Likewise.
16795 (RUN_TEST_LOOP_f_f): Update references to expected results.
16796 (RUN_TEST_LOOP_2_f): Likewise.
16797 (RUN_TEST_LOOP_fff_f): Likewise.
16798 (RUN_TEST_LOOP_c_f): Likewise.
16799 (RUN_TEST_LOOP_f_f1): Likewise.
16800 (RUN_TEST_LOOP_fF_f1): Likewise.
16801 (RUN_TEST_LOOP_fI_f1): Likewise.
16802 (RUN_TEST_LOOP_ffI_f1): Likewise.
16803 (RUN_TEST_LOOP_c_c): Likewise.
16804 (RUN_TEST_LOOP_cc_c): Likewise.
16805 (RUN_TEST_LOOP_f_i): Likewise.
16806 (RUN_TEST_LOOP_f_i_tg): Likewise.
16807 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16808 (RUN_TEST_LOOP_f_b): Likewise.
16809 (RUN_TEST_LOOP_f_b_tg): Likewise.
16810 (RUN_TEST_LOOP_f_l): Likewise.
16811 (RUN_TEST_LOOP_f_L): Likewise.
16812 (RUN_TEST_LOOP_fFF_11): Likewise.
16813 * math/gen-libm-test.pl (parse_args): Output four copies of
16814 expected results for each test.
16815
16816 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16817 (__ASSUME_UTIMES): Remove.
16818 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16819 (__ASSUME_UTIMES): Likewise.
16820
16821 * math/gen-auto-libm-tests.c: Update comment on output format.
16822 (output_for_one_input_case): Generate before-rounding and
16823 after-rounding information as conditions on output flags not
16824 floating-point format.
16825 * math/auto-libm-test-out: Regenerated.
16826 * math/gen-libm-test.pl (cond_value): New function.
16827 (or_cond_value): Use cond_value.
16828 (generate_testfile): Handle conditional exceptions.
16829
16830 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16831
16832 * math/libm-test.inc (max_valid_error): New variable.
16833 (init_max_error): Take new argument specifying whether function
16834 results are exactly determined. Set max_valid_error and bound
16835 other variables for errors based on this argument.
16836 (set_max_error): Do not record results above max_valid_error.
16837 (check_float_internal): Only accept errors of up to 0.5ulps if
16838 also at most max_valid_error.
16839 (START): Take new argument EXACT and pass it to init_max_error.
16840 (acos_test): Update call to START.
16841 (acos_test_tonearest): Likewise.
16842 (acos_test_towardzero): Likewise.
16843 (acos_test_downward): Likewise.
16844 (acos_test_upward): Likewise.
16845 (acosh_test): Likewise.
16846 (asin_test): Likewise.
16847 (asin_test_tonearest): Likewise.
16848 (asin_test_towardzero): Likewise.
16849 (asin_test_downward): Likewise.
16850 (asin_test_upward): Likewise.
16851 (asinh_test): Likewise.
16852 (atan_test): Likewise.
16853 (atanh_test): Likewise.
16854 (atan2_test): Likewise.
16855 (cabs_test): Likewise.
16856 (cacos_test): Likewise.
16857 (cacosh_test): Likewise.
16858 (carg_test): Likewise.
16859 (casin_test): Likewise.
16860 (casinh_test): Likewise.
16861 (catan_test): Likewise.
16862 (catanh_test): Likewise.
16863 (cbrt_test): Likewise.
16864 (ccos_test): Likewise.
16865 (ccosh_test): Likewise.
16866 (ceil_test): Likewise.
16867 (cexp_test): Likewise.
16868 (cimag_test): Likewise.
16869 (clog_test): Likewise.
16870 (clog10_test): Likewise.
16871 (conj_test): Likewise.
16872 (copysign_test): Likewise.
16873 (cos_test): Likewise.
16874 (cos_test_tonearest): Likewise.
16875 (cos_test_towardzero): Likewise.
16876 (cos_test_downward): Likewise.
16877 (cos_test_upward): Likewise.
16878 (cosh_test): Likewise.
16879 (cosh_test_tonearest): Likewise.
16880 (cosh_test_towardzero): Likewise.
16881 (cosh_test_downward): Likewise.
16882 (cosh_test_upward): Likewise.
16883 (cpow_test): Likewise.
16884 (cproj_test): Likewise.
16885 (creal_test): Likewise.
16886 (csin_test): Likewise.
16887 (csinh_test): Likewise.
16888 (csqrt_test): Likewise.
16889 (ctan_test): Likewise.
16890 (ctan_test_tonearest): Likewise.
16891 (ctan_test_towardzero): Likewise.
16892 (ctan_test_downward): Likewise.
16893 (ctan_test_upward): Likewise.
16894 (ctanh_test): Likewise.
16895 (ctanh_test_tonearest): Likewise.
16896 (ctanh_test_towardzero): Likewise.
16897 (ctanh_test_downward): Likewise.
16898 (ctanh_test_upward): Likewise.
16899 (erf_test): Likewise.
16900 (erfc_test): Likewise.
16901 (exp_test): Likewise.
16902 (exp_test_tonearest): Likewise.
16903 (exp_test_towardzero): Likewise.
16904 (exp_test_downward): Likewise.
16905 (exp_test_upward): Likewise.
16906 (exp10_test): Likewise.
16907 (exp10_test_tonearest): Likewise.
16908 (exp10_test_towardzero): Likewise.
16909 (exp10_test_downward): Likewise.
16910 (exp10_test_upward): Likewise.
16911 (pow10_test): Likewise.
16912 (exp2_test): Likewise.
16913 (expm1_test): Likewise.
16914 (expm1_test_tonearest): Likewise.
16915 (expm1_test_towardzero): Likewise.
16916 (expm1_test_downward): Likewise.
16917 (expm1_test_upward): Likewise.
16918 (fabs_test): Likewise.
16919 (fdim_test): Likewise.
16920 (floor_test): Likewise.
16921 (fma_test): Likewise.
16922 (fma_test_towardzero): Likewise.
16923 (fma_test_downward): Likewise.
16924 (fma_test_upward): Likewise.
16925 (fmax_test): Likewise.
16926 (fmin_test): Likewise.
16927 (fmod_test): Likewise.
16928 (fpclassify_test): Likewise.
16929 (frexp_test): Likewise.
16930 (hypot_test): Likewise.
16931 (ilogb_test): Likewise.
16932 (isfinite_test): Likewise.
16933 (finite_test): Likewise.
16934 (isgreater_test): Likewise.
16935 (isgreaterequal_test): Likewise.
16936 (isinf_test): Likewise.
16937 (isless_test): Likewise.
16938 (islessequal_test): Likewise.
16939 (islessgreater_test): Likewise.
16940 (isnan_test): Likewise.
16941 (isnormal_test): Likewise.
16942 (issignaling_test): Likewise.
16943 (isunordered_test): Likewise.
16944 (j0_test): Likewise.
16945 (j1_test): Likewise.
16946 (jn_test): Likewise.
16947 (ldexp_test): Likewise.
16948 (lgamma_test): Likewise.
16949 (gamma_test): Likewise.
16950 (lrint_test): Likewise.
16951 (lrint_test_tonearest): Likewise.
16952 (lrint_test_towardzero): Likewise.
16953 (lrint_test_downward): Likewise.
16954 (lrint_test_upward): Likewise.
16955 (llrint_test): Likewise.
16956 (llrint_test_tonearest): Likewise.
16957 (llrint_test_towardzero): Likewise.
16958 (llrint_test_downward): Likewise.
16959 (llrint_test_upward): Likewise.
16960 (log_test): Likewise.
16961 (log10_test): Likewise.
16962 (log1p_test): Likewise.
16963 (log2_test): Likewise.
16964 (logb_test): Likewise.
16965 (logb_test_downward): Likewise.
16966 (lround_test): Likewise.
16967 (llround_test): Likewise.
16968 (modf_test): Likewise.
16969 (nearbyint_test): Likewise.
16970 (nextafter_test): Likewise.
16971 (nexttoward_test): Likewise.
16972 (pow_test): Likewise.
16973 (pow_test_tonearest): Likewise.
16974 (pow_test_towardzero): Likewise.
16975 (pow_test_downward): Likewise.
16976 (pow_test_upward): Likewise.
16977 (remainder_test): Likewise.
16978 (drem_test): Likewise.
16979 (remainder_test_tonearest): Likewise.
16980 (drem_test_tonearest): Likewise.
16981 (remainder_test_towardzero): Likewise.
16982 (drem_test_towardzero): Likewise.
16983 (remainder_test_downward): Likewise.
16984 (drem_test_downward): Likewise.
16985 (remainder_test_upward): Likewise.
16986 (drem_test_upward): Likewise.
16987 (remquo_test): Likewise.
16988 (rint_test): Likewise.
16989 (rint_test_tonearest): Likewise.
16990 (rint_test_towardzero): Likewise.
16991 (rint_test_downward): Likewise.
16992 (rint_test_upward): Likewise.
16993 (round_test): Likewise.
16994 (scalb_test): Likewise.
16995 (scalbn_test): Likewise.
16996 (scalbln_test): Likewise.
16997 (signbit_test): Likewise.
16998 (sin_test): Likewise.
16999 (sin_test_tonearest): Likewise.
17000 (sin_test_towardzero): Likewise.
17001 (sin_test_downward): Likewise.
17002 (sin_test_upward): Likewise.
17003 (sincos_test): Likewise.
17004 (sinh_test): Likewise.
17005 (sinh_test_tonearest): Likewise.
17006 (sinh_test_towardzero): Likewise.
17007 (sinh_test_downward): Likewise.
17008 (sinh_test_upward): Likewise.
17009 (sqrt_test): Likewise.
17010 (sqrt_test_tonearest): Likewise.
17011 (sqrt_test_towardzero): Likewise.
17012 (sqrt_test_downward): Likewise.
17013 (sqrt_test_upward): Likewise.
17014 (tan_test): Likewise.
17015 (tan_test_tonearest): Likewise.
17016 (tan_test_towardzero): Likewise.
17017 (tan_test_downward): Likewise.
17018 (tan_test_upward): Likewise.
17019 (tanh_test): Likewise.
17020 (tgamma_test): Likewise.
17021 (trunc_test): Likewise.
17022 (y0_test): Likewise.
17023 (y1_test): Likewise.
17024 (yn_test): Likewise.
17025 (significand_test): Likewise.
17026
17027 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17028 individual tests in comment.
17029 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17030 (prev_max_error): New variable.
17031 (prev_real_max_error): Likewise.
17032 (prev_imag_max_error): Likewise.
17033 (compare_ulp_data): Don't refer to test names in comment.
17034 (find_test_ulps): Remove function.
17035 (find_function_ulps): Likewise.
17036 (find_complex_function_ulps): Likewise.
17037 (init_max_error): Take function name as argument. Look up ulps
17038 for that function.
17039 (print_ulps): Remove function.
17040 (print_max_error): Use prev_max_error instead of calling
17041 find_function_ulps.
17042 (print_complex_max_error): Use prev_real_max_error and
17043 prev_imag_max_error instead of calling find_complex_function_ulps.
17044 (check_float_internal): Take max_ulp parameter instead of calling
17045 find_test_ulps. Don't call print_ulps.
17046 (check_float): Update call to check_float_internal.
17047 (check_complex): Update calls to check_float_internal.
17048 (START): Pass argument to init_max_error.
17049 * math/gen-libm-test.pl (%results): Don't include "kind"
17050 information.
17051 (parse_ulps): Don't handle ulps of individual tests.
17052 (print_ulps_file): Likewise.
17053 (output_ulps): Likewise.
17054 * math/README.libm-test: Update.
17055 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17056 individual tests.
17057 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17058 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17059 * sysdeps/arm/libm-test-ulps: Likewise.
17060 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17061 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17062 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17063 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17064 * sysdeps/microblaze/libm-test-ulps: Likewise.
17065 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17066 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17068 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17069 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17070 * sysdeps/sh/libm-test-ulps: Likewise.
17071 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17072 * sysdeps/tile/libm-test-ulps: Likewise.
17073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17074
17075 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17076
17077 * math/libm-test.inc (print_complex_max_error): Check separately
17078 whether real and imaginary errors are within allowed range and
17079 pass 0 to print_complex_function_ulps instead of value within
17080 allowed range.
17081
17082 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17083
17084 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17085 formatting.
17086 (get_handles_fopen): Likewise.
17087 (do_write_test): Likewise.
17088
17089 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17090
17091 * libio/fileops.c (do_ftell): Use cached offset when
17092 available.
17093 * libio/iofwide.c (do_ftell_wide): Likewise.
17094 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17095 _IO_file_attach.
17096 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17097
17098 [BZ #16532]
17099 * libio/libioP.h (get_file_offset): New function.
17100 * libio/fileops.c (get_file_offset): Likewise.
17101 (do_ftell): Likewise.
17102 (_IO_new_file_seekoff): Split out ftell logic.
17103 * libio/wfileops.c (do_ftell_wide): Likewise.
17104 (_IO_wfile_seekoff): Split out ftell logic.
17105 * libio/tst-ftell-active-handler.c: New test case.
17106 * libio/Makefile (tests): Add it.
17107
17108 2014-03-03 Roland McGrath <roland@hack.frob.com>
17109
17110 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17111 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17112
17113 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17114
17115 [BZ #16639]
17116 * nscd/connections.c (nscd_init): Call do_exit.
17117 (start_threads): Call do_exit and notify_parent.
17118 (begin_drop_privileges): Call do_exit.
17119 (finish_drop_privileges): Likewise.
17120 * nscd/selinux.c (preserve_capabilities): Likewise.
17121 (install_real_capabilities): Likewise.
17122 (nscd_selinux_enabled): Likewise.
17123 (avc_create_thread): Likewise.
17124 (avc_alloc_lock): Likewise.
17125 (nscd_avc_init): Likewise.
17126 * nscd/nscd.c (parent_fd): New static variable.
17127 (main): Create a pipe between parent and child processes.
17128 Skip closing parent_fd.
17129 (monitor_child): New function.
17130 (do_exit): Likewise.
17131 (notify_parent): Likewise.
17132 * nscd/nscd.h (notify_parent): Likewise.
17133 (do_exit): Likewise.
17134
17135 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17136
17137 * malloc/malloc.c (__libc_calloc): Revert last change.
17138
17139 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17140
17141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17142
17143 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17144
17145 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17147 implementation.
17148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17149 (__libc_ifunc_impl_list): Likewise.
17150 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17151 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17152 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17153 * string/strrchr.c: Define STRRCHR.
17154
17155 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17156
17157 * benchtest/bench-strtok.c (simple_strtok): Delete.
17158 (strtok_string): Use as benchmark.
17159 * string/strtok (STRTOK): New macro.
17160
17161 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17162
17163 * manual/threads.texi: Add header and standard comments to all
17164 functions.
17165
17166 * elf/dl-lookup.c (check_match): New function.
17167 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17168 (do_lookup_x): Remove nested function check_match. Use non-nested
17169 function check_match.
17170
17171 2014-02-28 Roland McGrath <roland@hack.frob.com>
17172
17173 * csu/Makefile (generated, before-compile): Use += rather than =.
17174 * catgets/Makefile (generated, generated-dirs): Likewise.
17175 * debug/Makefile (generated): Likewise.
17176 * dlfcn/Makefile (generated): Likewise.
17177 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17178 * iconvdata/Makefile (before-compile, generated): Likewise.
17179 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17180 * libio/Makefile (generated): Likewise.
17181 * malloc/Makefile (generated): Likewise.
17182 * manual/Makefile (generated, generated-dirs): Likewise.
17183 * misc/Makefile (generated): Likewise.
17184 * posix/Makefile (generated): Likewise.
17185 * resolv/Makefile (generated): Likewise.
17186 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17187 * timezone/Makefile (generated, generated-dirs): Likewise.
17188
17189 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17190
17191 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17192
17193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17194 power8 implementation.
17195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17196 file: POWER8 llround ifunc implementation.
17197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17198 (__lllround): Add POWER8 implementation.
17199 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17200 POWER8 llround implementation.
17201
17202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17203 power8 implementation.
17204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17205 file: POWER8 llrint ifunc implementation.
17206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17207 Add POWER8 implementation.
17208 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17209 POWER8 llrint implementation.
17210
17211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17212 power8 implementation.
17213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17214 file: POWER8 finite ifunc implementation.
17215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17216 Add POWER8 implementation.
17217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17218 Likewise.
17219 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17220 POWER8 finite implementation.
17221 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17222
17223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17224 power8 implementation.
17225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17226 file: POWER8 isinf ifunc implementation.
17227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17228 POWER8 implementation.
17229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17230 Likewise.
17231 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17232 isinf implementation.
17233 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17234
17235 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17236 (INIT_ARCH): Add hwcap2 initialization.
17237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17238 power8 implementation.
17239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17240 file: POWER8 isnan ifunc implementation.
17241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17242 POWER8 implementation.
17243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17244 Likewise.
17245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17246 isnan implementation.
17247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17248
17249 2014-02-27 Joey Ye <joey.ye@arm.com>
17250
17251 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17252 (_FP_NANFRAC_Q): Set to zero.
17253
17254 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17255
17256 [BZ #16623]
17257 * math/auto-libm-test-in: New test inputs.
17258 * math/auto-libm-test-out: Regenerate.
17259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17260 and DA.
17261 (__cos): Likewise.
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17263
17264 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17265
17266 * scripts/evaluate-test.sh: Take new argument indicating whether
17267 failure is expected.
17268 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17269 indicating whether failure is expected.
17270 * conform/Makefile (test-xfail-run-conformtest): New variable.
17271 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17272 level.
17273 * posix/Makefile (test-xfail-annexc): New variable.
17274 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17275
17276 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17277
17278 * argp/Makefile: Include Makeconfig immediately after defining
17279 subdir.
17280 * assert/Makefile: Likewise.
17281 * benchtests/Makefile: Likewise.
17282 * catgets/Makefile: Likewise.
17283 * conform/Makefile: Likewise.
17284 * crypt/Makefile: Likewise.
17285 * csu/Makefile: Likewise.
17286 (all): Remove target.
17287 * ctype/Makefile: Include Makeconfig immediately after defining
17288 subdir.
17289 * debug/Makefile: Likewise.
17290 * dirent/Makefile: Likewise.
17291 * dlfcn/Makefile: Likewise.
17292 * gmon/Makefile: Likewise.
17293 * gnulib/Makefile: Likewise.
17294 * grp/Makefile: Likewise.
17295 * gshadow/Makefile: Likewise.
17296 * hesiod/Makefile: Likewise.
17297 * hurd/Makefile: Likewise.
17298 (all): Remove target.
17299 * iconvdata/Makefile: Include Makeconfig immediately after
17300 defining subdir.
17301 * inet/Makefile: Likewise.
17302 * intl/Makefile: Likewise.
17303 * io/Makefile: Likewise.
17304 * libio/Makefile: Likewise.
17305 (all): Remove target.
17306 * locale/Makefile: Include Makeconfig immediately after defining
17307 subdir.
17308 * login/Makefile: Likewise.
17309 * mach/Makefile: Likewise.
17310 (all): Remove target.
17311 * malloc/Makefile: Include Makeconfig immediately after defining
17312 subdir.
17313 (all): Remove target.
17314 * manual/Makefile: Include Makeconfig immediately after defining
17315 subdir.
17316 * math/Makefile: Likewise.
17317 * misc/Makefile: Likewise.
17318 * nis/Makefile: Likewise.
17319 * nss/Makefile: Likewise.
17320 * po/Makefile: Likewise.
17321 (all): Remove target.
17322 * posix/Makefile: Include Makeconfig immediately after defining
17323 subdir.
17324 * pwd/Makefile: Likewise.
17325 * resolv/Makefile: Likewise.
17326 * resource/Makefile: Likewise.
17327 * rt/Makefile: Likewise.
17328 * setjmp/Makefile: Likewise.
17329 * shadow/Makefile: Likewise.
17330 * signal/Makefile: Likewise.
17331 * socket/Makefile: Likewise.
17332 * soft-fp/Makefile: Likewise.
17333 * stdio-common/Makefile: Likewise.
17334 * stdlib/Makefile: Likewise.
17335 * streams/Makefile: Likewise.
17336 * string/Makefile: Likewise.
17337 * sunrpc/Makefile: Likewise.
17338 (all): Remove target.
17339 * sysvipc/Makefile: Include Makeconfig immediately after defining
17340 subdir.
17341 * termios/Makefile: Likewise.
17342 * time/Makefile: Likewise.
17343 * timezone/Makefile: Likewise.
17344 (all): Remove target.
17345 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17346 subdir.
17347 * wctype/Makefile: Likewise.
17348
17349 2014-02-26 Steve Ellcey <sellcey@mips.com>
17350
17351 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17352 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17353 (libc_feholdexcept_setround_mips): Ditto.
17354 (libc_feholdsetround): New.
17355 (libc_feholdsetroundf): New.
17356 (libc_feholdsetroundl): New.
17357 (libc_feupdateenv_test_mips): New.
17358 (libc_feupdateenv_test): New.
17359 (libc_feupdateenv_testf): New.
17360 (libc_feupdateenv_testl): New.
17361 (libc_feresetround): New.
17362 (libc_feresetroundf): New.
17363 (libc_feresetroundl): New.
17364 (libc_fetestexcept_mips): New.
17365 (libc_fetestexcept): New.
17366 (libc_fetestexceptf): New.
17367 (libc_fetestexceptl): New.
17368 (HAVE_RM_CTX): New.
17369 (libc_feholdexcept_setround_mips_ctx): New.
17370 (libc_feholdexcept_setround_ctx): New.
17371 (libc_feholdexcept_setroundf_ctx): New.
17372 (libc_feholdexcept_setroundl_ctx): New.
17373 (libc_fesetenv_mips_ctx): New.
17374 (libc_fesetenv_ctx): New.
17375 (libc_fesetenv_ctxf): New.
17376 (libc_fesetenv_ctxl): New.
17377 (libc_feupdateenv_mips_ctx): New.
17378 (libc_feupdateenv_ctx): New.
17379 (libc_feupdateenvf_ctx): New.
17380 (libc_feupdateenvl_ctx): New.
17381 (libc_feholdsetround_mips_ctx): New.
17382 (libc_feholdsetround_ctx): New.
17383 (libc_feholdsetroundf_ctx): New.
17384 (libc_feholdsetroundl_ctx): New.
17385 (libc_feresetround_mips_ctx): New.
17386 (libc_feresetround_ctx): New.
17387 (libc_feresetroundf_ctx): New.
17388 (libc_feresetroundl_ctx): New.
17389
17390 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17391
17392 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17393
17394 * manual/ipc.texi: New file.
17395 * manual/Makefile (chapters): Add ipc.
17396 * manual/job.texi: Add "Inter-Process Communication" to next.
17397 * manual/process.texi: Add "Inter-Process Communication" to prev.
17398
17399 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17400
17401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17402
17403 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17404
17405 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17406
17407 * manual/arith.texi: Fix spaces after sentences.
17408 * manual/charset.texi: Likewise.
17409 * manual/errno.texi: Likewise.
17410 * manual/install.texi: Likewise.
17411 * manual/llio.texi: Likewise.
17412 * manual/locale.texi: Likewise.
17413 * manual/maint.texi: Likewise.
17414 * manual/math.texi: Likewise.
17415 * manual/memory.texi: Likewise.
17416 * manual/message.texi: Likewise.
17417 * manual/probes.texi: Likewise.
17418 * manual/resource.texi: Likewise.
17419 * manual/signal.texi: Likewise.
17420 * manual/socket.texi: Likewise.
17421 * manual/stdio.texi: Likewise.
17422 * manual/string.texi: Likewise.
17423 * manual/time.texi: Likewise.
17424 * manual/users.texi: Likewise.
17425
17426 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17427
17428 [BZ #16632]
17429 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17430 _DEFAULT_SOURCE is defined.
17431
17432 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17433 Carlos O'Donell <carlos@redhat.com>
17434
17435 [BZ #16613]
17436 * elf/dl-tls.c (_dl_count_modids): New function.
17437 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17438 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17439 audit library and increment generation counter.
17440 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17441 * elf/tst-audit9.c: New file.
17442 * elf/tst-auditmod9a.c: New file.
17443 * elf/tst-auditmod9b.c: New file.
17444 * elf/Makefile: Add rules to build and run tst-audit9.
17445
17446 2014-02-25 Florian Weimer <fweimer@redhat.com>
17447
17448 [BZ #15347]
17449 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17450
17451 2014-02-25 Will Newton <will.newton@linaro.org>
17452
17453 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17454 (__longjmp): Restore sp and lr before restoring callee
17455 saved registers. Add longjmp and longjmp_target
17456 SystemTap probe point.
17457 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17458 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17459 Define to zero to match jmpbuf layout.
17460 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17461 (__sigsetjmp): Save sp and lr before saving callee
17462 saved registers. Add setjmp SystemTap probe point.
17463
17464 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17465
17466 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17467
17468 2014-02-24 Andreas Schwab <schwab@suse.de>
17469
17470 [BZ #15804]
17471 * elf/pldd.c (wait_for_ptrace_stop): New function.
17472 (main): Call it after attaching.
17473
17474 2014-02-22 Roland McGrath <roland@hack.frob.com>
17475
17476 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17477 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17478 Versions files is now verboten.
17479 * hurd/Versions (libc: GLIBC_2.0):
17480 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17481 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17482 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17483 * mach/Versions: Likewise.
17484
17485 * csu/Versions: Remove unused %include.
17486 * resolv/Versions: Likewise.
17487
17488 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17489
17490 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17491 ($(objpfx)check-local-headers.out): Likewise.
17492 ($(objpfx)begin-end-check.out): Likewise.
17493 * Makerules (check-abi-%.out): Likewise.
17494 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17495 ($(objpfx)test2.cat): Likewise.
17496 ($(objpfx)de/libc.cat): Likewise.
17497 ($(objpfx)test-gencat.out): Likewise.
17498 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17499 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17500 ($(objpfx)noload-mem): Likewise.
17501 ($(objpfx)tst-pathopt.out): Likewise.
17502 ($(objpfx)tst-rtld-load-self.out): Likewise.
17503 ($(objpfx)tst-array1-cmp.out): Likewise.
17504 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17505 ($(objpfx)tst-array2-cmp.out): Likewise.
17506 ($(objpfx)tst-array3-cmp.out): Likewise.
17507 ($(objpfx)tst-array4-cmp.out): Likewise.
17508 ($(objpfx)tst-array5-cmp.out): Likewise.
17509 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17510 ($(objpfx)check-textrel.out): Likewise.
17511 ($(objpfx)check-execstack.out): Likewise.
17512 ($(objpfx)check-localplt.out): Likewise.
17513 ($(objpfx)order2-cmp.out): Likewise.
17514 ($(objpfx)tst-leaks1-mem): Likewise.
17515 ($(objpfx)tst-leaks1-static-mem): Likewise.
17516 ($(objpfx)tst-initorder-cmp.out): Likewise.
17517 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17518 ($(objpfx)tst-unused-dep.out): Likewise.
17519 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17520 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17521 * iconv/Makefile (test-iconvconfig): Likewise.
17522 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17523 ($(objpfx)iconv-test.out): Likewise.
17524 ($(objpfx)tst-tables.out): Likewise.
17525 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17526 ($(objpfx)tst-gettext.out): Likewise.
17527 ($(objpfx)tst-translit.out): Likewise.
17528 ($(objpfx)tst-gettext2.out): Likewise.
17529 ($(objpfx)tst-gettext4.out): Likewise.
17530 ($(objpfx)tst-gettext6.out): Likewise.
17531 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17532 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17533 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17534 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17535 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17536 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17537 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17538 ($(objpfx)wordexp-tst.out): Likewise.
17539 ($(objpfx)annexc.out): Likewise.
17540 ($(objpfx)tst-fnmatch-mem): Likewise.
17541 ($(objpfx)bug-regex2-mem): Likewise.
17542 ($(objpfx)bug-regex14-mem): Likewise.
17543 ($(objpfx)bug-regex21-mem): Likewise.
17544 ($(objpfx)bug-regex31-mem): Likewise.
17545 ($(objpfx)tst-vfork3-mem): Likewise.
17546 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17547 ($(objpfx)tst-pcre-mem): Likewise.
17548 ($(objpfx)tst-boost-mem): Likewise.
17549 ($(objpfx)tst-getconf.out): Likewise.
17550 ($(objpfx)bug-ga2-mem): Likewise.
17551 ($(objpfx)bug-glob2-mem): Likewise.
17552 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17553 ($(objpfx)mtrace-tst-leaks2): Likewise.
17554 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17555 ($(objpfx)tst-printf.out): Likewise.
17556 ($(objpfx)tst-setvbuf1.out): Likewise.
17557 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17558 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17559 ($(objpfx)tst-fmtmsg.out): Likewise.
17560 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17561 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17562
17563 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17564 * bits/sigaction.h [__USE_MISC]: Likewise.
17565 * bits/waitstatus.h: Update #endif comments.
17566 * ctype/ctype.h: Likewise.
17567 * dirent/dirent.h: Likewise.
17568 [__USE_MISC]: Remove redundant conditionals.
17569 * grp/grp.h: Update #endif comments.
17570 [__USE_GNU]: Remove redundant conditionals.
17571 [__USE_MISC]: Likewise.
17572 * inet/netinet/in.h [__USE_GNU]: Likewise.
17573 * io/sys/stat.h [__USE_MISC]: Likewise.
17574 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17575 * libio/bits/stdio.h: Update #endif comments.
17576 [__USE_MISC]: Remove redundant conditionals.
17577 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17578 * libio/stdio.h: Update #endif comments.
17579 [__USE_MISC]: Remove redundant conditionals.
17580 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17581 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17582 * math/math.h: Update #else and #endif comments.
17583 [__USE_MISC]: Remove redundant conditionals.
17584 * misc/sys/uio.h: Update #endif comments.
17585 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17586 * posix/glob.h [__USE_MISC]: Likewise.
17587 * posix/sys/types.h: Update #endif comments.
17588 [__USE_MISC]: Remove redundant conditionals.
17589 * posix/sys/wait.h: Update #endif comments.
17590 [__USE_MISC]: Remove redundant conditionals.
17591 * posix/unistd.h: Update #endif comments.
17592 [__USE_MISC]: Remove redundant conditionals.
17593 * pwd/pwd.h [__USE_GNU]: Likewise.
17594 [__USE_MISC]: Likewise.
17595 * resolv/netdb.h [__USE_GNU]: Likewise.
17596 * signal/signal.h: Update #endif comments.
17597 [__USE_MISC]: Remove redundant conditionals.
17598 * stdlib/stdlib.h: Update #else and #endif comments.
17599 [__USE_MISC]: Remove redundant conditionals.
17600 [__USE_GNU]: Likewise.
17601 * string/bits/string2.h [__USE_MISC]: Likewise.
17602 * string/string.h: Update #endif comments.
17603 [__USE_MISC]: Remove redundant conditionals.
17604 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17605 Likewise.
17606 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17607 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17608 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17609 Likewise.
17610 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17611 Likewise.
17612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17613 comments.
17614 [__USE_MISC]: Remove redundant conditionals.
17615 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17616 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17617 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17618 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17619 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17620 Likewise.
17621 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17622 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17623 Likewise.
17624 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17625 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17626 Likewise.
17627 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17628 Likewise.
17629 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17630 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17631 Likewise.
17632 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17633 Likewise.
17634 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17635 * sysdeps/x86/bits/string.h: Update #endif comments.
17636 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17637 conditionals.
17638 * time/sys/time.h: Update #endif comments.
17639 * time/time.h: Likewise.
17640 [__USE_MISC]: Remove redundant conditionals.
17641
17642 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17643
17644 [BZ #16600]
17645 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17646
17647 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17648
17649 * Versions.def (librt): Add GLIBC_2.17.
17650
17651 2014-02-21 Adam Conrad <adconrad@0c3.net>
17652
17653 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17654 synonym for _SYS_AUXV_H to allow direct inclusion.
17655 * sysdeps/sparc/bits/hwcap.h: Likewise.
17656 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17657 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17658 * sysdeps/sparc/sysdep.h: Likewise.
17659
17660 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17661
17662 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17663
17664 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17665
17666 * benchtests/bench-strrchr.c: Print length instead of position.
17667
17668 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17669
17670 [BZ #16611]
17671 * sysdeps/unix/sysv/linux/kernel-features.h
17672 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17673 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17674 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17675 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17676 Likewise.
17677 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17678 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17679 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17680 (__ASSUME_SENDMMSG): Define instead of using previous
17681 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17682 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17683 (__ASSUME_SENDMMSG_SYSCALL): Define.
17684 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17685 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17686 Likewise.
17687 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17688 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17689 Likewise.
17690 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17691 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17692 Likewise.
17693 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17694 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17695 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17696 [__ASSUME_SENDMMSG]: Change conditionals to
17697 [__ASSUME_SENDMMSG_SOCKETCALL].
17698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17699 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17700 Define.
17701 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17702 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17703 Likewise.
17704 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17705 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17706 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17707 [!__ASSUME_SENDMMSG]: Change conditional to
17708 [!__ASSUME_SENDMMSG_SOCKETCALL].
17709 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17710 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17711 Define.
17712
17713 [BZ #16610]
17714 * sysdeps/unix/sysv/linux/kernel-features.h
17715 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17716 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17717 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17718 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17719 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17720 [__i386__ || __sparc__]
17721 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17722 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17723 (__ASSUME_RECVMMSG): Define instead of using previous
17724 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17725 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17726 (__ASSUME_RECVMMSG_SYSCALL): Define.
17727 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17728 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17729 Likewise.
17730 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17731 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17732 Likewise.
17733 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17735 Likewise.
17736 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17737 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17738 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17739 [__ASSUME_RECVMMSG]: Change condition to
17740 [__ASSUME_RECVMMSG_SOCKETCALL].
17741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17743 Define.
17744 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17745 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17747 Likewise.
17748 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17749 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17750 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17751 [!__ASSUME_RECVMMSG]: Change condition to
17752 [!__ASSUME_RECVMMSG_SOCKETCALL].
17753 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17754 (__ASSUME_RECVMMSG_SYSCALL): Define.
17755
17756 [BZ #16609]
17757 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17758 __powerpc__ || __s390__ || __sh__ || __sparc__]
17759 (__ASSUME_SOCKETCALL): Define.
17760 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17761 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17762 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17763 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17764 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17765 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17766 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17767 (__ASSUME_ACCEPT4): Define instead of using previous
17768 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17769 __powerpc__ || __sparc__ || __s390__)] condition.
17770 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17771 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17772 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17773 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17774 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17775 [!__ASSUME_ACCEPT4]: Change condition to
17776 [!__ASSUME_ACCEPT4_SOCKETCALL].
17777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17778 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17779 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17780 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17781 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17782 __ASSUME_ACCEPT4_SYSCALL.
17783 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17784 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17785 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17786 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17787 __ASSUME_ACCEPT4_SYSCALL.
17788 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17789 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17790 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17791 [__ASSUME_ACCEPT4]: Change condition to
17792 [__ASSUME_ACCEPT4_SOCKETCALL].
17793 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17794 (__ASSUME_SOCKETCALL): Define.
17795 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17796 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17797 (__ASSUME_SOCKETCALL): Define.
17798 (__ASSUME_ACCEPT4): Remove.
17799 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17800 Define.
17801 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17802 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17803 Likewise.
17804 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17805 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17806
17807 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17808 macro.
17809 (HWCAP_ARM_LPAE): Likewise.
17810 (HWCAP_ARM_EVTSTRM): Likewise.
17811 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17812 Add vpfd32, lpae and evtstrm.
17813 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17814 Increase to 22.
17815
17816 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17817
17818 * math/auto-libm-test-in: Add tests of clog10.
17819 * math/auto-libm-test-out: Regenerated.
17820 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17821 * sysdeps/i386/fpu/libm-test-ulps: Update.
17822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17823
17824 2014-02-18 Andreas Schwab <schwab@suse.de>
17825
17826 [BZ #16574]
17827 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17828 Store non-zero if the second buffer was newly allocated.
17829 (send_dg): Likewise.
17830 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17831 to send_vc and send_dg.
17832 (res_nsend): Pass NULL for ansp2_malloced.
17833 * resolv/res_query.c (__libc_res_nquery): Add parameter
17834 answerp2_malloced and pass it down to __libc_res_nsend.
17835 (res_nquery): Pass additional NULL to __libc_res_nquery.
17836 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17837 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17838 second answer buffer if answerp2_malloced was set.
17839 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17840 (__libc_res_nquerydomain): Add parameter
17841 answerp2_malloced and pass it down to __libc_res_nquery.
17842 (res_nquerydomain): Pass additional NULL to
17843 __libc_res_nquerydomain.
17844 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17845 additional NULL to __libc_res_nsend and __libc_res_nquery.
17846 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17847 additional NULL to __libc_res_nsearch.
17848 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17849 parameter of __libc_res_nsearch to check for separately allocated
17850 second buffer.
17851 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17852 __libc_res_nquery.
17853 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17854 additional NULL to __libc_res_nquery.
17855 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17856 __libc_res_nsearch.
17857 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17858 * include/resolv.h: Update prototypes of __libc_res_nquery,
17859 __libc_res_nsearch, __libc_res_nsend.
17860
17861 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17862
17863 * math/auto-libm-test-in: Add tests of fma.
17864 * math/auto-libm-test-out: Regenerated.
17865 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17866 (fma_towardzero_test_data): Likewise.
17867 (fma_downward_test_data): Likewise.
17868 (fma_upward_test_data): Likewise.
17869 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17870 mpc_mode.
17871 (rounding_modes): Add values for new field.
17872 (func_calc_method): Add value mpfr_fff_f.
17873 (func_calc_desc): Add mpfr_fff_f union field.
17874 (test_function): Add field exact_args.
17875 (FUNC): Add macro argument EXACT_ARGS.
17876 (FUNC_mpfr_f_f): Update call to FUNC.
17877 (FUNC_mpfr_f_f): Likewise.
17878 (FUNC_mpfr_ff_f): Likewise.
17879 (FUNC_mpfr_if_f): Likewise.
17880 (FUNC_mpc_c_f): Likewise.
17881 (FUNC_mpc_c_c): Likewise.
17882 (test_functions): Add fma. Update calls to FUNC.
17883 (handle_input_arg): Add argument exact_args.
17884 (add_test): Update call to handle_input_arg.
17885 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17886 (output_for_one_input_case): Update call to calc_generic_results.
17887 Recalculate exact zero results in each rounding mode.
17888
17889 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17890 non-negative before setting low bit.
17891 * math/auto-libm-test-in: Mark one asin test possibly having
17892 spurious underflow.
17893 * math/auto-libm-test-out: Regenerated.
17894 * sysdeps/i386/fpu/libm-test-ulps: Update.
17895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17896
17897 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17898
17899 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17900 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17901 ports/sysdeps/unix/sysv/linux/microblaze.
17902 * README: Add missing listing for microblaze*-*-linux-gnu.
17903
17904 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17905
17906 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17907 duplicate code
17908
17909 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17910
17911 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17912 * sysdeps/unix/sysv/linux/ia64: Move directory from
17913 ports/sysdeps/unix/sysv/linux/ia64.
17914 * README: Update listing for ia64-*-linux-gnu.
17915
17916 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17917 Joseph Myers <joseph@codesourcery.com>
17918
17919 * Makeconfig (test-name): New variable.
17920 (evaluate-test): Likewise.
17921 * Makerules (do-test-clean): Remove .test-result files.
17922 (common-mostlyclean): Likewise.
17923 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17924 * scripts/evaluate-test.sh: New file.
17925
17926 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17927
17928 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17929 separate $(objpfx)tst-fopenloc-cmp.out and
17930 $(objpfx)tst-fopenloc-mem.out targets.
17931 (tests): Update dependencies.
17932 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17933 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17934 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17935 (tst-rxspencer-no-utf8-ARGS): New variable.
17936 (tst-rxspencer-no-utf8-ENV): Likewise.
17937 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17938 instead of $(objpfx)tst-rxspencer-mem.
17939 ($(objpfx)tst-rxspencer-mem): Change target to
17940 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17941 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17942 * posix/tst-rxspencer-no-utf8.c: New file.
17943
17944 * elf/Makefile ($(objpfx)order.out): Remove rule.
17945 [$(run-built-tests) = yes] (tests): Depend on
17946 $(objpfx)order-cmp.out.
17947 ($(objpfx)order-cmp.out): New rule.
17948 [$(run-built-tests) = yes] (tests): Depend on
17949 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17950 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17951 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17952 $(objpfx)tst-array5-static-cmp.out.
17953 ($(objpfx)tst-array1.out): Remove rule.
17954 ($(objpfx)tst-array1-cmp.out): New rule.
17955 ($(objpfx)tst-array1-static.out): Remove rule.
17956 ($(objpfx)tst-array1-static-cmp.out): New rule.
17957 ($(objpfx)tst-array2.out): Remove rule.
17958 ($(objpfx)tst-array2-cmp.out): New rule.
17959 ($(objpfx)tst-array3.out): Remove rule.
17960 ($(objpfx)tst-array3-cmp.out): New rule.
17961 ($(objpfx)tst-array4.out): Remove rule.
17962 ($(objpfx)tst-array4-cmp.out): New rule.
17963 ($(objpfx)tst-array5.out): Remove rule.
17964 ($(objpfx)tst-array5-cmp.out): New rule.
17965 ($(objpfx)tst-array5-static.out): Remove rule.
17966 ($(objpfx)tst-array5-static-cmp.out): New rule.
17967 [$(run-built-tests) = yes] (tests): Depend on
17968 $(objpfx)order2-cmp.out.
17969 ($(objpfx)order2.out): Remove rule.
17970 ($(objpfx)order2-cmp.out): New rule.
17971 ($(objpfx)tst-initorder.out): Remove rule.
17972 [$(run-built-tests) = yes] (tests): Depend on
17973 $(objpfx)tst-initorder-cmp.out.
17974 ($(objpfx)tst-initorder-cmp.out): New rule.
17975 ($(objpfx)tst-initorder2.out): Remove rule.
17976 [$(run-built-tests) = yes] (tests): Depend on
17977 $(objpfx)tst-initorder2-cmp.out.
17978 ($(objpfx)tst-initorder2-cmp.out): New rule.
17979 [$(run-built-tests) = yes] (tests): Depend on
17980 $(objpfx)tst-unused-dep-cmp.out.
17981 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17982 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17983 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17984 on $(objpfx)tst-setvbuf1-cmp.out.
17985 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17986 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17987 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17988 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17989 ($(objpfx)tst-svc.out): Remove rule.
17990 ($(objpfx)tst-svc-cmp.out): New rule.
17991
17992 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17993
17994 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17995 * ctype/ctype.h [__USE_MISC]: Likewise.
17996 * dirent/dirent.h [__USE_MISC]: Likewise.
17997 * grp/grp.h [__USE_MISC]: Likewise.
17998 * io/fcntl.h [__USE_MISC]: Likewise.
17999 * io/sys/stat.h [__USE_MISC]: Likewise.
18000 * libio/stdio.h [__USE_MISC]: Likewise.
18001 * posix/unistd.h [__USE_MISC]: Likewise.
18002 * pwd/pwd.h [__USE_MISC]: Likewise.
18003 * stdlib.h [__USE_MISC]: Likewise.
18004 * string/bits/string2.h [__USE_MISC]: Likewise.
18005 * string/string.h [__USE_MISC]: Likewise.
18006 * time/time.h [__USE_MISC]: Likewise.
18007
18008 2014-02-13 Andreas Schwab <schwab@suse.de>
18009
18010 [BZ #16574]
18011 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18012 second answer buffer if it was separately allocated.
18013
18014 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18015
18016 * sysdeps/mips/math-tests.h: Include <features.h>.
18017 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18018 (ROUNDING_TESTS_long_double): Do not define.
18019 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18020 (EXCEPTION_TESTS_long_double): Likewise.
18021 * sysdeps/mips/mips64/libm-test-ulps: Update.
18022
18023 * include/features.h (__USE_BSD): Remove macro definitions.
18024 (__USE_SVID): Likewise.
18025 (_BSD_SOURCE): Likewise.
18026 (_SVID_SOURCE): Likewise.
18027 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18028 from definition of _DEFAULT_SOURCE.
18029 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18030 [_DEFAULT_SOURCE].
18031 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18032 * bits/mman.h [__USE_BSD]: Likewise.
18033 * bits/termios.h [__USE_BSD]: Likewise.
18034 * bits/waitstatus.h [__USE_BSD]: Likewise.
18035 * ctype/ctype.h [__USE_SVID]: Likewise.
18036 * dirent/dirent.h [__USE_BSD]: Likewise.
18037 * grp/grp.h [__USE_SVID]: Likewise.
18038 [__USE_BSD]: Likewise.
18039 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18040 * io/fcntl.h [__USE_BSD]: Likewise.
18041 * io/ftw.h [__USE_BSD]: Likewise.
18042 * io/sys/stat.h [__USE_BSD]: Likewise.
18043 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18044 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18045 * libio/stdio.h [__USE_SVID]: Likewise.
18046 [__USE_BSD]: Likewise.
18047 * math/math.h [__USE_SVID]: Likewise.
18048 [__USE_BSD]: Likewise.
18049 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18050 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18051 * misc/search.h [__USE_SVID]: Likewise.
18052 * misc/sys/mman.h [__USE_BSD]: Likewise.
18053 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18054 * misc/sys/uio.h [__USE_BSD]: Likewise.
18055 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18056 * posix/glob.h [__USE_BSD]: Likewise.
18057 * posix/regex.h [__USE_BSD]: Likewise.
18058 * posix/sys/types.h [__USE_BSD]: Likewise.
18059 [__USE_SVID]: Likewise.
18060 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18061 * posix/sys/wait.h [__USE_BSD]: Likewise.
18062 [__USE_SVID]: Likewise.
18063 * posix/unistd.h [__USE_BSD]: Likewise.
18064 [__USE_SVID]: Likewise.
18065 * pwd/pwd.h [__USE_SVID]: Likewise.
18066 * resolv/netdb.h [__USE_BSD]: Likewise.
18067 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18068 * signal/signal.h [__USE_BSD]: Likewise.
18069 [__USE_SVID]: Likewise.
18070 * socket/sys/socket.h [__USE_BSD]: Likewise.
18071 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18072 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18073 [__USE_SVID]: Likewise.
18074 * string/bits/string2.h [__USE_BSD]: Likewise.
18075 [__USE_SVID]: Likewise.
18076 * string/bits/string3.h [__USE_BSD]: Likewise.
18077 * string/endian.h [__USE_BSD]: Likewise.
18078 * string/string.h [__USE_SVID]: Likewise.
18079 [__USE_BSD]: Likewise.
18080 * string/strings.h [__USE_BSD]: Likewise.
18081 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18082 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18083 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18084 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18085 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18086 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18087 Likewise.
18088 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18089 Likewise.
18090 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18091 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18092 Likewise.
18093 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18094 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18095 Likewise.
18096 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18097 Likewise.
18098 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18099 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18100 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18101 Likewise.
18102 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18103 Likewise.
18104 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18105 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18106 * termios/termios.h [__USE_BSD]: Likewise.
18107 * time/sys/time.h [__USE_BSD]: Likewise.
18108 * time/time.h [__USE_BSD]: Likewise.
18109 [__USE_SVID]: Likewise.
18110
18111 * Makefile (subdir_targets): Remove subdir_lint.out.
18112
18113 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18114 (do-tst-printf): Likewise.
18115 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18116 $(objpfx)tst-printf.out.
18117
18118 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18119
18120 * Makerules (check-abi-%): Change target to
18121 $(objpfx)check-abi-%.out.
18122 (check-abi target): Update dependencies.
18123 (check-abi-pattern variable): Redirect output of diff to $@.
18124 (check-abi variable): Likewise.
18125 * elf/Makefile (check-abi): Update dependencies.
18126
18127 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18128 unused.
18129 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18130 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18131 subnormal range.
18132 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18133 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18134 value has largest subnormal exponent.
18135 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18136 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18137 * sysdeps/aarch64/soft-fp/sfp-machine.h
18138 (_FP_TININESS_AFTER_ROUNDING): New macro.
18139 * sysdeps/alpha/soft-fp/sfp-machine.h
18140 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18141 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18142 Likewise.
18143 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18144 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18145 * sysdeps/mips/soft-fp/sfp-machine.h
18146 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18147 * sysdeps/powerpc/soft-fp/sfp-machine.h
18148 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18149 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18150 Likewise.
18151 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18152 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18153 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18154 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18155 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18156 Likewise.
18157
18158 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18159
18160 [BZ #16545]
18161 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18162 model 1.
18163
18164 2014-02-12 Richard Henderson <rth@redhat.com>
18165
18166 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18167 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18168 * sysdeps/unix/sysv/linux/alpha: Move directory from
18169 ports/sysdeps/unix/sysv/linux/alpha.
18170 * README: Update listing for alpha-*-linux-gnu.
18171
18172 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18173
18174 * include/features.h: Update comment documenting feature test
18175 macros.
18176 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18177 _DEFAULT_SOURCE.
18178 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18179 (_SVID_SOURCE): Likewise.
18180 (_DEFAULT_SOURCE): Update description of default features.
18181 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18182 with _GNU_SOURCE.
18183 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18184 (S_ISVTX): Likewise.
18185 * manual/math.texi (Mathematical Constants): Likewise.
18186 * manual/signal.texi (Interrupted Primitives): Likewise.
18187 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18188 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18189 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18190 Don't refer to _SVID_SOURCE in warning text.
18191
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18193
18194 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18195 already defined.
18196 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18197 * sysdeps/mips/dl-lookup.c: Remove.
18198 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18199
18200 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18201
18202 [BZ #16447]
18203 * math/auto-libm-test-in: Add testcase for expl.
18204 * math/auto-libm-test-out: Regenerate.
18205 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18206 calculation of unsafe.
18207 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18208
18209 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18210
18211 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18212 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18213 ports/sysdeps/unix/sysv/linux/aarch64.
18214 * README: Update listing for aarch64*-*-linux-gnu.
18215
18216 2014-02-11 Will Newton <will.newton@linaro.org>
18217
18218 * manual/probes.texi (Mathematical Function Probes): Use
18219 "triggered" instead of "hit".
18220
18221 * manual/probes.texi (Internal Probes): Add documentation
18222 of setjmp, longjmp and longjmp_target probes.
18223
18224 * include/stap-probe.h: Add comment about probe argument
18225 format.
18226
18227 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18228 definition. (tr_where, tr_freehook, tr_mallochook,
18229 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18230
18231 2014-02-11 David S. Miller <davem@davemloft.net>
18232
18233 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18234 processing int_tests.
18235
18236 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18237
18238 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18239 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18240 * sysdeps/unix/sysv/linux/mips: Move directory from
18241 ports/sysdeps/unix/sysv/linux/mips.
18242 * README: Update listing for mips-*-linux-gnu and
18243 mips64-*-linux-gnu.
18244
18245 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18246
18247 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18248 * sysdeps/unix/sysv/linux/m68k: Move directory from
18249 ports/sysdeps/unix/sysv/linux/m68k.
18250 * README: Update listing for m68k-*-linux-gnu.
18251
18252 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18253
18254 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18255 * sysdeps/unix/sysv/linux/generic: Move directory from
18256 ports/sysdeps/unix/sysv/linux/generic.
18257 * sysdeps/unix/sysv/linux/tile: Move directory from
18258 ports/sysdeps/unix/sysv/linux/tile.
18259 * README: Update listing for tile*-*-linux-gnu.
18260
18261 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18262
18263 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18264 __builtin_expect.
18265 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18266 * catgets/open_catalog.c (__open_catalog): Likewise.
18267 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18268 * debug/confstr_chk.c: Likewise.
18269 * debug/fread_chk.c (__fread_chk): Likewise.
18270 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18271 * debug/getgroups_chk.c: Likewise.
18272 * debug/mbsnrtowcs_chk.c: Likewise.
18273 * debug/mbsrtowcs_chk.c: Likewise.
18274 * debug/mbstowcs_chk.c: Likewise.
18275 * debug/memcpy_chk.c: Likewise.
18276 * debug/memmove_chk.c: Likewise.
18277 * debug/mempcpy_chk.c: Likewise.
18278 * debug/memset_chk.c: Likewise.
18279 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18280 * debug/strcat_chk.c (__strcat_chk): Likewise.
18281 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18282 * debug/strncat_chk.c (__strncat_chk): Likewise.
18283 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18284 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18285 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18286 * debug/wcpncpy_chk.c: Likewise.
18287 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18288 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18289 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18290 * debug/wcsncpy_chk.c: Likewise.
18291 * debug/wcsnrtombs_chk.c: Likewise.
18292 * debug/wcsrtombs_chk.c: Likewise.
18293 * debug/wcstombs_chk.c: Likewise.
18294 * debug/wmemcpy_chk.c: Likewise.
18295 * debug/wmemmove_chk.c: Likewise.
18296 * debug/wmempcpy_chk.c: Likewise.
18297 * debug/wmemset_chk.c: Likewise.
18298 * dirent/scandirat.c (SCANDIRAT): Likewise.
18299 * dlfcn/dladdr1.c (dladdr1): Likewise.
18300 * dlfcn/dladdr.c (dladdr): Likewise.
18301 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18302 * dlfcn/dlerror.c (__dlerror): Likewise.
18303 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18304 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18305 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18306 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18307 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18308 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18309 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18310 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18311 Likewise.
18312 * elf/dl-conflict.c: Likewise.
18313 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18314 * elf/dl-dst.h: Likewise.
18315 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18316 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18317 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18318 * elf/dl-init.c (call_init, _dl_init): Likewise.
18319 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18320 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18321 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18322 Likewise.
18323 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18324 Likewise.
18325 * elf/dl-minimal.c (__libc_memalign): Likewise.
18326 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18327 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18328 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18329 * elf/dl-sym.c (do_sym): Likewise.
18330 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18331 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18332 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18333 * elf/dl-writev.h (_dl_writev): Likewise.
18334 * elf/ldconfig.c (search_dir): Likewise.
18335 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18336 (dl_main): Likewise.
18337 * elf/setup-vdso.h (setup_vdso): Likewise.
18338 * grp/compat-initgroups.c (compat_call): Likewise.
18339 * grp/fgetgrent.c (fgetgrent): Likewise.
18340 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18341 * grp/putgrent.c (putgrent): Likewise.
18342 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18343 Likewise.
18344 * hurd/hurdinit.c: Likewise.
18345 * iconvdata/8bit-gap.c (struct): Likewise.
18346 * iconvdata/ansi_x3.110.c : Likewise.
18347 * iconvdata/big5.c : Likewise.
18348 * iconvdata/big5hkscs.c : Likewise.
18349 * iconvdata/cp1255.c: Likewise.
18350 * iconvdata/cp1258.c : Likewise.
18351 * iconvdata/cp932.c : Likewise.
18352 * iconvdata/euc-cn.c: Likewise.
18353 * iconvdata/euc-jisx0213.c : Likewise.
18354 * iconvdata/euc-jp.c: Likewise.
18355 * iconvdata/euc-jp-ms.c : Likewise.
18356 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18357 * iconvdata/gb18030.c : Likewise.
18358 * iconvdata/gbbig5.c (const): Likewise.
18359 * iconvdata/gbgbk.c: Likewise.
18360 * iconvdata/gbk.c : Likewise.
18361 * iconvdata/ibm1364.c : Likewise.
18362 * iconvdata/ibm930.c : Likewise.
18363 * iconvdata/ibm932.c: Likewise.
18364 * iconvdata/ibm933.c : Likewise.
18365 * iconvdata/ibm935.c : Likewise.
18366 * iconvdata/ibm937.c : Likewise.
18367 * iconvdata/ibm939.c : Likewise.
18368 * iconvdata/ibm943.c: Likewise.
18369 * iconvdata/iso_11548-1.c: Likewise.
18370 * iconvdata/iso-2022-cn.c : Likewise.
18371 * iconvdata/iso-2022-cn-ext.c : Likewise.
18372 * iconvdata/iso-2022-jp-3.c: Likewise.
18373 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18374 * iconvdata/iso-2022-kr.c : Likewise.
18375 * iconvdata/iso646.c (gconv_end): Likewise.
18376 * iconvdata/iso_6937-2.c : Likewise.
18377 * iconvdata/iso_6937.c : Likewise.
18378 * iconvdata/iso8859-1.c: Likewise.
18379 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18380 * iconvdata/shift_jisx0213.c : Likewise.
18381 * iconvdata/sjis.c : Likewise.
18382 * iconvdata/t.61.c : Likewise.
18383 * iconvdata/tcvn5712-1.c : Likewise.
18384 * iconvdata/tscii.c: Likewise.
18385 * iconvdata/uhc.c : Likewise.
18386 * iconvdata/unicode.c (gconv_end): Likewise.
18387 * iconvdata/utf-16.c (gconv_end): Likewise.
18388 * iconvdata/utf-32.c (gconv_end): Likewise.
18389 * iconvdata/utf-7.c (base64): Likewise.
18390 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18391 * iconv/gconv_close.c (__gconv_close): Likewise.
18392 * iconv/gconv_open.c (__gconv_open): Likewise.
18393 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18394 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18395 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18396 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18397 (ucs4le_internal_loop_single): Likewise.
18398 * iconv/iconv.c (iconv): Likewise.
18399 * iconv/iconv_close.c: Likewise.
18400 * iconv/loop.c (SINGLE): Likewise.
18401 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18402 * include/atomic.h: Likewise.
18403 * inet/inet6_option.c (option_alloc): Likewise.
18404 * intl/bindtextdom.c (set_binding_values): Likewise.
18405 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18406 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18407 * intl/localealias.c (read_alias_file): Likewise.
18408 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18409 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18410 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18411 * libio/fmemopen.c (fmemopen): Likewise.
18412 * libio/iofgets.c (_IO_fgets): Likewise.
18413 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18414 * libio/iofgetws.c (fgetws): Likewise.
18415 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18416 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18417 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18418 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18419 * locale/findlocale.c (_nl_find_locale): Likewise.
18420 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18421 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18422 Likewise.
18423 * locale/setlocale.c (setlocale): Likewise.
18424 * login/programs/pt_chown.c (main): Likewise.
18425 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18426 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18427 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18428 (mmap, mmap64, mremap, munmap): Likewise.
18429 * math/e_exp2l.c: Likewise.
18430 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18431 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18432 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18433 * math/s_catan.c (__catan): Likewise.
18434 * math/s_catanf.c (__catanf): Likewise.
18435 * math/s_catanh.c (__catanh): Likewise.
18436 * math/s_catanhf.c (__catanhf): Likewise.
18437 * math/s_catanhl.c (__catanhl): Likewise.
18438 * math/s_catanl.c (__catanl): Likewise.
18439 * math/s_ccosh.c (__ccosh): Likewise.
18440 * math/s_ccoshf.c (__ccoshf): Likewise.
18441 * math/s_ccoshl.c (__ccoshl): Likewise.
18442 * math/s_cexp.c (__cexp): Likewise.
18443 * math/s_cexpf.c (__cexpf): Likewise.
18444 * math/s_cexpl.c (__cexpl): Likewise.
18445 * math/s_clog10.c (__clog10): Likewise.
18446 * math/s_clog10f.c (__clog10f): Likewise.
18447 * math/s_clog10l.c (__clog10l): Likewise.
18448 * math/s_clog.c (__clog): Likewise.
18449 * math/s_clogf.c (__clogf): Likewise.
18450 * math/s_clogl.c (__clogl): Likewise.
18451 * math/s_csin.c (__csin): Likewise.
18452 * math/s_csinf.c (__csinf): Likewise.
18453 * math/s_csinh.c (__csinh): Likewise.
18454 * math/s_csinhf.c (__csinhf): Likewise.
18455 * math/s_csinhl.c (__csinhl): Likewise.
18456 * math/s_csinl.c (__csinl): Likewise.
18457 * math/s_csqrt.c (__csqrt): Likewise.
18458 * math/s_csqrtf.c (__csqrtf): Likewise.
18459 * math/s_csqrtl.c (__csqrtl): Likewise.
18460 * math/s_ctan.c (__ctan): Likewise.
18461 * math/s_ctanf.c (__ctanf): Likewise.
18462 * math/s_ctanh.c (__ctanh): Likewise.
18463 * math/s_ctanhf.c (__ctanhf): Likewise.
18464 * math/s_ctanhl.c (__ctanhl): Likewise.
18465 * math/s_ctanl.c (__ctanl): Likewise.
18466 * math/w_pow.c: Likewise.
18467 * math/w_powf.c: Likewise.
18468 * math/w_powl.c: Likewise.
18469 * math/w_scalb.c (sysv_scalb): Likewise.
18470 * math/w_scalbf.c (sysv_scalbf): Likewise.
18471 * math/w_scalbl.c (sysv_scalbl): Likewise.
18472 * misc/error.c (error_tail): Likewise.
18473 * misc/pselect.c (__pselect): Likewise.
18474 * nis/nis_callback.c (__nis_create_callback): Likewise.
18475 * nis/nis_call.c (__nisfind_server): Likewise.
18476 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18477 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18478 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18479 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18480 * nis/nis_lookup.c (nis_lookup): Likewise.
18481 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18482 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18483 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18484 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18485 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18486 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18487 * nis/nss_compat/compat-initgroups.c (add_group)
18488 (internal_getgrent_r): Likewise.
18489 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18490 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18491 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18492 (internal_getspnam_r): Likewise.
18493 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18494 (_nss_nis_getaliasbyname_r): Likewise.
18495 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18496 (_nss_nis_getntohost_r): Likewise.
18497 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18498 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18499 (_nss_nis_getgrgid_r): Likewise.
18500 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18501 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18502 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18503 (_nss_nis_gethostbyname4_r): Likewise.
18504 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18505 (initgroups_netid): Likewise.
18506 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18507 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18508 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18509 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18510 (_nss_nis_getprotobynumber_r): Likewise.
18511 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18512 (_nss_nis_getsecretkey): Likewise.
18513 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18514 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18515 (_nss_nis_getpwuid_r): Likewise.
18516 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18517 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18518 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18519 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18520 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18521 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18522 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18523 Likewise.
18524 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18525 (_nss_nisplus_getntohost_r): Likewise.
18526 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18527 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18528 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18529 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18530 Likewise.
18531 * nis/nss_nisplus/nisplus-initgroups.c
18532 (_nss_nisplus_initgroups_dyn): Likewise.
18533 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18534 (_nss_nisplus_getnetbyaddr_r): Likewise.
18535 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18536 (_nss_nisplus_getprotobynumber_r): Likewise.
18537 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18538 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18539 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18540 Likewise.
18541 * nis/nss_nisplus/nisplus-service.c
18542 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18543 (_nss_nisplus_getservbyport_r): Likewise.
18544 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18545 (_nss_nisplus_getspnam_r): Likewise.
18546 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18547 Likewise.
18548 * nscd/aicache.c (addhstaiX): Likewise.
18549 * nscd/cache.c (cache_search, prune_cache): Likewise.
18550 * nscd/connections.c (register_traced_file, send_ro_fd)
18551 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18552 (main_loop_epoll): Likewise.
18553 * nscd/grpcache.c (addgrbyX): Likewise.
18554 * nscd/hstcache.c (addhstbyX): Likewise.
18555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18556 * nscd/mem.c (gc, mempool_alloc): Likewise.
18557 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18558 (addinnetgrX): Likewise.
18559 * nscd/nscd-client.h (__nscd_acquire_maplock)
18560 (__nscd_drop_map_ref): Likewise.
18561 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18562 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18563 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18564 Likewise.
18565 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18567 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18568 (__nscd_get_map_ref): Likewise.
18569 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18570 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18571 Likewise.
18572 * nscd/pwdcache.c (addpwbyX): Likewise.
18573 * nscd/selinux.c (preserve_capabilities): Likewise.
18574 * nscd/servicescache.c (addservbyX): Likewise.
18575 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18576 * posix/fnmatch.c (fnmatch): Likewise.
18577 * posix/getopt.c (_getopt_internal_r): Likewise.
18578 * posix/glob.c (glob, glob_in_dir): Likewise.
18579 * posix/wordexp.c (exec_comm_child): Likewise.
18580 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18581 (getanswer_r, gaih_getanswer_slice): Likewise.
18582 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18583 * resolv/res_init.c: Likewise.
18584 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18585 * resolv/res_query.c (__libc_res_nquery): Likewise.
18586 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18587 Likewise.
18588 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18589 * stdio-common/perror.c (perror): Likewise.
18590 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18591 * stdio-common/tmpnam.c (tmpnam): Likewise.
18592 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18593 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18594 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18595 Likewise.
18596 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18597 * stdlib/putenv.c (putenv): Likewise.
18598 * stdlib/setenv.c (__add_to_environ): Likewise.
18599 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18600 * stdlib/strtol_l.c (INTERNAL): Likewise.
18601 * string/memmem.c (memmem): Likewise.
18602 * string/strerror.c (strerror): Likewise.
18603 * string/strnlen.c (__strnlen): Likewise.
18604 * string/test-memmem.c (simple_memmem): Likewise.
18605 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18606 * sunrpc/pm_getport.c (__get_socket): Likewise.
18607 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18608 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18609 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18610 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18611 Likewise.
18612 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18613 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18614 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18615 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18616 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18617 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18618 Likewise.
18619 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18620 Likewise.
18621 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18622 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18624 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18625 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18627 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18628 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18629 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18630 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18631 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18632 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18633 Likewise.
18634 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18635 Likewise.
18636 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18637 Likewise.
18638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18639 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18640 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18641 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18642 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18643 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18644 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18647 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18648 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18649 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18650 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18651 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18653 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18654 Likewise.
18655 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18656 Likewise.
18657 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18658 Likewise.
18659 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18660 Likewise.
18661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18663 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18664 Likewise.
18665 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18666 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18667 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18668 * sysdeps/posix/sleep.c: Likewise.
18669 * sysdeps/posix/tempname.c: Likewise.
18670 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18671 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18672 Likewise.
18673 * sysdeps/powerpc/powerpc32/dl-machine.h
18674 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18675 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18677 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18678 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18679 Likewise.
18680 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18681 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18682 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18683 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18684 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18685 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18686 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18687 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18688 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18689 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18691 (elf_machine_lazy_rel): Likewise.
18692 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18694 (elf_machine_lazy_rel): Likewise.
18695 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18696 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18697 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18698 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18699 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18700 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18702 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18703 Likewise.
18704 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18705 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18706 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18707 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18708 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18709 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18710 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18711 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18712 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18713 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18714 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18715 Likewise.
18716 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18717 (__posix_fallocate64_l64): Likewise.
18718 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18719 (posix_fallocate): Likewise.
18720 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18721 Likewise.
18722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18723 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18724 (getifaddrs_internal): Likewise.
18725 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18726 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18727 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18728 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18729 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18730 (__posix_fallocate64_l64): Likewise.
18731 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18732 Likewise.
18733 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18734 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18735 (__get_clockfreq): Likewise.
18736 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18737 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18738 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18741 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18742 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18743 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18744 Likewise.
18745 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18746 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18747 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18749 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18750 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18751 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18752 Likewise.
18753 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18754 (posix_fallocate): Likewise.
18755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18756 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18757 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18758 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18759 (elf_machine_rela, elf_machine_rela_relative)
18760 (elf_machine_lazy_rel): Likewise.
18761 * time/asctime.c (asctime_internal): Likewise.
18762 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18763 * time/tzset.c (__tzset_parse_tz): Likewise.
18764 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18765 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18766 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18767 * wcsmbs/wcsmbsload.h: Likewise.
18768
18769 [BZ #15894]
18770 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18771
18772 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18773 (arena_get2): Remove THREAD_STATS conditionals.
18774 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18775 (__malloc_stats, int): Likewise.
18776
18777 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18778
18779 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18780 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18781
18782 * manual/setjmp.texi: Fix typos/grammar errors.
18783
18784 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18785 Only return early when n is <= 0. Delete unused return statement.
18786
18787 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18788 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18789 * debug/tst-longjmp_chk3.c: New file.
18790
18791 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18792 (test_main): Replace code with set_fortify_handler call.
18793 * debug/test-strcpy_chk.c: Likewise.
18794 * debug/tst-chk1.c: Likewise.
18795 * debug/tst-longjmp_chk.c: Likewise.
18796 * test-skeleton.c: Include fcntl.h & paths.h
18797 (set_fortify_handler): Define.
18798
18799 * debug/tst-longjmp_chk.c: Add header comment and include
18800 ../test-skeleton.c.
18801 (do_test): Mark static.
18802 (TEST_FUNCTION): Define.
18803
18804 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18805 (IP_PMTUDISC_INTERFACE): Likewise.
18806 (IP_MULTICAST_IF): Likewise.
18807 (IP_MULTICAST_TTL): Likewise.
18808 (IP_MULTICAST_LOOP): Likewise.
18809 (IP_ADD_MEMBERSHIP): Likewise.
18810 (IP_DROP_MEMBERSHIP): Likewise.
18811 (IP_UNBLOCK_SOURCE): Likewise.
18812 (IP_BLOCK_SOURCE): Likewise.
18813 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18814 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18815 (IP_MSFILTER): Likewise.
18816 (MCAST_JOIN_GROUP): Likewise.
18817 (MCAST_BLOCK_SOURCE): Likewise.
18818 (MCAST_UNBLOCK_SOURCE): Likewise.
18819 (MCAST_LEAVE_GROUP): Likewise.
18820 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18821 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18822 (MCAST_MSFILTER): Likewise.
18823 (IP_MULTICAST_ALL): Likewise.
18824 (IP_UNICAST_IF): Likewise.
18825
18826 * timezone/Makefile: Delete $(have-ksh) check.
18827 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18828 * timezone/tzselect.ksh: Add +x mode bits.
18829
18830 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18831 (ANON_INODE_FS_MAGIC): Likewise.
18832 (BDEVFS_MAGIC): Likewise.
18833 (BINFMTFS_MAGIC): Likewise.
18834 (BTRFS_TEST_MAGIC): Likewise.
18835 (CRAMFS_MAGIC_WEND): Likewise.
18836 (DEBUGFS_MAGIC): Likewise.
18837 (ECRYPTFS_SUPER_MAGIC): Likewise.
18838 (EXT3_SUPER_MAGIC): Likewise.
18839 (EXT4_SUPER_MAGIC): Likewise.
18840 (FUTEXFS_SUPER_MAGIC): Likewise.
18841 (HOSTFS_SUPER_MAGIC): Likewise.
18842 (HUGETLBFS_MAGIC): Likewise.
18843 (MINIX3_SUPER_MAGIC): Likewise.
18844 (MTD_INODE_FS_MAGIC): Likewise.
18845 (NILFS_SUPER_MAGIC): Likewise.
18846 (OPENPROM_SUPER_MAGIC): Likewise.
18847 (PIPEFS_MAGIC): Likewise.
18848 (PSTOREFS_MAGIC): Likewise.
18849 (QNX6_SUPER_MAGIC): Likewise.
18850 (RAMFS_MAGIC): Likewise.
18851 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18852 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18853 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18854 (SECURITYFS_MAGIC): Likewise.
18855 (SELINUX_MAGIC): Likewise.
18856 (SMACK_MAGIC): Likewise.
18857 (SOCKFS_MAGIC): Likewise.
18858 (SQUASHFS_MAGIC): Likewise.
18859 (STACK_END_MAGIC): Likewise.
18860 (TMPFS_MAGIC): Likewise.
18861 (USBDEVICE_SUPER_MAGIC): Likewise.
18862 (V9FS_MAGIC): Likewise.
18863 (XENFS_SUPER_MAGIC): Likewise.
18864 (CRAMFS_MAGIC): Fix typo in comment.
18865 (EXT2_SUPER_MAGIC): Update comment.
18866 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18867
18868 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18869
18870 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18871 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18872 * sysdeps/unix/sysv/linux/arm: Move directory from
18873 ports/sysdeps/unix/sysv/linux/arm.
18874 * README: Update listing for arm-*-linux-gnueabi.
18875
18876 * README: Remove mention of am33.
18877
18878 2014-02-07 Roland McGrath <roland@hack.frob.com>
18879
18880 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18881 than the comma operator, to avoid "rhs of comma has no effect"
18882 compiler warnings.
18883 (__sigfillset, __sigandset, __sigorset): Likewise.
18884 * include/signal.h (__sigemptyset): Likewise.
18885 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18886
18887 2014-02-07 Allan McRae <allan@archlinux.org>
18888
18889 * version.h (RELEASE): Set to "development".
18890 (VERSION): Set to "2.19.90"
18891 * NEWS: Add 2.20 section.
18892
18893 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18894
18895 [BZ #16529]
18896 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18897
18898 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18899
18900 * manual/contrib.texi: Update entry for Carlos O'Donell,
18901 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18902
18903 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18904
18905 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18906
18907 * sysdeps/unix/sysv/linux/kernel-features.h
18908 [__LINUX_KERNEL_VERSION >= 0x020621]
18909 (__ASSUME_PROC_PID_TASK_COMM): Define.
18910
18911 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18912
18913 [BZ #16398]
18914 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18915 conversion when destination buffer does not have enough space.
18916 * libio/tst-ftell-partial-wide.c: New test case.
18917 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18918
18919 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18920 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18921 Leonard and Allan McRae.
18922
18923 2014-02-04 David S. Miller <davem@davemloft.net>
18924
18925 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18926 32-bit.
18927
18928 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18929
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18931 New file
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18933 New file
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18935 New file.
18936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18937 New file.
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18939 New file.
18940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18941 New file.
18942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18943 New file.
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18945 New file.
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18947 New file.
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18949 New file.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18951 New file.
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18953 New file.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18955 New file.
18956
18957 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18958
18959 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18960 * shlib-versions: Likewise.
18961
18962 2014-02-04 Roland McGrath <roland@hack.frob.com>
18963 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18964
18965 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18966 (abilist-pattern): New variable, set to %-le.abilist.
18967
18968 * Makerules (abilist-pattern): New variable.
18969 (vpath): Use $(abilist-pattern) in place of %.abilist.
18970 (check-abi-% pattern rule): Likewise.
18971 (check-abi, update-abi): Likewise.
18972
18973 2014-02-04 Eric Wong <normalperson@yhbt.net>
18974
18975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18976
18977 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18978
18979 * manual/startup.texi: Add next, previous, and top entries for
18980 the `Program Arguments' and `Environment Variables' nodes.
18981
18982 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18983
18984 * manual/macros.texi: Add comments before MTASC-safety macros.
18985
18986 * manual/users.texi: Document MTASC-safety properties.
18987
18988 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18989 (pthread_getspecific, pthread_setspecific): Format with
18990 @deftypefun, and add @safety note.
18991 * manual/signal.texi: Move comments that analyze the above
18992 functions to their home place.
18993
18994 2014-02-03 Allan McRae <allan@archlinux.org>
18995
18996 * po/sl.po: Update Slovenian translation from translation project.
18997
18998 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
18999
19000 * manual/time.texi (timegm): Add missing blank after @c.
19001 Reported by Joseph Myers <joseph@codesourcery.com>.
19002
19003 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19004
19005 * manual/check-safety.sh: New.
19006 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19007
19008 * manual/terminal.texi: Document MTASC-safety properties.
19009
19010 * manual/filesys.texi: Document MTASC-safety properties.
19011
19012 * manual/errno.texi: Document MTASC-safety properties.
19013
19014 * manual/intro.texi: Document safety identifiers and
19015 conditionals.
19016
19017 * manual/string.texi (wcstok): Fix prototype.
19018 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19019
19020 * manual/time.texi: Document MTASC-safety properties.
19021
19022 * manual/string.texi: Document MTASC-safety properties.
19023
19024 * manual/threads.texi: Document MTASC-safety properties.
19025
19026 * manual/stdio.texi: Document MTASC-safety properties.
19027
19028 * manual/syslog.texi: Document MTASC-safety properties.
19029
19030 * manual/sysinfo.texi: Document MTASC-safety properties.
19031
19032 * manual/startup.texi: Document MTASC-safety properties.
19033
19034 * manual/socket.texi: Document MTASC-safety properties.
19035
19036 * manual/signal.texi: Document MTASC-safety properties.
19037
19038 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19039
19040 * manual/setjmp.texi: Document MTASC-safety properties.
19041
19042 * manual/search.texi: Document MTASC-safety properties.
19043
19044 * manual/resource.texi: Document MTASC-safety properties.
19045
19046 * manual/process.texi: Document MTASC-safety properties.
19047
19048 * manual/platform.texi: Document MTASC-safety properties.
19049
19050 * manual/pipe.texi: Document MTASC-safety properties.
19051
19052 * manual/pattern.texi: Document MTASC-safety properties.
19053
19054 * manual/message.texi: Document MTASC-safety properties.
19055
19056 [BZ #12751]
19057 * manual/memory.texi: Document MTASC-safety properties.
19058
19059 * manual/math.texi: Document MTASC-safety properties.
19060
19061 * manual/locale.texi: Document MTASC-safety properties.
19062
19063 * manual/llio.texi: Document MTASC-safety properties.
19064
19065 * manual/libdl.texi: New.
19066
19067 * manual/lang.texi: Document MTASC-safety properties.
19068
19069 * manual/job.texi: Document MTASC-safety properties.
19070
19071 * manual/getopt.texi: Document MTASC-safety properties.
19072
19073 * manual/ctype.texi: Document MTASC-safety properties.
19074
19075 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19076
19077 [BZ #16046]
19078 * csu/libc-tls.c (static_map): Remove variable.
19079 (__libc_setup_tls): Use main executable's link map for TLS data.
19080 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19081 casing for LM_ID_BASE and GL(dl_nns).
19082 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19083 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19084 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19085 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19086 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19087 member.
19088 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19089 l_phnum members.
19090
19091 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19092
19093 * manual/debug.texi: Document MTASC-safety properties.
19094
19095 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19096
19097 [BZ #16510]
19098 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19099 of __x86_64__ when disabling x87 inline functions.
19100
19101 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19102
19103 * manual/charset.texi: Document MTASC-safety properties.
19104
19105 * manual/crypt.texi: Document MTASC-safety properties.
19106
19107 * manual/conf.texi: Document MTASC-safety properties.
19108
19109 * manual/arith.texi: Document MTASC-safety properties.
19110
19111 * manual/argp.texi: Document MTASC-safety properties.
19112
19113 * manual/macros.texi: Introduce macros to document multi
19114 thread, asynchronous signal and asynchronous cancellation
19115 safety properties.
19116 * manual/intro.texi: Introduce the properties themselves.
19117
19118 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19119
19120 * sysdeps/sh/sh4/Makefile: New file.
19121
19122 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19123
19124 * math/gen-libm-test.pl ($srcdir): New variable.
19125 ($auto_input): Use it.
19126
19127 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19128
19129 [BZ #16506]
19130 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19131 access beyond array bounds when parsing netgroups file.
19132
19133 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19134 the old buffer before realloc.
19135
19136 2014-01-27 Allan McRae <allan@archlinux.org>
19137
19138 * po/fr.po: Update French translation from translation project.
19139
19140 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19141
19142 * sysdeps/sh/libm-test-ulps: Regenerate.
19143
19144 2014-01-24 David S. Miller <davem@davemloft.net>
19145
19146 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19147
19148 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19149
19150 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19151 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19152
19153 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19154
19155 [BZ #16474]
19156 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19157 string pointers after reallocation.
19158
19159 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19160
19161 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19162 __SH4A__ instead of __SH_FPU_ANY__.
19163
19164 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19165
19166 * sysdeps/sh/fpu_control.h: New file.
19167 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19168 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19169 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19170 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19171 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19172 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19173 * sysdeps/sh/sys/ucontext.h: Remove.
19174 * sysdeps/sh/sys: Remove directory.
19175
19176 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19177
19178 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19179 s390/sys/ucontext.h.
19180 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19181 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19182
19183 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19184
19185 [BZ #15605]
19186 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19187
19188 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19189
19190 [BZ#16431]
19191 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19192 Adjust the vDSO correctly for internal calls.
19193 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19194
19195 2014-01-20 Allan McRae <allan@archlinux.org>
19196
19197 * po/ca.po: Update Catalan translation from translation project.
19198
19199 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19200
19201 * sysdeps/s390/sotruss-lib.c: New file.
19202
19203 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19204
19205 [BZ#16430]
19206 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19207 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19208 local calls issues by not having a PLT stub required for IFUNC calls.
19209 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19210
19211 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19212
19213 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19214 * math/test-fpucw-static.c: Likewise.
19215
19216 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19217
19218 [BZ #16453]
19219 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19220
19221 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19222
19223 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19224 implementation for powerpc.
19225
19226 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19227
19228 [BZ #14782]
19229 * sysdeps/posix/system.c (__libc_system): Do not enable
19230 asynchronous cancellation.
19231
19232 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19233
19234 [BZ #16427]
19235 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19236 handling only for numbers special also in the IEEE case.
19237
19238 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19239
19240 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19241
19242 2014-01-11 Allan McRae <allan@archlinux.org>
19243
19244 * po/bg.po: Update Bulgarian translation from translation project.
19245
19246 * po/de.po: Update German translation from translation project.
19247
19248 2014-01-10 Roland McGrath <roland@hack.frob.com>
19249
19250 * sysdeps/generic/gcc-compat.h: New file.
19251
19252 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19253
19254 * benchtests/asin-inputs: Correct slow inputs.
19255 * benchtests/acos-inputs: Likewise.
19256
19257 2014-01-10 Allan McRae <allan@archlinux.org>
19258
19259 * po:sv.po: Update Swedish translation from translation project.
19260
19261 * po/vi.po: Update Vietnamese translation from translation project.
19262
19263 * po/eo.po: Update Esperanto translation from translation project.
19264
19265 * po/cs.po: Update Czech translation from translation project.
19266
19267 * po/nl.po: Update Dutch translation from translation project.
19268
19269 * po/pl.po: Update Polish translation from translation project.
19270
19271 * po/ru.po: Update Russian translation from translation project.
19272
19273 * po/uk.po: Update Ukrainian translation from translation project.
19274
19275 2014-01-08 Brooks Moses <bmoses@google.com>
19276
19277 * elf/dl-load.c: Fix comment typo.
19278
19279 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19280
19281 * po/header.pot: Rename to...
19282 * po/pot.header: ... this.
19283 * po/Makefile: Use pot.header.
19284
19285 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19286 Maxim Kuvyrkov <maxim@kugelworks.com>
19287
19288 [BZ #16394]
19289 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19290 SRC and DEST against LEN.
19291
19292 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19293
19294 [BZ #16414]
19295 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19296 implementation.
19297 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19298
19299 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19300
19301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19302
19303 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19304
19305 [BZ #16408]
19306 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19307 for large positive arguments.
19308
19309 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19310
19311 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19312
19313 * math/auto-libm-test-in: Mark various tests with
19314 xfail-rounding:ldbl-128ibm.
19315 * math/auto-libm-test-out: Regenerated.
19316
19317 [BZ #16407]
19318 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19319 Increase overflow threshold.
19320
19321 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19322
19323 [BZ #14286]
19324 * stdio-common/vfprintf.c: Check for integer overflow.
19325
19326 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19327
19328 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19329 the first argument and return value of __tls_get_addr_internal.
19330
19331 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19332
19333 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19334 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19335
19336 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19337
19338 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19339 * sysdeps/s390/rtld-global-offsets.sym: New file.
19340 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19341 GLIBC_2.19 symbol.
19342 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19343 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19344 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19345 ... this.
19346 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19347 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19348 ... this.
19349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19350 Regenerate.
19351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19352 Regenerate.
19353 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19354 halfs of GPRs for high_gprs contexts.
19355 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19356 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19357 field.
19358 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19359 uc_flags field.
19360 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19361 64 bit versions:
19362 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19363 for high GPRs (uc_high_gprs) and for future extensions
19364 (__reserved).
19365 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19366 for future extensions (__reserved).
19367 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19368 64 bit versions:
19369 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19370 SC_HIGHGPRS offset definition.
19371 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19372 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19373
19374 * Versions.def: Add GLIBC_2.19 for libpthread.
19375 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19376 siglongjmp for libpthread with GLIBC_2.19 symver.
19377 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19378 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19379 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19380 * sysdeps/s390/__longjmp.c: New file.
19381 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19382 * sysdeps/s390/longjmp.c: New file.
19383 * sysdeps/s390/setjmp.S: New file.
19384 * sysdeps/s390/sigjmp.S: New file.
19385 * sysdeps/s390/v1-longjmp.c: New file.
19386 * sysdeps/s390/v1-setjmp.h: New file.
19387 * sysdeps/s390/v1-sigjmp.c: New file.
19388 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19389 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19390 GLIBC_2.19 version.
19391 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19392 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19393 versioned symbols for ____longjmp_chk.
19394 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19395 Likewise.
19396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19397 Regenerate.
19398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19399 Regenerate.
19400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19401 Regenerate.
19402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19403 Regenerate.
19404 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19405 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19406 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19407 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19408 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19409 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19410 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19411 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19412 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19413 * sysdeps/s390/rtld-__longjmp.c: New file.
19414 * sysdeps/s390/rtld-setjmp.S: New file.
19415
19416 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19417
19418 [BZ #16400]
19419 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19420 Return -__logl (x) for small positive arguments without evaluating
19421 a polynomial.
19422
19423 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19424
19425 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19426 Rename to ...
19427 (__ptrace_peeksiginfo_args): ... this.
19428 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19430 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19431
19432 2014-01-06 Allan McRae <allan@archlinux.org>
19433
19434 * inet/netinet/in.h: Fix typo in comment.
19435
19436 2014-01-05 Andreas Jaeger <aj@suse.de>
19437
19438 * sysdeps/i386/fpu/libm-test-ulps: Update.
19439
19440 2014-01-05 Allan McRae <allan@archlinux.org>
19441
19442 * po/libc.pot: Regenerated.
19443
19444 * malloc/memusagestat.c: Fix gettext call formatting.
19445
19446 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19447
19448 * nscd/nscd.c: Improve usage() output.
19449
19450 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19451
19452 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19453 * sysdeps/unix/sysv/linux/configure: Regenerated.
19454 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19455 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19456
19457 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19458
19459 [BZ #16390]
19460 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19461 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19462
19463 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19464
19465 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19466 extra tokens at end of #undef directive.
19467 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19468 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19470
19471 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19472
19473 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19474
19475 * math/auto-libm-test-in: Mark various tests with
19476 xfail-rounding:ldbl-128ibm.
19477 * math/auto-libm-test-out: Regenerated.
19478
19479 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19480
19481 [BZ #16386]
19482 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19483 numbers with subnormal high part when calculating exponent.
19484
19485 [BZ #16385]
19486 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19487 fabs.
19488
19489 [BZ #16384]
19490 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19491 M_LN2l.
19492 (__ieee754_acoshl): Use __log1pl not __log1p.
19493
19494 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19495
19496 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19497 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19498 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19499 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19500 (reused_arena, arena_get2): Convert to GNU style.
19501 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19502 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19503 (memalign_check, __malloc_set_state): Likewise.
19504 * malloc/mallocbug.c (main): Likewise.
19505 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19506 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19507 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19508 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19509 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19510 (__posix_memalign, malloc_info): Likewise.
19511 * malloc/malloc.h: Likewise.
19512 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19513 (mallochook, memalignhook, reallochook, mabort): Likewise.
19514 * malloc/mcheck.h: Likewise.
19515 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19516 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19517 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19518 * malloc/morecore.c (__default_morecore): Likewise.
19519 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19520 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19521 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19522 (print_and_abort): Likewise.
19523 * malloc/obstack.h: Likewise.
19524 * malloc/set-freeres.c (__libc_freeres): Likewise.
19525 * malloc/tst-mallocstate.c (main): Likewise.
19526 * malloc/tst-mtrace.c (main): Likewise.
19527 * malloc/tst-realloc.c (do_test): Likewise.
19528
19529 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19530
19531 [BZ #16366]
19532 * nscd/netgroupcache.c (do_notfound): New function.
19533 (addgetnetgrentX): Use it.
19534
19535 [BZ # 16365]
19536 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19537 NSS_STATUS_NOTFOUND.
19538
19539 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19540
19541 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19543
19544 2014-01-01 Allan McRae <allan@archlinux.org>
19545
19546 * scripts/update-copyrights: Update configure input file suffix.
19547
19548 * NEWS: Update copyright year.
19549 * catgets/gencat.c: Likewise.
19550 * csu/version.c: Likewise.
19551 * debug/catchsegv.sh: Likewise.
19552 * debug/pcprofiledump.c: Likewise.
19553 * debug/xtrace.sh: Likewise.
19554 * elf/ldconfig.c: Likewise.
19555 * elf/ldd.bash.in: Likewise.
19556 * elf/pldd.c: Likewise.
19557 * elf/sotruss.ksh: Likewise.
19558 * elf/sprof.c: Likewise.
19559 * iconv/iconv_prog.c: Likewise.
19560 * iconv/iconvconfig.c: Likewise.
19561 * locale/programs/locale.c: Likewise.
19562 * locale/programs/localedef.c: Likewise.
19563 * login/programs/pt_chown.c: Likewise.
19564 * malloc/memusage.sh: Likewise.
19565 * malloc/memusagestat.c: Likewise.
19566 * malloc/mtrace.pl: Likewise.
19567 * manual/libc.texinfo: Likewise.
19568 * nscd/nscd.c: Likewise.
19569 * nss/getent.c: Likewise.
19570 * nss/makedb.c: Likewise.
19571 * posix/getconf.c: Likewise.
19572 * scripts/test-installation.pl: Likewise.
19573
19574 * All files with FSF copyright notices: Update copyright dates
19575 using scripts/update-copyrights.
19576 * intl/plural.c: Regenerated.
19577 * locale/programs/charmap-kw.h: Likewise.
19578 * locale/programs/locfile-kw.h: Likewise.
19579
19580 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19581
19582 * sysdeps/unix/sysv/linux/configure: Regenerated.
19583 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19584 the linux/fanotify.h header.
19585 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19586 HAVE_LINUX_FANOTIFY_H is defined.
19587
19588 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19589
19590 * benchtests/cos-inputs: New inputs.
19591 * benchtests/sin-inputs: Likewise.
19592
19593 * benchtests/atan-inputs: New inputs. Fix name of multiple
19594 precision fallback inputs.
19595
19596 * benchtests/atanh-inputs: New inputs.
19597 * benchtests/tanh-inputs: Likewise.
19598
19599 * benchtests/acosh-inputs: New inputs.
19600 * benchtests/asinh-inputs: Likewise.
19601
19602 * benchtests/cosh-inputs: New inputs.
19603 * benchtests/sinh-inputs: Likewise.
19604
19605 * benchtests/acos-inputs: Add more inputs.
19606 * benchtests/asin-inputs: Likewise.
19607
19608 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19609
19610 [BZ #16375]
19611 * manual/arith.texi: Fix spelling.
19612 * manual/charset.texi: Likewise.
19613 * manual/errno.texi: Likewise.
19614 * manual/filesys.texi: Likewise.
19615 * manual/lang.texi: Likewise.
19616 * manual/llio.texi: Likewise.
19617 * manual/locale.texi: Likewise.
19618 * manual/message.texi: Likewise.
19619 * manual/resource.texi: Likewise.
19620 * manual/search.texi: Likewise.
19621 * manual/setjmp.texi: Likewise.
19622 * manual/stdio.texi: Likewise.
19623 * manual/string.texi: Likewise.
19624 * manual/sysinfo.texi: Likewise.
19625 * manual/time.texi: Likewise.
19626
19627 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19628
19629 * po/sl.po: New file.
19630
19631 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19632
19633 * .gitignore: Add core/.gdbinit/.gdb_history.
19634
19635 2013-12-27 Allan McRae <allan@archlinux.org>
19636
19637 [BZ #16369]
19638 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19639 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19640
19641 2013-12-24 Brooks Moses <bmoses@google.com>
19642
19643 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19644 all compilers that claim C++98 compliance, not just GCC.
19645 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19646 Likewise.
19647
19648 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19649
19650 * NEWS: Restore accidentally deleted bug-fix entries.
19651
19652 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19653 Ondřej Bílka <neleai@seznam.cz>
19654
19655 [BZ #15073]
19656 * malloc/malloc.c (_int_free): Perform sanity check only if we
19657 have_lock.
19658
19659 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19660
19661 [BZ #12986]
19662 * manual/stdio.texi (String Input Conversions): Clarify that character
19663 classes are not supported.
19664
19665 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19666
19667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19668
19669 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19670
19671 [BZ #16337]
19672 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19673 Calculate results for small negative arguments directly rather
19674 than using reflection formula with special underflow handling.
19675
19676 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19677 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19678 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19679 (fchflags): Likewise.
19680 (revoke): Likewise.
19681 (setlogin): Likewise.
19682 (sigaltstack): Likewise.
19683 (wait4): Likewise.
19684 (sigblock): Remove.
19685 (sigsetmask): Likewise.
19686 (wait3): Likewise.
19687 (waitpid): Likewise.
19688 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19689 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19690 file.
19691 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19692 * sysdeps/unix/bsd/Makefile: ... here.
19693 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19694 * sysdeps/unix/bsd/Versions: ... here.
19695 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19696 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19697 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19698 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19699 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19700 * sysdeps/unix/bsd/sigblock.c: ... here.
19701 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19702 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19703 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19704 * sysdeps/unix/bsd/sigvec.c: ... here.
19705 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19706 * sysdeps/unix/bsd/tcdrain.c: ... here.
19707 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19708 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19709 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19710 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19711 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19712 * sysdeps/unix/bsd/wait.c: ... here.
19713 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19714 * sysdeps/unix/bsd/wait3.c: ... here.
19715 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19716 * sysdeps/unix/bsd/waitpid.c: ... here.
19717
19718 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19719
19720 [BZ #16356]
19721 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19722 round-to-nearest for [!USE_AS_EXPM1L].
19723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19724 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19725 more tests of exp and exp10. Expect some exp10 tests to miss
19726 exceptions or fail in directed rounding modes.
19727 * math/auto-libm-test-out: Regenerated.
19728 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19729 (exp10_test_tonearest): New function.
19730 (exp10_towardzero_test_data): New array.
19731 (exp10_test_towardzero): New function.
19732 (exp10_downward_test_data): New array.
19733 (exp10_test_downward): New function.
19734 (exp10_upward_test_data): New array.
19735 (exp10_test_upward): New function.
19736 (main): Call the new functions.
19737 * sysdeps/i386/fpu/libm-test-ulps: Update.
19738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19739
19740 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19741
19742 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19743 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19744 * math/auto-libm-test-out: Regenerated.
19745 * math/libm-test.inc (acosh_test_data): Add more tests.
19746 (atanh_test_data): Likewise.
19747 (ceil_test_data): Likewise.
19748 (copysign_test_data): Likewise.
19749 * sysdeps/i386/fpu/libm-test-ulps: Update.
19750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19751
19752 * timezone/checktab.awk: Update from tzcode 2013i.
19753 * timezone/private.h: Likewise.
19754 * timezone/scheck.c: Likewise.
19755 * timezone/tzfile.h: Likewise.
19756 * timezone/tzselect.ksh: Likewise.
19757 * timezone/zdump.c: Likewise.
19758 * timezone/zic.c: Likewise.
19759
19760 * math/auto-libm-test-in: Add tests of cpow.
19761 * math/auto-libm-test-out: Regenerated.
19762 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19763 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19764 mpc_cc_c.
19765 (func_calc_desc): Add mpc_cc_c union field.
19766 (test_functions): Add cpow.
19767 (special_fill_2pi): New function.
19768 (special_real_inputs): Add 2pi.
19769 (calc_generic_results): Handle mpc_cc_c.
19770 * sysdeps/i386/fpu/libm-test-ulps: Update.
19771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19772
19773 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19774 csqrt, ctan and ctanh.
19775 * math/auto-libm-test-out: Regenerated.
19776 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19777 (TEST_COND_x86): Likewise.
19778 (ccos_test_data): Use AUTO_TESTS_c_c.
19779 (ccosh_test_data): Likewise.
19780 (cexp_test_data): Likewise.
19781 (clog_test_data): Likewise.
19782 (csqrt_test_data): Likewise.
19783 (ctan_test_data): Likewise.
19784 (ctan_tonearest_test_data): Likewise.
19785 (ctan_towardzero_test_data): Likewise.
19786 (ctan_downward_test_data): Likewise.
19787 (ctan_upward_test_data): Likewise.
19788 (ctanh_test_data): Likewise.
19789 (ctanh_tonearest_test_data): Likewise.
19790 (ctanh_towardzero_test_data): Likewise.
19791 (ctanh_downward_test_data): Likewise.
19792 (ctanh_upward_test_data): Likewise.
19793 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19794 mpc_c_c.
19795 (func_calc_desc): Add mpc_c_c union field.
19796 (FUNC_mpc_c_c): New macro.
19797 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19798 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19799 ctanh.
19800 (special_fill_min_subnorm_p120): New function.
19801 (special_real_inputs): Add min_subnorm_p120.
19802 (calc_generic_results): Handle mpc_c_c.
19803 * sysdeps/i386/fpu/libm-test-ulps: Update.
19804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19805
19806 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19807
19808 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19809 (do_sin_slow): New functions.
19810 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19811 (cslow2, csloww1, csloww2): Use the new functions.
19812
19813 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19814 Use M to change sign of result instead of X. Assume X is
19815 positive.
19816 (csloww1): Likewise.
19817 (__sin): Adjust.
19818 (__cos): Adjust.
19819
19820 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19821 arguments A and DA.
19822 (__sin): Adjust.
19823 (__cos): Likewise.
19824
19825 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19826 (__cos): Likewise.
19827 (sloww1): Don't adjust sign of DX.
19828 (csloww1): Likewise.
19829 (sloww2): Use X directly and don't adjust sign of DX.
19830 (csloww2): Likewise.
19831
19832 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19833
19834 * math/auto-libm-test-in: Add tests of cabs and carg.
19835 * math/auto-libm-test-out: Regenerated.
19836 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19837 (carg_test_data): Likewise.
19838 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19839 mpc_c_f.
19840 (func_calc_desc): Add mpc_c_f union field.
19841 (test_functions): Add cabs and carg.
19842 (calc_generic_results): Handle mpc_c_f.
19843
19844 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19845 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19846 as a macro and a compat symbol.
19847 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19848 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19849 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19850 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19851 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19852 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19853 not use .hidden.
19854 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19855 Likewise.
19856 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19857 Likewise.
19858 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19859 Likewise.
19860 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19861 Likewise.
19862 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19863 Likewise.
19864 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19865 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19866 from GLIBC_2.3.2.
19867
19868 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19869
19870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19871
19872 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19873
19874 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19875 trailing whitespace removed.
19876 * scripts/config.guess: Update to version 2013-11-29.
19877 * scripts/config.sub: Update to version 2013-10-01.
19878
19879 * math/auto-libm-test-in: Add tests of sincos.
19880 * math/auto-libm-test-out: Regenerated.
19881 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19882 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19883 mpfr_f_11.
19884 (func_calc_desc): Add mpfr_f_11 union field.
19885 (test_functions): Add sincos.
19886 (calc_generic_results): Handle mpfr_f_11.
19887 * sysdeps/i386/fpu/libm-test-ulps: Update.
19888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19889
19890 2013-12-19 Andreas Schwab <schwab@suse.de>
19891
19892 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19893 CALL_MCOUNT.
19894 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19895 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19896 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19897
19898 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19899
19900 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19901 * sysdeps/i386/fpu/libm-test-ulps: Update.
19902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19903
19904 [BZ #16293]
19905 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19906 round-to-nearest mode when using frndint.
19907 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19908 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19909 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19910 Likewise.
19911 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19912 sinh test to fail.
19913 * math/auto-libm-test-out: Regenerated.
19914 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19915 (TEST_COND_x86): Likewise.
19916 (expm1_tonearest_test_data): New array.
19917 (expm1_test_tonearest): New function.
19918 (expm1_towardzero_test_data): New array.
19919 (expm1_test_towardzero): New function.
19920 (expm1_downward_test_data): New array.
19921 (expm1_test_downward): New function.
19922 (expm1_upward_test_data): New array.
19923 (expm1_test_upward): New function.
19924 (main): Run the new test functions.
19925 * sysdeps/i386/fpu/libm-test-ulps: Update.
19926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19927
19928 * include/features.h: Update comment documenting feature test
19929 macros. Mention _DEFAULT_SOURCE in comment.
19930 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19931 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19932 _BSD_SOURCE and _SVID_SOURCE.
19933 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19934 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19935 !_SVID_SOURCE]: Likewise.
19936 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19937 (__USE_POSIX_IMPLICITLY): Define.
19938 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19939 (_POSIX_SOURCE): Undefine and redefine.
19940 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19941 (_POSIX_C_SOURCE): Likewise.
19942 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19943 (Feature Test Macros): Update documentation of default features.
19944
19945 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19946
19947 * benchtests/Makefile: Add bench-strtok.
19948 * benchtests/bench-strtok.c: New file: strtok benchtest.
19949
19950 2013-12-19 Allan McRae <allan@archlinux.org>
19951
19952 * manual/install.texi: Suppress menu for plain text output.
19953 * INSTALL: Regenerated.
19954
19955 2013-12-18 Brooks Moses <bmoses@google.com>
19956
19957 [BZ #15846]
19958 * misc/getauxval.c: Include errno.h.
19959 (__getauxval): Set errno to ENOENT if the requested type is not
19960 found.
19961 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19962 don't declare with __attribute_const__.
19963 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19964 * manual/startup.texi: Document that getauxval sets errno.
19965
19966 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19967
19968 * math/auto-libm-test-in: Add tests of jn and yn.
19969 * math/auto-libm-test-out: Regenerated.
19970 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19971 (yn_test_data): Likewise.
19972 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19973 mpfr_if_f.
19974 (func_calc_desc): Add mpfr_if_f union field.
19975 (FUNC_mpfr_if_f): New macro.
19976 (test_functions): Add jn and yn.
19977 (calc_generic_results): Assert type of second input for
19978 mpfr_ff_f. Handle mpfr_if_f.
19979 (output_for_one_input_case): Disable all checking for arguments
19980 fitting floating-point types in case of an integer argument.
19981 * sysdeps/i386/fpu/libm-test-ulps: Update.
19982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19983
19984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19985 Don't expect fegetround reference in libm.so.
19986
19987 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19988
19989 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19990 $(config-cflags-nofma).
19991
19992 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19993
19994 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19995 * math/auto-libm-test-out: Regenerated.
19996
19997 [BZ #16338]
19998 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19999 to determine exponent and adjust argument to have exponent of -1.
20000 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20001 log2.
20002 * math/auto-libm-test-out: Regenerated.
20003 * sysdeps/i386/fpu/libm-test-ulps: Update.
20004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20005
20006 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20007
20008 * manual/probes.texi: Remove cases when per-thread arenas are
20009 disabled.
20010
20011 2013-12-18 Andreas Schwab <schwab@suse.de>
20012
20013 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20014 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20015 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20016 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20017 * sysdeps/i386/i686/multiarch/Makefile: Update.
20018 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20019
20020 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20021
20022 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20023 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20024
20025 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20026
20027 [BZ #15968]
20028 Support TZ transition times < 00:00:00.
20029 This is needed for version-3 tz-format files; it supports time
20030 stamps past 2037 for America/Godthab (the only entry in the tz
20031 database for which this change is relevant).
20032 * manual/time.texi (TZ Variable): Document transition times
20033 from -167:59:59 through -00:00:01.
20034 * time/tzset.c (tz_rule): Time of day is now signed.
20035 (__tzset_parse_tz): Parse negative time of day.
20036
20037 Document TZ transition times >= 25:00:00.
20038 * manual/time.texi (TZ Variable): Document transition times from
20039 25:00:00 through 167:59:59. These are already supported, and this
20040 support will help with version-3 tz-format files.
20041
20042 * manual/time.texi (TZ Variable): Modernize North America example
20043 to reflect current (i.e., 2007-and-later) daylight saving rules.
20044
20045 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20046
20047 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20048
20049 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20050 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20051 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20053 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20054 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20055 * sysdeps/unix/bsd/clock.c: Likewise.
20056 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20057 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20058 * sysdeps/unix/bsd/init-posix.c: Likewise.
20059 * sysdeps/unix/bsd/poll.c: Likewise.
20060 * sysdeps/unix/bsd/ptsname.c: Likewise.
20061 * sysdeps/unix/bsd/seekdir.c: Likewise.
20062 * sysdeps/unix/bsd/setegid.c: Likewise.
20063 * sysdeps/unix/bsd/seteuid.c: Likewise.
20064 * sysdeps/unix/bsd/setgid.c: Likewise.
20065 * sysdeps/unix/bsd/setrgid.c: Likewise.
20066 * sysdeps/unix/bsd/setruid.c: Likewise.
20067 * sysdeps/unix/bsd/setsid.c: Likewise.
20068 * sysdeps/unix/bsd/setuid.c: Likewise.
20069 * sysdeps/unix/bsd/sigaction.c: Likewise.
20070 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20071 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20072 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20073 * sysdeps/unix/bsd/telldir.c: Likewise.
20074 * sysdeps/unix/bsd/times.c: Likewise.
20075 * sysdeps/unix/bsd/usleep.c: Likewise.
20076
20077 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20078 ($(objpfx)libbsd-compat.a): Remove rule.
20079
20080 * include/features.h (__FAVOR_BSD): Do not define.
20081 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20082 features conflicting with POSIX.
20083 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20084 (_BSD_SOURCE): Remove description of not being a subset of other
20085 feature test macros.
20086 * manual/job.texi (getpgrp): Do not document BSD version.
20087 (getpgid): Do not document by reference to BSD getpgrp.
20088 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20089 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20090 * signal/signal.h [__FAVOR_BSD]: Likewise.
20091 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20092 instead of making contents conditional on [__FAVOR_BSD].
20093 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20094
20095 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20096
20097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20098
20099 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20100
20101 [BZ #16314]
20102 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20103 values below 2**-450, not 2**-500.
20104 * math/auto-libm-test-in: Don't allow spurious underflow from
20105 hypot.
20106 * math/auto-libm-test-out: Regenerated.
20107
20108 [BZ #16316]
20109 [BZ #16330]
20110 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20111 values of ha and hb and sort them after adjusting subnormal
20112 arguments.
20113 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20114 Likewise.
20115 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20116 values of ea and eb and sort them after adjusting subnormal
20117 arguments.
20118 * math/auto-libm-test-in: Do not expect some hypot tests of
20119 subnormals to fail. Add more hypot tests.
20120 * math/auto-libm-test-out: Regenerated.
20121
20122 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20123
20124 [BZ #13304]
20125 * sysdeps/sh/s_fma.c: New file.
20126 * sysdeps/sh/s_fmaf.c: New file.
20127 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20128 version.
20129 * sysdeps/sh/Implies: Add sh/soft-fp.
20130
20131 2013-12-16 Roland McGrath <roland@hack.frob.com>
20132
20133 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20134 level of indirection to members `objname', `errstring', `malloced'.
20135 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20136 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20137 it as the __longjmp argument (just pass 1 instead).
20138 (_dl_catch_error): Initialize C with argument pointers and address of
20139 volatile local ERRCODE rather than copying values out of C at return.
20140
20141 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20142
20143 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20144 * math/auto-libm-test-out: Regenerated.
20145 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20146 (hypot_test_data): Likewise.
20147 (pow_test_data): Likewise.
20148 (pow_tonearest_test_data): Likewise.
20149 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20150 mpfr_ff_f.
20151 (func_calc_desc): Add mpfr_ff_f union field.
20152 (FUNC_mpfr_ff_f): New macro.
20153 (test_functions): Add atan2, hypot and pow.
20154 (special_fill_min): New function.
20155 (special_fill_minus_min): Likewise.
20156 (special_fill_min_subnorm): Likewise.
20157 (special_fill_minus_min_subnorm): Likewise.
20158 (special_real_inputs): Add min, -min, min_subnorm and
20159 -min_subnorm.
20160 (calc_generic_results): Handle mpfr_ff_f.
20161 * sysdeps/i386/fpu/libm-test-ulps: Update.
20162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20163
20164 2013-12-16 Will Newton <will.newton@linaro.org>
20165
20166 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20167 (Aligned Memory Blocks): Add documentation for aligned_alloc
20168 and suggest it as an alternative to posix_memalign.
20169 (Hooks for Malloc): Document __memalign_hook is also called
20170 for aligned_alloc. (Summary of Malloc): Add summary for
20171 aligned alloc. Document __memalign_hook is also called
20172 for aligned_alloc.
20173
20174 2013-12-16 Will Newton <will.newton@linaro.org>
20175
20176 * manual/memory.texi (Malloc Examples): Clarify default
20177 alignment documentation. Suggest posix_memalign rather
20178 than memalign or valloc.
20179 (Aligned Memory Blocks): Remove suggestion to use memalign
20180 or valloc. Remove obsolete comment about BSD.
20181 Document memalign errno values and mark the function obsolete.
20182 Document posix_memalign returned error codes. Mark valloc
20183 as obsolete. (Hooks for Malloc): __memalign_hook is also
20184 called for posix_memalign and valloc.
20185 (Summary of Malloc): Add posix_memalign to function summary.
20186 __memalign_hook is also called for posix_memalign and valloc.
20187
20188 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20189
20190 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20191 TAYLOR_SIN.
20192 (__sin): Adjust.
20193 (__cos): Likewise.
20194 (sloww): Use mynumber union. Expand ternary operator into
20195 if-else statements.
20196 (cslow): use mynumber union.
20197
20198 2013-12-16 Allan McRae <allan@archlinux.org>
20199
20200 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20201 * configure: Regenerated.
20202
20203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20204
20205 [BZ #14120]
20206 * configure.ac: Added --enable-maintainer-mode. Check for
20207 autoconf when enabled.
20208 * configure: Regenerated.
20209
20210 * nscd/nscd.service: New file.
20211 * nscd/nscd.tmpfiles: New file.
20212
20213 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20214
20215 [BZ #12100]
20216 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20217 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20218 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20219 (strstr): Add __strstr_sse2_unaligned ifunc.
20220 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20221 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20222 (strcasestr): Remove __strcasestr_sse42 ifunc.
20223 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20226
20227 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20228
20229 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20230 * sysdeps/sh/bits/fenv.h: ... here.
20231 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20232
20233 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20234
20235 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20236
20237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20238 hypotf multiarch implementations.
20239 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20240 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20241 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20242 multiarch hypot for PPC64.
20243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20246 multiarch hypotf for PPC64.
20247
20248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20249 modff multiarch implementations.
20250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20253 multiarch modf for PPC64.
20254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20257 multiarch modff for PPC64.
20258
20259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20260 and logl multiarch implementations.
20261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20264 multiarch logb for PPC64.
20265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20268 multiarch logb for PPC64.
20269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20272 multiarch logb for PPC64.
20273
20274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20275 isinff multiarch implementation.
20276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20277 file.
20278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20280 multiarch isinf for PPC64.
20281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20282 file.
20283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20284 multiarch isinff for PPC64.
20285
20286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20287 finitef multiarch implementation.
20288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20289 file.
20290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20292 multiarch finite for PPC64.
20293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20294 file.
20295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20296 multiarch finitef for PPC64.
20297
20298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20299 lrint multiarch implementation.
20300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20301 file.
20302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20304 multiarch llrint for PPC64.
20305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20306 multiarch lrint for PPC64.
20307
20308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20309 copysignf multiarch implementation.
20310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20311 file.
20312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20313 file.
20314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20315 multiarch copysign for PPC64.
20316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20317 multiarch copysignf for PPC64.
20318
20319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20320 multiarch implementation.
20321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20322 file.
20323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20324 file.
20325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20326 file.
20327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20328 file.
20329 multiarch llround for PPC64.
20330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20331 multiarch trunc for PPC64.
20332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20333 multiarch truncf for PPC64.
20334
20335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20336 multiarch implementation.
20337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20338 file.
20339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20340 file.
20341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20342 file.
20343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20344 file.
20345 multiarch llround for PPC64.
20346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20347 multiarch round for PPC64.
20348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20349 multiarch roundf for PPC64.
20350
20351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20352 multiarch implementation.
20353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20354 file.
20355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20356 file.
20357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20358 file.
20359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20360 file.
20361 multiarch llround for PPC64.
20362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20363 multiarch floor for PPC64.
20364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20365 multiarch floorf for PPC64.
20366
20367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20368 multiarch implementation.
20369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20370 file.
20371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20372 file.
20373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20374 file.
20375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20376 file.
20377 multiarch llround for PPC64.
20378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20379 multiarch ceil for PPC64.
20380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20381 multiarch ceilf for PPC64.
20382
20383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20384 multiarch implementation.
20385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20386 file.
20387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20388 file.
20389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20390 file.
20391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20392 multiarch llround for PPC64.
20393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20394 multiarch lround for PPC64.
20395
20396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20397 multiarch implementation.
20398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20401 file.
20402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20405 multiarch isnan for PPC64.
20406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20407 multiarch isnanf for PPC64.
20408
20409 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20410 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20411 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20412 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20413 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20415
20416 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20417 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20420
20421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20422 multiarch implementations.
20423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20424 (__libc_ifunc_impl_list): Likewise.
20425 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20426 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20427 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20428 multiarch stpcpy for PPC64.
20429
20430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20431 multiarch implementations.
20432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20433 (__libc_ifunc_impl_list): Likewise.
20434 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20435 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20436 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20437 multiarch strcpy for PPC64.
20438
20439 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20440 redefine function name.
20441 (_wordcopy_fwd_dest_aligned): Likewise.
20442 (_wordcopy_bwd_aligned): Likewise.
20443 (_wordcopy_bwd_dest_aligned): Likewise.
20444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20445 multiarch implementations.
20446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20447 (__libc_ifunc_impl_list): Likewise.
20448 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20449 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20450 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20451 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20452 multiarch wcscpy for PPC64.
20453
20454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20455 multiarch implementations.
20456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20457 (__libc_ifunc_impl_list): Likewise.
20458 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20459 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20460 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20461 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20462 multiarch wcscpy for PPC64.
20463
20464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20465 multiarch implementations.
20466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20467 (__libc_ifunc_impl_list): Likewise.
20468 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20469 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20470 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20471 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20472 multiarch wcsrchr for PPC64.
20473
20474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20475 multiarch implementations.
20476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20477 (__libc_ifunc_impl_list): Likewise.
20478 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20479 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20480 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20481 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20482 multiarch wcschr for PPC64.
20483
20484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20485 multiarch implementations.
20486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20487 (__libc_ifunc_impl_list): Likewise.
20488 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20489 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20490 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20491 multiarch strchrnul for PPC64.
20492
20493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20494 implementations.
20495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20496 (__libc_ifunc_impl_list): Likewise.
20497 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20498 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20499 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20500 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20501 strchr for PPC64.
20502
20503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20504 implementations.
20505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20506 (__libc_ifunc_impl_list): Likewise.
20507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20508 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20509 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20510 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20511 strncmp for PPC64.
20512
20513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20514 multiarch implementations.
20515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20516 (__libc_ifunc_impl_list): Likewise.
20517 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20518 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20519 strncasecmp for PPC64.
20520 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20521 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20522 multiarch strncasecmp_l for PPC64.
20523
20524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20525 multiarch implementations.
20526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20527 (__libc_ifunc_impl_list): Likewise.
20528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20529 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20530 multiarch strcasecmp for PPC64.
20531 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20532 file.
20533 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20534 multiarch strcasecmp_l for PPC64.
20535
20536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20537 implementations.
20538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20539 (__libc_ifunc_impl_list): Likewise.
20540 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20541 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20542 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20543 strnlen for PPC64.
20544
20545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20546 implementations.
20547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20548 (__libc_ifunc_impl_list): Likewise.
20549 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20550 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20551 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20552 strlen for PPC64.
20553
20554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20555 implementations.
20556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20557 (__libc_ifunc_impl_list): Likewise.
20558 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20559 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20560 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20561 rawmemrchr for PPC64.
20562
20563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20564 implementation.
20565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20566 (__libc_ifunc_impl_list): Likewise.
20567 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20568 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20569 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20570 memrchr for PPC64.
20571
20572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20573 implementation.
20574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20575 (__libc_ifunc_impl_list): Likewise.
20576 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20577 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20578 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20579 memchr for PPC64.
20580
20581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20582 implementation.
20583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20584 (__libc_ifunc_impl_list): Likewise.
20585 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20586 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20587 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20588 mempcpy for PPC64.
20589
20590 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20591 avoid cretion of __bzero symbol.
20592 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20593 Likewise.
20594 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20595 Likewise.
20596 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20597 Likewise.
20598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20599 multiarch implementations.
20600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20601 (__libc_ifunc_impl_list): Likewise.
20602 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20603 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20604 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20605 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20606 bzero for PPC32.
20607 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20608 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20609 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20610 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20611 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20612 memset for PPC64.
20613 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20614
20615 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20617 implementations.
20618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20619 (__libc_ifunc_impl_list): Likewise.
20620 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20621 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20622 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20623 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20624 memcmp for PPC64.
20625
20626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20627 multiarch for POWER/PPC64.
20628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20629 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20630 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20631 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20632 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20633 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20634 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20635 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20636 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20637 memcpy for PPC64.
20638
20639 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20640 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20641 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20642 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20643 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20644 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20645 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20646 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20647 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20648 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20649 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20650 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20651 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20652 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20653 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20661
20662 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20663
20664 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20665
20666 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20667
20668 * benchtests/Makefile (bench): Add exp2 and log2.
20669 (LDLIBS-bench-exp2): Add -lm.
20670 (LDLIBS-bench-log2): Likewise.
20671 * benchtests/exp2-inputs: New inputs file.
20672 * benchtests/log2-inputs: New inputs file.
20673 * benchtests/log-inputs: Add new inputs.
20674 * benchtests/tan-inputs: Likewise.
20675
20676 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20677
20678 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20679 definition...
20680 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20681 (csloww2): ... from here.
20682
20683 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20684 instead of structures.
20685 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20686 (POLYNOMIAL): Likewise.
20687 (TAYLOR_SLOW): Likewise.
20688 (__sin): Likewise.
20689 (__cos): Likewise.
20690 (slow1): Likewise.
20691 (slow2): Likewise.
20692 (sloww): Likewise.
20693 (sloww1); Likewise.
20694 (sloww2): Likewise.
20695 (bsloww1): Likewise.
20696 (bsloww2): Likewise.
20697 (cslow2): Likewise.
20698 (csloww): Likewise.
20699 (csloww1): Likewise.
20700 (csloww2): Likewise.
20701
20702 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20703
20704 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20705 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20706 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20707 * malloc/hooks.c (realloc_check): Likewise.
20708
20709 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20710 * malloc/arena.c: Remove PER_THREAD conditional.
20711 [!PER_THREAD]: Remove code.
20712 (ptmalloc_unlock_all2): Likewise.
20713 (ptmalloc_init): Likewise.
20714 (_int_new_arena): Likewise.
20715 (arena_get2): Likewise.
20716 * malloc/hooks.c (__malloc_get_state): Likewise.
20717 (__malloc_set_state): Likewise.
20718 * malloc/malloc.c: Likewise.
20719 (struct malloc_state): Likewise.
20720 (struct malloc_par): Likewise.
20721 (__libc_realloc): Likewise.
20722 (__libc_mallopt): Likewise.
20723
20724 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20725
20726 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20727
20728 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20729
20730 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20731 macro to a function. Check for zero perturb_byte.
20732 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20733
20734 * malloc/malloc.c: (force_reg): Remove.
20735 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20736 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20737 force_reg by atomic_forced_read.
20738 * malloc/arena.c (ptmalloc_init): Likewise.
20739 * malloc/hooks.c (top_check): Likewise.
20740
20741 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20742
20743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20744
20745 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20746
20747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20748
20749 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20750
20751 * math/auto-libm-test-in: Add tests of lgamma.
20752 * math/auto-libm-test-out: Regenerated.
20753 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20754 (M_LOG_2_SQRT_PIl): Likewise.
20755 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20756 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20757 mpfr_f_f1.
20758 (func_calc_desc): Add mpfr_f_f1 union field.
20759 (ARGS1): New macro.
20760 (ARGS2): Likewise.
20761 (ARGS3): Likewise.
20762 (ARGS4): Likewise.
20763 (RET1): Likewise.
20764 (RET2): Likewise.
20765 (CALC): Likewise.
20766 (FUNC): Likewise.
20767 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20768 (test_functions): Add lgamma.
20769 (calc_generic_results): Handle mpfr_f_f1.
20770 * sysdeps/i386/fpu/libm-test-ulps: Update.
20771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20772
20773 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20774
20775 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20776 __mpn_add_n for PowerPC64/POWER7.
20777 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20778 __mpn_sub_n for PowerPC64/POWER7.
20779
20780 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20781 __mpn_addmul_1 for PowerPC64.
20782 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20783 __mpn_submul_1 for PowerPC64.
20784 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20785 for PowerPC64.
20786 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20787 for PowerPC64.
20788
20789 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20790
20791 [BZ #15089]
20792 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20793
20794 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20795
20796 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20797
20798 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20799 add multiarch folders.
20800 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20801 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20802 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20803 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20804 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20805 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20806 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20807 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20808 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20809 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20810 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20817
20818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20819 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20821 New file.
20822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20823 New file.
20824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20825 multiarch __ieee754_hypot for PowerPC32.
20826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20827 New file.
20828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20829 New file.
20830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20831 multiarch __ieee754_hypotf for PowerPC32.
20832
20833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20834 long_double_symbol only if __logbl is defined.
20835 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20836 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20838 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20840 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20841 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20842 path for implementation.
20843 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20844 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20846 logb, and logbl multiarch implementations for PowerPC32.
20847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20848 file.
20849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20850 file.
20851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20852 multiarch logb for PowerPC32.
20853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20854 file.
20855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20856 file.
20857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20858 multiarch logbf for PowerPC32.
20859 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20861 file.
20862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20863 multiarch logbl implementation for PowerPC32.
20864
20865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20866 and modff multiarch implementations.
20867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20868 New file.
20869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20870 New file.
20871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20872 multiarch modf for PowerPC32.
20873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20874 New file.
20875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20876 New file.
20877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20878 multiarch modff for PowerPC32.
20879
20880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20881 and lrintf multiarch implementations.
20882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20883 New file.
20884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20885 New file.
20886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20887 multiarch lrint for PowerPC32.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20889 file: multiarch lrintf for PowerPC32.
20890
20891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20892 and lroundf multiarch implementations.
20893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20894 New file.
20895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20896 New file.
20897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20898 New file.
20899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20900 multiarch lround for PowerPC32.
20901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20902 file: multiarch lroundf for PowerPC32.
20903
20904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20905 copysign and copysignf multiarch implementations.
20906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20907 New file.
20908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20909 New file.
20910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20911 file: multiarch copysign for PowerPC32.
20912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20913 file: multiarch copysignf for PowerPC32.
20914
20915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20916 and truncf multiarch implementations.
20917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20918 New file.
20919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20920 file.
20921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20922 multiarch trunc for PowerPC32.
20923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20924 New file.
20925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20926 New file.
20927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20928 multiarch truncf for PowerPC32.
20929
20930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20931 and roundf multiarch implementations.
20932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20933 New file.
20934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20935 file.
20936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20937 multiarch round for PowerPC32.
20938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20939 New file.
20940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20941 New file.
20942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20943 multiarch roundf for PowerPC32.
20944
20945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20946 and floorf multiarch implementations.
20947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20948 New file.
20949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20950 file.
20951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20952 multiarch floor for PowerPC32.
20953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20954 New file.
20955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20956 New file.
20957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20958 multiarch floorf for PowerPC32.
20959
20960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20961 and ceilf multiarch implementations.
20962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20963 New file.
20964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20965 file.
20966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20967 multiarch ceil for PowerPC32.
20968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20969 New file.
20970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20971 file.
20972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20973 multiarch ceilf for PowerPC32.
20974
20975 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20976 is defined.
20977 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20978 FINITEF is defined.
20979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20980 and finitef multiarch implementations.
20981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20982 New file.
20983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20984 file.
20985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20986 multiarch finite for PowerPC32.
20987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20988 New file.
20989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20990 file: multiarch finitef for PowerPC32.
20991
20992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20993 and isinff multiarch implementations.
20994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20995 file.
20996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20997 file.
20998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20999 multiarch isinf for PowerPC32.
21000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21001 New file.
21002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21003 multiarch isinff for PowerPC32.
21004
21005 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21006 alias when __isnan is defined.
21007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21008 and isnanf multiarch implementations.
21009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21010 file.
21011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21012 file.
21013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21014 file.
21015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21016 file.
21017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21018 multiarch isnan for PowerPC32.
21019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21020 New file.
21021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21022 New file.
21023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21024 multiarch isnanf for PowerPC32.
21025
21026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21027 and sqrtf multiarch implementations.
21028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21029 file.
21030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21031 file.
21032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21033 multiarch sqrt for PowerPC32.
21034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21035 file.
21036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21037 file.
21038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21039 multiarch sqrtf for PowerPC32.
21040
21041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21042 and llroundf multiarch implementations.
21043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21044 New file.
21045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21046 New file.
21047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21048 New file.
21049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21050 file: multiarch llround for PowerPC32.
21051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21052 file: multiarch llroundf for PowerPC32.
21053
21054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21055 multiarch PowerPC32 fpu implementations.
21056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21057 New file.
21058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21059 New file.
21060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21061 multiarch llrint for PowerPC32.
21062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21063 New file.
21064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21065 New file.
21066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21067 file.
21068
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21070
21071 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21072 file.
21073 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21074 file.
21075 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21076 file.
21077 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21078 multiarch wordcopy for PPC32.
21079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21080 wordcopy objects.
21081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21082 (__libc_ifunc_impl_list): Likewise.
21083 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21084 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21085 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21086 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21087 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21088 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21089
21090 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21092 file.
21093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21094 file.
21095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21096 file.
21097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21098 multiarch wcscpy for PPC32.
21099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21100 multiarch objects.
21101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21102 (__libc_ifunc_impl_list): Likewise.
21103 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21104 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21105 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21106 sysdeps/powerpc/power6/wcscpy.c.
21107
21108 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21110 file.
21111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21112 file.
21113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21114 file.
21115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21116 multiarch wcsrchr for PPC32.
21117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21118 multiarch objects.
21119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21120 (__libc_ifunc_impl_list): Likewise.
21121 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21122 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21123 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21124 sysdeps/powerpc/power6/wcsrchr.c.
21125
21126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21127 file.
21128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21129 file.
21130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21132 multiarch wcschr for PPc32.
21133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21134 multiarch objects.
21135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21136 (__libc_ifunc_impl_list): Likewise.
21137 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21138 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21139 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21140 sysdeps/powerpc/power6/wcschr.c.
21141
21142 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21143 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21144 file.
21145 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21146 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21147 file: multiarch strchr for PPC32.
21148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21149 multiarch objects.
21150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21151 (__libc_ifunc_impl_list): Likewise.
21152
21153 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21154 name.
21155 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21156 file.
21157 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21158 file.
21159 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21160 multiarch strchrnul for PPC32.
21161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21162 multiarch objects.
21163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21164 (__libc_ifunc_impl_list): Likewise.
21165
21166 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21167 file.
21168 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21169 multiarch strncasecmp for PPC32.
21170 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21171 file.
21172 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21173 multiarch strncasecmp_l for PPC32.
21174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21175 strncasecmp multiarch objects.
21176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21177 (__libc_ifunc_impl_list): Likewise.
21178
21179 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21180 file.
21181 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21182 multiarch strncasecmp for PPC32.
21183 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21184 New file.
21185 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21186 multiarch strcasecmp_l for PPC32.
21187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21188 multiarch objects.
21189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21190 (__libc_ifunc_impl_list): Likewise.
21191
21192 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21193 file.
21194 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21195 file.
21196 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21197 multiarch strncmp for PPC32.
21198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21199 multiarch objects.
21200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21201 (__libc_ifunc_impl_list): Likewise.
21202
21203 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21204 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21205 file.
21206 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21207 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21209 multiarch objects.
21210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21211 (__libc_ifunc_impl_list): Likewise.
21212
21213 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21214 file.
21215 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21216 file.
21217 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21219 multiarch objects.
21220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21221 (__libc_ifunc_impl_list): Likewise.
21222
21223 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21224 file.
21225 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21226 file.
21227 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21228 multiarch rawmemchr for PPC32.
21229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21230 multiarch objects.
21231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21232 (__libc_ifunc_impl_list): Likewise.
21233
21234 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21235 file.
21236 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21237 file.
21238 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21239 file: memrchr multiarch for PPC32.
21240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21241 multiarch objects.
21242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21243 (__libc_ifunc_impl_list): Likewise.
21244
21245 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21246 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21247 file.
21248 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21249 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21250 multiarch memchr for PPC32.
21251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21252 multiarch objects.
21253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21254 (__libc_ifunc_impl_list): Likewise.
21255
21256 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21257 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21258 file.
21259 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21260 file.
21261 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21262 file: multiarch mempcpy for PPC32.
21263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21264 multiarch objects.
21265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21266 (__libc_ifunc_impl_list): Likewise.
21267
21268 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21269 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21270 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21271 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21272 multiarch bzero for PPC32.
21273 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21274 file.
21275 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21276 file.
21277 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21278 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21279 file: multiarch memset for PPC32.
21280 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21282 memset multiarch objects.
21283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21284 (__libc_ifunc_impl_list): Likewise.
21285
21286 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21287 file.
21288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21290 memcmp for PPC32.
21291 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21293 multiarch objects.
21294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21295 (__libc_ifunc_impl_list): Likewise.
21296
21297 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21300 file.
21301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21302 file.
21303 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21304 file.
21305 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21306 multiarch memcpy for PPC32.
21307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21308 multiarch objects.
21309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21310 (__libc_ifunc_impl_list): Likewise.
21311
21312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21313 support multiarch for POWER/PPC32.
21314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21315 Likewise.
21316 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21318 Implies file to make multiarch folder appers before the fpu and
21319 default folder for power4 configuration.
21320
21321 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21322
21323 * scripts/bench.pl: Append volatile keyword to type.
21324
21325 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21326
21327 * sysdeps/sh/sotruss-lib.c: New file.
21328 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21329
21330 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21331
21332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21333
21334 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21335
21336 [BZ #6810]
21337 * math/w_tgamma.c: Include <errno.h>.
21338 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21339 * math/w_tgammaf.c: Include <errno.h>.
21340 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21341 * math/w_tgammal.c: Include <errno.h>.
21342 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21343 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21344 underflow. Add more tgamma tests.
21345 * math/auto-libm-test-out: Regenerated.
21346 * sysdeps/i386/fpu/libm-test-ulps: Update.
21347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21348
21349 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21350 sin, sinh, tan, tanh, tgamma, y0 and y1.
21351 * math/auto-libm-test-out: Regenerated.
21352 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21353 (TEST_COND_x86): Likewise.
21354 (M_E2l): Remove macro.
21355 (M_E3l): Likewise.
21356 (M_2_SQRT_PIl): Likewise.
21357 (M_SQRT_PIl): Likewise.
21358 (M_1_DIV_El): Likewise.
21359 (log_test_data): Use AUTO_TESTS_f_f.
21360 (log10_test_data): Likewise.
21361 (log1p_test_data): Likewise.
21362 (log2_test_data): Likewise.
21363 (sin_test_data): Likewise.
21364 (sin_tonearest_test_data): Likewise.
21365 (sin_towardzero_test_data): Likewise.
21366 (sin_downward_test_data): Likewise.
21367 (sin_upward_test_data): Likewise.
21368 (sinh_test_data): Likewise.
21369 (sinh_tonearest_test_data): Likewise.
21370 (sinh_towardzero_test_data): Likewise.
21371 (sinh_downward_test_data): Likewise.
21372 (sinh_upward_test_data): Likewise.
21373 (tan_test_data): Likewise.
21374 (tan_tonearest_test_data): Likewise.
21375 (tan_towardzero_test_data): Likewise.
21376 (tan_downward_test_data): Likewise.
21377 (tan_upward_test_data): Likewise.
21378 (tanh_test_data): Likewise.
21379 (tgamma_test_data): Likewise.
21380 (y0_test_data): Likewise.
21381 (y1_test_data): Likewise.
21382 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21383 (special_real_inputs): Add pi/4.
21384 * sysdeps/i386/fpu/libm-test-ulps: Update.
21385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21386
21387 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21388
21389 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21390 "longjmp_target" static probes.
21391 (__longjmp): Rename to __longjmp_symbol.
21392 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21393 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21394 on which longjmp to generate.
21395 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21396 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21397 probe.
21398 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21399 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21400 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21401 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21402 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21403 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21405 __longjmp_symbol based on which __longjmp to generate.
21406 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21407 probe.
21408 (setjmp): Rename to setjmp_symbol.
21409 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21410 (_setjmp): Rename to _setjmp_symbol.
21411 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21412 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21413 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21414 which setjmp to generate.
21415 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21416 "longjmp_target" static probes.
21417
21418 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21419
21420 * benchtests/README: Add note about output arguments.
21421 * benchtests/bench-sincos.c: Remove file.
21422 * benchtests/sincos-inputs: New file.
21423 * scripts/bench.pl: Identify output arguments and define
21424 static variables for them.
21425
21426 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21427
21428 [BZ #15941]
21429 * Makefile (INSTALL): Add install-plain.texi as the primary
21430 dependency.
21431 * manual/install-plain.texi: New file.
21432 * manual/install.texi: Include node directive only for
21433 non-plaintext output.
21434
21435 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21436
21437 * stdlib/longlong.h: Update from GCC.
21438
21439 [BZ #6807]
21440 [BZ #15901]
21441 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21442 * math/w_j0f.c (y0f): Likewise.
21443 * math/w_j0l.c (__y0l): Likewise.
21444 * math/w_j1.c (y1): Likewise.
21445 * math/w_j1f.c (y1f): Likewise.
21446 * math/w_j1l.c (__y1l): Likewise
21447 * math/w_jn.c (yn): Likewise.
21448 * math/w_jnf.c (ynf): Likewise.
21449 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21450 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21451 value for Bessel function domain errors outside _SVID_ mode.
21452 Adjust sign of return value for yn (negative integer, 0).
21453 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21454 by zero in return for negative x and set sign appropriately for
21455 negative n.
21456 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21458 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21459 expectations in error cases.
21460 (y1_test_data): Likewise.
21461 (yn_test_data): Likewise.
21462 * sysdeps/i386/fpu/libm-test-ulps: Update.
21463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21464
21465 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21466
21467 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21468 "64" to "64-v1". Add "64-v2".
21469 (abi-64-options): Rename to ...
21470 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21471 (abi-64-condition): Rename to ...
21472 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21473 (abi-64-ld-soname): Rename to ...
21474 (abi-64-v1-ld-soname): ... this.
21475 (abi-64-v2-options): Define.
21476 (abi-64-v2-condition): Likewise.
21477 (abi-64-v2-ld-soname): Likewise.
21478 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21479 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21483
21484 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21485 Alan Modra <amodra@gmail.com>
21486
21487 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21488 New versions for use with the ELFv2 ABI.
21489 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21490 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21491 declaration.
21492 (struct La_ppc64v2_retval): Likewise.
21493 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21494 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21495 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21496 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21497 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21498 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21499 Do not save or restore CR.
21500 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21501 (_dl_profile_resolve): Do no save or restore CR. Support extended
21502 return values for ELFv2 ABI. Fix location of FPR return registers.
21503 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21504 updated values for _CALL_ELF == 2.
21505 (La_regs, La_retval, int_retval): Likewise.
21506
21507 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21508
21509 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21510 (FRAME_MIN_SIZE_PARM): Likewise.
21511 (FRAME_BACKCHAIN): Likewise.
21512 (FRAME_CR_SAVE): Likewise.
21513 (FRAME_LR_SAVE): Likewise.
21514 (FRAME_TOC_SAVE): Likewise.
21515 (FRAME_PARM_SAVE): Likewise.
21516 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21517 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21518 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21519 (call_mcount_parm_offset): New macro.
21520 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21521 (PROF): Use symbolic stack frame offsets.
21522 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21523 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21524 Redefine in terms of FRAME_MIN_SIZE.
21525 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21526 (_dl_profile_resolve): Likewise. Update comment.
21527 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21528 symbols stack frame offsets.
21529 (__sigsetjmp): Likewise.
21530 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21531 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21532 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21533 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21534
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21536 (FRAME_BACKCHAIN): Remove.
21537 (FRAME_CR_SAVE): Likewise.
21538 (FRAME_LR_SAVE): Likewise.
21539 (FRAME_COMPILER_DW): Likewise.
21540 (FRAME_LINKER_DW): Likewise.
21541 (FRAME_TOC_SAVE): Likewise.
21542 (FRAME_PARM_SAVE): Likewise.
21543 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21544 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21545 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21547 (CHECK_SP): Use symbolic stack frame offsets.
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21549 zone" instead of caller's parameter save area for temp storage.
21550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21551 Likewise. Also, use symbolic stack frame offsets.
21552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21553 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21554 our own stack frame instead of the caller's.
21555 (__socket): Use symbolic stack frame offsets.
21556
21557 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21558 Alan Modra <amodra@gmail.com>
21559
21560 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21561 Define.
21562 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21563 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21564 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21565 New function.
21566 (elf_machine_fixup_plt): Call it.
21567 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21568 reloc arguments.
21569 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21570 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21571 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21572 r2 before calling target.
21573
21574 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21575 Alan Modra <amodra@gmail.com>
21576
21577 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21578 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21579 versions of macros to support ELFv2 ABI.
21580 (LOCALENTRY): New macro.
21581 (ENTRY, EALIGN): Use it.
21582 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21583 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21584 fall through into ENTRY entry point.
21585 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21586 Only define if _CALL_ELF != 2.
21587
21588 (elf_machine_matches_host): Verify ABI version matches.
21589 (RTLD_START): Use LOCALENTRY.
21590 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21591 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21592 (PLT_ENTRY_WORDS): New macro.
21593 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21594 (elf_machine_runtime_setup): Support ELFv2 ABI.
21595 (elf_machine_fixup_plt): Likewise.
21596 (elf_machine_plt_conflict): Likewise.
21597 (resolve_ifunc): Likewise.
21598 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21599 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21600 Likewise.
21601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21602 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21604 (makecontext): Support ELFv2 ABI.
21605 * elf/elf.h (EF_PPC64_ABI): Define.
21606
21607 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21608
21609 * sysdeps/powerpc/powerpc64/sysdep.h
21610 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21611 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21612 (ENTRY) [ASSEMBLER]: ... but instead here ...
21613 (EALIGN) [ASSEMBLER]: ... and here.
21614 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21615 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21616 (ENTRY_2) [!ASSEMBLER]: Use it.
21617 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21618 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21619 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21620 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21621 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21623 Use PPC64_LOAD_FUNCPTR.
21624
21625 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21626
21627 2013-12-04 Alan Modra <amodra@gmail.com>
21628
21629 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21630 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21631 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21632 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21633
21634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21635 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21636 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21637 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21638 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21639 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21640
21641 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21642
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21644 (__makecontext): Fix incorrect CFI when backtracing out of
21645 context created via makecontext.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21647 (__setcontext): Fix incorrect CFI during switch to new context.
21648 (__novec_setcontext): Likewise.
21649
21650 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21651
21652 [BZ #4772]
21653 * time/strptime_l.c (__strptime_internal): Allow modifiers
21654 in strptime.
21655 * time/tst-strptime.c (day_tests): Add testcase.
21656
21657 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21658
21659 * scripts/bench.pl: Skip over blank lines.
21660
21661 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21662
21663 [BZ #926]
21664 * manual/time.texi (Calendar Time): Clarify what timezone functions
21665 use.
21666
21667 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21668
21669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21670
21671 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21672
21673 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21674 implementation.
21675 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21676 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21677 * debug/memset_chk.c (__memset_chk): Likewise.
21678 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21679 * debug/strncpy_chk.c: Likewise.
21680
21681 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21682
21683 [BZ #15268]
21684 [BZ #15425]
21685 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21686 (__ieee754_exp): For possibly underflowing results, check size of
21687 result and force underflow exception if required.
21688 * math/auto-libm-test-in: Add more tests of exp.
21689 * math/auto-libm-test-out: Regenerated.
21690 * sysdeps/i386/fpu/libm-test-ulps: Update.
21691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21692
21693 [BZ #16283]
21694 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21695 * math/w_exp2f.c (__exp2f): Likewise.
21696 * math/w_exp2l.c (__exp2l): Likewise.
21697 * math/auto-libm-test-in: Do not allow missing errno on exp2
21698 underflow.
21699 * math/auto-libm-test-out: Regenerated.
21700
21701 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21702
21703 [BZ #16274]
21704 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21705 handle filename validation.
21706 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21707 (do_open): Delete.
21708
21709 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21710
21711 [BZ #6786]
21712 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21713 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21714 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21715 <float.h>.
21716 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21718 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21719 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21720 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21721 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21722 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21723 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21724 Add more erfc tests.
21725 * math/auto-libm-test-out: Regenerated.
21726 * sysdeps/i386/fpu/libm-test-ulps: Update.
21727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21728
21729 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21730 exp2, expm1, j0 and j1.
21731 * math/auto-libm-test-out: Regenerated.
21732 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21733 (erfc_test_data): Likewise.
21734 (exp_test_data): Likewise.
21735 (exp_tonearest_test_data): Likewise.
21736 (exp_towardzero_test_data): Likewise.
21737 (exp_downward_test_data): Likewise.
21738 (exp_upward_test_data): Likewise.
21739 (exp10_test_data): Likewise.
21740 (exp2_test_data): Likewise.
21741 (expm1_test_data): Likewise.
21742 (j0_test_data): Likewise.
21743 (j1_test_data): Likewise.
21744 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21745 (input_flag_type): Add flag_xfail_rounding.
21746 (input_flags): Add xfail-rounding.
21747 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21748 (output_for_one_input_case): Handle flag_xfail_rounding.
21749 * sysdeps/i386/fpu/libm-test-ulps: Update.
21750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21751
21752 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21753
21754 [BZ #16289]
21755 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21756 division by 0.
21757
21758 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21759
21760 [BZ #16195]
21761 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21762 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21763 (STAP_PROBE0): New macro.
21764 (STAP_PROBE1): Likewise.
21765 (STAP_PROBE2): Likewise.
21766 (STAP_PROBE3): Likewise.
21767 (STAP_PROBE4): Likewise.
21768
21769 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21770
21771 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21772
21773 2013-12-02 Steve Ellcey <sellcey@mips.com>
21774
21775 * benchtests/Makefile (bench): Add sqrt.
21776 (LDLIBS-bench-sqrt): New.
21777 * benchtests/sqrt-input: New.
21778
21779 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21780
21781 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21782 (GAIH_EAI): Likewise.
21783 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21784 (gaih_inet): Likewise.
21785 (getaddrinfo): Don't use GAIH_EAI.
21786
21787 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21788 (struct gaih): Remove definition.
21789
21790 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21791
21792 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21793 Use HERRNOP directly.
21794
21795 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21796
21797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21798
21799 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21800
21801 * math/gen-auto-libm-tests.c (test_functions): Add more
21802 single-argument functions.
21803 (special_fill_pi_2): New function.
21804 (special_fill_minus_pi_2): Likewise.
21805 (special_fill_pi_6): Likewise.
21806 (special_fill_minus_pi_6): Likewise.
21807 (special_fill_pi_3): Likewise.
21808 (special_fill_2pi_3): Likewise.
21809 (special_fill_e): Likewise.
21810 (special_fill_1_e): Likewise.
21811 (special_fill_e_minus_1): Likewise.
21812 (special_real_inputs): Add more special inputs.
21813 (output_for_one_input_case): Do not require ERANGE on underflow to
21814 zero if round-to-nearest result does not underflow to zero, unless
21815 exact results required.
21816 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21817 atan, atanh, cbrt, cos and cosh.
21818 * math/auto-libm-test-out: Regenerated.
21819 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21820 (acos_tonearest_test_data): Likewise.
21821 (acos_towardzero_test_data): Likewise.
21822 (acos_downward_test_data): Likewise.
21823 (acos_upward_test_data): Likewise.
21824 (acosh_test_data): Likewise.
21825 (asin_test_data): Likewise.
21826 (asin_tonearest_test_data): Likewise.
21827 (asin_towardzero_test_data): Likewise.
21828 (asin_upward_test_data): Likewise.
21829 (asinh_test_data): Likewise.
21830 (atan_test_data): Likewise.
21831 (atanh_test_data): Likewise.
21832 (cbrt_test_data): Likewise.
21833 (cos_test_data): Likewise.
21834 (cos_tonearest_test_data): Likewise.
21835 (cos_towardzero_test_data): Likewise.
21836 (cos_downward_test_data): Likewise.
21837 (cos_upward_test_data): Likewise.
21838 (cosh_test_data): Likewise.
21839 (cosh_tonearest_test_data): Likewise.
21840 (cosh_towardzero_test_data): Likewise.
21841 (cosh_downward_test_data): Likewise.
21842 (cosh_upward_test_data): Likewise.
21843 * sysdeps/i386/fpu/libm-test-ulps: Update.
21844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21845
21846 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21847
21848 [BZ #6787]
21849 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21850 * math/w_exp10f.c (__exp10f): Likewise.
21851 * math/w_exp10l.c (__exp10l): Likewise.
21852 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21853 errno settings in existing tests.
21854
21855 [BZ #14032]
21856 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21857 precision control set to double precision.
21858 * sysdeps/i386/fpu/w_sqrt.c: New file.
21859 * math/auto-libm-test-in: Add more tests.
21860 * math/auto-libm-test-out: Update.
21861
21862 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21863 (sqrt_test_tonearest): New function.
21864 (sqrt_towardzero_test_data): New variable.
21865 (sqrt_test_towardzero): New function.
21866 (sqrt_downward_test_data): New variable.
21867 (sqrt_test_downward): New function.
21868 (sqrt_upward_test_data): New variable.
21869 (sqrt_test_upward): New function.
21870 (main): Call the new functions.
21871
21872 * math/gen-auto-libm-tests.c: New file.
21873 * math/auto-libm-test-in: Likewise.
21874 * math/auto-libm-test-out: New generated file.
21875 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21876 variables.
21877 (%beautify): Add generated representations of zero.
21878 (top level): Set $auto_input and call parse_auto_input.
21879 (beautify): Remove trailing "f" from hex float constants.
21880 (parse_args): Handle XFAIL_TEST.
21881 (convert_condition): New function.
21882 (or_value): Likewise.
21883 (or_cond_value): Likewise.
21884 (generate_testfile): Handle AUTO_TESTS_* lines.
21885 (parse_auto_input): New function.
21886 * math/libm-test.inc (XFAIL_TEST): New macro.
21887 (ERRNO_UNCHANGED): Update value.
21888 (ERRNO_EDOM): Likewise.
21889 (ERRNO_ERANGE): Likewise.
21890 (IGNORE_RESULT): Likewise.
21891 (TEST_COND_flt_32): New macro.
21892 (TEST_COND_dbl_64): Likewise.
21893 (TEST_COND_ldbl_96_intel): Likewise.
21894 (TEST_COND_ldbl_96_m68k): Likewise.
21895 (TEST_COND_ldbl_128): Likewise.
21896 (TEST_COND_ldbl_128ibm): Likewise.
21897 (TEST_COND_long32): Likewise.
21898 (TEST_COND_long64): Likewise.
21899 (TEST_COND_before_rounding): Likewise.
21900 (TEST_COND_after_rounding): Likewise.
21901 (enable_test): Handle XFAIL_TEST flag.
21902 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21903 with finite results.
21904 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21905 auto-libm-test-out.
21906
21907 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21908 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21909
21910 [BZ #16214]
21911 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21912 __tls_get_addr_internal instead of __tls_get_offset in order to
21913 avoid GOT pointer dependency. Make rtld export
21914 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21915 __tls_get_addr since we are a __tls_get_offset platform.
21916 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21917 GOT pointer being set up before.
21918 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21919
21920 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21921
21922 * manual/math.texi (Errors in Math Functions): Document accuracy
21923 goals.
21924
21925 [BZ #15004]
21926 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21927 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21930 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21932 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21933 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21936 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21937 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21938 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21939 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21940 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21941 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21942
21943 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21944 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21945 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21946 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21947 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21948 Likewise.
21949 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21950 Likewise.
21951 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21952 Likewise.
21953 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21954 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21955 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21956 atomic-feupdateenv and flt-rounds.
21957 * sysdeps/powerpc/nofpu/Versions (libc): Add
21958 __atomic_feholdexcept, __atomic_feclearexcept,
21959 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21960 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21961 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21962 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21963 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21964 here.
21965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21966 Update.
21967
21968 * manual/arith.texi (FP Exceptions): Document that exceptions may
21969 not be raised when matherr is used.
21970 (Math Error Reporting): Document overflow in directed rounding
21971 modes. Document that errno may not be set when finite values are
21972 returned on overflow. Document intent to set errno on underflow
21973 only for underflow to zero.
21974
21975 [BZ #16271]
21976 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21977 round-to-nearest then adjust result for other rounding modes.
21978 * include/fenv.h (fegetround): Use libm_hidden_proto.
21979 * math/fegetround.c (fegetround): Use libm_hidden_def.
21980 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21981 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21982 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21983 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21984 Likewise.
21985 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21986 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21987 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21988 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21989
21990 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21991
21992 [BZ #16077]
21993 * nss/Versions (libnss_files): Add
21994 _nss_files_gethostbyname3_r.
21995 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21996 New function.
21997 (HOST_DB_LOOKUP): Remove macro.
21998 (_nss_files_gethostbyname_r): Implement function without the
21999 HOST_DB_LOOKUP macro.
22000 (_nss_files_gethostbyname2_r): Likewise.
22001
22002 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22003
22004 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22005
22006 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22007
22008 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22009 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22010 warning.
22011
22012 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22013
22014 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22015 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22016 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22017 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22018 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22019 __fe_nomask_env_priv and attribute_hidden.
22020 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22021 (libc_feupdateenv_test_ppc): Likewise.
22022 (libc_feresetround_ppc): Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22024 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22025 compat_symbol macro.
22026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22027 (__fe_nomask_env): Likewise.
22028 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22029
22030 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22031
22032 * string/Makefile: Remove ifunc tests.
22033 * string/test-string.h: Define TEST_IFUNC.
22034 * string/test-bcopy-ifunc.c: Remove.
22035 * string/test-bzero-ifunc.c: Likewise.
22036 * string/test-memccpy-ifunc.c: Likewise.
22037 * string/test-memchr-ifunc.c: Likewise.
22038 * string/test-memcmp-ifunc.c: Likewise.
22039 * string/test-memcpy-ifunc.c: Likewise.
22040 * string/test-memmem-ifunc.c: Likewise.
22041 * string/test-memmove-ifunc.c: Likewise.
22042 * string/test-mempcpy-ifunc.c: Likewise.
22043 * string/test-memrchr-ifunc.c: Likewise.
22044 * string/test-memset-ifunc.c: Likewise.
22045 * string/test-rawmemchr-ifunc.c: Likewise.
22046 * string/test-stpcpy-ifunc.c: Likewise.
22047 * string/test-stpncpy-ifunc.c: Likewise.
22048 * string/test-strcasecmp-ifunc.c: Likewise.
22049 * string/test-strcasestr-ifunc.c: Likewise.
22050 * string/test-strcat-ifunc.c: Likewise.
22051 * string/test-strchr-ifunc.c: Likewise.
22052 * string/test-strchrnul-ifunc.c: Likewise.
22053 * string/test-strcmp-ifunc.c: Likewise.
22054 * string/test-strcpy-ifunc.c: Likewise.
22055 * string/test-strcspn-ifunc.c: Likewise.
22056 * string/test-strlen-ifunc.c: Likewise.
22057 * string/test-strncasecmp-ifunc.c: Likewise.
22058 * string/test-strncat-ifunc.c: Likewise.
22059 * string/test-strncmp-ifunc.c: Likewise.
22060 * string/test-strncpy-ifunc.c: Likewise.
22061 * string/test-strnlen-ifunc.c: Likewise.
22062 * string/test-strpbrk-ifunc.c: Likewise.
22063 * string/test-strrchr-ifunc.c: Likewise.
22064 * string/test-strspn-ifunc.c: Likewise.
22065 * string/test-strstr-ifunc.c: Likewise.
22066
22067 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22068
22069 * benchtests/Makefile: Remove ifunc tests.
22070 * benchtests/bench-string.h: Define TEST_IFUNC.
22071 * benchtests/bench-bcopy-ifunc.c: Remove.
22072 * benchtests/bench-bzero-ifunc.c: Likewise.
22073 * benchtests/bench-memccpy-ifunc.c: Likewise.
22074 * benchtests/bench-memchr-ifunc.c: Likewise.
22075 * benchtests/bench-memcmp-ifunc.c: Likewise.
22076 * benchtests/bench-memcpy-ifunc.c: Likewise.
22077 * benchtests/bench-memmem-ifunc.c: Likewise.
22078 * benchtests/bench-memmove-ifunc.c: Likewise.
22079 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22080 * benchtests/bench-memrchr-ifunc.c: Likewise.
22081 * benchtests/bench-memset-ifunc.c: Likewise.
22082 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22083 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22084 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22085 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22086 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22087 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22088 * benchtests/bench-strcat-ifunc.c: Likewise.
22089 * benchtests/bench-strchr-ifunc.c: Likewise.
22090 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22091 * benchtests/bench-strcmp-ifunc.c: Likewise.
22092 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22093 * benchtests/bench-strcpy-ifunc.c: Likewise.
22094 * benchtests/bench-strcspn-ifunc.c: Likewise.
22095 * benchtests/bench-strlen-ifunc.c: Likewise.
22096 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22097 * benchtests/bench-strncat-ifunc.c: Likewise.
22098 * benchtests/bench-strncmp-ifunc.c: Likewise.
22099 * benchtests/bench-strncpy-ifunc.c: Likewise.
22100 * benchtests/bench-strnlen-ifunc.c: Likewise.
22101 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22102 * benchtests/bench-strrchr-ifunc.c: Likewise.
22103 * benchtests/bench-strsep-ifunc.c: Likewise.
22104 * benchtests/bench-strspn-ifunc.c: Likewise.
22105 * benchtests/bench-strstr-ifunc.c: Likewise.
22106
22107 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22108
22109 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22110
22111 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22112
22113 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22114 * rt/aio.h: Likewise.
22115 * sysdeps/gnu/bits/utmp.h: Likewise.
22116 * sysdeps/gnu/bits/utmpx.h: Likewise.
22117 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22118 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22119 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22120 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22121 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22122 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22123 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22124 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22125 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22126 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22127 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22128 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22129 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22131 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22132 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22133 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22134 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22135 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22136 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22137 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22138 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22139 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22140 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22141 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22143 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22144 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22145 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22146 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22147 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22148 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22149 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22150 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22151 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22152 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22153 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22154 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22155 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22156 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22157 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22158 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22159
22160 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22161
22162 [BZ #16245]
22163 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22164 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22165
22166 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22167
22168 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22169 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22170 Likewise.
22171
22172 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22173
22174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22175 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22176 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22177 (__fesetround): Remove define.
22178 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22179 rounding and exceptions handling.
22180 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22181 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22182 (__fe_nomask_env): Likewise.
22183 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22184 __fegetround instead of fegetround.
22185 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22186 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22187
22188 2013-11-21 Roland McGrath <roland@hack.frob.com>
22189
22190 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22191 it's there.
22192
22193 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22194
22195 2013-11-21 Meador Inge <meadori@codesourcery.com>
22196
22197 [BZ #11157]
22198 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22199 (encrypt_r): Likewise.
22200 * malloc/obstack.h (obstack_free): Likewise.
22201 * posix/unistd.h (encrypt): Likewise.
22202
22203 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22204
22205 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22206 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22207 DL_CALL_DT_FINI() that call the functions directly.
22208 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22209 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22210 * elf/dl-fini.c: Likewise.
22211
22212 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22213
22214 * malloc/hooks.c (memalign_check): Add alignment rounding.
22215 * malloc/malloc.c (_mid_memalign): New function.
22216 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22217 Implement by calling _mid_memalign.
22218 * manual/probes.texi (Memory Allocation Probes): Remove
22219 memory_valloc_retry and memory_pvalloc_retry.
22220
22221 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22222
22223 * locale/programs/locarchive.c (open_archive): Add const
22224 qualifier to ARCHIVEFNAME and copy default fname to
22225 DEFAULT_FNAME.
22226
22227 [BZ #15601]
22228 * libio/tst-widetext.input: Rename Oriya to Odia.
22229 * locale/iso-639.def: Likewise.
22230
22231 * manual/probes.texi (Mathematical Function Probes): Add
22232 documentation for sin, cos, asin and acos probes.
22233 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22234 (__sin32): Add slowasin probe.
22235 (__cos32): Add slowacos probe.
22236 (__mpsin): Add slowsin probe.
22237 (__mpcos): Add slowcos probe.
22238
22239 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22240
22241 [BZ #15483]
22242 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22243 thread-local __sim_exceptions_thread and global
22244 __sim_exceptions_global.
22245 (__sim_disabled_exceptions): Change to thread-local
22246 __sim_disabled_exceptions_thread and global
22247 __sim_disabled_exceptions_global.
22248 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22249 and global __sim_round_mode_global.
22250 (__simulate_exceptions): Use thread-local floating-point state and
22251 set global state from it as needed.
22252 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22253 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22254 __sim_round_mode_thread.
22255 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22256 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22257 and global __sim_exceptions_global.
22258 (__sim_disabled_exceptions): Change to thread-local
22259 __sim_disabled_exceptions_thread and global
22260 __sim_disabled_exceptions_global.
22261 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22262 and global __sim_round_mode_global.
22263 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22264 (SIM_SET_GLOBAL): Likewise.
22265 * sysdeps/powerpc/soft-fp/sfp-machine.h
22266 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22267 __sim_round_mode_thread.
22268 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22269 __sim_disabled_exceptions_thread.
22270 (__sim_exceptions): Change to __sim_exceptions_thread.
22271 (__sim_disabled_exceptions): Change to
22272 __sim_disabled_exceptions_thread.
22273 (__sim_round_mode): Change to __sim_round_mode_thread.
22274 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22275 thread-local floating-point state and set global state from it as
22276 needed.
22277 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22278 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22279 (__sim_disabled_exceptions): Remove extern declaration.
22280 (feenableexcept): Use thread-local floating-point state and set
22281 global state from it as needed.
22282 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22283 extern declaration.
22284 (__sim_disabled_exceptions): Likewise.
22285 (__sim_round_mode): Likewise.
22286 (__fegetenv): Use thread-local floating-point state.
22287 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22288 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22289 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22290 floating-point state and set global state from it as needed.
22291 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22292 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22293 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22294 Likewise.
22295 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22296 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22297 Likewise.
22298 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22299 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22300 Use __sim_round_mode_thread.
22301 * math/test-fenv-tls.c: New file.
22302 * math/Makefile (tests): Add test-fenv-tls.
22303 ($(objpfx)test-fenv-tls): Depend on
22304 $(common-objpfx)nptl/libpthread.so.
22305
22306 2013-11-19 Andreas Schwab <schwab@suse.de>
22307
22308 * locale/programs/locale.c (show_info): Decode wordarray elements.
22309 * locale/categories.def (LC_MONETARY): Add element for
22310 _NL_MONETARY_CRNCYSTR.
22311 * locale/C-monetary.c (conversion_rate): New variable.
22312 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22313 element.
22314
22315 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22316
22317 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22318 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22319
22320 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22321
22322 * elf/Makefile (tst-auxv): New test.
22323 * elf/tst-auxv.c: New
22324 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22325
22326 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22327
22328 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22329 (hidden_proto): Caller changed.
22330 (hidden_tls_proto): New macro.
22331 (libc_hidden_tls_proto): Likewise.
22332 (rtld_hidden_tls_proto): Likewise.
22333 (libm_hidden_tls_proto): Likewise.
22334 (libresolv_hidden_tls_proto): Likewise.
22335 (librt_hidden_tls_proto): Likewise.
22336 (libdl_hidden_tls_proto): Likewise.
22337 (libnss_files_hidden_tls_proto): Likewise.
22338 (libnsl_hidden_tls_proto): Likewise.
22339 (libnss_nisplus_hidden_tls_proto): Likewise.
22340 (libutil_hidden_tls_proto): Likewise.
22341
22342 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22343
22344 [BZ #10253]
22345 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22346 (decompose_rpath): Defer expansion to fillin_rpath.
22347 (_dl_init_paths): Pass linkmap to fillin_rpath.
22348
22349 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22350
22351 * benchtests/Makefile: Add strsep.
22352 * benchtests/bench-strsep.c: New file: strsep benchtest.
22353 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22354
22355 2013-11-18 Andreas Schwab <schwab@suse.de>
22356
22357 * locale/programs/locale.c (show_info) [case byte]: Check for
22358 '\377' instead of '\177'.
22359 * locale/C-monetary.c (not_available): Always use "\377".
22360 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22361 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22362 detect unavailable sign_posn locale elements.
22363 * locale/localeconv.c (__localeconv): For grouping and
22364 mon_grouping handle "\177" and "\377" like no grouping.
22365 (INT_ELEM): New macro. Use it to set all numeric members.
22366 * locale/programs/ld-monetary.c (monetary_read)
22367 <tok_mon_grouping>: Normalize single -1 to the empty string.
22368 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22369 Likewise.
22370
22371 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22372
22373 [BZ #16055]
22374 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22375 when we match (nil).
22376 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22377
22378 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22379
22380 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22381 (NO_TEST_INLINE): Update value.
22382 (ERRNO_UNCHANGED): Likewise.
22383 (ERRNO_EDOM): Likewise.
22384 (ERRNO_ERANGE): Likewise.
22385 (IGNORE_RESULT): Likewise.
22386 (check_float_internal): Check signs of NaN results if
22387 TEST_NAN_SIGN used.
22388 (check_complex): Pass TEST_NAN_SIGN flag through to second
22389 check_float_internal call.
22390 (copysign_test_data): Add tests with quiet NaNs as second
22391 argument. Use TEST_NAN_SIGN.
22392 (fabs_test_data): Add test of negative quiet NaN argument. Use
22393 TEST_NAN_SIGN.
22394 (signbit_test_data): Add tests of quiet NaN argument.
22395 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22396
22397 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22398 $ignore_result.
22399 (parse_args): Handle function results specified as IGNORE.
22400 * math/libm-test.inc (IGNORE_RESULT): New macro.
22401 (check_float_internal): Do not check numerical result if flag
22402 IGNORE_RESULT set.
22403 (check_complex): Pass through IGNORE_RESULT to second
22404 check_float_internal call.
22405 (check_int): Do not check numerical result if flag IGNORE_RESULT
22406 set.
22407 (check_long): Likewise.
22408 (check_bool): Likewise.
22409 (check_longlong): Likewise.
22410 (lrint_test_data): Add tests of infinite and NaN arguments.
22411 (lrint_tonearest_test_data): Likewise.
22412 (lrint_towardzero_test_data): Likewise.
22413 (lrint_downward_test_data): Likewise.
22414 (lrint_upward_test_data): Likewise.
22415 (llrint_test_data): Likewise.
22416 (llrint_tonearest_test_data): Likewise.
22417 (llrint_towardzero_test_data): Likewise.
22418 (llrint_downward_test_data): Likewise.
22419 (llrint_upward_test_data): Likewise.
22420 (lround_test_data): Likewise.
22421 (llround_test_data): Likewise.
22422
22423 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22424 (ERRNO_UNCHANGED): Update value.
22425 (ERRNO_EDOM): Likewise.
22426 (ERRNO_ERANGE): Likewise.
22427 (NO_TEST_INLINE_FLOAT): New macro.
22428 (NO_TEST_INLINE_DOUBLE): Likewise.
22429 (enable_test): New function.
22430 (RUN_TEST_f_f): Check enable_test before running test.
22431 (RUN_TEST_2_f): Likewise.
22432 (RUN_TEST_fff_f): Likewise.
22433 (RUN_TEST_c_f): Likewise.
22434 (RUN_TEST_f_f1): Likewise.
22435 (RUN_TEST_fF_f1): Likewise.
22436 (RUN_TEST_fI_f1): Likewise.
22437 (RUN_TEST_ffI_f1): Likewise.
22438 (RUN_TEST_c_c): Likewise.
22439 (RUN_TEST_cc_c): Likewise.
22440 (RUN_TEST_f_i): Likewise.
22441 (RUN_TEST_f_i_tg): Likewise.
22442 (RUN_TEST_ff_i_tg): Likewise.
22443 (RUN_TEST_f_b): Likewise.
22444 (RUN_TEST_f_b_tg): Likewise.
22445 (RUN_TEST_f_l): Likewise.
22446 (RUN_TEST_f_L): Likewise.
22447 (RUN_TEST_fFF_11): Likewise.
22448 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22449 conditionals.
22450 (cosh_test_data): Likewise.
22451 (exp_test_data): Likewise.
22452 (expm1_test_data): Likewise.
22453 (hypot_test_data): Likewise.
22454 (pow_test_data): Likewise.
22455 (sinh_test_data): Likewise.
22456 (tanh_test_data): Likewise.
22457 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22458 flags argument.
22459
22460 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22461 tests with quiet NaN input and output.
22462 (acosh_test_data): Likewise.
22463 (asin_test_data): Likewise.
22464 (asinh_test_data): Likewise.
22465 (atan_test_data): Likewise.
22466 (atanh_test_data): Likewise.
22467 (atan2_test_data): Likewise.
22468 (cbrt_test_data): Likewise.
22469 (cos_test_data): Likewise.
22470 (cosh_test_data): Likewise.
22471 (erf_test_data): Likewise.
22472 (erfc_test_data): Likewise.
22473 (exp_test_data): Likewise.
22474 (exp10_test_data): Likewise.
22475 (exp2_test_data): Likewise.
22476 (expm1_test_data): Likewise.
22477 (hypot_test_data): Likewise.
22478 (j0_test_data): Likewise.
22479 (j1_test_data): Likewise.
22480 (jn_test_data): Likewise.
22481 (lgamma_test_data): Likewise.
22482 (log_test_data): Likewise.
22483 (log10_test_data): Likewise.
22484 (log1p_test_data): Likewise.
22485 (log2_test_data): Likewise.
22486 (pow_test_data): Likewise.
22487 (scalb_test_data): Likewise.
22488 (sin_test_data): Likewise.
22489 (sincos_test_data): Likewise.
22490 (sinh_test_data): Likewise.
22491 (tan_test_data): Likewise.
22492 (tanh_test_data): Likewise.
22493 (tgamma_test_data): Likewise.
22494 (y0_test_data): Likewise.
22495 (y1_test_data): Likewise.
22496 (yn_test_data): Likewise.
22497
22498 [BZ #16167]
22499 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22500 argument being NaN and avoid computations with second argument in
22501 that case.
22502 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22503 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22504 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22505
22506 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22507
22508 * locale/iso-639.def: Add Chitwani Tharu (the).
22509
22510 2013-11-14 Andreas Schwab <schwab@suse.de>
22511
22512 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22513 word instead of empty string.
22514
22515 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22516
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22518 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22520 (__fe_nomask_env): Likewise.
22521
22522 2013-11-13 Steve Ellcey <sellcey@mips.com>
22523
22524 * benchtests/bench-timing.h: Include time.h.
22525
22526 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22527
22528 [BZ #15997]
22529 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22530 to 3.4.0 for x32.
22531 * sysdeps/unix/sysv/linux/configure: Regenerated.
22532
22533 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22534
22535 [BZ #16151]
22536 * stdlib/strtod_l.c (round_and_return): Do not consider
22537 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22538 exponent one less than half the least subnormal exponent.
22539 * stdlib/test-strtod-round-data: Add more tests.
22540 * stdlib/tst-strtod-round.c (tests): Regenerated.
22541
22542 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22543
22544 [BZ #14143]
22545 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22546 (__fe_mask_env): Likewise.
22547 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22548 libm_hidden_proto and add function prototype.
22549 (__fe_mask_env): Add function prototype.
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22551 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22553 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22555 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22556
22557 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22558
22559 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22560 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22561
22562 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22563
22564 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22565 of htab_find_slot().
22566
22567 2013-11-11 David S. Miller <davem@davemloft.net>
22568
22569 [BZ #16150]
22570 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22571 symbol in the non-vis3 case in static builds.
22572 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22573 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22574 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22575 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22576
22577 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22578
22579 [BZ #387]
22580 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22581 it is empty.
22582
22583 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22584
22585 * benchtests/Makefile: Add bench-strtod.
22586 * benchtests/bench-strtod.c: New file: strtod benchtest
22587
22588 2013-11-11 Andreas Schwab <schwab@suse.de>
22589
22590 [BZ #16153]
22591 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22592 terminating NUL in key length.
22593
22594 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22595
22596 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22597 Add artificial ODP entry for vDSO symbol for PPC64.
22598 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22599 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22600
22601 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22602
22603 [BZ #15374]
22604 * nss/getent.c (services_keys): Recognize services starting with digit.
22605
22606 2013-11-06 David S. Miller <davem@davemloft.net>
22607
22608 [BZ #15985]
22609 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22610 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22611
22612 2013-11-06 Will Newton <will.newton@linaro.org>
22613
22614 * manual/memory.texi (Malloc Examples): Remove register
22615 keyword from examples.
22616
22617 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22618
22619 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22620
22621 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22622
22623 [BZ #6981]
22624 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22625 depending on [__GCC_IEC_559 > 0].
22626 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22627 depending on [__GCC_IEC_559_COMPLEX > 0].
22628
22629 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22630
22631 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22632 to iso-639.def.
22633
22634 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22635
22636 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22637
22638 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22639
22640 [BZ #16112]
22641 * malloc/malloc (malloc_info): Do not handle first bin as
22642 special case.
22643
22644 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22645
22646 * locale/iso-639.def: Add Central Nahuatl (nhn).
22647
22648 2013-11-01 Bruno Haible <bruno@clisp.org>
22649
22650 [BZ #7003]
22651 * manual/math.texi (BSD Random): Specify range upper bound as
22652 in POSIX.
22653
22654 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22655
22656 * locale/iso-639.def: Add Meadow Mari (mhr).
22657
22658 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22659
22660 [BZ #14752], [BZ #15763]
22661 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22662 Validate name.
22663 * rt/tst_shm.c: Add test for escaping directory.
22664
22665 2013-10-31 Andreas Schwab <schwab@suse.de>
22666
22667 [BZ #15917]
22668 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22669 followed by 'x' as part of digit sequence.
22670 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22671
22672 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22673
22674 [BZ #16037]
22675 * configure.ac: allow GNU Make 4.0 and greater.
22676 * configure: Regenerated.
22677
22678 2013-10-30 Will Newton <will.newton@linaro.org>
22679
22680 [BZ #16038]
22681 * malloc/hooks.c (memalign_check): Limit alignment to the
22682 maximum representable power of two.
22683 * malloc/malloc.c (__libc_memalign): Likewise.
22684 * malloc/tst-memalign.c (do_test): Add test for very
22685 large alignment values.
22686 * malloc/tst-posix_memalign.c (do_test): Likewise.
22687
22688 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22689
22690 [BZ #11087]
22691 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22692 (munmap_chunk): Likewise.
22693 (mremap_chunk): Likewise.
22694
22695 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22696
22697 [BZ #15799]
22698 * stdlib/div.c (div): Remove obsolete code.
22699 * stdlib/ldiv.c (ldiv): Likewise.
22700 * stdlib/lldiv.c (lldiv): Likewise.
22701
22702 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22703
22704 [BZ #16071]
22705 * nss/nss_files/files-XXX.c (get_contents_ret): New
22706 enumerator.
22707 (get_contents): New function.
22708 (internal_getent): Use it. Expand size of LINEBUFLEN.
22709
22710 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22711
22712 * configure.in: Moved to ...
22713 * configure.ac: ... here. Change reference to configure.in
22714 to configure.ac.
22715 * sysdeps/arm/preconfigure.ac: ... here.
22716 configure.in to configure.ac.
22717 * sysdeps/gnu/configure.in: Moved to ...
22718 * sysdeps/gnu/configure.ac: ... here.
22719 * sysdeps/i386/configure.in: Moved to ...
22720 * sysdeps/i386/configure.ac: ... here.
22721 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22722 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22723 * sysdeps/mach/configure.in: Moved to ...
22724 * sysdeps/mach/configure.ac: ... here.
22725 * sysdeps/mach/hurd/configure.in: Moved to ...
22726 * sysdeps/mach/hurd/configure.ac: ... here.
22727 * sysdeps/powerpc/configure.in: Moved to ...
22728 * sysdeps/powerpc/configure.ac: ... here.
22729 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22730 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22731 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22732 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22733 * sysdeps/s390/s390-32/configure.in: Moved to ...
22734 * sysdeps/s390/s390-32/configure.ac: ... here.
22735 * sysdeps/s390/s390-64/configure.in: Moved to ...
22736 * sysdeps/s390/s390-64/configure.ac: ... here.
22737 * sysdeps/sh/configure.in: Moved to ...
22738 * sysdeps/sh/configure.ac: ... here.
22739 * sysdeps/sparc/configure.in: Moved to ...
22740 * sysdeps/sparc/configure.ac: ... here.
22741 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22742 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22743 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22744 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22745 * sysdeps/x86_64/configure.in: Moved to ...
22746 * sysdeps/x86_64/configure.ac: ... here.
22747 * sysdeps/x86_64/preconfigure.in: Moved to ...
22748 * sysdeps/x86_64/preconfigure.ac: ... here.
22749 * aclocal.m4: Change reference to configure.in to configure.ac.
22750 * config.h.in: Likewise.
22751 * manual/install.texi: Likewise.
22752 * manual/maint.texi: Likewise.
22753 * Makefile: Likewise.
22754 * malloc/Makefile: Likewise.
22755 * nscd/Makefile: Likewise.
22756 * Makeconfig: Change reference to configure.in and
22757 preconfigure.in to configure.ac and preconfigure.ac
22758 respectively.
22759 * INSTALL: Regenerated.
22760 * configure: Likewise.
22761 * sysdeps/gnu/configure: Likewise.
22762 * sysdeps/i386/configure: Likewise.
22763 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22764 * sysdeps/mach/configure: Likewise.
22765 * sysdeps/mach/hurd/configure: Likewise.
22766 * sysdeps/powerpc/configure: Likewise.
22767 * sysdeps/powerpc/powerpc32/configure: Likewise.
22768 * sysdeps/powerpc/powerpc64/configure: Likewise.
22769 * sysdeps/s390/s390-32/configure: Likewise.
22770 * sysdeps/s390/s390-64/configure: Likewise.
22771 * sysdeps/sh/configure: Likewise.
22772 * sysdeps/sparc/configure: Likewise.
22773 * sysdeps/unix/sysv/linux/configure: Likewise.
22774 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22775 * sysdeps/x86_64/configure: Likewise.
22776 * sysdeps/x86_64/preconfigure: Likewise.
22777
22778 2013-10-29 Andreas Schwab <schwab@suse.de>
22779
22780 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22781
22782 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22783
22784 * benchtests/pow-inputs: Add new inputs.
22785
22786 * benchtests/exp-inputs: Add new inputs.
22787
22788 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22789 conditional check for return value.
22790 (__cos32): Likewise.
22791
22792 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22793
22794 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22795 to provide a boost for large inputs with word alignment.
22796 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22797 implementation based on optimized PPC64 strcpy.
22798 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22799 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22800 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22801 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22802
22803 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22804
22805 [BZ #2801]
22806 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22807
22808 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22809
22810 [BZ #14876]
22811 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22812 * time/tst-strptime.c (day_tests): Add testcase.
22813
22814 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22815
22816 [BZ #14029]
22817 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22818
22819 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22820
22821 [BZ #16074]
22822 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22823 MAP_FAILED on error.
22824
22825 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22826
22827 [BZ #16072]
22828 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22829 heap for large requests.
22830
22831 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22832
22833 [BZ #9954]
22834 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22835 result if the result has no associated interface.
22836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22837 interface for all 127.X.Y.Z addresses.
22838
22839 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22840
22841 * locale/iso-639.def: Add Ligurian (lij)
22842
22843 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22844
22845 [BZ #15825]
22846 * sunrpc/rpc_main.c: Document rpcgen -5.
22847
22848 2013-10-19 Michael Stahl <mstahl@redhat.com>
22849
22850 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22851
22852 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22853
22854 [BZ #10278]
22855 * posix/glob.c: Match only directories when trailing slash is present.
22856 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22857 (main): Add testcase.
22858
22859 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22860
22861 [BZ #15670]
22862 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22863
22864 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22865
22866 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22867 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22868 AUTH_DES and cindex for FIPS 140-2.
22869 (DES Encryption): Add cindex FIPS 46-3.
22870
22871 * locale/locarchive.h (struct locarhandle): Add fname.
22872 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22873 if an optional argument was specified to --list-archive,
22874 otherwise NULL.
22875 * locale/programs/locarchive.c (show_archive_content): Take new
22876 argument fname and pass it via ah.fname to open_archive.
22877 * locale/programs/localedef.h: Update decl.
22878 (open_archive): If AH->fname is non-null, open that file
22879 rather than the default file name, and don't ignore ENOENT.
22880 (create_archive): Set AH.fname to NULL.
22881 (delete_locales_from_archive): Likewise.
22882 (add_locales_to_archive): Likewise.
22883 * locale/programs/locfile.c (write_all_categories): Likewise.
22884
22885 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22886 Aldy Hernandez <aldyh@redhat.com>
22887
22888 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22889 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22890 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22891 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22892 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22893 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22894 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22895 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22896 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22897 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22898 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22899 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22900 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22901 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22902 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22903 Likewise.
22904 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22905 Likewise.
22906 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22907 Likewise.
22908 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22909 Likewise.
22910 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22911 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22912 Likewise.
22913 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22914 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22915 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22916 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22917 Likewise.
22918 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22919 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22920 * sysdeps/powerpc/preconfigure: Likewise.
22921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22922 Likewise.
22923 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22924 Replace contents of file by #include of <fenv_libc.h>.
22925 * sysdeps/powerpc/soft-fp/sfp-machine.h
22926 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22927 and <sys/prctl.h>.
22928 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22929 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22931 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22932 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22933 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22935 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22936 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22937 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22941 Allow copysignl PLT reference to be missing.
22942
22943 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22944 Joseph Myers <joseph@codesourcery.com
22945
22946 [BZ #15948]
22947 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22948 single character.
22949 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22950
22951 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22952
22953 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22954 * elf/tst-tls1.c: Likewise.
22955 * elf/tst-tls10.h: Likewise.
22956 * elf/tst-tls14.c: Likewise.
22957 * elf/tst-tls2.c: Likewise.
22958 * elf/tst-tls3.c: Likewise.
22959 * elf/tst-tls4.c: Likewise.
22960 * elf/tst-tls5.c: Likewise.
22961 * elf/tst-tls6.c: Likewise.
22962 * elf/tst-tls7.c: Likewise.
22963 * elf/tst-tls8.c: Likewise.
22964 * elf/tst-tls9.c: Likewise.
22965 * elf/tst-tlsmod1.c: Likewise.
22966 * elf/tst-tlsmod13.c: Likewise.
22967 * elf/tst-tlsmod13a.c: Likewise.
22968 * elf/tst-tlsmod14a.c: Likewise.
22969 * elf/tst-tlsmod16a.c: Likewise.
22970 * elf/tst-tlsmod16b.c: Likewise.
22971 * elf/tst-tlsmod2.c: Likewise.
22972 * elf/tst-tlsmod3.c: Likewise.
22973 * elf/tst-tlsmod4.c: Likewise.
22974 * elf/tst-tlsmod5.c: Likewise.
22975 * elf/tst-tlsmod6.c: Likewise.
22976
22977 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22978
22979 [BZ #12486]
22980 * malloc/malloc.c: remove checks for statistics.
22981
22982 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22983
22984 [BZ #15277]
22985 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22986 * inet/tst-network.c: Add testcase.
22987
22988 2013-10-17 Andreas Schwab <schwab@suse.de>
22989
22990 [BZ #15218]
22991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22992 to determine canonical name.
22993
22994 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22995
22996 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22997 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23004 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23011 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23013 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23016 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23018 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23019 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23020 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23021 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23022 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23023 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23024 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23025 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23026 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23027 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23028 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23029 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23038 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23039 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23040 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23041 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23042 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23043 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23044 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23045 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23046 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23047 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23048 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23049 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23051 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23053 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23054
23055 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23056
23057 [BZ #16041]
23058 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23059 make result into a quiet NaN.
23060
23061 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23062
23063 * soft-fp/adddf3.c: Fix horizontal whitespace.
23064 * soft-fp/addsf3.c: Likewise.
23065 * soft-fp/addtf3.c: Likewise.
23066 * soft-fp/divdf3.c: Likewise.
23067 * soft-fp/divsf3.c: Likewise.
23068 * soft-fp/divtf3.c: Likewise.
23069 * soft-fp/double.h: Likewise.
23070 * soft-fp/eqdf2.c: Likewise.
23071 * soft-fp/eqsf2.c: Likewise.
23072 * soft-fp/eqtf2.c: Likewise.
23073 * soft-fp/extenddftf2.c: Likewise.
23074 * soft-fp/extended.h: Likewise.
23075 * soft-fp/extendsfdf2.c: Likewise.
23076 * soft-fp/extendsftf2.c: Likewise.
23077 * soft-fp/extendxftf2.c: Likewise.
23078 * soft-fp/fixdfdi.c: Likewise.
23079 * soft-fp/fixdfsi.c: Likewise.
23080 * soft-fp/fixdfti.c: Likewise.
23081 * soft-fp/fixsfdi.c: Likewise.
23082 * soft-fp/fixsfsi.c: Likewise.
23083 * soft-fp/fixsfti.c: Likewise.
23084 * soft-fp/fixtfdi.c: Likewise.
23085 * soft-fp/fixtfsi.c: Likewise.
23086 * soft-fp/fixtfti.c: Likewise.
23087 * soft-fp/fixunsdfdi.c: Likewise.
23088 * soft-fp/fixunsdfsi.c: Likewise.
23089 * soft-fp/fixunsdfti.c: Likewise.
23090 * soft-fp/fixunssfdi.c: Likewise.
23091 * soft-fp/fixunssfsi.c: Likewise.
23092 * soft-fp/fixunssfti.c: Likewise.
23093 * soft-fp/fixunstfdi.c: Likewise.
23094 * soft-fp/fixunstfsi.c: Likewise.
23095 * soft-fp/fixunstfti.c: Likewise.
23096 * soft-fp/floatdidf.c: Likewise.
23097 * soft-fp/floatdisf.c: Likewise.
23098 * soft-fp/floatditf.c: Likewise.
23099 * soft-fp/floatsidf.c: Likewise.
23100 * soft-fp/floatsisf.c: Likewise.
23101 * soft-fp/floatsitf.c: Likewise.
23102 * soft-fp/floattidf.c: Likewise.
23103 * soft-fp/floattisf.c: Likewise.
23104 * soft-fp/floattitf.c: Likewise.
23105 * soft-fp/floatundidf.c: Likewise.
23106 * soft-fp/floatundisf.c: Likewise.
23107 * soft-fp/floatunditf.c: Likewise.
23108 * soft-fp/floatunsidf.c: Likewise.
23109 * soft-fp/floatunsisf.c: Likewise.
23110 * soft-fp/floatunsitf.c: Likewise.
23111 * soft-fp/floatuntidf.c: Likewise.
23112 * soft-fp/floatuntisf.c: Likewise.
23113 * soft-fp/floatuntitf.c: Likewise.
23114 * soft-fp/fmadf4.c: Likewise.
23115 * soft-fp/fmasf4.c: Likewise.
23116 * soft-fp/fmatf4.c: Likewise.
23117 * soft-fp/gedf2.c: Likewise.
23118 * soft-fp/gesf2.c: Likewise.
23119 * soft-fp/getf2.c: Likewise.
23120 * soft-fp/ledf2.c: Likewise.
23121 * soft-fp/lesf2.c: Likewise.
23122 * soft-fp/letf2.c: Likewise.
23123 * soft-fp/muldf3.c: Likewise.
23124 * soft-fp/mulsf3.c: Likewise.
23125 * soft-fp/multf3.c: Likewise.
23126 * soft-fp/negdf2.c: Likewise.
23127 * soft-fp/negsf2.c: Likewise.
23128 * soft-fp/negtf2.c: Likewise.
23129 * soft-fp/op-1.h: Likewise.
23130 * soft-fp/op-2.h: Likewise.
23131 * soft-fp/op-4.h: Likewise.
23132 * soft-fp/op-8.h: Likewise.
23133 * soft-fp/op-common.h: Likewise.
23134 * soft-fp/quad.h: Likewise.
23135 * soft-fp/single.h: Likewise.
23136 * soft-fp/soft-fp.h: Likewise.
23137 * soft-fp/sqrtdf2.c: Likewise.
23138 * soft-fp/sqrtsf2.c: Likewise.
23139 * soft-fp/sqrttf2.c: Likewise.
23140 * soft-fp/subdf3.c: Likewise.
23141 * soft-fp/subsf3.c: Likewise.
23142 * soft-fp/subtf3.c: Likewise.
23143 * soft-fp/truncdfsf2.c: Likewise.
23144 * soft-fp/trunctfdf2.c: Likewise.
23145 * soft-fp/trunctfsf2.c: Likewise.
23146 * soft-fp/trunctfxf2.c: Likewise.
23147 * soft-fp/unorddf2.c: Likewise.
23148 * soft-fp/unordsf2.c: Likewise.
23149 * soft-fp/unordtf2.c: Likewise.
23150
23151 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23152
23153 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23154 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23155
23156 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23157
23158 * elf/dl-libc.c: Clear initfini list after freeing.
23159
23160 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23161
23162 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23163 * soft-fp/addsf3.c: Likewise.
23164 * soft-fp/addtf3.c: Likewise.
23165 * soft-fp/divdf3.c: Likewise.
23166 * soft-fp/divsf3.c: Likewise.
23167 * soft-fp/divtf3.c: Likewise.
23168 * soft-fp/double.h: Likewise.
23169 * soft-fp/eqdf2.c: Likewise.
23170 * soft-fp/eqsf2.c: Likewise.
23171 * soft-fp/eqtf2.c: Likewise.
23172 * soft-fp/extenddftf2.c: Likewise.
23173 * soft-fp/extended.h: Likewise.
23174 * soft-fp/extendsfdf2.c: Likewise.
23175 * soft-fp/extendsftf2.c: Likewise.
23176 * soft-fp/extendxftf2.c: Likewise.
23177 * soft-fp/fixdfdi.c: Likewise.
23178 * soft-fp/fixdfsi.c: Likewise.
23179 * soft-fp/fixdfti.c: Likewise.
23180 * soft-fp/fixsfdi.c: Likewise.
23181 * soft-fp/fixsfsi.c: Likewise.
23182 * soft-fp/fixsfti.c: Likewise.
23183 * soft-fp/fixtfdi.c: Likewise.
23184 * soft-fp/fixtfsi.c: Likewise.
23185 * soft-fp/fixtfti.c: Likewise.
23186 * soft-fp/fixunsdfdi.c: Likewise.
23187 * soft-fp/fixunsdfsi.c: Likewise.
23188 * soft-fp/fixunsdfti.c: Likewise.
23189 * soft-fp/fixunssfdi.c: Likewise.
23190 * soft-fp/fixunssfsi.c: Likewise.
23191 * soft-fp/fixunssfti.c: Likewise.
23192 * soft-fp/fixunstfdi.c: Likewise.
23193 * soft-fp/fixunstfsi.c: Likewise.
23194 * soft-fp/fixunstfti.c: Likewise.
23195 * soft-fp/floatdidf.c: Likewise.
23196 * soft-fp/floatdisf.c: Likewise.
23197 * soft-fp/floatditf.c: Likewise.
23198 * soft-fp/floatsidf.c: Likewise.
23199 * soft-fp/floatsisf.c: Likewise.
23200 * soft-fp/floatsitf.c: Likewise.
23201 * soft-fp/floattidf.c: Likewise.
23202 * soft-fp/floattisf.c: Likewise.
23203 * soft-fp/floattitf.c: Likewise.
23204 * soft-fp/floatundidf.c: Likewise.
23205 * soft-fp/floatundisf.c: Likewise.
23206 * soft-fp/floatunsidf.c: Likewise.
23207 * soft-fp/floatunsisf.c: Likewise.
23208 * soft-fp/floatuntidf.c: Likewise.
23209 * soft-fp/floatuntisf.c: Likewise.
23210 * soft-fp/floatuntitf.c: Likewise.
23211 * soft-fp/fmadf4.c: Likewise.
23212 * soft-fp/fmasf4.c: Likewise.
23213 * soft-fp/fmatf4.c: Likewise.
23214 * soft-fp/gedf2.c: Likewise.
23215 * soft-fp/gesf2.c: Likewise.
23216 * soft-fp/getf2.c: Likewise.
23217 * soft-fp/ledf2.c: Likewise.
23218 * soft-fp/lesf2.c: Likewise.
23219 * soft-fp/letf2.c: Likewise.
23220 * soft-fp/muldf3.c: Likewise.
23221 * soft-fp/mulsf3.c: Likewise.
23222 * soft-fp/multf3.c: Likewise.
23223 * soft-fp/negdf2.c: Likewise.
23224 * soft-fp/negsf2.c: Likewise.
23225 * soft-fp/negtf2.c: Likewise.
23226 * soft-fp/op-1.h: Likewise.
23227 * soft-fp/op-2.h: Likewise.
23228 * soft-fp/op-4.h: Likewise.
23229 * soft-fp/op-8.h: Likewise.
23230 * soft-fp/op-common.h: Likewise.
23231 * soft-fp/quad.h: Likewise.
23232 * soft-fp/single.h: Likewise.
23233 * soft-fp/soft-fp.h: Likewise.
23234 * soft-fp/sqrtdf2.c: Likewise.
23235 * soft-fp/sqrtsf2.c: Likewise.
23236 * soft-fp/sqrttf2.c: Likewise.
23237 * soft-fp/subdf3.c: Likewise.
23238 * soft-fp/subsf3.c: Likewise.
23239 * soft-fp/subtf3.c: Likewise.
23240 * soft-fp/truncdfsf2.c: Likewise.
23241 * soft-fp/trunctfdf2.c: Likewise.
23242 * soft-fp/trunctfsf2.c: Likewise.
23243 * soft-fp/trunctfxf2.c: Likewise.
23244 * soft-fp/unorddf2.c: Likewise.
23245 * soft-fp/unordsf2.c: Likewise.
23246 * soft-fp/unordtf2.c: Likewise.
23247
23248 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23249
23250 [BZ #15672]
23251 * misc/error.c (error_tail): Fix possible buffer overflow.
23252
23253 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23254
23255 [BZ #13028]
23256 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23257 address.
23258
23259 2013-10-14 P. J. McDermott <pj@pehjota.net>
23260
23261 [BZ #832]
23262 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23263 testing pipefail option.
23264
23265 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23266
23267 * soft-fp/double.h: Indent preprocessor directives inside #if.
23268 * soft-fp/extended.h: Likewise.
23269 * soft-fp/op-2.h: Likewise.
23270 * soft-fp/op-4.h: Likewise.
23271 * soft-fp/op-common.h: Likewise.
23272 * soft-fp/quad.h: Likewise.
23273 * soft-fp/single.h: Likewise.
23274 * soft-fp/soft-fp.h: Likewise.
23275
23276 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23277
23278 * iconv/iconv_prog.c: Fix typos.
23279 * stdio-common/psiginfo-data.h: Likewise.
23280
23281 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23282
23283 [BZ #15764]
23284 * locale/setlocale.c: Fix typo.
23285
23286 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23287
23288 [BZ #16036]
23289 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23290 signaling NaN arguments.
23291 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23292 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23293
23294 [BZ #14910]
23295 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23296 unordered operands.
23297 * soft-fp/gesf2.c (__gesf2): Likewise.
23298 * soft-fp/getf2.c (__getf2): Likewise.
23299 * soft-fp/ledf2.c (__ledf2): Likewise.
23300 * soft-fp/lesf2.c (__lesf2): Likewise.
23301 * soft-fp/letf2.c (__letf2): Likewise.
23302
23303 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23304 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23305 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23306 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23307 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23308 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23309 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23310 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23311 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23312 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23313 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23314 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23315 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23316 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23317 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23318 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23319 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23320 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23321 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23322 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23323 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23324 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23325 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23326 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23327 * soft-fp/floattidf.c (__floattidf): Likewise.
23328 * soft-fp/floattisf.c (__floattisf): Likewise.
23329 * soft-fp/floattitf.c (__floattitf): Likewise.
23330 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23331 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23332 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23333 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23334 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23335 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23336 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23337 * soft-fp/gesf2.c (__gesf2): Likewise.
23338 * soft-fp/getf2.c (__getf2): Likewise.
23339 * soft-fp/ledf2.c (__ledf2): Likewise.
23340 * soft-fp/lesf2.c (__lesf2): Likewise.
23341 * soft-fp/letf2.c (__letf2): Likewise.
23342
23343 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23344 Undefine and redefine.
23345 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23346 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23347 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23348 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23349 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23350 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23351 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23352 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23353 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23354 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23355 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23356 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23357 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23358 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23359 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23360
23361 [BZ #16032]
23362 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23363 without decrementing exponent if mantissa >= that for the
23364 denominator, not >.
23365 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23366 denominator, not >. Decrement exponent in < case instead of
23367 incrementing in >= case.
23368 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23369 without decrementing exponent if mantissa >= that for the
23370 denominator, not >.
23371
23372 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23373 computing saturated result for unsigned overflow.
23374
23375 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23376 Jeff Law <law@redhat.com>
23377
23378 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23379 (atan2Mp): Add systemtap probe marker.
23380 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23381 (__ieee754_log): Add systemtap probe marker.
23382 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23383 (atanMp): Add systemtap probe marker.
23384 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23385 (tanMp): Add systemtap probe marker.
23386 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23387 (__slowexp): Add systemtap probe marker.
23388 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23389 (__slowpow): Add systemtap probe marker.
23390 * manual/probes.texi: Document probes.
23391
23392 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23393
23394 [BZ #15362]
23395 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23396 written.
23397 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23398 written.
23399 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23400 written to buffer but not flushed.
23401 * libio/iofwrite_u.c: Likewise.
23402 * libio/iopadn.c: Return bytes returned even if EOF was
23403 encountered.
23404 * libio/iowpadn.c: Likewise.
23405 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23406 if _IO_padn does not write the whole buffer.
23407 [!COMPILE_WPRINTF] (PAD): Likewise.
23408
23409 2013-10-10 David S. Miller <davem@davemloft.net>
23410
23411 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23412 directory block.
23413
23414 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23415
23416 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23417 instead of FSF address.
23418 * soft-fp/fixdfti.c: Likewise.
23419 * soft-fp/fixsfti.c: Likewise.
23420 * soft-fp/fixtfti.c: Likewise.
23421 * soft-fp/fixunsdfti.c: Likewise.
23422 * soft-fp/fixunssfti.c: Likewise.
23423 * soft-fp/fixunstfti.c: Likewise.
23424 * soft-fp/floattidf.c: Likewise.
23425 * soft-fp/floattisf.c: Likewise.
23426 * soft-fp/floattitf.c: Likewise.
23427 * soft-fp/floatuntidf.c: Likewise.
23428 * soft-fp/floatuntisf.c: Likewise.
23429 * soft-fp/floatuntitf.c: Likewise.
23430 * soft-fp/trunctfxf2.c: Likewise.
23431
23432 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23433 * soft-fp/fixdfti.c: Likewise.
23434 * soft-fp/fixsfti.c: Likewise.
23435 * soft-fp/fixtfti.c: Likewise.
23436 * soft-fp/fixunsdfti.c: Likewise.
23437 * soft-fp/fixunssfti.c: Likewise.
23438 * soft-fp/fixunstfti.c: Likewise.
23439 * soft-fp/floattidf.c: Likewise.
23440 * soft-fp/floattisf.c: Likewise.
23441 * soft-fp/floattitf.c: Likewise.
23442 * soft-fp/floatuntidf.c: Likewise.
23443 * soft-fp/floatuntisf.c: Likewise.
23444 * soft-fp/floatuntitf.c: Likewise.
23445 * soft-fp/trunctfxf2.c: Likewise.
23446
23447 2013-10-10 David S. Miller <davem@davemloft.net>
23448
23449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23450
23451 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23452
23453 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23454 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23455 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23456 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23457 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23458 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23459 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23460
23461 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23462 for NaNs before doing comparisons on argument.
23463 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23464 Likewise.
23465
23466 2013-10-10 Will Newton <will.newton@linaro.org>
23467
23468 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23469 passed to _int_memalign does not overflow.
23470
23471 2013-10-10 Torvald Riegel <triegel@redhat.com>
23472
23473 * scripts/bench.pl: Add include-sources directive.
23474 * benchtests/README: Update documentation.
23475
23476 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23477
23478 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23479 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23480 instead of FP_INIT_ROUNDMODE.
23481 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23482 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23483
23484 [BZ #16034]
23485 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23486 copy class of input value.
23487 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23488 not handle exceptions.
23489 * soft-fp/negsf2.c (__negsf2): Likewise.
23490 * soft-fp/negtf2.c (__negtf2): Likewise.
23491 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23492
23493 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23494
23495 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23496 semicolon. From Linux kernel.
23497
23498 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23499
23500 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23501
23502 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23503
23504 [BZ #156]
23505 * manual/socket.texi: Added statement about buffer
23506 for gethostbyname2_r.
23507
23508 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23509
23510 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23511 Use .p2align directive instead, throughout.
23512 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23513 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23514 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23517 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23518 * sysdeps/x86_64/strchr.S: Likewise.
23519 * sysdeps/x86_64/strrchr.S: Likewise.
23520
23521 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23522
23523 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23524
23525 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23526
23527 * sysdeps/generic/math_private.h (__mpsin1): Remove
23528 declaration.
23529 (__mpcos1): Likewise.
23530 (__mpsin): New argument __range_reduce.
23531 (__mpcos): Likewise.
23532 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23533 (slow): Use __mpsin and __mpcos.
23534 (slow1): Likewise.
23535 (slow2): Likewise.
23536 (sloww): Likewise.
23537 (sloww1): Likewise.
23538 (sloww2): Likewise.
23539 (bsloww): Likewise.
23540 (bsloww1): Likewise.
23541 (bsloww2): Likewise.
23542 (cslow2): Likewise.
23543 (csloww): Likewise.
23544 (csloww1): Likewise.
23545 (csloww2): Likewise.
23546 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23547 range_reduce. Merge in __mpsin1.
23548 (__mpcos): Likewise.
23549 (__mpsin1): Remove.
23550 (__mpcos1): Likewise.
23551
23552 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23553
23554 * locale/loadlocale.c (_nl_intern_locale_data): Use
23555 LOCFILE_ALIGNED_P.
23556 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23557 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23558 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23559 obstack data is appropriately aligned.
23560 (obstack_int32_grow_fast): Likewise.
23561 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23562 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23563 (add_locale_uint32_array): Likewise.
23564
23565 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23566
23567 * benchtests/Makefile: Remove ARGLIST and RET variables.
23568 ($(objpfx)bench-%.c): Pass only function name to the script.
23569 * benchtests/README: Update documentation.
23570 * benchtests/acos-inputs: Add new directives.
23571 * benchtests/acosh-inputs: Likewise.
23572 * benchtests/asin-inputs: Likewise.
23573 * benchtests/asinh-inputs: Likewise.
23574 * benchtests/atan-inputs: Likewise.
23575 * benchtests/atanh-inputs: Likewise.
23576 * benchtests/cos-inputs: Likewise.
23577 * benchtests/cosh-inputs: Likewise.
23578 * benchtests/exp-inputs: Likewise.
23579 * benchtests/log-inputs: Likewise.
23580 * benchtests/pow-inputs: Likewise.
23581 * benchtests/rint-inputs: Likewise.
23582 * benchtests/sin-inputs: Likewise.
23583 * benchtests/sinh-inputs: Likewise.
23584 * benchtests/tan-inputs: Likewise.
23585 * benchtests/tanh-inputs: Likewise.
23586 * scripts/bench.pl: Add support for new directives.
23587
23588 2013-10-07 Alan Modra <amodra@gmail.com>
23589
23590 * README: Fix careless merge.
23591
23592 2013-10-05 Alan Modra <amodra@gmail.com>
23593
23594 * NEWS: Mention powerpc64le support and bugs fixed.
23595 * README: Both big-endian and little-endian powerpc64 supported.
23596
23597 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23598
23599 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23600 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23601 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23602 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23603
23604 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23605
23606 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23607 match prototype.
23608
23609 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23610
23611 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23612 Move -mhard-float appending from
23613 ports/sysdeps/powerpc/powerpc32/Makefile.
23614 [$(with-fp) = yes] (ASFLAGS): Likewise.
23615 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23616 * sysdeps/powerpc/nofpu: Move directory from
23617 ports/sysdeps/powerpc/nofpu.
23618 * sysdeps/powerpc/soft-fp: Move directory from
23619 ports/sysdeps/powerpc/soft-fp.
23620 * sysdeps/powerpc/powerpc32/405: Move directory from
23621 ports/sysdeps/powerpc/powerpc32/405.
23622 * sysdeps/powerpc/powerpc32/440: Move directory from
23623 ports/sysdeps/powerpc/powerpc32/440.
23624 * sysdeps/powerpc/powerpc32/464: Move directory from
23625 ports/sysdeps/powerpc/powerpc32/464.
23626 * sysdeps/powerpc/powerpc32/476: Move directory from
23627 ports/sysdeps/powerpc/powerpc32/476.
23628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23629 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23631 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23633 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23635 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23637 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23638 * README: Update for powerpc-*-linux-gnu software floating point
23639 support in libc.
23640
23641 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23642 case to powerpc/powerpc32*.
23643 * sysdeps/unix/sysv/linux/configure: Regenerated.
23644
23645 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23646 (_FPU_MASK_OM): Define as 0x04.
23647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23649 0x00c10080.
23650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23651 0x0000003c.
23652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23653
23654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23655 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23656 getcontext_e500.
23657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23658 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23659 setcontext_e500.
23660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23661 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23662 and setcontext_e500.
23663
23664 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23665
23666 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23667
23668 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23669
23670 * manual/threads.texi (Default Thread Attributes): Fix typo.
23671
23672 2013-10-04 Will Newton <will.newton@linaro.org>
23673
23674 * malloc/Makefile: Add tst-memalign.
23675 * malloc/tst-memalign.c: New file.
23676
23677 * malloc/tst-posix_memalign.c: Add comments.
23678 (do_test): Add comments and call free on all potentially
23679 allocated pointers. Add space after cast.
23680
23681 * malloc/tst-pvalloc.c: Add comments.
23682 (do_test): Add comments and call free on all potentially
23683 allocated pointers. Remove duplicate check for NULL pointer.
23684 Add space after cast.
23685
23686 * malloc/tst-valloc.c: Add comments.
23687 (do_test): Add comments and call free on all potentially
23688 allocated pointers. Remove duplicate check for NULL pointer.
23689 Add space after cast.
23690
23691 2013-10-04 Alan Modra <amodra@gmail.com>
23692
23693 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23694 Use stdint types in rather than __attribute__((mode())).
23695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23696
23697 2013-10-04 Alan Modra <amodra@gmail.com>
23698
23699 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23700 Correct handling of unaligned relocs for little-endian.
23701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23702
23703 2013-10-04 Alan Modra <amodra@gmail.com>
23704
23705 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23706 * configure: Regenerate.
23707 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23708 * shlib-versions: Likewise.
23709
23710 2013-10-04 Alan Modra <amodra@gmail.com>
23711
23712 * string/tester.c (test_memrchr): Increment reported test cycle.
23713
23714 2013-10-04 Alan Modra <amodra@gmail.com>
23715
23716 * string/test-memcpy.c (do_one_test): When reporting errors, print
23717 string address and don't overrun end of string.
23718
23719 2013-10-04 Alan Modra <amodra@gmail.com>
23720
23721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23722 insrdi. Make better use of reg selection to speed exit slightly.
23723 Schedule entry path a little better. Remove useless "are we done"
23724 checks on entry to main loop. Handle wrapping around zero address.
23725 Correct main loop count. Handle single left-over word from main
23726 loop inline rather than by using loop_small. Remove extra word
23727 case in loop_small caused by wrong loop count. Add little-endian
23728 support.
23729 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23731 cache hint.
23732 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23733 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23734 support. Avoid rlwimi.
23735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23736
23737 2013-10-04 Alan Modra <amodra@gmail.com>
23738
23739 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23740 insrdi. Formatting.
23741 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23742 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23743 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23744 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23745 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23746 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23747
23748 2013-10-04 Alan Modra <amodra@gmail.com>
23749
23750 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23751 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23752 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23753 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23754 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23755 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23756 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23757 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23758 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23759 use of regs. Use power7 mtocrf. Tidy function tails.
23760
23761 2013-10-04 Alan Modra <amodra@gmail.com>
23762
23763 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23764 Formatting. Consistently use rXXX register defines or rN defines.
23765 Use early exit labels that avoid restoring unused non-volatile regs.
23766 Make cr field use more consistent with rWORDn compares. Rename
23767 regs used as shift registers for unaligned loop, using rN defines
23768 for short lifetime/multiple use regs.
23769 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23770 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23771 addi 1,1,64 to pop stack frame. Simplify return value code.
23772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23773
23774 2013-10-04 Alan Modra <amodra@gmail.com>
23775
23776 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23777 support. Correct typos, formatting. Optimize tail. Use insrdi
23778 rather than rlwimi.
23779 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23780 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23781 little-endian support. Correct typos.
23782 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23783 rather than rlwimi.
23784 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23785 in loop and entry code to keep "and." results.
23786 (strchr): Add little-endian support. Comment. Move cntlzd
23787 earlier in tail.
23788 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23789
23790 2013-10-04 Alan Modra <amodra@gmail.com>
23791
23792 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23793 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23794 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23795 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23796
23797 2013-10-04 Alan Modra <amodra@gmail.com>
23798
23799 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23800 (rTMP): Define as r11.
23801 (strcmp): Add little-endian support. Optimise tail.
23802 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23803 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23804 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23805 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23806 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23807 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23808 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23809
23810 2013-10-04 Alan Modra <amodra@gmail.com>
23811
23812 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23813 little-endian support. Remove unnecessary "are we done" tests.
23814 Handle "s" wrapping around zero and extremely large "size".
23815 Correct main loop count. Handle single left-over word from main
23816 loop inline rather than by using small_loop. Correct comments.
23817 Delete "zero" tail, use "end_max" instead.
23818 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23819
23820 2013-10-04 Alan Modra <amodra@gmail.com>
23821
23822 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23823 support. Don't branch over align.
23824 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23825 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23826 support. Rearrange tmp reg use to suit. Comment.
23827 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23828
23829 2013-10-04 Alan Modra <amodra@gmail.com>
23830
23831 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23832
23833 2013-10-04 Alan Modra <amodra@gmail.com>
23834
23835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23836 conditional form of branch and link when obtaining pc.
23837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23838
23839 2013-10-04 Alan Modra <amodra@gmail.com>
23840
23841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23842 HIWORD/LOWORD.
23843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23845
23846 2013-10-04 Alan Modra <amodra@gmail.com>
23847
23848 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23849 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23850 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23851 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23852 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23853 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23854 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23855 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23856 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23857 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23858
23859 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23860 Alistair Popple <alistair@ozlabs.au.ibm.com>
23861 Alan Modra <amodra@gmail.com>
23862
23863 [BZ #15723]
23864 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23865 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23866 _dl_hwcap access for little-endian.
23867 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23868 destroy vmx regs when saving unaligned.
23869 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23870 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23871 destroy vmx regs when saving unaligned.
23872
23873 2013-10-04 Alan Modra <amodra@gmail.com>
23874
23875 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23876 Don't use a union to pack hi/low value.
23877
23878 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23879
23880 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23881 for little-endian.
23882 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23884 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23885 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23886 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23887
23888 2013-10-04 Alan Modra <amodra@gmail.com>
23889
23890 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23891 constants to usual value for .cst8 section, and remove redundant
23892 high address load.
23893 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23894 constant for 0x1p52. Load little-endian words of double from
23895 correct stack offsets.
23896
23897 2013-10-04 Alan Modra <amodra@gmail.com>
23898
23899 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23900 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23901 words of double from correct stack offsets.
23902 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23903 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23904 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23907 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23909 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23910 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23912 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23913 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23914 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23915 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23916 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23917 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23918 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23919
23920 2013-10-04 Alan Modra <amodra@gmail.com>
23921
23922 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23923 64-bit int/double union.
23924 (_FPU_SETCW): Likewise.
23925 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23926 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23927
23928 2013-10-04 Alan Modra <amodra@gmail.com>
23929
23930 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23931 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23932
23933 2013-10-04 Alan Modra <amodra@gmail.com>
23934
23935 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23936 use vector int constants.
23937 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23938
23939 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23940
23941 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23942 array with long long.
23943 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23944 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23945 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23946 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23947 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23948 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23949 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23950 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23951 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23952 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23953 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23954 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23955 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23956
23957 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23958
23959 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23960 (__signbit): Likewise. Correct for little-endian.
23961 (__signbitl): Call __signbit.
23962 (lrint): Correct for little-endian.
23963 (lrintf): Call lrint.
23964
23965 2013-10-04 Alan Modra <amodra@gmail.com>
23966
23967 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23968 union 32-bit int array member with 64-bit int array.
23969 (t515, tm256): Double rather than long double.
23970 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23971
23972 2013-10-04 Alan Modra <amodra@gmail.com>
23973
23974 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23975 Delete.
23976 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23978 version of math_ldbl.h.
23979
23980 2013-10-04 Alan Modra <amodra@gmail.com>
23981
23982 [BZ #15734], [BZ #15735]
23983 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23984 all uses of ieee875 long double macros and unions. Simplify test
23985 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23986 ldbl_extract_mantissa value for ix,iy exponents. Properly
23987 normalize after ldbl_extract_mantissa, and don't add hidden bit
23988 already handled. Don't treat low word of ieee854 mantissa like
23989 low word of IBM long double and mask off bit when testing for
23990 zero.
23991 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23992 all uses of ieee875 long double macros and unions. Simplify tests
23993 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23994 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23995 two1022, instead use their values. Recognise that tests for large
23996 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23998 Rewrite all uses of ieee875 long double macros and unions. Simplify
23999 test for 0.0L and nan. Correct negation.
24000 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24001 ieee875 long double macros and unions. Correct output for large
24002 magnitude x. Correct absolute value calculation.
24003 (__erfcl): Likewise.
24004 * math/libm-test.inc: Add tests for errors discovered in IBM long
24005 double versions of fmodl, remainderl, erfl and erfcl.
24006
24007 2013-10-04 Alan Modra <amodra@gmail.com>
24008
24009 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24010 all uses of ieee854 long double macros and unions. Simplify tests
24011 for long doubles that are fully specified by the high double.
24012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24013 Likewise.
24014 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24015 Remove dead code too.
24016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24017 (__ieee754_ynl): Likewise.
24018 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24019 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24021 Remove dead code too.
24022 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24023 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24024 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24026 Simplify.
24027 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24028 Simplify.
24029 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24031 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24032 Comment on variable precision.
24033 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24034 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24035 Likewise.
24036 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24037 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24038 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24039 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24040 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24041
24042 2013-10-04 Alan Modra <amodra@gmail.com>
24043
24044 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24045 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24046 all uses of ieee854 long double macros and unions.
24047 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24049 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24050 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24051 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24052 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24053 Likewise.
24054 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24055 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24060 Simplify sign and nan test too.
24061 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24065 Likewise.
24066 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24068 Likewise.
24069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24070 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24071 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24072 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24073 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24075
24076 2013-10-04 Alan Modra <amodra@gmail.com>
24077
24078 * stdio-common/printf_size.c (__printf_size): Don't use
24079 union ieee854_long_double in fpnum union.
24080 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24081 signbit macro to retrieve sign from long double.
24082 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24083 retrieve sign from long double.
24084 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24085 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24086 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24087 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24088 * math/test-misc.c (main): Don't use union ieee854_long_double.
24089
24090 2013-10-04 Alan Modra <amodra@gmail.com>
24091
24092 [BZ #15680]
24093 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24094 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24095 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24096 calculation. Remove unnecessary test for denormal exponent.
24097 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24098 Correct handling of denormals. Avoid undefined shift behaviour.
24099 Correct normalisation of low mantissa when low double is denormal.
24100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24101 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24102 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24103 Correct normalisation of low mantissa. Test for overflow of high
24104 mantissa and normalise.
24105 (ldbl_nearbyint): Use more readable constant for two52.
24106 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24107 (__mpn_construct_long_double): Fix test for overflow of high
24108 mantissa and correct normalisation. Avoid undefined shift.
24109
24110 2013-10-04 Alan Modra <amodra@gmail.com>
24111
24112 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24113 (union ibm_extended_long_double): Define as an array of ieee754_double.
24114 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24115 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24116 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24117 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24121 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24125
24126 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24127
24128 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24129 page size instead of calling getpagesize.
24130
24131 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24132 (LOCFILE_ALIGN_MASK): Likewise.
24133 (LOCFILE_ALIGN_UP): Likewise.
24134 (LOCFILE_ALIGNED_P): Likewise.
24135 * locale/programs/ld-collate.c (collate_output): Use the new
24136 macros instead of __alignof__ (int32_t).
24137 * locale/weight.h (findidx): Likewise.
24138
24139 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24140
24141 [BZ #431]
24142 * manual/string.texi: Fix strncat and wcsncat.
24143
24144 2013-10-03 Brooks Moses <bmoses@google.com>
24145
24146 [BZ #15915]
24147 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24148 * Makerules: ...here, and adjust associated comments.
24149
24150 2013-10-02 Will Newton <will.newton@linaro.org>
24151
24152 * malloc/Makefile: Add tst-pvalloc.
24153 * malloc/tst-pvalloc.c: New file.
24154
24155 2013-10-02 Will Newton <will.newton@linaro.org>
24156
24157 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24158 improve test coverage.
24159
24160 2013-10-02 Will Newton <will.newton@linaro.org>
24161
24162 * malloc/Makefile: Add tst-posix_memalign.
24163 * malloc/tst-posix_memalign.c: New file.
24164
24165 2013-10-01 Eric Blake <eblake@redhat.com>
24166
24167 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24168 Use __THROWNL rather than __THROW on static functions.
24169
24170 2013-09-30 Petr Machata <pmachata@redhat.com>
24171
24172 * elf/elf.h (R_AARCH64_ABS16): New macro.
24173 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24174 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24175 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24176 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24177 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24178 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24179 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24180 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24181 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24182 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24183 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24184 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24185 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24186 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24187 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24188 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24189 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24190 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24191 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24192 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24193 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24194 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24195 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24196 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24197 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24198 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24199 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24200 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24201 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24202 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24203 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24204 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24205 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24206 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24207 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24208 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24209 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24210 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24211 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24212 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24213 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24214 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24215 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24216 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24217 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24218 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24219 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24220 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24221 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24222 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24223 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24224 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24225 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24226 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24227 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24228 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24229 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24230 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24231 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24232 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24233 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24234 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24235 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24236 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24237 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24238 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24239 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24240 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24241 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24242 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24243 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24244 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24245 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24246 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24247 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24248 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24249 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24250 (R_AARCH64_TLSDESC_LDR): Likewise.
24251 (R_AARCH64_TLSDESC_ADD): Likewise.
24252 (R_AARCH64_TLSDESC_CALL): Likewise.
24253
24254 2013-09-30 Andreas Schwab <schwab@suse.de>
24255
24256 [BZ #15048]
24257 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24258 the nss database lookup.
24259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24261
24262 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24263
24264 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24265
24266 2013-09-28 P. J. McDermott <pj@pehjota.net>
24267
24268 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24269 ${Bash-specific parameter/pattern/string} parameter expansion.
24270 * sysdeps/unix/make-syscalls.sh: Likewise.
24271
24272 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24273
24274 * sysdeps/sh/stackguard-macros.h: New file.
24275
24276 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24277
24278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24280 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24281 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24282 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24283 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24284
24285 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24286
24287 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24288 Fix thread ID register.
24289
24290 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24291
24292 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24293 [POSIX || UNIX98]: Require rather than permitting all symbols from
24294 <time.h>.
24295 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24296 element of struct sched_param.
24297 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24298 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24299 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24300 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24301 constant.
24302
24303 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24304
24305 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24306 argument calculation.
24307
24308 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24309
24310 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24311 Expect macro.
24312 [POSIX] (pthread_attr_t): Do not require type.
24313 [POSIX] (pthread_cond_t): Likewise.
24314 [POSIX] (pthread_condattr_t): Likewise.
24315 [POSIX] (pthread_key_t): Likewise.
24316 [POSIX] (pthread_mutex_t): Likewise.
24317 [POSIX] (pthread_mutexattr_t): Likewise.
24318 [POSIX] (pthread_once_t): Likewise.
24319 [POSIX] (pthread_t): Likewise.
24320 [POSIX-based standards] (pthread_atfork): Expect function.
24321
24322 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24323 Richard Sandiford <richard@codesourcery.com>
24324
24325 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24326 (swap_endianness_p): New extern variable.
24327 (set_big_endian): New inline function.
24328 (maybe_swap_uint32): Likewise.
24329 (maybe_swap_uint32_array): Likewise.
24330 (maybe_swap_uint32_obstack): Likewise.
24331 * locale/programs/locfile.c: Include <stdbool.h>.
24332 (swap_endianness_p): New variable.
24333 (add_locale_uint32): Call maybe_swap_uint32.
24334 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24335 (write_locale_data): Call maybe_swap_uint32_array.
24336 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24337 maybe_swap_uint32.
24338 (obstack_int32_grow_fast): Likewise.
24339 (output_weightwc): Call maybe_swap_uint32_obstack.
24340 (collate_output): Likewise.
24341 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24342 (OPT_LITTLE_ENDIAN): Likewise.
24343 (options): Add --little-endian and --big-endian options.
24344 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24345 * locale/programs/locarchive.c: Include "locfile.h".
24346 (GET): New macro.
24347 (SET): Likewise.
24348 (INC): Likewise.
24349 (create_archive): Use the new macros to access fields of
24350 structures directly mapped from or written to locale archives.
24351 (oldlocrecentcmp): Likewise.
24352 (enlarge_archive): Likewise.
24353 (insert_name): Likewise.
24354 (add_alias): Likewise.
24355 (add_locale): Likewise.
24356 (delete_locales_from_archive): Likewise.
24357 (show_archive_content): Likewise.
24358 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24359 locale data.
24360
24361 2013-09-24 Roland McGrath <roland@hack.frob.com>
24362
24363 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24364 http://www.gnu.org/doc/freemanuals.texi.
24365 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24366
24367 2013-09-24 Will Newton <will.newton@linaro.org>
24368
24369 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24370 macro.
24371
24372 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24373
24374 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24375 unsigned char.
24376
24377 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24378
24379 * manual/threads.texi (POSIX Threads): Fix a typo.
24380
24381 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24382
24383 [BZ #14547]
24384 * string/tst-strcoll-overflow.c: New test case.
24385 * string/Makefile (xtests): Add tst-strcoll-overflow.
24386 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24387 cache if string sizes may cause integer overflow.
24388
24389 [BZ #14547]
24390 * string/strcoll_l.c (coll_seq): New members rule, idx,
24391 save_idx and back_us.
24392 (get_next_seq_nocache): New function.
24393 (do_compare_nocache): New function.
24394 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24395 when malloc fails.
24396
24397 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24398
24399 [BZ #15754]
24400 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24401 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24402 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24403
24404 [BZ #15754]
24405 * elf/Makefile (tests): Add tst-ptrguard1.
24406 (tests-static): Add tst-ptrguard1-static.
24407 (tst-ptrguard1-ARGS): Define.
24408 (tst-ptrguard1-static-ARGS): Define.
24409 * elf/tst-ptrguard1.c: New file.
24410 * elf/tst-ptrguard1-static.c: New file.
24411 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24412 * sysdeps/i386/stackguard-macros.h: Likewise.
24413 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24414 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24415 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24416 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24417 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24418 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24419
24420 2013-09-23 Hector Marco <hecmargi@upv.es>
24421 Ismael Ripoll <iripoll@disca.upv.es>
24422 Carlos O'Donell <carlos@redhat.com>
24423
24424 [BZ #15754]
24425 * sysdeps/generic/stackguard-macros.h: Define
24426 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24427 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24428 Define __pointer_chk_guard_local.
24429 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24430 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24431
24432 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24433
24434 [BZ #15859]
24435 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24436
24437 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24438
24439 * include/string.h (__ffs): Declare as hidden.
24440 * string/ffs.c (__ffs): Define as hidden.
24441 * sysdeps/i386/ffs.c (__ffs): Likewise.
24442 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24443 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24444 * sysdeps/s390/ffs.c (__ffs): Likewise.
24445 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24446
24447 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24448
24449 * NEWS: Mention malloc probes.
24450
24451 * malloc/arena.c (new_heap): New memory_heap_new probe.
24452 (grow_heap): New memory_heap_more probe.
24453 (shrink_heap): New memory_heap_less probe.
24454 (heap_trim): New memory_heap_free probe.
24455 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24456 (systrim): New memory_sbrk_less probe.
24457 * manual/probes.texi: Document them.
24458
24459 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24460 * manual/probes.texi: Document it.
24461
24462 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24463 (__libc_realloc): Add memory_realloc_retry probe.
24464 (__libc_memalign): Add memory_memalign_retry probe.
24465 (__libc_valloc): Add memory_valloc_retry probe.
24466 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24467 (__libc_calloc): Add memory_calloc_retry probe.
24468 * manual/probes.texi: Document them.
24469
24470 * malloc/arena.c (get_free_list): Add probe
24471 memory_arena_reuse_free_list.
24472 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24473 and memory_arena_reuse.
24474 (arena_get2) [!PER_THREAD]: Likewise.
24475 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24476 memory_arena_reuse_realloc.
24477 * manual/probes.texi: Document them.
24478
24479 * malloc/malloc.c (__libc_free): Add
24480 memory_mallopt_free_dyn_thresholds probe.
24481 (__libc_mallopt): Add multiple memory_mallopt probes.
24482 * manual/probes.texi: Document them.
24483
24484 * malloc/malloc.c: Include stap-probe.h.
24485 (__libc_mallopt): Add memory_mallopt probe.
24486 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24487 * manual/probes.texi: New.
24488 * manual/Makefile (chapters): Add probes.
24489 * manual/threads.texi: Set next node.
24490
24491 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24492
24493 [BZ #15963, #13985]
24494 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24495 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24496 Add `Chinese' to `nan' entry name.
24497
24498 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24499
24500 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24501 (POLYNOMIAL): Likewise.
24502 (TAYLOR_SINCOS): Likewise.
24503 (TAYLOR_SLOW): Likewise.
24504 (__sin): Use TAYLOR_SINCOS.
24505 (__cos): Likewise.
24506 (slow): Use TAYLOR_SLOW.
24507 (sloww): Likewise.
24508 (bsloww): Likewise.
24509 (csloww): Likewise.
24510
24511 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24512
24513 * stdlib/strtod_l.c: Fix buffer overrun.
24514
24515 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24516
24517 * benchtests/Makefile (bench): Add sincos.
24518 * benchtests/bench-sincos.c: New file.
24519
24520 * math/libm-test.inc (cos_test_data): New test inputs.
24521 (sin_test_data): Likewise.
24522
24523 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24524 macro.
24525 (__sin): Use it.
24526 (__cos): Likewise.
24527 (slow1): Likewise.
24528 (slow2): Likewise.
24529 (sloww1): Likewise.
24530 (sloww2): Likewise.
24531 (bsloww1): Likewise.
24532 (bsloww2): Likewise.
24533 (cslow2): Likewise.
24534 (csloww1): Likewise.
24535 (csloww2): Likewise.
24536
24537 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24538 function.
24539 (__sin): Use it.
24540 (__cos): Likewise.
24541
24542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24543 gotos.
24544 (__cos): Likewise.
24545
24546 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24547
24548 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24549 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24550 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24551 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24552 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24553 * elf/cache.c (print_entry): Handle the new cache flags.
24554
24555 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24556 Aldy Hernandez <aldyh@redhat.com>
24557
24558 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24559 Change condition to [_SOFT_FLOAT].
24560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24572 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24575 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24576 declaration.
24577
24578 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24579
24580 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24581 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24582 (__longjmp): Use LOAD_GP to load saved GPRs.
24583 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24584 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24585 (__sigsetjmp): Use SAVE_GP to save GPRs.
24586
24587 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24588 Do not append -msoft-float.
24589 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24590
24591 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24592
24593 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24594
24595 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24596
24597 [BZ #15966]
24598 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24599 (_FPU_GETCW): Use initial "__" on variable and field names but not
24600 on macro parameter name.
24601 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24602 parentheses around reference to macro parameter.
24603
24604 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24605
24606 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24607 prototype.
24608 (ctype_startup): Use uint32_t in cast and sizeof for
24609 ctype->charnames.
24610
24611 2013-09-11 Jia Liu <proljc@gmail.com>
24612
24613 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24614 __daddr_t_defined.
24615 [__FreeBSD__]: Likewise.
24616
24617 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24618
24619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24620 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24621 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24622 (strchr): Remove __strchr_sse42 ifunc selection.
24623 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24624 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24625
24626 2013-09-11 Will Newton <will.newton@linaro.org>
24627
24628 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24629 parameter to RES. Remove hardcoded 1000 value.
24630 * benchtests/bench-skeleton.c (main): Pass RES parameter
24631 to TIMING_INIT and multiply result by 1000.
24632
24633 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24634
24635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24636
24637 2013-09-11 Andreas Schwab <schwab@suse.de>
24638
24639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24640 if not defined.
24641 (O_TMPFILE) [__USE_GNU]: Define.
24642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24643 Define.
24644
24645 2013-09-11 Will Newton <will.newton@linaro.org>
24646
24647 [BZ #15857]
24648 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24649 does not overflow.
24650
24651 2013-09-11 Will Newton <will.newton@linaro.org>
24652
24653 [BZ #15856]
24654 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24655 does not overflow.
24656
24657 2013-09-11 Will Newton <will.newton@linaro.org>
24658
24659 [BZ #15855]
24660 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24661 does not overflow.
24662
24663 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24664
24665 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24666 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24667 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24668 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24669 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24670
24671 2013-09-10 Allan McRae <allan@archlinux.org>
24672
24673 [BZ #15748]
24674 * manual/arith.texi (Parsing of Floats): Clarify
24675 cross-reference.
24676
24677 [BZ #15849]
24678 * manual/install.texi (Running make install): Mention
24679 --enable-pt-chown.
24680 * INSTALL: Regenerated.
24681
24682 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24683
24684 * csu/init-first.c (_init): Remove the !SHARED condition around
24685 FPU control word initialization.
24686 * elf/dl-support.c (_dl_fpu_control): New variable.
24687 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24688 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24689 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24690 * math/test-fpucw-static.c: New file.
24691 * math/test-fpucw-ieee.c: New file.
24692 * math/test-fpucw-ieee-static.c: New file.
24693 * math/Makefile (tests): Add `test-fpucw-ieee' and
24694 `$(tests-static)'.
24695 (tests-static): New variable.
24696 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24697 dependency to...
24698 [($(build-shared),yes)]
24699 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24700 ... this.
24701 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24702 New dependency.
24703
24704 2013-09-09 Allan McRae <allan@archlinux.org>
24705
24706 [BZ #15939]
24707 * manual/string.texi (Collation Functions): Fix typo in
24708 strcoll example.
24709 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24710
24711 [BZ #15893]
24712 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24713
24714 [BZ #15892]
24715 * libio/memstream.c (open_memstream): Fix memory leak.
24716 * libio/wmemstream.c (open_wmemstream): Likewise.
24717
24718 [BZ #15895]
24719 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24720
24721 2013-09-09 Will Newton <will.newton@linaro.org>
24722
24723 * malloc/Makefile: Add tst-realloc to tests.
24724 * malloc/tst-realloc.c: New file.
24725
24726 2013-09-09 Allan McRae <allan@archlinux.org>
24727
24728 [BZ #15844]
24729 * COPYING: Update from GNU website to fix FSF address.
24730 * COPYING.LIB: Likewise.
24731
24732 2013-09-06 David S. Miller <davem@davemloft.net>
24733
24734 * po/zh_TW.po: Update Chinese (traditional) translation from
24735 translation project.
24736
24737 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24738 Joseph Myers <joseph@codesourcery.com>
24739
24740 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24741 "localeinfo.h".
24742 (obstack_chunk_alloc): New macro.
24743 (obstack_chunk_free): Likewise.
24744 (record_offset): New function.
24745 (init_locale_data): Likewise.
24746 (align_locale_data): Likewise.
24747 (add_locale_empty): Likewise.
24748 (add_locale_raw_data): Likewise.
24749 (add_locale_raw_obstack): Likewise.
24750 (add_locale_string): Likewise.
24751 (add_locale_wstring): Likewise.
24752 (add_locale_uint32): Likewise.
24753 (add_locale_uint32_array): Likewise.
24754 (add_locale_char): Likewise.
24755 (start_locale_structure): Likewise.
24756 (end_locale_structure): Likewise.
24757 (start_locale_prelude): Likewise.
24758 (end_locale_prelude): Likewise.
24759 (write_locale_data): Take locale_file structure rather than an
24760 iovec.
24761 * locale/programs/locfile.h: Include "obstack.h".
24762 (struct locale_file): Change to store locale file contents instead
24763 of header.
24764 (init_locale_data): New prototype.
24765 (align_locale_data): Likewise.
24766 (add_locale_empty): Likewise.
24767 (add_locale_raw_data): Likewise.
24768 (add_locale_raw_obstack): Likewise.
24769 (add_locale_string): Likewise.
24770 (add_locale_wstring): Likewise.
24771 (add_locale_uint32): Likewise.
24772 (add_locale_uint32_array): Likewise.
24773 (add_locale_char): Likewise.
24774 (start_locale_structure): Likewise.
24775 (end_locale_structure): Likewise.
24776 (start_locale_prelude): Likewise.
24777 (end_locale_prelude): Likewise.
24778 (write_locale_data): Update prototype.
24779 * locale/programs/3level.h (struct TABLE): Remove result field.
24780 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24781 Use new locale_file interface.
24782 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24783 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24784 * locale/programs/ld-address.c (address_output): Use new
24785 locale_file interface.
24786 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24787 NO_ADD_LOCALE.
24788 (collate_finish): Don't call collseq_table_finalize.
24789 (collate_output): Use new locale_file interface.
24790 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24791 in file.
24792 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24793 (TABLE): Move defines earlier in file.
24794 (ELEMENT): Likewise.
24795 (DEFAULT): Likewise.
24796 (wctrans_table_add): Move macro and inline function earlier in
24797 file.
24798 (struct wctype_table): Move type earlier in file.
24799 (add_locale_wctype_table): New static prototype.
24800 (struct locale_ctype_t): Use logical types instead of struct iovec
24801 pointers for members.
24802 (ctype_output): Use new locale_file interface.
24803 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24804 new locale_file interface.
24805 (allocate_arrays): Update for use of new locale_file interface.
24806 * locale/programs/ld-identification.c (identification_output): Use
24807 new locale_file interface.
24808 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24809 * locale/programs/ld-messages.c (messages_output): Likewise.
24810 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24811 * locale/programs/ld-name.c (name_output): Likewise.
24812 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24813 * locale/programs/ld-paper.c (paper_output): Likewise.
24814 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24815 * locale/programs/ld-time.c (time_output): Likewise.
24816
24817 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24818
24819 * benchtests/Makefile: Add memrchr benchmark.
24820 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24821 benchmark as memrchr.
24822 * benchtests/bench-memrchr-ifunc.c: New file.
24823 * benchtests/bench-memrchr.c: New file.
24824
24825 2013-09-06 Will Newton <will.newton@linaro.org>
24826
24827 * benchtests/Makefile (string-bench): Add memcpy.
24828
24829 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24830 Cong Wang <amwang@redhat.com>
24831
24832 [BZ #15850]
24833 * sysdeps/unix/sysv/linux/bits/in.h
24834 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24835 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24836 before __USE_KERNEL_IPV6_DEFS uses.
24837 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24838 IPPROTO_BEETPH.
24839 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24840 sockaddr_in6, or ipv6_mreq.
24841
24842 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24843
24844 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24845 memory access for final bytes in some large inputs.
24846 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24847
24848 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24849
24850 * string/test-memrchr.c: New file.
24851 * string/test-memrchr-ifunc.c: New file.
24852 * string/Makefile: Add new memrchr testcase.
24853
24854 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24855
24856 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24857 fanotify_init returns EPERM.
24858
24859 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24860
24861 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24862 errors.
24863 (top level): Treat second token from macro or constant entries for
24864 allowed headers as allowed.
24865 * include/complex.h: Condition internal declarations on
24866 [!_ISOMAC].
24867 * include/fenv.h: Condition include of <stdbool.h> and internal
24868 declarations on [!_ISOMAC].
24869
24870 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24871
24872 [BZ #15923]
24873 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24874
24875 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24876
24877 * configure.in (--enable-versioning): Remove configure option.
24878 (libc_cv_asm_symver_directive): Remove configure test.
24879 (libc_cv_ld_version_script_option): Likewise.
24880 (VERSIONING): Remove variable and AC_SUBST.
24881 (DO_VERSIONING): Remove AC_DEFINE.
24882 * configure: Regenerated.
24883 * config.h.in (DO_VERSIONING): Remove macro.
24884 * Makerules [$(versioning) = yes]: Change conditionals to
24885 [$(build-shared) = yes].
24886 * config.make.in (versioning): Remove variable.
24887 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24888 [$(build-shared) = yes].
24889 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24890 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24891 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24892 [$(build-shared) = yes].
24893 * extra-lib.mk [$(versioning) = yes]: Likewise.
24894 * hurd/Makefile [$(versioning) = yes]: Likewise.
24895 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24896 [SHARED].
24897 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24898 [SHARED].
24899 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24900 [SHARED && !NO_HIDDEN].
24901 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24902 [SHARED].
24903 [SHARED && DO_VERSIONING]: Likewise..
24904 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24905 [$(build-shared) = yes].
24906 * manual/install.texi (--disable-versioning): Remove
24907 documentation.
24908 * INSTALL: Regenerated.
24909 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24910 to [SHARED].
24911 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24912 [$(build-shared) = yes].
24913 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24914 * sysdeps/i386/i686/multiarch/strstr-c.c
24915 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24916 [SHARED && !NO_HIDDEN].
24917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24918 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24919 * sysdeps/powerpc/powerpc32/dl-machine.c
24920 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24921 * sysdeps/powerpc/powerpc32/sysdep.h
24922 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24923 to [SHARED && PIC && !NO_HIDDEN].
24924 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24925 conditional to [SHARED].
24926
24927 2013-09-04 Will Newton <will.newton@linaro.org>
24928
24929 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24930 * benchtests/bench-string.h: Include bench-timing.h instead
24931 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24932 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24933 call to HP_TIMING_DIFF_INIT.
24934 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24935 instead of hp-timing.h macros.
24936 * benchtests/bench-memchr.c: Likewise.
24937 * benchtests/bench-memcmp.c: Likewise.
24938 * benchtests/bench-memcpy.c: Likewise.
24939 * benchtests/bench-memmem.c: Likewise.
24940 * benchtests/bench-memmove.c: Likewise.
24941 * benchtests/bench-memset.c: Likewise.
24942 * benchtests/bench-rawmemchr.c: Likewise.
24943 * benchtests/bench-strcasecmp.c: Likewise.
24944 * benchtests/bench-strcasestr.c: Likewise.
24945 * benchtests/bench-strcat.c: Likewise.
24946 * benchtests/bench-strchr.c: Likewise.
24947 * benchtests/bench-strcmp.c: Likewise.
24948 * benchtests/bench-strcpy.c: Likewise.
24949 * benchtests/bench-strcpy_chk.c: Likewise.
24950 * benchtests/bench-strlen.c: Likewise.
24951 * benchtests/bench-strncasecmp.c: Likewise.
24952 * benchtests/bench-strncat.c: Likewise.
24953 * benchtests/bench-strncmp.c: Likewise.
24954 * benchtests/bench-strncpy.c: Likewise.
24955 * benchtests/bench-strnlen.c: Likewise.
24956 * benchtests/bench-strpbrk.c: Likewise.
24957 * benchtests/bench-strrchr.c: Likewise.
24958 * benchtests/bench-strspn.c: Likewise.
24959 * benchtests/bench-strstr.c: Likewise.
24960
24961 2013-09-04 Will Newton <will.newton@linaro.org>
24962
24963 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24964
24965 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24966
24967 [BZ #15427]
24968 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24969 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24970 * math/libm-test.inc (lgamma_test_data): Add more tests.
24971 * sysdeps/i386/fpu/libm-test-ulps: Update.
24972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24973
24974 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24975
24976 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24977 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24978 Add ifunc.
24979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24980 Add strcmp-sse2-unaligned
24981 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24982
24983 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24984
24985 * Versions.def (libc): Add GLIBC_2.19.
24986
24987 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24988
24989 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24990 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24991
24992 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24993
24994 [BZ #14155]
24995 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24996 intermediate calculations in recurrence.
24997 (__ieee754_ynf): Likewise.
24998 * math/libm-test.inc (jn_test_data): Do not allow spurious
24999 underflow exception. Add more tests.
25000 (yn_test_data): Add more tests.
25001 * sysdeps/i386/fpu/libm-test-ulps: Update.
25002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25003
25004 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25005
25006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25007
25008 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25009
25010 * csu/init-first.c: Fix then/than typos.
25011 * locale/programs/ld-collate.c: Likewise.
25012 * locale/programs/linereader.h: Likewise.
25013 * manual/charset.texi: Likewise.
25014 * manual/filesys.texi: Likewise.
25015 * manual/stdio.texi: Likewise.
25016 * manual/string.texi: Likewise.
25017 * stdlib/fmtmsg.c: Likewise.
25018 * sysdeps/i386/stpncpy.S: Likewise.
25019 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25020 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25021 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25022 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25023
25024 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25025
25026 * elf/dl-open.c: Fix typos.
25027 * iconvdata/gbbig5.c: Likewise.
25028 * iconvdata/iso-2022-jp.c: Likewise.
25029 * iconv/gconv_int.h: Likewise.
25030 * iconv/loop.c: Likewise.
25031 * nis/rpcsvc/nis.h: Likewise.
25032 * resolv/ns_name.c: Likewise.
25033 * stdio-common/vfscanf.c: Likewise.
25034 * streams/stropts.h: Likewise.
25035 * sunrpc/rpc_thread.c: Likewise.
25036 * sysdeps/i386/strpbrk.S: Likewise.
25037 * sysdeps/ieee754/k_standard.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25040 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25041 * sysdeps/mach/hurd/profil.c: Likewise.
25042 * sysdeps/s390/dl-procinfo.h: Likewise.
25043 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25044 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25045 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25046 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25047 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25048
25049 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25050
25051 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25052 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25053
25054 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25055
25056 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25057 aix specific files.
25058 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25059 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25060 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25061 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25062 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25063 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25064 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25065 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25066
25067 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25068 Roland McGrath <roland@hack.frob.com>
25069
25070 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25071 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25072
25073 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25074
25075 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25076 __executable_start symbol instead of _start.
25077
25078 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25079
25080 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25081 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25082 Move macros to...
25083 * sysdeps/gnu/ldsodefs.h: ... this new file.
25084
25085 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25086 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25087 instead of ELFOSABI_LINUX.
25088
25089 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25090 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25091 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25092 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25093 Likewise.
25094 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25095 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25096 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25097 Likewise.
25098 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25099 (ibm_extended_long_double): Add ieee_nan member.
25100 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25101 (do_test): New function.
25102
25103 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25104 TEST_TRUNC.
25105 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25106 functions, renamed from truncdfsf_test, trunctfsf_test,
25107 trunctfdf_test.
25108 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25109 functions.
25110 (do_test): Run all these.
25111
25112 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25113
25114 * argp/argp-help.c: Fix typos.
25115 * argp/argp-parse.c: Likewise.
25116 * debug/backtracesyms.c: Likewise.
25117 * elf/elf.h: Likewise.
25118 * malloc/malloc.c: Likewise.
25119 * nis/nis_print.c: Likewise.
25120 * resolv/res_comp.c: Likewise.
25121 * stdlib/stdlib.h: Likewise.
25122 * sunrpc/clnt_tcp.c: Likewise.
25123 * sunrpc/clnt_udp.c: Likewise.
25124 * sunrpc/clnt_unix.c: Likewise.
25125 * sysdeps/unix/bsd/ptsname.c: Likewise.
25126 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25129 Likewise.
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25131 Likewise.
25132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25133 Likewise.
25134 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25135
25136 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25137
25138 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25140
25141 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25142
25143 [BZ #15897]
25144 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25145 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25146 ($(objpfx)bug-dl-leaf): New rule.
25147 ($(objpfx)bug-dl-leaf.so): Likewise.
25148 ($(objpfx)bug-dl-leaf.out): Likewise.
25149 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25150 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25151 * dlfcn/bug-dl-leaf.c: New test.
25152 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25153 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25154 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25155 (dlclose): Likewise.
25156 (dlmopen): Likewise.
25157
25158 2013-08-27 Roland McGrath <roland@hack.frob.com>
25159
25160 * include/netdb.h [!_ISOMAC]:
25161 Don't include <tls.h>.
25162 (h_errno, __libc_h_errno): Move declaration and macros out of
25163 [_LIBC_REENTRANT].
25164
25165 * include/resolv.h [_RESOLV_H_]:
25166 Don't include <tls.h>.
25167 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25168 * resolv/res_libc.c: Don't include <tls.h>.
25169 (_res): Use __attribute__ ((nocommon)) in place of
25170 __attribute__ ((section (".bss"))).
25171
25172 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25173 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25174
25175 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25176
25177 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25178 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25179
25180 * resolv/res_mkquery.c: Include <sys/time.h>.
25181
25182 * inet/ifreq.c: Moved to ...
25183 * sysdeps/unix/ifreq.c: ... here.
25184 * inet/ifreq.c: New file, true stub version.
25185
25186 * socket/sa_len.c: New file.
25187 * socket/Makefile (aux): Add it.
25188 * sysdeps/unix/sysv/linux/Makefile
25189 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25190 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25191 and #include <socket/sa_len.c>.
25192 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25193 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25194
25195 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25196 * bits/socket.h: ... here.
25197
25198 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25199 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25200 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25201
25202 2013-08-27 Andreas Schwab <schwab@suse.de>
25203
25204 [BZ #15736]
25205 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25206 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25207 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25208 * string/test-strcasecmp.c (test_main): Run tests in several
25209 locales.
25210 * string/test-strncasecmp.c (test_main): Likewise.
25211
25212 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25213 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25214 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25216 (__strncasecmp_ssse3) [PIC]: Likewise.
25217
25218 2013-08-26 Roland McGrath <roland@hack.frob.com>
25219
25220 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25221
25222 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25223 instead of explicitly declaring xdecrypt.
25224 * nis/nss_nis/nis-publickey.c: Likewise.
25225
25226 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25227
25228 [BZ #15890]
25229 * nscd/aicache.c: Include res_hconf.h.
25230 (addhstaiX): Initialize res_hconf.
25231
25232 2013-08-26 Andreas Schwab <schwab@suse.de>
25233
25234 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25235 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25236
25237 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25238
25239 * nscd/aicache.c (addhstaiX): Fix indentation.
25240
25241 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25242
25243 * configure.ac: Quote $build_pt_chown test.
25244 * configure: Regenerated.
25245
25246 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25247
25248 [BZ #15532]
25249 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25250 * math/s_cexpf.c (__cexpf): Likewise.
25251 * math/s_cexpl.c (__cexpl): Likewise.
25252 * math/libm-test.inc (cexp_test_data): Correct expected return
25253 value for NaN + i0. Add another test.
25254
25255 2013-08-22 David S. Miller <davem@davemloft.net>
25256
25257 * po/ca.po: Update Catalan translation from translation project.
25258 * po/uk.po: Add Ukrainian translations from translation project.
25259
25260 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25261
25262 [BZ #15797]
25263 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25264 is infinite, not alongside NaN test.
25265 * math/s_fdimf.c (__fdimf): Likewise.
25266 * math/s_fdiml.c (__fdiml): Likewise.
25267 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25268 errno is unchanged.
25269
25270 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25271
25272 * argp/argp-help.c: Fix typos.
25273 * crypt/speeds.c: Likewise.
25274 * csu/check_fds.c: Likewise.
25275 * elf/dl-load.c: Likewise.
25276 * elf/dl-open.c: Likewise.
25277 * elf/reldep3.c: Likewise.
25278 * elf/reldep.c: Likewise.
25279 * elf/sprof.c: Likewise.
25280 * iconv/iconv_charmap.c: Likewise.
25281 * iconv/skeleton.c: Likewise.
25282 * iconv/strtab.c: Likewise.
25283 * io/lockf64.c: Likewise.
25284 * libio/libioP.h: Likewise.
25285 * resolv/gai_notify.c: Likewise.
25286 * resolv/ns_name.c: Likewise.
25287 * resolv/ns_samedomain.c: Likewise.
25288 * resolv/res_send.c: Likewise.
25289 * stdlib/random.c: Likewise.
25290 * sunrpc/rpc/xdr.h: Likewise.
25291 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25292 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25293 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25299 * sysdeps/mach/hurd/check_fds.c: Likewise.
25300 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25301 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25303 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25304 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25305 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25306 * sysdeps/pthread/aio_notify.c: Likewise.
25307 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25308 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25309 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25311 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25312
25313 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25314
25315 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25316 version if bit_Slow_SSE4_2 is set.
25317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25318 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25319
25320 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25321
25322 [BZ #15867]
25323 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25324 trampoline stack frame information.
25325 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25327 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25328 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25329 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25330 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25331 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25332 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25333 sa_flags value.
25334 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25335 interrupting a syscall and set with option SA_SIGINFO.
25336
25337 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25338
25339 [BZ #15531]
25340 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25341 argument is infinite.
25342 * math/s_cprojf.c (__cprojf): Likewise.
25343 * math/s_cprojl.c (__cprojl): Likewise.
25344 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25345 * math/libm-test.inc (cproj_test_data): Add more tests.
25346
25347 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25348
25349 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25350 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25351 size. Use __ffs to determine corresponding shift.
25352
25353 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25354 Roland McGrath <roland@hack.frob.com>
25355
25356 * Makefile (INSTALL): Remove trailing blank lines from output of
25357 makeinfo.
25358
25359 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25360
25361 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25362 Align 32 bit compat elf_greg to 8 bytes.
25363
25364 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25365
25366 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25367
25368 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25369
25370 * string/strcoll_l.c (coll_seq): New structure.
25371 (get_next_seq_cached): New function.
25372 (get_next_seq): New function.
25373 (do_compare): New function.
25374 (STRCOLL): Use GNU style definition. Simplify implementation
25375 by using get_next_seq, get_next_seq_cached and do_compare.
25376
25377 2013-08-16 Florian Weimer <fweimer@redhat.com>
25378
25379 [BZ #14699]
25380 CVE-2013-4237
25381 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25382 member.
25383 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25384 member.
25385 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25386 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25387 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25388 conditional.
25389 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25390 GETDENTS_64BIT_ALIGNED.
25391 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25392 * manual/filesys.texi (Reading/Closing Directory): Document
25393 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25394 strongly.
25395 * manual/conf.texi (Limits for Files): Add portability note to
25396 NAME_MAX, PATH_MAX.
25397 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25398
25399 2013-08-13 Andreas Schwab <schwab@suse.de>
25400
25401 [BZ #15749]
25402 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25403 of fabs.
25404 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25405 LDBL_MAX_EXP >= 16384]: Add tests for it.
25406
25407 2013-08-12 David S. Miller <davem@davemloft.net>
25408
25409 * version.h (RELEASE): Set to "development".
25410 (VERSION): Set to "2.18.90".
25411 * NEWS: Add 2.19 section.
25412
25413 2013-08-03 David S. Miller <davem@davemloft.net>
25414
25415 * po/ko.po: Update Korean translation from translation project.
25416
25417 2013-08-01 David S. Miller <davem@davemloft.net>
25418
25419 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25420 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25421 Bilka.
25422
25423 2013-07-30 David S. Miller <davem@davemloft.net>
25424
25425 * po/fr.po: Update French translation from translation project.
25426
25427 2013-07-28 David S. Miller <davem@davemloft.net>
25428
25429 * po/cs.po: Update Czech translation from translation project.
25430
25431 * po/sv.po: Update Swedish translation from translation project.
25432
25433 2013-07-27 David S. Miller <davem@davemloft.net>
25434
25435 * po/eo.po: Update Esperanto translation from translation project.
25436
25437 * po/vi.po: Update Vietnamese translation from translation project.
25438
25439 * po/de.po: Update German translation from translation project.
25440
25441 2013-07-26 David S. Miller <davem@davemloft.net>
25442
25443 * po/bg.po: Update Bulgarian translation from translation project.
25444
25445 * po/nl.po: Update Dutch translation from translation project.
25446 * po/pl.po: Update Polish translation from translation project.
25447 * po/ru.po: Update Russian translation from translation project.
25448
25449 2013-07-24 David S. Miller <davem@davemloft.net>
25450
25451 * po/libc.pot: Update.
25452
25453 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25454
25455 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25456 variable page size.
25457 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25458 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25459 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25460
25461 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25462
25463 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25464
25465 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25466 Andreas Schwab <schwab@suse.de>
25467 Roland McGrath <roland@hack.frob.com>
25468 Joseph Myers <joseph@codesourcery.com>
25469 Carlos O'Donell <carlos@redhat.com>
25470
25471 [BZ #15755]
25472 * config.h.in: Define HAVE_PT_CHOWN.
25473 * config.make.in (build-pt-chown): New variable.
25474 * configure.in (--enable-pt_chown): New configure option.
25475 * configure: Regenerate.
25476 * login/Makefile: Include Makeconfig. Build pt_chown only if
25477 build-pt-chown is enabled.
25478 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25479 pt_chown to fix pty ownership.
25480 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25481 CLOSE_ALL_FDS.
25482 * manual/install.texi (Configuring and compiling): Mention
25483 --enable-pt_chown. Add @findex for grantpt.
25484 * INSTALL: Regenerate.
25485
25486 2013-07-20 David S. Miller <davem@davemloft.net>
25487
25488 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25489 difference between 32-bit and 64-bit.
25490
25491 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25492
25493 [BZ #15711]
25494 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25495 Avoid system header dependency with -ffreestanding.
25496 ($(objpfx)bits/syscall%d): Likewise.
25497
25498 2013-07-13 David S. Miller <davem@davemloft.net>
25499
25500 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25501 underflows from atanl/atan2l due to bug 15319.
25502 (casinh_test_data): Likewise.
25503
25504 2013-07-07 David S. Miller <davem@davemloft.net>
25505
25506 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25507
25508 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25509
25510 * sysdeps/i386/fpu/libm-test-ulps: Update.
25511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25512
25513 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25514
25515 * configure.in (--enable-lock-elision): Fix message text.
25516 * INSTALL: Regenerate.
25517 * configure: Regenerate.
25518
25519 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25520
25521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25522
25523 2013-07-03 Andreas Jaeger <aj@suse.de>
25524
25525 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25526 define.
25527 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25528 (ptrace_peeksiginfo_args): Add.
25529 (__ptrace_peeksiginfo_flags): Add.
25530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25531 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25532 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25533
25534 2013-07-03 Allan McRae <allan@archlinux.org>
25535
25536 * sysdeps/i386/fpu/libm-test-ulps: Update.
25537
25538 2013-07-02 David S. Miller <davem@davemloft.net>
25539
25540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25541
25542 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25543
25544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25545
25546 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25547
25548 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25550
25551 2013-07-02 Andi Kleen <ak@linux.intel.com>
25552
25553 * config.h.in (ENABLE_LOCK_ELISION): Add.
25554 * configure.in (--enable-lock-elision): Add option.
25555 * manual/install.texi: Document --enable lock elision.
25556 * configure: Regenerate
25557 * INSTALL: Regenerate.
25558
25559 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25560
25561 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25562 SSE4.2 strcasecmp for libc.a.
25563 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25564
25565 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25566
25567 [BZ #13304]
25568 * soft-fp/op-common.h (_FP_FMA): New macro.
25569 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25570 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25571 (_FP_MUL_MEAT_1_imm): ... here.
25572 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25573 (_FP_MUL_MEAT_1_wide): ... here.
25574 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25575 (_FP_MUL_MEAT_1_hard): ... here.
25576 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25577 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25578 (_FP_MUL_MEAT_2_wide): ... here.
25579 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25580 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25581 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25582 (_FP_MUL_MEAT_2_gmp): ... here.
25583 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25584 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25585 (_FP_MUL_MEAT_4_wide): ... here.
25586 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25587 (_FP_MUL_MEAT_4_gmp): ... here.
25588 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25589 (_FP_WFRACBITS_DW_S): Likewise.
25590 (_FP_WFRACXBITS_DW_S): Likewise.
25591 (_FP_HIGHBIT_DW_S): Likewise.
25592 (FP_FMA_S): Likewise.
25593 (_FP_FRAC_HIGH_DW_S): Likewise.
25594 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25595 (_FP_WFRACBITS_DW_D): Likewise.
25596 (_FP_WFRACXBITS_DW_D): Likewise.
25597 (_FP_HIGHBIT_DW_D): Likewise.
25598 (FP_FMA_D): Likewise.
25599 (_FP_FRAC_HIGH_DW_D): Likewise.
25600 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25601 (_FP_WFRACBITS_DW_E): Likewise.
25602 (_FP_WFRACXBITS_DW_E): Likewise.
25603 (_FP_HIGHBIT_DW_E): Likewise.
25604 (FP_FMA_E): Likewise.
25605 (_FP_FRAC_HIGH_DW_E): Likewise.
25606 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25607 (_FP_WFRACBITS_DW_Q): Likewise.
25608 (_FP_WFRACXBITS_DW_Q): Likewise.
25609 (_FP_HIGHBIT_DW_Q): Likewise.
25610 (FP_FMA_Q): Likewise.
25611 (_FP_FRAC_HIGH_DW_Q): Likewise.
25612 * soft-fp/fmasf4.c: New file.
25613 * soft-fp/fmadf4.c: Likewise.
25614 * soft-fp/fmatf4.c: Likewise.
25615
25616 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25617
25618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25619 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25620 Silvermont.
25621 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25622 macro.
25623 (index_Slow_SSE4_2): Likewise.
25624 (index_Prefer_PMINUB_for_stringop): Likewise.
25625 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25626 bit_Slow_SSE4_2 is set.
25627 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25629
25630 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25631
25632 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25633 rtld_global._dl_hwcap2.
25634 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25635 POWER8.
25636 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25637 POWER8 feature descriptions defined in _dl_hwcap2.
25638 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25639 string handling for POWER8 feature bits.
25640 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25641 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25642 _dl_powerpc_cap_flags.
25643 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25644 * sysdeps/powerpc/rtld-global-offsets.sym
25645 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25646 _dl_hwcap2 in the rtld_global_ro structure.
25647
25648 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25649
25650 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25651 hardware capabilities in support of AT_HWCAP2.
25652 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25653 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25654 GLRO(dl_hwcap2).
25655 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25656 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25657 explicitly the unknown a_type display mechanism is used.
25658 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25659 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25660 struct member.
25661 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25662 to macro prototype for AT_HWCAP2 support.
25663 * sysdeps/i386/dl-procinfo.h: Likewise.
25664 * sysdeps/s390/dl-procinfo.h: Likewise.
25665 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25666 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25667 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25668 return -1 for unknown a_type display fallback.
25669 * sysdeps/sparc/dl-procinfo.h: Likewise.
25670 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25671 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25672
25673 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25674
25675 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25676 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25677
25678 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25679
25680 [BZ #12492]
25681 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25682 mprotect making __stack_prot writable.
25683
25684 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25685 Joseph Myers <joseph@codesourcery.com>
25686
25687 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25688 as being properly aligned.
25689
25690 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25691
25692 * dlfcn/modstatic5.c: New file.
25693 * dlfcn/tststatic5.c: New file.
25694 * dlfcn/Makefile (tests): Add tststatic5.
25695 (tests-static): Likewise.
25696 (modules-names): Add modstatic5.
25697 (tststatic5-ENV): New variable.
25698 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25699
25700 [BZ #15022]
25701 * elf/dl-support.c (_dl_main_map): New variable.
25702 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25703 (_dl_nns, _dl_load_adds): Set to 1.
25704 (_dl_initial_searchlist): Refer to _dl_main_map.
25705 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25706 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25707 call to _dl_get_origin.
25708 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25709 around call_map.
25710 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25711 * dlfcn/modstatic3.c: New file.
25712 * dlfcn/tststatic3.c: New file.
25713 * dlfcn/tststatic4.c: New file.
25714 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25715 (tests-static): Likewise.
25716 (modules-names): Add modstatic3.
25717 (tststatic3-ENV, tststatic4-ENV): New variables.
25718 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25719 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25720
25721 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25722
25723 * configure.in (CC): Require GCC version 4.4 or later.
25724 * configure: Regenerated.
25725 * manual/install.texi (Tools for Compilation): Update GCC version
25726 requirement.
25727 * INSTALL: Regenerated.
25728
25729 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25730
25731 [BZ #15674]
25732 * string/test-memcmp.c (check2): New.
25733 (main): Call check2.
25734
25735 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25736
25737 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25738
25739 [BZ #15022]
25740 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25741 over to...
25742 (dl_open_worker) [!SHARED]: ... here.
25743
25744 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25745
25746 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25747
25748 2013-06-25 Richard Henderson <rth@redhat.com>
25749
25750 * locale/programs/locarchive.c: Include <libc-internal.h>
25751
25752 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25753
25754 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25755 trailing whitespace removed.
25756
25757 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25758
25759 [BZ #10283]
25760 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25761 * locale/programs/locarchive.c: Include libc-mmap.h.
25762 (prepare_address_space): Take two new outputs (the mmap base and len).
25763 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25764 values.
25765 (create_archive): Declare new mmap base and len values for
25766 prepare_address_space, and store the result in ah.
25767 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25768 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25769 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25770 Declare new mmap base and len values for
25771 prepare_address_space, and store the result in new_ah.
25772 (open_archive): Declare new mmap base and len values for
25773 prepare_address_space, and store the result in ah.
25774 (close_archive): If ah->mmap_base is not NULL, use that and
25775 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25776 * sysdeps/generic/libc-mmap.h: New file.
25777
25778 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25779
25780 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25781 (ALIGN_UP): Likewise.
25782 (PTR_ALIGN_DOWN): Likewise.
25783 (PTR_ALIGN_UP): Likewise.
25784
25785 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25786
25787 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25788 entry mapped to PPC_PLATFORM_POWER8.
25789 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25790 POWER8.
25791 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25792 (_dl_string_platform): Add case for exporting platform position for
25793 POWER8.
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25795 search path to sysdeps/powerpc/powerpc32/power8 directory.
25796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25797 search path to sysdeps/powerpc/powerpc64/power8 directory.
25798 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25799 power7 directories.
25800 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25801 power7 directories.
25802
25803 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25804
25805 * INSTALL: Regenerate.
25806
25807 * nscd/connections.c (nscd_init): Fix comment.
25808
25809 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25810
25811 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25812
25813 [BZ #15667]
25814 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25815 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25816
25817 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25818
25819 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25820 DL_DST_REQ_STATIC.
25821 (DL_DST_REQ_STATIC): Remove macro.
25822
25823 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25824
25825 [BZ #7006]
25826 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25827 with a shift of 0 bits.
25828
25829 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25830
25831 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25832 $(tststatic-ENV).
25833
25834 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25835
25836 [BZ #15655]
25837 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25838
25839 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25840
25841 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25842 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25843 accepts -fno-tree-loop-distribute-patterns.
25844 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25845 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25846 recursive call.
25847 * string/memset.c (memset): Likewise.
25848 * string/test-memmove.c (simple_memmove): Disable loop transformation
25849 to library calls.
25850 * string/test-memset.c (simple_memset): Likewise.
25851 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25852 * benchtests/bench-memset.c (simple_memset): Likewise.
25853 * configure: Regenerated.
25854
25855 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25856
25857 * math/test-misc.c (main): Ignore fesetround failure when failures
25858 of subsequent rounding tests would be ignored.
25859
25860 [BZ #15654]
25861 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25862 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25863 * math/fegetenv.c (__fegetenv): Return 0.
25864 * math/fegetexcept.c (fegetexcept): Return 0.
25865 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25866 FE_TONEAREST.
25867 * math/feholdexcpt.c (feholdexcept): Return 0.
25868 * math/fesetenv.c (__fesetenv): Return 0.
25869 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25870 argument FE_TONEAREST.
25871 * math/feupdateenv.c (__feupdateenv): Return 0.
25872 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25873
25874 2013-06-18 Roland McGrath <roland@hack.frob.com>
25875
25876 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25877 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25878 ($(objpfx)rtld-%.os rules): Use them.
25879
25880 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25881
25882 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25883 fields.
25884
25885 2013-06-17 Roland McGrath <roland@hack.frob.com>
25886
25887 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25888 length of target pattern, then descending length of dependency pattern.
25889 * configure.in (AWK): Require gawk 3.1.2 or newer.
25890 * manual/install.texi (Tools for Compilation): Say that we do.
25891 * configure: Regenerated.
25892
25893 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25894 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25895 * scripts/sysd-rules.awk: ... this new script.
25896 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25897 than a glob-style pattern.
25898
25899 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25900
25901 * math/test-misc.c (main): Do not treat incorrectly rounded
25902 conversions as failure unless ROUNDING_TESTS passes.
25903
25904 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25905
25906 [BZ #15631]
25907 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25908 restore exception state around main square root computation, then
25909 check for inexactness explicitly.
25910
25911 * math/libm-test.inc (fma_test_data): Add another test.
25912
25913 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25914
25915 * manual/threads.texi (Non-POSIX Extensions): New document
25916 node. Document pthread_getattr_default_np and
25917 pthread_setattr_default_np.
25918
25919 * Versions.def (libpthread): Add GLIBC_2.18.
25920 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25922 Likewise.
25923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25924 Likewise.
25925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25926 Likewise.
25927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25928 Likewise.
25929 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25930 Likewise.
25931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25932 Likewise.
25933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25934 Likewise.
25935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25936 Likewise.
25937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25938 Likewise.
25939
25940 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25941
25942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25943 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25944
25945 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25946 H.J. Lu <hjl.tools@gmail.com>
25947
25948 [BZ #15627]
25949 * sysdeps/x86_64/rtld-memset.c: Remove file.
25950 * sysdeps/x86_64/rtld-memset.S: New file.
25951
25952 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25953
25954 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25955 (test_in_one_mode): Take arguments for whether the rounding mode
25956 is supported for each floating-point type.
25957 (do_test): Pass new arguments to test_in_one_mode using
25958 ROUNDING_TESTS.
25959
25960 2013-06-13 Roland McGrath <roland@hack.frob.com>
25961
25962 * posix/tst-waitid.c (do_test): Distinguish different instances of
25963 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25964 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25965 before entering the kernel for waitpid.
25966
25967 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25968
25969 * NEWS: Fix note on clock function precision. Text by Roland
25970 McGrath.
25971
25972 2013-06-13 Roland McGrath <roland@hack.frob.com>
25973
25974 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25975 it into place only when and if the sanity check passes.
25976
25977 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25978
25979 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25980 output for whether conversion result is exact. Take argument
25981 indicating whether type is IBM long double.
25982 (round_for_all): Change need_exact field to ibm_ld.
25983 * stdlib/tst-strtod-round.c (struct exactness): New type.
25984 (struct test): Change bool ld_ok field to struct exactness exact.
25985 (TEST): Update all definitions for change to field.
25986 (tests): Regenerate array contents.
25987 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25988 field value. Check for IBM long double here.
25989 (do_test): Update calls to test_in_one_mode.
25990
25991 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25992
25993 [BZ #12515]
25994 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25995 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25996
25997 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25998
25999 [BZ #15605]
26000 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26001 generated by the compiler on loop optimizations.
26002 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26003 general definitions.
26004
26005 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26006
26007 * math/bug-nextafter.c: Include <math-tests.h>.
26008 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26009 the relevant type.
26010 * math/bug-nexttoward.c: Include <math-tests.h>.
26011 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26012 the relevant type.
26013 * math/test-misc.c: Include <math-tests.h>.
26014 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26015 the relevant type.
26016
26017 2013-06-12 Andreas Jaeger <aj@suse.de>
26018
26019 * po/ia.po: Update Interlingua translation from translation
26020 project.
26021
26022 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26023
26024 * include/fenv.h: Include stdbool.h.
26025 (struct rm_ctx): New structure.
26026 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26027 Define macro.
26028 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26029 (SET_RESTORE_ROUNDF): Likewise.
26030 (SET_RESTORE_ROUNDL): Likewise.
26031 (SET_RESTORE_ROUND_NOEX): Likewise.
26032 (SET_RESTORE_ROUND_NOEXF): Likewise.
26033 (SET_RESTORE_ROUND_NOEXL): Likewise.
26034 (SET_RESTORE_ROUND_53BIT): Likewise.
26035 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26036 (libc_feresetround_noexf_ctx): Likewise.
26037 (libc_feresetround_noexl_ctx): Likewise.
26038 (libc_feholdsetround_53bit_ctx): Likewise.
26039 (libc_feresetround_53bit_ctx): Likewise.
26040 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26041 (libc_feholdexcept_setround_sse_ctx): New function.
26042 (libc_fesetenv_sse_ctx): Likewise.
26043 (libc_feupdateenv_sse_ctx): Likewise.
26044 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26045 (libc_feholdexcept_setround_387_ctx): Likewise.
26046 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26047 (libc_feholdsetround_387_prec_ctx): Likewise.
26048 (libc_feholdsetround_387_ctx): Likewise.
26049 (libc_feholdsetround_387_53bit_ctx): Likewise.
26050 (libc_feholdsetround_sse_ctx): Likewise.
26051 (libc_feresetround_sse_ctx): Likewise.
26052 (libc_feresetround_387_ctx): Likewise.
26053 (libc_feupdateenv_387_ctx): Likewise.
26054 (libc_feholdexcept_setroundf_ctx): Define macro.
26055 (libc_fesetenvf_ctx): Likewise.
26056 (libc_feupdateenvf_ctx): Likewise.
26057 (libc_feholdsetroundf_ctx): Likewise.
26058 (libc_feresetroundf_ctx): Likewise.
26059 (libc_feholdexcept_setround_ctx): Likewise.
26060 (libc_fesetenv_ctx): Likewise.
26061 (libc_feupdateenv_ctx): Likewise.
26062 (libc_feholdsetround_ctx): Likewise.
26063 (libc_feresetround_ctx): Likewise.
26064 (libc_feholdexcept_setroundl_ctx): Likewise.
26065 (libc_feupdateenvl_ctx): Likewise.
26066 (libc_feholdsetroundl_ctx): Likewise.
26067 (libc_feresetroundl_ctx): Likewise.
26068 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26069 (libc_feresetround_53bit_ctx): Likewise.
26070
26071 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26072
26073 * locale/iso-639.def: Convert to UTF-8.
26074
26075 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26076
26077 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26078 (EXCEPTION_TESTS_double): Likewise.
26079 (EXCEPTION_TESTS_long_double): Likewise.
26080 (EXCEPTION_TESTS): Likewise.
26081 * math/libm-test.inc (test_exceptions): Only test exceptions if
26082 EXCEPTION_TESTS (FLOAT).
26083
26084 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26085
26086 * benchtests/Makefile (string-bench): Add strcpy_chk and
26087 stpcpy_chk.
26088 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26089 * benchtests/bench-stpcpy_chk.c: New file.
26090 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26091 * benchtests/bench-strcpy_chk.c: New file.
26092 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26093 code.
26094 (do_test): Likewise.
26095
26096 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26097
26098 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26099 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26100 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26101 with tabs where appropriate.
26102 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26103 dl-procinfo.h.
26104 [PPC_PLATFORM_PPC440]: Likewise.
26105 [PPC_PLATFORM_PPC464]: Likewise.
26106 [PPC_PLATFORM_PPC476]: Likewise.
26107 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26108 ppc464, and ppc476 platform strings merging from ports/
26109 dl-procinfo.h.
26110
26111 2013-06-11 Andreas Schwab <schwab@suse.de>
26112
26113 [BZ #14991]
26114 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26115 (from_ucs4_idx): Regenerate.
26116 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26117 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26118 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26119 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26120 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26121 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26122 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26123 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26124 from FROM_LOOP and TO_LOOP specific macros.
26125 (BODY): Handle combining characters.
26126 * iconvdata/BIG5HKSCS.irreversible: Update.
26127 * iconvdata/BIG5HKSCS.precomposed: New file.
26128 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26129 characters.
26130 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26131
26132 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26133
26134 * include/sys/time.h: Fix indentation and add copyright header.
26135
26136 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26137 (do_test): Likewise.
26138 * string/test-memchr.c (do_one_test): Likewise.
26139 (do_test): Likewise.
26140 * string/test-memcmp.c (do_one_test): Likewise.
26141 (do_test): Likewise.
26142 * string/test-memcpy.c (do_one_test): Likewise.
26143 (do_test): Likewise.
26144 * string/test-memmem.c (do_one_test): Likewise.
26145 (do_test): Likewise.
26146 (do_random_tests): Likewise.
26147 * string/test-memmove.c (do_one_test): Likewise.
26148 (do_test): Likewise.
26149 * string/test-memset.c (do_one_test): Likewise.
26150 (do_test): Likewise.
26151 * string/test-rawmemchr.c (do_one_test): Likewise.
26152 (do_test): Likewise.
26153 * string/test-strcasecmp.c (do_one_test): Likewise.
26154 (do_test): Likewise.
26155 * string/test-strcasestr.c (do_one_test): Likewise.
26156 (do_test): Likewise.
26157 * string/test-strcat.c (do_one_test): Likewise.
26158 (do_test): Likewise.
26159 * string/test-strchr.c (do_one_test): Likewise.
26160 (do_test): Likewise.
26161 * string/test-strcmp.c (do_one_test): Likewise.
26162 (do_test): Likewise.
26163 * string/test-strcpy.c (do_one_test): Likewise.
26164 (do_test): Likewise.
26165 * string/test-string.h: Likewise.
26166 (test_init): Likewise.
26167 * string/test-strlen.c (do_one_test): Likewise.
26168 (do_test): Likewise.
26169 * string/test-strncasecmp.c (do_one_test): Likewise.
26170 (do_test): Likewise.
26171 * string/test-strncat.c (do_one_test): Likewise.
26172 (do_test): Likewise.
26173 * string/test-strncmp.c (do_one_test): Likewise.
26174 (do_test_limit): Likewise.
26175 (do_test): Likewise.
26176 * string/test-strncpy.c (do_one_test): Likewise.
26177 (do_test): Likewise.
26178 * string/test-strnlen.c (do_one_test): Likewise.
26179 (do_test): Likewise.
26180 * string/test-strpbrk.c (do_one_test): Likewise.
26181 (do_test): Likewise.
26182 * string/test-strrchr.c (do_one_test): Likewise.
26183 (do_test): Likewise.
26184 * string/test-strspn.c (do_one_test): Likewise.
26185 (do_test): Likewise.
26186 * string/test-strstr.c (do_one_test): Likewise.
26187 (do_test): Likewise.
26188
26189 * benchtests/Makefile (string-bench): Add string benchmarks.
26190 * benchtests/bench-bcopy-ifunc.c: New file.
26191 * benchtests/bench-bcopy.c: New file.
26192 * benchtests/bench-bzero-ifunc.c: New file.
26193 * benchtests/bench-bzero.c: New file.
26194 * benchtests/bench-memccpy-ifunc.c: New file.
26195 * benchtests/bench-memccpy.c: New file.
26196 * benchtests/bench-memchr-ifunc.c: New file.
26197 * benchtests/bench-memchr.c: New file.
26198 * benchtests/bench-memcmp-ifunc.c: New file.
26199 * benchtests/bench-memcmp.c: New file.
26200 * benchtests/bench-memmem-ifunc.c: New file.
26201 * benchtests/bench-memmem.c: New file.
26202 * benchtests/bench-memmove-ifunc.c: New file.
26203 * benchtests/bench-memmove.c: New file.
26204 * benchtests/bench-mempcpy-ifunc.c: New file.
26205 * benchtests/bench-mempcpy.c: New file.
26206 * benchtests/bench-memset-ifunc.c: New file.
26207 * benchtests/bench-memset.c: New file.
26208 * benchtests/bench-rawmemchr-ifunc.c: New file.
26209 * benchtests/bench-rawmemchr.c: New file.
26210 * benchtests/bench-stpcpy-ifunc.c: New file.
26211 * benchtests/bench-stpcpy.c: New file.
26212 * benchtests/bench-stpncpy-ifunc.c: New file.
26213 * benchtests/bench-stpncpy.c: New file.
26214 * benchtests/bench-strcasecmp-ifunc.c: New file.
26215 * benchtests/bench-strcasecmp.c: New file.
26216 * benchtests/bench-strcasestr-ifunc.c: New file.
26217 * benchtests/bench-strcasestr.c: New file.
26218 * benchtests/bench-strcat-ifunc.c: New file.
26219 * benchtests/bench-strcat.c: New file.
26220 * benchtests/bench-strchr-ifunc.c: New file.
26221 * benchtests/bench-strchr.c: New file.
26222 * benchtests/bench-strchrnul-ifunc.c: New file.
26223 * benchtests/bench-strchrnul.c: New file.
26224 * benchtests/bench-strcmp-ifunc.c: New file.
26225 * benchtests/bench-strcmp.c: New file.
26226 * benchtests/bench-strcpy-ifunc.c: New file.
26227 * benchtests/bench-strcpy.c: New file.
26228 * benchtests/bench-strcspn-ifunc.c: New file.
26229 * benchtests/bench-strcspn.c: New file.
26230 * benchtests/bench-strlen-ifunc.c: New file.
26231 * benchtests/bench-strlen.c: New file.
26232 * benchtests/bench-strncasecmp-ifunc.c: New file.
26233 * benchtests/bench-strncasecmp.c: New file.
26234 * benchtests/bench-strncat-ifunc.c: New file.
26235 * benchtests/bench-strncat.c: New file.
26236 * benchtests/bench-strncmp-ifunc.c: New file.
26237 * benchtests/bench-strncmp.c: New file.
26238 * benchtests/bench-strncpy-ifunc.c: New file.
26239 * benchtests/bench-strncpy.c: New file.
26240 * benchtests/bench-strnlen-ifunc.c: New file.
26241 * benchtests/bench-strnlen.c: New file.
26242 * benchtests/bench-strpbrk-ifunc.c: New file.
26243 * benchtests/bench-strpbrk.c: New file.
26244 * benchtests/bench-strrchr-ifunc.c: New file.
26245 * benchtests/bench-strrchr.c: New file.
26246 * benchtests/bench-strspn-ifunc.c: New file.
26247 * benchtests/bench-strspn.c: New file.
26248 * benchtests/bench-strstr-ifunc.c: New file.
26249 * benchtests/bench-strstr.c: New file.
26250
26251 * benchtests/Makefile: Disable parallel execution of targets.
26252 (string-bench): Add memcpy.
26253 (benchset): New variable to store a list of benchmark sets.
26254 (bench-func): Renamed from bench.
26255 (bench-set): New target.
26256 (bench): Depend on bench-func and bench-set.
26257 * benchtests/README: Add section on benchmark sets.
26258 * benchtests/bench-memcpy-ifunc.c: New file.
26259 * benchtests/bench-memcpy.c: New file.
26260 * benchtests/bench-string.h: New file.
26261
26262 2013-06-11 Andreas Schwab <schwab@suse.de>
26263
26264 [BZ #15577]
26265 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26266 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26267 values in the triple.
26268 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26269 terminator in the group key.
26270
26271 2013-06-11 Andreas Jaeger <aj@suse.de>
26272
26273 * po/zh_TW.po: Update Chinese (traditional) translation from
26274 translation project.
26275
26276 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26277
26278 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26279 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26280 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26281 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26282 (clock_getcpuclockid): Likewise.
26283 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26284 Add weak_alias and libc_hidden_def.
26285 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26286 * rt/clock_gettime.c (clock_gettime): Rename to
26287 __clock_gettime. Add weak_alias and libc_hidden_def.
26288 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26289 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26290 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26291 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26292 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26293 Likewise.
26294 * rt/clock_settime.c (clock_settime): Rename to
26295 __clock_settime. Add weak_alias and libc_hidden_def.
26296 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26297
26298 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26299
26300 * mach/err_boot.sub: Remove trailing whitespace.
26301 * mach/err_ipc.sub: Likewise.
26302 * mach/err_mach.sub: Likewise.
26303
26304 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26305 (ROUNDING_TESTS_double): Likewise.
26306 (ROUNDING_TESTS_long_double): Likewise.
26307 (ROUNDING_TESTS): Likewise.
26308 * math/libm-test.inc: Include <math-tests.h>.
26309 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26310 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26311 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26312 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26313
26314 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26315
26316 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26317 of assigning.
26318
26319 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26320
26321 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26322 otherwise empty TRANS lines.
26323 * sysdeps/gnu/errlist.c: Regenerated.
26324
26325 * catgets/gencat.c (error_print): Use (void) in function
26326 definition.
26327 * crypt/crypt_util.c (__init_des): Likewise.
26328 * crypt/speeds.c (Stop): Likewise.
26329 (main): Likewise.
26330 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26331 * inet/ruserpass.c (token): Likewise.
26332 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26333 * intl/localealias.c (extend_alias_table): Likewise.
26334 * intl/plural-exp.c (init_germanic_plural): Likewise.
26335 * libio/fcloseall.c (__fcloseall): Likewise.
26336 * libio/genops.c (_IO_flush_all): Likewise.
26337 (_IO_flush_all_linebuffered): Likewise.
26338 (_IO_cleanup): Likewise.
26339 (_IO_iter_begin): Likewise.
26340 (_IO_iter_end): Likewise.
26341 (_IO_list_lock): Likewise.
26342 (_IO_list_unlock): Likewise.
26343 (_IO_list_resetlock): Likewise.
26344 * libio/getchar.c (getchar): Likewise.
26345 * libio/getchar_u.c (getchar_unlocked): Likewise.
26346 * libio/getwchar.c (getwchar): Likewise.
26347 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26348 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26349 * login/getpt.c (__getpt): Likewise.
26350 * login/tst-utmp.c (main): Likewise.
26351 * malloc/hooks.c (__malloc_check_init): Likewise.
26352 * malloc/malloc.c (__malloc_stats): Likewise.
26353 * malloc/mtrace.c (tr_break): Likewise.
26354 (mtrace): Likewise.
26355 (muntrace): Likewise.
26356 * misc/fstab.c (endfsent): Likewise.
26357 * misc/getclktck.c (__getclktck): Likewise.
26358 * misc/getdtsz.c (__getdtablesize): Likewise.
26359 * misc/gethostid.c (gethostid): Likewise.
26360 * misc/getpagesize.c (__getpagesize): Likewise.
26361 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26362 (__get_nprocs): Likewise.
26363 (__get_phys_pages): Likewise.
26364 (__get_avphys_pages): Likewise.
26365 * misc/getttyent.c (getttyent): Likewise.
26366 (setttyent): Likewise.
26367 (endttyent): Likewise.
26368 * misc/getusershell.c (getusershell): Likewise.
26369 (endusershell): Likewise.
26370 (setusershell): Likewise.
26371 (initshells): Likewise.
26372 * misc/hsearch.c (__hdestroy): Likewise.
26373 * misc/sync.c (sync): Likewise.
26374 * misc/syslog.c (closelog_internal): Likewise.
26375 (closelog): Likewise.
26376 * misc/ttyslot.c (ttyslot): Likewise.
26377 * misc/vhangup.c (vhangup): Likewise.
26378 * posix/fork.c (__fork): Likewise.
26379 * posix/getegid.c (__getegid): Likewise.
26380 * posix/geteuid.c (__geteuid): Likewise.
26381 * posix/getgid.c (__getgid): Likewise.
26382 * posix/getpid.c (__getpid): Likewise.
26383 * posix/getppid.c (__getppid): Likewise.
26384 * posix/getuid.c (__getuid): Likewise.
26385 * posix/pause.c (pause): Likewise.
26386 * posix/setpgrp.c (setpgrp): Likewise.
26387 * posix/setsid.c (__setsid): Likewise.
26388 * posix/test-vfork.c (noop): Likewise.
26389 * resolv/gethnamaddr.c (_endhtent): Likewise.
26390 (_gethtent): Likewise.
26391 (ht_endhostent): Likewise.
26392 (gethostent): Likewise.
26393 (dns_service): Likewise.
26394 * stdlib/drand48.c (drand48): Likewise.
26395 * stdlib/lrand48.c (lrand48): Likewise.
26396 * stdlib/mrand48.c (mrand48): Likewise.
26397 * stdlib/rand.c (rand): Likewise.
26398 * stdlib/random.c (__random): Likewise.
26399 * stdlib/setenv.c (clearenv): Likewise.
26400 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26401 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26402 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26403 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26404 (__get_nprocs): Likewise.
26405 (__get_phys_pages): Likewise.
26406 (__get_avphys_pages): Likewise.
26407 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26408 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26409 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26410 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26411 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26412 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26413 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26414 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26415 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26416 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26417 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26418 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26419 * sysdeps/posix/clock.c (clock): Likewise.
26420 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26421 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26422 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26423 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26424 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26425 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26426 (__get_nprocs_conf): Likewise.
26427 (__get_phys_pages): Likewise.
26428 (__get_avphys_pages): Likewise.
26429 * time/clock.c (clock): Likewise.
26430 * time/tzset.c (__tzname_max): Likewise.
26431
26432 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26433
26434 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26435 (__bswap_32): Do not use "register".
26436 * crypt/crypt.c (_ufc_doit_r): Likewise.
26437 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26438 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26439 * gmon/gmon.c (__monstartup): Likewise.
26440 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26441 * hurd/hurdmalloc.c (more_memory): Likewise.
26442 (malloc): Likewise.
26443 (free): Likewise.
26444 (realloc): Likewise.
26445 (malloc_fork_prepare): Likewise.
26446 (malloc_fork_parent): Likewise.
26447 (malloc_fork_child): Likewise.
26448 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26449 (_svcauth_des): Likewise.
26450 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26451 * inet/inet_net.c (inet_network): Likewise.
26452 * inet/inet_netof.c (inet_netof): Likewise.
26453 * inet/rcmd.c (__validuser2_sa): Likewise.
26454 * io/fts.c (fts_open): Likewise.
26455 (fts_load): Likewise.
26456 (fts_close): Likewise.
26457 (fts_read): Likewise.
26458 (fts_children): Likewise.
26459 (fts_build): Likewise.
26460 (fts_stat): Likewise.
26461 (fts_sort): Likewise.
26462 (fts_alloc): Likewise.
26463 (fts_lfree): Likewise.
26464 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26465 (_IO_file_xsgetn): Likewise.
26466 (_IO_file_xsgetn_mmap): Likewise.
26467 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26468 (_IO_cookie_write): Likewise.
26469 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26470 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26471 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26472 * malloc/obstack.c (_obstack_begin): Likewise.
26473 (_obstack_begin_1): Likewise.
26474 (_obstack_newchunk): Likewise.
26475 (_obstack_allocated_p): Likewise.
26476 (obstack_free): Likewise.
26477 (_obstack_memory_used): Likewise.
26478 * misc/getttyent.c (getttynam): Likewise.
26479 (getttyent): Likewise.
26480 (skip): Likewise.
26481 (value): Likewise.
26482 * misc/getusershell.c (initshells): Likewise.
26483 * misc/syslog.c (__vsyslog_chk): Likewise.
26484 * misc/ttyslot.c (ttyslot): Likewise.
26485 * nis/nis_hash.c (__nis_hash): Likewise.
26486 * posix/fnmatch_loop.c (FCT): Likewise.
26487 * posix/getconf.c (print_all): Likewise.
26488 (main): Likewise.
26489 * posix/getopt.c (exchange): Likewise.
26490 * posix/glob.c (globfree): Likewise.
26491 (prefix_array): Likewise.
26492 (__glob_pattern_type): Likewise.
26493 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26494 (NS_GET32): Likewise.
26495 (NS_PUT16): Likewise.
26496 (NS_PUT32): Likewise.
26497 * resolv/gethnamaddr.c (getanswer): Likewise.
26498 (gethostbyname2): Likewise.
26499 (gethostbyaddr): Likewise.
26500 (_gethtent): Likewise.
26501 (_gethtbyname2): Likewise.
26502 (_gethtbyaddr): Likewise.
26503 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26504 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26505 * resolv/res_init.c (__res_vinit): Likewise.
26506 (net_mask): Likewise.
26507 * resolv/res_mkquery.c (outchar): Likewise.
26508 (PRINT): Likewise.
26509 * stdio-common/printf_fp.c (outchar): Likewise.
26510 (PRINT): Likewise.
26511 * stdio-common/printf_fphex.c (outchar): Likewise.
26512 (PRINT): Likewise.
26513 * stdio-common/printf_size.c (outchar): Likewise.
26514 (PRINT): Likewise.
26515 * stdio-common/test_rdwr.c (main): Likewise.
26516 * stdio-common/tfformat.c (matches): Likewise.
26517 * stdio-common/vfprintf.c (outchar): Likewise.
26518 (printf_unknown): Likewise.
26519 (buffered_vfprintf): Likewise.
26520 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26521 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26522 (ReadFile): Likewise.
26523 * stdlib/qsort.c (SWAP): Likewise.
26524 (_quicksort): Likewise.
26525 * stdlib/setenv.c (__add_to_environ): Likewise.
26526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26527 * stdlib/strtol_l.c (__strtol_l): Likewise.
26528 * stdlib/tst-strtod.c (main): Likewise.
26529 * stdlib/tst-strtol.c (main): Likewise.
26530 * stdlib/tst-strtoll.c (main): Likewise.
26531 * string/bits/string2.h (__strcmp_cc): Likewise.
26532 (__strcmp_cg): Likewise.
26533 (__strcspn_c1): Likewise.
26534 (__strcspn_c2): Likewise.
26535 (__strcspn_c3): Likewise.
26536 (__strspn_c1): Likewise.
26537 (__strspn_c2): Likewise.
26538 (__strspn_c3): Likewise.
26539 (__strsep_1c): Likewise.
26540 (__strsep_2c): Likewise.
26541 (__strsep_3c): Likewise.
26542 * string/memccpy.c (__memccpy): Likewise.
26543 * string/stpcpy.c (__stpcpy): Likewise.
26544 * string/strcmp.c (strcmp): Likewise.
26545 * string/strrchr.c (strrchr): Likewise.
26546 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26547 Likewise.
26548 * sysdeps/mach/hurd/getcwd.c
26549 (_hurd_canonicalize_directory_name_internal): Likewise.
26550 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26551 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26552 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26553 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26554 Likewise, in both definitions.
26555 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26556 definitions.
26557 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26558 64] (__bswap_64): Likewise.
26559 * time/test_time.c (main): Likewise.
26560 * time/tzfile.c (__tzfile_read): Likewise.
26561 (__tzfile_compute): Likewise.
26562 * time/tzset.c (__tzset_parse_tz): Likewise.
26563 (tzset_internal): Likewise.
26564 (compute_change): Likewise.
26565 * wcsmbs/wcscat.c (__wcscat): Likewise.
26566 * wcsmbs/wcschr.c (wcschr): Likewise.
26567 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26568 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26569 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26570 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26571 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26572 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26573 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26574 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26575 * wcsmbs/wmemset.c (wmemset): Likewise.
26576
26577 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26578
26579 * scripts/config.guess: Update to version 2013-05-16.
26580 * scripts/config.sub: Update to version 2013-04-24.
26581 * scripts/install-sh: Update to version 2011-11-20.07.
26582 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26583 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26584
26585 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26586
26587 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26588 * elf/sln.c: Likewise.
26589 * hurd/hurd/ioctl.h: Likewise.
26590 * hurd/hurdmalloc.c: Likewise.
26591 * hurd/xattr.c: Likewise.
26592 * include/shlib-compat.h: Likewise.
26593 * inet/ruserpass.c: Likewise.
26594 * libio/iofgets_u.c: Likewise.
26595 * libio/iofgetws_u.c: Likewise.
26596 * locale/programs/ld-identification.c: Likewise.
26597 * locale/programs/ld-time.c: Likewise.
26598 * mach/msg-destroy.c: Likewise.
26599 * nss/nss_files/files-netgrp.c: Likewise.
26600 * resolv/res_data.c: Likewise.
26601 * soft-fp/op-1.h: Likewise.
26602 * soft-fp/op-2.h: Likewise.
26603 * soft-fp/op-4.h: Likewise.
26604 * soft-fp/op-common.h: Likewise.
26605 * stdio-common/printf_fphex.c: Likewise.
26606 * stdlib/strtod_l.c: Likewise.
26607 * sunrpc/rpc/clnt.h: Likewise.
26608 * sysdeps/generic/framestate.c: Likewise.
26609 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26610 * sysdeps/i386/bsd-setjmp.S: Likewise.
26611 * sysdeps/i386/__longjmp.S: Likewise.
26612 * sysdeps/i386/setjmp.S: Likewise.
26613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26614 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26631 * sysdeps/ieee754/support.c: Likewise.
26632 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26633 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26634 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26635 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26636 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26637 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26638 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26639 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26640 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26641 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26642 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26643 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26644 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26645 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26646 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26647 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26648 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26650
26651 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26652
26653 * posix/transbug.c: Remove executable mode.
26654
26655 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26656
26657 * crypt/speeds.c: Remove trailing whitespace.
26658 * dlfcn/default.c: Likewise.
26659 * elf/ifuncdep2.c: Likewise.
26660 * elf/ifuncmain1.c: Likewise.
26661 * elf/ifuncmain1vis.c: Likewise.
26662 * elf/testobj.h: Likewise.
26663 * elf/tst-stackguard1.c: Likewise.
26664 * gmon/sys/gmon.h: Likewise.
26665 * hurd/hurdmsg.c: Likewise.
26666 * hurd/new-fd.c: Likewise.
26667 * hurd/ports-get.c: Likewise.
26668 * iconvdata/ibm1008_420.c: Likewise.
26669 * inet/tst-getni1.c: Likewise.
26670 * inet/tst-getni2.c: Likewise.
26671 * libio/ioungetc.c: Likewise.
26672 * libio/wfiledoalloc.c: Likewise.
26673 * manual/libm-err-tab.pl: Likewise.
26674 * math/w_dremf.c: Likewise.
26675 * misc/ftruncate.c: Likewise.
26676 * posix/bug-glob2.c: Likewise.
26677 * posix/tst-pcre.c: Likewise.
26678 * posix/wait4.c: Likewise.
26679 * resolv/README: Likewise.
26680 * resolv/res_debug.h: Likewise.
26681 * resolv/tst-inet_ntop.c: Likewise.
26682 * setjmp/bug269-setjmp.c: Likewise.
26683 * soft-fp/extended.h: Likewise.
26684 * soft-fp/op-1.h: Likewise.
26685 * soft-fp/op-2.h: Likewise.
26686 * soft-fp/op-4.h: Likewise.
26687 * soft-fp/op-8.h: Likewise.
26688 * soft-fp/testit.c: Likewise.
26689 * stdio-common/bug16.c: Likewise.
26690 * stdlib/random.c: Likewise.
26691 * sunrpc/rpcsvc/rquota.x: Likewise.
26692 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26693 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26697 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26698 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26701 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26702 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26703 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26710 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26717 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26718 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26719 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26721 * sysdeps/ieee754/s_lib_version.c: Likewise.
26722 * sysdeps/mach/hurd/check_fds.c: Likewise.
26723 * sysdeps/mach/hurd/getsockname.c: Likewise.
26724 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26725 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26726 * sysdeps/powerpc/bits/link.h: Likewise.
26727 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26728 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26729 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26730 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26731 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26732 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26733 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26734 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26735 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26736 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26737 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26738 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26739 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26740 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26741 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26742 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26743 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26744 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26745 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26746 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26747 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26748 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26749 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26750 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26751 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26752 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26753 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26754 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26755 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26756 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26757 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26758 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26759 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26760 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26761 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26762 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26763 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26764 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26765 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26766 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26767 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26768 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26769 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26770 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26771 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26772 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26773 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26774 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26775 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26776 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26780 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26781 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26782 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26783 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26785 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26786 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26787 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26788 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26789 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26790 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26791 * sysdeps/powerpc/sysdep.h: Likewise.
26792 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26793 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26794 * sysdeps/sh/dl-trampoline.S: Likewise.
26795 * sysdeps/sh/memset.S: Likewise.
26796 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26797 * sysdeps/sh/strlen.S: Likewise.
26798 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26799 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26800 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26801 * sysdeps/sparc/sparc32/rem.S: Likewise.
26802 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26803 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26804 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26805 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26806 * sysdeps/sparc/sparc32/urem.S: Likewise.
26807 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26808 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26809 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26810 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26811 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26812 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26813 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26814 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26815 * sysdeps/unix/bsd/times.c: Likewise.
26816 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26817 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26821 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26822 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26823 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26824 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26825 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26826 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26827 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26828 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26829 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26830 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26831 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26832 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26833 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26834 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26835 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26836 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26837 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26838 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26839 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26840 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26841 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26842 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26843 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26844 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26845 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26846 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26847 * sysdeps/x86_64/strcspn.S: Likewise.
26848
26849 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26850
26851 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26852 generated file. Regenerate properly from gen-translit.pl.
26853 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26854 locale/C-translit.h.
26855
26856 2013-06-05 Andreas Schwab <schwab@suse.de>
26857
26858 [BZ #15100]
26859 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26860 week as 6 instead of -1.
26861 * time/tst-strptime.c (day_tests): Add test case.
26862
26863 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26864
26865 * sysdeps/generic/math_private.h
26866 (libc_feholdexcept_setround_53bit): Replace with
26867 libc_feholdsetround_53bit.
26868 (libc_feupdateenv_53bit): Replace with
26869 libc_feresetround_53bit.
26870 (SET_RESTORE_ROUND_53BIT): Adjust.
26871
26872 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26873
26874 * string/test-strchrnul.c: Add copyright header.
26875
26876 * posix/tst-getaddrinfo4.c: Increase test timeout.
26877
26878 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26879
26880 [BZ #15536]
26881 * math/libm-test.inc (MAX_EXP): Remove
26882 (MIN_EXP): Define.
26883 (ulp): Use MIN_EXP - MANT_DIG.
26884 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26885
26886 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26887
26888 * po/be.po: Revert last change.
26889 * po/zh_CN.po: Likewise.
26890 * po/header.pot: Likewise.
26891
26892 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26893
26894 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26895 link-libc-deps to empty as target-specific variable.
26896 * Makerules (link-libc-args): New variable.
26897 (libc-for-link): Likewise.
26898 (link-libc-deps): Likewise.
26899 (lib%.so): Depend on $(link-libc-deps). Link with
26900 $(link-libc-args).
26901 (build-module): Link with $(link-libc-args).
26902 (build-module-asneeded): Likewise.
26903 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26904 list of objects.
26905 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26906 target-specific variable.
26907 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26908 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26909 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26910 libc.
26911 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26912 libc and ld.so.
26913 ($(objpfx)libpcprofile.so): Likewise.
26914 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26915 libc_nonshared.a.
26916 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26917 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26918 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26919 $(link-libc-deps).
26920 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26921 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26922 * login/Makefile ($(objpfx)libutil.so): Likewise.
26923 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26924 * math/Makefile ($(objpfx)libm.so): Likewise.
26925 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26926 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26927 variable instead of depending directly on libc.
26928 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26929 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26930 $(link-libc-deps).
26931 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26932 libc.
26933 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26934 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26935 ($(objpfx)libanl.so): Likewise.
26936 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26937 ld.so.
26938 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26939 $(link-libc-deps).
26940 * sysdeps/i386/fpu/Makefile: Remove file.
26941 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26942 ($(objpfx)libm.so): Remove dependency on ld.so.
26943
26944 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26945
26946 [BZ # 15553]
26947 * nis/yp_xdr.c (XDRMAXNAME): Define.
26948 (XDRMAXRECORD): Define.
26949 (xdr_domainname): Use XDRMAXNAME.
26950 (xdr_mapname): Likewise.
26951 (xdr_peername): Likewise.
26952 (xdr_keydat): Use XDRMAXRECORD.
26953 (xdr_valdat): Likewise.
26954
26955 2013-05-30 Jeff Law <law@redhat.com>
26956
26957 [BZ #14256]
26958 * manual/errno.texi (ESTALE): Update to account for more than
26959 just NFS file systems.
26960 * sysdeps/gnu/errlist.c: Regenerated.
26961
26962 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26963
26964 [BZ #15465]
26965 * elf/Makefile (tests): Add tst-null-argv.
26966 (modules-names): Add tst-null-argv-lib.
26967 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26968 (tst-null-argv-ENV): Set environment for tst-null-argv.
26969 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26970 (RTLD_PROGNAME): New macro.
26971 * elf/tst-null-argv.c: New test case.
26972 * elf/tst-null-argv-lib.c: Library for test case.
26973 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26974 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26975 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26976 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26977 * elf/dl-init.c (call_init): Likewise.
26978 (_dl_init): Likewise.
26979 * elf/dl-load.c (print_search_path): Likewise.
26980 (_dl_map_object): Likewise.
26981 * elf/dl-lookup.c (do_lookup_x): Likewise.
26982 (add_dependency): Likewise.
26983 (_dl_lookup_symbol_x): Likewise.
26984 (_dl_debug_bindings): Likewise.
26985 * elf/dl-open.c (_dl_show_scope): Likewise.
26986 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26987 * elf/dl-version.c (match_symbol): Likewise.
26988 (_dl_check_map_versions): Likewise.
26989 * elf/rtld.c (dl_main): Likewise.
26990 (print_unresolved): Use RTLD_PROGNAME.
26991 (print_missing_version): Likewise.
26992 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26993 (elf_machine_rela): Likewise.
26994 * sysdeps/powerpc/powerpc32/dl-machine.c
26995 (__process_machine_rela): Likewise.
26996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26997 Likewise.
26998 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26999 Likewise.
27000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27001 Likewise.
27002 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27004 Likewise.
27005 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27006 Likewise.
27007 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27008
27009 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27010
27011 * po/be.po: Add descriptive title.
27012 * po/zh_CN.po: Likewise.
27013 * po/header.pot: Likewise.
27014
27015 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27016
27017 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27018 error message.
27019 (enlarge_archive): Likewise.
27020
27021 2013-05-28 Ben North <ben@redfrontdoor.org>
27022
27023 * manual/arith.texi (frexp): It is the magnitude of the return
27024 value which lies in [0.5, 1), not the return value itself.
27025
27026 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27027
27028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27029
27030 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27031
27032 * stdio-common/bug26.c (main): Correct fscanf template.
27033
27034 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27035 declare _dl_skip_args.
27036
27037 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27038 Don't declare.
27039
27040 * manual/platform.texi: Add missing @end deftypefun.
27041
27042 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27043
27044 [BZ #15529]
27045 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27046 bit of mantissa of 2^16382.
27047 * math/libm-test.inc (hypot_test_data): Add more tests.
27048
27049 * math/libm-test.inc: Add drem and pow10 to list of tested
27050 functions.
27051 (pow10_test): New function.
27052 (drem_test): Likewise.
27053 (drem_test_tonearest): Likewise.
27054 (drem_test_towardzero): Likewise.
27055 (drem_test_downward): Likewise.
27056 (drem_test_upward): Likewise.
27057 (main): Call the new functions.
27058
27059 * math/libm-test.inc (finite_test_data): Remove.
27060 (finite_test): Run tests from isfinite_test_data.
27061 (gamma_test_data): Remove.
27062 (gamma_test): Run tests from lgamma_test_data.
27063 * sysdeps/i386/fpu/libm-test-ulps: Update.
27064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27065
27066 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27067
27068 * manual/platform.texi: Add PowerPC PPR function set documentation.
27069 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27070 implementation.
27071
27072 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27073
27074 * math/libm-test.inc (MAX_EXP): Define.
27075 (ULPDIFF): Define.
27076 (ulp): New function.
27077 (check_float_internal): Use ULPDIFF.
27078 (cpow_test): Disable failing test.
27079 (check_ulp): Test ulp() implemetnation.
27080 (main): Call check_ulp before starting tests.
27081
27082 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27083
27084 * math/gen-libm-test.pl (generate_testfile): Do not handle
27085 START_DATA and END_DATA.
27086 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27087 END_DATA.
27088 (acos_tonearest_test_data): Likewise.
27089 (acos_towardzero_test_data): Likewise.
27090 (acos_downward_test_data): Likewise.
27091 (acos_upward_test_data): Likewise.
27092 (acosh_test_data): Likewise.
27093 (asin_test_data): Likewise.
27094 (asin_tonearest_test_data): Likewise.
27095 (asin_towardzero_test_data): Likewise.
27096 (asin_downward_test_data): Likewise.
27097 (asin_upward_test_data): Likewise.
27098 (asinh_test_data): Likewise.
27099 (atan_test_data): Likewise.
27100 (atanh_test_data): Likewise.
27101 (atan2_test_data): Likewise.
27102 (cabs_test_data): Likewise.
27103 (cacos_test_data): Likewise.
27104 (cacosh_test_data): Likewise.
27105 (carg_test_data): Likewise.
27106 (casin_test_data): Likewise.
27107 (casinh_test_data): Likewise.
27108 (catan_test_data): Likewise.
27109 (catanh_test_data): Likewise.
27110 (cbrt_test_data): Likewise.
27111 (ccos_test_data): Likewise.
27112 (ccosh_test_data): Likewise.
27113 (ceil_test_data): Likewise.
27114 (cexp_test_data): Likewise.
27115 (cimag_test_data): Likewise.
27116 (clog_test_data): Likewise.
27117 (clog10_test_data): Likewise.
27118 (conj_test_data): Likewise.
27119 (copysign_test_data): Likewise.
27120 (cos_test_data): Likewise.
27121 (cos_tonearest_test_data): Likewise.
27122 (cos_towardzero_test_data): Likewise.
27123 (cos_downward_test_data): Likewise.
27124 (cos_upward_test_data): Likewise.
27125 (cosh_test_data): Likewise.
27126 (cosh_tonearest_test_data): Likewise.
27127 (cosh_towardzero_test_data): Likewise.
27128 (cosh_downward_test_data): Likewise.
27129 (cosh_upward_test_data): Likewise.
27130 (cpow_test_data): Likewise.
27131 (cproj_test_data): Likewise.
27132 (creal_test_data): Likewise.
27133 (csin_test_data): Likewise.
27134 (csinh_test_data): Likewise.
27135 (csqrt_test_data): Likewise.
27136 (ctan_test_data): Likewise.
27137 (ctan_tonearest_test_data): Likewise.
27138 (ctan_towardzero_test_data): Likewise.
27139 (ctan_downward_test_data): Likewise.
27140 (ctan_upward_test_data): Likewise.
27141 (ctanh_test_data): Likewise.
27142 (ctanh_tonearest_test_data): Likewise.
27143 (ctanh_towardzero_test_data): Likewise.
27144 (ctanh_downward_test_data): Likewise.
27145 (ctanh_upward_test_data): Likewise.
27146 (erf_test_data): Likewise.
27147 (erfc_test_data): Likewise.
27148 (exp_test_data): Likewise.
27149 (exp_tonearest_test_data): Likewise.
27150 (exp_towardzero_test_data): Likewise.
27151 (exp_downward_test_data): Likewise.
27152 (exp_upward_test_data): Likewise.
27153 (exp10_test_data): Likewise.
27154 (exp2_test_data): Likewise.
27155 (expm1_test_data): Likewise.
27156 (fabs_test_data): Likewise.
27157 (fdim_test_data): Likewise.
27158 (finite_test_data): Likewise.
27159 (floor_test_data): Likewise.
27160 (fma_test_data): Likewise.
27161 (fma_towardzero_test_data): Likewise.
27162 (fma_downward_test_data): Likewise.
27163 (fma_upward_test_data): Likewise.
27164 (fmax_test_data): Likewise.
27165 (fmin_test_data): Likewise.
27166 (fmod_test_data): Likewise.
27167 (fpclassify_test_data): Likewise.
27168 (frexp_test_data): Likewise.
27169 (gamma_test_data): Likewise.
27170 (hypot_test_data): Likewise.
27171 (ilogb_test_data): Likewise.
27172 (isfinite_test_data): Likewise.
27173 (isgreater_test_data): Likewise.
27174 (isgreaterequal_test_data): Likewise.
27175 (isinf_test_data): Likewise.
27176 (isless_test_data): Likewise.
27177 (islessequal_test_data): Likewise.
27178 (islessgreater_test_data): Likewise.
27179 (isnan_test_data): Likewise.
27180 (isnormal_test_data): Likewise.
27181 (issignaling_test_data): Likewise.
27182 (isunordered_test_data): Likewise.
27183 (j0_test_data): Likewise.
27184 (j1_test_data): Likewise.
27185 (jn_test_data): Likewise.
27186 (ldexp_test_data): Likewise.
27187 (lgamma_test_data): Likewise.
27188 (lrint_test_data): Likewise.
27189 (lrint_tonearest_test_data): Likewise.
27190 (lrint_towardzero_test_data): Likewise.
27191 (lrint_downward_test_data): Likewise.
27192 (lrint_upward_test_data): Likewise.
27193 (llrint_test_data): Likewise.
27194 (llrint_tonearest_test_data): Likewise.
27195 (llrint_towardzero_test_data): Likewise.
27196 (llrint_downward_test_data): Likewise.
27197 (llrint_upward_test_data): Likewise.
27198 (log_test_data): Likewise.
27199 (log10_test_data): Likewise.
27200 (log1p_test_data): Likewise.
27201 (log2_test_data): Likewise.
27202 (logb_test_data): Likewise.
27203 (logb_downward_test_data): Likewise.
27204 (lround_test_data): Likewise.
27205 (llround_test_data): Likewise.
27206 (modf_test_data): Likewise.
27207 (nearbyint_test_data): Likewise.
27208 (nextafter_test_data): Likewise.
27209 (nexttoward_test_data): Likewise.
27210 (pow_test_data): Likewise.
27211 (pow_tonearest_test_data): Likewise.
27212 (pow_towardzero_test_data): Likewise.
27213 (pow_downward_test_data): Likewise.
27214 (pow_upward_test_data): Likewise.
27215 (remainder_test_data): Likewise.
27216 (remainder_tonearest_test_data): Likewise.
27217 (remainder_towardzero_test_data): Likewise.
27218 (remainder_downward_test_data): Likewise.
27219 (remainder_upward_test_data): Likewise.
27220 (remquo_test_data): Likewise.
27221 (rint_test_data): Likewise.
27222 (rint_tonearest_test_data): Likewise.
27223 (rint_towardzero_test_data): Likewise.
27224 (rint_downward_test_data): Likewise.
27225 (rint_upward_test_data): Likewise.
27226 (round_test_data): Likewise.
27227 (scalb_test_data): Likewise.
27228 (scalbn_test_data): Likewise.
27229 (scalbln_test_data): Likewise.
27230 (signbit_test_data): Likewise.
27231 (sin_test_data): Likewise.
27232 (sin_tonearest_test_data): Likewise.
27233 (sin_towardzero_test_data): Likewise.
27234 (sin_downward_test_data): Likewise.
27235 (sin_upward_test_data): Likewise.
27236 (sincos_test_data): Likewise.
27237 (sinh_test_data): Likewise.
27238 (sinh_tonearest_test_data): Likewise.
27239 (sinh_towardzero_test_data): Likewise.
27240 (sinh_downward_test_data): Likewise.
27241 (sinh_upward_test_data): Likewise.
27242 (sqrt_test_data): Likewise.
27243 (tan_test_data): Likewise.
27244 (tan_tonearest_test_data): Likewise.
27245 (tan_towardzero_test_data): Likewise.
27246 (tan_downward_test_data): Likewise.
27247 (tan_upward_test_data): Likewise.
27248 (tanh_test_data): Likewise.
27249 (tgamma_test_data): Likewise.
27250 (trunc_test_data): Likewise.
27251 (y0_test_data): Likewise.
27252 (y1_test_data): Likewise.
27253 (yn_test_data): Likewise.
27254 (significand_test_data): Likewise.
27255
27256 * math/gen-libm-test.pl (@functions): Remove variable.
27257 (generate_testfile): Don't handle START and END lines.
27258 * math/libm-test.inc (START): New macro.
27259 (END): Likewise.
27260 (END_COMPLEX): Likewise.
27261 (acos_test): Use END macro without arguments.
27262 (acos_test_tonearest): Likewise.
27263 (acos_test_towardzero): Likewise.
27264 (acos_test_downward): Likewise.
27265 (acos_test_upward): Likewise.
27266 (acosh_test): Likewise.
27267 (asin_test): Likewise.
27268 (asin_test_tonearest): Likewise.
27269 (asin_test_towardzero): Likewise.
27270 (asin_test_downward): Likewise.
27271 (asin_test_upward): Likewise.
27272 (asinh_test): Likewise.
27273 (atan_test): Likewise.
27274 (atanh_test): Likewise.
27275 (atan2_test): Likewise.
27276 (cabs_test): Likewise.
27277 (cacos_test): Use END_COMPLEX macro without arguments.
27278 (cacosh_test): Likewise.
27279 (carg_test): Use END macro without arguments.
27280 (casin_test): Use END_COMPLEX macro without arguments.
27281 (casinh_test): Likewise.
27282 (catan_test): Likewise.
27283 (catanh_test): Likewise.
27284 (cbrt_test): Use END macro without arguments.
27285 (ccos_test): Use END_COMPLEX macro without arguments.
27286 (ccosh_test): Likewise.
27287 (ceil_test): Use END macro without arguments.
27288 (cexp_test): Use END_COMPLEX macro without arguments.
27289 (cimag_test): Use END macro without arguments.
27290 (clog_test): Use END_COMPLEX macro without arguments.
27291 (clog10_test): Likewise.
27292 (conj_test): Likewise.
27293 (copysign_test): Use END macro without arguments.
27294 (cos_test): Likewise.
27295 (cos_test_tonearest): Likewise.
27296 (cos_test_towardzero): Likewise.
27297 (cos_test_downward): Likewise.
27298 (cos_test_upward): Likewise.
27299 (cosh_test): Likewise.
27300 (cosh_test_tonearest): Likewise.
27301 (cosh_test_towardzero): Likewise.
27302 (cosh_test_downward): Likewise.
27303 (cosh_test_upward): Likewise.
27304 (cpow_test): Use END_COMPLEX macro without arguments.
27305 (cproj_test): Likewise.
27306 (creal_test): Use END macro without arguments.
27307 (csin_test): Use END_COMPLEX macro without arguments.
27308 (csinh_test): Likewise.
27309 (csqrt_test): Likewise.
27310 (ctan_test): Likewise.
27311 (ctan_test_tonearest): Likewise.
27312 (ctan_test_towardzero): Likewise.
27313 (ctan_test_downward): Likewise.
27314 (ctan_test_upward): Likewise.
27315 (ctanh_test): Likewise.
27316 (ctanh_test_tonearest): Likewise.
27317 (ctanh_test_towardzero): Likewise.
27318 (ctanh_test_downward): Likewise.
27319 (ctanh_test_upward): Likewise.
27320 (erf_test): Use END macro without arguments.
27321 (erfc_test): Likewise.
27322 (exp_test): Likewise.
27323 (exp_test_tonearest): Likewise.
27324 (exp_test_towardzero): Likewise.
27325 (exp_test_downward): Likewise.
27326 (exp_test_upward): Likewise.
27327 (exp10_test): Likewise.
27328 (exp2_test): Likewise.
27329 (expm1_test): Likewise.
27330 (fabs_test): Likewise.
27331 (fdim_test): Likewise.
27332 (finite_test): Likewise.
27333 (floor_test): Likewise.
27334 (fma_test): Likewise.
27335 (fma_test_towardzero): Likewise.
27336 (fma_test_downward): Likewise.
27337 (fma_test_upward): Likewise.
27338 (fmax_test): Likewise.
27339 (fmin_test): Likewise.
27340 (fmod_test): Likewise.
27341 (fpclassify_test): Likewise.
27342 (frexp_test): Likewise.
27343 (gamma_test): Likewise.
27344 (hypot_test): Likewise.
27345 (ilogb_test): Likewise.
27346 (isfinite_test): Likewise.
27347 (isgreater_test): Likewise.
27348 (isgreaterequal_test): Likewise.
27349 (isinf_test): Likewise.
27350 (isless_test): Likewise.
27351 (islessequal_test): Likewise.
27352 (islessgreater_test): Likewise.
27353 (isnan_test): Likewise.
27354 (isnormal_test): Likewise.
27355 (issignaling_test): Likewise.
27356 (isunordered_test): Likewise.
27357 (j0_test): Likewise.
27358 (j1_test): Likewise.
27359 (jn_test): Likewise.
27360 (ldexp_test): Likewise.
27361 (lgamma_test): Likewise.
27362 (lrint_test): Likewise.
27363 (lrint_test_tonearest): Likewise.
27364 (lrint_test_towardzero): Likewise.
27365 (lrint_test_downward): Likewise.
27366 (lrint_test_upward): Likewise.
27367 (llrint_test): Likewise.
27368 (llrint_test_tonearest): Likewise.
27369 (llrint_test_towardzero): Likewise.
27370 (llrint_test_downward): Likewise.
27371 (llrint_test_upward): Likewise.
27372 (log_test): Likewise.
27373 (log10_test): Likewise.
27374 (log1p_test): Likewise.
27375 (log2_test): Likewise.
27376 (logb_test): Likewise.
27377 (logb_test_downward): Likewise.
27378 (lround_test): Likewise.
27379 (llround_test): Likewise.
27380 (modf_test): Likewise.
27381 (nearbyint_test): Likewise.
27382 (nextafter_test): Likewise.
27383 (nexttoward_test): Likewise.
27384 (pow_test): Likewise.
27385 (pow_test_tonearest): Likewise.
27386 (pow_test_towardzero): Likewise.
27387 (pow_test_downward): Likewise.
27388 (pow_test_upward): Likewise.
27389 (remainder_test): Likewise.
27390 (remainder_test_tonearest): Likewise.
27391 (remainder_test_towardzero): Likewise.
27392 (remainder_test_downward): Likewise.
27393 (remainder_test_upward): Likewise.
27394 (remquo_test): Likewise.
27395 (rint_test): Likewise.
27396 (rint_test_tonearest): Likewise.
27397 (rint_test_towardzero): Likewise.
27398 (rint_test_downward): Likewise.
27399 (rint_test_upward): Likewise.
27400 (round_test): Likewise.
27401 (scalb_test): Likewise.
27402 (scalbn_test): Likewise.
27403 (scalbln_test): Likewise.
27404 (signbit_test): Likewise.
27405 (sin_test): Likewise.
27406 (sin_test_tonearest): Likewise.
27407 (sin_test_towardzero): Likewise.
27408 (sin_test_downward): Likewise.
27409 (sin_test_upward): Likewise.
27410 (sincos_test): Likewise.
27411 (sinh_test): Likewise.
27412 (sinh_test_tonearest): Likewise.
27413 (sinh_test_towardzero): Likewise.
27414 (sinh_test_downward): Likewise.
27415 (sinh_test_upward): Likewise.
27416 (sqrt_test): Likewise.
27417 (tan_test): Likewise.
27418 (tan_test_tonearest): Likewise.
27419 (tan_test_towardzero): Likewise.
27420 (tan_test_downward): Likewise.
27421 (tan_test_upward): Likewise.
27422 (tanh_test): Likewise.
27423 (tgamma_test): Likewise.
27424 (trunc_test): Likewise.
27425 (y0_test): Likewise.
27426 (y1_test): Likewise.
27427 (yn_test): Likewise.
27428 (significand_test): Likewise.
27429
27430 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27431
27432 [BZ #15381]
27433 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27434
27435 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27436
27437 [BZ #14894]
27438 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27439 __ppc_mdoio and __ppc_mdoom.
27440 * manual/platform.texi: Document new functions __ppc_yield,
27441 __ppc_mdoio and __ppc_mdoom.
27442
27443 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27444
27445 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27446 (main): Mention "tls" pseudo-hwcap is legacy.
27447 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27448
27449 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27450
27451 * math/gen-libm-test.pl (parse_args): Output only string of
27452 arguments as text for test name, not full call or descriptions of
27453 tests for extra outputs.
27454 (generate_testfile): Do not pass function name to parse_args.
27455 Generate this_func variable from START.
27456 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27457 field to arg_str.
27458 (struct test_ff_f_data): Likewise.
27459 (test_ff_f_data_nexttoward): Likewise.
27460 (struct test_fi_f_data): Likewise.
27461 (struct test_fl_f_data): Likewise.
27462 (struct test_if_f_data): Likewise.
27463 (struct test_fff_f_data): Likewise.
27464 (struct test_c_f_data): Likewise.
27465 (struct test_f_f1_data): Likewise. Remove field extra_name.
27466 (struct test_fF_f1_data): Likewise.
27467 (struct test_ffI_f1_data): Likewise.
27468 (struct test_c_c_data): Rename test_name field to arg_str.
27469 (struct test_cc_c_data): Likewise.
27470 (struct test_f_i_data): Likewise.
27471 (struct test_ff_i_data): Likewise.
27472 (struct test_f_l_data): Likewise.
27473 (struct test_f_L_data): Likewise.
27474 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27475 and extra2_name.
27476 (COMMON_TEST_SETUP): New macro.
27477 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27478 (COMMON_TEST_CLEANUP): Likewise.
27479 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27480 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27481 macros.
27482 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27483 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27484 macros.
27485 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27486 (RUN_TEST_fff_f): Take argument string. Call new setup and
27487 cleanup macros.
27488 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27489 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27490 macros.
27491 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27492 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27493 macros.
27494 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27495 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27496 cleanup macros.
27497 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27498 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27499 cleanup macros.
27500 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27501 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27502 cleanup macros.
27503 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27504 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27505 macros.
27506 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27507 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27508 macros.
27509 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27510 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27511 macros.
27512 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27513 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27514 cleanup macros.
27515 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27516 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27517 cleanup macros.
27518 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27519 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27520 macros.
27521 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27522 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27523 cleanup macros.
27524 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27525 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27526 macros.
27527 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27528 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27529 macros.
27530 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27531 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27532 cleanup macros.
27533 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27534
27535 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27536
27537 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27538 to _sifields.sigfault.
27539 (si_addr_lsb): Define new macro.
27540 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27542 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27543
27544 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27545
27546 [BZ #15441]
27547 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27548 returns -1.
27549 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27550 null return -1.
27551 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27552 loading the domain.
27553
27554 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27555
27556 * math/gen-libm-test.pl (parse_args): Do not include expected
27557 result in test name.
27558 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27559 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27560 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27561 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27562 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27564
27565 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27566
27567 * benchtests/Makefile: Sort function entries.
27568
27569 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27570 tanh, asinh, acosh, atanh.
27571 * benchtests/acos-inputs: New file.
27572 * benchtests/acosh-inputs: New file.
27573 * benchtests/asin-inputs: New file.
27574 * benchtests/asinh-inputs: New file.
27575 * benchtests/atanh-inputs: New file.
27576 * benchtests/cosh-inputs: New file.
27577 * benchtests/log-inputs: New file.
27578 * benchtests/sinh-inputs: New file.
27579 * benchtests/tanh-inputs: New file.
27580
27581 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27582
27583 [BZ #15339]
27584 * posix/tst-getaddrinfo4.c: New test.
27585 * posix/Makefile (tests): Add it.
27586
27587 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27588
27589 [BZ #15339]
27590 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27591 when no services were used.
27592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27593 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27594
27595 2013-05-21 Andreas Schwab <schwab@suse.de>
27596
27597 [BZ #15014]
27598 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27599 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27600 successful.
27601 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27602 redundant variable declarations and reallocation of buffer when
27603 parsing as IPv6 address. Always set NSS status when called from
27604 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27605 buffer too small. Correct computation of needed size.
27606 * nss/Makefile (tests): Add test-digits-dots.
27607 * nss/test-digits-dots.c: New test.
27608
27609 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27610
27611 * benchtests/Makefile: Remove instructions for adding
27612 benchmark tests.
27613 * benchtests/README: New file to explain how to execute and
27614 enhance the benchmark tests.
27615
27616 2013-05-21 Andreas Schwab <schwab@suse.de>
27617
27618 [BZ #15493]
27619 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27620 * setjmp/tst-sigsetjmp.c: New test.
27621
27622 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27623
27624 * sysdeps/x86_64/memset.S (memset): New implementation.
27625 (__bzero): Likewise.
27626 (__memset_tail): New function.
27627
27628 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27629
27630 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27631 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27632 __memcpy_sse2_unaligned ifunc selection.
27633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27634 Add memcpy-sse2-unaligned.S.
27635 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27636 Add: __memcpy_sse2_unaligned.
27637
27638 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27639
27640 [BZ #15490]
27641 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27642 math_force_eval before restoring floating-point envrionment.
27643 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27644 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27645 Likewise.
27646 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27647 <math_private.h>.
27648 (__nearbyintl): Use math_force_eval before restoring
27649 floating-point environment.
27650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27651
27652 * math/gen-libm-test.pl (special_functions): Remove.
27653 (parse_args): Don't handle TEST_extra. Handle functions with no
27654 return value.
27655 * math/libm-test.inc (struct test_sincos_data): Replace with
27656 struct test_fFF_11_data.
27657 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27658 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27659 (sincos_test_data): Change element type to struct
27660 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27661 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27662 RUN_TEST_LOOP_sincos.
27663 * math/README.libm-test: Don't mention special handling of
27664 individual functions.
27665 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27668 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27669 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27671
27672 * math/gen-libm-test.pl (get_variable): Remove function.
27673 (parse_args): Don't show pointer parameters to call in test
27674 names. Use "extra output N" in test names for extra outputs
27675 rather than naming variables.
27676
27677 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27678
27679 [BZ #15488]
27680 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27681 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27682 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27683 double tests.
27684 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27685 disable.
27686 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27687 check_long_double.
27688
27689 * math/gen-libm-test.pl (@tests): Remove variable.
27690 ($count): Likewise.
27691 (new_test): Remove function.
27692 (show_exceptions): New function.
27693 (special_functions): Use show_exceptions instead of new_test.
27694 (parse_args): Likewise.
27695 (generate_testfile): Pass only function name in generated call to
27696 print_max_error or print_complex_max_error.
27697 (get_ulps): Do not handle complex tests specially.
27698 (output_test): Rename to ...
27699 (get_all_ulps_for_test): ... this. Return a string rather than
27700 printing to a file. Require ulps to be present.
27701 (output_ulps): Generate arrays rather than #defines.
27702 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27703 (struct ulp_data): New type.
27704 (BUILD_COMPLEX_ULP): Remove macro.
27705 (compare_ulp_data): New function.
27706 (find_ulps): Likewise.
27707 (find_test_ulps): Likewise.
27708 (find_function_ulps): Likewise.
27709 (find_complex_function_ulps): Likewise.
27710 (print_max_error): Determine allowed ulps using
27711 find_function_ulps.
27712 (print_complex_max_error): Determine allowed ulps using
27713 find_complex_function_ulps.
27714 (check_float_internal): Determine max ulps using find_test_ulps.
27715 (check_float): Do not take max_ulp parameter. Update call to
27716 check_float_internal.
27717 (check_complex): Likewise.
27718 (check_int): Do not take max_ulp parameter.
27719 (check_long): Likewise.
27720 (check_bool): Likewise.
27721 (check_longlong): Likewise.
27722 (struct test_f_f_data): Remove max_ulp field.
27723 (struct test_ff_f_data): Likewise.
27724 (struct test_ff_f_data_nexttoward): Likewise.
27725 (struct test_fi_f_data): Likewise.
27726 (struct test_fl_f_data): Likewise.
27727 (struct test_if_f_data): Likewise.
27728 (struct test_fff_f_data): Likewise.
27729 (struct test_c_f_data): Likewise.
27730 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27731 (struct test_fF_f1_data): Likewise.
27732 (struct test_ffI_f1_data): Likewise.
27733 (struct test_c_c_data): Remove max_ulp field.
27734 (struct test_cc_c_data): Likewise.
27735 (struct test_f_i_data): Likewise.
27736 (struct test_ff_i_data): Likewise.
27737 (struct test_f_l_data): Likewise.
27738 (struct test_f_L_data): Likewise.
27739 (struct test_sincos_data): Likewise.
27740 (RUN_TEST_f_f): Do not handle ulps.
27741 (RUN_TEST_LOOP_f_f): Likewise.
27742 (RUN_TEST_2_f): Likewise.
27743 (RUN_TEST_LOOP_2_f): Likewise.
27744 (RUN_TEST_fff_f): Likewise.
27745 (RUN_TEST_LOOP_fff_f): Likewise.
27746 (RUN_TEST_c_f): Likewise.
27747 (RUN_TEST_LOOP_c_f): Likewise.
27748 (RUN_TEST_f_f1): Likewise.
27749 (RUN_TEST_LOOP_f_f1): Likewise.
27750 (RUN_TEST_fF_f1): Likewise.
27751 (RUN_TEST_LOOP_fF_f1): Likewise.
27752 (RUN_TEST_fI_f1): Likewise.
27753 (RUN_TEST_LOOP_fI_f1): Likewise.
27754 (RUN_TEST_ffI_f1): Likewise.
27755 (RUN_TEST_LOOP_ffI_f1): Likewise.
27756 (RUN_TEST_c_c): Likewise.
27757 (RUN_TEST_LOOP_c_c): Likewise.
27758 (RUN_TEST_cc_c): Likewise.
27759 (RUN_TEST_LOOP_cc_c): Likewise.
27760 (RUN_TEST_f_i): Likewise.
27761 (RUN_TEST_LOOP_f_i): Likewise.
27762 (RUN_TEST_f_i_tg): Likewise.
27763 (RUN_TEST_LOOP_f_i_tg): Likewise.
27764 (RUN_TEST_ff_i_tg): Likewise.
27765 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27766 (RUN_TEST_f_b): Likewise.
27767 (RUN_TEST_LOOP_f_b): Likewise.
27768 (RUN_TEST_f_b_tg): Likewise.
27769 (RUN_TEST_LOOP_f_b_tg): Likewise.
27770 (RUN_TEST_f_l): Likewise.
27771 (RUN_TEST_LOOP_f_l): Likewise.
27772 (RUN_TEST_f_L): Likewise.
27773 (RUN_TEST_LOOP_f_L): Likewise.
27774 (RUN_TEST_sincos): Likewise.
27775 (RUN_TEST_LOOP_sincos): Likewise.
27776
27777 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27778
27779 [BZ #15480]
27780 [BZ #15485]
27781 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27782 main case of finite arguments, set rounding mode to FE_TONEAREST
27783 and discard exceptions.
27784 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27785 exceptions.
27786 (remainder_tonearest_test_data): New variable.
27787 (remainder_test_tonearest): New function.
27788 (remainder_towardzero_test_data): New variable.
27789 (remainder_test_towardzero): New function.
27790 (remainder_downward_test_data): New variable.
27791 (remainder_test_downward): New function.
27792 (remainder_upward_test_data): New variable.
27793 (remainder_test_upward): New function.
27794 (main): Call the new test functions.
27795
27796 * math/libm-test.inc (struct test_f_f1_data): Remove field
27797 extra_init.
27798 (struct test_fF_f1_data): Likewise.
27799 (struct test_ffI_f1_data): Likewise.
27800 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27801 based on value of EXTRA_EXPECTED.
27802 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27803 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27804 EXTRA_VAR based on value of EXTRA_EXPECTED.
27805 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27806 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27807 EXTRA_VAR based on value of EXTRA_EXPECTED.
27808 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27809 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27810 EXTRA_VAR based on value of EXTRA_EXPECTED.
27811 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27812 * math/gen-libm-test.pl (parse_args): Don't output initializers
27813 for extra output values.
27814
27815 * math/libm-test.inc (check_int): Expect result to be exactly
27816 equal to expected value and do not handle ulps.
27817 (check_long): Likewise.
27818 (check_longlong): Likewise.
27819
27820 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27821 exceptions.
27822 (cimag_test_data): Likewise.
27823 (conj_test_data): Likewise.
27824 (copysign_test_data): Likewise.
27825 (cproj_test_data): Likewise.
27826 (creal_test_data): Likewise.
27827 (fabs_test_data): Likewise.
27828 (fdim_test_data): Likewise.
27829 (finite_test_data): Likewise.
27830 (floor_test_data): Likewise.
27831 (fmax_test_data): Likewise.
27832 (fmin_test_data): Likewise.
27833 (fmod_test_data): Likewise.
27834 (fpclassify_test_data): Likewise.
27835 (frexp_test_data): Likewise.
27836 (ilogb_test_data): Likewise.
27837 (isfinite_test_data): Likewise.
27838 (isgreater_test_data): Likewise.
27839 (isgreaterequal_test_data): Likewise.
27840 (isinf_test_data): Likewise.
27841 (isless_test_data): Likewise.
27842 (islessequal_test_data): Likewise.
27843 (islessgreater_test_data): Likewise.
27844 (isnan_test_data): Likewise.
27845 (isnormal_test_data): Likewise.
27846 (issignaling_test_data): Likewise.
27847 (isunordered_test_data): Likewise.
27848 (ldexp_test_data): Likewise.
27849 (lrint_test_data): Likewise.
27850 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27851 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27852 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27853 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27854 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27855 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27856 test input.
27857 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27858 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27859 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27860 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27861 that test input.
27862 (lrint_downward_test_data): Test for "inexact" exceptions.
27863 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27864 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27865 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27866 test input.
27867 (lrint_upward_test_data): Test for "inexact" exceptions.
27868 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27869 test input.
27870 (llrint_test_data): Test for "inexact" exceptions.
27871 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27872 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27873 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27874 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27875 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27876 (llrint_downward_test_data): Test for "inexact" exceptions.
27877 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27878 (llrint_upward_test_data): Test for "inexact" exceptions.
27879 (logb_test_data): Likewise.
27880 (logb_downward_test_data): Likewise.
27881 (nextafter_test_data): Likewise.
27882 (nexttoward_test_data): Likewise.
27883 (remainder_test_data): Likewise.
27884 (remquo_test_data): Likewise.
27885 (scalbn_test_data): Likewise.
27886 (scalbln_test_data): Likewise.
27887 (signbit_test_data): Likewise.
27888 (sqrt_test_data): Likewise.
27889 (significand_test_data): Likewise.
27890
27891 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27892
27893 [BZ #15424]
27894 * benchtests/bench-modf.c (struct args): Mark arg0 as
27895 volatile.
27896 * scripts/bench.pl: Mark members of struct args as volatile.
27897
27898 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27899
27900 [BZ # 15497]
27901 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27902 negative infinity on POWER6 or lower.
27903 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27904
27905 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27906
27907 [BZ #15442]
27908 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27909 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27910 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27911 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27912 (_FP_SETQNAN): New macro.
27913 (_FP_SETQNAN_SEMIRAW): Likewise.
27914 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27915 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27916 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27917 (FP_EXTEND): Use _FP_FRAC_SNANP.
27918 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27919 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27920 into account.
27921 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27922 New macro.
27923 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27924 Likewise.
27925
27926 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27927
27928 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27929 with DIVIDE_BY_ZERO_EXCEPTION.
27930 (gamma_test_data): Likewise.
27931 (lgamma_test_data): Likewise.
27932 (log_test_data): Likewise.
27933 (log10_test_data): Likewise.
27934 (log2_test_data): Likewise.
27935 (tgamma_test_data): Likewise.
27936
27937 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27938 (acos_test_tonearest): Likewise.
27939 (acos_test_towardzero): Likewise.
27940 (acos_test_downward): Likewise.
27941 (acos_test_upward): Likewise.
27942 (acosh_test): Likewise.
27943 (asin_test): Likewise.
27944 (asin_test_tonearest): Likewise.
27945 (asin_test_towardzero): Likewise.
27946 (asin_test_downward): Likewise.
27947 (asin_test_upward): Likewise.
27948 (asinh_test): Likewise.
27949 (atan_test): Likewise.
27950 (atanh_test): Likewise.
27951 (atan2_test): Likewise.
27952 (cabs_test): Likewise.
27953 (cacos_test): Likewise.
27954 (cacosh_test): Likewise.
27955 (casin_test): Likewise.
27956 (casinh_test): Likewise.
27957 (catan_test): Likewise.
27958 (catanh_test): Likewise.
27959 (cbrt_test): Likewise.
27960 (ccos_test): Likewise.
27961 (ccosh_test): Likewise.
27962 (cexp_test): Likewise.
27963 (clog_test): Likewise.
27964 (clog10_test): Likewise.
27965 (cos_test): Likewise.
27966 (cos_test_tonearest): Likewise.
27967 (cos_test_towardzero): Likewise.
27968 (cos_test_downward): Likewise.
27969 (cos_test_upward): Likewise.
27970 (cosh_test): Likewise.
27971 (cosh_test_tonearest): Likewise.
27972 (cosh_test_towardzero): Likewise.
27973 (cosh_test_downward): Likewise.
27974 (cosh_test_upward): Likewise.
27975 (cpow_test): Likewise.
27976 (csin_test): Likewise.
27977 (csinh_test): Likewise.
27978 (csqrt_test): Likewise.
27979 (ctan_test): Likewise.
27980 (ctan_test_tonearest): Likewise.
27981 (ctan_test_towardzero): Likewise.
27982 (ctan_test_downward): Likewise.
27983 (ctan_test_upward): Likewise.
27984 (ctanh_test): Likewise.
27985 (ctanh_test_tonearest): Likewise.
27986 (ctanh_test_towardzero): Likewise.
27987 (ctanh_test_downward): Likewise.
27988 (ctanh_test_upward): Likewise.
27989 (erf_test): Likewise.
27990 (erfc_test): Likewise.
27991 (exp_test): Likewise.
27992 (exp_test_tonearest): Likewise.
27993 (exp_test_towardzero): Likewise.
27994 (exp_test_downward): Likewise.
27995 (exp_test_upward): Likewise.
27996 (exp10_test): Likewise.
27997 (exp2_test): Likewise.
27998 (expm1_test): Likewise.
27999 (fmod_test): Likewise.
28000 (gamma_test): Likewise.
28001 (hypot_test): Likewise.
28002 (j0_test): Likewise.
28003 (j1_test): Likewise.
28004 (jn_test): Likewise.
28005 (lgamma_test): Likewise.
28006 (log_test): Likewise.
28007 (log10_test): Likewise.
28008 (log1p_test): Likewise.
28009 (log2_test): Likewise.
28010 (logb_test_downward): Likewise.
28011 (pow_test): Likewise.
28012 (pow_test_tonearest): Likewise.
28013 (pow_test_towardzero): Likewise.
28014 (pow_test_downward): Likewise.
28015 (pow_test_upward): Likewise.
28016 (remainder_test): Likewise.
28017 (remquo_test): Likewise.
28018 (sin_test): Likewise.
28019 (sin_test_tonearest): Likewise.
28020 (sin_test_towardzero): Likewise.
28021 (sin_test_downward): Likewise.
28022 (sin_test_upward): Likewise.
28023 (sincos_test): Likewise.
28024 (sinh_test): Likewise.
28025 (sinh_test_tonearest): Likewise.
28026 (sinh_test_towardzero): Likewise.
28027 (sinh_test_downward): Likewise.
28028 (sinh_test_upward): Likewise.
28029 (sqrt_test): Likewise.
28030 (tan_test): Likewise.
28031 (tan_test_tonearest): Likewise.
28032 (tan_test_towardzero): Likewise.
28033 (tan_test_downward): Likewise.
28034 (tan_test_upward): Likewise.
28035 (tanh_test): Likewise.
28036 (tgamma_test): Likewise.
28037 (y0_test): Likewise.
28038 (y1_test): Likewise.
28039 (yn_test): Likewise.
28040
28041 * math/gen-libm-test.pl (adjust_arg): Remove function.
28042 (special_function): Remove argument $in_func. Only handle
28043 generating output for tables of tests, not inside functions.
28044 (parse_args): Likewise.
28045 (generate_testfile): Remove variable $in_func. Update call to
28046 parse_args.
28047 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28048 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28049 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28050 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28051 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28052 (MAX_VALUE_INIT): Rename macro to max_value.
28053 (MIN_VALUE_INIT): Rename macro to min_value.
28054 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28055 (plus_zero): Remove variable.
28056 (minus_zero): Likewise.
28057 (plus_infty): Likewise.
28058 (minus_infty): Likewise.
28059 (qnan_value): Likewise.
28060 (max_value): Likewise.
28061 (min_value): Likewise.
28062 (min_subnorm_value): Likewise.
28063
28064 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28065
28066 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28067 uint64_t or uint32_t usage.
28068 * crypt/sha256-block.c: Likewise.
28069 * crypt/sha256-crypt.c: Likewise.
28070 * crypt/sha256.c: Likewise.
28071 * crypt/sha512-block.c: Likewise.
28072 * crypt/sha512-crypt.c: Likewise.
28073 * crypt/sha512.c: Likewise.
28074 * debug/backtrace-tst.c: Likewise.
28075 * debug/pcprofiledump.c: Likewise.
28076 * elf/cache.c: Likewise.
28077 * elf/dl-cache.c: Likewise.
28078 * elf/dl-misc.c: Likewise.
28079 * elf/dl-profile.c: Likewise.
28080 * elf/dl-support.c: Likewise.
28081 * elf/ldconfig.c: Likewise.
28082 * elf/sprof.c: Likewise.
28083 * iconv/dummy-repertoire.c: Likewise.
28084 * iconv/iconv_charmap.c: Likewise.
28085 * iconv/skeleton.c: Likewise.
28086 * iconvdata/8bit-generic.c: Likewise.
28087 * iconvdata/cp737.h: Likewise.
28088 * iconvdata/cp775.h: Likewise.
28089 * iconvdata/ibm1008.h: Likewise.
28090 * iconvdata/ibm1025.h: Likewise.
28091 * iconvdata/ibm1046.h: Likewise.
28092 * iconvdata/ibm1097.h: Likewise.
28093 * iconvdata/ibm1112.h: Likewise.
28094 * iconvdata/ibm1122.h: Likewise.
28095 * iconvdata/ibm1123.h: Likewise.
28096 * iconvdata/ibm1124.h: Likewise.
28097 * iconvdata/ibm1129.h: Likewise.
28098 * iconvdata/ibm1130.h: Likewise.
28099 * iconvdata/ibm1132.h: Likewise.
28100 * iconvdata/ibm1133.h: Likewise.
28101 * iconvdata/ibm1137.h: Likewise.
28102 * iconvdata/ibm1140.h: Likewise.
28103 * iconvdata/ibm1141.h: Likewise.
28104 * iconvdata/ibm1142.h: Likewise.
28105 * iconvdata/ibm1143.h: Likewise.
28106 * iconvdata/ibm1144.h: Likewise.
28107 * iconvdata/ibm1145.h: Likewise.
28108 * iconvdata/ibm1146.h: Likewise.
28109 * iconvdata/ibm1147.h: Likewise.
28110 * iconvdata/ibm1148.h: Likewise.
28111 * iconvdata/ibm1149.h: Likewise.
28112 * iconvdata/ibm1153.h: Likewise.
28113 * iconvdata/ibm1154.h: Likewise.
28114 * iconvdata/ibm1155.h: Likewise.
28115 * iconvdata/ibm1156.h: Likewise.
28116 * iconvdata/ibm1157.h: Likewise.
28117 * iconvdata/ibm1158.h: Likewise.
28118 * iconvdata/ibm1160.h: Likewise.
28119 * iconvdata/ibm1161.h: Likewise.
28120 * iconvdata/ibm1162.h: Likewise.
28121 * iconvdata/ibm1163.h: Likewise.
28122 * iconvdata/ibm1164.h: Likewise.
28123 * iconvdata/ibm1166.h: Likewise.
28124 * iconvdata/ibm1167.h: Likewise.
28125 * iconvdata/ibm12712.h: Likewise.
28126 * iconvdata/ibm1390.h: Likewise.
28127 * iconvdata/ibm1399.h: Likewise.
28128 * iconvdata/ibm16804.h: Likewise.
28129 * iconvdata/ibm4517.h: Likewise.
28130 * iconvdata/ibm4899.h: Likewise.
28131 * iconvdata/ibm4909.h: Likewise.
28132 * iconvdata/ibm4971.h: Likewise.
28133 * iconvdata/ibm5347.h: Likewise.
28134 * iconvdata/ibm803.h: Likewise.
28135 * iconvdata/ibm856.h: Likewise.
28136 * iconvdata/ibm901.h: Likewise.
28137 * iconvdata/ibm902.h: Likewise.
28138 * iconvdata/ibm9030.h: Likewise.
28139 * iconvdata/ibm9066.h: Likewise.
28140 * iconvdata/ibm921.h: Likewise.
28141 * iconvdata/ibm922.h: Likewise.
28142 * iconvdata/ibm9448.h: Likewise.
28143 * iconvdata/isiri-3342.h: Likewise.
28144 * iconvdata/jis0201.h: Likewise.
28145 * include/link.h: Likewise.
28146 * include/netdb.h: Likewise.
28147 * inet/check_native.c: Likewise.
28148 * inet/check_pf.c: Likewise.
28149 * inet/getipv4sourcefilter.c: Likewise.
28150 * inet/getnameinfo.c: Likewise.
28151 * inet/getsourcefilter.c: Likewise.
28152 * inet/htonl.c: Likewise.
28153 * inet/setipv4sourcefilter.c: Likewise.
28154 * inet/setsourcefilter.c: Likewise.
28155 * inet/test-inet6_opt.c: Likewise.
28156 * inet/tst-network.c: Likewise.
28157 * locale/C-collate.c: Likewise.
28158 * locale/C-ctype.c: Likewise.
28159 * locale/C-time.c: Likewise.
28160 * locale/C-translit.h: Likewise.
28161 * locale/loadarchive.c: Likewise.
28162 * locale/programs/3level.h: Likewise.
28163 * locale/programs/charmap.c: Likewise.
28164 * locale/programs/charmap.h: Likewise.
28165 * locale/programs/ld-address.c: Likewise.
28166 * locale/programs/ld-collate.c: Likewise.
28167 * locale/programs/ld-ctype.c: Likewise.
28168 * locale/programs/ld-identification.c: Likewise.
28169 * locale/programs/ld-measurement.c: Likewise.
28170 * locale/programs/ld-messages.c: Likewise.
28171 * locale/programs/ld-monetary.c: Likewise.
28172 * locale/programs/ld-name.c: Likewise.
28173 * locale/programs/ld-numeric.c: Likewise.
28174 * locale/programs/ld-paper.c: Likewise.
28175 * locale/programs/ld-telephone.c: Likewise.
28176 * locale/programs/ld-time.c: Likewise.
28177 * locale/programs/linereader.c: Likewise.
28178 * locale/programs/locale.c: Likewise.
28179 * locale/programs/locarchive.c: Likewise.
28180 * locale/programs/locfile.h: Likewise.
28181 * locale/programs/repertoire.c: Likewise.
28182 * locale/programs/simple-hash.c: Likewise.
28183 * locale/programs/simple-hash.h: Likewise.
28184 * malloc/memusage.c: Likewise.
28185 * malloc/memusagestat.c: Likewise.
28186 * nis/nis_defaults.c: Likewise.
28187 * nis/nis_hash.c: Likewise.
28188 * nis/nis_print.c: Likewise.
28189 * nis/nis_xdr.c: Likewise.
28190 * nscd/connections.c: Likewise.
28191 * nscd/hstcache.c: Likewise.
28192 * nscd/nscd_gethst_r.c: Likewise.
28193 * nscd/nscd_getserv_r.c: Likewise.
28194 * nscd/nscd_helper.c: Likewise.
28195 * nscd/servicescache.c: Likewise.
28196 * nss/makedb.c: Likewise.
28197 * nss/nss_db/db-XXX.c: Likewise.
28198 * nss/nss_db/db-initgroups.c: Likewise.
28199 * nss/nss_db/db-netgrp.c: Likewise.
28200 * nss/nss_files/files-network.c: Likewise.
28201 * nss/nss_files/files-parse.c: Likewise.
28202 * posix/bug-regex5.c: Likewise.
28203 * posix/fnmatch_loop.c: Likewise.
28204 * posix/regcomp.c: Likewise.
28205 * posix/regexec.c: Likewise.
28206 * posix/tst-rfc3484-2.c: Likewise.
28207 * posix/tst-rfc3484-3.c: Likewise.
28208 * posix/tst-rfc3484.c: Likewise.
28209 * resolv/nss_dns/dns-canon.c: Likewise.
28210 * resolv/nss_dns/dns-network.c: Likewise.
28211 * resolv/res_init.c: Likewise.
28212 * resolv/res_mkquery.c: Likewise.
28213 * resolv/tst-aton.c: Likewise.
28214 * stdlib/cxa_atexit.c: Likewise.
28215 * stdlib/cxa_finalize.c: Likewise.
28216 * stdlib/gen-fpioconst.c: Likewise.
28217 * stdlib/strtol_l.c: Likewise.
28218 * string/tst-endian.c: Likewise.
28219 * sunrpc/auth_des.c: Likewise.
28220 * sunrpc/clnt_udp.c: Likewise.
28221 * sunrpc/rtime.c: Likewise.
28222 * sunrpc/svcauth_des.c: Likewise.
28223 * sunrpc/xdr.c: Likewise.
28224 * sunrpc/xdr_intXX_t.c: Likewise.
28225 * sunrpc/xdr_rec.c: Likewise.
28226 * sysdeps/generic/ldconfig.h: Likewise.
28227 * sysdeps/generic/ldsodefs.h: Likewise.
28228 * sysdeps/generic/memusage.h: Likewise.
28229 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28232 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28239 * sysdeps/posix/getaddrinfo.c: Likewise.
28240 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28241 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28242 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28244 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28245 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28246 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28247 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28248 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28249 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28250 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28251 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28252 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28253 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28254 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28255 * sysdeps/x86_64/dl-tls.h: Likewise.
28256 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28257 * time/alt_digit.c: Likewise.
28258 * time/era.c: Likewise.
28259 * wcsmbs/tst-c16c32-1.c: Likewise.
28260
28261 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28262
28263 * math/libm-test.inc (struct test_sincos_data): New type.
28264 (RUN_TEST_LOOP_sincos): New macro.
28265 (sincos_test_data): New variable.
28266 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28267
28268 2013-05-16 Richard Henderson <rth@redhat.com>
28269
28270 * math/atest-exp2.c (LIMB64): New macro.
28271 (CONSTSZ): New macro.
28272 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28273 (hexdig): Move ...
28274 (print_mpn_fp): ... to function scope.
28275 (read_mpn_hex): Remove.
28276 (get_log2): Remove.
28277 (exp2_mpn): Use mp_log2.
28278 (main): Use mp_exp1.
28279
28280 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28281
28282 * math/libm-test.inc: Remove comment about not testing "inexact"
28283 exceptions.
28284 (INEXACT_EXCEPTION): New macro.
28285 (NO_INEXACT_EXCEPTION): Likewise.
28286 (INVALID_EXCEPTION_OK): Update value.
28287 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28288 (OVERFLOW_EXCEPTION_OK): Likewise.
28289 (UNDERFLOW_EXCEPTION_OK): Likewise.
28290 (IGNORE_ZERO_INF_SIGN): Likewise.
28291 (ERRNO_UNCHANGED): Likewise.
28292 (ERRNO_EDOM): Likewise.
28293 (ERRNO_ERANGE): Likewise.
28294 (test_exceptions): Handle testing "inexact" exceptions.
28295 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28296 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28297 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28298 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28299 INEXACT_EXCEPTION.
28300 (rint_towardzero_test_data): Likewise.
28301 (rint_downward_test_data): Likewise.
28302 (rint_upward_test_data): Likewise.
28303
28304 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28305 with OVERFLOW_EXCEPTION.
28306 (exp10_test_data): Likewise.
28307 (exp2_test_data): Likewise.
28308 (expm1_test_data): Likewise.
28309 (lgamma_test_data): Likewise.
28310 (pow_test_data): Likewise.
28311 (tgamma_test_data): Likewise.
28312 (yn_test_data): Remove duplicate test of overflow.
28313
28314 * math/libm-test.inc (struct test_cc_c_data): New type.
28315 (RUN_TEST_LOOP_cc_c): New macro.
28316 (cpow_test_data): New variable.
28317 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28318
28319 * math/libm-test.inc (struct test_f_L_data): New type.
28320 (RUN_TEST_LOOP_f_L): New macro.
28321 (llrint_test_data): New variable.
28322 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28323 (llrint_tonearest_test_data): New variable.
28324 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28325 (llrint_towardzero_test_data): New variable.
28326 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28327 (llrint_downward_test_data): New variable.
28328 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28329 (llrint_upward_test_data): New variable.
28330 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28331 (llround_test_data): New variable.
28332 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28333
28334 2013-05-13 Peter Collingbourne <pcc@google.com>
28335
28336 * math/atest-exp2.c (get_log2): Remove const attribute.
28337
28338 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28339
28340 * math/libm-test.inc (struct test_f_l_data): New type.
28341 (RUN_TEST_LOOP_f_l): New macro.
28342 (lrint_test_data): New variable.
28343 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28344 (lrint_tonearest_test_data): New variable.
28345 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28346 (lrint_towardzero_test_data): New variable.
28347 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28348 (lrint_downward_test_data): New variable.
28349 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28350 (lrint_upward_test_data): New variable.
28351 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28352 (lround_test_data): New variable.
28353 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28354
28355 2013-05-15 Peter Collingbourne <pcc@google.com>
28356
28357 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28358 (EXTRACT_WORDS64) Use where appropriate.
28359 (INSERT_WORDS64) Likewise.
28360
28361 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28362 constraints with x constraints.
28363 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28364
28365 * malloc/obstack.c (_obstack_compat): Add initializer.
28366
28367 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28368
28369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28370 si_trapno and add si_addr_lsb to _sifields.sigfault.
28371 (si_trapno): Remove macro.
28372 (si_addr_lsb): Define new macro.
28373 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28374
28375 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28376
28377 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28378 instead of TEST_f_l.
28379 (llrint_test_tonearest): Likewise.
28380 (llrint_test_towardzero): Likewise.
28381 (llrint_test_downward): Likewise.
28382 (llrint_test_upward): Likewise.
28383 (llround_test): Likewise.
28384
28385 * math/libm-test.inc (struct test_f_i_data): Add comment.
28386 (RUN_TEST_LOOP_f_b): New macro.
28387 (RUN_TEST_LOOP_f_b_tg): Likewise.
28388 (finite_test_data): New variable.
28389 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28390 (isfinite_test_data): New variable.
28391 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28392 (isinf_test_data): New variable.
28393 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28394 (isnan_test_data): New variable.
28395 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28396 (isnormal_test_data): New variable.
28397 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28398 (issignaling_test_data): New variable.
28399 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28400 (signbit_test_data): New variable.
28401 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28402
28403 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28404 with INVALID_EXCEPTION.
28405 (acosh_test_data): Likewise.
28406 (asin_test_data): Likewise.
28407 (atanh_test_data): Likewise.
28408 (fmod_test_data): Likewise.
28409 (log_test_data): Likewise.
28410 (log10_test_data): Likewise.
28411 (log2_test_data): Likewise.
28412 (pow_test_data): Likewise.
28413 (sqrt_test_data): Likewise.
28414 (y0_test_data): Likewise.
28415 (y1_test_data): Likewise.
28416 (yn_test_data): Likewise.
28417
28418 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28419 function contents.
28420
28421 * math/libm-test.inc (struct test_ff_i_data): New type.
28422 (RUN_TEST_LOOP_ff_i_tg): New macro.
28423 (isgreater_test_data): New variable.
28424 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28425 (isgreaterequal_test_data): New variable.
28426 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28427 (isless_test_data): New variable.
28428 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28429 (islessequal_test_data): New variable.
28430 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28431 (islessgreater_test_data): New variable.
28432 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28433 (isunordered_test_data): New variable.
28434 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28435
28436 2013-05-14 David S. Miller <davem@davemloft.net>
28437
28438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28439
28440 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28441
28442 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28443
28444 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28445 extra_test to int.
28446 (struct test_f_i_data): Change type of max_ulp to int.
28447
28448 * math/libm-test.inc (test_ffI_f1_data): New type.
28449 (RUN_TEST_LOOP_ffI_f1): New macro.
28450 (remquo_test_data): New variable.
28451 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28452
28453 * setjmp/tst-setjmp-fp.c: New file.
28454 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28455 (link-libm): New variable.
28456 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28457
28458 * math/libm-test.inc (struct test_f_i_data): New type.
28459 (RUN_TEST_LOOP_f_i): New macro.
28460 (RUN_TEST_LOOP_f_i_tg): Likewise.
28461 (fpclassify_test_data): New variable.
28462 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28463 (ilogb_test_data): New variable.
28464 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28465
28466 * math/libm-test.inc (scalbln_test): Correct function name in END
28467 call.
28468
28469 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28470 (RUN_TEST_LOOP_fI_f1): New macro.
28471 (frexp_test_data): New variable.
28472 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28473
28474 * math/libm-test.inc (struct test_fF_f1_data): New type.
28475 (RUN_TEST_LOOP_fF_f1): New macro.
28476 (modf_test_data): New variable.
28477 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28478
28479 * math/libm-test.inc (struct test_f_f1_data): New type.
28480 (RUN_TEST_LOOP_f_f1): New macro.
28481 (gamma_test_data): New variable.
28482 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28483 (lgamma_test_data): New variable.
28484 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28485
28486 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28487
28488 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28489 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28490 (main): Comment "tls" pseudo-hwcap.
28491
28492 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28493
28494 * math/libm-test.inc (struct test_fl_f_data): New type.
28495 (RUN_TEST_LOOP_fl_f): New variable.
28496 (scalbln_test_data): New variable.
28497 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28498
28499 * math/libm-test.inc (struct test_fi_f_data): New type.
28500 (RUN_TEST_LOOP_fi_f): New macro.
28501 (ldexp_test_data): New variable.
28502 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28503 (scalbn_test_data): New variable.
28504 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28505
28506 * math/libm-test.inc (struct test_c_f_data): New type.
28507 (RUN_TEST_LOOP_c_f): New macro.
28508 (cabs_test_data): New variable.
28509 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28510 (carg_test_data): New variable.
28511 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28512 (cimag_test_data): New variable.
28513 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28514 (creal_test_data): New variable.
28515 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28516
28517 * math/libm-test.inc (struct test_if_f_data): New type.
28518 (RUN_TEST_LOOP_if_f): New macro.
28519 (jn_test_data): New variable.
28520 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28521 (yn_test_data): New variable.
28522 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28523
28524 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28525
28526 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28527
28528 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28529 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28530
28531 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28532
28533 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28534 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28535 (bench-deps): Add bench-timing.h.
28536 * benchtests-bench-skeleton.c: Include bench-timing.h.
28537 (main): Use TIMING_* macros instead of clock_gettime.
28538 * benchtests/bench-timing.h: New file.
28539
28540 [BZ #14582]
28541 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28542 Renamed from _LIB_VERSION.
28543 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28544
28545 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28546
28547 * math/libm-test.inc (struct test_fff_f_data): New type.
28548 (RUN_TEST_LOOP_fff_f): New macro.
28549 (fma_test_data): New variable.
28550 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28551 (fma_towardzero_test_data): New variable.
28552 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28553 (fma_downward_test_data): New variable.
28554 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28555 (fma_upward_test_data): New variable.
28556 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28557
28558 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28559 (struct test_c_c_data): New type.
28560 (RUN_TEST_LOOP_c_c): New macro.
28561 (cacos_test_data): New variable.
28562 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28563 (cacosh_test_data): New variable.
28564 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28565 (casin_test_data): New variable.
28566 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28567 (casinh_test_data): New variable.
28568 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28569 (catan_test_data): New variable.
28570 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28571 (catanh_test_data): New variable.
28572 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28573 (ccos_test_data): New variable.
28574 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28575 (ccosh_test_data): New variable.
28576 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28577 (cexp_test_data): New variable.
28578 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28579 (clog_test_data): New variable.
28580 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28581 (clog10_test_data): New variable.
28582 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28583 (conj_test_data): New variable.
28584 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28585 (cproj_test_data): New variable.
28586 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28587 (csin_test_data): New variable.
28588 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28589 (csinh_test_data): New variable.
28590 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28591 (csqrt_test_data): New variable.
28592 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28593 (ctan_test_data): New variable.
28594 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28595 (ctan_tonearest_test_data): New variable.
28596 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28597 (ctan_towardzero_test_data): New variable.
28598 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28599 (ctan_downward_test_data): New variable.
28600 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28601 (ctan_upward_test_data): New variable.
28602 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28603 (ctanh_test_data): New variable.
28604 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28605 (ctanh_tonearest_test_data): New variable.
28606 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28607 (ctanh_towardzero_test_data): New variable.
28608 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28609 (ctanh_downward_test_data): New variable.
28610 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28611 (ctanh_upward_test_data): New variable.
28612 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28613 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28614 of BUILD_COMPLEX.
28615
28616 * math/libm-test.inc (struct test_ff_f_data): New type.
28617 (struct test_ff_f_data_nexttoward): Likewise.
28618 (RUN_TEST_LOOP_2_f): New macro.
28619 (RUN_TEST_LOOP_ff_f): Likewise.
28620 (atan2_test_data): New variable.
28621 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28622 (copysign_test_data): New variable.
28623 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28624 (fdim_test_data): New variable.
28625 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28626 (fmax_test_data): New variable.
28627 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28628 (fmin_test_data): New variable.
28629 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28630 (fmod_test_data): New variable.
28631 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28632 (hypot_test_data): New variable.
28633 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28634 (nextafter_test_data): New variable.
28635 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28636 (nexttoward_test_data): New variable.
28637 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28638 (pow_test_data): New variable.
28639 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28640 (pow_tonearest_test_data): New variable.
28641 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28642 (pow_towardzero_test_data): New variable.
28643 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28644 (pow_downward_test_data): New variable.
28645 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28646 (pow_upward_test_data): New variable.
28647 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28648 (remainder_test_data): New variable.
28649 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28650 (scalb_test_data): New variable.
28651 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28652 * sysdeps/i386/fpu/libm-test-ulps: Update.
28653
28654 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28655
28656 * math/libm-test.inc (fma_test): Use max_value instead of local
28657 variable fltmax.
28658 (nextafter_test): Likewise.
28659
28660 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28661 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28662 (acos_downward_test_data): New variable.
28663 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28664 (acos_upward_test_data): New variable.
28665 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28666 (acosh_test_data): New variable.
28667 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28668 (asin_test_data): New variable.
28669 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28670 (asin_tonearest_test_data): New variable.
28671 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28672 (asin_towardzero_test_data): New variable.
28673 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28674 (asin_downward_test_data): New variable.
28675 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28676 (asin_upward_test_data): New variable.
28677 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28678 (asinh_test_data): New variable.
28679 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28680 (atan_test_data): New variable.
28681 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28682 (atanh_test_data): New variable.
28683 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28684 (cbrt_test_data): New variable.
28685 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28686 (ceil_test_data): New variable.
28687 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28688 (cos_test_data): New variable.
28689 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28690 (cos_tonearest_test_data): New variable.
28691 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28692 (cos_towardzero_test_data): New variable.
28693 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28694 (cos_downward_test_data): New variable.
28695 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28696 (cos_upward_test_data): New variable.
28697 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28698 (cosh_test_data): New variable.
28699 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28700 (cosh_tonearest_test_data): New variable.
28701 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28702 (cosh_towardzero_test_data): New variable.
28703 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28704 (cosh_downward_test_data): New variable.
28705 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28706 (cosh_upward_test_data): New variable.
28707 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28708 (erf_test_data): New variable.
28709 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28710 (erfc_test_data): New variable.
28711 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28712 (exp_test_data): New variable.
28713 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28714 (exp_tonearest_test_data): New variable.
28715 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28716 (exp_towardzero_test_data): New variable.
28717 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28718 (exp_downward_test_data): New variable.
28719 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28720 (exp_upward_test_data): New variable.
28721 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28722 (exp10_test_data): New variable.
28723 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28724 (exp2_test_data): New variable.
28725 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28726 (expm1_test_data): New variable.
28727 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28728 (fabs_test_data): New variable.
28729 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28730 (floor_test_data): New variable.
28731 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28732 (j0_test_data): New variable.
28733 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28734 (j1_test_data): New variable.
28735 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28736 (log_test_data): New variable.
28737 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28738 (log10_test_data): New variable.
28739 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28740 (log1p_test_data): New variable.
28741 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28742 (log2_test_data): New variable.
28743 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28744 (logb_test_data): New variable.
28745 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28746 (logb_downward_test_data): New variable.
28747 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28748 (nearbyint_test_data): New variable.
28749 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28750 (rint_test_data): New variable.
28751 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28752 (rint_tonearest_test_data): New variable.
28753 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28754 (rint_towardzero_test_data): New variable.
28755 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28756 (rint_downward_test_data): New variable.
28757 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28758 (rint_upward_test_data): New variable.
28759 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28760 (round_test_data): New variable.
28761 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28762 (sin_test_data): New variable.
28763 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28764 (sin_tonearest_test_data): New variable.
28765 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28766 (sin_towardzero_test_data): New variable.
28767 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28768 (sin_downward_test_data): New variable.
28769 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28770 (sin_upward_test_data): New variable.
28771 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28772 (sinh_test_data): New variable.
28773 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28774 (sinh_tonearest_test_data): New variable.
28775 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28776 (sinh_towardzero_test_data): New variable.
28777 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28778 (sinh_downward_test_data): New variable.
28779 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28780 (sinh_upward_test_data): New variable.
28781 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28782 (sqrt_test_data): New variable.
28783 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28784 (tan_test_data): New variable.
28785 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28786 (tan_tonearest_test_data): New variable.
28787 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28788 (tan_towardzero_test_data): New variable.
28789 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28790 (tan_downward_test_data): New variable.
28791 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28792 (tan_upward_test_data): New variable.
28793 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28794 (tanh_test_data): New variable.
28795 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28796 (tgamma_test_data): New variable.
28797 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28798 (trunc_test_data): New variable.
28799 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28800 (y0_test_data): New variable.
28801 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28802 (y1_test_data): New variable.
28803 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28804 (significand_test_data): New variable.
28805 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28806
28807 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28808
28809 [BZ #12387]
28810 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28811
28812 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28813
28814 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28815
28816 2013-05-10 Andreas Jaeger <aj@suse.de>
28817
28818 [BZ #15448]
28819 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28820 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28821
28822 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28823
28824 * math/gen-libm-test.pl (adjust_arg): New function.
28825 (special_functions): Handle generating output in both functions
28826 and arrays.
28827 (parse_args): Likewise.
28828 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28829 $in_func argument to parse_args.
28830 * math/libm-test.inc (struct test_f_f_data): New type.
28831 (IF_ROUND_INIT_): New macro.
28832 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28833 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28834 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28835 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28836 (ROUND_RESTORE_): Likewise.
28837 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28838 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28839 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28840 (ROUND_RESTORE_FE_UPWARD): Likewise.
28841 (RUN_TEST_LOOP_f_f): New macro.
28842 (acos_test_data): New variable.
28843 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28844 (acos_tonearest_test_data): New variable.
28845 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28846
28847 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28848
28849 * benchtests/bench-skeleton.c (startup): Fix coding style.
28850
28851 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28852
28853 [BZ #6809]
28854 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28855 negative infinity argument.
28856 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28857 negative infinity argument.
28858 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28859 negative infinity argument.
28860 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28861 domain errors.
28862
28863 2013-05-10 Florian Weimer <fweimer@redhat.com>
28864
28865 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28866 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28867 * iconv/iconv_prog.c (main): Likewise.
28868 * locale/programs/charmap-dir.c (charmap_readdir)
28869 (fopen_uncompressed): Likewise.
28870 * locale/programs/locfile.c (siblings_uncached)
28871 (write_locale_data): Use lstat64 instead of lstat.
28872 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28873 stat.
28874
28875 2013-05-10 Andreas Jaeger <aj@suse.de>
28876
28877 [BZ #15395]
28878 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28879 localization.
28880 Include <locale.h>.
28881
28882 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28883
28884 * elf/dl-close.c (_dl_close_worker): Add comments.
28885
28886 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28887
28888 [BZ #15359]
28889 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28890 high part of pi/2.
28891 (__ieee754_rem_pio2l): Update comments.
28892
28893 [BZ #15429]
28894 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28895 high part of pi/2.
28896 (__ieee754_rem_pio2l): Update comments.
28897
28898 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28899 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28900
28901 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28902 M_PI_4l.
28903
28904 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28905 (M_PI_34_LOG10El): Likewise.
28906 (M_PI2_LOG10El): Likewise.
28907 (M_PI4_LOG10El): Likewise.
28908 (M_PI_LOG10El): Likewise.
28909
28910 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28911
28912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28913
28914 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28915
28916 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28917 (MINUS_ZERO_INIT): Likewise.
28918 (PLUS_INFTY_INIT): Likewise.
28919 (MINUS_INFTY_INIT): Likewise.
28920 (QNAN_VALUE_INIT): Likewise.
28921 (MAX_VALUE_INIT): Likewise.
28922 (MIN_VALUE_INIT): Likewise.
28923 (MIN_SUBNORM_VALUE_INIT): Likewise.
28924 (plus_zero): Initialize with PLUS_ZERO_INIT.
28925 (minus_zero): Initialize with MINUS_ZERO_INIT.
28926 (plus_infty): Initialize with PLUS_INFTY_INIT.
28927 (minus_infty): Initialize with MINUS_INFTY_INIT.
28928 (qnan_value): Initialize with QNAN_VALUE_INIT.
28929 (max_value): Initialize with MAX_VALUE_INIT.
28930 (min_value): Initialize with MIN_VALUE_INIT.
28931 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28932
28933 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28934 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28935 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28936 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28937
28938 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28939 (RUN_TEST_2_f): Likewise.
28940 (RUN_TEST_ff_f): Likewise.
28941 (RUN_TEST_fi_f): Likewise.
28942 (RUN_TEST_fl_f): Likewise.
28943 (RUN_TEST_fff_f): Likewise.
28944 (RUN_TEST_c_f): Likewise.
28945 (RUN_TEST_f_f1): Likewise.
28946 (RUN_TEST_fF_f1): Likewise.
28947 (RUN_TEST_fI_f1): Likewise.
28948 (RUN_TEST_ffI_f1): Likewise.
28949 (RUN_TEST_c_c): Likewise.
28950 (RUN_TEST_cc_c): Likewise.
28951 (RUN_TEST_f_i): Likewise.
28952 (RUN_TEST_f_i_tg): Likewise.
28953 (RUN_TEST_ff_i_tg): Likewise.
28954 (RUN_TEST_f_b): Likewise.
28955 (RUN_TEST_f_b_tg): Likewise.
28956 (RUN_TEST_f_l): Likewise.
28957 (RUN_TEST_f_L): Likewise.
28958 (RUN_TEST_sincos): Likewise.
28959 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28960 whether to show exceptions. Do not include ");\n" in return
28961 value.
28962 (special_functions): Output call to RUN_TEST_sincos instead of
28963 check_float calls. Update calls to new_test.
28964 (parse_args): Output call to single RUN_TEST_* macro instead of
28965 check_* calls and other assignments. Update calls to new_test.
28966
28967 [BZ #2546]
28968 [BZ #2560]
28969 [BZ #5159]
28970 [BZ #15426]
28971 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28972 input to result for tgamma overflow.
28973 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28974 (gamma_coeff): New variable.
28975 (NCOEFF): New macro.
28976 (gamma_positive): New function.
28977 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28978 underflow here. Use gamma_positive instead of exp (lgamma) for
28979 other arguments.
28980 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28981 (gamma_coeff): New variable.
28982 (NCOEFF): New macro.
28983 (gammaf_positive): New function.
28984 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28985 underflow here. Use gamma_positive instead of exp (lgamma) for
28986 other arguments.
28987 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28988 (gamma_coeff): New variable.
28989 (NCOEFF): New macro.
28990 (gammal_positive): New function.
28991 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28992 underflow here. Use gamma_positive instead of exp (lgamma) for
28993 other arguments.
28994 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28995 (gamma_coeff): New variable.
28996 (NCOEFF): New macro.
28997 (gammal_positive): New function.
28998 (__ieee754_gammal_r): Handle positive infinity, overflow and
28999 underflow here. Handle NaN the same as positive infinity. Remove
29000 check x < 0xffffffff for negative integers. Use gamma_positive
29001 instead of exp (lgamma) for other arguments.
29002 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29003 (gamma_coeff): New variable.
29004 (NCOEFF): New macro.
29005 (gammal_positive): New function.
29006 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29007 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29011 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29012 * sysdeps/generic/math_private.h (__gamma_productf): New
29013 prototype.
29014 (__gamma_product): Likewise.
29015 (__gamma_productl): Likewise.
29016 * math/Makefile (libm-calls): Add gamma_product.
29017 * math/libm-test.inc (tgamma_test): Add more tests.
29018 * sysdeps/i386/fpu/libm-test-ulps: Update.
29019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29020
29021 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29022
29023 * benchtests/bench-skeleton.c (main): Preheat CPU.
29024
29025 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29026
29027 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29028
29029 2013-05-07 Roland McGrath <roland@hack.frob.com>
29030
29031 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29032 and _dl_skip_args_internal.
29033
29034 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29035
29036 * manual/message.texi (Message Translation): Talk about users.
29037 Message to key mapping impacts design.
29038
29039 2013-05-06 Roland McGrath <roland@hack.frob.com>
29040
29041 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29042
29043 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29044
29045 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29046 * sysdeps/wordsize-64/glob64.c: ... here.
29047
29048 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29049 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29050 New macros.
29051
29052 * debug/getlogin_r_chk.c: Moved to ...
29053 * login/getlogin_r_chk.c: ... here.
29054 * debug/Makefile (routines): Move getlogin_r_chk to ...
29055 * login/Makefile (routines): ... here.
29056 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29057 * login/Versions (libc: GLIBC_2.4): ... here.
29058
29059 * io/poll.c (__poll): Renamed from poll.
29060 Add libc_hidden_def.
29061 (poll): Define as weak alias.
29062
29063 * debug/ptsname_r_chk.c: Moved to ...
29064 * login/ptsname_r_chk.c: ... here.
29065 * debug/Makefile (routines): Move ptsname_r_chk to ...
29066 * login/Makefile (routines): ... here.
29067 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29068 * login/Versions (libc: GLIBC_2.4): ... here.
29069
29070 * posix/getlogin.c: Moved to ...
29071 * login/getlogin.c: ... here.
29072 * posix/getlogin_r.c: Moved to ...
29073 * login/getlogin_r.c: ... here.
29074 * posix/getlogin_r.c: Moved to ...
29075 * login/getlogin_r.c: ... here.
29076 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29077 * login/Makefile (routines): ... here.
29078 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29079 * login/Versions (libc: GLIBC_2.0): ... here.
29080
29081 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29082 (setrlimit): Define as weak alias.
29083
29084 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29085 Call __ names for open, ftruncate, and close.
29086 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29087 (truncate): Define as weak alias.
29088
29089 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29090
29091 * math/gen-libm-test.pl (parse_args): Initialize x before each
29092 test of frexp, modf and remquo.
29093
29094 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29095 test signgam value.
29096
29097 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29098
29099 [BZ #15418]
29100 [BZ #15419]
29101 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29102 internal tests.
29103 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29104
29105 2013-05-06 Roland McGrath <roland@hack.frob.com>
29106
29107 * elf/dl-writev.h: New file.
29108 * elf/dl-misc.c: Include it.
29109 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29110 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29111
29112 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29113
29114 * math/libm-test.inc (noXFails): Remove variable.
29115 (noXPasses): Likewise.
29116 (BUILD_COMPLEX_INT): Remove macro.
29117 (print_screen): Remove xfail argument.
29118 (print_screen_max_error): Likewise.
29119 (update_stats): Likewise.
29120 (print_max_error): Likewise. Update calls to other affected
29121 functions.
29122 (print_complex_max_error): Likewise.
29123 (test_single_exception): Update calls to print_screen.
29124 (test_single_errno): Likewise.
29125 (check_float_internal): Remove xfail argument. Update calls to
29126 other affected functions.
29127 (check_float): Likewise.
29128 (check_complex): Likewise.
29129 (check_int): Likewise.
29130 (check_long): Likewise.
29131 (check_bool): Likewise.
29132 (check_longlong): Likewise.
29133 (main): Don't print noXFails and noXPasses.
29134 * math/gen-libm-test.pl (top level): Don't mention expected
29135 failure handling in comment.
29136 (new_test): Don't handle expected failures.
29137 (parse_args): Don't mention expected failure handling in comment.
29138 (generate_testfile): Don't handle expected failures.
29139 (parse_ulps): Likewise.
29140 (print_ulps_file): Likewise.
29141 (get_failure): Remove function.
29142 (output_test): Don't handle expected failures.
29143 * make/README.libm-test: Don't mention expected failure handling.
29144
29145 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29146 (minus_zero): Likewise.
29147 (plus_infty): Likewise.
29148 (minus_infty): Likewise.
29149 (qnan_value): Likewise.
29150 (max_value): Likewise.
29151 (min_value): Likewise.
29152 (min_subnorm_value): Likewise.
29153 (initialize): Do not initialize those variables dynamically.
29154
29155 2013-05-03 Roland McGrath <roland@hack.frob.com>
29156
29157 * io/open.c (__open_2): Moved to ...
29158 * io/open_2.c: ... this new file.
29159 * io/open64.c (__open64_2): Moved to ...
29160 * io/open64_2.c: ... this new file.
29161 * io/openat.c (__openat_2): Moved to ...
29162 * io/openat_2.c: ... this new file.
29163 * io/openat64.c (__openat64_2): Moved to ...
29164 * io/openat64_2.c: ... this new file.
29165 * io/Makefile (routines): Add them.
29166 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29167 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29168 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29169 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29170 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29171 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29172 (__openat64): Add hidden_ver.
29173 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29174 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29175
29176 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29177 Separately conditionalize setting of GLRO(dl_sysinfo) so
29178 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29179 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29180
29181 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29182
29183 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29184 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29185 definition.
29186 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29187 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29188 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29189 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29190 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29191
29192 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29193
29194 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29195 test signgam value.
29196
29197 * math/libm-test.inc (hypot_test): Do not use
29198 IGNORE_ZERO_INF_SIGN.
29199
29200 2013-05-03 Andreas Jaeger <aj@suse.de>
29201
29202 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29203 Linux 3.9.
29204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29205 (PF_MAX): Adjust for VSOCK change.
29206
29207 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29208
29209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29210
29211 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29212
29213 [BZ #15264]
29214 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29215 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29216 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29217
29218 2013-05-02 David S. Miller <davem@davemloft.net>
29219
29220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29221
29222 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29223
29224 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29225
29226 2013-05-01 Roland McGrath <roland@hack.frob.com>
29227
29228 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29229
29230 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29231
29232 [BZ #14952]
29233 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29234 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29235 Use __attribute__ ((__gnu_inline__)).
29236 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29237 Don't use __attribute__ ((__gnu_inline__)).
29238
29239 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29240
29241 [BZ #15423]
29242 * math/s_catan.c (__catan): Handle small real or imaginary part of
29243 input specially to avoid spurious underflow.
29244 * math/s_catanf.c (__catanf): Likewise.
29245 * math/s_catanh.c (__catanh): Likewise.
29246 * math/s_catanhf.c (__catanhf): Likewise.
29247 * math/s_catanhl.c (__catanhl): Likewise.
29248 * math/s_catanl.c (__catanl): Likewise.
29249 * math/libm-test.inc (catan_test): Add more tests.
29250 (catanh_test): Likewise.
29251 * sysdeps/i386/fpu/libm-test-ulps: Update.
29252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29253
29254 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29255
29256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29257
29258 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29259
29260 [BZ #15416]
29261 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29262 accurately for denominator in atan2.
29263 * math/s_catanf.c (__catanf): Likewise.
29264 * math/s_catanh.c (__catanh): Likewise.
29265 * math/s_catanhf.c (__catanhf): Likewise.
29266 * math/s_catanhl.c (__catanhl): Likewise.
29267 * math/s_catanl.c (__catanl): Likewise.
29268 * math/libm-test.inc (catan_test): Add more tests.
29269 (catanh_test): Likewise.
29270 * sysdeps/i386/fpu/libm-test-ulps: Update.
29271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29272
29273 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29274
29275 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29276
29277 * benchtests/Makefile (bench): Remove slow benchmarks.
29278 * benchtests/atan-inputs: Add slow benchmark inputs.
29279 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29280 (BENCH_FUNC): Accept variant offset.
29281 (VARIANT): Define.
29282 * benchtests/bench-skeleton.c (main): Run benchmark for each
29283 variant.
29284 * benchtests/cos-inputs: Add slow benchmark inputs.
29285 * benchtests/exp-inputs: Likewise.
29286 * benchtests/pow-inputs: Likewise.
29287 * benchtests/sin-inputs: Likewise.
29288 * benchtests/slowatan-inputs: Remove.
29289 * benchtests/slowatan.c: Remove.
29290 * benchtests/slowcos-inputs: Remove.
29291 * benchtests/slowcos.c: Remove.
29292 * benchtests/slowexp-inputs: Remove.
29293 * benchtests/slowexp.c: Remove.
29294 * benchtests/slowpow-inputs: Remove.
29295 * benchtests/slowpow.c: Remove.
29296 * benchtests/slowsin-inputs: Remove.
29297 * benchtests/slowsin.c: Remove.
29298 * benchtests/slowtan-inputs: Remove.
29299 * benchtests/slowtan.c: Remove.
29300 * benchtests/tan-inputs: Add slow benchmark inputs.
29301 * scripts/bench.pl: Parse comments and directives.
29302
29303 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29304 in CPPFLAGS.
29305 ($(objpfx)bench-%.c): Remove *-ITER.
29306 * benchtests/bench-modf.c: Remove definition of ITER.
29307 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29308 (main): Loop for DURATION seconds instead of fixed number of
29309 iterations.
29310 * scripts/bench.pl: Don't expect iterations in parameters.
29311
29312 2013-04-29 Roland McGrath <roland@hack.frob.com>
29313
29314 * io/fchdir.c (__fchdir): Renamed from fchdir.
29315 (fchdir): Define as weak alias.
29316
29317 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29318
29319 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29320 (ERRNO_EDOM): Likewise.
29321 (ERRNO_ERANGE): Likewise.
29322 (noErrnoTests): New variable.
29323 (init_max_error): Set errno to 0.
29324 (test_single_errno): New function.
29325 (test_errno): Likewise.
29326 (check_float_internal): Call test_errno. Set errno to 0.
29327 (check_complex): Refer to errno tests in comment.
29328 (check_int): Call test_errno. Set errno to 0.
29329 (check_long): Likewise.
29330 (check_bool): Likewise.
29331 (check_longlong): Likewise.
29332 (cos_test): Use ERRNO_* flags for errno tests instead of
29333 check_int.
29334 (expm1_test): Likewise.
29335 (fmod_test): Likewise.
29336 (ilogb_test): Likewise.
29337 (lgamma_test): Likewise.
29338 (pow_test): Likewise.
29339 (remainder_test): Likewise.
29340 (sin_test): Likewise.
29341 (tan_test): Likewise.
29342 (yn_test): Likewise.
29343 (initialize): Set errno to 0.
29344 (main): Print number of errno tests.
29345 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29346
29347 2013-04-29 Andreas Jaeger <aj@suse.de>
29348
29349 [BZ #15084]
29350 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29351 and RES_USEVC.
29352
29353 [BZ #15085]
29354 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29355 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29356 unimplemented.
29357
29358 [BZ #15380]
29359 * stdlib/random.c (__initstate): Return NULL if
29360 __initstate fails.
29361
29362 [BZ #15086]
29363 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29364 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29365 RES_SNGLKUPREOP.
29366
29367 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29368
29369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29370
29371 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29372
29373 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29374 of individual tests.
29375 (casin_test): Likewise.
29376 (casinh_test): Likewise.
29377
29378 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29379
29380 [BZ #15409]
29381 * math/s_catan.c (__catan): Handle arguments with large real or
29382 imaginary part separately without squaring.
29383 * math/s_catanf.c (__catanf): Likewise.
29384 * math/s_catanh.c (__catanh): Likewise.
29385 * math/s_catanhf.c (__catanhf): Likewise.
29386 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29387 and redefine.
29388 (__catanhl): Handle arguments with large real or imaginary part
29389 separately without squaring.
29390 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29391 and redefine.
29392 (__catanl): Handle arguments with large real or imaginary part
29393 separately without squaring.
29394 * math/libm-test.inc (catan_test): Add more tests.
29395 (catanh_test): Likewise.
29396 * sysdeps/i386/fpu/libm-test-ulps: Update.
29397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29398
29399 2013-04-27 Andreas Jaeger <aj@suse.de>
29400
29401 [BZ #15007]
29402 * stdlib/stdlib.h: Update guards for qecvt.
29403 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29404 <stdlib.h>.
29405
29406 2013-04-27 Allan McRae <allan@archlinux.org>
29407
29408 * sysdeps/i386/fpu/libm-test-ulps: Update.
29409
29410 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29411
29412 [BZ #15406]
29413 * math/s_catan.c: Include <float.h>.
29414 (__catan): Ensure underflow exception occurs for underflowed
29415 result.
29416 * math/s_catanf.c: Include <float.h>.
29417 (__catanf): Ensure underflow exception occurs for underflowed
29418 result.
29419 * math/s_catanh.c: Include <float.h>.
29420 (__catanh): Ensure underflow exception occurs for underflowed
29421 result.
29422 * math/s_catanhf.c: Include <float.h>.
29423 (__catanhf): Ensure underflow exception occurs for underflowed
29424 result.
29425 * math/s_catanhl.c: Include <float.h>.
29426 (__catanhl): Ensure underflow exception occurs for underflowed
29427 result.
29428 * math/s_catanl.c: Include <float.h>.
29429 (__catanl): Ensure underflow exception occurs for underflowed
29430 result.
29431 * math/libm-test.inc (catan_test): Add more tests.
29432 (catanh_test): Likewise.
29433
29434 [BZ #15405]
29435 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29436 underflowed result.
29437 * math/s_ccoshf.c (__ccoshf): Likewise.
29438 * math/s_ccoshl.c (__ccoshl): Likewise.
29439 * math/s_csin.c (__csin): Likewise.
29440 * math/s_csinf.c (__csinf): Likewise.
29441 * math/s_csinh.c (__csinh): Likewise.
29442 * math/s_csinhf.c (__csinhf): Likewise.
29443 * math/s_csinhl.c (__csinhl): Likewise.
29444 * math/s_csinl.c (__csinl): Likewise.
29445 * math/libm-test.inc (ccos_test): Add more tests.
29446 (ccosh_test): Likewise.
29447 (csin_test): Likewise.
29448 (csinh_test): Likewise.
29449
29450 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29451
29452 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29453 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29454 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29455 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29456 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29457 powerpc/power5+/fpu folders.
29458 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29459
29460
29461 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29462
29463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29464
29465 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29466
29467 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29468 additions to variable.
29469 [$(config-machine) = x86_64] (modules-names): Likewise.
29470 ($(objpfx)tst-audit3): Remove dependency.
29471 ($(objpfx)tst-audit3.out): Likewise.
29472 ($(objpfx)tst-audit4): Likewise.
29473 ($(objpfx)tst-audit4.out): Likewise.
29474 ($(objpfx)tst-audit5): Likewise.
29475 ($(objpfx)tst-audit5.out): Likewise.
29476 ($(objpfx)tst-audit6): Likewise.
29477 ($(objpfx)tst-audit6.out): Likewise.
29478 ($(objpfx)tst-audit7): Likewise.
29479 ($(objpfx)tst-audit7.out): Likewise.
29480 (tst-audit3-ENV): Remove variable.
29481 (tst-audit4-ENV): Likewise.
29482 (tst-audit5-ENV): Likewise.
29483 (tst-audit6-ENV): Likewise.
29484 (tst-audit7-ENV): Likewise.
29485 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29486 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29487 addition to variable.
29488 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29489 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29490 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29491 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29492 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29493 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29494 tst-audit3, tst-audit4 and tst-audit5.
29495 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29496 tst-audit6 and tst-audit7.
29497 [$(subdir) = elf] (modules-names): Add audit modules for those
29498 tests.
29499 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29500 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29501 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29502 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29503 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29504 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29505 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29506 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29507 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29508 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29509 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29510 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29511 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29512 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29513 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29514 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29515 Likewise.
29516 [$(subdir) = elf && $(config-cflags-avx) = yes]
29517 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29518 [$(subdir) = elf && $(config-cflags-avx) = yes]
29519 (CFLAGS-tst-auditmod4a.c): Likewise.
29520 [$(subdir) = elf && $(config-cflags-avx) = yes]
29521 (CFLAGS-tst-auditmod4b.c): Likewise.
29522 [$(subdir) = elf && $(config-cflags-avx) = yes]
29523 (CFLAGS-tst-auditmod6b.c): Likewise.
29524 [$(subdir) = elf && $(config-cflags-avx) = yes]
29525 (CFLAGS-tst-auditmod6c.c): Likewise.
29526 [$(subdir) = elf && $(config-cflags-avx) = yes]
29527 (CFLAGS-tst-auditmod7b.c): Likewise.
29528 * elf/tst-audit3.c: Move to ...
29529 * sysdeps/x86_64/tst-audit3.c: ... here.
29530 * elf/tst-audit4.c: Move to ...
29531 * sysdeps/x86_64/tst-audit4.c: ... here.
29532 * elf/tst-audit5.c: Move to ...
29533 * sysdeps/x86_64/tst-audit5.c: ... here.
29534 * elf/tst-audit6.c: Move to ...
29535 * sysdeps/x86_64/tst-audit6.c: ... here.
29536 * elf/tst-audit7.c: Move to ...
29537 * sysdeps/x86_64/tst-audit7.c: ... here.
29538 * elf/tst-auditmod3a.c: Move to ...
29539 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29540 * elf/tst-auditmod3b.c: Move to ...
29541 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29542 * elf/tst-auditmod4a.c: Move to ...
29543 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29544 * elf/tst-auditmod4b.c: Move to ...
29545 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29546 * elf/tst-auditmod5a.c: Move to ...
29547 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29548 * elf/tst-auditmod5b.c: Move to ...
29549 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29550 * elf/tst-auditmod6a.c: Move to ...
29551 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29552 * elf/tst-auditmod6b.c: Move to ...
29553 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29554 * elf/tst-auditmod6c.c: Move to ...
29555 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29556 * elf/tst-auditmod7a.c: Move to ...
29557 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29558 * elf/tst-auditmod7b.c: Move to ...
29559 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29560
29561 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29562
29563 [BZ #15366]
29564 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29565 define unconditionally.
29566 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29567 define unconditionally.
29568 (INT8_C, INT16_C, etc.): Likewise.
29569
29570 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29571
29572 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29573 __ehdr_start with hidden visibility.
29574
29575 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29576
29577 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29578
29579 * math/libm-test.inc (cos_test): Use accurate hex constants.
29580 (sincost_test): Likewise.
29581
29582 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29583
29584 * math/libm-test.inc (catan_test): Add more tests.
29585 (catanh_test): Likewise.
29586
29587 * math/s_catanf.c (__catanf): Use suffixed floating-point
29588 constants.
29589 * math/s_catanhf.c (__catanhf): Likewise.
29590 * math/s_catanhl.c (__catanhl): Likewise.
29591 * math/s_catanl.c (__catanl): Likewise.
29592
29593 [BZ #15394]
29594 * math/s_catan.c (__catan): Calculate imaginary part of result
29595 with log1p not log unless computing log of number close to 0.
29596 * math/s_catanf.c (__catanf): Likewise.
29597 * math/s_catanl.c (__catanl): Likewise.
29598 * math/s_catanh.c (__catanh): Calculate real part of result with
29599 log1p not log unless computing log of number close to 0.
29600 * math/s_catanhf.c (__catanhf): Likewise.
29601 * math/s_catanhl.c (__catanhl): Likewise.
29602 * math/libm-test.inc (catan_test): Add more tests.
29603 (catanh_test): Likewise.
29604 * sysdeps/i386/fpu/libm-test-ulps: Update.
29605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29606
29607 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29608
29609 * benchtests/Makefile: Mention files in which fast and slow
29610 paths of math functions are implemented.
29611
29612 2013-04-23 Roland McGrath <roland@hack.frob.com>
29613
29614 * sysdeps/posix/timespec_get.c: New file.
29615
29616 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29617
29618 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29619 POWER.
29620 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29621 for POWER.
29622 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29623 powerpc/power5/fpu folders.
29624 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29625 * benchtests/Makefile: Add modf testcase.
29626 * benchtests/bench-modf.c: New file: Benchmark test for mo
29627
29628 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29629
29630 [BZ #14888]
29631 * time/Makefile (tests): Add tst-strptime-whitespace.
29632 * time/strptime_l.c (get_number): Use ISSPACE.
29633 (__strptime_internal): Likewise.
29634 * time/tst-strptime-whitespace.c: New test case.
29635
29636 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29637
29638 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29639 member.
29640 (_nss_files_init): Set it here.
29641
29642 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29643
29644 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29645 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29646 unsigned.
29647
29648 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29649
29650 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29651
29652 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29653
29654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29655 size just once.
29656
29657 2013-04-21 David S. Miller <davem@davemloft.net>
29658
29659 * po/ru.po: Update Russion translation from translation project.
29660
29661 2013-04-17 Adam Conrad <adconrad@0c3.net>
29662
29663 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29664 and setfsgid.
29665
29666 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29667
29668 * configure.in: Remove i386 configure warning. Remove i386 case.
29669 * configure: Regenerate.
29670 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29671 Add example to error message.
29672 * sysdeps/i386/configure: Regenerate.
29673
29674 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29675
29676 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29677 slowtan.
29678 * benchtests/cos-inputs: New file.
29679 * benchtests/slowcos-inputs: New file.
29680 * benchtests/slowcos.c: New file.
29681 * benchtests/slowtan-inputs: New file.
29682 * benchtests/slowtan.c: New file.
29683 * benchtests/tan-inputs: New file.
29684
29685 2013-04-16 Roland McGrath <roland@hack.frob.com>
29686
29687 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29688 considered kosher.
29689
29690 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29691
29692 * benchtests/Makefile: Include cppflags-iterator.mk to add
29693 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29694
29695 * Makefile.in (bench-clean): New target.
29696 * benchtests/Makefile (bench-clean): Likewise.
29697
29698 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29699
29700 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29701
29702 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29703
29704 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29705
29706 2013-04-15 Andreas Schwab <schwab@suse.de>
29707
29708 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29710 * nscd/pwdcache.c (cache_addpw): Likewise.
29711 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29712 more than recsize.
29713
29714 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29715
29716 * benchtests/Makefile (bench): Write all output to
29717 bench-out.tmp together.
29718
29719 2013-04-15 Andreas Schwab <schwab@suse.de>
29720
29721 * nscd/nscd.c (main): Don't fork again after closing files.
29722
29723 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29724
29725 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29726
29727 * benchtests/Rules (bench-deps): Collect dependencies into a
29728 single variable. Add Makefile to dependencies.
29729 ($(objpfx)bench-%.c): Depend on bench-deps.
29730
29731 2013-04-12 Roland McGrath <roland@hack.frob.com>
29732 Xavier Roche <roche+kml2@exalead.com>
29733
29734 [BZ #15361]
29735 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29736 just that it's a file descriptor.
29737 * manual/llio.texi (Synchronizing AIO Operations): Update description
29738 for EBADF error from aio_fsync.
29739
29740 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29741
29742 * Rules (bench): Move target definition...
29743 * benchtests/Makefile: ... here.
29744
29745 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29746
29747 * math/libm-test.inc (cos_test): Fix PI/2 test.
29748 (sincos_test): Likewise.
29749 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29750 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29751
29752 2013-04-11 Andreas Schwab <schwab@suse.de>
29753
29754 [BZ #13988]
29755 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29756 accept exponent character only when digits were seen.
29757 * stdio-common/Makefile (tests): Add bug26.
29758 * stdio-common/bug26.c: New file.
29759
29760 [BZ #14293]
29761 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29762 non-freeable.
29763
29764 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29765
29766 * Makeconfig (rtld-prefix): Define built linker prefix.
29767 * Rules (run-bench): Use it.
29768 * math/Makefile (run-regen-ulps): Likewise.
29769
29770 * Rules (bench): Remove eval.
29771
29772 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29773 Roland McGrath <roland@hack.frob.com>
29774 Ondrej Bilka <neleai@seznam.cz>
29775
29776 [BZ #15346]
29777 * time/getdate.c: Include ctype.h and alloca.h.
29778 (__getdate_r): Trim leading and trailing spaces of input.
29779 * time/tst-getdate.c (tests): Add tests with leading and
29780 trailing spaces.
29781
29782 2013-04-08 Roland McGrath <roland@hack.frob.com>
29783
29784 [BZ #14280]
29785 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29786 when computing value.
29787
29788 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29789
29790 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29791 Use testrun.sh to run libm tests.
29792
29793 [BZ #15309]
29794 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29795
29796 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29797
29798 [BZ #15264]
29799 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29800
29801 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29802
29803 * Makefile.in (regen-ulps): New target.
29804 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29805 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29806 [ifneq (no,$(PERL)] (regen-ulps): New target.
29807 [ifeq (no,$(PERL)] (regen-ulps): New target.
29808 * math/libm-test.inc (ulps_file_name): Define.
29809 (output_dir): New variable.
29810 (options): Add "output-dir" option.
29811 (parse_opt): Handle 'o' case.
29812 (main): If output_dir is non-NULL use it as a prefix
29813 otherwise use "".
29814 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29815
29816 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29817
29818 [BZ #10060, #10062]
29819 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29820 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29821 fail configure if __sync_val_compare_and_swap is not inlined.
29822 * sysdeps/i386/configure: Regenerate.
29823 * configure.in: Build for i686 when configured for i386.
29824 * configure: Regenerate.
29825 * README: Remove i386 reference.
29826
29827 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29828
29829 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29830 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29831
29832 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29833
29834 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29835 (lmsnanval): New variables.
29836 (F): Add conversion tests.
29837 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29838 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29839
29840 * stdio-common/tstdiomisc.c (F): Properly collect individual
29841 tests' results.
29842
29843 [BZ #14686, #15336]
29844 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29845 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29846 Instead, use input NaN values or generate a qNaN by arithmetic
29847 operation. Also fix bugs to comply with the standard.
29848 * math/libm-test.inc (remainder_test): Add more tests.
29849
29850 [BZ #15335, #15342]
29851 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29853 input NaN values or generate a qNaN by arithmetic operation.
29854
29855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29856 unreachable code.
29857
29858 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29859 definitions.
29860
29861 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29862
29863 [BZ #14478]
29864 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29865 underflowed result.
29866 * math/s_cexpf.c (__cexpf): Likewise.
29867 * math/s_cexpl.c (__cexpl): Likewise.
29868 * math/libm-test.inc (cexp_test): Add more tests.
29869
29870 2013-04-03 Andreas Schwab <schwab@suse.de>
29871
29872 [BZ #15330]
29873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29874 order arrays from heap if bigger than alloca cutoff.
29875
29876 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29877
29878 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29879 (SNAN_TESTS_double): Refer to GCC PR56831.
29880 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29881 GCC PR56828.
29882
29883 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29884
29885 * Rules (bench): Move bench.out after the run is complete.
29886
29887 * Rules (bench): Echo currently running benchmark.
29888
29889 * benchtests/Makefile (bench): Add atan and slowatan.
29890 * benchtests/atan-inputs: New file.
29891 * benchtests/slowatan-inputs: New file.
29892 * benchtests/slowatan.c: New file.
29893
29894 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29896 its value.
29897
29898 [BZ #15305]
29899 * sysdeps/unix/sysv/linux/kernel-features.h
29900 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29901 __ASSUME_XFS_RESTRICTED_CHOWN.
29902 * sysdeps/unix/sysv/linux/pathconf.c
29903 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29904 Save and restore errno.
29905
29906 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29907
29908 [BZ #15327]
29909 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29910 arguments using __kernel_casinh.
29911 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29912 arguments using __kernel_casinhf.
29913 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29914 arguments using __kernel_casinhl.
29915 * math/libm-test.inc (cacosh_test): Add more tests.
29916 * sysdeps/i386/fpu/libm-test-ulps: Update.
29917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29918
29919 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29920
29921 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29923
29924 * bench/Makefile (bench): Add sin and slowsin.
29925 * benchtests/sin-inputs: New file.
29926 * benchtests/slowsin-inputs: New file.
29927 * benchtests/slowsin.c: New file.
29928
29929 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29930 (bench): Add slowexp and slowpow.
29931 (exp-ITER): Increase iterations.
29932 (pow-ITER): Likewise.
29933 * benchtests/exp-inputs: Change input.
29934 * benchtests/pow-inputs: Likewise.
29935 * benchtests/slowexp-inputs: New file.
29936 * benchtests/slowexp.c: New file.
29937 * benchtests/slowpow-inputs: New file.
29938 * benchtests/slowpow.c: New file.
29939
29940 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29941
29942 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29943 instructions.
29944 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29945 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29946 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29947 * benchtests/Makefile: Add rint benchtest.
29948 * benchtests/rint-inputs: Input for rint benchtest.
29949
29950 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29951
29952 * Versions.def (libm): Add GLIBC_2.18.
29953 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29954 hidden libm prototypes.
29955 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29956 * math/Makefile (libm-calls): Add s_issignaling.
29957 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29958 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29959 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29960 declaration.
29961 * math/math.h [__USE_GNU] (issignaling): New macro.
29962 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29963 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29964 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29965 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29968 * manual/arith.texi (issignaling): New section.
29969 * manual/libm-err-tab.pl (@all_functions): Update comment.
29970 * math/gen-libm-test.pl (parse_args): Apply special handling for
29971 issignaling.
29972 * math/libm-test.inc (print_float, issignaling_test): New
29973 functions.
29974 (check_float_internal): Add issignaling checks.
29975 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29976 default definition.
29977 * sysdeps/powerpc/math-tests.h: New file.
29978 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29979 tests.
29980 * math/test-snan.c (TEST_FUNC): Likewise.
29981
29982 2013-03-30 David S. Miller <davem@davemloft.net>
29983
29984 * po/de.po: Update from translation team.
29985
29986 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29987
29988 [BZ #10357]
29989 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29990 imaginary part less than 1.0 and real part less than 0.5
29991 specially.
29992 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29993 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29994 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29995 (cacos_test): Add more tests.
29996 (casin_test): Likewise.
29997 (casinh_test): Likewise.
29998 * sysdeps/i386/fpu/libm-test-ulps: Update.
29999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30000
30001 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30002
30003 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30004 ONE with its value.
30005
30006 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30007 (__pow_mp): Replace ONE and MONE with their values.
30008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30009 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30010 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30011 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30012 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30013 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30014
30015 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30016
30017 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30018 (__pow_mp): Replace ZERO and MZERO with their values.
30019 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30021 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30023 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30024 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30025 (__sqr): Likewise.
30026
30027 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30028
30029 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30030
30031 2013-03-28 Roland McGrath <roland@hack.frob.com>
30032
30033 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30034 Declare with __attribute__ ((weak)).
30035 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30036 Call __call_tls_dtors only if it's not NULL.
30037
30038 2013-03-28 Roland McGrath <roland@hack.frob.com>
30039
30040 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30041 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30042 magic __ehdr_start linker symbol if it's defined.
30043 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30044 them up here if it was already done.
30045
30046 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30047 (_dl_aux_init): Use const in cast when setting it.
30048 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30049 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30050 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30051
30052 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30053 Declare them here.
30054 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30055 * csu/libc-tls.c: Nor here.
30056 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30057
30058 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30059 (__libc_message): Never call vsyslog.
30060
30061 2013-03-28 Alan Modra <amodra@gmail.com>
30062
30063 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30064 Define as empty.
30065 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30066 Likewise.
30067
30068 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30069
30070 [BZ #15214]
30071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30072 underflow.
30073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30074
30075 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30076
30077 [BZ #15304]
30078 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30079 Don't add gid passed as argument.
30080
30081 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30082
30083 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30084
30085 [BZ #15307]
30086 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30087 imaginary part between 1.0 and 1.5 and real part less than 0.5
30088 specially.
30089 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30090 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30091 * math/libm-test.inc (cacos_test): Add more tests.
30092 (casin_test): Likewise.
30093 (casinh_test): Likewise.
30094 * sysdeps/i386/fpu/libm-test-ulps: Update.
30095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30096
30097 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30098
30099 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30100 constants.
30101 (norm): Likewise.
30102 (denorm): Likewise.
30103 (__dbl_mp): Likewise.
30104 (add_magnitudes): Likewise.
30105 (sub_magnitudes): Likewise.
30106 (__add): Likewise.
30107 (__sub): Likewise.
30108 (__mul): Likewise.
30109 (__sqr): Likewise.
30110 (__inv): Likewise.
30111 (__dvd): Likewise.
30112
30113 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30114 commented code.
30115 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30116 (__dubcos): Likewise.
30117 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30118 (__ieee754_acos): Likewise.
30119 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30120 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30121 (__exp1): Likewise.
30122 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30124 (log1): Likewise.
30125 (my_log2): Likewise.
30126 (checkint): Likewise.
30127 * sysdeps/ieee754/dbl-64/e_remainder.c
30128 (__ieee754_remainder): Likewise.
30129 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30131 (bsloww): Likewise.
30132 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30133
30134 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30135 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30136 MANTISSA_STORE_T to store computations on mantissa. Use
30137 macros for rounding and division.
30138 (denorm): Likewise.
30139 (__dbl_mp): Likewise.
30140 (add_magnitudes): Likewise.
30141 (sub_magnitudes): Likewise.
30142 (__mul): Likewise.
30143 (__sqr): Likewise.
30144 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30145 powers of two in terms of TWOPOW macro.
30146 (mp_no): Make type of mantissa as MANTISSA_T.
30147 [!RADIXI]: Define RADIXI.
30148 [!TWO52]: Define TWO52.
30149 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30150
30151 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30152
30153 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30154 llroundl symbol when building for PPC32.
30155
30156 2013-03-24 Mark H Weaver <mhw@netris.org>
30157
30158 * manual/arith.texi (Normalization Functions): Fix prototypes for
30159 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30160
30161 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30162
30163 [BZ #13889]
30164 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30165 high value to check if expl overflow.
30166 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30167 to check for underflow and overflow.
30168 * math/libm-test.inc: Add exp test.
30169
30170 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30171
30172 [BZ #11120]
30173 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30174 with NOT_IN_libc.
30175
30176 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30177
30178 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30179 symbol.
30180
30181 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30182
30183 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30184 wrap blocks consisting of several statements.
30185
30186 * sysdeps/generic/math-tests.h: New file.
30187 * sysdeps/i386/fpu/math-tests.h: Likewise.
30188 * math/test-snan.c: Include it.
30189 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30190
30191 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30192
30193 [BZ #15285]
30194 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30195 (__ieee754_j0l): Do not improve calculations using cos of twice
30196 input for inputs above LDBL_MAX / 2.0L.
30197 (__ieee754_y0l): Likewise.
30198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30199 (__ieee754_j1l): Do not improve calculations using cos of twice
30200 input for inputs above LDBL_MAX / 2.0L.
30201 (__ieee754_y1l): Likewise.
30202 * math/libm-test.inc (j0_test): Add another test.
30203 (j1_test): Likewise.
30204 (y0_test): Likewise.
30205 (y1_test): Likewise.
30206 * sysdeps/i386/fpu/libm-test-ulps: Update.
30207
30208 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30209
30210 * Rules ($(objpfx)bench-%.c): Include code from a C source
30211 file.
30212
30213 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30214
30215 [BZ #15287]
30216 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30217 imaginary part 1.0 and real part less than 0.5 specially.
30218 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30219 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30220 * math/libm-test.inc (cacos_test): Add more tests.
30221 (casin_test): Likewise.
30222 (casinh_test): Likewise.
30223 * sysdeps/i386/fpu/libm-test-ulps: Update.
30224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30225
30226 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30227
30228 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30229 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30230
30231 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30232
30233 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30234 * config.make.in (config-cflags-sse4): Remove variable.
30235 (config-cflags-avx): Likewise.
30236 (config-cflags-sse2avx): Likewise.
30237 (config-cflags-novzeroupper): Likewise.
30238 (config-asflags-i686): Likewise.
30239 (have-mfma4): Likewise.
30240 (have-as-vis3): Likewise.
30241 (MIG): Likewise.
30242 * configure.in (MIG): Do not AC_SUBST.
30243 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30244 (libc_cv_cc_sse4): Do not AC_SUBST.
30245 (libc_cv_cc_avx): Likewise.
30246 (libc_cv_cc_sse2avx): Likewise.
30247 (libc_cv_cc_novzeroupper): Likewise.
30248 (libc_cv_cc_fma4): Likewise.
30249 (libc_cv_as_i686): Likewise.
30250 (libc_cv_sparc_as_vis3): Likewise.
30251 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30252 LIBC_CONFIG_VAR.
30253 (config-asflags-i686): Likewise.
30254 (config-cflags-avx): Likewise.
30255 (config-cflags-sse2avx): Likewise.
30256 (have-mfma4): Likewise.
30257 (config-cflags-novzeroupper): Likewise.
30258 * sysdeps/mach/configure.in (MIG): Likewise.
30259 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30260 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30261 LIBC_CONFIG_VAR.
30262 (config-cflags-avx): Likewise.
30263 (config-cflags-sse2avx): Likewise.
30264 (have-mfma4): Likewise.
30265 (config-cflags-novzeroupper): Likewise.
30266 * configure: Regenerated.
30267 * sysdeps/i386/configure: Likewise.
30268 * sysdeps/mach/configure: Likewise.
30269 * sysdeps/sparc/configure: Likewise.
30270 * sysdeps/x86_64/configure: Likewise.
30271
30272 2013-03-20 Roland McGrath <roland@hack.frob.com>
30273
30274 [BZ #14812]
30275 * locale/programs/localedef.c (options): Put N_ translation marker
30276 on argument names, not just descriptions.
30277
30278 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30279
30280 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30281
30282 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30283
30284 [BZ #14176]
30285 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30286
30287 2013-03-19 Roland McGrath <roland@hack.frob.com>
30288
30289 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30290 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30291 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30292 [!BEFORE_ABORT] (before_abort): New function.
30293 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30294 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30295 (writev_for_fatal): New function.
30296 (WRITEV_FOR_FATAL): New macro; call that.
30297 (backtrace_and_maps): New function.
30298 (BEFORE_ABORT): New macro; call that.
30299 (struct str_list): Type removed.
30300 (__libc_message, __libc_fatal): Functions removed.
30301 Include <sysdeps/posix/libc_fatal.c> instead.
30302
30303 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30304
30305 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30306 constants.
30307 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30308 double constants.
30309
30310 2013-03-19 Andreas Schwab <schwab@suse.de>
30311
30312 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30313 * sysdeps/gnu/configure: Regenerate.
30314
30315 * configure.in: Substitute libc_cv_rtlddir.
30316 * configure: Regenerate.
30317 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30318 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30319 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30320 * elf/Makefile (install-others, CFLAGS-interp.c)
30321 (ldso_install, common-ldd-rewrite): Likewise.
30322 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30323 $(inst_slibdir)/$(rtld-installed-name).
30324 * scripts/rellns-sh: Add -p option.
30325 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30326 for source.
30327
30328 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30329
30330 * manual/nptl.texi: Renamed to ...
30331 * manual/threads.texi: ... this.
30332 * manual/Makefile (chapters): Update.
30333
30334 2013-03-18 Roland McGrath <roland@hack.frob.com>
30335
30336 [BZ #14812]
30337 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30338 on argument names, not just descriptions.
30339 * malloc/memusagestat.c (options): Likewise.
30340 * nss/getent.c (options): Likewise.
30341
30342 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30343
30344 [BZ #14812]
30345 * iconv/iconv_prog.c (options): Put N_ translation marker
30346 on argument names, not just descriptions.
30347 * iconv/iconvconfig.c (options): Likewise.
30348
30349 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30350
30351 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30352 implementation which is faster on all x86_64 architectures.
30353 Tested on AMD, Intel Nehalem, SNB, IVB.
30354 * sysdeps/x86_64/strnlen.S: Likewise.
30355
30356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30357 Remove all multiarch strlen and strnlen versions.
30358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30359 Remove strlen and strnlen related parts.
30360
30361 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30362 Inline strlen part.
30363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30364
30365 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30366 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30367 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30368 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30369 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30370 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30371
30372 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30373
30374 * manual/memory.texi (Malloc Tunable Parameters):
30375 Sort parameters alphabetically. Add comments for missing entries.
30376
30377 2013-03-17 David S. Miller <davem@davemloft.net>
30378
30379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30380
30381 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30382
30383 [BZ #15283]
30384 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30385 for arguments at most half maximum finite value.
30386 * math/libm-test.inc (j0_test): Add more tests.
30387 (j1_test): Likewise.
30388 (y0_test): Likewise.
30389 (y1_test): Likewise.
30390 * sysdeps/i386/fpu/libm-test-ulps: Update.
30391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30392
30393 [BZ #14155]
30394 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30395 1 / x and functions P and Q for arguments above 0x1p256L.
30396 (__ieee754_y0l): Likewise.
30397 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30398 (__ieee754_y1l): Likewise.
30399 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30400 (j1_test): Likewise.
30401 (y0_test): Likewise.
30402 (y1_test): Likewise.
30403
30404 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30405
30406 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30407 variable.
30408
30409 2013-03-15 Roland McGrath <roland@hack.frob.com>
30410
30411 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30412 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30413 zero since it's initialized to EXEC_PAGESIZE.
30414
30415 * sysdeps/unix/sysv/linux/ldsodefs.h
30416 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30417 * sysdeps/generic/ldsodefs.h: ... here.
30418
30419 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30420
30421 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30422
30423 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30424 math/test-snan.c.
30425 * math/test-snan.c: Renamed from
30426 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30427 * math/Makefile (tests): Add test-snan.
30428 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30429 test-powerpc-snan.
30430
30431 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30432 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30433 functions.
30434 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30435 __builtin_nan family of functions.
30436 * math/libm-test.inc (initialize): Initialize qnan_value with
30437 __builtin_nan family of functions.
30438 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30439 Remove variables.
30440 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30441 Remove functions.
30442 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30443 storage class. Initialize qNaN_var and sNaN_var with
30444 __builtin_nan and __builtin_nans families of functions,
30445 respectively.
30446
30447 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30448 (sqrt_test): Remove duplicate test with qNaN input.
30449 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30450 (round_test, signbit_test, significand_test): Note missing +/-Inf
30451 as well as qNaN tests.
30452
30453 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30454 qNaN_var. Fix a few strings, too.
30455 * math/libm-test.inc (nan_value): Rename to qnan_value.
30456 * math/gen-libm-test.pl (%beautify): Adjust to that.
30457 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30458 * math/test-misc.c (main): Likewise.
30459 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30460 to __qnan_bytes, and __qnan_union, respectively.
30461 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30462 Likewise.
30463 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30464 and lqnanval, respectively.
30465 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30466 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30467 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30468 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30469
30470 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30471 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30472 doubles.
30473
30474 * math/test-misc.c (main): Fix copy'n'pastos.
30475 * misc/tst-efgcvt.c (special): Likewise.
30476
30477 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30478 Remove declarations.
30479
30480 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30481
30482 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30483 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30484 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30485 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30486
30487 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30488
30489 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30490 macro to return vdso values correctly in IFUNC implementations.
30491 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30492 Optimization by using IFUNC.
30493
30494 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30495 Richard Henderson <rth@redhat.com>
30496 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30497
30498 * Makefile.in (bench): New target.
30499 * NEWS: Mention the benchmark framework.
30500 * Rules (bench): Likewise.
30501 (binaries-bench): Generate binaries for functions to
30502 benchmark.
30503 * benchtests/Makefile: New makefile for benchmark tests.
30504 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30505 programs.
30506 * benchtests/exp-inputs: New input file for EXP function.
30507 * benchtests/pow-inputs: New input file for POW function.
30508 * scripts/bench.pl: New script to generate source files for
30509 benchmark programs.
30510
30511 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30512
30513 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30514 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30515 computations on mantissa. Use macros for rounding and
30516 division.
30517 (denorm): Likewise.
30518 (__dbl_mp): Likewise.
30519 (add_magnitudes): Likewise.
30520 (sub_magnitudes): Likewise.
30521 (__mul): Likewise.
30522 (__sqr): Likewise.
30523 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30524 powers of two in terms of TWOPOW macro.
30525 (mp_no): Make type of mantissa as MANTISSA_T.
30526 [!RADIXI]: Define RADIXI.
30527 [!TWO52]: Define TWO52.
30528 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30529
30530 * manual/nptl.texi (cindex): Modify threads to pthreads.
30531
30532 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30533
30534 * sysdeps/x86_64/preconfigure: Regenerated.
30535
30536 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30537
30538 [BZ #14155]
30539 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30540 0x1p28 and above.
30541 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30542 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30543 0x1p28 and above.
30544 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30545 * math/libm-test.inc (j0_test): Do not allow one spurious
30546 underflow exception.
30547 (y1_test): Likewise.
30548
30549 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30550
30551 * manual/Makefile (chapters): Add nptl.
30552 * manual/debug.texi (Debugging Support): Add link to Threads
30553 chapter.
30554 * manual/nptl.texi: New file.
30555
30556 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30557
30558 2013-03-14 Petr Baudis <pasky@ucw.cz>
30559
30560 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30561 for non-NULL pointer before the memory validity test. Pointed
30562 out by Holger Brunck <holger.brunck@keymile.com>.
30563
30564 2013-03-13 Andreas Schwab <schwab@suse.de>
30565
30566 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30567 instead of .os.
30568
30569 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30570
30571 * timezone/zic.c: Update from tzcode 2013b.
30572
30573 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30574
30575 * manual/install.texi (Configuring and compiling):
30576 Mention i686 and i586.
30577 * INSTALL: Regenerate.
30578
30579 2013-03-12 Roland McGrath <roland@hack.frob.com>
30580
30581 * sysdeps/init_array/elf-init.c: New file.
30582 * csu/elf-init.c
30583 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30584 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30585
30586 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30587 __gmon_start__ as global, but as static with a .preinit_array pointer.
30588 * sysdeps/init_array/gmon-start.c: New file. Use that.
30589 * sysdeps/init_array/crti.S: New file, empty except for comments.
30590 * sysdeps/init_array/crtn.S: Likewise.
30591
30592 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30593
30594 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30595 definining bcopy.
30596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30597 Remove Prefer_SSE_for_memop.
30598 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30599 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30600 HAS_PREFER_SSE_FOR_MEMOP.
30601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30602 memset-x86-64.
30603 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30604 Remove bzero, memset ifunc support.
30605 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30606 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30607 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30608 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30609
30610 2013-03-11 Andreas Schwab <schwab@suse.de>
30611
30612 [BZ #15234]
30613 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30614 by SHLIB_COMPAT.
30615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30616 (GLIBC_2.16): Remove pthread_atfork.
30617
30618 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30619
30620 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30621 (ptestcases.h): Likewise.
30622
30623 2013-03-08 Roland McGrath <roland@hack.frob.com>
30624
30625 * Makeconfig ($(common-objpfx)config.status): Depend on
30626 sysdeps/*/preconfigure{,.in} too.
30627
30628 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30629
30630 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30631 (__free_hook): Use void * instead of __malloc_ptr_t.
30632 (__malloc_hook): Likewise.
30633 (__realloc_hook): Likewise.
30634 (__memalign_hook): Likewise.
30635 (__after_morecore_hook): Likewise.
30636 * malloc/arena.c (save_malloc_hook): Likewise.
30637 (save_free_hook): Likewise.
30638 * malloc/hooks.c (malloc_hook_ini): Likewise.
30639 (realloc_hook_ini): Likewise.
30640 (memalign_hook_ini): Likewise.
30641 * malloc/malloc.c (malloc_hook_ini): Likewise.
30642 (realloc_hook_ini): Likewise.
30643 (memalign_hook_ini): Likewise.
30644 (__free_hook): Likewise.
30645 (__malloc_hook): Likewise.
30646 (__realloc_hook): Likewise.
30647 (__memalign_hook): Likewise.
30648 (__libc_malloc): Likewise.
30649 (__libc_free): Likewise.
30650 (__libc_realloc): Likewise.
30651 (__libc_memalign): Likewise.
30652 (__libc_valloc): Likewise.
30653 (__libc_pvalloc): Likewise.
30654 (__libc_calloc): Likewise.
30655 (__posix_memalign): Likewise.
30656 * malloc/morecore.c (__sbrk): Likewise.
30657 (__default_morecore): Likewise.
30658
30659 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30660
30661 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30662 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30663 __malloc_ptrdiff_t.
30664
30665 * malloc/malloc.h (__malloc_size_t): Remove macro.
30666 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30667 __malloc_size_t.
30668 (old_memalign_hook): Likewise.
30669 (old_realloc_hook): Likewise.
30670 (struct hdr): Likewise.
30671 (flood): Likewise.
30672 (mallochook): Likewise.
30673 (memalignhook): Likewise.
30674 (reallochook): Likewise.
30675 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30676 (tr_old_realloc_hook): Likewise.
30677 (tr_old_memalign_hook): Likewise.
30678 (tr_mallochook): Likewise.
30679 (tr_reallochook): Likewise.
30680 (tr_memalignhook): Likewise.
30681
30682 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30683
30684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30685 default_ldbl_pack and using as default implementation.
30686 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30687 implementation.
30688 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30689 redundant definition.
30690 (ldbl_insert_mantissa): Likewise.
30691 (ldbl_canonicalize): Likewise.
30692 (ldbl_nearbyint): Likewise.
30693 (ldbl_pack): Rename to ldbl_pack_ppc.
30694 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30695 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30696 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30697
30698 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30699
30700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30701 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30702 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30703 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30706 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30707 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30708
30709 2013-03-07 Andreas Jaeger <aj@suse.de>
30710
30711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30712 bits/mman-linux.h.
30713
30714 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30715
30716 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30717 Include mpa.h and declare __MPEXP.
30718 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30719 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30720 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30721 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30722 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30723 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30724 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30725
30726 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30727 (__slowpow): Use long double EXPL and LOGL functions to
30728 compute POW.
30729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30730 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30731 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30733 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30734 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30735
30736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30737 intermediate variable to calculate exponent.
30738 (__sqr): Likewise.
30739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30740 Likewise.
30741 (__sqr): Likewise.
30742
30743 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30744 [!NO__SQR]: Define __sqr.
30745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30746 and NO__SQR. Remove all code except __mul and __sqr. Include
30747 sysdeps/ieee754/dbl-64/mpa.c.
30748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30749
30750 [BZ #12723]
30751 * posix/Makefile (tests): Add tst-pathconf.
30752 * posix/tst-pathconf.c: New test case.
30753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30754 _PC_PIPE_BUF.
30755 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30756
30757 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30758
30759 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30760
30761 2013-03-06 Andreas Jaeger <aj@suse.de>
30762
30763 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30764 definition via __MAP_ANONYMOUS.
30765
30766 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30767 it's not part of Linux headers.
30768
30769 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30770 (MAP_HUGE_MASK): Define.
30771
30772 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30773 Define.
30774 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30776 Define.
30777 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30778 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30779 Define.
30780 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30782 Define.
30783 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30784
30785 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30786 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30787 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30788 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30789 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30790 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30791
30792 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30793 Handle f2fs.
30794
30795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30796 Handle f2fs and efivarfs.
30797
30798 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30799 f2fs.
30800
30801 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30802 (EFIVARFS_MAGIC): Add.
30803 (F2FS_LINK_MAX): Add.
30804
30805 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30806
30807 * stdio-common/vfprintf.c: Replace __builtin_expect with
30808 __glibc_unlikely.
30809
30810 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30811
30812 [BZ #13550]
30813 * sysdeps/generic/bp-sym.h: Remove file.
30814 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30815 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30816 <bp-sym.h> and <bp-asm.h>.
30817 (__longjmp): Don't use BP_SYM.
30818 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30819 and <bp-asm.h>.
30820 (memcpy): Don't use BP_SYM.
30821 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30822 <bp-sym.h> and <bp-asm.h>.
30823 (memcpy): Don't use BP_SYM.
30824 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30825 <bp-asm.h>.
30826 (memcpy): Don't use BP_SYM.
30827 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30828 <bp-asm.h>.
30829 (memset): Don't use BP_SYM.
30830 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30831 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30832 (__bzero): Don't use BP_SYM.
30833 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30834 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30835 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30836 <bp-sym.h> and <bp-asm.h>.
30837 (memcmp): Don't use BP_SYM. Remove comment about bounded
30838 pointers.
30839 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30840 <bp-sym.h> and <bp-asm.h>.
30841 (memcpy): Don't use BP_SYM.
30842 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30843 <bp-sym.h> and <bp-asm.h>.
30844 (memset): Don't use BP_SYM.
30845 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30846 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30847 (__bzero): Don't use BP_SYM.
30848 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30849 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30850 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30851 <bp-sym.h> and <bp-asm.h>.
30852 (strncmp): Don't use BP_SYM. Remove comment about bounded
30853 pointers.
30854 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30855 <bp-sym.h> and <bp-asm.h>.
30856 (memcpy): Don't use BP_SYM.
30857 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30858 <bp-sym.h> and <bp-asm.h>.
30859 (memset): Don't use BP_SYM.
30860 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30861 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30862 (__bzero): Don't use BP_SYM.
30863 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30864 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30866 <bp-sym.h> and <bp-asm.h>.
30867 (__memchr): Don't use BP_SYM.
30868 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30869 <bp-sym.h> and <bp-asm.h>.
30870 (memcmp): Don't use BP_SYM. Remove comment about bounded
30871 pointers.
30872 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30873 <bp-sym.h> and <bp-asm.h>.
30874 (memcpy): Don't use BP_SYM.
30875 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30876 <bp-sym.h> and <bp-asm.h>.
30877 (__mempcpy): Don't use BP_SYM.
30878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30879 <bp-sym.h> and <bp-asm.h>.
30880 (__memrchr): Don't use BP_SYM.
30881 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30882 <bp-sym.h> and <bp-asm.h>.
30883 (memset): Don't use BP_SYM.
30884 (__bzero): Likewise.
30885 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30886 <bp-sym.h> and <bp-asm.h>.
30887 (__rawmemchr): Don't use BP_SYM.
30888 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30889 <bp-sym.h> and <bp-asm.h>.
30890 (__STRCMP): Don't use BP_SYM.
30891 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30892 <bp-sym.h> and <bp-asm.h>.
30893 (strchr): Don't use BP_SYM.
30894 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30895 <bp-sym.h> and <bp-asm.h>.
30896 (__strchrnul): Don't use BP_SYM.
30897 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30898 <bp-sym.h> and <bp-asm.h>.
30899 (strlen): Don't use BP_SYM.
30900 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30901 <bp-sym.h> and <bp-asm.h>.
30902 (strncmp): Don't use BP_SYM. Remove comment about bounded
30903 pointers.
30904 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30905 <bp-sym.h> and <bp-asm.h>.
30906 (__strnlen): Don't use BP_SYM.
30907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30908 <bp-sym.h> and <bp-asm.h>.
30909 (__GI__setjmp): Don't use BP_SYM.
30910 (_setjmp): Likewise.
30911 (__sigsetjmp): Likewise.
30912 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30913 (L(start_addresses)): Don't use BP_SYM.
30914 (_start): Likewise.
30915 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30916 <bp-asm.h>.
30917 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30918 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30919 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30920 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30921 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30922 <bp-asm.h>.
30923 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30924 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30925 about bounded pointers.
30926 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30927 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30928 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30929 <bp-asm.h>.
30930 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30931 about bounded pointers. Remove GKM FIXME comments.
30932 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30933 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30934 <bp-asm.h>.
30935 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30936 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30937 Remove GKM FIXME comments.
30938 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30939 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30940 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30941 <bp-asm.h>.
30942 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30943 about bounded pointers. Remove GKM FIXME comment.
30944 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30945 and <bp-asm.h>.
30946 (strncmp): Don't use BP_SYM. Remove comment about bounded
30947 pointers.
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30949 <bp-sym.h> and <bp-asm.h>.
30950 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30952 <bp-sym.h> and <bp-asm.h>.
30953 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30954 comment.
30955
30956 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30957
30958 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30959 call free(NULL).
30960
30961 2013-03-05 David S. Miller <davem@davemloft.net>
30962
30963 * po/es.po: Update from translation team.
30964
30965 2013-03-05 Andreas Jaeger <aj@suse.de>
30966
30967 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30968 <bits/mman-linux.h>.
30969 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30970 is fine.
30971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30972 <bits/mman-linux.h> to end of file.
30973 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30974 is fine.
30975 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30976 <bits/mman-linux.h> to end of file.
30977 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30978 is fine.
30979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30980 <bits/mman-linux.h> to end of file.
30981
30982 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30983 (MCL_CURRENT, MCL_FUTURE): Define here.
30984
30985 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30986
30987 [BZ #15232]
30988 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30989 attribute_hidden.
30990 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30991
30992 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30993
30994 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30995 fourth parameter needed for rt_sigprocmask syscall.
30996 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30997 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30998 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30999 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31000 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31001 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31002
31003 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31004
31005 [BZ #13550]
31006 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31007 comment about bounded pointers.
31008 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31009 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31010
31011 2013-03-04 Andreas Jaeger <aj@suse.de>
31012
31013 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31014 common definitions.
31015
31016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31017 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31018 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31019 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31020 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31022
31023 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31024
31025 [BZ #15055]
31026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31027 __ieee754_sqrl instead of __sqrl.
31028
31029 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31030
31031 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31032 * sysdeps/powerpc/fpu_control.h: ... here.
31033 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31034 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31035 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31036 * sysdeps/powerpc/bits/mathinline.h: ... here.
31037
31038 2013-03-01 Roland McGrath <roland@hack.frob.com>
31039
31040 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31041 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31042 to just [NEED_DL_SYSINFO_DSO].
31043 * elf/dl-support.c: Likewise.
31044 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31045 * elf/rtld.c (dl_main): Likewise.
31046 * elf/setup-vdso.h (setup_vdso): Likewise.
31047 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31048 * sysdeps/unix/sysv/linux/dl-sysdep.c
31049 (_dl_discover_osversion): Likewise.
31050
31051 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31052
31053 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31054 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31055
31056 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31057
31058 * NEWS: Mention libm performance improvements and non-x86 PI
31059 futex support.
31060
31061 * csu/libc-start.c (__pthread_initialize_minimal): Change
31062 function arguments.
31063 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31064
31065 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31066
31067 [BZ #13550]
31068 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31069 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31070 <bp-sym.h> and <bp-asm.h>.
31071 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31072 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31073 and <bp-asm.h>.
31074 (memcpy): Don't use BP_SYM.
31075 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31076 <bp-asm.h>.
31077 (__mpn_add_n): Don't use BP_SYM.
31078 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31079 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31080 and <bp-asm.h>.
31081 (__mpn_addmul_1): Don't use BP_SYM.
31082 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31083 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31084 <bp-sym.h>.
31085 (_setjmp): Don't use BP_SYM.
31086 (__novmx_setjmp): Likewise.
31087 (__GI__setjmp): Likewise.
31088 (__vmx_setjmp): Likewise.
31089 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31090 <bp-sym.h>.
31091 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31092 (__bzero): Don't use BP_SYM.
31093 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31094 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31095 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31096 <bp-sym.h> and <bp-asm.h>.
31097 (memcpy): Don't use BP_SYM.
31098 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31099 <bp-sym.h> and <bp-asm.h>.
31100 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31101 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31102 <bp-sym.h> and <bp-asm.h>.
31103 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31104 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31105 <bp-asm.h>.
31106 (__mpn_lshift): Don't use BP_SYM.
31107 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31108 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31109 <bp-asm.h>.
31110 (memset): Don't use BP_SYM.
31111 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31112 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31113 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31114 <bp-asm.h>.
31115 (__mpn_mul_1): Don't use BP_SYM.
31116 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31117 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31118 <bp-sym.h> and <bp-asm.h>.
31119 (memcmp): Don't use BP_SYM.
31120 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31121 <bp-sym.h> and <bp-asm.h>.
31122 (memcpy): Don't use BP_SYM.
31123 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31124 <bp-sym.h> and <bp-asm.h>.
31125 (memset): Don't use BP_SYM.
31126 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31127 <bp-sym.h> and <bp-asm.h>.
31128 (strncmp): Don't use BP_SYM.
31129 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31130 <bp-sym.h> and <bp-asm.h>.
31131 (memcpy): Don't use BP_SYM.
31132 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31133 <bp-sym.h> and <bp-asm.h>.
31134 (memset): Don't use BP_SYM.
31135 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31136 <bp-sym.h> and <bp-asm.h>.
31137 (__memchr): Don't use BP_SYM.
31138 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31139 <bp-sym.h> and <bp-asm.h>.
31140 (memcmp): Don't use BP_SYM.
31141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31142 <bp-sym.h> and <bp-asm.h>.
31143 (memcpy): Don't use BP_SYM.
31144 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31145 <bp-sym.h> and <bp-asm.h>.
31146 (__mempcpy): Don't use BP_SYM.
31147 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31148 <bp-sym.h> and <bp-asm.h>.
31149 (__memrchr): Don't use BP_SYM.
31150 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31151 <bp-sym.h> and <bp-asm.h>.
31152 (memset): Don't use BP_SYM.
31153 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31154 <bp-sym.h> and <bp-asm.h>.
31155 (__rawmemchr): Don't use BP_SYM.
31156 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31157 <bp-sym.h> and <bp-asm.h>.
31158 (__STRCMP): Don't use BP_SYM.
31159 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31160 <bp-sym.h> and <bp-asm.h>.
31161 (strchr): Don't use BP_SYM.
31162 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31163 <bp-sym.h> and <bp-asm.h>.
31164 (__strchrnul): Don't use BP_SYM.
31165 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31166 <bp-sym.h> and <bp-asm.h>.
31167 (strlen): Don't use BP_SYM.
31168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31169 <bp-sym.h> and <bp-asm.h>.
31170 (strncmp): Don't use BP_SYM.
31171 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31172 <bp-sym.h> and <bp-asm.h>.
31173 (__strnlen): Don't use BP_SYM.
31174 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31175 <bp-asm.h>.
31176 (__mpn_rshift): Don't use BP_SYM.
31177 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31178 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31179 <bp-sym.h> and <bp-asm.h>.
31180 (__sigsetjmp): Don't use BP_SYM.
31181 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31182 (L(start_addresses)): Don't use BP_SYM.
31183 (_start): Likewise.
31184 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31185 <bp-asm.h>.
31186 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31187 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31188 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31189 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31190 <bp-asm.h>.
31191 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31192 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31193 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31194 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31195 <bp-asm.h>.
31196 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31197 comments.
31198 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31199 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31200 <bp-asm.h>.
31201 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31202 FIXME comments.
31203 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31204 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31205 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31206 <bp-asm.h>.
31207 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31208 comment.
31209 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31210 and <bp-asm.h>.
31211 (strncmp): Don't use BP_SYM,
31212 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31213 <bp-asm.h>.
31214 (__mpn_sub_n): Don't use BP_SYM.
31215 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31216 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31217 and <bp-asm.h>.
31218 (__mpn_submul_1): Don't use BP_SYM.
31219 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31221 <bp-sym.h> and <bp-asm.h>.
31222 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31224 <bp-sym.h> and <bp-asm.h>.
31225 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31226 comment.
31227
31228 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31229
31230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31231 Use ZK to minimize writes to Z.
31232 (sub_magnitudes): Simplify code a bit.
31233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31234 Use ZK to minimize writes to Z.
31235 (sub_magnitudes): Simplify code a bit.
31236
31237 2013-02-27 Roland McGrath <roland@hack.frob.com>
31238
31239 * csu/gmon-start.c: Add special exception to license text.
31240
31241 2013-02-27 Richard Henderson <rth@redhat.com>
31242
31243 * scripts/config.guess: Update from config.git.
31244 * scripts/config.sub: Likewise.
31245
31246 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31247
31248 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31249
31250 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31251
31252 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31253
31254 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31255
31256 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31257
31258 2013-02-26 Roland McGrath <roland@hack.frob.com>
31259
31260 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31261 [$(build-shared = yes].
31262
31263 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31264
31265 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31266 (__mul): Reduce iterations for calculating mantissa.
31267
31268 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31269 MPTWO.
31270 (__mpranred): Likewise.
31271
31272 [BZ #15160]
31273 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31274 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31275
31276 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31277
31278 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31279 Define __attribute__.
31280
31281 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31282
31283 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31284 unused.
31285 * posix/regex_internal.h (__attribute): Remove.
31286 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31287 (re_string_context_at): Likewise.
31288 (bitset_not): Use __attribute__ and mark function as possibly
31289 unused.
31290 (bitset_merge): Likewise.
31291 (bitset_mask): Likewise.
31292 (re_string_char_size_at): Likewise.
31293 (re_string_wchar_at): Likewise.
31294 (re_string_elem_size_at): Likewise.
31295
31296 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31297
31298 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31299 code.
31300 (cc32): Likewise.
31301
31302 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31303 (__acr): Likewise.
31304 (__cpy): Likewise.
31305 (norm): Likewise.
31306 (denorm): Likewise.
31307 (__dbl_mp): Likewise.
31308 (add_magnitudes): Likewise.
31309 (sub_magnitudes): Likewise.
31310 (__mul): Likewise.
31311 (__inv): Likewise.
31312
31313 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31314 style.
31315
31316 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31317 style.
31318
31319 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31320 code.
31321
31322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31323 up changes with default code.
31324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31325 Likewise.
31326
31327 2013-02-24 Allan McRae <allan@archlinux.org>
31328
31329 * manual/socket.texi (The Internet Namespace): Order menu items
31330 to match that in the file.
31331
31332 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31333 node listing of the info page menu.
31334
31335 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31336
31337 [BZ #13550]
31338 * sysdeps/i386/bp-asm.h: Remove file.
31339 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31340 (PARMS): Do not use macros from bp-asm.h.
31341 (S1): Likewise.
31342 (S2): Likewise.
31343 (SIZE): Likewise.
31344 (__mpn_add_n): Do not use BP_SYM
31345 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31346 "bp-asm.h".
31347 (PARMS): Do not use macros from bp-asm.h.
31348 (S1): Likewise.
31349 (SIZE): Likewise.
31350 (__mpn_addmul_1): Do not use BP_SYM
31351 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31352 "bp-asm.h".
31353 (PARMS): Do not use macros from bp-asm.h.
31354 (SIGMSK): Likewise.
31355 (_setjmp): Likewise. Do not use BP_SYM.
31356 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31357 "bp-asm.h".
31358 (PARMS): Do not use macros from bp-asm.h.
31359 (SIGMSK): Likewise.
31360 (setjmp): Likewise. Do not use BP_SYM.
31361 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31362 "bp-asm.h".
31363 (PARMS): Do not use macros from bp-asm.h.
31364 (__frexp): Do not use BP_SYM.
31365 (frexp): Likewise.
31366 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31367 "bp-asm.h".
31368 (PARMS): Do not use macros from bp-asm.h.
31369 (__frexpf): Do not use BP_SYM.
31370 (frexpf): Likewise.
31371 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31372 "bp-asm.h".
31373 (PARMS): Do not use macros from bp-asm.h.
31374 (__frexpl): Do not use BP_SYM.
31375 (frexpl): Likewise.
31376 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31377 "bp-asm.h".
31378 (PARMS): Do not use macros from bp-asm.h.
31379 (__remquo): Do not use BP_SYM.
31380 (remquo): Likewise.
31381 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31382 "bp-asm.h".
31383 (PARMS): Do not use macros from bp-asm.h.
31384 (__remquof): Do not use BP_SYM.
31385 (remquof): Likewise.
31386 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31387 "bp-asm.h".
31388 (PARMS): Do not use macros from bp-asm.h.
31389 (__remquol): Do not use BP_SYM.
31390 (remquol): Likewise.
31391 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31392 "bp-asm.h".
31393 (PARMS): Do not use macros from bp-asm.h.
31394 (DEST): Likewise.
31395 (SRC): Likewise.
31396 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31397 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31398 "bp-asm.h".
31399 (PARMS): Do not use macros from bp-asm.h.
31400 (strlen): Do not use BP_SYM.
31401 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31402 "bp-asm.h".
31403 (PARMS): Do not use macros from bp-asm.h.
31404 (S1): Likewise.
31405 (S2): Likewise.
31406 (SIZE): Likewise.
31407 (__mpn_add_n): Do not use BP_SYM.
31408 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31409 "bp-asm.h".
31410 (PARMS): Do not use macros from bp-asm.h.
31411 (S1): Likewise.
31412 (SIZE): Likewise.
31413 (__mpn_addmul_1): Do not use BP_SYM.
31414 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31415 weak_alias.
31416 (bzero): Likewise.
31417 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31418 "bp-asm.h".
31419 (PARMS): Do not use macros from bp-asm.h.
31420 (S): Likewise.
31421 (SIZE): Likewise.
31422 (__mpn_lshift): Do not use BP_SYM.
31423 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31424 "bp-asm.h".
31425 (PARMS): Do not use macros from bp-asm.h.
31426 (DEST): Likewise.
31427 (SRC): Likewise.
31428 (LEN): Likewise.
31429 (memcpy): Likewise. Do not use BP_SYM.
31430 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31431 libc_hidden_def and weak_alias.
31432 (mempcpy): Do not use BP_SYM in weak_alias.
31433 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31434 "bp-asm.h".
31435 (PARMS): Do not use macros from bp-asm.h.
31436 (DEST): Likewise.
31437 (LEN): Likewise.
31438 [!BZERO_P] (CHR): Likewise.
31439 (memset): Likewise. Do not use BP_SYM.
31440 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31441 "bp-asm.h".
31442 (PARMS): Do not use macros from bp-asm.h.
31443 (S1): Likewise.
31444 (SIZE): Likewise.
31445 (__mpn_mul_1): Do not use BP_SYM.
31446 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31447 "bp-asm.h".
31448 (PARMS): Do not use macros from bp-asm.h.
31449 (S): Likewise.
31450 (SIZE): Likewise.
31451 (__mpn_rshift): Do not use BP_SYM.
31452 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31453 "bp-asm.h".
31454 (PARMS): Do not use macros from bp-asm.h.
31455 (STR): Likewise.
31456 (CHR): Likewise.
31457 (strchr): Likewise. Do not use BP_SYM.
31458 (index): Do not use BP_SYM in weak_alias.
31459 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31460 "bp-asm.h".
31461 (PARMS): Do not use macros from bp-asm.h.
31462 (DEST): Likewise.
31463 (SRC): Likewise.
31464 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31465 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31466 "bp-asm.h".
31467 (PARMS): Do not use macros from bp-asm.h.
31468 (strlen): Do not use BP_SYM.
31469 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31470 "bp-asm.h".
31471 (PARMS): Do not use macros from bp-asm.h.
31472 (S1): Likewise.
31473 (S2): Likewise.
31474 (SIZE): Likewise.
31475 (__mpn_sub_n): Do not use BP_SYM.
31476 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31477 "bp-asm.h".
31478 (PARMS): Do not use macros from bp-asm.h.
31479 (S1): Likewise.
31480 (SIZE): Likewise.
31481 (__mpn_submul_1): Do not use BP_SYM.
31482 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31483 "bp-asm.h".
31484 (PARMS): Do not use macros from bp-asm.h.
31485 (S1): Likewise.
31486 (S2): Likewise.
31487 (SIZE): Likewise.
31488 (__mpn_add_n): Do not use BP_SYM.
31489 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31490 weak_alias.
31491 (bzero): Likewise.
31492 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31493 "bp-asm.h".
31494 (PARMS): Do not use macros from bp-asm.h.
31495 (BLK2): Likewise.
31496 (LEN): Likewise.
31497 (memcmp): Do not use BP_SYM.
31498 (bcmp): Do not use BP_SYM in weak_alias.
31499 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31500 "bp-asm.h".
31501 (PARMS): Do not use macros from bp-asm.h.
31502 (DEST): Likewise.
31503 (SRC): Likewise.
31504 (LEN): Likewise.
31505 (memcpy): Likewise. Do not use BP_SYM.
31506 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31507 "bp-asm.h".
31508 (PARMS): Do not use macros from bp-asm.h.
31509 (DEST): Likewise.
31510 (SRC): Likewise.
31511 (LEN): Likewise.
31512 (memmove): Likewise. Do not use BP_SYM.
31513 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31514 "bp-asm.h".
31515 (PARMS): Do not use macros from bp-asm.h.
31516 (DEST): Likewise.
31517 (SRC): Likewise.
31518 (LEN): Likewise.
31519 (__mempcpy): Likewise. Do not use BP_SYM.
31520 (mempcpy): Do not use BP_SYM in weak_alias.
31521 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31522 "bp-asm.h".
31523 (PARMS): Do not use macros from bp-asm.h.
31524 (DEST): Likewise.
31525 (LEN): Likewise.
31526 [!BZERO_P] (CHR): Likewise.
31527 (memset): Likewise. Do not use BP_SYM.
31528 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31529 "bp-asm.h".
31530 (PARMS): Do not use macros from bp-asm.h.
31531 (STR2): Likewise.
31532 (strcmp): Do not use BP_SYM.
31533 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31534 "bp-asm.h".
31535 (PARMS): Do not use macros from bp-asm.h.
31536 (STR): Likewise.
31537 (DELIM): Likewise.
31538 [USE_AS_STRTOK_R] (SAVE): Likewise.
31539 (FUNCTION): Likewise. Do not use BP_SYM.
31540 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31541 aliases.
31542 (strtok_r): Likewise.
31543 (__GI___strtok_r): Likewise.
31544 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31545 (PARMS): Do not use macros from bp-asm.h.
31546 (S): Likewise.
31547 (SIZE): Likewise.
31548 (__mpn_lshift): Do not use BP_SYM.
31549 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31550 (PARMS): Do not use macros from bp-asm.h.
31551 (STR): Likewise.
31552 (CHR): Likewise.
31553 (__memchr): Do not use BP_SYM.
31554 (memchr): Do not use BP_SYM in weak_alias.
31555 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31556 (PARMS): Do not use macros from bp-asm.h.
31557 (BLK2): Likewise.
31558 (LEN): Likewise.
31559 (memcmp): Do not use BP_SYM.
31560 (bcmp): Do not use BP_SYM in weak_alias.
31561 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31562 (PARMS): Do not use macros from bp-asm.h.
31563 (S1): Likewise.
31564 (SIZE): Likewise.
31565 (__mpn_mul_1): Do not use BP_SYM.
31566 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31567 "bp-asm.h".
31568 (PARMS): Do not use macros from bp-asm.h.
31569 (STR): Likewise.
31570 (CHR): Likewise.
31571 (__rawmemchr): Do not use BP_SYM.
31572 (rawmemchr): Do not use BP_SYM in weak_alias.
31573 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31574 (PARMS): Do not use macros from bp-asm.h.
31575 (S): Likewise.
31576 (SIZE): Likewise.
31577 (__mpn_rshift): Do not use BP_SYM.
31578 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31579 (PARMS): Do not use macros from bp-asm.h.
31580 (SIGMSK): Likewise.
31581 (__sigsetjmp): Likewise. Do not use BP_SYM.
31582 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31583 (_start): Do not use BP_SYM.
31584 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31585 (PARMS): Do not use macros from bp-asm.h.
31586 (DEST): Likewise.
31587 (SRC): Likewise.
31588 (__stpcpy): Likewise. Do not use BP_SYM.
31589 (stpcpy): Do not use BP_SYM in weak_alias.
31590 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31591 "bp-asm.h".
31592 (PARMS): Do not use macros from bp-asm.h.
31593 (DEST): Likewise.
31594 (SRC): Likewise.
31595 (LEN): Likewise.
31596 (__stpncpy): Likewise. Do not use BP_SYM.
31597 (stpncpy): Do not use BP_SYM in weak_alias.
31598 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31599 (PARMS): Do not use macros from bp-asm.h.
31600 (STR): Likewise.
31601 (CHR): Likewise.
31602 (strchr): Likewise. Do not use BP_SYM.
31603 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31604 "bp-asm.h".
31605 (PARMS): Do not use macros from bp-asm.h.
31606 (STR): Likewise.
31607 (CHR): Likewise.
31608 (__strchrnul): Likewise. Do not use BP_SYM.
31609 (strchrnul): Do not use BP_SYM in weak_alias.
31610 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31611 "bp-asm.h".
31612 (PARMS): Do not use macros from bp-asm.h.
31613 (STOP): Likewise.
31614 (strcspn): Do not use BP_SYM.
31615 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31616 "bp-asm.h".
31617 (PARMS): Do not use macros from bp-asm.h.
31618 (STR): Likewise.
31619 (STOP): Likewise.
31620 (strpbrk): Likewise. Do not use BP_SYM.
31621 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31622 "bp-asm.h".
31623 (PARMS): Do not use macros from bp-asm.h.
31624 (STR): Likewise.
31625 (CHR): Likewise.
31626 (strrchr): Likewise. Do not use BP_SYM.
31627 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31628 (PARMS): Do not use macros from bp-asm.h.
31629 (SKIP): Likewise.
31630 (strspn): Do not use BP_SYM.
31631 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31632 (PARMS): Do not use macros from bp-asm.h.
31633 (STR): Likewise.
31634 (DELIM): Likewise.
31635 (SAVE): Likewise.
31636 (FUNCTION): Likewise. Do not use BP_SYM.
31637 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31638 aliases.
31639 (strtok_r): Likewise.
31640 (__GI___strtok_r): Likewise.
31641 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31642 (PARMS): Do not use macros from bp-asm.h.
31643 (S1): Likewise.
31644 (S2): Likewise.
31645 (SIZE): Likewise.
31646 (__mpn_sub_n): Do not use BP_SYM.
31647 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31648 "bp-asm.h".
31649 (PARMS): Do not use macros from bp-asm.h.
31650 (S1): Likewise.
31651 (SIZE): Likewise.
31652 (__mpn_submul_1): Do not use BP_SYM.
31653 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31654 <bp-sym.h>.
31655 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31656 and <bp-asm.h>.
31657 (PARMS): Do not use macros from bp-asm.h.
31658 (FLAGS): Likewise.
31659 (PTID): Likewise.
31660 (TLS): Likewise.
31661 (CTID): Likewise.
31662 (__clone): Do not use BP_SYM.
31663 (clone): Do not use BP_SYM in weak_alias.
31664 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31665 and <bp-asm.h>.
31666 (PARMS): Do not use macros from bp-asm.h.
31667 (LEN): Likewise.
31668 (__mmap64): Do not use BP_SYM.
31669 (mmap64): Do not use BP_SYM in weak_alias.
31670 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31671 <bp-sym.h> and <bp-asm.h>.
31672 (PARMS): Do not use macros from bp-asm.h.
31673 (__posix_fadvise64_l64): Do not use BP_SYM.
31674 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31675 (PARMS): Do not use macros from bp-asm.h.
31676 (NSOPS): Likewise.
31677 (semtimedop): Do not use BP_SYM.
31678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31679 and <bp-asm.h>.
31680
31681 2013-02-21 Allan McRae <allan@archlinux.org>
31682
31683 * manual/message.texi (Charset conversion in gettext):
31684 Move @end statement to beginning of line.
31685
31686 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31687
31688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31689 static.
31690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31691 Likewise.
31692
31693 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31694 (denorm): Likewise.
31695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31697
31698 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31699
31700 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31701 tail-call to the resolved function if pltexit isn't needed.
31702
31703 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31704
31705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31706 or Y being zero as being unlikely.
31707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31708 Likewise.
31709
31710 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31711
31712 * manual/nss.texi (System Databases and Name Service Switch):
31713 Remove frobnicate @pxref.
31714
31715 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31716
31717 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31718 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31719
31720 2013-02-20 Petr Machata <pmachata@redhat.com>
31721
31722 * elf/elf.h (R_ARM_TARGET1): New macro.
31723 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31724 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31725 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31726 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31727 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31728 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31729 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31730 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31731 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31732 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31733 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31734 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31735 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31736 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31737 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31738 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31739 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31740 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31741 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31742 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31743 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31744 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31745 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31746 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31747 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31748 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31749 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31750 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31751 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31752 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31753 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31754 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31755 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31756 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31757 (R_ARM_THM_GOT_BREL12): Likewise.
31758 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31759 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31760 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31761 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31762 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31763 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31764 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31765 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31766 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31767
31768 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31769
31770 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31771 __attribute_used__ to __attribute__ ((unused)).
31772
31773 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31774
31775 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31776 powerpc mpa.c.
31777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31778 comment formatting.
31779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31780
31781 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31782
31783 [BZ #13550]
31784 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31785 Remove macro.
31786 (ENTER): Remove both macro definitions.
31787 (LEAVE): Likewise.
31788 (CHECK_BOUNDS_LOW): Likewise.
31789 (CHECK_BOUNDS_HIGH): Likewise.
31790 (CHECK_BOUNDS_BOTH): Likewise.
31791 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31792 (RETURN_BOUNDED_POINTER): Likewise.
31793 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31794 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31795 (POP_ERRNO_LOCATION_RETURN): Likewise.
31796 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31797 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31798 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31799 macros.
31800 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31801 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31802 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31803 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31804 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31805 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31806 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31807 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31808 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31809 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31810 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31811 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31812 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31813 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31814 removed macros.
31815 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31816 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31817 macros.
31818 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31819 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31820 * sysdeps/i386/i586/memset.S (memset): Likewise.
31821 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31822 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31823 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31824 macros.
31825 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31826 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31827 Change uses of L(2) to L(out).
31828 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31829 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31830 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31831 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31832 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31833 removed macros.
31834 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31835 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31836 macros.
31837 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31838 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31839 (RETURN): Do not use macro LEAVE.
31840 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31841 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31842 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31843 * sysdeps/i386/i686/memset.S (memset): Likewise.
31844 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31845 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31846 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31847 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31848 Likewise.
31849 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31850 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31851 L(1_2) and L(1_3) into L(1).
31852 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31853 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31854 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31855 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31856 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31857 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31858 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31859 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31860 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31861 macros.
31862 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31863 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31864 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31865 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31866 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31867 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31868 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31869 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31870 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31871 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31872 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31873 * sysdeps/i386/strspn.S (strspn): Likewise.
31874 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31875 conditional code.
31876 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31877 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31878 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31879 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31880 L(1_3) into L(1_1).
31881 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31882 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31883 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31884 macros.
31885 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31886
31887 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31888
31889 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31890 macro.
31891
31892 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31893
31894 * math/atest-exp.c (exp_mpn): Remove ROUND.
31895 * math/atest-exp2.c (exp_mpn): Likewise.
31896 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31897
31898 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31899 * stdlib/tst-tls-atexit-lib.c: Likewise.
31900 * stdlib/tst-tls-atexit.c: Likewise.
31901
31902 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31903
31904 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31905 and __attribute_alloc_size__.
31906
31907 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31908
31909 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31910 __attribute_alloc_size__.
31911 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31912 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31913
31914 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31915
31916 * include/programs/xmalloc.h: New file.
31917 * catgets/gencat.c: Include it.
31918 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31919 * elf/pldd.c: Likewise.
31920 * iconv/iconv_charmap.c: Likewise.
31921 * iconv/iconvconfig.c: Likewise.
31922 * iconv/strtab.c: Likewise.
31923 * locale/programs/locale.c: Likewise.
31924 * locale/programs/localedef.h: Likewise.
31925 * locale/programs/simple-hash.c: Likewise.
31926 * nscd/nscd.h: Likewise.
31927 * nss/makedb.c: Likewise.
31928 * sysdeps/generic/ldconfig.h: Likewise.
31929
31930 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31931
31932 * Versions.def: Add GLIBC_2.18.
31933 * include/link.h (struct link_map): New member l_tls_dtor_count.
31934 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31935 (__call_tls_dtors): Likewise.
31936 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31937 __cxa_thread_atexit_impl.
31938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31939 Likewise.
31940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31941 Likewise.
31942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31943 Likewise.
31944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31945 Likewise.
31946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31948 Likewise.
31949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31950 Likewise.
31951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31953 Likewise.
31954 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31955 (tests): Add test case tst-tls-atexit.
31956 (modules-names): Add shared library for tst-tls-atexit.
31957 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31958 (GLIBC_PRIVATE): Add __call_tls_dtors.
31959 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31960 for libstdc++.
31961 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31962 * stdlib/tst-tls-atexit.c: New test case.
31963 * stdlib/tst-tls-atexit-lib.c: New test case.
31964
31965 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31966
31967 * elf/Versions (ld): Add _dl_find_dso_for_object.
31968 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31969 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31970 (dl_open_worker): Use _dl_find_dso_for_object.
31971 * elf/dl-sym.c (do_sym): Likewise.
31972 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31973
31974 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31975
31976 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31977 Syntactic changes only.
31978 (_dl_runtime_profile): Do a tail-call to the resolved function.
31979
31980 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31981
31982 [BZ #13550]
31983 * sysdeps/x86_64/bp-asm.h: Remove file.
31984 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31985 <bp-sym.h> and <bp-asm.h>.
31986 (__clone): Do not use BP_SYM.
31987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31988 <bp-sym.h> and <bp-asm.h>.
31989 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31990 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31991 "bp-asm.h".
31992 (_setjmp): Do not use BP_SYM.
31993 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31994 "bp-asm.h".
31995 (setjmp): Do not use BP_SYM.
31996 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31997 libc_hidden_def.
31998 (mempcpy): Do not use BP_SYM in weak_alias.
31999 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32000 "bp-asm.h".
32001 (strchr): Do not use BP_SYM.
32002 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32003 "bp-asm.h".
32004 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32005 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32006 (_start): Do not use BP_SYM.
32007 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32008 "bp-asm.h".
32009 (strcat): Do not use BP_SYM.
32010 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32011 "bp-asm.h".
32012 (STRCMP): Do not use BP_SYM.
32013 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32014 "bp-asm.h".
32015 (STRCPY): Do not use BP_SYM.
32016 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32017 "bp-asm.h".
32018 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32019 "bp-asm.h".
32020 (FUNCTION): Do not use BP_SYM.
32021 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32022 weak_alias.
32023 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32024
32025 2013-02-17 Andreas Jaeger <aj@suse.de>
32026
32027 * time/Versions: Sort entries.
32028 * string/Versions: Likewise.
32029 * resolv/Versions: Likewise.
32030 * posix/Versions: Likewise.
32031 * iconv/Versions: Likewise.
32032 * elf/Versions: Likewise.
32033 * wcsmbs/Versions: Likewise.
32034
32035 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32036
32037 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32038 loop termination condition.
32039
32040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32041 variable to calculate EZ.
32042 (__sqr): Likewise.
32043
32044 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32045 the lower precision input.
32046
32047 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32048
32049 [BZ #13550]
32050 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32051 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32052 (run-via-rtld-prefix): Do not handle %-bp tests.
32053 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32054 (all-object-suffixes): Remove .ob.
32055 (bppfx): Remove variable.
32056 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32057 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32058 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32059 [$(build-bounded) = yes] (libtype.ob): Likewise.
32060 * Makerules (elide-routines.ob): Remove variable.
32061 (do-tests-clean): Do not handle *-bp.out.
32062 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32063 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32064 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32065 (tests): Do not include $(tests-bp.out).
32066 (xtests): Do not include $(xtests-bp.out).
32067 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32068 [$(build-bounded) = yes] ($(addprefix
32069 $(objpfx),$(binaries-bounded))): Remove rule.
32070 ($(objpfx)%-bp.out): Remove rule.
32071 * config.make.in (build-bounded): Remove variable.
32072 * crypt/Makefile [$(build-bounded) = yes]
32073 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32074 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32075 append to variable.
32076 [$(build-bounded) = yes] (install-lib): Likewise.
32077 [$(build-bounded) = yes] (generated): Likewise.
32078 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32079 Remove rule.
32080 * intl/Makefile [$(build-bounded) = yes]
32081 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32082 * math/Makefile [$(build-bounded) = yes]
32083 ($(tests:%=$(objpfx)%-bp): Likewise.
32084 * misc/Makefile [$(build-bounded) = yes]
32085 ($(objpfx)tst-tsearch-bp): Likewise.
32086 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32087 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32088 Remove dependency.
32089 * string/Makefile (o-objects.ob): Remove variable.
32090 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32091 (CFLAGS-.ob): Remove variable.
32092 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32093 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32094 both definitions of variable.
32095 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32096 (ASFLAGS-.ob): Remove variable.
32097
32098 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32099
32100 [BZ #13550]
32101 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32102 Remove __BOUNDED_POINTERS__ from condition.
32103 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32104 * string/bits/string2.h [!__NO_STRING_INLINES &&
32105 !__BOUNDED_POINTERS__]: Likewise.
32106 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32107 Likewise.
32108 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32109 Remove conditional code.
32110 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32111 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32112 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32113 condition.
32114
32115 [BZ #13550]
32116 * csu/libc-start.c: Do not include <bp-sym.h>.
32117 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32118 * elf/dl-open.c: Do not include <bp-sym.h>.
32119 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32120 * math/fegetenv.c: Do not include <bp-sym.h>.
32121 (fegetenv): Do not use BP_SYM in versioned symbols.
32122 * nptl/sysdeps/pthread/bits/libc-lockP.h
32123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32124 <bp-sym.h>.
32125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32126 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32128 (__pthread_mutex_destroy): Likewise.
32129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32130 (__pthread_mutex_lock): Likewise.
32131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32132 (__pthread_mutex_trylock): Likewise.
32133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32134 (__pthread_mutex_unlock): Likewise.
32135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32136 (__pthread_mutexattr_init): Likewise.
32137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32138 (__pthread_mutexattr_destroy): Likewise.
32139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32140 (__pthread_mutexattr_settype): Likewise.
32141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32142 (__pthread_rwlock_init): Likewise.
32143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32144 (__pthread_rwlock_destroy): Likewise.
32145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32146 (__pthread_rwlock_rdlock): Likewise.
32147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32148 (__pthread_rwlock_tryrdlock): Likewise.
32149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32150 (__pthread_rwlock_wrlock): Likewise.
32151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32152 (__pthread_rwlock_trywrlock): Likewise.
32153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32154 (__pthread_rwlock_unlock): Likewise.
32155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32156 (__pthread_key_create): Likewise.
32157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32158 (__pthread_setspecific): Likewise.
32159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32160 (__pthread_getspecific): Likewise.
32161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32162 Likewise.
32163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32164 (_pthread_cleanup_push_defer): Likewise.
32165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32166 (_pthread_cleanup_pop_restore): Likewise.
32167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32168 (pthread_setcancelstate): Likewise.
32169 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32170 <bp-sym.h>.
32171 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32172 (memchr): Do not use BP_SYM in weak_alias.
32173 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32174 (fegetenv): Do not use BP_SYM in versioned symbols.
32175 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32176 (fesetenv): Do not use BP_SYM in versioned symbols.
32177 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32178 (feupdateenv): Do not use BP_SYM in versioned symbols.
32179 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32180 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32181 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32182 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32183 (open64): Do not use BP_SYM in weak_alias.
32184 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32185 (fegetenv): Do not use BP_SYM in versioned symbols.
32186 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32187 (fesetenv): Do not use BP_SYM in versioned symbols.
32188 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32189 (feupdateenv): Do not use BP_SYM in versioned symbols.
32190 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32191 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32192 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32193 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32194 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32195 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32196 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32197 <bp-sym.h>.
32198 (__libc_start_main): Do not use BP_SYM.
32199
32200 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32201
32202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32203 redundant return line.
32204 (norm): Likewise.
32205 (denorm): Likewise.
32206 (dbl_mp): Likewise.
32207 (sub_magnitudes): Likewise.
32208 (__add): Likewise.
32209 (__sub): Likewise.
32210 (__mul): Likewise.
32211 (__inv): Likewise.
32212 (__dvd): Likewise.
32213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32214 (norm): Likewise.
32215 (denorm): Likewise.
32216 (dbl_mp): Likewise.
32217 (sub_magnitudes): Likewise.
32218 (__add): Likewise.
32219 (__sub): Likewise.
32220 (__mul): Likewise.
32221 (__inv): Likewise.
32222 (__dvd): Likewise.
32223
32224 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32225 instead of __mul.
32226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32227 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32228 (cc32): Likewise.
32229
32230 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32231 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32233 of __mul for squares.
32234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32235 function
32236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32237 Likewise.
32238 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32239 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32240
32241 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32242
32243 [BZ #13550]
32244 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32245 code.
32246 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32247 prototype or function definition. Rename ubp_* variables and
32248 parameters. Remove argv definitions conditional on
32249 [__BOUNDED_POINTERS__].
32250 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32251 * elf/dl-runtime.c (_dl_fixup): Likewise.
32252 * include/set-hooks.h (RUN_HOOK): Likewise.
32253 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32254 definition.
32255 * string/strcpy.c (strcpy): Do not use __unbounded.
32256 * sysdeps/generic/frame.h (struct layout): Likewise.
32257 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32258 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32259 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32260 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32261 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32262 (__backtrace): Likewise.
32263 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32264 use __ptrvalue.
32265 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32266 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32267 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32268 Likewise.
32269 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32270 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32271 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32272 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32273 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32274 Do not use __unbounded.
32275 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32276 Rename __unboundedrlimits parameter to rlimits in prototype.
32277 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32278 Do not use __unbounded.
32279 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32280 not use __ptrvalue.
32281 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32282 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32283 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32284 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32285 __ptrvalue or __unbounded.
32286 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32287 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32288 use __unbounded.
32289 (__new_msgctl): Do not use __ptrvalue.
32290 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32291 __unbounded.
32292 (__libc_msgrcv): Do not use __ptrvalue.
32293 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32294 startup_info): Do not use __unbounded.
32295 (__libc_start_main): Likewise. Rename ubp_* variables and
32296 parameters. Remove argv definitions conditional on
32297 [__BOUNDED_POINTERS__].
32298 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32299 __ptrvalue.
32300 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32301 use __unbounded.
32302 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32303 or __ptrvalue.
32304 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32305 use __unbounded.
32306 (__new_shmctl): Do not use __ptrvalue.
32307 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32308 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32309 Likewise.
32310 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32312 (__libc_sigaction): Likewise.
32313 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32314 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32315 Likewise.
32316 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32317
32318 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32319
32320 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32321
32322 * string/mempcpy.c: Implement by calling memcpy.
32323
32324 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32325
32326 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32327
32328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32329 evaluation.
32330
32331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32332 values in the mantissa.
32333
32334 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32335 minimize writes to Z.
32336 (sub_magnitudes): Simplify code a bit.
32337
32338 2013-02-12 Roland McGrath <roland@hack.frob.com>
32339
32340 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32341 from the message. The linker prefixes all warnings with that already.
32342
32343 2013-02-12 Andreas Schwab <schwab@suse.de>
32344
32345 [BZ #15078]
32346 * posix/regexec.c (extend_buffers): Add parameter min_len.
32347 (check_matching): Pass minimum needed length.
32348 (clean_state_log_if_needed): Likewise.
32349 (get_subexp): Likewise.
32350 * posix/Makefile (tests): Add bug-regex34.
32351 (bug-regex34-ENV): Define.
32352 * posix/bug-regex34.c: New file.
32353
32354 [BZ #11561]
32355 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32356 elements compare against the byte sequence of it, not its name.
32357 * posix/Makefile (tests): Add bug-regex35.
32358 (bug-regex35-ENV): Define.
32359 * posix/bug-regex35.c: New file.
32360
32361 2013-02-11 Tom de Vries <tom@codesourcery.com>
32362
32363 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32364 comment.
32365 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32366 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32367 (CHECK_EOL): Add undef.
32368
32369 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32370
32371 * bits/stdlib-bsearch.h: New file.
32372 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32373 * stdlib/stdlib.h: Likewise.
32374
32375 2013-02-11 Roland McGrath <roland@hack.frob.com>
32376
32377 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32378 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32379 declaration.
32380 * manual/search.texi (Array Search Function): Add missing const in
32381 lfind prototype.
32382 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32383 declaration to use rlim_t.
32384 (Basic Scheduling Functions): Remove erroneous const from
32385 sched_getparam prototype. Remove erroneous * from
32386 sched_get_priority_max and sched_get_priority_min prototypes.
32387 (Resource Usage): Fix summary @comment on vtimes to refer to
32388 sys/vtimes.h rather than vtimes.h.
32389 Add missing *s in vtimes prototype.
32390 (Limits on Resources): Fix ulimit prototype to return long int.
32391 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32392 prototypes to use long int rather than double.
32393 (BSD Random): Fix initstate and setstate to use char *, not void *.
32394 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32395 prototype to make second argument 'struct aiocb64 *const[]'.
32396 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32397 (Status of AIO Operations): Remove erroneous const in aio_return and
32398 aio_return64 prototypes.
32399 (Synchronizing I/O): Fix sync prototype to return void.
32400 * manual/startup.texi (Suboptions): Remove an erroneous const in
32401 getsubopt prototype.
32402 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32403 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32404 use size_t rather than int.
32405 (Scanning All Users): Likewise for getpwent_r.
32406 (Setting Groups): Add missing const to setgroups prototype.
32407 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32408 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32409 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32410 'const void *' rather than 'const char *'.
32411 (Host Address Functions): Likewise for inet_ntop.
32412 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32413 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32414 ssize_t for return value.
32415 (Sending Data): Likewise for send, sendto, sendmsg.
32416 (Socket Option Functions): Add a missing const in setsockopt prototype.
32417 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32418 use wchar_t for the argument.
32419 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32420 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32421 take no arguments.
32422 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32423 double/float/long double for second argument.
32424 Fix return types of significand, significandf, significandl.
32425 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32426 argument in fchmod prototype.
32427 (File Owner): Use uid_t and gid_t in fchown prototype.
32428 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32429 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32430 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32431 use 'const struct dirent **' as argument types to CMP function pointer
32432 argument.
32433 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32434 (File Times): Fix summary magic @comment for struct utimbuf and utime
32435 to refer to utime.h, not time.h.
32436 * manual/string.texi (Argz Functions): Add missing const in
32437 argz_extract and argz_next prototypes.
32438 (Finding Tokens in a String): Likewise for basename.
32439 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32440 (Copying and Concatenation): Fix typo in wmemmove prototype.
32441 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32442 (Signal Stack): Remove erroneous const in sigstack prototype.
32443 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32444 prototype.
32445 (Simple Calendar Time): Likewise for stime.
32446 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32447 prototype.
32448 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32449 say sys/sysctl.h instead.
32450 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32451 and vsyslog prototypes.
32452
32453 2013-02-11 Tom de Vries <tom@codesourcery.com>
32454
32455 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32456 Remove.
32457
32458 2013-02-11 Roland McGrath <roland@hack.frob.com>
32459
32460 * misc/sys/mman.h: Fix typo in mremap comment.
32461
32462 2013-02-08 Roland McGrath <roland@hack.frob.com>
32463
32464 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32465 the '\0' terminator.
32466
32467 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32468
32469 [BZ #13550]
32470 * debug/segfault.c: Don't include <bp-checks.h>.
32471 * sysdeps/generic/bp-checks.h: Remove file.
32472 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32473 (__GETDENTS): Don't use CHECK_N.
32474 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32475 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32476 (__getgroups): Don't use CHECK_N.
32477 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32478 (setgroups): Don't use CHECK_N.
32479 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32480 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32481 (__libc_msgrcv): Don't use CHECK_N.
32482 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32483 (__libc_msgsnd): Don't use CHECK_N.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32485 <bp-checks.h>.
32486 (__libc_pread): Don't use CHECK_N.
32487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32488 include <bp-checks.h>.
32489 (__libc_pread64): Don't use CHECK_N.
32490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32491 include <bp-checks.h>.
32492 (__libc_pwrite): Don't use CHECK_N.
32493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32494 include <bp-checks.h>.
32495 (__libc_pwrite64): Don't use CHECK_N.
32496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32497 <bp-checks.h>.
32498 (__libc_pread): Don't use CHECK_N.
32499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32500 include <bp-checks.h>.
32501 (__libc_pread64): Don't use CHECK_N.
32502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32503 include <bp-checks.h>.
32504 (__libc_pwrite): Don't use CHECK_N.
32505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32506 include <bp-checks.h>.
32507 (__libc_pwrite64): Don't use CHECK_N.
32508 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32509 (do_pread): Don't use CHECK_N.
32510 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32511 (do_pread64): Don't use CHECK_N.
32512 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32513 (do_pwrite): Don't use CHECK_N.
32514 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32515 (do_pwrite64): Don't use CHECK_N.
32516 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32517 (__libc_readv): Don't use CHECK_N.
32518 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32519 (semop): Don't use CHECK_N.
32520 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32521 <bp-checks.h>.
32522 (semtimedop): Don't use CHECK_N.
32523 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32524 (__libc_pread): Don't use CHECK_N.
32525 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32526 <bp-checks.h>.
32527 (__libc_pread64): Don't use CHECK_N.
32528 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32529 <bp-checks.h>.
32530 (__libc_pwrite): Don't use CHECK_N.
32531 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32532 <bp-checks.h>.
32533 (__libc_pwrite64): Don't use CHECK_N.
32534 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32535 <bp-checks.h>.
32536 (__libc_msgrcv): Don't use CHECK_N.
32537 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32538 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32539 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32540 (__libc_writev): Don't use CHECK_N.
32541
32542 2013-02-08 Roland McGrath <roland@hack.frob.com>
32543
32544 * string/strcpy.c: Removed unused variable.
32545
32546 * Makeconfig (+sysdep-includes): Define with := rather than =.
32547 Use an existing include/ subdir of each sysdeps dir before it.
32548
32549 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32550
32551 * nscd/connection.c (register_traced_file): Comment function.
32552 [HAVE_INOTIFY] (union __inev): Define.
32553 [HAVE_INOTIFY] (inotify_check_files): New function.
32554 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32555 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32556 clear_db_cache.
32557 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32558
32559 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32560
32561 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32562 loaded if not already and that a failure is permanent.
32563
32564 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32565
32566 [BZ #15006]
32567 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32568 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32569
32570 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32571
32572 [BZ #13550]
32573 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32574 (CHECK_1_NULL_OK): Likewise.
32575 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32576 (__fxstat): Do not use CHECK_1.
32577 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32578 <bp-checks.h>.
32579 (___fxstat64): Do not use CHECK_1.
32580 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32581 <bp-checks.h>.
32582 (__fxstatat): Do not use CHECK_1.
32583 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32584 <bp-checks.h>.
32585 (__fxstatat64): Do not use CHECK_1.
32586 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32587 <bp-checks.h>.
32588 (__fxstat): Do not use CHECK_1.
32589 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32590 <bp-checks.h>.
32591 (__fxstatat): Do not use CHECK_1.
32592 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32593 <bp-checks.h>.
32594 (__getresgid): Do not use CHECK_1.
32595 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32596 <bp-checks.h>.
32597 (__getresuid): Do not use CHECK_1.
32598 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32599 <bp-checks.h>.
32600 (__lxstat): Do not use CHECK_1.
32601 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32602 <bp-checks.h>.
32603 (__old_msgctl): Do not use CHECK_1.
32604 (__new_msgctl): Likewise.
32605 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32606 <bp-checks.h>.
32607 (__new_setrlimit): Do not use CHECK_1.
32608 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32609 <bp-checks.h>.
32610 (__old_shmctl): Do not use CHECK_1.
32611 (__new_shmctl): Likewise.
32612 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32613 <bp-checks.h>.
32614 (__xstat): Do not use CHECK_1.
32615 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32616 (__lxstat): Do not use CHECK_1.
32617 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32618 <bp-checks.h>.
32619 (___lxstat64): Do not use CHECK_1.
32620 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32621 (__old_msgctl): Do not use CHECK_1.
32622 (__new_msgctl): Likewise.
32623 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32624 <bp-checks.h>.
32625 (__gettimeofday): Do not use CHECK_1.
32626 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32627 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32628 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32629 <bp-checks.h>.
32630 (__gettimeofday): Do not use CHECK_1.
32631 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32632 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32633 (__new_shmctl): Do not use CHECK_1.
32634 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32635 <bp-checks.h>.
32636 (do_sigtimedwait): Do not use CHECK_1.
32637 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32638 <bp-checks.h>.
32639 (do_sigwaitinfo): Do not use CHECK_1.
32640 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32641 <bp-checks.h>.
32642 (msgctl): Do not use CHECK_1.
32643 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32644 <bp-checks.h>.
32645 (shmctl): Do not use CHECK_1.
32646 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32647 (ustat): Do not use CHECK_1.
32648 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32649 <bp-checks.h>.
32650 (__fxstat): Do not use CHECK_1.
32651 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32652 <bp-checks.h>.
32653 (__fxstatat): Do not use CHECK_1.
32654 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32655 <bp-checks.h>.
32656 (__lxstat): Do not use CHECK_1.
32657 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32658 <bp-checks.h>.
32659 (__xstat): Do not use CHECK_1.
32660 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32661 (__xstat): Do not use CHECK_1.
32662 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32663 (___xstat64): Do not use CHECK_1.
32664
32665 [BZ #13550]
32666 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32667 definitions.
32668 (CHECK_BOUNDS_HIGH): Likewise.
32669 * string/strcpy.c: Do not include <bp-checks.h>.
32670 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32671
32672 2013-02-07 Roland McGrath <roland@hack.frob.com>
32673
32674 * nscd/nscd-client.h (__nscd_drop_map_ref):
32675 Add __attribute__ ((unused)).
32676 * nis/nss-nisplus.h (niserr2nss): Likewise.
32677
32678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32679 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32680
32681 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32682 Remove inline keyword.
32683 * include/rounding-mode.h (round_away): Likewise.
32684 * libio/wfileops.c (adjust_wide_data): Likewise.
32685 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32686 (__m128i_strloadu_tolower): Likewise.
32687 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32688 (__m128i_strloadu_tolower): Likewise.
32689 * time/mktime.c (ydhms_diff): Likewise.
32690 * locale/elem-hash.h (elem_hash): Likewise.
32691 * locale/setlocale.c (setdata): Likewise.
32692 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32693 (re_string_wchar_at): Likewise.
32694 (bitset_not, bitset_merge, bitset_mask): Likewise.
32695 [!(__GNUC__ > 3)] (inline): Remove macro.
32696 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32697 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32698 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32699 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32700 * string/memcmp.c (memcmp_bytes): Likewise.
32701 * locale/programs/locarchive.c (compute_hashval): Likewise.
32702 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32703 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32704 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32705 * nss/getent.c (print_rpc, print_protocols): Likewise.
32706 (print_passwd, print_group, print_aliases): Likewise.
32707 * nis/nss-nisplus.h (niserr2nss): Likewise.
32708 * nscd/connections.c (restart_p): Likewise.
32709 Change return type to bool.
32710
32711 2013-02-05 Roland McGrath <roland@hack.frob.com>
32712
32713 * Makeconfig (all-Depend-files): Add existing
32714 $(sorted-subdirs:=/Depend) files.
32715 (all-subdirs): Remove nss.
32716 * sysdeps/unix/inet/Subdirs: Add it here instead.
32717 * hesiod/Depend: New file.
32718
32719 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32720 instead of calling alloca.
32721
32722 * io/lseek.c (__lseek): Rename to __libc_lseek.
32723 Define __lseek as an alias.
32724
32725 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32726
32727 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32728
32729 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32730 else clause and remove check for non-standard endianness.
32731
32732 2013-02-04 David S. Miller <davem@davemloft.net>
32733
32734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32735
32736 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32737
32738 [BZ #13550]
32739 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32740 (__ubp_memchr): Remove prototype.
32741 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32742 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32743 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32744 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32745 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32746 Remove alias.
32747 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32748 (__ubp_memchr): Likewise.
32749 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32750 (__ubp_memchr): Likewise.
32751 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32752 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32753 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32754 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32755 CHECK_STRING.
32756 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32757 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32758 (__getcwd): Do not use CHECK_STRING.
32759 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32760 <bp-checks.h>.
32761 (__real_chown): Do not use CHECK_STRING.
32762 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32763 <bp-checks.h>.
32764 (fchownat): Do not use CHECK_STRING.
32765 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32766 CHECK_STRING.
32767 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32768 <bp-checks.h>.
32769 (__lchown): Do not use CHECK_STRING.
32770 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32771 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32772 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32773 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32775 include <bp-checks.h>.
32776 (truncate64): Do not use CHECK_STRING.
32777 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32778 <bp-checks.h>.
32779 (__real_chown): Do not use CHECK_STRING.
32780 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32781 <bp-checks.h>.
32782 (__lchown): Do not use CHECK_STRING.
32783 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32784 <bp-checks.h>.
32785 (__chown): Do not use CHECK_STRING.
32786 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32787 <bp-checks.h>.
32788 (truncate64): Do not use CHECK_STRING.
32789 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32790 Likewise.
32791 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32792 (__xmknod): Do not use CHECK_STRING.
32793 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32794 <bp-checks.h>.
32795 (__xmknodat): Do not use CHECK_STRING.
32796 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32797 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32798
32799 2013-02-04 Andreas Schwab <schwab@suse.de>
32800
32801 [BZ #14142]
32802 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32803 * include/netdb.h: Likewise for h_errno.
32804 * elf/tst-stackguard1.c: Include <tls.h>.
32805
32806 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32807
32808 * elf/link.h (struct link_map): Extend the l_addr comment.
32809 * include/link.h (struct link_map): Likewise.
32810
32811 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32812
32813 [BZ #13550]
32814 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32815 (BOUNDED_1): Remove macro.
32816 * debug/backtrace.c: Don't include <bp-checks.h>.
32817 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32818 (__backtrace): Likewise.
32819 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32820 <bp-checks.h>.
32821 (__backtrace): Don't use BOUNDED_1.
32822 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32823 <bp-checks.h>.
32824 (__backtrace): Don't use BOUNDED_1.
32825 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32826 (__backtrace): Don't use BOUNDED_1.
32827 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32828 (shmat): Don't use BOUNDED_N.
32829
32830 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32831
32832 [BZ #13550]
32833 * sysdeps/generic/bp-start.h: Remove file.
32834 * csu/libc-start.c: Don't include <bp-start.h>.
32835 (LIBC_START_MAIN): Set up __environ directly instead of using
32836 INIT_ARGV_and_ENVIRON.
32837 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32838 <bp-start.h>.
32839
32840 [BZ #13550]
32841 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32842 definitions.
32843 (CHECK_FCNTL): Likewise.
32844 (CHECK_N_PAGES): Likewise.
32845
32846 [BZ #13550]
32847 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32848 definitions.
32849 (CHECK_SIGSET_NULL_OK): Likewise.
32850 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32851 <bp-checks.h>.
32852 (sigpending): Don't use CHECK_SIGSET.
32853 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32854 <bp-checks.h>.
32855 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32856 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32857 <bp-checks.h>.
32858 (do_sigsuspend): Don't use CHECK_SIGSET.
32859 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32860 use CHECK_SIGSET.
32861 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32862 (do_sigwait): Don't use CHECK_SIGSET.
32863 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32864 use CHECK_SIGSET.
32865 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32866 include <bp-checks.h>.
32867 (sigpending): Don't use CHECK_SIGSET.
32868 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32869 include <bp-checks.h>.
32870 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32871 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32872 <bp-checks.h>.
32873 (sigpending): Don't use CHECK_SIGSET.
32874 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32875 <bp-checks.h>.
32876 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32877
32878 [BZ #13550]
32879 * sysdeps/generic/bp-semctl.h: Remove file.
32880 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32881 <bp-checks.h> and <bp-semctl.h>.
32882 (__old_semctl): Don't use CHECK_SEMCTL.
32883 (__new_semctl): Likewise.
32884 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32885 and <bp-semctl.h>.
32886 (__old_semctl): Don't use CHECK_SEMCTL.
32887 (__new_semctl): Likewise.
32888 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32889 <bp-checks.h> and <bp-semctl.h>.
32890 (__old_semctl): Don't use CHECK_SEMCTL.
32891 (__new_semctl): Likewise.
32892 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32893 <bp-checks.h> and <bp-semctl.h>.
32894 (semctl): Don't use CHECK_SEMCTL.
32895
32896 [BZ #13550]
32897 * Makerules (elide-bp-thunks): Remove variable.
32898 (elide-routines.oS): Don't use $(elide-bp-thunks).
32899 (elide-routines.os): Likewise.
32900 (elide-routines.o): Likewise.
32901 (elide-routines.op): Likewise.
32902 (elide-routines.og): Likewise.
32903 (objects): Don't use $(bp-thunks).
32904 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32905 include.
32906 (common-generated): Do not add s-proto-bp.d.
32907 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32908 (int): Likewise.
32909 (typ): Likewise.
32910 Do not generate makefile rules for bounded-pointer thunks.
32911 * sysdeps/generic/bp-thunks.h: Remove file.
32912 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32913 * sysdeps/unix/s-proto-bp.S: Likewise.
32914
32915 [BZ #15062]
32916 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32917 parts of result separately when argument is not close to line from
32918 -i to i and one part of argument is small.
32919 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32920 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32921 * math/libm-test.inc (cacos_test): Add more tests.
32922 (casin_test): Likewise.
32923 (casinh_test): Likewise.
32924 * sysdeps/i386/fpu/libm-test-ulps: Update.
32925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32926
32927 2013-01-31 David S. Miller <davem@davemloft.net>
32928
32929 * po/de.po: Update from translation team.
32930
32931 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32932
32933 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32934
32935 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32936
32937 * configure.in (_AC_PROG_CC_C89): New definition.
32938 * configure: Regenerate.
32939
32940 * configure.in (AC_PROG_CPP): New definition.
32941 * configure: Regenerate.
32942
32943 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32944
32945 * debug/tst-backtrace.h: New file.
32946 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32947 (ret): Remove variable.
32948 (x): Likewise.
32949 (FAIL): Remove macro.
32950 (NO_INLINE): Likewise.
32951 (fn1): Use match function instead of strstr.
32952 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32953 (ret): Remove variable.
32954 (x): Likewise.
32955 (FAIL): Remove macro.
32956 (NO_INLINE): Likewise.
32957 (fn): Use match function instead of strstr.
32958 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32959 (ret): Remove variable.
32960 (x): Likewise.
32961 (FAIL): Remove macro.
32962 (NO_INLINE): Likewise.
32963 (handle_signal): Use match function instead of strstr.
32964 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32965 (ret): Remove variable.
32966 (x): Likewise.
32967 (FAIL): Remove macro.
32968 (NO_INLINE): Likewise.
32969 (handle_signal): Use match function instead of strstr.
32970
32971 2013-01-23 Roland McGrath <roland@hack.frob.com>
32972
32973 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32974
32975 2013-01-23 David S. Miller <davem@davemloft.net>
32976
32977 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32978 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32979 argument of CAS if possible.
32980 * sysdeps/sparc/sparc64/bits/atomic.h
32981 (__arch_compare_and_exchange_val_32_acq): Likewise.
32982 (__arch_compare_and_exchange_val_64_acq): Likewise.
32983
32984 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32985
32986 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32987 * sysdeps/posix/ulimit.c: ... this.
32988 Include <limits.h>.
32989 * sysdeps/unix/bsd/ulimit.c: Remove file.
32990
32991 2013-01-23 Adam Conrad <adconrad@0c3.net>
32992
32993 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32994 (LDFLAGS-tst-array5): Likewise.
32995
32996 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32997
32998 [BZ #15036]
32999 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33000 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33001 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33003
33004 2013-01-21 David S. Miller <davem@davemloft.net>
33005
33006 * sysdeps/sparc/backtrace.c: New file.
33007 * sysdeps/sparc/sparc32/backtrace.h: New file.
33008 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33009 * sysdeps/sparc/sparc64/backtrace.h: New file.
33010 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33011 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33012 -funwind-tables.
33013
33014 2013-01-21 Andreas Schwab <schwab@suse.de>
33015
33016 [BZ #15020]
33017 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33018 closed its stdout.
33019
33020 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33021
33022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33023 "mpa2.h".
33024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33025
33026 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33027 Mark Mitchell <mark@codesourcery.com>
33028 Tom de Vries <tom@codesourcery.com>
33029 Paul Pluzhnikov <ppluzhnikov@google.com>
33030
33031 * debug/tst-backtrace2.c: New file.
33032 * debug/tst-backtrace3.c: Likewise.
33033 * debug/tst-backtrace4.c: Likewise.
33034 * debug/tst-backtrace5.c: Likewise.
33035 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33036 (CFLAGS-tst-backtrace3.c): Likewise.
33037 (CFLAGS-tst-backtrace4.c): Likewise.
33038 (CFLAGS-tst-backtrace5.c): Likewise.
33039 (LDFLAGS-tst-backtrace2): Likewise.
33040 (LDFLAGS-tst-backtrace3): Likewise.
33041 (LDFLAGS-tst-backtrace4): Likewise.
33042 (LDFLAGS-tst-backtrace5): Likewise.
33043 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33044 tst-backtrace4 and tst-backtrace5.
33045
33046 2013-01-18 Anton Blanchard <anton@samba.org>
33047 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33048
33049 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33050 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33051 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33052 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33054 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33055 "+r" and remove output regs list as redundant. Add explicit inline
33056 asm to specify register of return val to work around compiler codegen
33057 bug. Remove (int) cast on return value. Add return type parameter to
33058 use in macro so that this macro does not truncate return value for
33059 64-bit values.
33060 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33061 pass to INTERNAL_VSYSCALL_NCS.
33062 (INLINE_VSYSCALL): Add 'long int' as return type to
33063 INTERNAL_VSYSCALL_NCS macro invocation.
33064 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33065 INTERNAL_VSYSCALL_NCS macro invocation.
33066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33067
33068 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33069
33070 [BZ #14496]
33071 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33072 Fix application of SIMD FP exception mask.
33073
33074 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33075 mp_no from a power of two.
33076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33077 __mpexp_twomm1. Use __pow_mp.
33078
33079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33080 multiplication.
33081
33082 2013-01-17 David S. Miller <davem@davemloft.net>
33083
33084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33085
33086 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33087
33088 [BZ #15023]
33089 * include/complex.h: Condition contents on [!_COMPLEX_H].
33090 (__kernel_casinhf): New prototype.
33091 (__kernel_casinh): Likewise.
33092 (__kernel_casinhl): Likewise.
33093 * math/Makefile (libm_calls): Add k_casinh.
33094 * math/k_casinh.c: New file.
33095 * math/k_casinhf.c: Likewise.
33096 * math/k_casinhl.c: Likewise.
33097 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33098 finite nonzero arguments.
33099 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33100 finite nonzero arguments.
33101 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33102 finite nonzero arguments.
33103 * math/s_casinh.c: Do not include <float.h>.
33104 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33105 * math/s_casinhf.c: Do not include <float.h>.
33106 (__casinhf): Move code for finite nonzero arguments to
33107 k_casinhf.c.
33108 * math/s_casinhl.c: Do not include <float.h>.
33109 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33110 redefine.
33111 (__casinhl): Move code for finite nonzero arguments to
33112 k_casinhl.c.
33113 * math/libm-test.inc (cacos_test): Add more tests.
33114 * sysdeps/i386/fpu/libm-test-ulps: Update.
33115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33116
33117 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33118
33119 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33120 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33121 [!HAVE_MREMAP]: Remove [defined linux] case.
33122 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33123
33124 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33125
33126 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33127
33128 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33129
33130 * elf/elf.h (R_386_SIZE32): New relocation.
33131 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33132 R_386_SIZE32.
33133 (elf_machine_rela): Likewise.
33134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33135 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33136
33137 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33138
33139 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33140 (FP_FAST_FMA): Do not define.
33141 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33142 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33143 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33144 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33145 !_SOFT_FLOAT]: Likewise.
33146 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33147 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33148 value.
33149 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33150 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33151 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33152 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33153 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33154 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33155 file.
33156
33157 2013-01-16 Andreas Schwab <schwab@suse.de>
33158
33159 [BZ #14327]
33160 * include/stdlib.h (__mktemp): Add declaration.
33161 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33162 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33163
33164 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33165
33166 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33167 definitions.
33168 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33169 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33170 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33171 definitions here.
33172 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33173 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33174 definitions.
33175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33176 and ONE.
33177 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33178 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33179 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33180 definitions.
33181 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33182 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33183 definitions.
33184 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33185
33186 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33187
33188 2013-01-15 David S. Miller <davem@davemloft.net>
33189
33190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33191 trunc{,f} to libm-sysdep_routes.
33192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33194 file.
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33197 file.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33199 file.
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33202 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33203 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33204 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33205 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33206 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33207 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33208
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33210 nearbyint{,f} to libm-sysdep_routes.
33211 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33213 New file.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33215 file.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33217 New file.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33219 file.
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33223 file.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33226 file.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33230
33231 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33232 libc_feholdexcept and libc_fesetenv.
33233
33234 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33235
33236 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33237
33238 2013-01-14 David S. Miller <davem@davemloft.net>
33239
33240 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33241 (SPARC_ASM_VIS2_IFUNC): Likewise.
33242 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33244 use of 'siam' instruction.
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33246 Likewise.
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33248 Likewise.
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33250 Likewise.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33256 file.
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33258 file.
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33260 file.
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33262 file.
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33268 new VIS2 routines.
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33272 Likewise.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33278 routines to libm-sysdep_routines.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33280
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33282 fdim/fdimf to libm-sysdep_routines.
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33284 file.
33285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33287 file.
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33291 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33292 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33293 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33294 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33295
33296 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33297
33298 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33299 to optimize copies.
33300
33301 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33304
33305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33306 local variable MPTWO.
33307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33308 Likewise.
33309
33310 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33311
33312 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33313 GLOB_NOESCAPE.
33314
33315 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33316
33317 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33318
33319 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33320
33321 * manual/pattern.texi (glob_t): Document gl_flags.
33322 (glob64_t): Likewise.
33323
33324 2013-01-11 David S. Miller <davem@davemloft.net>
33325
33326 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33327 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33328 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33329 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33330 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33331 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33332 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33333 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33334 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33335 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33336 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33337 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33338 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33339
33340 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33341 sparc V9 rather than using V8 code.
33342 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33343 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33344
33345 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33346 Move to...
33347 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33348 Here.
33349
33350 2013-01-11 Roland McGrath <roland@hack.frob.com>
33351
33352 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33353 not in the main loop.
33354 * configure: Regenerated.
33355
33356 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33357
33358 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33359 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33360 to just #else.
33361 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33362 [!__GLIBC_HAVE_LONG_LONG] case.
33363 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33364 condition to just #else.
33365 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33366 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33367 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33368 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33369 unconditional.
33370 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33371 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33372 #elif condition to just #else.
33373 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33374 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33375 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33376 #elif condition to just #else.
33377
33378 2013-01-11 Steve Ellcey <sellcey@mips.com>
33379
33380 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33381 (EF_MIPS_ARCH_64): Fix value.
33382 (EF_MIPS_ARCH_32R2): New.
33383 (EF_MIPS_ARCH_64R2): New.
33384
33385 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33386
33387 * Makeconfig (+link-pie-before-libc): New.
33388 (+link-pie-after-libc): Likewise.
33389 (+link-pie-tests): Likewise.
33390 (+link-pie): Rewritten.
33391 (link-before-libc): Remove $(config-LDFLAGS).
33392 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33393 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33394 (config-LDFLAGS): Renamed to ...
33395 (rtld-LDFLAGS): This.
33396 (rtld-tests-LDFLAGS): New macro.
33397 (link-libc-rpath-link): Likewise.
33398 (link-libc-tests-rpath-link): Likewise.
33399 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33400 (link-libc): Prepand $(link-libc-rpath-link).
33401 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33402 (test-program-prefix): New macro.
33403 (test-via-rtld-prefix): Likewise.
33404 (test-program-cmd): Likewise.
33405 (host-test-program-cmd): Likewise.
33406 * Makefile ($(common-objpfx)testrun.sh): Replace
33407 $(run-program-prefix) with $(test-program-prefix).
33408 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33409 $(rtld-LDFLAGS).
33410 ($(common-objpfx)shlib.lds): Likewise.
33411 (build-module-helper): Likewise.
33412 ($(common-objpfx)format.lds): Likewise.
33413 * Rules (binaries-pie-tests): New.
33414 (binaries-pie-notests): Likewise.
33415 (binaries-pie): Rewritten.
33416 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33417 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33418 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33419 (make-test-out): Replace $(host-built-program-cmd) with
33420 $(host-test-program-cmd).
33421 * config.make.in (build-hardcoded-path-in-tests): New variable.
33422 * configure.in (--enable-hardcoded-path-in-tests): New configure
33423 option.
33424 (hardcoded_path_in_tests): New AC_SUBST.
33425 * configure: Regenerated.
33426 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33427 $(built-program-cmd) with $(test-program-cmd).
33428 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33429 (test_program_cmd): This.
33430 * elf/Makefile ($(objpfx)order.out): Run test with
33431 $(test-program-prefix).
33432 ($(objpfx)order2.out): Likewise.
33433 ($(objpfx)tst-initorder.out): Likewise.
33434 ($(objpfx)tst-initorder2.out): Likewise.
33435 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33436 $(test-program-cmd).
33437 ($(objpfx)tst-array1-static.out): Likewise.
33438 ($(objpfx)tst-array2.out): Likewise.
33439 ($(objpfx)tst-array3.out): Likewise.
33440 ($(objpfx)tst-array4.out): Likewise.
33441 ($(objpfx)tst-array5.out): Likewise.
33442 ($(objpfx)tst-array5-static.out): Likewise.
33443 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33444 $(test-program-cmd).
33445 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33446 $(run-program-prefix) with $(test-program-prefix).
33447 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33448 (test_program_prefix): This.
33449 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33450 $(run-program-prefix) with $(test-program-prefix).
33451 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33452 (test_program_prefix): This.
33453 * iconvdata/tst-tables.sh: Likewise.
33454 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33455 $(run-program-prefix) with $(test-program-prefix).
33456 ($(objpfx)tst-translit.out): Likewise.
33457 ($(objpfx)tst-gettext2.out): Likewise.
33458 ($(objpfx)tst-gettext4.out): Likewise.
33459 ($(objpfx)tst-gettext6.out): Likewise.
33460 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33461 (test_program_prefix): This.
33462 * intl/tst-gettext2.sh: Likewise.
33463 * intl/tst-gettext4.sh Likewise.
33464 * intl/tst-gettext6.sh: Likewise.
33465 * intl/tst-translit.sh: Likewise.
33466 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33467 with $(test-program-cmd).
33468 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33469 $(run-program-prefix) with $(test-program-prefix).
33470 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33471 (test_program_prefix): This.
33472 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33473 $(run-program-prefix) with $(test-program-prefix).
33474 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33475 (test_program_prefix): This.
33476 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33477 * posix/Makefile ($(objpfx)globtest.out): Replace
33478 $(run-via-rtld-prefix) and $(test-wrapper) with
33479 $(test-program-prefix) and $(test-via-rtld-prefix).
33480 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33481 $(test-program-prefix).
33482 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33483 $(host-test-program-cmd).
33484 (tst-spawn-ARGS): Likewise.
33485 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33486 $(test-program-prefix).
33487 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33488 (test_via_rtld_prefix): This.
33489 (test_wrapper): Renamed to ...
33490 (test_program_prefix): This.
33491 (run_program_prefix): Replaced by test_program_prefix.
33492 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33493 (test_program_prefix): This.
33494 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33495 with $(host-test-program-cmd).
33496 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33497 $(run-program-prefix) with $(test-program-prefix).
33498 ($(objpfx)tst-printf.out): Likewise.
33499 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33500 $(test-program-cmd).
33501 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33502 (test_program_prefix): This.
33503 * stdio-common/tst-unbputc.sh: Likewise.
33504 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33505 $(run-program-prefix) with $(test-program-prefix).
33506 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33507 (test_program_prefix): This.
33508 * string/Makefile ($(objpfx)tst-svc.out): Replace
33509 $(built-program-cmd) with $(test-program-cmd).
33510
33511 2013-01-11 Andreas Jaeger <aj@suse.de>
33512
33513 [BZ #15003]
33514 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33515 value. Sync with Linux 3.7.
33516
33517 2013-01-10 David S. Miller <davem@davemloft.net>
33518
33519 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33520 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33521 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33522
33523 2013-01-10 Roland McGrath <roland@hack.frob.com>
33524
33525 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33526 never set.
33527 * configure: Regenerated.
33528
33529 2013-01-10 David S. Miller <davem@davemloft.net>
33530
33531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33532 sparc V9 rather than using V8 code.
33533 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33534 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33535
33536 2013-01-10 Roland McGrath <roland@hack.frob.com>
33537
33538 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33539 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33540 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33541 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33542 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33543 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33544 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33545 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33546 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33547 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33548 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33549 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33550 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33551 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33552 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33553 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33554 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33555 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33556 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33557 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33558 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33559 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33560 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33561 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33562 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33563 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33564 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33565
33566 2013-01-10 David S. Miller <davem@davemloft.net>
33567
33568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33569
33570 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33571
33572 * posix/Makefile (tests-static): New variable.
33573 (tests): Add $(tests-static).
33574 (tst-exec-static-ARGS): New variable.
33575 (tst-spawn-static-ARGS): Likewise.
33576 * posix/tst-exec-static.c: New file.
33577 * posix/tst-spawn-static.c: Likewise.
33578 * posix/tst-exec.c: Support run directly.
33579 * posix/tst-spawn.c: Likewise.
33580
33581 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33582
33583 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33584 long.
33585 * math/bits/mathcalls.h (llrint): Likewise.
33586 (llround): Likewise.
33587 * stdlib/stdlib.h (struct drand48_data): Likewise.
33588 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33589 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33590 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33591 Likewise.
33592 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33593 Likewise.
33594 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33595 (elf_greg_t): Likewise.
33596 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33597 (__jmp_buf): Likewise.
33598 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33599 definitions.
33600 (llrint): Likewise, for all definitions.
33601 (llrintl): Likewise.
33602
33603 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33604 Remove [__GNUC__] condition.
33605 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33606 condition to just [__USE_ISOC99].
33607 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33608
33609 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33610
33611 [BZ #14200]
33612 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33613 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33614 defined.
33615 (_POSIX_V6_ILP32_OFF32): Likewise.
33616 (_XBS5_ILP32_OFF32): Likewise.
33617 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33618 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33619
33620 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33621
33622 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33623
33624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33625 doubles __mpexp_twomm1. Adjust usage.
33626 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33627 Remove.
33628
33629 2013-01-10 Andreas Schwab <schwab@suse.de>
33630
33631 [BZ #14964]
33632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33633 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33634
33635 2013-01-09 David S. Miller <davem@davemloft.net>
33636
33637 [BZ #15003]
33638 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33639 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33640 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33641 (TCP_FASTOPEN): Define.
33642 (tcp_repair_opt): New structure.
33643 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33644 enum values.
33645 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33646 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33647 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33648 (tcp_cookie_transactions): New structure.
33649
33650 2013-01-09 Anton Blanchard <anton@samba.org>
33651
33652 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33653 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33654 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33655 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33656
33657 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33658
33659 * include/features.h (__USE_ANSI): Remove.
33660
33661 2013-01-09 Roland McGrath <roland@hack.frob.com>
33662
33663 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33664
33665 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33666
33667 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33668
33669 * sysdeps/s390/fpu/libm-test-ulps: Update.
33670
33671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33672
33673 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33674 (__acr): Likewise.
33675 (__cpy): Likewise.
33676 (norm): Likewise.
33677 (denorm): Likewise.
33678 (__mp_dbl): Likewise.
33679 (__dbl_mp): Likewise.
33680 (add_magnitudes): Likewise.
33681 (sub_magnitudes): Likewise.
33682 (__add): Likewise.
33683 (__sub): Likewise.
33684 (__mul): Likewise.
33685 (__inv): Likewise.
33686 (__dvd): Likewise.
33687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33688 (__acr): Likewise.
33689 (__cpy): Likewise.
33690 (norm): Likewise.
33691 (denorm): Likewise.
33692 (__mp_dbl): Likewise.
33693 (__dbl_mp): Likewise.
33694 (add_magnitudes): Likewise.
33695 (sub_magnitudes): Likewise.
33696 (__add): Likewise.
33697 (__sub): Likewise.
33698 (__mul): Likewise.
33699 (__inv): Likewise.
33700 (__dvd): Likewise.
33701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33702 (__acr): Likewise.
33703 (__cpy): Likewise.
33704 (norm): Likewise.
33705 (denorm): Likewise.
33706 (__mp_dbl): Likewise.
33707 (__dbl_mp): Likewise.
33708 (add_magnitudes): Likewise.
33709 (sub_magnitudes): Likewise.
33710 (__add): Likewise.
33711 (__sub): Likewise.
33712 (__mul): Likewise.
33713 (__inv): Likewise.
33714 (__dvd): Likewise.
33715
33716 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33717
33718 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33719 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33720 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33721 2 && __USE_EXTERN_INLINES]: Likewise.
33722
33723 2013-01-08 Andreas Jaeger <aj@suse.de>
33724
33725 [BZ# 14985]
33726 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33727 Remove.
33728 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33729 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33730
33731 2013-01-07 Anton Blanchard <anton@samba.org>
33732
33733 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33734 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33735 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33736 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33737 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33738 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33739 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33740 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33742 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33743 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33744 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33745 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33747 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33748 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33749 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33751 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33752 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33753 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33754 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33756 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33757 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33758 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33760 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33762 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33763 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33765 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33766 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33767 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33769 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33771 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33772 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33773 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33774 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33775 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33776
33777 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33778
33779 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33780 (__MALLOC_PMT): Likewise.
33781 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33782 [__GNUC__], only on [_LIBC].
33783 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33784 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33785 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33786 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33787 forward declaration.
33788 (realloc_hook_ini): Likewise.
33789 (memalign_hook_ini): Likewise.
33790 (__libc_memalign): Do not use __MALLOC_PMT in variable
33791 declaration.
33792 (__libc_valloc): Likewise.
33793 (__libc_pvalloc): Likewise.
33794 (__libc_calloc): Likewise.
33795 (__posix_memalign): Likewise.
33796
33797 [BZ #14996]
33798 * math/s_casinh.c: Include <float.h>.
33799 (__casinh): Do not do computation with squaring and square root
33800 for large arguments.
33801 * math/s_casinhf.c: Include <float.h>.
33802 (__casinhf): Do not do computation with squaring and square root
33803 for large arguments.
33804 * math/s_casinhl.c: Include <float.h>.
33805 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33806 (__casinhl): Do not do computation with squaring and square root
33807 for large arguments.
33808 * math/libm-test.inc (casin_test): Add more tests.
33809 (casinh_test): Likewise.
33810 * sysdeps/i386/fpu/libm-test-ulps: Update.
33811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33812
33813 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33814
33815 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33816 (__x86_64_raw_data_cache_size): Likewise.
33817 (__x86_64_data_cache_size_half): Likewise.
33818 (__x86_64_raw_data_cache_size_half): Likewise.
33819 (__x86_64_shared_cache_size): Likewise.
33820 (__x86_64_raw_shared_cache_size): Likewise.
33821 (__x86_64_shared_cache_size_half): Likewise.
33822 (__x86_64_raw_shared_cache_size_half): Likewise.
33823 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33824 to ...
33825 (__x86_data_cache_size): This.
33826 (__x86_64_raw_data_cache_size): Renamed to ...
33827 (__x86_raw_data_cache_size): This.
33828 (__x86_64_data_cache_size_half): Renamed to ...
33829 (__x86_data_cache_size_half): This.
33830 (__x86_64_raw_data_cache_size_half): Renamed to ...
33831 (__x86_raw_data_cache_size_half): This.
33832 (__x86_64_shared_cache_size): Renamed to ...
33833 (__x86_shared_cache_size): This.
33834 (__x86_64_raw_shared_cache_size): Renamed to ...
33835 (__x86_raw_shared_cache_size): This.
33836 (__x86_64_shared_cache_size_half): Renamed to ...
33837 (__x86_shared_cache_size_half): This.
33838 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33839 (__x86_raw_shared_cache_size_half): This.
33840 * sysdeps/x86_64/memcpy.S: Updated.
33841 * sysdeps/x86_64/memset.S: Likewise.
33842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33843 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33844 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33845
33846 2013-01-04 David S. Miller <davem@davemloft.net>
33847
33848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33849
33850 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33851
33852 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33853 1 to avoid redefinition warning.
33854 (__USE_GNU): Don't define.
33855 (init_signaling_nan): Protoize.
33856
33857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33858
33859 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33860
33861 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33863 (__cpymn): Likewise.
33864 (norm): Remove commented code.
33865 (denorm): Likewise.
33866 (__mp_dbl): Likewise.
33867 (__inv): Likewise.
33868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33869 (__cpymn): Likewise.
33870 (norm): Remove commented code.
33871 (denorm): Likewise.
33872 (__mp_dbl): Likewise.
33873 (__inv): Likewise.
33874
33875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33876 mp_no value for 1.0 and 2.0.
33877 (norm): Use RADIXI instead of radixi.d.
33878 (denorm): Likewise.
33879 (__mul): Use 0.0 instead of zero.d.
33880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33881 mp_no value for 1.0 and 2.0.
33882 (norm): Use RADIXI instead of radixi.d.
33883 (denorm): Likewise.
33884 (__mul): Use 0.0 instead of zero.d.
33885
33886 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33887
33888 [BZ #14994]
33889 * math/s_casinh.c (__casinh): Reduce finite argument to first
33890 quadrant then set signs of results at the end.
33891 * math/s_casinhf.c (__casinhf): Likewise.
33892 * math/s_casinhl.c (__casinhl): Likewise.
33893 * math/libm-test.inc (casin_test): Add more tests.
33894 (casinh_test): Likewise.
33895 * sysdeps/i386/fpu/libm-test-ulps: Update.
33896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33897
33898 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33899
33900 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33901
33902 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33903
33904 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33905 declarations.
33906 (denorm): Likewise.
33907 (__mp_dbl): Likewise.
33908 (__inv): Likewise.
33909
33910 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33911 and adjust the header comment.
33912
33913 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33914 variable name from declaration.
33915
33916 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33917
33918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33919 Initialize COMMON_CPUID_INDEX_7 element.
33920 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33921 (CPUID_RTM): Likewise.
33922 (HAS_RTM): Likewise.
33923 (COMMON_CPUID_INDEX_7): New enum.
33924
33925 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33926
33927 [BZ #14981]
33928 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33929 size is zero, record memory as freed.
33930
33931 2013-01-03 Andreas Jaeger <aj@suse.de>
33932
33933 * po/ia.po: Add new Interlingua translation.
33934
33935 2012-01-03 Allan McRae <allan@archlinux.org>
33936
33937 * locale/programs/localedef.c: Fix description of '--posix' flag.
33938
33939 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33940
33941 * NEWS: Update dates in second copyright notice.
33942 * README: Update copyright dates in example.
33943 * manual/libc.texinfo: Update copyright dates.
33944 * scripts/test-installation.pl: Update copyright date in --version
33945 output.
33946
33947 * hurd/ctty-input.c: Fix copyright notice formatting.
33948 * hurd/ctty-output.c: Likewise.
33949 * hurd/dtable.c: Likewise.
33950 * hurd/hurd-raise.c: Likewise.
33951 * hurd/hurdprio.c: Likewise.
33952 * hurd/msgportdemux.c: Likewise.
33953 * misc/sys/file.h: Likewise.
33954 * misc/sys/ioctl.h: Likewise.
33955 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33956 * sysdeps/mach/hurd/chdir.c: Likewise.
33957 * sysdeps/mach/hurd/fchdir.c: Likewise.
33958 * sysdeps/mach/hurd/rename.c: Likewise.
33959 * sysdeps/mach/hurd/rmdir.c: Likewise.
33960 * sysdeps/mach/hurd/seekdir.c: Likewise.
33961 * sysdeps/mach/hurd/setsid.c: Likewise.
33962 * sysdeps/posix/wait3.c: Likewise.
33963
33964 * All files with FSF copyright notices: Update copyright dates
33965 using scripts/update-copyrights.
33966 * intl/plural.c: Regenerated.
33967 * locale/programs/charmap-kw.h: Likewise.
33968 * locale/programs/locfile-kw.h: Likewise.
33969
33970 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33971
33972 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33973 four values.
33974
33975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33976 calculation loop and add branch prediction.
33977
33978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33979 check access beyond bounds of m1np.
33980
33981 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33982 MPTWO.
33983 (__inv): Remove local variable MPTWO to use the global
33984 constant.
33985 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33986 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33987 variable MPTWO.
33988 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33989 MP3HALFS static const.
33990
33991 2013-01-01 David S. Miller <davem@davemloft.net>
33992
33993 * po/ca.po: Update from translation team.
33994
33995 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33996
33997 * scripts/update-copyrights: New file.
33998 * Makeconfig: Reformat copyright notice.
33999 * ctype/ctype.h: Likewise.
34000 * debug/swprintf_chk.c: Likewise.
34001 * elf/dl-cache.c: Likewise.
34002 * elf/dl-debug.c: Likewise.
34003 * elf/dl-object.c: Likewise.
34004 * grp/initgroups.c: Likewise.
34005 * hurd/Makefile: Likewise.
34006 * hurd/hurd/signal.h: Likewise.
34007 * hurd/hurdfault.c: Likewise.
34008 * hurd/hurdioctl.c: Likewise.
34009 * hurd/hurdlookup.c: Likewise.
34010 * hurd/intr-msg.c: Likewise.
34011 * iconv/gconv_open.c: Likewise.
34012 * libio/swprintf.c: Likewise.
34013 * locale/lc-ctype.c: Likewise.
34014 * locale/nl_langinfo.c: Likewise.
34015 * mach/Machrules: Likewise.
34016 * mach/Makefile: Likewise.
34017 * malloc/obstack.h: Likewise.
34018 * manual/Makefile: Likewise.
34019 * manual/tsort.awk: Likewise.
34020 * misc/bits/stab.def: Likewise.
34021 * nis/nis_print_group_entry.c: Likewise.
34022 * nis/nis_table.c: Likewise.
34023 * nis/nss_compat/compat-pwd.c: Likewise.
34024 * nis/nss_compat/compat-spwd.c: Likewise.
34025 * po/Makefile: Likewise.
34026 * posix/fnmatch.c: Likewise.
34027 * posix/regex.h: Likewise.
34028 * resolv/Makefile: Likewise.
34029 * resolv/nss_dns/dns-network.c: Likewise.
34030 * resolv/res_hconf.c: Likewise.
34031 * scripts/gen-sorted.awk: Likewise.
34032 * soft-fp/soft-fp.h: Likewise.
34033 * stdio-common/printf.h: Likewise.
34034 * stdlib/monetary.h: Likewise.
34035 * stdlib/random.c: Likewise.
34036 * stdlib/random_r.c: Likewise.
34037 * sysdeps/generic/Makefile: Likewise.
34038 * sysdeps/gnu/Makefile: Likewise.
34039 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34041 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34043 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34049 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34050 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34051 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34052 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34053 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34054 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34055 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34057 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34059 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34060 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34061 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34062 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34063 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34067 * sysdeps/mach/hurd/errnos.awk: Likewise.
34068 * sysdeps/mach/hurd/fork.c: Likewise.
34069 * sysdeps/mach/hurd/getcwd.c: Likewise.
34070 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34071 * sysdeps/mach/hurd/mmap.c: Likewise.
34072 * sysdeps/mach/hurd/utimes.c: Likewise.
34073 * sysdeps/mach/hurd/xmknod.c: Likewise.
34074 * sysdeps/posix/profil.c: Likewise.
34075 * sysdeps/posix/readdir_r.c: Likewise.
34076 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34077 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34078 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34079 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34081 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34082 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34083 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34085 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34086 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34087 * sysdeps/pthread/lio_listio.c: Likewise.
34088 * sysdeps/sparc/dl-procinfo.h: Likewise.
34089 * sysdeps/unix/i386/sysdep.S: Likewise.
34090 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34091 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34092 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34093 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34095 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34096 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34097 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34098 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34099 * sysdeps/wordsize-32/divdi3.c: Likewise.
34100 * time/sys/time.h: Likewise.
34101 * wcsmbs/Makefile: Likewise.
34102
34103 2013-01-01 David S. Miller <davem@davemloft.net>
34104
34105 * po/fr.po: Update from translation team.
34106
34107 * catgets/gencat.c: Update copyright year.
34108 * csu/version.c: Likewise.
34109 * debug/catchsegv.sh: Likewise.
34110 * debug/pcprofiledump.c: Likewise.
34111 * debug/xtrace.sh: Likewise.
34112 * elf/ldconfig.c: Likewise.
34113 * elf/ldd.bash.in: Likewise.
34114 * elf/pldd.c: Likewise.
34115 * elf/sotruss.ksh: Likewise.
34116 * elf/sprof.c: Likewise.
34117 * iconv/iconv_prog.c: Likewise.
34118 * iconv/iconvconfig.c: Likewise.
34119 * locale/programs/locale.c: Likewise.
34120 * locale/programs/localedef.c: Likewise.
34121 * login/programs/pt_chown.c: Likewise.
34122 * malloc/memusage.sh: Likewise.
34123 * malloc/memusagestat.c: Likewise.
34124 * malloc/mtrace.pl: Likewise.
34125 * nscd/nscd.c: Likewise.
34126 * nss/getent.c: Likewise.
34127 * nss/makedb.c: Likewise.
34128 * posix/getconf.c: Likewise.
34129
34130 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34131
34132 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34133 numbers.
34134
34135 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34136
34137 * math/bits/mathcalls.h (modf): Use __nonnull.
34138
34139 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34140
34141 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34142 (split): Use macro CN instead of the bare value.
34143 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34144 could be used.
34145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34146 instead of the bare value.
34147 (power1): Likewise.
34148
34149 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34150
34151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34152 __ATAN_TWOM.
34153 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34154
34155 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34156 their values.
34157 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34158 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34159 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34160 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34161
34162 2012-12-28 Andreas Jaeger <aj@suse.de>
34163
34164 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34165 values are from Linux 3.7.
34166
34167 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34168 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34169
34170 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34171
34172 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34173 TRUE case.
34174
34175 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34176 (norm): Likewise.
34177 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34178 variables with preprocessor constants.
34179 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34180 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34181 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34182
34183 2012-12-27 Bruno Haible <bruno@clisp.org>
34184
34185 [BZ #14317]
34186 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34187 only if needed.
34188
34189 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34190
34191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34192 and use variable directly.
34193 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34194
34195 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34196 MPONE.
34197 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34199 variable MPONE.
34200 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34202 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34203 include directive. Remove local variable MPONE.
34204 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34205 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34206 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34207
34208 2012-12-25 David S. Miller <davem@davemloft.net>
34209
34210 * version.h (RELEASE): Set to "development".
34211 (VERSION): Set to "2.17.90".
34212 * NEWS: Add 2.18 section.
34213
34214 2012-12-21 David S. Miller <davem@davemloft.net>
34215
34216 * po/hr.po: Update from translation team.
34217
34218 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34219
34220 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34221
34222 2012-12-19 Steve Ellcey <sellcey@mips.com>
34223
34224 * NEWS: Mention new memcpy for MIPS.
34225
34226 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34227
34228 * manual/contrib.texi (Contributors): Spelling correction.
34229
34230 2012-12-15 David S. Miller <davem@davemloft.net>
34231
34232 * po/ru.po: Update from translation team.
34233
34234 2012-12-13 David S. Miller <davem@davemloft.net>
34235
34236 * NEWS: Mention IFUNC testsuite enhancements.
34237
34238 * po/pl.po: Update from translation team.
34239 * po/bg.po: Likewise.
34240
34241 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34242 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34243
34244 2012-12-11 David S. Miller <davem@davemloft.net>
34245
34246 * po/sv.po: Update from translation team.
34247
34248 * po/vi.po: Update from translation team.
34249
34250 * po/cs.po: Update from translation team.
34251
34252 * po/de.po: Update from translation team.
34253 * po/eo.po: Likewise.
34254 * po/nl.po: Likewise.
34255
34256 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34257
34258 [BZ #14246]
34259 * manual/argp.texi (Argp Helper Functions): Move node to follow
34260 Argp Parsing State.
34261
34262 [BZ #14872]
34263 * manual/conf.texi (Limits on File System Capacity): Mention if
34264 terminating null is included in the max size.
34265
34266 2012-12-10 Andreas Jaeger <aj@suse.de>
34267
34268 * po/cs.po: Update from translation team.
34269
34270 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34271
34272 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34273 void pointer and cast to uintptr_t.
34274 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34275 path.
34276 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34277 * sysdeps/s390/s390-64/memset.S: Likewise.
34278
34279 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34280
34281 [BZ #14833]
34282 * menual/message.texi (Message Translation): Fix typos.
34283 (Helper programs for gettext): Likewise.
34284
34285 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34286
34287 [BZ #14898]
34288 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34289 Change to -1.
34290
34291 2012-12-07 David S. Miller <davem@davemloft.net>
34292
34293 * po/libc.pot: Update.
34294
34295 2012-12-07 Richard Henderson <rth@redhat.com>
34296
34297 [BZ #10114]
34298 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34299 normal/normal case to before the switch.
34300 (_FP_DIV): Likewise.
34301
34302 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34303 Mike Frysinger <vapier@gentoo.org>
34304
34305 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34306 check for __NR_fadvise64_64.
34307
34308 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34309
34310 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34311 0, not just to plain "0" as a statement.
34312 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34313 with cw.
34314
34315 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34316
34317 * NEWS: Use sourceware.org in Bugzilla URL.
34318
34319 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34320
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34322 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34323
34324 * stdio-common/tst-put-error.c (do_test): Add newline to the
34325 padded test to ensure flush.
34326
34327 2012-12-05 Jeff Law <law@redhat.com>
34328
34329 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34330
34331 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34332
34333 * README: Don't refer to ports add-on as distributed separately.
34334 Mention AArch64 in list of systems supported in the ports add-on.
34335
34336 * LICENSES: Add more non-FSF copyright and license notices.
34337
34338 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34339 ((unused)).
34340
34341 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34342
34343 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34344 10000 as width of padded output.
34345
34346 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34347
34348 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34349
34350 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34351 variable LX with __attribute__ ((unused)).
34352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34353 Likewise.
34354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34357 with __attribute__ ((unused)).
34358
34359 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34360
34361 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34362
34363 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34364
34365 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34366 (CFLAGS-nldbl-acos.c): New variable.
34367 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34368 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34369 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34370 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34371 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34372 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34373 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34374 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34375 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34376 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34377 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34378 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34379 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34380 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34381 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34382 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34383 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34384 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34385 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34386 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34387 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34388 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34389 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34390 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34391 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34392 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34393 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34394 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34395 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34396 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34397 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34398 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34399 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34400 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34401 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34402 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34403 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34404 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34405 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34406 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34407 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34408 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34409 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34410 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34411 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34412 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34413 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34414 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34415 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34416 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34417 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34418 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34419 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34420 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34421 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34422 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34423 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34424 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34425 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34426 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34427 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34428 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34429 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34430 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34431 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34432 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34433 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34434 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34435 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34436 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34437 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34438 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34439 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34440 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34441 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34442 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34443 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34444 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34445 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34446 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34447 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34448 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34449 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34450 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34451 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34452 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34453 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34454 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34455 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34456 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34457 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34458 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34459 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34460 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34461 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34462 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34463 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34464
34465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34466 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34467
34468 [BZ #14914]
34469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34470 whole low double instead of just low 47 bits when splitting values
34471 into two parts.
34472
34473 2012-12-03 Allan McRae <allan@archlinux.org>
34474
34475 * manual/stdio.texi (Predefined Printf Handlers): Remove
34476 @hsep and @vsep usage.
34477
34478 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34479
34480 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34481 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34482
34483 2012-12-03 Jeff Law <law@redhat.com>
34484
34485 * time/sys/time.h (settimeofday): Do not mark TV argument
34486 as __nonnull.
34487
34488 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34489
34490 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34491 when currently writing and seek to current position when not.
34492 * libio/Makefile (tests): Remove bug-fclose1.
34493 * libio/bug-fclose1.c: Delete.
34494
34495 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34496
34497 * manual/arith.texi (feenableexcept): Fix typo.
34498 (fedisableexcept): Likewise.
34499
34500 2012-11-30 Roland McGrath <roland@hack.frob.com>
34501
34502 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34503 second, differently-typed declaration, rather than a cast.
34504
34505 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34506
34507 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34508 * include/rpc/svc.h: ... here.
34509
34510 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34511
34512 [BZ #13013]
34513 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34514 depending n and resplen2 to catch cases where answer
34515 equals answerp2.
34516
34517 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34518
34519 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34520 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34521
34522 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34523
34524 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34525
34526 2012-11-29 Roland McGrath <roland@hack.frob.com>
34527
34528 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34529
34530 2012-11-28 Jeff Law <law@redhat.com>
34531
34532 [BZ #13761]
34533 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34534 dataset_temporary. Track alloca usage into alloca_used.
34535 If dataset is large allocate and release it via malloc/free.
34536
34537 2012-06-04 Florian Weimer <fweimer@redhat.com>
34538
34539 [BZ #14197]
34540 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34541
34542 2012-11-28 David S. Miller <davem@davemloft.net>
34543
34544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34545
34546 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34547
34548 [BZ #14803]
34549 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34550 of pi/2 rounded to nearest to 64 bits.
34551 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34552 nearest to 64 bits.
34553 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34554 bits.
34555
34556 2012-11-28 Jeff Law <law@redhat.com>
34557 Martin Osvald <mosvald@redhat.com>
34558
34559 [BZ #14889]
34560 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34561 * sunrpc/svc.c: Include time.h.
34562 (__svc_accept_failed): New function.
34563 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34564 any reason other than EINTR, call __svc_accept_failed.
34565 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34566 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34567
34568 2012-11-28 Andreas Schwab <schwab@suse.de>
34569
34570 * scripts/abilist.awk: Also handle indirect functions in .opd
34571 section.
34572
34573 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34574
34575 [BZ #13881]
34576 * sysdeps/x86/fpu/powl_helper.c: New file.
34577 * sysdeps/x86/fpu/Makefile: Likewise.
34578 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34579 (p3): New object.
34580 (__ieee754_powl): Use __powl_helper for finite arguments except
34581 integer exponents below 8.
34582 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34583 (p3): New object.
34584 (__ieee754_powl): Use __powl_helper for finite arguments except
34585 integer exponents below 8.
34586 * math/libm-test.inc (pow_test): Add more tests and enable some
34587 previously disabled tests.
34588 * sysdeps/i386/fpu/libm-test-ulps: Update.
34589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34590
34591 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34592 Carlos O'Donell <carlos_odonell@mentor.com>
34593
34594 * nss/makedb.c (is_prime): Assert that input is odd and greater
34595 than 4. Note that fact in a comment too.
34596 (next_prime): Add 4 to input.
34597
34598 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34599
34600 [BZ #11741]
34601 * libio/Makefile (tests): Add test case tst-fwrite-error.
34602 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34603 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34604 * libio/tst-fwrite-error.c: New test case.
34605
34606 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34607
34608 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34609 before casting to void *.
34610 * include/libc-internal.h (__pointer_type): New macro.
34611 (__integer_if_pointer_type_sub): Likewise.
34612 (__integer_if_pointer_type): Likewise.
34613 (cast_to_integer): Likewise.
34614 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34615 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34616 before casting to atomic64_t.
34617 (atomic_exchange_acq): Likewise.
34618 (__arch_exchange_and_add_body): Likewise.
34619 (__arch_add_body): Likewise.
34620 (atomic_add_negative): Likewise.
34621 (atomic_add_zero): Likewise.
34622
34623 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34624
34625 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34626 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34627 (add_fdes): Likewise.
34628 (linear_search_fdes): Likewise.
34629 (binary_search_unencoded_fdes): Likewise.
34630
34631 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34632
34633 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34634
34635 2012-11-24 Adam Conrad <adconrad@0c3.net>
34636
34637 * configure.in: Autodetect C++ header directories.
34638 * configure: Regenerated.
34639
34640 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34641
34642 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34643
34644 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34645
34646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34647
34648 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34649
34650 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34651 LDBL_MANT_DIG == 106]: Disable some tests.
34652 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34653 Likewise.
34654 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34655 Likewise.
34656
34657 [BZ #14871]
34658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34659 input for small inputs. Return +/- pi/2 for large inputs.
34660 * math/libm-test.inc (atan_test): Add more tests.
34661
34662 * sysdeps/generic/unwind-dw2-fde-glibc.c
34663 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34664 __attribute__ ((unused)).
34665
34666 [BZ #14645]
34667 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34668 x * y if x and y are nonzero and z is zero.
34669
34670 [BZ #14811]
34671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34672 nonzero exponents with absolute value below 0x1p-117 to +/-
34673 0x1p-117.
34674
34675 [BZ #14869]
34676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34677 up arguments below 2**-450, not just those below 2**-500.
34678 * math/libm-test.inc (hypot_test): Add another test.
34679
34680 [BZ #14868]
34681 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34682 Return a+b for ratio over 2**120, not 2**60.
34683 * math/libm-test.inc (hypot_test): Add another test.
34684
34685 * math/libm-test.inc (clog_test): Use
34686 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34687 (clog10_test): Likewise.
34688
34689 [BZ #6778]
34690 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34691
34692 2012-11-22 Andreas Schwab <schwab@suse.de>
34693
34694 * sysdeps/i386/fpu/libm-test-ulps: Update.
34695
34696 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34697
34698 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34699 printf output with newline.
34700
34701 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34702
34703 [BZ #14865]
34704 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34705 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34706 -z nodlopen, -z initfirst and -z execstack support.
34707 * configure: Regenerated.
34708
34709 * elf/elf.h (DF_1_NODIRECT): New macro.
34710 (DF_1_IGNMULDEF): Likewise.
34711 (DF_1_NOKSYMS): Likewise.
34712 (DF_1_NOHDR): Likewise.
34713 (DF_1_EDITED): Likewise.
34714 (DF_1_NORELOC): Likewise.
34715 (DF_1_SYMINTPOSE): Likewise.
34716 (DF_1_GLOBAUDIT): Likewise.
34717 (DF_1_SINGLETON): Likewise.
34718 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34719 DT_1_SUPPORTED_MASK bits.
34720 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34721
34722 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34723
34724 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34725
34726 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34727
34728 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34729 macro.
34730
34731 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34732 (sendmmsg): Move declarations...
34733 * socket/sys/socket.h: ... here.
34734 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34735 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34736 include it from...
34737 * socket/recvmmsg.c: ... this new file.
34738 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34739 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34740 definition of __sendmmsg hidden.
34741 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34742 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34743 Move ENOSYS stub into and include it from...
34744 * socket/sendmmsg.c: ... this new file.
34745 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34746 (sysdep_routines): Move recvmmsg and sendmmsg...
34747 * socket/Makefile (routines): ... here.
34748 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34749 (GLIBC_PRIVATE): Add __sendmmsg.
34750 * include/sys/socket.h (__sendmmsg): Add declarations.
34751 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34752 sendmmsg.
34753
34754 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34755
34756 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34757 variable I1 with __attribute__ ((unused)).
34758 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34759
34760 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34761
34762 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34763 DUMMY variables with __attribute__ ((unused)).
34764
34765 * bits/byteswap.h: Include <bits/types.h>.
34766 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34767
34768 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34769
34770 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34771 string_t. Do not manually set errno.
34772 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34773 length with __strnlen. Make sure to both set errno and return it on
34774 failure.
34775
34776 2012-11-19 David S. Miller <davem@davemloft.net>
34777
34778 With help from Joseph Myers.
34779 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34780 very large arguments properly.
34781 * math/libm-test.inc (atan_test): New tests.
34782 (atan2_test): New tests.
34783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34785
34786 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34787
34788 [BZ #14856]
34789 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34790 Define to 3.
34791
34792 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34793 [POSIX] (EADDRNOTAVAIL): Likewise.
34794 [POSIX] (EAFNOSUPPORT): Likewise.
34795 [POSIX] (EALREADY): Likewise.
34796 [POSIX] (ECONNABORTED): Likewise.
34797 [POSIX] (ECONNREFUSED): Likewise.
34798 [POSIX] (ECONNRESET): Likewise.
34799 [POSIX] (EDESTADDRREQ): Likewise.
34800 [POSIX] (EDQUOT): Likewise.
34801 [POSIX] (EHOSTUNREACH): Likewise.
34802 [POSIX] (EIDRM): Likewise.
34803 [POSIX] (EISCONN): Likewise.
34804 [POSIX] (ELOOP): Likewise.
34805 [POSIX] (EMULTIHOP): Likewise.
34806 [POSIX] (ENETDOWN): Likewise.
34807 [POSIX] (ENETUNREACH): Likewise.
34808 [POSIX] (ENOBUFS): Likewise.
34809 [POSIX] (ENODATA): Likewise.
34810 [POSIX] (ENOLINK): Likewise.
34811 [POSIX] (ENOMSG): Likewise.
34812 [POSIX] (ENOPROTOOPT): Likewise.
34813 [POSIX] (ENOSR): Likewise.
34814 [POSIX] (ENOSTR): Likewise.
34815 [POSIX] (ENOTCONN): Likewise.
34816 [POSIX] (ENOTSOCK): Likewise.
34817 [POSIX] (EOPNOTSUPP): Likewise.
34818 [POSIX] (EOVERFLOW): Likewise.
34819 [POSIX] (EPROTO): Likewise.
34820 [POSIX] (EPROTONOSUPPORT): Likewise.
34821 [POSIX] (EPROTOTYPE): Likewise.
34822 [POSIX] (ESTALE): Likewise.
34823 [POSIX] (ETIME): Likewise.
34824 [POSIX] (ETXTBSY): Likewise.
34825 [POSIX] (EWOULDBLOCK): Likewise.
34826 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34827 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34828 [POSIX] (SEEK_CUR): Likewise.
34829 [POSIX] (SEEK_END): Likewise.
34830 [POSIX || UNIX98] (mode_t): Do not require.
34831 [POSIX] (off_t): Likewise.
34832 [POSIX] (pid_t): Likewise.
34833 [POSIX] (sys/stat.h): Do not allow header.
34834 [POSIX] (unistd.h): Likewise.
34835 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34836 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34837 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34838 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34839 require.
34840 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34841 sigevent): Specify elements.
34842 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34843 entry.
34844 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34845 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34846
34847 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34848 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34849 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34850 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34851 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34852 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34853 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34854 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34855 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34856 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34857 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34858 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34859 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34860 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34861 Likewise.
34862 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34863 Likewise.
34864 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34865 Likewise.
34866 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34867 Likewise.
34868 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34869 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34870 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34871 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34872 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34873 Specify lower bound on value.
34874 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34875 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34876 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34877 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34878 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34879 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34880 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34881 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34882 value.
34883 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34884 as optional.
34885 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34886 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34887 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34888 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34889 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34890 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34891 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34892 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34893 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34894 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34895 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34896 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34897 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34898 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34899 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34900 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34901 entry.
34902 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34903 optional.
34904 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34905 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34906 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34907 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34908 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34909 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34910 Likewise.
34911 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34912 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34913 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34914 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34915 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34916 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34917 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34918 as optional.
34919 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34920 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34921 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34922 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34923 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34924 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34925 specify as optional.
34926 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34927 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34928 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34929 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34930 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34931 [XPG3] (NL_LANGMAX): Likewise.
34932 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34933 [POSIX || XPG3] (NL_NMAX): Likewise.
34934 [POSIX || XPG3] (NL_SETMAX): Likewise.
34935 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34936 [XPG3] (NZERO): Likewise.
34937 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34938 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34939 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34940 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34941 (REG_ERANGE): Expect.
34942 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34943 optional-constant.
34944 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34945 Use (void) in prototype.
34946 [POSIX] (*_t): Allow.
34947 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34948 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34949 (WRDE_BADVAL): Expect.
34950
34951 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34952 expect.
34953 [XPG3 || XPG4] (O_RSYNC): Likewise.
34954 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34955 Likewise.
34956 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34957 [XPG3 || XPG4] (sigqueue): Likewise.
34958 [XPG3 || XPG4] (sigtimedwait): Likewise.
34959 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34960 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34961 [XPG3 || XPG4] (vsnprintf): Likewise.
34962 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34963 Likewise.
34964 [XPG3 || XPG4] (blksize_t): Likewise.
34965 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34966 Likewise.
34967 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34968 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34969 [XPG3 || XPG4] (struct itimerspec): Likewise.
34970 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34971 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34972 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34973 [XPG3 || XPG4] (clockid_t): Likewise.
34974 [XPG3 || XPG4] (timer_t): Likewise.
34975 [XPG3 || XPG4] (clock_getres): Likewise.
34976 [XPG3 || XPG4] (clock_gettime): Likewise.
34977 [XPG3 || XPG4] (clock_settime): Likewise.
34978 [XPG3 || XPG4] (nanosleep): Likewise.
34979 [XPG3 || XPG4] (timer_create): Likewise.
34980 [XPG3 || XPG4] (timer_delete): Likewise.
34981 [XPG3 || XPG4] (timer_gettime): Likewise.
34982 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34983 [XPG3 || XPG4] (timer_settime): Likewise.
34984 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34985 [XPG3 || XPG4] (getlogin_r): Likewise.
34986 [XPG3 || XPG4] (pread): Likewise.
34987 [XPG3 || XPG4] (pthread_atfork): Likewise.
34988 [XPG3 || XPG4] (pwrite): Likewise.
34989
34990 [BZ #14835]
34991 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34992 <bits/siginfo.h>.
34993
34994 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34995
34996 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34997 finalizing MALLSTREAM.
34998
34999 * sysdeps/mach/hurd/syncfs.c: New file.
35000
35001 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35002
35003 [BZ #14719]
35004 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35005 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35006 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35007 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35008 (_nss_dns_gethostbyname4_r): Likewise.
35009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35010 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35011
35012 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35013
35014 [BZ #13763]
35015 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35016
35017 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35018
35019 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35020 * elf/cache.c (print_entry): Print ",AArch64" for
35021 FLAG_AARCH64_LIB64
35022
35023 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35024 * elf/cache.c (print_entry): Print ",hard-float" for
35025 FLAG_ARM_LIBHF.
35026
35027 2012-11-18 David S. Miller <davem@davemloft.net>
35028
35029 With help from Joseph Myers.
35030 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35031 cutoff to 2**-13.
35032 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35033 cutoff to 2**-25.
35034 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35035 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35036 small.
35037 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35038 * math/libm-test.inc (y0_test): New tests.
35039 (y1_test): New tests.
35040 * sysdeps/i386/fpu/libm-test-ulps: Update.
35041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35043
35044 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35045
35046 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35047 64-bit targets.
35048 * configure: Regenerated.
35049
35050 2012-11-17 David S. Miller <davem@davemloft.net>
35051
35052 [BZ #14811]
35053 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35054 nonzero exponents with absolute value below 0x1p-128 to +/-
35055 0x1p-128.
35056
35057 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35058
35059 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35060
35061 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35062
35063 * posix/getconf-speclist.c: New file.
35064 * posix/posix-envs.def: Likewise.
35065 * posix/confstr.c (START_ENV_GROUP): New macro.
35066 (END_ENV_GROUP): Likewise.
35067 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35068 (KNOWN_PRESENT_ENV_STRING): Likewise.
35069 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35070 (UNKNOWN_ENVIRONMENT): Likewise.
35071 (confstr): Include posix-envs.def instead of handling
35072 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35073 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35074 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35075 (END_ENV_GROUP): Likewise.
35076 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35077 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35078 (UNKNOWN_ENVIRONMENT): Likewise.
35079 (__sysconf): Include posix-envs.def instead of handling associated
35080 cases directly here.
35081 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35082 preprocessing getconf-speclist.c rather than running getconf or
35083 generating empty file.
35084
35085 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35086
35087 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35088
35089 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35090
35091 [BZ #14672]
35092 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35093
35094 2012-11-16 David S. Miller <davem@davemloft.net>
35095
35096 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35097 smaller than LDBL_EPSILON/2.0L, just return xm1.
35098
35099 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35100
35101 * elf/tst-array1.c (init): Set constructor priority to 1000.
35102 (fini): Set destructor priority to 1000.
35103 * elf/tst-array2dep.c: Likewise.
35104
35105 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35106
35107 [BZ #11741]
35108 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35109 (_IO_new_file_xsputn): Also return EOF if none of the input
35110 data was written when overflow failed.
35111 * libio/iopadn.c (_IO_padn): Likewise.
35112 * libio/iowpadn.c (_IO_wpadn): Likewise.
35113 * stdio-common/tst-put-error.c: Add copyright notice.
35114 (do_test): Add case for printing padded string.
35115 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35116 _IO_padn returned error.
35117 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35118 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35119 return EOF.
35120
35121 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35122
35123 * libio/libioP.h: Add comment note that the references to C++
35124 bits are now obsolete.
35125
35126 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35127
35128 * math/libm-test.inc (check_complex): Use asprintf.
35129
35130 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35131
35132 * debug/pcprofiledump.c (print_version): Update copyright year.
35133 * malloc/memusagestat.c (print_version): Likewise.
35134
35135 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35136
35137 [BZ #14831]
35138 * elf/Makefile (tests): Add tst-audit8.
35139 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35140 ($(objpfx)tst-audit8.out): New target.
35141 (tst-audit8-ENV): New variable.
35142 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35143 audit if l_reloc_result is NULL.
35144 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35145 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35146 * elf/tst-audit8.c: New file.
35147
35148 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35149
35150 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35151 * misc/Makefile (CFLAGS-select.c): Define.
35152 * posix/Makefile (CFLAGS-pause.c): Define.
35153
35154 2012-11-13 David S. Miller <davem@davemloft.net>
35155
35156 * crypt/Makefile: Move test targets after toplevel Rules
35157 inclusion. Grab any necessary sysdep routines when linking.
35158 * crypt/md5.c (md5_process_block): Remove define, we will always
35159 name it __md5_process_block.
35160 (md5_finish_ctx): Update md5_process_block call.
35161 (md5_stream): Likewise.
35162 (md5_process_bytes): Likewise.
35163 (md5_process_block): Rename to __md5_process_block and move to ...
35164 * crypt/md5-block.c: ... here.
35165 * crypt/sha256.c (sha256_process_block): Move to ...
35166 * crypt/sha256-block.c: ... here.
35167 * crypt/sha512.c (sha512_process_block): Move to ...
35168 * crypt/sha512-block.c: ... here.
35169 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35170 path.
35171 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35172 * sysdeps/sparc/sparc64/multiarch/Makefile
35173 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35174 crypt subdir.
35175 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35176 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35177 multiarch changes.
35178 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35179 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35180 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35181 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35182 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35183 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35184 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35185 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35186 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35187 file.
35188 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35189 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35190 file.
35191 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35192
35193 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35194
35195 * timezone/tzselect.ksh: Update from tzcode git revision
35196 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35197 * timezone/zdump.c: Likewise.
35198 * timezone/zic.c: Likewise.
35199 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35200 in TZVERSION setting, not $(PKGVERSION).
35201 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35202 REPORT_BUGS_TO settings.
35203
35204 [BZ #14838]
35205 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35206 macro.
35207
35208 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35209
35210 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35211 detection to immediately after _FP_ROUND().
35212 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35213 bits are 0.
35214
35215 2012-11-11 David S. Miller <davem@davemloft.net>
35216
35217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35218 inttypes.h
35219 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35220 __close rather than their public counterparts.
35221
35222 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35223
35224 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35225 file.
35226 [UNIX98] (sem_timedwait): Do not expect.
35227 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35228 [XPG4 || UNIX98] (sockatmark): Do not expect.
35229 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35230 (clock_getcpuclockid): Do not expect.
35231 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35232 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35233 Do not expect.
35234 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35235 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35236 [UNIX98] (vwscanf): Likewise.
35237 [UNIX98] (vswscanf): Likewise.
35238
35239 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35240
35241 * timezone/version.h: Remove file.
35242 * timezone/README: Do not refer to version.h.
35243 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35244 $(objpfx)version.h.
35245 ($(objpfx)zdump.o): Likewise.
35246 ($(objpfx)version.h): New target.
35247
35248 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35249 2012i.
35250 * timezone/README: Don't mention modification to tzselect.ksh.
35251 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35252 work on unmodified tzselect.ksh. Substitute version numbers in
35253 tzselect.ksh.
35254
35255 * Makefile (format-me): Remove.
35256 (INSTALL): Adjust indentation. Use commands directly instead of
35257 using $(format-me).
35258
35259 * aclocal.m4 (ACX_PKGVERSION): New macro.
35260 (ACX_BUGURL): Likewise.
35261 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35262 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35263 (REPORT_BUGS_TO): Likewise.
35264 * configure: Regenerated.
35265 * config.h.in (PKGVERSION): New macro.
35266 (REPORT_BUGS_TO): Likewise.
35267 * config.make.in (PKGVERSION): New variable.
35268 (PKGVERSION_TEXI): Likewise.
35269 (REPORT_BUGS_TO): Likewise.
35270 (REPORT_BUGS_TEXI): Likewise.
35271 * Makefile (format-me): Use -I$(common-objpfx)manual.
35272 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35273 ($(common-objpfx)manual/%): New target.
35274 (manual/%): Remove target.
35275 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35276 (print_version): Use PKGVERSION.
35277 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35278 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35279 and REPORT_BUGS_TO.
35280 ($(objpfx)xtrace): Likewise.
35281 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35282 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35283 (print_version): Use PKGVERSION.
35284 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35285 (do_version): Use PKGVERSION.
35286 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35287 REPORT_BUGS_TO.
35288 (common-ldd-rewrite): Likewise.
35289 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35290 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35291 (print_version): Use PKGVERSION.
35292 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35293 * elf/pldd.c (argp_program_bug_address): Remove variable.
35294 (more_help): New function.
35295 (argp): Use more_help.
35296 (print_version): Use PKGVERSION.
35297 * elf/sln.c (main): Use PKGVERSION.
35298 (usage): Use REPORT_BUGS_TO.
35299 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35300 (top level): Use PKGVERSION.
35301 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35302 (print_version): Use PKGVERSION.
35303 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35304 (print_version): Use PKGVERSION.
35305 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35306 (print_version): Use PKGVERSION.
35307 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35308 (print_version): Use PKGVERSION.
35309 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35310 (print_version): Use PKGVERSION.
35311 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35312 (print_version): Use PKGVERSION.
35313 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35314 and BUGURL.
35315 ($(objpfx)memusage): Likewise.
35316 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35317 (do_version): Use PKGVERSION.
35318 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35319 (print_version): Use PKGVERSION.
35320 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35321 ($PKGVERSION): New variable.
35322 ($REPORT_BUGS_TO): Likewise.
35323 (usage): Use $REPORT_BUGS_TO.
35324 (top level): Use $PKGVERSION.
35325 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35326 ($(objpfx)pkgvers.texi): New rule.
35327 ($(objpfx)stamp-pkgvers): Likewise.
35328 * manual/install.texi: Include pkgvers.texi.
35329 (--with-pkgversion): Document new configure option.
35330 (--with-bugurl): Likewise.
35331 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35332 than necessarily for this particular distribution. Use
35333 REPORT_BUGS_TO for where to report bugs.
35334 * INSTALL: Regenerated.
35335 * manual/libc.texinfo: Include pkgvers.texi.
35336 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35337 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35338 (print_version): Use PKGVERSION.
35339 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35340 (print_version): Use PKGVERSION.
35341 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35342 (print_version): Use PKGVERSION.
35343 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35344 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35345 macro.
35346 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35347 (print_version): Use PKGVERSION.
35348 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35349 (print_version): Use PKGVERSION.
35350 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35351 and PKGVERSION.
35352
35353 * timezone/checktab.awk: Update from tzcode 2012i.
35354 * timezone/ialloc.c: Likewise.
35355 * timezone/private.h: Likewise.
35356 * timezone/scheck.c: Likewise.
35357 * timezone/tzfile.h: Likewise.
35358 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35359 (TZVERSION): Hardcode tzcode version number.
35360 * timezone/zdump.c: Update from tzcode 2012i.
35361 * timezone/zic.c: Likewise.
35362 * timezone/version.h: New file.
35363 * timezone/README: Describe version.h. Update upstream location.
35364
35365 [BZ #14824]
35366 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35367 (mktemp): Enable declaration.
35368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35372 Likewise.
35373 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35374 Likewise.
35375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35376 Likewise.
35377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35378 Likewise.
35379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35380 Likewise.
35381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35382 Likewise.
35383
35384 [BZ #14821]
35385 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35386 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35387 for copies of such integer values.
35388 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35389 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35390
35391 2012-11-09 Andreas Jaeger <aj@suse.de>
35392
35393 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35394 definitions and declarations that are provided by
35395 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35396
35397 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35398
35399 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35400 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35401 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35402 definition.
35403
35404 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35405
35406 * elf/elf.h: Update comment before AArch64 relocations.
35407
35408 2012-11-07 David S. Miller <davem@davemloft.net>
35409
35410 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35411 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35412 (__start_context): Declare.
35413 (__makecontext_ret): Delete.
35414 (__makecontext): Hook up __start_context instead of
35415 __makecontext_ret.
35416 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35417 (sysdep_routines): Add __start_context when in stdlib.
35418
35419 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35420
35421 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35422 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35423 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35424 hardcoded "nm".
35425 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35426 (READELF): New variable. Use it instead of hardcoded "readelf".
35427
35428 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35429
35430 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35431 * sysdeps/x86/Makefile: Here.
35432 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35433 * sysdeps/x86/tst-xmmymm.sh: This.
35434
35435 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35436
35437 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35438 expectations.
35439 [UNIX98] (pthread_barrier_t): Do not expect.
35440 [UNIX98] (pthread_barrierattr_t): Likewise.
35441 [UNIX98] (pthread_spinlock_t): Likewise.
35442 [UNIX98] (pthread_barrier_destroy): Likewise.
35443 [UNIX98] (pthread_barrier_init): Likewise.
35444 [UNIX98] (pthread_barrier_wait): Likewise.
35445 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35446 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35447 [UNIX98] (pthread_barrierattr_init): Likewise.
35448 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35449 [UNIX98] (pthread_getcpuclockid): Likewise.
35450 [UNIX98] (pthread_mutex_timedlock): Likewise.
35451 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35452 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35453 [UNIX98] (pthread_sigmask): Likewise.
35454 [UNIX98] (pthread_spin_destroy): Likewise.
35455 [UNIX98] (pthread_spin_init): Likewise.
35456 [UNIX98] (pthread_spin_lock): Likewise.
35457 [UNIX98] (pthread_spin_trylock): Likewise.
35458 [UNIX98] (pthread_spin_unlock): Likewise.
35459 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35460 Do not expect.
35461 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35463 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35464 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35465 [XPG3 || XPG4] (pthread_key_t): Likewise.
35466 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35467 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35468 [XPG3 || XPG4] (pthread_once_t): Likewise.
35469 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35470 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35472 [XPG3 || XPG4] (pthread_t): Likewise.
35473
35474 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35475 not expect.
35476 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35477
35478 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35479 Change function return type to int.
35480
35481 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35482 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35483 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35484 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35485 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35486 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35487 [!POSIX] (posix_madvise): Likewise.
35488 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35489 && !UNIX98].
35490 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35491 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35492 (mode_t): Likewise.
35493 (posix_mem_offset): Likewise.
35494 (posix_typed_mem_get_info): Likewise.
35495 (posix_typed_mem_open): Likewise.
35496
35497 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35498 Change condition to [XOPEN2K8].
35499
35500 * conform/conformtest.pl: Preprocess allow-header data with -x c
35501 instead of from stdin.
35502 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35503 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35504 [C99-based standards] (cerfc): Likewise.
35505 [C99-based standards] (cexp2): Likewise.
35506 [C99-based standards] (cexpm1): Likewise.
35507 [C99-based standards] (clog10): Likewise.
35508 [C99-based standards] (clog1p): Likewise.
35509 [C99-based standards] (clog2): Likewise.
35510 [C99-based standards] (clgamma): Likewise.
35511 [C99-based standards] (ctgamma): Likewise.
35512 [C99-based standards] (cerff): Likewise.
35513 [C99-based standards] (cerfcf): Likewise.
35514 [C99-based standards] (cexp2f): Likewise.
35515 [C99-based standards] (cexpm1f): Likewise.
35516 [C99-based standards] (clog10f): Likewise.
35517 [C99-based standards] (clog1pf): Likewise.
35518 [C99-based standards] (clog2f): Likewise.
35519 [C99-based standards] (clgammaf): Likewise.
35520 [C99-based standards] (ctgammaf): Likewise.
35521 [C99-based standards] (cerfl): Likewise.
35522 [C99-based standards] (cerfcl): Likewise.
35523 [C99-based standards] (cexp2l): Likewise.
35524 [C99-based standards] (cexpm1l): Likewise.
35525 [C99-based standards] (clog10l): Likewise.
35526 [C99-based standards] (clog1pl): Likewise.
35527 [C99-based standards] (clog2l): Likewise.
35528 [C99-based standards] (clgammal): Likewise.
35529 [C99-based standards] (ctgammal): Likewise.
35530 * conform/data/inttypes.h-data [C99-based standards]: Include
35531 stdint.h-data. Remove all expectations for stdint.h contents.
35532 [C99-based standards] (PRI*): Do not allow.
35533 [C99-based standards] (SCN*): Likewise.
35534 [C99-based standards] (*_t): Likewise.
35535 [C99-based-standards] (PRId8): Expect macro.
35536 [C99-based-standards] (PRIi8): Likewise.
35537 [C99-based-standards] (PRIo8): Likewise.
35538 [C99-based-standards] (PRIu8): Likewise.
35539 [C99-based-standards] (PRIx8): Likewise.
35540 [C99-based-standards] (PRIX8): Likewise.
35541 [C99-based-standards] (SCNd8): Likewise.
35542 [C99-based-standards] (SCNi8): Likewise.
35543 [C99-based-standards] (SCNo8): Likewise.
35544 [C99-based-standards] (SCNu8): Likewise.
35545 [C99-based-standards] (SCNx8): Likewise.
35546 [C99-based-standards] (PRIdLEAST8): Likewise.
35547 [C99-based-standards] (PRIiLEAST8): Likewise.
35548 [C99-based-standards] (PRIoLEAST8): Likewise.
35549 [C99-based-standards] (PRIuLEAST8): Likewise.
35550 [C99-based-standards] (PRIxLEAST8): Likewise.
35551 [C99-based-standards] (PRIXLEAST8): Likewise.
35552 [C99-based-standards] (SCNdLEAST8): Likewise.
35553 [C99-based-standards] (SCNiLEAST8): Likewise.
35554 [C99-based-standards] (SCNoLEAST8): Likewise.
35555 [C99-based-standards] (SCNuLEAST8): Likewise.
35556 [C99-based-standards] (SCNxLEAST8): Likewise.
35557 [C99-based-standards] (PRIdFAST8): Likewise.
35558 [C99-based-standards] (PRIiFAST8): Likewise.
35559 [C99-based-standards] (PRIoFAST8): Likewise.
35560 [C99-based-standards] (PRIuFAST8): Likewise.
35561 [C99-based-standards] (PRIxFAST8): Likewise.
35562 [C99-based-standards] (PRIXFAST8): Likewise.
35563 [C99-based-standards] (SCNdFAST8): Likewise.
35564 [C99-based-standards] (SCNiFAST8): Likewise.
35565 [C99-based-standards] (SCNoFAST8): Likewise.
35566 [C99-based-standards] (SCNuFAST8): Likewise.
35567 [C99-based-standards] (SCNxFAST8): Likewise.
35568 [C99-based-standards] (PRId16): Likewise.
35569 [C99-based-standards] (PRIi16): Likewise.
35570 [C99-based-standards] (PRIo16): Likewise.
35571 [C99-based-standards] (PRIu16): Likewise.
35572 [C99-based-standards] (PRIx16): Likewise.
35573 [C99-based-standards] (PRIX16): Likewise.
35574 [C99-based-standards] (SCNd16): Likewise.
35575 [C99-based-standards] (SCNi16): Likewise.
35576 [C99-based-standards] (SCNo16): Likewise.
35577 [C99-based-standards] (SCNu16): Likewise.
35578 [C99-based-standards] (SCNx16): Likewise.
35579 [C99-based-standards] (PRIdLEAST16): Likewise.
35580 [C99-based-standards] (PRIiLEAST16): Likewise.
35581 [C99-based-standards] (PRIoLEAST16): Likewise.
35582 [C99-based-standards] (PRIuLEAST16): Likewise.
35583 [C99-based-standards] (PRIxLEAST16): Likewise.
35584 [C99-based-standards] (PRIXLEAST16): Likewise.
35585 [C99-based-standards] (SCNdLEAST16): Likewise.
35586 [C99-based-standards] (SCNiLEAST16): Likewise.
35587 [C99-based-standards] (SCNoLEAST16): Likewise.
35588 [C99-based-standards] (SCNuLEAST16): Likewise.
35589 [C99-based-standards] (SCNxLEAST16): Likewise.
35590 [C99-based-standards] (PRIdFAST16): Likewise.
35591 [C99-based-standards] (PRIiFAST16): Likewise.
35592 [C99-based-standards] (PRIoFAST16): Likewise.
35593 [C99-based-standards] (PRIuFAST16): Likewise.
35594 [C99-based-standards] (PRIxFAST16): Likewise.
35595 [C99-based-standards] (PRIXFAST16): Likewise.
35596 [C99-based-standards] (SCNdFAST16): Likewise.
35597 [C99-based-standards] (SCNiFAST16): Likewise.
35598 [C99-based-standards] (SCNoFAST16): Likewise.
35599 [C99-based-standards] (SCNuFAST16): Likewise.
35600 [C99-based-standards] (SCNxFAST16): Likewise.
35601 [C99-based-standards] (PRId32): Likewise.
35602 [C99-based-standards] (PRIi32): Likewise.
35603 [C99-based-standards] (PRIo32): Likewise.
35604 [C99-based-standards] (PRIu32): Likewise.
35605 [C99-based-standards] (PRIx32): Likewise.
35606 [C99-based-standards] (PRIX32): Likewise.
35607 [C99-based-standards] (SCNd32): Likewise.
35608 [C99-based-standards] (SCNi32): Likewise.
35609 [C99-based-standards] (SCNo32): Likewise.
35610 [C99-based-standards] (SCNu32): Likewise.
35611 [C99-based-standards] (SCNx32): Likewise.
35612 [C99-based-standards] (PRIdLEAST32): Likewise.
35613 [C99-based-standards] (PRIiLEAST32): Likewise.
35614 [C99-based-standards] (PRIoLEAST32): Likewise.
35615 [C99-based-standards] (PRIuLEAST32): Likewise.
35616 [C99-based-standards] (PRIxLEAST32): Likewise.
35617 [C99-based-standards] (PRIXLEAST32): Likewise.
35618 [C99-based-standards] (SCNdLEAST32): Likewise.
35619 [C99-based-standards] (SCNiLEAST32): Likewise.
35620 [C99-based-standards] (SCNoLEAST32): Likewise.
35621 [C99-based-standards] (SCNuLEAST32): Likewise.
35622 [C99-based-standards] (SCNxLEAST32): Likewise.
35623 [C99-based-standards] (PRIdFAST32): Likewise.
35624 [C99-based-standards] (PRIiFAST32): Likewise.
35625 [C99-based-standards] (PRIoFAST32): Likewise.
35626 [C99-based-standards] (PRIuFAST32): Likewise.
35627 [C99-based-standards] (PRIxFAST32): Likewise.
35628 [C99-based-standards] (PRIXFAST32): Likewise.
35629 [C99-based-standards] (SCNdFAST32): Likewise.
35630 [C99-based-standards] (SCNiFAST32): Likewise.
35631 [C99-based-standards] (SCNoFAST32): Likewise.
35632 [C99-based-standards] (SCNuFAST32): Likewise.
35633 [C99-based-standards] (SCNxFAST32): Likewise.
35634 [C99-based-standards] (PRId64): Likewise.
35635 [C99-based-standards] (PRIi64): Likewise.
35636 [C99-based-standards] (PRIo64): Likewise.
35637 [C99-based-standards] (PRIu64): Likewise.
35638 [C99-based-standards] (PRIx64): Likewise.
35639 [C99-based-standards] (PRIX64): Likewise.
35640 [C99-based-standards] (SCNd64): Likewise.
35641 [C99-based-standards] (SCNi64): Likewise.
35642 [C99-based-standards] (SCNo64): Likewise.
35643 [C99-based-standards] (SCNu64): Likewise.
35644 [C99-based-standards] (SCNx64): Likewise.
35645 [C99-based-standards] (PRIdLEAST64): Likewise.
35646 [C99-based-standards] (PRIiLEAST64): Likewise.
35647 [C99-based-standards] (PRIoLEAST64): Likewise.
35648 [C99-based-standards] (PRIuLEAST64): Likewise.
35649 [C99-based-standards] (PRIxLEAST64): Likewise.
35650 [C99-based-standards] (PRIXLEAST64): Likewise.
35651 [C99-based-standards] (SCNdLEAST64): Likewise.
35652 [C99-based-standards] (SCNiLEAST64): Likewise.
35653 [C99-based-standards] (SCNoLEAST64): Likewise.
35654 [C99-based-standards] (SCNuLEAST64): Likewise.
35655 [C99-based-standards] (SCNxLEAST64): Likewise.
35656 [C99-based-standards] (PRIdFAST64): Likewise.
35657 [C99-based-standards] (PRIiFAST64): Likewise.
35658 [C99-based-standards] (PRIoFAST64): Likewise.
35659 [C99-based-standards] (PRIuFAST64): Likewise.
35660 [C99-based-standards] (PRIxFAST64): Likewise.
35661 [C99-based-standards] (PRIXFAST64): Likewise.
35662 [C99-based-standards] (SCNdFAST64): Likewise.
35663 [C99-based-standards] (SCNiFAST64): Likewise.
35664 [C99-based-standards] (SCNoFAST64): Likewise.
35665 [C99-based-standards] (SCNuFAST64): Likewise.
35666 [C99-based-standards] (SCNxFAST64): Likewise.
35667 [C99-based-standards] (PRIdMAX): Likewise.
35668 [C99-based-standards] (PRIiMAX): Likewise.
35669 [C99-based-standards] (PRIoMAX): Likewise.
35670 [C99-based-standards] (PRIuMAX): Likewise.
35671 [C99-based-standards] (PRIxMAX): Likewise.
35672 [C99-based-standards] (PRIXMAX): Likewise.
35673 [C99-based-standards] (SCNdMAX): Likewise.
35674 [C99-based-standards] (SCNiMAX): Likewise.
35675 [C99-based-standards] (SCNoMAX): Likewise.
35676 [C99-based-standards] (SCNuMAX): Likewise.
35677 [C99-based-standards] (SCNxMAX): Likewise.
35678 [C99-based-standards] (PRIdPTR): Likewise.
35679 [C99-based-standards] (PRIiPTR): Likewise.
35680 [C99-based-standards] (PRIoPTR): Likewise.
35681 [C99-based-standards] (PRIuPTR): Likewise.
35682 [C99-based-standards] (PRIxPTR): Likewise.
35683 [C99-based-standards] (PRIXPTR): Likewise.
35684 [C99-based-standards] (SCNdPTR): Likewise.
35685 [C99-based-standards] (SCNiPTR): Likewise.
35686 [C99-based-standards] (SCNoPTR): Likewise.
35687 [C99-based-standards] (SCNuPTR): Likewise.
35688 [C99-based-standards] (SCNxPTR): Likewise.
35689 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35690 allow.
35691 * conform/data/stdint.h-data: Update comments to clarify
35692 requirements.
35693 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35694 type.
35695 [C99-based standards] (INT8_MAX): Likewise.
35696 [C99-based standards] (INT16_MIN): Likewise.
35697 [C99-based standards] (INT16_MAX): Likewise.
35698 [C99-based standards] (INT32_MIN): Likewise.
35699 [C99-based standards] (INT32_MAX): Likewise.
35700 [C99-based standards] (INT64_MIN): Likewise.
35701 [C99-based standards] (INT64_MAX): Likewise.
35702 [C99-based standards] (UINT8_MAX): Likewise.
35703 [C99-based standards] (UINT16_MAX): Likewise.
35704 [C99-based standards] (UINT32_MAX): Likewise.
35705 [C99-based standards] (UINT64_MAX): Likewise.
35706 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35707 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35708 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35709 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35710 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35711 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35712 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35713 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35714 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35715 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35716 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35717 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35718 [C99-based standards] (INT_FAST8_MIN): Likewise.
35719 [C99-based standards] (INT_FAST8_MAX): Likewise.
35720 [C99-based standards] (INT_FAST16_MIN): Likewise.
35721 [C99-based standards] (INT_FAST16_MAX): Likewise.
35722 [C99-based standards] (INT_FAST32_MIN): Likewise.
35723 [C99-based standards] (INT_FAST32_MAX): Likewise.
35724 [C99-based standards] (INT_FAST64_MIN): Likewise.
35725 [C99-based standards] (INT_FAST64_MAX): Likewise.
35726 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35727 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35728 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35729 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35730 [C99-based standards] (INTPTR_MIN): Likewise.
35731 [C99-based standards] (INTPTR_MAX): Likewise.
35732 [C99-based standards] (UINTPTR_MAX): Likewise.
35733 [C99-based standards] (INTMAX_MIN): Likewise.
35734 [C99-based standards] (INTMAX_MAX): Likewise.
35735 [C99-based standards] (UINTMAX_MAX): Likewise.
35736 [C99-based standards] (PTRDIFF_MIN): Likewise.
35737 [C99-based standards] (PTRDIFF_MAX): Likewise.
35738 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35739 [C99-based standards] (SIZE_MAX): Likewise.
35740 [C99-based standards] (WCHAR_MAX): Likewise.
35741 [C99-based standards] (WINT_MAX): Likewise.
35742 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35743 constraint on value.
35744 [C99-based standards] (WCHAR_MIN): Likewise.
35745 [C99-based standards] (WINT_MIN): Likewise.
35746 [C99-based standards] (*_t): Allow.
35747 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35748 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35749 Include math.h-data and complex.h-data. Remove all expectations
35750 of math.h and complex.h contents.
35751 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35752 at end of line.
35753 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35754 (struct tm): Expect tag.
35755 [C99-based-standards] (wcstof): Expect function.
35756 [C99-based-standards] (wcstold): Likewise.
35757 [C99-based-standards] (wcstoll): Likewise.
35758 [C99-based-standards] (wcstoull): Likewise.
35759 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35760 macro-int-constant. Specify type.
35761 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35762 constraint on value.
35763 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35764 Specify type.
35765 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35766 Specify value.
35767 [ISO C standards]: Do not allow headers.
35768 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35769 wcs[abcdefghijklmnopqrstuvwxyz]*.
35770 [ISO C standards] (*_t): Do not allow.
35771 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35772 Expect function.
35773 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35774 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35775 Specify type.
35776 [ISO C standards]: Do not allow headers.
35777 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35778 is[abcdefghijklmnopqrstuvwxyz]*.
35779 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35780 to[abcdefghijklmnopqrstuvwxyz]*.
35781 [ISO C standards] (*_t): Do not allow.
35782 * conform/data/stdalign.h-data: New file.
35783 * conform/data/stdbool.h-data: Likewise.
35784 * conform/data/stdnoreturn.h-data: Likewise.
35785
35786 2012-11-07 Roland McGrath <roland@hack.frob.com>
35787
35788 [BZ #14815]
35789 * manual/filesys.texi (Directory Entries): Typo fix.
35790 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35791
35792 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35793
35794 * elf/elf.h (EM_AARCH64): New macro.
35795 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35796 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35797 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35798 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35799 (R_AARCH64_TLSDESC): Likewise.
35800 (NT_ARM_TLS): Likewise.
35801 (NT_ARM_HW_BREAK): Likewise.
35802 (NT_ARM_HW_WATCH): Likewise.
35803
35804 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35805
35806 [BZ #14811]
35807 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35808 (__ieee754_powl): Saturate nonzero exponents with absolute value
35809 below 0x1p-79 to +/- 0x1p-79.
35810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35811 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35812 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35813 nonzero exponents with absolute value below 0x1p-32 to +/-
35814 0x1p-32.
35815 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35816 (__ieee754_powl): Saturate nonzero exponents with absolute value
35817 below 0x1p-79 to +/- 0x1p-79.
35818 * math/libm-test.inc (pow_test): Add more tests.
35819
35820 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35821
35822 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35823 _dl_s390_cap_flags with kernel. Increase string length.
35824 (_dl_s390_platforms): Add z196 and zEC12.
35825
35826 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35827
35828 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35829 Change XOPEN21K to XOPEN2K.
35830
35831 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35832
35833 * string/memmove.c: Use memcpy when possible.
35834
35835 2012-11-06 Andreas Jaeger <aj@suse.de>
35836
35837 * po/eo.po: Update from translation team.
35838
35839 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35840
35841 [BZ #14793]
35842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35843 exponent and small x and y exponents, scale x or y up. Increase
35844 by 2 the exponent used in scaling up.
35845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35847 * math/libm-test.inc (fma_test): Add more tests.
35848 (fma_test_towardzero): Likewise.
35849 (fma_test_downward): Likewise.
35850 (fma_test_upward): Likewise.
35851
35852 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35853
35854 [BZ #14805]
35855 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35856 fenv_t *.
35857
35858 [BZ #14801]
35859 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35860 namespace for names of struct fields.
35861 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35862 fenv_t fields.
35863 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35864 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35865
35866 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35867
35868 [BZ #3665]
35869 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35870
35871 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35872
35873 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35874 PTR_DEMANGLE.
35875
35876 [BZ #5246]
35877 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35878 PTR_DEMANGLE.
35879
35880 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35881
35882 [BZ #14797]
35883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35884 definitely overflow as x * y not x * y + z.
35885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35887 * math/libm-test.inc (fma_test): Add more tests.
35888 (fma_test_towardzero): Likewise.
35889 (fma_test_downward): Likewise.
35890 (fma_test_upward): Likewise.
35891
35892 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35893
35894 [BZ #157]
35895
35896 * include/stub-tag.h: Remove file.
35897 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35898 '#include' of it.
35899 * manual/maint.texi (Porting): Don't reference it.
35900 * Makerules ($(objpfx)stubs): Likewise.
35901 * dirent/closedir.c: Don't include <stub-tag.h>.
35902 * dirent/dirfd.c: Likewise.
35903 * dirent/fdopendir.c: Likewise.
35904 * dirent/getdents.c: Likewise.
35905 * dirent/getdents64.c: Likewise.
35906 * dirent/opendir.c: Likewise.
35907 * dirent/readdir.c: Likewise.
35908 * dirent/readdir64.c: Likewise.
35909 * dirent/readdir64_r.c: Likewise.
35910 * dirent/readdir_r.c: Likewise.
35911 * dirent/rewinddir.c: Likewise.
35912 * dirent/seekdir.c: Likewise.
35913 * dirent/telldir.c: Likewise.
35914 * gmon/profil.c: Likewise.
35915 * grp/setgroups.c: Likewise.
35916 * inet/if_index.c: Likewise.
35917 * io/access.c: Likewise.
35918 * io/chdir.c: Likewise.
35919 * io/chmod.c: Likewise.
35920 * io/chown.c: Likewise.
35921 * io/close.c: Likewise.
35922 * io/dup.c: Likewise.
35923 * io/dup2.c: Likewise.
35924 * io/dup3.c: Likewise.
35925 * io/euidaccess.c: Likewise.
35926 * io/faccessat.c: Likewise.
35927 * io/fchdir.c: Likewise.
35928 * io/fchmod.c: Likewise.
35929 * io/fchmodat.c: Likewise.
35930 * io/fchown.c: Likewise.
35931 * io/fchownat.c: Likewise.
35932 * io/fcntl.c: Likewise.
35933 * io/flock.c: Likewise.
35934 * io/fstatfs.c: Likewise.
35935 * io/fstatfs64.c: Likewise.
35936 * io/fstatvfs.c: Likewise.
35937 * io/fstatvfs64.c: Likewise.
35938 * io/futimens.c: Likewise.
35939 * io/fxstat.c: Likewise.
35940 * io/fxstat64.c: Likewise.
35941 * io/fxstatat.c: Likewise.
35942 * io/fxstatat64.c: Likewise.
35943 * io/getcwd.c: Likewise.
35944 * io/isatty.c: Likewise.
35945 * io/lchmod.c: Likewise.
35946 * io/lchown.c: Likewise.
35947 * io/link.c: Likewise.
35948 * io/linkat.c: Likewise.
35949 * io/lseek.c: Likewise.
35950 * io/lseek64.c: Likewise.
35951 * io/lxstat64.c: Likewise.
35952 * io/mkdir.c: Likewise.
35953 * io/mkdirat.c: Likewise.
35954 * io/mkfifo.c: Likewise.
35955 * io/mkfifoat.c: Likewise.
35956 * io/open.c: Likewise.
35957 * io/open64.c: Likewise.
35958 * io/openat.c: Likewise.
35959 * io/openat64.c: Likewise.
35960 * io/pipe.c: Likewise.
35961 * io/pipe2.c: Likewise.
35962 * io/poll.c: Likewise.
35963 * io/posix_fadvise.c: Likewise.
35964 * io/posix_fadvise64.c: Likewise.
35965 * io/posix_fallocate.c: Likewise.
35966 * io/posix_fallocate64.c: Likewise.
35967 * io/read.c: Likewise.
35968 * io/readlink.c: Likewise.
35969 * io/readlinkat.c: Likewise.
35970 * io/rmdir.c: Likewise.
35971 * io/sendfile.c: Likewise.
35972 * io/sendfile64.c: Likewise.
35973 * io/statfs.c: Likewise.
35974 * io/statfs64.c: Likewise.
35975 * io/statvfs.c: Likewise.
35976 * io/statvfs64.c: Likewise.
35977 * io/symlink.c: Likewise.
35978 * io/symlinkat.c: Likewise.
35979 * io/ttyname.c: Likewise.
35980 * io/ttyname_r.c: Likewise.
35981 * io/umask.c: Likewise.
35982 * io/unlink.c: Likewise.
35983 * io/unlinkat.c: Likewise.
35984 * io/utime.c: Likewise.
35985 * io/utimensat.c: Likewise.
35986 * io/write.c: Likewise.
35987 * io/xmknod.c: Likewise.
35988 * io/xmknodat.c: Likewise.
35989 * io/xstat.c: Likewise.
35990 * io/xstat64.c: Likewise.
35991 * login/getpt.c: Likewise.
35992 * login/grantpt.c: Likewise.
35993 * login/unlockpt.c: Likewise.
35994 * math/e_acoshl.c: Likewise.
35995 * math/e_acosl.c: Likewise.
35996 * math/e_asinl.c: Likewise.
35997 * math/e_atan2l.c: Likewise.
35998 * math/e_atanhl.c: Likewise.
35999 * math/e_coshl.c: Likewise.
36000 * math/e_expl.c: Likewise.
36001 * math/e_fmodl.c: Likewise.
36002 * math/e_gammal_r.c: Likewise.
36003 * math/e_hypotl.c: Likewise.
36004 * math/e_j0l.c: Likewise.
36005 * math/e_j1l.c: Likewise.
36006 * math/e_jnl.c: Likewise.
36007 * math/e_lgammal_r.c: Likewise.
36008 * math/e_log10l.c: Likewise.
36009 * math/e_log2l.c: Likewise.
36010 * math/e_logl.c: Likewise.
36011 * math/e_powl.c: Likewise.
36012 * math/e_rem_pio2l.c: Likewise.
36013 * math/e_sinhl.c: Likewise.
36014 * math/e_sqrtl.c: Likewise.
36015 * math/fclrexcpt.c: Likewise.
36016 * math/fedisblxcpt.c: Likewise.
36017 * math/feenablxcpt.c: Likewise.
36018 * math/fegetenv.c: Likewise.
36019 * math/fegetexcept.c: Likewise.
36020 * math/fegetround.c: Likewise.
36021 * math/feholdexcpt.c: Likewise.
36022 * math/fesetenv.c: Likewise.
36023 * math/fesetround.c: Likewise.
36024 * math/feupdateenv.c: Likewise.
36025 * math/fgetexcptflg.c: Likewise.
36026 * math/fraiseexcpt.c: Likewise.
36027 * math/fsetexcptflg.c: Likewise.
36028 * math/ftestexcept.c: Likewise.
36029 * math/k_cosl.c: Likewise.
36030 * math/k_rem_pio2l.c: Likewise.
36031 * math/k_sinl.c: Likewise.
36032 * math/k_tanl.c: Likewise.
36033 * math/s_asinhl.c: Likewise.
36034 * math/s_atanl.c: Likewise.
36035 * math/s_cbrtl.c: Likewise.
36036 * math/s_erfl.c: Likewise.
36037 * math/s_expm1l.c: Likewise.
36038 * math/s_log1pl.c: Likewise.
36039 * math/s_tanhl.c: Likewise.
36040 * misc/acct.c: Likewise.
36041 * misc/brk.c: Likewise.
36042 * misc/chflags.c: Likewise.
36043 * misc/chroot.c: Likewise.
36044 * misc/fchflags.c: Likewise.
36045 * misc/fgetxattr.c: Likewise.
36046 * misc/flistxattr.c: Likewise.
36047 * misc/fremovexattr.c: Likewise.
36048 * misc/fsetxattr.c: Likewise.
36049 * misc/fsync.c: Likewise.
36050 * misc/ftruncate.c: Likewise.
36051 * misc/futimes.c: Likewise.
36052 * misc/futimesat.c: Likewise.
36053 * misc/getdomain.c: Likewise.
36054 * misc/getdtsz.c: Likewise.
36055 * misc/gethostid.c: Likewise.
36056 * misc/gethostname.c: Likewise.
36057 * misc/getloadavg.c: Likewise.
36058 * misc/getpagesize.c: Likewise.
36059 * misc/getsysstats.c: Likewise.
36060 * misc/getxattr.c: Likewise.
36061 * misc/gtty.c: Likewise.
36062 * misc/ioctl.c: Likewise.
36063 * misc/lgetxattr.c: Likewise.
36064 * misc/listxattr.c: Likewise.
36065 * misc/llistxattr.c: Likewise.
36066 * misc/lremovexattr.c: Likewise.
36067 * misc/lsetxattr.c: Likewise.
36068 * misc/lutimes.c: Likewise.
36069 * misc/madvise.c: Likewise.
36070 * misc/mincore.c: Likewise.
36071 * misc/mlock.c: Likewise.
36072 * misc/mlockall.c: Likewise.
36073 * misc/mmap.c: Likewise.
36074 * misc/mprotect.c: Likewise.
36075 * misc/msync.c: Likewise.
36076 * misc/munlock.c: Likewise.
36077 * misc/munlockall.c: Likewise.
36078 * misc/munmap.c: Likewise.
36079 * misc/preadv.c: Likewise.
36080 * misc/preadv64.c: Likewise.
36081 * misc/ptrace.c: Likewise.
36082 * misc/pwritev.c: Likewise.
36083 * misc/pwritev64.c: Likewise.
36084 * misc/readv.c: Likewise.
36085 * misc/reboot.c: Likewise.
36086 * misc/remap_file_pages.c: Likewise.
36087 * misc/removexattr.c: Likewise.
36088 * misc/revoke.c: Likewise.
36089 * misc/select.c: Likewise.
36090 * misc/setdomain.c: Likewise.
36091 * misc/setegid.c: Likewise.
36092 * misc/seteuid.c: Likewise.
36093 * misc/sethostid.c: Likewise.
36094 * misc/sethostname.c: Likewise.
36095 * misc/setregid.c: Likewise.
36096 * misc/setreuid.c: Likewise.
36097 * misc/setxattr.c: Likewise.
36098 * misc/sstk.c: Likewise.
36099 * misc/stty.c: Likewise.
36100 * misc/swapoff.c: Likewise.
36101 * misc/swapon.c: Likewise.
36102 * misc/sync.c: Likewise.
36103 * misc/syncfs.c: Likewise.
36104 * misc/syscall.c: Likewise.
36105 * misc/truncate.c: Likewise.
36106 * misc/ualarm.c: Likewise.
36107 * misc/usleep.c: Likewise.
36108 * misc/ustat.c: Likewise.
36109 * misc/utimes.c: Likewise.
36110 * misc/vhangup.c: Likewise.
36111 * misc/writev.c: Likewise.
36112 * posix/_exit.c: Likewise.
36113 * posix/alarm.c: Likewise.
36114 * posix/execve.c: Likewise.
36115 * posix/fexecve.c: Likewise.
36116 * posix/fork.c: Likewise.
36117 * posix/fpathconf.c: Likewise.
36118 * posix/getaddrinfo.c: Likewise.
36119 * posix/getegid.c: Likewise.
36120 * posix/geteuid.c: Likewise.
36121 * posix/getgid.c: Likewise.
36122 * posix/getgroups.c: Likewise.
36123 * posix/getlogin.c: Likewise.
36124 * posix/getlogin_r.c: Likewise.
36125 * posix/getpgid.c: Likewise.
36126 * posix/getpid.c: Likewise.
36127 * posix/getppid.c: Likewise.
36128 * posix/getresgid.c: Likewise.
36129 * posix/getresuid.c: Likewise.
36130 * posix/getsid.c: Likewise.
36131 * posix/getuid.c: Likewise.
36132 * posix/glob64.c: Likewise.
36133 * posix/nanosleep.c: Likewise.
36134 * posix/pathconf.c: Likewise.
36135 * posix/pause.c: Likewise.
36136 * posix/posix_madvise.c: Likewise.
36137 * posix/pread.c: Likewise.
36138 * posix/pread64.c: Likewise.
36139 * posix/pwrite.c: Likewise.
36140 * posix/pwrite64.c: Likewise.
36141 * posix/sched_getaffinity.c: Likewise.
36142 * posix/sched_getp.c: Likewise.
36143 * posix/sched_gets.c: Likewise.
36144 * posix/sched_primax.c: Likewise.
36145 * posix/sched_primin.c: Likewise.
36146 * posix/sched_rr_gi.c: Likewise.
36147 * posix/sched_setaffinity.c: Likewise.
36148 * posix/sched_setp.c: Likewise.
36149 * posix/sched_sets.c: Likewise.
36150 * posix/sched_yield.c: Likewise.
36151 * posix/setgid.c: Likewise.
36152 * posix/setlogin.c: Likewise.
36153 * posix/setpgid.c: Likewise.
36154 * posix/setresgid.c: Likewise.
36155 * posix/setresuid.c: Likewise.
36156 * posix/setsid.c: Likewise.
36157 * posix/setuid.c: Likewise.
36158 * posix/sleep.c: Likewise.
36159 * posix/spawni.c: Likewise.
36160 * posix/sysconf.c: Likewise.
36161 * posix/times.c: Likewise.
36162 * posix/wait.c: Likewise.
36163 * posix/wait3.c: Likewise.
36164 * posix/wait4.c: Likewise.
36165 * posix/waitpid.c: Likewise.
36166 * resolv/gai_sigqueue.c: Likewise.
36167 * resource/getpriority.c: Likewise.
36168 * resource/getrlimit.c: Likewise.
36169 * resource/getrusage.c: Likewise.
36170 * resource/nice.c: Likewise.
36171 * resource/setpriority.c: Likewise.
36172 * resource/setrlimit.c: Likewise.
36173 * resource/ulimit.c: Likewise.
36174 * rt/aio_cancel.c: Likewise.
36175 * rt/aio_fsync.c: Likewise.
36176 * rt/aio_read.c: Likewise.
36177 * rt/aio_sigqueue.c: Likewise.
36178 * rt/aio_suspend.c: Likewise.
36179 * rt/aio_write.c: Likewise.
36180 * rt/clock_getres.c: Likewise.
36181 * rt/clock_gettime.c: Likewise.
36182 * rt/clock_nanosleep.c: Likewise.
36183 * rt/clock_settime.c: Likewise.
36184 * rt/lio_listio.c: Likewise.
36185 * rt/mq_close.c: Likewise.
36186 * rt/mq_getattr.c: Likewise.
36187 * rt/mq_notify.c: Likewise.
36188 * rt/mq_open.c: Likewise.
36189 * rt/mq_receive.c: Likewise.
36190 * rt/mq_send.c: Likewise.
36191 * rt/mq_setattr.c: Likewise.
36192 * rt/mq_timedreceive.c: Likewise.
36193 * rt/mq_timedsend.c: Likewise.
36194 * rt/mq_unlink.c: Likewise.
36195 * rt/shm_open.c: Likewise.
36196 * rt/shm_unlink.c: Likewise.
36197 * rt/timer_create.c: Likewise.
36198 * rt/timer_delete.c: Likewise.
36199 * rt/timer_getoverr.c: Likewise.
36200 * rt/timer_gettime.c: Likewise.
36201 * rt/timer_settime.c: Likewise.
36202 * setjmp/__longjmp.c: Likewise.
36203 * setjmp/setjmp.c: Likewise.
36204 * signal/kill.c: Likewise.
36205 * signal/killpg.c: Likewise.
36206 * signal/raise.c: Likewise.
36207 * signal/sigaction.c: Likewise.
36208 * signal/sigaltstack.c: Likewise.
36209 * signal/sigblock.c: Likewise.
36210 * signal/sigignore.c: Likewise.
36211 * signal/sigintr.c: Likewise.
36212 * signal/signal.c: Likewise.
36213 * signal/sigpause.c: Likewise.
36214 * signal/sigpending.c: Likewise.
36215 * signal/sigqueue.c: Likewise.
36216 * signal/sigreturn.c: Likewise.
36217 * signal/sigset.c: Likewise.
36218 * signal/sigsetmask.c: Likewise.
36219 * signal/sigstack.c: Likewise.
36220 * signal/sigsuspend.c: Likewise.
36221 * signal/sigtimedwait.c: Likewise.
36222 * signal/sigvec.c: Likewise.
36223 * signal/sigwait.c: Likewise.
36224 * signal/sigwaitinfo.c: Likewise.
36225 * signal/sysv_signal.c: Likewise.
36226 * socket/accept.c: Likewise.
36227 * socket/accept4.c: Likewise.
36228 * socket/bind.c: Likewise.
36229 * socket/connect.c: Likewise.
36230 * socket/getpeername.c: Likewise.
36231 * socket/getsockname.c: Likewise.
36232 * socket/getsockopt.c: Likewise.
36233 * socket/isfdtype.c: Likewise.
36234 * socket/listen.c: Likewise.
36235 * socket/recv.c: Likewise.
36236 * socket/recvfrom.c: Likewise.
36237 * socket/recvmsg.c: Likewise.
36238 * socket/send.c: Likewise.
36239 * socket/sendmsg.c: Likewise.
36240 * socket/sendto.c: Likewise.
36241 * socket/setsockopt.c: Likewise.
36242 * socket/shutdown.c: Likewise.
36243 * socket/sockatmark.c: Likewise.
36244 * socket/socket.c: Likewise.
36245 * socket/socketpair.c: Likewise.
36246 * stdio-common/ctermid.c: Likewise.
36247 * stdio-common/cuserid.c: Likewise.
36248 * stdio-common/remove.c: Likewise.
36249 * stdio-common/rename.c: Likewise.
36250 * stdio-common/renameat.c: Likewise.
36251 * stdio-common/tempname.c: Likewise.
36252 * stdlib/getcontext.c: Likewise.
36253 * stdlib/makecontext.c: Likewise.
36254 * stdlib/setcontext.c: Likewise.
36255 * stdlib/swapcontext.c: Likewise.
36256 * stdlib/system.c: Likewise.
36257 * streams/fattach.c: Likewise.
36258 * streams/fdetach.c: Likewise.
36259 * streams/getmsg.c: Likewise.
36260 * streams/getpmsg.c: Likewise.
36261 * streams/putmsg.c: Likewise.
36262 * streams/putpmsg.c: Likewise.
36263 * sysdeps/unix/bsd/getpt.c: Likewise.
36264 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36265 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36266 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36268 Likewise.
36269 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36270 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36271 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36272 * sysvipc/msgctl.c: Likewise.
36273 * sysvipc/msgget.c: Likewise.
36274 * sysvipc/msgrcv.c: Likewise.
36275 * sysvipc/msgsnd.c: Likewise.
36276 * sysvipc/semctl.c: Likewise.
36277 * sysvipc/semget.c: Likewise.
36278 * sysvipc/semop.c: Likewise.
36279 * sysvipc/semtimedop.c: Likewise.
36280 * sysvipc/shmat.c: Likewise.
36281 * sysvipc/shmctl.c: Likewise.
36282 * sysvipc/shmdt.c: Likewise.
36283 * sysvipc/shmget.c: Likewise.
36284 * termios/tcdrain.c: Likewise.
36285 * termios/tcflow.c: Likewise.
36286 * termios/tcflush.c: Likewise.
36287 * termios/tcgetattr.c: Likewise.
36288 * termios/tcgetpgrp.c: Likewise.
36289 * termios/tcsendbrk.c: Likewise.
36290 * termios/tcsetattr.c: Likewise.
36291 * termios/tcsetpgrp.c: Likewise.
36292 * time/adjtime.c: Likewise.
36293 * time/clock.c: Likewise.
36294 * time/getitimer.c: Likewise.
36295 * time/gettimeofday.c: Likewise.
36296 * time/setitimer.c: Likewise.
36297 * time/settimeofday.c: Likewise.
36298 * time/stime.c: Likewise.
36299 * time/time.c: Likewise.
36300
36301 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36302
36303 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36304 /usr/old/bin.
36305
36306 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36307 instead of spaces.
36308 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36309
36310 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36311
36312 [BZ #14796]
36313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36314 FE_TONEAREST before applying Dekker multiplication and Knuth
36315 addition. Clear inexact exceptions and check for exact zero
36316 results afterwards.
36317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36318 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36320 * math/libm-test.inc (fma_test): Add more tests.
36321 (fma_test_towardzero): Likewise.
36322 (fma_test_downward): Likewise.
36323 (fma_test_upward): Likewise.
36324 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36325 function.
36326 (libc_fesetround): New macro.
36327 (libc_fesetroundf): Likewise.
36328 (libc_fesetroundl): Likewise.
36329 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36330 function.
36331 (libc_fesetround_387): Likewise.
36332 (libc_fesetroundf): New macro.
36333 (libc_fesetround): Likewise.
36334 (libc_fesetroundl): Likewise.
36335 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36336 function.
36337 (libc_fesetroundf): New macro.
36338 (libc_fesetround): Likewise.
36339 (libc_fesetroundl): Likewise.
36340 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36341 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36342 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36343 libm_hidden_ver.
36344 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36345 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36346 libm_hidden_def.
36347 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36348 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36349 libm_hidden_ver.
36350 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36351 libm_hidden_def.
36352
36353 [BZ #3439]
36354 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36355 integer constant usable in #if and use that to give value to enum
36356 constant.
36357 (FE_DIVBYZERO): Likewise.
36358 (FE_UNDERFLOW): Likewise.
36359 (FE_OVERFLOW): Likewise.
36360 (FE_INVALID): Likewise.
36361 (FE_INVALID_SNAN): Likewise.
36362 (FE_INVALID_ISI): Likewise.
36363 (FE_INVALID_IDI): Likewise.
36364 (FE_INVALID_ZDZ): Likewise.
36365 (FE_INVALID_IMZ): Likewise.
36366 (FE_INVALID_COMPARE): Likewise.
36367 (FE_INVALID_SOFTWARE): Likewise.
36368 (FE_INVALID_SQRT): Likewise.
36369 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36370 (FE_TONEAREST): Likewise.
36371 (FE_TOWARDZERO): Likewise.
36372 (FE_UPWARD): Likewise.
36373 (FE_DOWNWARD): Likewise.
36374 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36375 (FE_DIVBYZERO): Likewise.
36376 (FE_OVERFLOW): Likewise.
36377 (FE_UNDERFLOW): Likewise.
36378 (FE_INEXACT): Likewise.
36379 (FE_TONEAREST): Likewise.
36380 (FE_DOWNWARD): Likewise.
36381 (FE_UPWARD): Likewise.
36382 (FE_TOWARDZERO): Likewise.
36383 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36384 (FE_UNDERFLOW): Likewise.
36385 (FE_OVERFLOW): Likewise.
36386 (FE_DIVBYZERO): Likewise.
36387 (FE_INVALID): Likewise.
36388 (FE_TONEAREST): Likewise.
36389 (FE_TOWARDZERO): Likewise.
36390 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36391 (FE_OVERFLOW): Likewise.
36392 (FE_UNDERFLOW): Likewise.
36393 (FE_DIVBYZERO): Likewise.
36394 (FE_INEXACT): Likewise.
36395 (FE_TONEAREST): Likewise.
36396 (FE_TOWARDZERO): Likewise.
36397 (FE_UPWARD): Likewise.
36398 (FE_DOWNWARD): Likewise.
36399 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36400 (FE_DIVBYZERO): Likewise.
36401 (FE_OVERFLOW): Likewise.
36402 (FE_UNDERFLOW): Likewise.
36403 (FE_INEXACT): Likewise.
36404 (FE_TONEAREST): Likewise.
36405 (FE_DOWNWARD): Likewise.
36406 (FE_UPWARD): Likewise.
36407 (FE_TOWARDZERO): Likewise.
36408
36409 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36410
36411 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36412
36413 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36414
36415 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36416 commands. Quote $PWD.
36417 (blacklist_exports): Don't use remove_newlines. Replace "declare
36418 -x" by "export".
36419 (remove_newlines): Remove.
36420
36421 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36422
36423 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36424 * stdlib/stdlib.h (atof): Moved to ...
36425 * include/bits/stdlib-float.h: Here. New file.
36426 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36427 * stdlib/bits/stdlib-float.h: New file.
36428 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36429 -mno-sse -mno-mmx.
36430 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36431 <xmmintrin.h>.
36432
36433 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36434
36435 * conform/conformtest.pl (@headers): Add fenv.h.
36436 * conform/data/fenv.h-data: New file.
36437 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36438 include of <math/fenv.h>.
36439
36440 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36441 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36442 && !UNIX98]. Enables tests for XOPEN2K8.
36443 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36444 POSIX2008]: Likewise.
36445
36446 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36447 (struct rusage): Do not expect type or its members.
36448
36449 [BZ #3439]
36450 * math/math.h (FP_NAN): Define macro to integer constant usable in
36451 #if and use that to give value to enum constant.
36452 (FP_INFINITE): Likewise.
36453 (FP_ZERO): Likewise.
36454 (FP_SUBNORMAL): Likewise.
36455 (FP_NORMAL): Likewise.
36456
36457 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36458
36459 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36460 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36461 arguments.
36462
36463 2012-11-02 Roland McGrath <roland@hack.frob.com>
36464
36465 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36466 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36467 autoconf-time if not.
36468 * configure.in: Remove AC_PREREQ.
36469
36470 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36471
36472 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36473 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36474 of the internal implementation.
36475
36476 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36477
36478 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36479 except include of <misc/sys/syslog.h>.
36480
36481 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36482
36483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36484 function returns with a NULL context exit with zero.
36485
36486 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36487
36488 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36489
36490 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36491
36492 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36493 (run_program_cmd): This.
36494 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36495 (tst_langinfo): New variable. Use it.
36496
36497 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36498
36499 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36500 floating point opcodes.
36501
36502 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36503
36504 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36505 variable.
36506
36507 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36508
36509 * sysdeps/mach/hurd/powerpc: Remove directory.
36510 * sysdeps/mach/powerpc: Likewise.
36511
36512 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36513
36514 * scripts/check-local-headers.sh: Ignore c++ headers.
36515
36516 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36517
36518 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36519 __libc_cleanup_region_start argument.
36520
36521 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36522
36523 [BZ #14784]
36524 [BZ #14785]
36525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36526 x * y using scaling, not as x * y + z.
36527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36529 * math/libm-test.inc (fma_test): Add more tests.
36530 (fma_test_towardzero): Likewise.
36531 (fma_test_downward): Likewise.
36532 (fma_test_upward): Likewise.
36533
36534 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36535
36536 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36537
36538 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36539
36540 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36541 New variable.
36542
36543 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36544
36545 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36546
36547 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36548
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36550 Fix sort order.
36551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36552 Likewise.
36553
36554 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36555
36556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36557 Fix the order of the list for glibc 2.17.
36558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36559 Likewise.
36560
36561 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36562
36563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36564
36565 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36566
36567 [BZ #14610]
36568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36569 for low part of x being zero before using __atanl (y).
36570 * math/libm-test.inc (atan2_test): Add another test.
36571
36572 * manual/install.texi (Configuring and compiling): Document
36573 general use of test-wrapper and test-wrapper-env.
36574 * INSTALL: Regenerated.
36575
36576 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36577 (__fma): Do not extract and scale down low bits on after-rounding
36578 systems when result rounded to normal precision would have normal
36579 exponent.
36580 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36581 (__fmal): Do not extract and scale down low bits on after-rounding
36582 systems when result rounded to normal precision would have normal
36583 exponent.
36584 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36585 (__fmal): Do not extract and scale down low bits on after-rounding
36586 systems when result rounded to normal precision would have normal
36587 exponent.
36588 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36589 macro.
36590 (fma_test): Add more tests.
36591 (fma_test_towardzero): Likewise.
36592 (fma_test_downward): Likewise.
36593 (fma_test_upward): Likewise.
36594
36595 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36596
36597 * sysdeps/i386/tininess.h: Renamed to ...
36598 * sysdeps/x86/tininess.h: This.
36599 * sysdeps/x86_64/tininess.h: Removed.
36600
36601 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36602
36603 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36604 input. Use $(build-program-cmd).
36605 ($(objpfx)tst-array1-static.out): Likewise.
36606 ($(objpfx)tst-array2.out): Likewise.
36607 ($(objpfx)tst-array3.out): Likewise.
36608 ($(objpfx)tst-array4.out): Likewise.
36609 ($(objpfx)tst-array5.out): Likewise.
36610 ($(objpfx)tst-array5-static.out): Likewise.
36611
36612 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36613
36614 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36615 if defined.
36616
36617 * nss/nsswitch.h (nss_interface_function): Provide new
36618 macro for use with NSS functions.
36619 * grp/initgroups.c: Use new macro.
36620 * nss/getXXbyYY.c: Likewise.
36621 * nss/getXXbyYY_r.c: Likewise.
36622 * nss/getXXent.c: Likewise.
36623 * nss/getXXent_r.c: Likewise.
36624 * sysdeps/posix/getaddrinfo.c: Likewise.
36625
36626 2012-10-30 Andreas Jaeger <aj@suse.de>
36627
36628 * po/ru.po: Update Russion translation from translation project.
36629
36630 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36631
36632 [BZ #14152]
36633 [BZ #14783]
36634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36635 result and shift together with sticky bit instead of replicating
36636 round-to-nearest rounding.
36637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36639 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36640 missing underflow exceptions.
36641 (fma_test_towardzero): Add more tests.
36642 (fma_test_downward): Likewise.
36643 (fma_test_upward): Likewise.
36644
36645 [BZ #14047]
36646 * sysdeps/generic/tininess.h: New file.
36647 * sysdeps/i386/tininess.h: Likewise.
36648 * sysdeps/sh/tininess.h: Likewise.
36649 * sysdeps/x86_64/tininess.h: Likewise.
36650 * stdlib/tst-strtod-underflow.c: Likewise.
36651 * stdlib/tst-tininess.c: Likewise.
36652 * stdlib/strtod_l.c: Include <tininess.h>.
36653 (round_and_return): Do not set errno for exact underflow cases.
36654 Force an underflow exception when setting errno for underflow.
36655 Determine underflow based on rounding to normal precision if
36656 TININESS_AFTER_ROUNDING.
36657 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36658 ERANGE for exact underflow cases.
36659 * stdlib/Makefile (tests): Add tst-tininess and
36660 tst-strtod-underflow.
36661 ($(objpfx)tst-tininess): Use $(link-libm).
36662 ($(objpfx)tst-strtod-underflow): Likewise.
36663
36664 2012-10-30 Andreas Jaeger <aj@suse.de>
36665
36666 [BZ#14767]
36667 * elf/Makefile (tests): Remove conditional for have-initfini-array
36668 since this is now always required and the variable does not exist
36669 anymore.
36670 (tests-static): Likewise.
36671 (modules-names): Likewise.
36672
36673 * po/eo.po: Add Esperanto translation from translation project.
36674
36675 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36676 merged with constructor/destructor.
36677 (init_array): Likewise.
36678 * elf/tst-array2dep.c (fini_array): Likewise.
36679 (init_array): Likewise.
36680
36681 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36682
36683 * manual/message.texi: Delete @cartouche tags.
36684
36685 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36686
36687 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36688 EOPNOTSUPP.
36689 * sysdeps/mach/hurd/fsync.c: Likewise.
36690
36691 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36692 [_POSIX_REALTIME_SIGNALS]: Change condition to
36693 [_POSIX_REALTIME_SIGNALS > 0].
36694
36695 2012-10-27 Andreas Jaeger <aj@suse.de>
36696
36697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36698 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36700 [__WORDSIZE != 64]: Likewise.
36701
36702 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36703
36704 * iconvdata/tst-table.sh: Remove ${SHELL}.
36705 * iconvdata/tst-tables.sh: Likewise.
36706
36707 2012-10-25 David S. Miller <davem@davemloft.net>
36708
36709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36710 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36711 of strtoull.
36712
36713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36714 ifunc-impl-list.c
36715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36716 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36717 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36718 file.
36719
36720 2012-10-25 Roland McGrath <roland@hack.frob.com>
36721
36722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36723 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36724 __getdirentries.
36725
36726 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36727 Jim Blandy <jimb@codesourcery.com>
36728
36729 * scripts/cross-test-ssh.sh: New file.
36730 * manual/install.texi (Configuring and compiling): Document use of
36731 cross-test-ssh.sh.
36732 * INSTALL: Regenerated.
36733
36734 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36735
36736 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36737 EOPNOTSUPP.
36738
36739 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36740
36741 * Makeconfig (run-program-prefix): Fix comment.
36742
36743 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36744 Jim Blandy <jimb@codesourcery.com>
36745
36746 * Makeconfig (test-wrapper): New variable,
36747 (test-wrapper-env): Likewise.
36748 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36749 (run-built-tests): Define to yes.
36750 (run-program-prefix): Use $(test-wrapper).
36751 (built-program-cmd): Likewise.
36752 * Rules (make-test-out): Use $(test-wrapper-env) and
36753 $(host-built-program-cmd).
36754 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36755 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36756 tst-pathopt.sh.
36757 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36758 $(test-wrapper-env) to tst-rtld-load-self.sh.
36759 ($(objpfx)order2.out): Use $(test-wrapper).
36760 ($(objpfx)tst-initorder.out): Likewise.
36761 ($(objpfx)tst-initorder2.out): Likewise.
36762 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36763 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36764 (test_wrapper_env): New variable. Use it to run ld.so.
36765 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36766 Use it to run ld.so.
36767 (test_wrapper_env): Likewise.
36768 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36769 $(test-wrapper) to run-iconv-test.sh.
36770 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36771 (ICONV): Use $test_wrapper.
36772 * posix/Makefile ($(objpfx)globtest.out): Pass
36773 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36774 globtest.sh, not $(run-program-prefix).
36775 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36776 (test_wrapper): Likewise.
36777 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36778 set together with run_via_rtld_prefix.
36779 (run_program_prefix): Define in terms of test_wrapper and
36780 run_via_rtld_prefix.
36781
36782 2012-10-24 Roland McGrath <roland@hack.frob.com>
36783
36784 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36785 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36786 Targets removed.
36787
36788 [BZ #14743]
36789 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36790 Declare __clock_getres, __clock_gettime, __clock_settime,
36791 __clock_nanosleep, and __clock_getcpuclockid.
36792 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36793 Remove librt_hidden_def (clock_gettime).
36794 * sysdeps/unix/clock_gettime.c: Likewise.
36795 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36796 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36797 * rt/clock_getres.c: Define __clock_getres as an alias.
36798 * sysdeps/posix/clock_getres.c: Likewise.
36799 * rt/clock_settime.c: Define __clock_settime as an alias.
36800 * sysdeps/unix/clock_settime.c: Likewise.
36801 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36802 * sysdeps/unix/clock_nanosleep.c: Likewise.
36803 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36804 * rt/clock-compat.c: New file.
36805 * rt/Makefile (librt-routines): Add clock-compat and move
36806 $(clock-routines) to ...
36807 (routines): ... here, new variable.
36808 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36809 Don't add get_clockfreq here.
36810 * rt/Versions (libc: GLIBC_2.17): New version set.
36811 Add clock_* symbols here.
36812 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36813 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36814 (GLIBC_2.17): Add clock_* symbols.
36815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36819 Likewise.
36820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36821 Likewise.
36822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36826 * NEWS: Mention the move.
36827
36828 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36829 Use __open, __read, __close rather than their public counterparts.
36830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36831 (__get_clockfreq_via_cpuinfo): Likewise.
36832 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36833 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36834
36835 * config.h.in (HAVE_IFUNC): New #undef.
36836 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36837 was successful.
36838 * configure: Regenerated.
36839
36840 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36841
36842 * configure.in: Move READELF check to start of file.
36843 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36844 libc_cv_asm_gnu_indirect_function in the process.
36845 * configure: Regenerated.
36846
36847 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36848
36849 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36850 send the output to /dev/null.
36851 (libc_cv_cc_with_libunwind): Likewise.
36852 (libc_cv_as_noexecstack): Likewise.
36853 * configure: Regenerate.
36854
36855 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36856
36857 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36858
36859 * posix/globtest.sh (TMPDIR): Do not set.
36860 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36861 (testout): Likewise.
36862
36863 2012-10-24 Andreas Jaeger <aj@suse.de>
36864
36865 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36866 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36867 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36868 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36869 posix_fadvise64, posix_fallocate64.
36870
36871 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36872 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36873 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36874 Likewise.
36875 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36876 Likewise.
36877 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36878
36879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36880 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36881 <bits/fcntl-linux.h>.
36882 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36883
36884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36885 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36886 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36887 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36888 [__WORDSIZE != 64]: Likewise.
36889
36890 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36891
36892 * Makeconfig (run-built-tests): New variable.
36893 * Rules [$(cross-compiling) = yes]: Change condition to
36894 [$(run-built-tests) = no].
36895 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36896 to [$(run-built-tests) = yes].
36897 * elf/Makefile [$(cross-compiling) = no]: Likewise
36898 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36899 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36900 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36901 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36902 * io/Makefile [$(cross-compiling) = no]: Likewise.
36903 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36904 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36905 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36906 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36907 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36908 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36909 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36910 * string/Makefile [$(cross-compiling) = no]: Likewise.
36911
36912 * posix/Makefile ($(objpfx)globtest.out): Pass
36913 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36914 $(rtld-installed-name).
36915 * posix/globtest.sh (elf_objpfx): Remove variable.
36916 (rtld_installed_name): Likewise.
36917 (library_path): Likewise.
36918 (run_program_prefix): New variable. Use for running globtest
36919 binary.
36920
36921 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36922 Joseph Myers <joseph@codesourcery.com>
36923
36924 * Makeconfig (host-built-program-cmd): New variable.
36925 * elf/Makefile (tst-stackguard1-ARGS): Use
36926 $(host-built-program-cmd).
36927 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36928 (tst-spawn-ARGS): Likewise.
36929 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36930
36931 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36932 Jim Blandy <jimb@codesourcery.com>
36933
36934 * Makeconfig (run-via-rtld-prefix): New variable.
36935 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36936 (built-program-cmd): Likewise.
36937
36938 2012-10-22 Andreas Jaeger <aj@suse.de>
36939
36940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36941 __O_RSYNC if it exists, otherwise to O_SYNC.
36942
36943 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36944 Joseph Myers <joseph@codesourcery.com>
36945
36946 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36947 /dev/null.
36948 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36949 from /dev/null
36950 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36951 /dev/null.
36952
36953 2012-10-22 Andreas Jaeger <aj@suse.de>
36954
36955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36956 Define always.
36957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36958
36959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36960 bits/fcntl-linux.h.
36961
36962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36963 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36964
36965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36966 to __O_LARGEFILE.
36967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36968 to __O_LARGEFILE.
36969
36970 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36971 Joseph Myers <joseph@codesourcery.com>
36972
36973 * config.make.in (NM): New variable.
36974
36975 2012-10-21 Andreas Jaeger <aj@suse.de>
36976
36977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36978 definitions and declarations that are provided by
36979 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36980
36981 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36982
36983 [BZ #14683]
36984 * elf/Makefile (tests-static): Add tst-leaks1-static.
36985 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36986 ($(objpfx)tst-leaks1-static): New rule.
36987 ($(objpfx)tst-leaks1-static-mem): Likewise.
36988 (tst-leaks1-static-ENV): New macro.
36989 * elf/dl-open.c (dl_open_worker): Check the main application
36990 only if SHARED is defined.
36991 * elf/tst-leaks1-static.c: New file.
36992
36993 2012-10-20 Andreas Jaeger <aj@suse.de>
36994
36995 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36996 generic values for Linux.
36997 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36998 and declarations that are provided by <bits/fcntl-linux.h> and
36999 include <bits/fcntl-linux.h>.
37000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37002
37003 2012-10-20 Roland McGrath <roland@hack.frob.com>
37004
37005 * io/fcntl.h: Move include of <bits/types.h> to the top and
37006 include it unconditionally.
37007
37008 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37009
37010 * wcsmbs/Makefile (tests-ifunc): New variable.
37011 (tests): Add $(tests-ifunc).
37012 * wcsmbs/test-wcschr-ifunc.c: New file.
37013 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37014 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37015 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37016 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37017 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37018
37019 * string/Makefile (tests-ifunc): New variable.
37020 (tests): Add $(tests-ifunc).
37021 * string/test-memccpy.c (TEST_NAME): New macro.
37022 * string/test-memchr.c (TEST_NAME): Likewise.
37023 * string/test-memcmp.c (TEST_NAME): Likewise.
37024 * string/test-memcpy.c (TEST_NAME): Likewise.
37025 * string/test-memmem.c (TEST_NAME): Likewise.
37026 * string/test-memmove.c (TEST_NAME): Likewise.
37027 * string/test-memset.c (TEST_NAME): Likewise.
37028 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37029 * string/test-stpcpy.c (TEST_NAME): Likewise.
37030 * string/test-stpncpy.c (TEST_NAME): Likewise.
37031 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37032 * string/test-strcasestr.c (TEST_NAME): Likewise.
37033 * string/test-strcat.c (TEST_NAME): Likewise.
37034 * string/test-strchr.c (TEST_NAME): Likewise.
37035 * string/test-strcmp.c(TEST_NAME): Likewise.
37036 * string/test-strcpy.c (TEST_NAME): Likewise.
37037 * string/test-strcspn.c (TEST_NAME): Likewise.
37038 * string/test-strlen.c (TEST_NAME): Likewise.
37039 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37040 * string/test-strncmp.c (TEST_NAME): Likewise.
37041 * string/test-strncpy.c (TEST_NAME): Likewise.
37042 * string/test-strnlen.c (TEST_NAME): Likewise.
37043 * string/test-strpbrk.c (TEST_NAME): Likewise.
37044 * string/test-strrchr.c (TEST_NAME): Likewise.
37045 * string/test-strspn.c (TEST_NAME): Likewise.
37046 * string/test-strstr.c (TEST_NAME): Likewise.
37047 * string/test-bcopy-ifunc.c: New file.
37048 * string/test-bzero-ifunc.c: Likewise.
37049 * string/test-memccpy-ifunc.c: Likewise.
37050 * string/test-memchr-ifunc.c: Likewise.
37051 * string/test-memcmp-ifunc.c: Likewise.
37052 * string/test-memcpy-ifunc.c: Likewise.
37053 * string/test-memmem-ifunc.c: Likewise.
37054 * string/test-memmove-ifunc.c: Likewise.
37055 * string/test-mempcpy-ifunc.c: Likewise.
37056 * string/test-memset-ifunc.c: Likewise.
37057 * string/test-rawmemchr-ifunc.c: Likewise.
37058 * string/test-stpcpy-ifunc.c: Likewise.
37059 * string/test-stpncpy-ifunc.c: Likewise.
37060 * string/test-strcasecmp-ifunc.c: Likewise.
37061 * string/test-strcasestr-ifunc.c: Likewise.
37062 * string/test-strcat-ifunc.c: Likewise.
37063 * string/test-strchr-ifunc.c: Likewise.
37064 * string/test-strchrnul-ifunc.c: Likewise.
37065 * string/test-strcmp-ifunc.c: Likewise.
37066 * string/test-strcpy-ifunc.c: Likewise.
37067 * string/test-strcspn-ifunc.c: Likewise.
37068 * string/test-strlen-ifunc.c: Likewise.
37069 * string/test-strncasecmp-ifunc.c: Likewise.
37070 * string/test-strncat-ifunc.c: Likewise.
37071 * string/test-strncmp-ifunc.c: Likewise.
37072 * string/test-strncpy-ifunc.c: Likewise.
37073 * string/test-strnlen-ifunc.c: Likewise.
37074 * string/test-strpbrk-ifunc.c: Likewise.
37075 * string/test-strrchr-ifunc.c: Likewise.
37076 * string/test-strspn-ifunc.c: Likewise.
37077 * string/test-strstr-ifunc.c: Likewise.
37078
37079 * debug/Makefile (tests-ifunc): New variable.
37080 (tests): Add $(tests-ifunc).
37081 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37082 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37083 * debug/test-stpcpy_chk-ifunc.c: New file.
37084 * debug/test-strcpy_chk-ifunc.c: Likewise.
37085
37086 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37087
37088 [BZ #13601]
37089 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37090 header is not read in.
37091
37092 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37093
37094 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37095 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37096 directly. Pass built executable to script as
37097 $(built-program-cmd).
37098 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37099 $testprogram without using LD_LIBRARY_PATH and $ldso.
37100
37101 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37102 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37103 $(rtld-installed-name).
37104 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37105 (rtld_installed_name): Likewise.
37106 (library_path): Likewise.
37107 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37108 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37109 $(run-program-prefix) to tst-tables.sh.
37110 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37111 it to run tst-table-from and tst-table-to.
37112 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37113 Pass it to tst-table.sh.
37114 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37115 $(run-program-prefix) to tst-gettext.sh.
37116 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37117 tst-translit.sh.
37118 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37119 tst-gettext2.sh.
37120 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37121 to run tst-gettext.
37122 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37123 to run tst-gettext2.
37124 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37125 to run tst-translit.
37126 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37127 $(run-program-prefix) to tst-mtrace.sh.
37128 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37129 to run tst-mtrace.
37130 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37131 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37132 $(rtld-installed-name).
37133 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37134 (rtld_installed_name): Likewise.
37135 (run_program_prefix): New variable. Use it to run wordexp-test.
37136
37137 * Makeconfig (ARCH): Remove all definitions.
37138 (machine): Likewise.
37139 [ARCH]: Remove conditional code.
37140 [!objdir]: Give error.
37141 [!objdir] (objpfx): Remove.
37142 [!objdir] (common-objpfx): Likewise.
37143 [!objdir] (common-objdir): Likewise.
37144 * configure.in (config_makefile): Remove. Hardcode Makefile in
37145 AC_CONFIG_FILES call.
37146 * configure: Regenerated.
37147
37148 [BZ #13888]
37149 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37150 or TMPDIR.
37151 (testout): Likewise.
37152
37153 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37154 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37155 $(rtld-installed-name).
37156 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37157 (rtld_installed_name): Likwise.
37158 (runit): Remove function.
37159 (run_getconf): New variable, Use it for running getconf binary.
37160
37161 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37162
37163 [BZ #14716]
37164 * string/test-memmem.c (check_result): New function.
37165 (do_one_test): Use it.
37166 (check1): New function.
37167 (test_main): Use it.
37168
37169 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37170
37171 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37172
37173 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37174
37175 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37176 (_G_LSEEK64): Likewise.
37177 (_G_MMAP64): Likewise.
37178 (_G_FSTAT64): Likewise.
37179 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37180 (_G_LSEEK64): Likewise.
37181 (_G_MMAP64): Likewise.
37182 (_G_FSTAT64): Likewise.
37183 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37184 unconditional. Call __mmap64 directly.
37185 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37186 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37187 __lseek64 directly.
37188 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37189 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37190 __mmap64 directly.
37191 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37192 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37193 __lseek64 directly.
37194 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37195 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37196 __lseek64 directly.
37197 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37198 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37199 __lseek64 directly.
37200 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37201 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37202 __fxstat64 directly.
37203 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37204 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37205 unconditional.
37206 (freopen64) [!_G_OPEN64]: Remove conditional code.
37207 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37208 unconditional.
37209 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37210 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37211 unconditional.
37212 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37213 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37214 unconditional.
37215 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37216 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37217 unconditional.
37218 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37219 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37220 unconditional.
37221 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37222 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37223 unconditional.
37224 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37225 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37226 unconditional.
37227 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37228
37229 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37230
37231 [BZ #12140]
37232 * manual/memory.texi (Malloc Tunable Parameters): Add note
37233 about free list pointers overwriting some perturb bytes.
37234 Wording suggested by Roland McGrath.
37235
37236 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37237
37238 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37239 (lgamma_test): Likewise.
37240 (tgamma_test): Likewise.
37241
37242 2012-10-16 Florian Weimer <fweimer@redhat.com>
37243
37244 [BZ #14700]
37245 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37246 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37247
37248 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37249
37250 * NEWS: Mention BZ #14716.
37251 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37252 when removing AVAILABLE1_USES_J macro.
37253
37254 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37255
37256 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37257 (__bswap_64): __uint64_t for unsigned 64-bit int.
37258
37259 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37260
37261 * include/string.h (memmem): Declare libc hidden alias.
37262 * string/memmem.c (memmem): Define libc hidden alias.
37263 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37264 __read, __close instead of open, read, close.
37265
37266 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37267
37268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37269 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37270 global and hidden.
37271 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37272 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37273 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37274 Likewise.
37275 (__rawmemchr_sse2): Likewise.
37276 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37277 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37278 (__strchr_sse2): Likewise.
37279 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37280 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37281 (__strcasecmp_sse2): Likewise.
37282 (__strncasecmp_sse2): Likewise.
37283 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37284 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37285 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37286 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37287 (__strrchr_sse2): Likewise.
37288 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37289 ifunc-impl-list.c.
37290 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37291 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37292 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37293 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37294 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37295 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37296 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37297 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37298 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37299 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37300 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37301 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37302 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37303 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37304 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37305 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37306 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37307 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37308 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37309 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37310 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37311 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37312 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37313 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37314 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37315 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37316 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37317 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37318 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37319 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37320
37321 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37322 global and hidden.
37323 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37324 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37325 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37326 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37327 Likewise.
37328 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37329 Likewise.
37330 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37331 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37332 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37333 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37334 ifunc-impl-list.c.
37335 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37336 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37337 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37338 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37339 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37340 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37341 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37342 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37343 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37344 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37345 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37346 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37347 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37348 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37349 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37351 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37352 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37353 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37354 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37356 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37357 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37358 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37359 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37360 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37361 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37362 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37363 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37364 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37365 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37366 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37367 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37368 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37369 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37370 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37371 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37372 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37373 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37374 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37375 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37376
37377 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37378 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37379 * include/ifunc-impl-list.h: New file.
37380 * misc/ifunc-impl-list.c: Likewise.
37381 * misc/Makefile (routines): Add ifunc-impl-list.
37382 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37383 * string/test-string.h: Include <ifunc-impl-list.h>.
37384 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37385 TEST_NAME]: New variables.
37386 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37387 are defined.
37388 (test_init): Call __libc_ifunc_impl_list to initialize
37389 func_list if TEST_IFUNC and TEST_NAME are defined.
37390
37391 * string/Makefile (strop-tests): Add bcopy and bzero.
37392 * string/test-bcopy.c: New file.
37393 * string/test-bzero.c: Likewise.
37394 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37395 defined.
37396 * string/test-memset.c: Support bzero test if TEST_BZERO is
37397 defined.
37398 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37399 __libc_memmove.
37400 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37401 __libc_memset.
37402 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37403 of memset.
37404
37405 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37406
37407 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37408 * configure: Regenerated.
37409
37410 * Makeconfig (+link-static-before-libc): Don't include
37411 $(link-static-libc).
37412
37413 * libio/libio.h (_IO_pos_t): Remove.
37414
37415 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37416
37417 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37418 McGrath.
37419
37420 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37421
37422 * crypt/crypt-entry.c: Include fips-private.h.
37423 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37424 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37425 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37426 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37427
37428 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37429
37430 * crypt/crypt-private.h: Include stdbool.h.
37431 (_ufc_setup_salt_r): Return bool.
37432 * crypt/crypt-entry.c: Include errno.h.
37433 (__crypt_r): Return NULL with EINVAL for bad salt.
37434 * crypt/crypt_util.c (bad_for_salt): New.
37435 (_ufc_setup_salt_r): Check that salt is long enough and within
37436 the specified alphabet.
37437 * crypt/badsalttest.c: New file.
37438 * crypt/Makefile (tests): Add it.
37439 ($(objpfx)badsalttest): New.
37440
37441 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37442
37443 * NEWS: Add entry for BZ #14602.
37444
37445 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37446
37447 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37448 type-generic.
37449 * math/libm-test.inc: Update comment listing what functions and
37450 macros are tested.
37451 (isgreater_test): New function.
37452 (isgreaterequal_test): Likewise.
37453 (isless_test): Likewise.
37454 (islessequal_test): Likewise.
37455 (islessgreater_test): Likewise.
37456 (isunordered_test): Likewise.
37457 (main): Call the new functions.
37458
37459 2012-10-09 Roland McGrath <roland@hack.frob.com>
37460
37461 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37462 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37463 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37464 * sysdeps/i386/configure: Regenerated.
37465 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37466 * sysdeps/mach/configure: Regenerated.
37467 * sysdeps/mach/hurd/configure: Regenerated.
37468 * sysdeps/powerpc/configure: Regenerated.
37469 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37470 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37471 * sysdeps/s390/s390-32/configure: Regenerated.
37472 * sysdeps/s390/s390-64/configure: Regenerated.
37473 * sysdeps/sh/configure: Regenerated.
37474 * sysdeps/sparc/configure: Regenerated.
37475 * sysdeps/unix/sysv/linux/configure: Regenerated.
37476 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37477 * sysdeps/x86_64/configure: Regenerated.
37478
37479 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37480 defined. Don't check if MAP is NULL.
37481
37482 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37483
37484 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37485 (_G_stat64): Likewise.
37486 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37487 (_G_stat64): Likewise.
37488 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37489 instead of struct _G_stat64.
37490 * libio/fileops.c (mmap_remap_check): Likewise.
37491 (decide_maybe_mmap): Likewise.
37492 (_IO_new_file_seekoff): Likewise.
37493 (_IO_file_stat): Likewise.
37494 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37495 _G_off64_t.
37496 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37497 instead of struct _G_stat64.
37498 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37499
37500 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37501
37502 [BZ #14602]
37503 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37504 Replace with ...
37505 (CHECK_EOL): New macro.
37506 (two_way_short_needle): Check beginning of haystack for EOL. Use
37507 CHECK_EOL.
37508 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37509 Replace with CHECK_EOL.
37510 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37511 Replace with CHECK_EOL.
37512
37513 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37514
37515 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37516 type-generic.
37517 * math/libm-test.inc: Update comment listing what functions and
37518 macros are tested.
37519 (finite_test): New function.
37520 (isinf_test): Likewise.
37521 (isnan_test): Likewise.
37522 (fpclassify_test): Test subnormal input.
37523 (isfinite_test): Likewise.
37524 (isnormal_test): Likewise.
37525 (main): Call the new functions.
37526
37527 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37528
37529 [BZ #14660]
37530 * Makerules (%.dynsym): Force C locale when running
37531 $(OBJDUMP) --dynamic-syms.
37532
37533 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37534
37535 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37536 <stdint.h>.
37537
37538 2012-10-06 David S. Miller <davem@davemloft.net>
37539
37540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37541 upper 32-bits of the length value in %o2 since we use branch-on-register
37542 tests which consider the entire 64-bit register.
37543
37544 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37545
37546 * string/test-strstr.c (check2): Add a test for page boundary.
37547
37548 2012-10-05 David S. Miller <davem@davemloft.net>
37549
37550 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37551 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37552 file.
37553 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37554 sysdep_routines.
37555 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37556 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37557 and bzero when HWCAP_SPARC_CRYPTO is present.
37558
37559 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37560
37561 [BZ #14602]
37562 * string/test-strstr.c (check2): New function.
37563 (test_main): Call check2.
37564
37565 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37566 and bug-strchr1.
37567 * string/bug-strcasestr1.c (do_test): Moved to ...
37568 * string/test-strcasestr.c (check1): Here. New function.
37569 (do_one_test): Break out result checking code into ...
37570 (check_result): This. New function.
37571 (do_one_test): Call check_result.
37572 (test_main): Call check1.
37573 * string/bug-strchr1.c (do_test): Moved to ...
37574 * string/test-strchr.c (check1): Here. New function.
37575 (do_one_test): Break out result checking code into ...
37576 (check_result): This. New function.
37577 (do_one_test): Call check_result.
37578 (test_main): Call check1.
37579 * string/bug-strstr1.c (main): Moved to ...
37580 * string/test-strstr.c (check1): Here. New function.
37581 (do_one_test): Break out result checking code into ...
37582 (check_result): This. New function.
37583 (do_one_test): Call check_result.
37584 (test_main): Call check1.
37585 * string/bug-strcasestr1.c: Removed.
37586 * string/bug-strchr1.c: Likewise.
37587 * string/bug-strstr1.c: Likewise.
37588
37589 * elf/Makefile (dl-routines): Add hwcaps.
37590 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37591 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37592 (_dl_important_hwcaps): Moved to ...
37593 * elf/dl-hwcaps.c: Here. New file.
37594 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37595
37596 [BZ #14557]
37597 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37598 if IS_IN_rtld isn't defined.
37599
37600 * elf/dl-support.c (_dl_sysinfo_map): New.
37601 Include "get-dynamic-info.h" and "setup-vdso.h".
37602 (_dl_non_dynamic_init): Call setup_vdso.
37603 * elf/dynamic-link.h: Don't include <assert.h>.
37604 (elf_get_dynamic_info): Moved to ...
37605 * elf/get-dynamic-info.h: Here. New file.
37606 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37607 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37608 * elf/setup-vdso.h: Here. New file.
37609 * elf/rtld.c: Include "setup-vdso.h".
37610 (dl_main): Call setup_vdso.
37611
37612 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37613
37614 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37615 creal in comment listing functions tested. List finite, isinf,
37616 isnan, isless, islessequal, isgreater, isgreaterequal,
37617 islessgreater, isunordered, lgamma_r and pow10 as functions and
37618 macros not tested. Mention which functions not tested are aliases
37619 for other functions. Fix typo. Note that signs of NaNs are not
37620 tested.
37621
37622 * scripts/config.guess: Update from config.git.
37623 * scripts/config.sub: Likewise.
37624
37625 2012-10-04 Roland McGrath <roland@hack.frob.com>
37626
37627 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37628 * misc/madvise.c (madvise): Renamed to __madvise.
37629 Make madvise a weak alias.
37630 * include/sys/mman.h: Declare __madvise.
37631 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37632 * sysdeps/unix/syscalls.list
37633 (madvise): Make __madvise the strong name, and madvise a weak alias.
37634 * sysdeps/unix/sysv/linux/syscalls.list
37635 (madvise, mmap): Remove redundant entries.
37636 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37637 * malloc/malloc.c (mtrim): Likewise.
37638 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37639
37640 2012-10-03 Roland McGrath <roland@hack.frob.com>
37641
37642 * sysdeps/mach/hurd/dl-cache.c: File removed.
37643 * config.h.in (USE_LDCONFIG): New #undef.
37644 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37645 * configure: Regenerated.
37646 * elf/Makefile (dl-routines): Add dl-cache only under
37647 [$(use-ldconfig) = yes].
37648 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37649 cache on [USE_LDCONFIG].
37650 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37651 [USE_LDCONFIG].
37652 * elf/rtld.c (dl_main): Likewise.
37653
37654 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37655
37656 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37657 _SC_LEVEL4_CACHE_LINESIZE.
37658
37659 2012-10-03 Roland McGrath <roland@hack.frob.com>
37660
37661 * sysdeps/unix/bsd/confstr.h: File removed.
37662
37663 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37664
37665 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37666 sys/sdt-config.h.
37667
37668 2012-10-02 Roland McGrath <roland@hack.frob.com>
37669
37670 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37671 Make 'mapoff' field ElfW(Off) rather than off_t.
37672
37673 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37674
37675 * nscd/Makefile: Remove nscd-cflags and all its users.
37676 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37677 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37678
37679 [BZ #10631]
37680 * malloc.c (malloc_printerr): Clarify error message.
37681
37682 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37683
37684 [BZ #14648]
37685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37686 Set bit_FMA_Usable if FMA is supported.
37687 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37688 macro.
37689 (bit_FMA4_Usable): Updated.
37690 (index_FMA_Usable): New macro.
37691 (CPUID_FMA): Likewise
37692 (HAS_FMA): Defined with bit_FMA_Usable.
37693
37694 2012-10-01 Roland McGrath <roland@hack.frob.com>
37695
37696 * bits/types.h (__swblk_t): Type removed.
37697 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37698 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37700 (__SWBLK_T_TYPE): Likewise.
37701 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37702 (__SWBLK_T_TYPE): Likewise.
37703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37704 (__SWBLK_T_TYPE): Likewise.
37705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37706 (__SWBLK_T_TYPE): Likewise.
37707
37708 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37709 Honza Horak <hhorak@redhat.com>
37710
37711 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37712 (xdr_mapname): Use YPMAXMAP as maxsize.
37713 (xdr_peername): Use YPMAXPEER as maxsize.
37714 (xdr_keydat): Use YPAXRECORD as maxsize.
37715 (xdr_valdat): Use YPMAXRECORD as maxsize.
37716
37717 2012-10-01 Roland McGrath <roland@hack.frob.com>
37718
37719 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37720
37721 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37722 * csu/init-first.c: ... here.
37723 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37724 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37725 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37726 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37727 * sysdeps/i386/init-first.c: File removed.
37728 * sysdeps/sh/init-first.c: File removed.
37729
37730 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37731
37732 [BZ #14645]
37733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37734 if x * y might underflow to zero and z is zero.
37735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37737 * math/libm-test.inc (min_subnorm_value): New variable.
37738 (fma_test): Add more tests.
37739 (fma_test_towardzero): Likewise.
37740 (fma_test_downward): Likewise
37741 (fma_test_upward): Likewise.
37742 (initialize): Set min_subnorm_value.
37743
37744 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37745
37746 [BZ #14638]
37747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37748 0 + 0.
37749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37750 mode for addition resulting in exact zero.
37751 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37753 exact 0 + 0.
37754 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37756 * math/libm-test.inc (fma_test): Add more tests.
37757 (fma_test_towardzero): New function.
37758 (fma_test_downward): Likewise.
37759 (fma_test_upward): Likewise.
37760 (main): Call the new functions.
37761
37762 2012-09-28 David S. Miller <davem@davemloft.net>
37763
37764 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37765
37766 2012-09-28 Roland McGrath <roland@hack.frob.com>
37767
37768 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37769 instead of SIGALRM.
37770
37771 * sysdeps/gnu/_G_config.h: Moved to ...
37772 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37773 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37774 * sysdeps/generic/_G_config.h: ... here.
37775
37776 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37777
37778 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37779
37780 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37781 Conditionalize target on [libnss_test1.so-version].
37782
37783 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37784
37785 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37786 (elfobjdir): Move out of conditionals.
37787
37788 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37789 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37790 (__nss_lookup_function): Conditionalize label remove_from_tree on
37791 [!DO_STATIC_NSS || SHARED], matching its only use.
37792
37793 2012-09-28 David S. Miller <davem@davemloft.net>
37794
37795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37796 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37797 file.
37798 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37799 sysdep_routines.
37800 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37802 when HWCAP_SPARC_CRYPTO is present.
37803
37804 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37805
37806 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37807
37808 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37809
37810 [BZ #6530]
37811 * stdio-common/vfprintf.c (process_string_arg): Revert
37812 2000-07-22 change.
37813
37814 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37815
37816 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37817 for testcase.
37818 * stdio-common/tst-sprintf.c: Include <locale.h>
37819 (main): Test sprintf's handling of incomplete multibyte
37820 characters.
37821
37822 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37823
37824 * elf/dl-runtime.c (VERSYMIDX): Removed.
37825 * elf/dl-version.c (VERSYMIDX): Likewise.
37826 * elf/do-rel.h (VERSYMIDX): Likewise.
37827 (VALIDX): Likewise.
37828 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37829 * elf/rtld.c (VALIDX): Likewise.
37830 (ADDRIDX): Likewise.
37831 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37832 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37833 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37834 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37835 (VALIDX): Likewise.
37836 (ADDRIDX): Likewise.
37837
37838 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37839
37840 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37841
37842 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37843
37844 [BZ #11438]
37845 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37846 to global scope.
37847 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37848 addresses are in the same scope as 192.0.2/24.
37849 * posix/gai.conf: Document new scope table defaults.
37850
37851 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37852
37853 [BZ #5298]
37854 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37855 for ftell. Compute offsets from write pointers instead.
37856 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37857
37858 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37859
37860 [BZ #14543]
37861 * libio/Makefile (tests): New test case tst-fseek.
37862 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37863 combination works in wide mode.
37864 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37865 state when the external buffer state changes.
37866
37867 2012-09-27 David S. Miller <davem@davemloft.net>
37868
37869 [BZ #14376]
37870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37871 pass reloc->r_addend in as the 'high' argument to
37872 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37873
37874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37875
37876 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37877
37878 * rt/tst-aio2.c: Include <pthread.h>.
37879 * rt/tst-aio3.c: Likewise.
37880
37881 2012-09-27 Steve Ellcey <sellcey@mips.com>
37882
37883 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37884
37885 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37886
37887 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37888 contents on [SHARED].
37889
37890 2012-09-26 Marek Polacek <polacek@redhat.com>
37891
37892 [BZ #14530]
37893 [BZ #13741]
37894 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37895 for C++ and GCC <4.3 as well as for non GCC compilers.
37896
37897 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37898
37899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37900
37901 2012-09-25 Roland McGrath <roland@hack.frob.com>
37902
37903 * Makefile.in (all, install): Declare with .PHONY.
37904 Reported by Michael Hope <michael.hope@linaro.org>.
37905
37906 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37907
37908 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37909 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37910 system header.
37911 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37912 Likewise.
37913 (sydep_routines): Add the new and the internal functions.
37914 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37915 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37917 (GLIBC_2.17): Add the new function.
37918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37919 (GLIBC_2.17): Likewise.
37920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37921 (GLIBC_2.17): Likewise.
37922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37923 (GLIBC_2.17): Likewise.
37924 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37925
37926 2012-09-25 Alan Modra <amodra@gmail.com>
37927
37928 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37929 Add release barrier before setting once_control to say
37930 initialisation is done. Add hints on lwarx. Use macro in
37931 place of isync.
37932 (clear_once_control): Add release barrier.
37933
37934 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37935
37936 [BZ #13629]
37937 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37938 specially.
37939 * math/s_clog10.c (__clog10): Likewise.
37940 * math/s_clog10f.c (__clog10f): Likewise.
37941 * math/s_clog10l.c (__clog10l): Likewise.
37942 * math/s_clogf.c (__clogf): Likewise.
37943 * math/s_clogl.c (__clogl): Likewise.
37944 * math/Makefile (libm-calls): Add x2y2m1.
37945 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37946 (__x2y2m1): Likewise.
37947 (__x2y2m1l): Likewise.
37948 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37949 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37950 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37951 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37952 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37954 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37955 * sysdeps/i386/fpu/libm-test-ulps: Update.
37956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37957
37958 [BZ #14621]
37959 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37960 int as type of variable DEPTH.
37961 (glob): Use size_t instead of int as type of variables NEWCOUNT
37962 and OLD_PATHC.
37963
37964 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37965
37966 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37967 Add s_sincosf-sse2.
37968 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37969 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37970 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37971 macros for using routine as __sincosf_ia32.
37972 Use macro for function declaration and weak_alias.
37973 * sysdeps/i386/fpu/libm-test-ulps: Update.
37974
37975 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37977
37978 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37979 subnormal argument.
37980 * math/s_cexpf.c (__cexpf): Likewise.
37981 * math/s_csinf.c (__csinf): Likewise.
37982 * math/s_csinhf.c (__csinhf): Likewise.
37983 * math/s_ctanf.c (__ctanf): Likewise.
37984 * math/s_ctanhf.c (__ctanhf): Likewise.
37985 * math/s_ccosh.c (__ccoshf): Likewise.
37986 * math/s_cexp.c (__cexpl): Likewise.
37987 * math/s_csin.c (__csin): Likewise.
37988 * math/s_csinh.c (__csinh): Likewise.
37989 * math/s_ctan.c (__ctan): Likewise.
37990 * math/s_ctanh.c (ctanh): Likewise.
37991 * math/s_ccoshl.c (__ccoshl): Likewise.
37992 * math/s_cexpl.c (__cexpl): Likewise.
37993 * math/s_csinl.c (__csinl): Likewise.
37994 * math/s_csinhl.c (__csinhl): Likewise.
37995 * math/s_ctanl.c (__ctanl): Likewise.
37996 * math/s_ctanhl.c (__ctanhl): Likewise.
37997
37998 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37999
38000 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38001 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38002 (_IO_off_t): Define to __off_t, not _G_off_t.
38003 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38004 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38005 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38006 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38007 type of __dummy and __dummy2 fields.
38008 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38009 (_G_ssize_t): Likewise.
38010 (_G_off_t): Likewise.
38011 (_G_pid_t): Likewise.
38012 (_G_uid_t): Likewise.
38013 (_G_wchar_t): Likewise.
38014 (_G_wint_t): Likewise.
38015 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38016 (_G_ssize_t): Likewise.
38017 (_G_off_t): Likewise.
38018 (_G_pid_t): Likewise.
38019 (_G_uid_t): Likewise.
38020 (_G_wchar_t): Likewise.
38021 (_G_wint_t): Likewise.
38022 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38023 (_G_ssize_t): Likewise.
38024 (_G_off_t): Likewise.
38025 (_G_pid_t): Likewise.
38026 (_G_uid_t): Likewise.
38027 (_G_wchar_t): Likewise.
38028 (_G_wint_t): Likewise.
38029
38030 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38031
38032 * malloc/arena.c: Include malloc-sysdep.h.
38033 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38034 is sufficient to shrink the heap or an unmap is needed.
38035 * sysdeps/generic/malloc-sysdep.h: New file. Define
38036 new function check_may_shrink_heap.
38037 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38038 new function check_may_shrink_heap.
38039
38040 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38041
38042 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38043 comments.
38044
38045 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38046
38047 * catgets/test-gencat.sh: Add "set -e".
38048 * elf/tst-pathopt.sh: Likewise.
38049 * grp/tst_fgetgrent.sh: Likewise.
38050 * iconvdata/run-iconv-test.sh: Likewise.
38051 * intl/tst-gettext.sh: Likewise.
38052 * intl/tst-gettext2.sh: Likewise.
38053 * intl/tst-gettext4.sh: Likewise.
38054 * intl/tst-gettext6.sh: Likewise.
38055 * intl/tst-translit.sh: Likewise.
38056 * io/ftwtest-sh: Likewise.
38057 * libio/test-freopen.sh: Likewise.
38058 * malloc/tst-mtrace.sh: Likewise.
38059 * posix/globtest.sh: Likewise.
38060 * posix/tst-getconf.sh: Likewise.
38061 * posix/wordexp-tst.sh: Likewise.
38062 * stdio-common/tst-printf.sh: Likewise.
38063 * stdio-common/tst-unbputc.sh: Likewise.
38064 * stdlib/tst-fmtmsg.sh: Likewise.
38065 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38066 * catgets/Makefile: Do not specify -e option when running
38067 testsuite shell scripts.
38068 * elf/Makefile: Likewise.
38069 * grp/Makefile: Likewise.
38070 * iconvdata/Makefile: Likewise.
38071 * intl/Makefile: Likewise.
38072 * io/Makefile: Likewise.
38073 * libio/Makefile: Likewise.
38074 * malloc/Makefile: Likewise.
38075 * posix/Makefile: Likewise.
38076 * stdio-common/Makefile: Likewise.
38077 * stdlib/Makefile: Likewise.
38078 * sysdeps/x86_64/Makefile: Likewise.
38079
38080 * io/ftwtest-sh: Add copyright header.
38081 * posix/globtest.sh: Likewise.
38082 * posix/tst-getconf.sh: Likewise.
38083 * posix/wordexp-tst.sh: Likewise.
38084 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38085
38086 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38087
38088 [BZ #13679]
38089 * Makeconfig (+link): Defined as $(+link-static) if
38090 $(build-shared) isn't yes.
38091 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38092 isn't yes.
38093 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38094
38095 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38096
38097 [BZ #14562]
38098 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38099 new chunk size with MALLOC_ALIGN_MASK.
38100
38101 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38102
38103 [BZ #5044]
38104 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38105 <rounding-mode.h>.
38106 (__printf_fphex): Determine rounding using get_rounding_mode and
38107 round_away.
38108 * stdio-common/tst-printf-round.c (struct hex_test): New
38109 structure.
38110 (hex_tests): New variable.
38111 (test_hex_in_one_mode): New function.
38112 (do_test): Also run tests for hex float output.
38113
38114 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38115
38116 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38117 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38118 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38119 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38120 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38121 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38122 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38123 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38124
38125 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38126
38127 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38128 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38129 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38130 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38131
38132 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38133
38134 [BZ #14579]
38135 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38136 mode only.
38137 * elf/tst-rtld-load-self.sh: New test.
38138 * elf/Makefile: Run it.
38139
38140 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38141
38142 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38143 (tst-writev-ENV): Remove.
38144 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38145
38146 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38147
38148 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38149
38150 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38151
38152 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38153 unconditional.
38154 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38155 Likewise.
38156 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38157 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38158 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38159 Likewise.
38160
38161 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38162
38163 [BZ #14587]
38164 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38165 * config.make.in (have-cpp-asm-debuginfo): Removed.
38166 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38167 * configure: Regenerated.
38168
38169 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38170
38171 [BZ #5044]
38172 * stdio-common/printf_fp.c: Include <stdbool.h> and
38173 <rounding-mode.h>.
38174 (___printf_fp): Determine rounding using get_rounding_mode and
38175 round_away.
38176 * stdio-common/tst-printf-round.c: New file.
38177 * stdio-common/Makefile (tests): Add tst-printf-round.
38178 (link-libm): New variable.
38179 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38180
38181 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38182
38183 [BZ #14576]
38184 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38185 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38186 Likewise.
38187 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38188 Likewise.
38189
38190 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38191
38192 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38193 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38194 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38196
38197 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38198
38199 [BZ #14518]
38200 * include/rounding-mode.h: New file.
38201 * sysdeps/generic/get-rounding-mode.h: Likewise.
38202 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38203 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38204 (MAX_VALUE): New macro.
38205 (MIN_VALUE): Likewise.
38206 (overflow_value): New function.
38207 (underflow_value): Likewise.
38208 (round_and_return): Use overflow_value and underflow_value to
38209 determine return values in overflow and underflow cases. Use
38210 round_away to determine rounding depending on rounding mode.
38211 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38212 determine return values in overflow and underflow cases.
38213 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38214 (struct test_results): New structure.
38215 (struct test): Use struct test_results to store expected results
38216 for all rounding modes.
38217 (TEST): Include expected results for all rounding modes.
38218 (test_in_one_mode): New function.
38219 (do_test): Use test_in_one_mode to compute and check results.
38220 Check results for all rounding modes.
38221 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38222 $(link-libm).
38223
38224 2012-12-09 Allan McRae <allan@archlinux.org>
38225
38226 * sysdeps/i386/fpu/libm-test-ulps: Update
38227
38228 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38229
38230 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38231 (_G_int32_t): Likewise.
38232 (_G_uint16_t): Likewise.
38233 (_G_uint32_t): Likewise.
38234 (_G_HAVE_BOOL): Likewise.
38235 (_G_HAVE_ATEXIT): Likewise.
38236 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38237 (_G_HAVE_IO_FILE_OPEN): Likewise.
38238 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38239 (_G_int32_t): Likewise.
38240 (_G_uint16_t): Likewise.
38241 (_G_uint32_t): Likewise.
38242 (_G_HAVE_BOOL): Likewise.
38243 (_G_HAVE_ATEXIT): Likewise.
38244 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38245 (_G_HAVE_IO_FILE_OPEN): Likewise.
38246 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38247 (_G_int32_t): Likewise.
38248 (_G_uint16_t): Likewise.
38249 (_G_uint32_t): Likewise.
38250 (_G_HAVE_BOOL): Likewise.
38251 (_G_HAVE_ATEXIT): Likewise.
38252 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38253 (_G_HAVE_IO_FILE_OPEN): Likewise.
38254
38255 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38256
38257 * csu/libc-tls.c: Update copyright years.
38258
38259 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38260
38261 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38262 [!_G_USING_THUNKS]: Remove conditional code.
38263 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38264 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38265
38266 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38267 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38268 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38269 (_G_VTABLE_LABEL_PREFIX): Likewise.
38270 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38271 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38272 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38273 (_G_VTABLE_LABEL_PREFIX): Likewise.
38274 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38275 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38276 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38277 (_G_VTABLE_LABEL_PREFIX): Likewise.
38278 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38279
38280 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38281
38282 * libio/Makefile: Include ../Makeconfig before tests.
38283 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38284 only if $(build-shared) is yes.
38285
38286 * iconv/gconv_db.c: Update copyright years.
38287
38288 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38289
38290 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38291 unwind info if defined PIC. Fix special cases description.
38292 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38293
38294 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38295 DP_HI_MASK entry.
38296 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38297
38298 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38299
38300 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38301
38302 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38303 is NULL.
38304
38305 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38306 (LDLIBS-tst-chk4): This.
38307 (LDFLAGS-tst-chk5): Renamed to ...
38308 (LDLIBS-tst-chk5): This.
38309 (LDFLAGS-tst-chk6): Renamed to ...
38310 (LDLIBS-tst-chk6): This.
38311 (LDFLAGS-tst-lfschk4): Renamed to ...
38312 (LDLIBS-tst-lfschk4): This.
38313 (LDFLAGS-tst-lfschk5): Renamed to ...
38314 (LDLIBS-tst-lfschk5): This.
38315 (LDFLAGS-tst-lfschk6): Renamed to ...
38316 (LDLIBS-tst-lfschk6): This.
38317
38318 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38319 on $(common-objpfx)soversions.mk.
38320
38321 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38322
38323 [BZ #10014]
38324 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38325 example host name.
38326
38327 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38328
38329 * malloc/arena.c (arena_get_retry): New function that gets
38330 another arena for the caller to try its request on.
38331 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38332 current arena cannot fulfill the request.
38333 (__libc_memalign): Likewise.
38334 (__libc_memalign): Likewise.
38335 (__libc_pvalloc): Likewise.
38336 (__libc_calloc): Likewise.
38337
38338 2012-09-05 John Tobey <john.tobey@gmail.com>
38339
38340 [BZ #13542]
38341 * manual/arith.texi (Operations on Complex): Fix description
38342 of carg branch cut.
38343
38344 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38345
38346 [BZ #10014]
38347 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38348 host name.
38349
38350 [BZ #10038]
38351 * manual/memory.texi (Memory): Make order of menu items match
38352 order of sections.
38353
38354 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38355
38356 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38357 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38358 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38359
38360 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38361
38362 * csu/libc-tls.c (static_dtv): Renamed to ...
38363 (_dl_static_dtv): This. Make it global.
38364 (_dl_initial_dtv): Removed.
38365 (__libc_setup_tls): Updated.
38366 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38367 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38368 DL_INITIAL_DTV.
38369
38370 2012-09-06 Petr Machata <pmachata@redhat.com>
38371
38372 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38373 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38374 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38375 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38376
38377 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38378
38379 [BZ #14545]
38380 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38381 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38382 freeing dtv[-1].
38383
38384 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38385
38386 [BZ #14544]
38387 * Makeconfig (link-static-before-libc): Replace $(+prector)
38388 with $(+prectorT).
38389 (link-static-after-libc): Replace $(+postctor) with
38390 $(+postctorT).
38391 (link-bounded): Replace $(+prector)/$(+postctor) with
38392 $(+prectorT)/$(+postctorT).
38393 (+prectorT): New macro.
38394 (+postctorT): Likewise.
38395
38396 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38397
38398 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38399 (round_str): Handle values above the maximum for IBM long double
38400 as inexact.
38401 * stdlib/tst-strtod-round.c (tests): Regenerated.
38402
38403 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38404
38405 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38406 assembler flag.
38407 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38408 zarch_nohighgprs around the zarch optimized routines.
38409 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38410 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38411 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38412 for zarch.
38413
38414 2012-09-05 David S. Miller <davem@davemloft.net>
38415
38416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38417
38418 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38419 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38420 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38421 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38422 entries.
38423
38424 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38425
38426 * malloc/arena.c: Fold copyright years.
38427 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38428
38429 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38430
38431 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38432
38433 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38434
38435 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38436
38437 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38438
38439 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38440 change internal state upon failure.
38441
38442 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38443
38444 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38445 * malloc/memusage.c (mmap): Likewise.
38446 (mmap64, mremap): Likewise. Adjust name in comment.
38447
38448 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38449
38450 * libio/fileops.c: Fix typos in comments.
38451 * libio/oldfileops.c: Likewise.
38452 * libio/wfileops.c: Likewise.
38453
38454 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38455
38456 [BZ #1349]
38457 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38458 (tst-malloc-usable-ENV): Set environment for test case.
38459 * malloc/hooks.c (malloc_check_get_size): New function to get
38460 requested size.
38461 * malloc/malloc.c (musable): Use malloc_check_get_size.
38462 * malloc/tst-malloc-usable.c: New test case.
38463
38464 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38465
38466 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38467
38468 2012-09-05 Allan McRae <allan@archlinux.org>
38469
38470 [BZ #13966]
38471 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38472 determine header location.
38473 * configure: Regenerated.
38474
38475 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38476
38477 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38478 float format.
38479 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38480 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38481 format.
38482 (test): Regenerate.
38483
38484 2012-09-04 David S. Miller <davem@davemloft.net>
38485
38486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38488 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38489
38490 2012-09-04 Florian Weimer <fweimer@redhat.com>
38491
38492 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38493 failures.
38494
38495 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38496
38497 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38498
38499 [BZ #9914]
38500 * libio/iogetdelim.c: Include <limits.h>.
38501 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38502 + len + 1 would overflow.
38503
38504 2012-09-03 Andreas Jaeger <aj@suse.de>
38505
38506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38507 * sysdeps/i386/fpu/libm-test-ulps: Update.
38508
38509 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38510
38511 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38512 Add s_sinf-sse2, s_conf-sse2.
38513
38514 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38515 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38516 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38517 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38518
38519 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38520 for using routine as __sinf_ia32.
38521 Use macro for function declaration and weak_alias.
38522 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38523 for using routine as __cosf_ia32.
38524 Use macro for function declaration and weak_alias.
38525
38526 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38527 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38528
38529 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38530 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38532
38533 * math/libm-test.inc (cos_test): Add more test cases.
38534 (sin_test): Likewise.
38535 (sincos_test): Likewise.
38536
38537 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38538
38539 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38540 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38541 hidden.
38542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38543
38544 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38545
38546 [BZ #14538]
38547 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38548 first element of the GOT.
38549 (elf_machine_load_address): Return the difference between
38550 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38551
38552 2012-09-01 Allan McRae <allan@archlinux.org>
38553
38554 [BZ #13412]
38555 * configure.in (AWK): Require gawk version 3.0 or later.
38556 * configure: Regenerated.
38557
38558 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38559
38560 * sysdeps/unix/sysv/linux/kernel-features.h
38561 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38563 [__NR_clock_getres]: Make code unconditional.
38564 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38565 (clock_getcpuclockid): Remove code left unreachable by removal of
38566 conditionals.
38567 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38568 code unconditional.
38569 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38570 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38571 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38572 Make code unconditional.
38573 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38574 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38575 * sysdeps/unix/sysv/linux/clock_settime.c
38576 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38577 conditional code.
38578 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38579 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38580
38581 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38582
38583 [BZ #14476]
38584 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38585 scripts/test-installation.pl.
38586
38587 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38588 and $ld_so_version if it is set.
38589
38590 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38591
38592 [BZ #14516]
38593 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38594 failure if reading from procfs failed.
38595 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38596
38597 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38598
38599 * sysdeps/unix/sysv/linux/kernel-features.h
38600 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38601 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38602 Remove conditional code.
38603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38604 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38605 Remove conditional code.
38606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38607 * sysdeps/unix/sysv/linux/i386/fxstat.c
38608 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38610 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38611 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38613 * sysdeps/unix/sysv/linux/i386/lxstat.c
38614 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38616 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38617 Remove conditional code.
38618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38619 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38620 Remove conditional code.
38621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38622 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38623 <kernel-features.h>.
38624 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38625 Remove.
38626 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38627 Remove conditional code.
38628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38629 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38630 Remove conditional.
38631
38632 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38633
38634 [BZ #5400]
38635 * NEWS: Add fixed bug number.
38636
38637 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38638
38639 [BZ #14519]
38640 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38641 underflowing exponent in case of negative sign.
38642 * stdlib/tst-strtod-round-data: Add more tests.
38643 * stdlib/tst-strtod-round.c (tests): Regenerated.
38644
38645 [BZ #3479]
38646 * stdlib/strtod_l.c (NDIG): Remove.
38647 (HEXNDIG): Likewise.
38648 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38649 smallest representable value.
38650 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38651 lie within an exact representation of 1/2 ulp of the result.
38652 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38653 unconditionally.
38654 (TENS_P9_IDX): Define unconditionally.
38655 (TENS_P9_SIZE): Likewise.
38656 (TENS_P10_IDX): Likewise.
38657 (TENS_P10_SIZE): Likewise.
38658 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38659 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38660 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38661 entries for 10^2^13 and 10^2^14.
38662 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38663 (TENS_P13_IDX): Define.
38664 (TENS_P13_SIZE): Likewise.
38665 (TENS_P14_IDX): Likewise.
38666 (TENS_P14_SIZE): Likewise.
38667 (_fpioconst_pow10): Change array size to
38668 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38669 unconditional.
38670 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38671 1024]: Add entries for 10^2^13 and 10^2^14.
38672 [LAST_POW10 > _LAST_POW10]: Remove #error.
38673 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38674 (_fpioconst_pow10): Change array size to
38675 FPIOCONST_POW10_ARRAY_SIZE.
38676 * stdlib/gen-fpioconst.c: New file.
38677 * stdlib/gen-tst-strtod-round.c: Likewise.
38678 * stdlib/tst-strtod-round-data: Likewise.
38679 * stdlib/tst-strtod-round.c: Likewise.
38680 * stdlib/Makefile (tests): Add tst-strtod-round.
38681
38682 [BZ #14459]
38683 * stdlib/strtod_l.c: Include <stdint.h>.
38684 (NDEBUG): Do not define.
38685 (round_and_return): Change EXPONENT parameter to type intmax_t.
38686 Rearrange calculations to avoid internal overflow possibilities.
38687 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38688 Rearrange calculations to avoid internal overflow possibilities.
38689 Assert that number fits inside MPNSIZE limbs.
38690 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38691 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38692 calculations and add assertions to avoid internal overflow
38693 possibilities. Add casts to avoid signed/unsigned operations.
38694 * stdlib/tst-strtod-overflow.c: New file.
38695 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38696
38697 2012-08-25 Marek Polacek <polacek@redhat.com>
38698
38699 * time/time.h: Fix some typos in comments.
38700
38701 2012-08-23 Roland McGrath <roland@hack.frob.com>
38702
38703 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38704 * posix/tst-rfc3484-2.c: Likewise.
38705 * posix/tst-rfc3484-3.c: Likewise.
38706
38707 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38708
38709 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38710 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38711
38712 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38713
38714 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38715 #include of fxstatat64.c.
38716
38717 2012-08-22 Roland McGrath <roland@hack.frob.com>
38718
38719 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38720 * shadow/getspent_r.c: Likewise.
38721 * shadow/getspnam.c: Likewise.
38722 * shadow/getspnam_r.c: Likewise.
38723 * gshadow/getsgent.c: Likewise.
38724 * gshadow/getsgent_r.c: Likewise.
38725 * gshadow/getsgnam.c: Likewise.
38726 * gshadow/getsgnam_r.c: Likewise.
38727 * inet/getnetbyad.c: Likewise.
38728 * inet/getnetbyad_r.c: Likewise.
38729 * inet/getnetbynm.c: Likewise.
38730 * inet/getnetbynm_r.c: Likewise.
38731 * inet/getnetent.c: Likewise.
38732 * inet/getnetent_r.c: Likewise.
38733 * inet/getproto.c: Likewise.
38734 * inet/getproto_r.c: Likewise.
38735 * inet/getprtent.c: Likewise.
38736 * inet/getprtent_r.c: Likewise.
38737 * inet/getprtname.c: Likewise.
38738 * inet/getprtname_r.c: Likewise.
38739 * inet/getrpcbyname.c: Likewise.
38740 * inet/getrpcbyname_r.c: Likewise.
38741 * inet/getrpcbynumber.c: Likewise.
38742 * inet/getrpcbynumber_r.c: Likewise.
38743 * inet/getrpcent.c: Likewise.
38744 * inet/getrpcent_r.c: Likewise.
38745 * inet/getaliasent.c: Likewise.
38746 * inet/getaliasent_r.c: Likewise.
38747 * inet/getaliasname.c: Likewise.
38748 * inet/getaliasname_r.c: Likewise.
38749 * nscd/getgrgid_r.c: Likewise.
38750 * nscd/getgrnam_r.c: Likewise.
38751 * nscd/gethstbyad_r.c: Likewise.
38752 * nscd/gethstbynm3_r.c: Likewise.
38753 * nscd/getpwnam_r.c: Likewise.
38754 * nscd/getpwuid_r.c: Likewise.
38755 * nscd/getsrvbynm_r.c: Likewise.
38756 * nscd/getsrvbypt_r.c: Likewise.
38757 * nscd/gai.c: Likewise.
38758
38759 * configure.in (build_nscd): New substituted variable, set
38760 by --disable-build-nscd and defaults to $use_nscd.
38761 * configure: Regenerated.
38762 * config.make.in (build-nscd): New substituted variable.
38763 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38764 Change conditional to require [$(build-nscd) = yes] as well.
38765 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38766
38767 [BZ# 13696]
38768 * configure.in (use_nscd): New substituted variable, set by
38769 --disable-nscd. If enabled, define USE_NSCD.
38770 * configure: Regenerated.
38771 * config.h.in: Add USE_NSCD.
38772 * config.make.in (use-nscd): New substituted variable.
38773 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38774 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38775 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38776 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38777 (CFLAGS-getgrnam_r.c): Likewise.
38778 (CFLAGS-initgroups.c): Likewise.
38779 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38780 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38781 Variables removed.
38782 * inet/getnetgrent_r.c
38783 (nscd_setnetgrent): New function, broken out of ...
38784 (setnetgrent): ... here. Call it.
38785 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38786 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38787 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38788 * nscd/Makefile (routines, aux): Move definitions after include of
38789 Makeconfig. Conditionalize on [$(use-nscd) != no].
38790 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38791 Conditionalize on [USE_NSCD].
38792 (is_nscd, nscd_init_cb): Likewise.
38793 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38794 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38795 * nss/nss_db/db-init.c: Likewise.
38796 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38797 [USE_NSCD].
38798 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38799 (make_request): Use it.
38800 (cache_valid_p): New function.
38801 (__check_pf): Use it.
38802 * NEWS: Add item for --disable-nscd.
38803
38804 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38805
38806 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38807 to support sed >= 4.2.1-20-ga9bf076.
38808 * configure: Regenerated.
38809
38810 2012-08-22 Roland McGrath <roland@hack.frob.com>
38811
38812 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38813 Conditionalize whole body on [IREL].
38814
38815 2012-08-22 Jeff Law <law@redhat.com>
38816
38817 [BZ #14505]
38818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38819 if the family is PF_UNSPEC.
38820
38821 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38822
38823 * Makerules (lib-version): Rename from V.
38824 (install-lib-nosubdir): Change V to lib-version.
38825
38826 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38827
38828 [BZ #14252]
38829 * powerpc32/power6/wcschr.c: New file.
38830 * powerpc32/power6/wcscpy.c: New file.
38831 * powerpc32/power6/wcsrchr.c: New file.
38832 * powerpc64/power6/wcschr.c: New file.
38833 * powerpc64/power6/wcscpy.c: New file.
38834 * powerpc64/power6/wcsrchr.c: New file.
38835
38836 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38837
38838 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38839 (two_way_short_needle): Use it.
38840 * string/strstr.c (AVAILABLE1_USES_J): Define.
38841 * string/strcasestr.c: Likewise.
38842
38843 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38844 array references.
38845 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38846
38847 [BZ #11607]
38848 * NEWS: Add an entry.
38849 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38850 define their defaults.
38851 (two_way_short_needle): Detect end-of-string on-the-fly.
38852 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38853 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38854 * string/bug-strcasestr1.c: New test.
38855 * string/Makefile: Run it.
38856
38857 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38858
38859 [BZ #11607]
38860 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38861 the first character.
38862
38863 2012-08-21 Roland McGrath <roland@hack.frob.com>
38864
38865 * csu/elf-init.c (__libc_csu_irel): Function removed.
38866 * csu/libc-start.c (apply_irel): New function.
38867 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38868
38869 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38870
38871 * sysdeps/unix/sysv/linux/kernel-features.h
38872 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38873 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38874 <kernel-features.h>.
38875 [__NR_fadvise64_64]: Make code unconditional.
38876 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38877 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38878 !__NR_fadvise64_64)]: Likewise.
38879 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38880 !__NR_fadvise64_64))]: Likewise.
38881 [__NR_fadvise64]: Make code unconditional.
38882 [!__NR_fadvise64]: Remove conditional code.
38883 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38884 <kernel-features.h>.
38885 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38886 unconditional.
38887 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38888 conditional code.
38889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38890 not include <kernel-features.h>.
38891 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38892 unconditional.
38893 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38894 conditional code.
38895 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38896 include <kernel-features.h>.
38897 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38898 unconditional.
38899 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38900 conditional code.
38901
38902 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38903
38904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38905 slight instruction rearrangements per scrollpipe analysis.
38906 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38907
38908 2012-08-20 Roland McGrath <roland@hack.frob.com>
38909
38910 * manual/syslog.texi (syslog; vsyslog, closelog):
38911 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38912 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38913
38914 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38915 DSOCAPS to match condition on defining it.
38916
38917 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38918
38919 * sysdeps/unix/sysv/linux/kernel-features.h
38920 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38922 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38923 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38925 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38926 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38928 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38929 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38930
38931 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38932 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38933
38934 * sysdeps/unix/sysv/linux/kernel-features.h
38935 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38936 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38937 unconditional.
38938 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38939 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38940 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38941 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38942 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38943 Make code unconditional.
38944 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38945 (__mmap64) [!__NR_mmap2]: Likewise.
38946 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38947 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38948 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38949 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38950 [__NR_mmap2]: Make code unconditional.
38951 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38952 (__mmap64) [!__NR_mmap2]: Likewise.
38953
38954 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38955
38956 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38957
38958 2012-08-18 Andreas Jaeger <aj@suse.de>
38959
38960 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38961
38962 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38963
38964 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38965 * include/unistd.h (__have_sock_cloexec): Likewise.
38966 (__have_pipe2): Likewise.
38967 (__have_dup3): Likewise.
38968
38969 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38970
38971 [BZ #9685]
38972 * include/unistd.h (__have_pipe2): Change define into an extern int.
38973 (__have_dup3): Likewise.
38974 * socket/have_sock_cloexec.c: Include fcntl.h.
38975 (__have_pipe2): New variable.
38976 (__have_dup3): Likewise.
38977
38978 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38979
38980 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38981
38982 2012-08-17 Marek Polacek <polacek@redhat.com>
38983
38984 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38985 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38986
38987 2012-08-17 Roland McGrath <roland@hack.frob.com>
38988
38989 * configure.in: Add AC_SUBST for sysheaders.
38990 * configure: Regenerated.
38991 * config.make.in (sysheaders): New substituted variable.
38992
38993 * sysdeps/unix/mkfifo.c: Moved ...
38994 * sysdeps/posix/mkfifo.c: ... here.
38995 * sysdeps/unix/mkfifoat.c: Moved ...
38996 * sysdeps/posix/mkfifoat.c: ... here.
38997
38998 * sysdeps/unix/utime.c: Moved ...
38999 * sysdeps/posix/utime.c: ... here.
39000
39001 * sysdeps/unix/time.c: Moved ...
39002 * sysdeps/posix/time.c: ... here.
39003 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39004 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39005
39006 * sysdeps/unix/nice.c: Moved ...
39007 * sysdeps/posix/nice.c: ... here.
39008
39009 * sysdeps/unix/alarm.c: Moved ...
39010 * sysdeps/posix/alarm.c: ... here.
39011
39012 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39013
39014 2012-08-17 Jeff Law <law@redhat.com>
39015
39016 * intl/Makefile (codeset_mo): New variable.
39017 ($(codeset_mo)): New target.
39018 (tst-codeset.out): Depend on that. Remove explicit rule.
39019 (tst-gettext3.out, tst-gettext5.out): Likewise.
39020 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39021 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39022 * intl/tst-codeset.sh: Remove.
39023 * intl/tst-gettext3.sh: Likewise.
39024 * intl/tst-gettext5.sh: Likewise.
39025
39026 2012-08-17 Roland McGrath <roland@hack.frob.com>
39027
39028 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39029 * sysdeps/unix/syscalls.list: ... here.
39030
39031 * sysdeps/posix/getaddrinfo.c
39032 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39033 (gaiconf_init, gaiconf_reload): Use them.
39034 [!_STATBUF_ST_NSEC]
39035 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39036 Define using time_t rather than struct timespec.
39037
39038 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39039 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39040 Macros removed.
39041 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39042 [!NO_THREADS].
39043 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39044 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39045 Likewise.
39046
39047 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39048 __libc_cleanup_push argument.
39049
39050 * bits/param.h: New file.
39051 * misc/sys/param.h: New file.
39052 * include/sys/param.h: New file.
39053 * misc/Makefile (headers): Add bits/param.h.
39054 * sysdeps/generic/sys/param.h: File removed.
39055 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39056 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39057 * sysdeps/mach/hurd/bits/param.h: New file.
39058 * sysdeps/mach/hurd/sys/param.h: File removed.
39059
39060 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39061 last change.
39062
39063 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39064 [_IO_MTSAFE_IO].
39065 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39066 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39067 New macros.
39068
39069 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39070 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39071 rather than -D_IO_MTSAFE_IO conditionally.
39072 * stdio-common/Makefile (CPPFLAGS): Likewise.
39073 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39074 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39075 Use $(libio-mtsafe).
39076 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39077 of -D_IO_MTSAFE_IO.
39078 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39079 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39080 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39081 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39082 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39083 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39084 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39085 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39086 (CFLAGS-fread_u_chk.c): Likewise.
39087 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39088 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39089 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39090 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39091 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39092 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39093 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39094 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39095 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39096
39097 * libio/Makefile: Test [$(libc-reentrant) = yes]
39098 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39099
39100 * Makeconfig
39101 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39102 * sysdeps/pthread/configure: File removed.
39103 * sysdeps/pthread/Makeconfig: New file.
39104 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39105 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39106
39107 2012-08-16 Gary Benson <gbenson@redhat.com>
39108
39109 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39110 unmapping the first object in a namespace.
39111
39112 2012-08-16 Roland McGrath <roland@hack.frob.com>
39113
39114 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39115 (__internal_setnetgrent): ... this. Add internal_function to
39116 definition. Add libc_hidden_def.
39117 (setnetgrent): Update caller.
39118 (internal_endnetgrent): Renamed to ...
39119 (__internal_endnetgrent): ... this. Add internal_function to
39120 definition. Add libc_hidden_def.
39121 (endnetgrent): Update caller.
39122 (internal_getnetgrent_r): Renamed to ...
39123 (__internal_getnetgrent_r): ... this. Add internal_function to
39124 definition. Add libc_hidden_def.
39125 (__getnetgrent_r): Update caller.
39126 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39127
39128 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39129
39130 * stdlib/longlong.h: Update from GCC.
39131
39132 2012-08-16 Roland McGrath <roland@hack.frob.com>
39133
39134 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39135 on _QL, which is set by umul_ppmm but never used.
39136 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39137 variables, which are set by GMP macros but never used.
39138 * stdio-common/_itowa.c (_itowa): Likewise.
39139 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39140 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39141
39142 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39143
39144 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39145 struct La_sh_regs is not constant.
39146 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39147 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39148 and struct La_sparc64_regs are not constant.
39149
39150 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39151
39152 * sysdeps/unix/sysv/linux/kernel-features.h
39153 (__ASSUME_POSIX_TIMERS): Remove.
39154 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39155 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39156 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39157 Make code unconditional.
39158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39159 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39160 Make code unconditional.
39161 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39162 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39163 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39165 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39166 Make code unconditional.
39167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39168 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39169 (__libc_missing_posix_timers): Remove.
39170
39171 2012-08-15 Roland McGrath <roland@hack.frob.com>
39172
39173 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39174 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39175
39176 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39177
39178 * elf/dl-sym.c: Include <stdlib.h>.
39179
39180 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39181 constants, which avoids warnings in 32-bit builds.
39182
39183 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39184 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39185
39186 * misc/lseek.c: File moved to ...
39187 * io/lseek.c: ... here.
39188
39189 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39190
39191 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39192 shifting LEN more than 31 bits at once.
39193
39194 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39195
39196 [BZ #14195]
39197 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39198 segmentation fault for a case of two empty input strings.
39199 * string/test-strncasecmp.c (check1): Renamed to...
39200 (bz12205): ...this.
39201 (bz14195): Add new testcase for two empty input strings and N > 0.
39202 (test_main): Call new testcase, adapt for renamed function.
39203
39204 2012-08-15 Andreas Jaeger <aj@suse.de>
39205
39206 [BZ #14090]
39207 * crypt/md5test2.c: New test, based on test supplied by Serge
39208 Belyshev <belyshev@depni.sinp.msu.ru>.
39209 * crypt/Makefile (xtests): Add md5test-giant..
39210 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39211
39212 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39213
39214 [BZ #14090]
39215 * crypt/md5.c (md5_process_block): Don't assume the buffer
39216 length is less than 2**32.
39217 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39218 length is less than 2**64.
39219
39220 2012-08-15 Roland McGrath <roland@hack.frob.com>
39221
39222 * string/str-two-way.h: Include <sys/param.h>.
39223 (MAX): Macro removed.
39224
39225 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39226 Move #define and #undef of memmove to just before and after
39227 including <string.h>.
39228
39229 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39230 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39231 and after including <string.h>. Move declarations of
39232 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39233 to before #include "string/memmove.c".
39234
39235 * include/dirent.h: Declare __getdirentries.
39236
39237 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39238 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39239
39240 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39241
39242 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39243 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39244 * sysdeps/i386/configure: Regenerated.
39245 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39246 STABS_CURRENT_FILE, and STABS_FUN.
39247 (END): Remove call to STABS_FUN_END.
39248 (STABS_CURRENT_FILE1): Delete.
39249 (STABS_CURRENT_FILE): Likewise.
39250 (STABS_FUN): Likewise.
39251 (STABS_FUN_END): Likewise.
39252 (STABS_FUN2): Likewise.
39253 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39254 * sysdeps/x86_64/configure: Regenerated.
39255
39256 2012-08-14 Roland McGrath <roland@hack.frob.com>
39257
39258 * elf/dl-open.c: Include <atomic.h>.
39259 * elf/dl-lookup.c: Likewise.
39260
39261 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39262
39263 * sysdeps/unix/sysv/linux/kernel-features.h
39264 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39265 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39266 unconditionally.
39267 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39268 unconditionally.
39269 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39270 condition on __ASSUME_CLONE_THREAD_FLAGS.
39271
39272 2012-08-14 Andreas Jaeger <aj@suse.de>
39273
39274 * sysdeps/i386/fpu/libm-test-ulps: Update.
39275
39276 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39277
39278 * include/atomic.h (atomic_exchange_and_add): Split into ...
39279 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39280 New atomic macros.
39281
39282 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39283
39284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39285
39286 2012-08-13 Jeff Law <law@redhat.com>
39287
39288 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39289 null byte in the output string.
39290
39291 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39292
39293 * sysdeps/unix/sysv/linux/kernel-features.h
39294 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39295 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39296 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39297 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39298 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39299 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39300 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39301
39302 2012-08-09 Jeff Law <law@redhat.com>
39303
39304 [BZ #13939]
39305 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39306 When avoid_arena is set, don't retry in the that arena. Pick the
39307 next one, whatever it might be.
39308 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39309 (arena_lock): Pass in new parameter to arena_get2.
39310 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39311 arena_get2.
39312 (__libc_malloc): Unify retrying after main arena failure with
39313 __libc_memalign version.
39314 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39315
39316 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39317
39318 [BZ #14166]
39319 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39320 to __redirect_strstr.
39321 (__strstr_sse42): Use typeof __redirect_strstr.
39322 (__strstr_ia32): Likewise.
39323 (__libc_strstr): New prototype.
39324 (strstr): Renamed to ...
39325 (__libc_strstr): This.
39326 (strstr): New strong alias of __libc_strstr.
39327 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39328 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39329 __redirect_time.
39330 Include <time.h>.
39331 (__libc_time): New prototype.
39332 (time_ifunc): Replace time with __libc_time.
39333 (time): New strong alias and hidden definition of __libc_time.
39334 (__GI_time): Remove strong alias.
39335 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39336 Include <stddef.h>.
39337 (memmove): Redefined to __redirect_memmove.
39338 (__memmove_sse2): Use typeof __redirect_memmove.
39339 (__memmove_ssse3): Likewise.
39340 (__memmove_ssse3_back): Likewise.
39341 (__libc_memmove): New prototype.
39342 (memmove): Renamed to ...
39343 (__libc_memmove): This.
39344 (memmove): New strong alias of __libc_memmove.
39345
39346 2012-08-08 Mark Salter <msalter@redhat.com>
39347
39348 * elf/elf.h
39349 (R_MN10300_TLS_GD): Define.
39350 (R_MN10300_TLS_LD): Likewise.
39351 (R_MN10300_TLS_LDO): Likewise.
39352 (R_MN10300_TLS_GOTIE): Likewise.
39353 (R_MN10300_TLS_IE): Likewise.
39354 (R_MN10300_TLS_LE): Likewise.
39355 (R_MN10300_TLS_DTPMOD): Likewise.
39356 (R_MN10300_TLS_DTPOFF): Likewise.
39357 (R_MN10300_TLS_TPOFF): Likewise.
39358 (R_MN10300_SYM_DIFF): Likewise.
39359 (R_MN10300_ALIGN): Likewise.
39360 (R_MN10300_NUM): Update.
39361
39362 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39363
39364 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39365 Remove.
39366
39367 2012-08-08 Roland McGrath <roland@hack.frob.com>
39368
39369 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39370
39371 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39372 sysdeps/unix -> sysdeps/posix move.
39373 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39374
39375 2012-08-07 Allan McRae <allan@archlinux.org>
39376
39377 [BZ #14303]
39378 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39379 (SUNOS_CPP): Likewise.
39380 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39381 not found.
39382 (open_input): Call CPP using execvp.
39383
39384 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39385
39386 * sysdeps/unix/sysv/linux/kernel-features.h
39387 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39388 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39389 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39390 (__ASSUME_WAITID_SYSCALL): Likewise.
39391 * sysdeps/unix/sysv/linux/dl-execstack.c
39392 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39393 code unconditional.
39394 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39395 conditional code.
39396 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39397 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39398 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39399 code.
39400 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39401 unconditional.
39402 [__ASSUME_WAITID_SYSCALL]: Likewise.
39403 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39404
39405 2012-08-07 Roland McGrath <roland@hack.frob.com>
39406
39407 * sysdeps/unix/closedir.c: Renamed to ...
39408 * sysdeps/posix/closedir.c: ... here.
39409 * sysdeps/unix/dirfd.c: Renamed to ...
39410 * sysdeps/posix/dirfd.c: ... here.
39411 * sysdeps/unix/dirstream.h: Renamed to ...
39412 * sysdeps/posix/dirstream.h: ... here.
39413 * sysdeps/unix/fdopendir.c: Renamed to ...
39414 * sysdeps/posix/fdopendir.c: ... here.
39415 * sysdeps/unix/opendir.c: Renamed to ...
39416 * sysdeps/posix/opendir.c: ... here.
39417 * sysdeps/unix/readdir.c: Renamed to ...
39418 * sysdeps/posix/readdir.c: ... here.
39419 * sysdeps/unix/readdir_r.c: Renamed to ...
39420 * sysdeps/posix/readdir_r.c: ... here.
39421 * sysdeps/unix/rewinddir.c: Renamed to ...
39422 * sysdeps/posix/rewinddir.c: ... here.
39423 * sysdeps/unix/seekdir.c: Renamed to ...
39424 * sysdeps/posix/seekdir.c: ... here.
39425 * sysdeps/unix/telldir.c: Renamed to ...
39426 * sysdeps/posix/telldir.c: ... here.
39427 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39428 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39429 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39430 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39431
39432 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39433 * bits/fcntl.h: ... here.
39434
39435 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39436 not 0.
39437 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39438 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39439 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39440 (struct flock): Move l_start, l_len to the beginning.
39441 Use __pid_t for l_pid.
39442 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39443 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39444 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39445 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39446 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39447 [__USE_LARGEFILE64] (struct flock64): New type.
39448 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39449
39450 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39451 * bits/dirent.h: ... here.
39452
39453 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39454 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39455
39456 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39457
39458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39459 Change from 2.6.0 to 2.6.16.
39460 * sysdeps/unix/sysv/linux/configure: Regenerated.
39461 * sysdeps/unix/sysv/linux/kernel-features.h
39462 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39463 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39464 version.
39465 (__ASSUME_UTIMES): Likewise.
39466 (__ASSUME_CLONE_STOPPED): Remove.
39467 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39468 architectures, not kernel version.
39469 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39470 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39471 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39472 (__ASSUME_WAITID_SYSCALL): Likewise.
39473 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39474 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39475 * README: State 2.6.16 as minimum Linux kernel version. Do not
39476 refer to older versions.
39477
39478 2012-08-06 Roland McGrath <roland@hack.frob.com>
39479
39480 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39481 Define alphasort64 as an alias.
39482 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39483 Define versionsort64 as an alias.
39484 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39485 Define scandir64 as an alias.
39486 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39487 Define scandirat64 as an alias.
39488 * dirent/alphasort64.c (alphasort64):
39489 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39490 * dirent/versionsort64.c: Likewise.
39491 * dirent/scandir64.c: Likewise.
39492 * dirent/scandirat64.c: Likewise.
39493 * sysdeps/wordsize-64/alphasort.c: File removed.
39494 * sysdeps/wordsize-64/alphasort64.c: File removed.
39495 * sysdeps/wordsize-64/scandir.c: File removed.
39496 * sysdeps/wordsize-64/scandir64.c: File removed.
39497 * sysdeps/wordsize-64/scandirat.c: File removed.
39498 * sysdeps/wordsize-64/scandirat64.c: File removed.
39499 * sysdeps/wordsize-64/versionsort.c: File removed.
39500 * sysdeps/wordsize-64/versionsort64.c: File removed.
39501 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39502 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39503 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39504 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39505 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39506 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39507 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39508 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39509
39510 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39512 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39514 [defined __arch64__ || defined __sparcv9]
39515 (__INO_T_MATCHES_INO64_T): New macro.
39516 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39517 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39518 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39519 * sysdeps/unix/sysv/linux/bits/dirent.h
39520 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39521 (_DIRENT_MATCHES_DIRENT64): New macro.
39522
39523 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39524 Define lockf64 as an alias.
39525 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39526 Define fseeko64 as an alias.
39527 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39528 Define ftello64 as an alias.
39529 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39530 Define _IO_fgetpos64 and fgetpos64 as aliases.
39531 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39532 Define _IO_fsetpos64 and fsetpos64 as aliases.
39533 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39534 Conditionalize body on this.
39535 * libio/fseeko64.c: Likewise.
39536 * libio/ftello64.c: Likewise.
39537 * libio/iofgetpos64.c: Likewise.
39538 * libio/iofsetpos64.c: Likewise.
39539 * sysdeps/wordsize-64/lockf.c: File removed.
39540 * sysdeps/wordsize-64/lockf64.c: File removed.
39541 * sysdeps/wordsize-64/fseeko.c: File removed.
39542 * sysdeps/wordsize-64/fseeko64.c: File removed.
39543 * sysdeps/wordsize-64/ftello.c: File removed.
39544 * sysdeps/wordsize-64/ftello64.c: File removed.
39545 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39546 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39547 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39548 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39549 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39550 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39551 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39552 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39553 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39554 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39555 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39556 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39557 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39558 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39559
39560 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39562 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39563 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39564 [defined __arch64__ || defined __sparcv9]
39565 (__OFF_T_MATCHES_OFF64_T): New macro.
39566 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39567 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39569 (__OFF_T_MATCHES_OFF64_T): New macro.
39570
39571 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39572
39573 * stdlib/secure-getenv.c (__secure_getenv): Replace
39574 GLIBC_2_16 with GLIBC_2_17.
39575
39576 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39577
39578 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39579 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39580
39581 2012-08-03 David S. Miller <davem@davemloft.net>
39582
39583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39584
39585 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39586
39587 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39588 Remove.
39589 (__ASSUME_CORRECT_SI_PID): Likewise.
39590 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39591 (__ASSUME_TMPFS_NAME): Likewise.
39592 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39593 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39594 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39595 (HAVE_AUX_SECURE): Make definition unconditional.
39596 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39597 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39598
39599 2012-08-03 Roland McGrath <roland@hack.frob.com>
39600
39601 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39602 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39603 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39604 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39605 __eloop_threshold instead of SYMLOOP_MAX.
39606
39607 * sysdeps/generic/eloop-threshold.h: New file.
39608 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39609 of MAXSYMLINKS.
39610 * elf/chroot_canon.c (chroot_canon): Likewise.
39611
39612 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39613
39614 [BZ #13717]
39615 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39616 Change to 2.6.0 everywhere.
39617 * sysdeps/unix/sysv/linux/configure: Regenerated.
39618 * sysdeps/unix/sysv/linux/kernel-features.h
39619 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39620 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39621 kernel versions.
39622 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39623 (__ASSUME_FUTEX_REQUEUE): Remove.
39624 (__ASSUME_STATFS64): Define unconditionally.
39625 (__ASSUME_AT_SECURE): Likewise.
39626 (__ASSUME_CORRECT_SI_PID): Likewise.
39627 (__ASSUME_TGKILL): Define without depending on kernel version for
39628 i386.
39629 (__ASSUME_UTIMES): Likewise.
39630 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39631 kernel version.
39632 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39633 (__ASSUME_TMPFS_NAME): Likewise.
39634 * README: Update reference to Linux kernel versions.
39635
39636 2012-08-02 Marek Polacek <polacek@redhat.com>
39637
39638 [BZ# 14150]
39639 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39640 libc_cv_asm_type_prefix with %.
39641 * configure: Regenerated.
39642 * include/libc-symbols.h: Remove comment about
39643 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39644 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39645 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39646 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39647 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39648 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39649 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39650 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39651 * elf/tst-unique2mod1.c: Likewise.
39652 * elf/tst-unique1mod2.c: Likewise.
39653 * elf/tst-unique1mod1.c: Likewise.
39654 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39655 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39656 Replace ASM_TYPE_DIRECTIVE with .type.
39657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39658 * sysdeps/i386/sysdep.h: Likewise.
39659 * sysdeps/x86_64/sysdep.h: Likewise.
39660 * sysdeps/sh/sysdep.h: Likewise.
39661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39662 Do not define ASM_TYPE_DIRECTIVE.
39663 * sysdeps/powerpc/sysdep.h: Likewise.
39664 * sysdeps/powerpc/powerpc32/sysdep.h:
39665 Replace ASM_TYPE_DIRECTIVE with .type.
39666 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39667 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39668 * sysdeps/i386/fpu/e_powf.S: Likewise.
39669 * sysdeps/i386/fpu/e_expl.S: Likewise.
39670 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39671 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39672 * sysdeps/i386/fpu/e_pow.S: Likewise.
39673 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39674 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39675 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39676 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39677 * sysdeps/i386/fpu/e_log2.S: Likewise.
39678 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39679 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39680 * sysdeps/i386/fpu/e_powl.S: Likewise.
39681 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39682 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39683 * sysdeps/i386/fpu/e_logl.S: Likewise.
39684 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39685 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39686 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39687 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39688 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39689 * sysdeps/i386/fpu/e_log.S: Likewise.
39690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39691 * sysdeps/i386/fpu/e_logf.S: Likewise.
39692 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39693 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39694 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39695 * sysdeps/i386/fpu/e_log10.S: Likewise.
39696 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39697 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39698 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39699 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39700 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39701 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39702 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39703 * sysdeps/i386/i686/strtok.S: Likewise.
39704 * sysdeps/i386/i386-mcount.S: Likewise.
39705 * sysdeps/i386/strtok.S: Likewise.
39706 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39707 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39709 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39710 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39712 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39713 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39714 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39715 * sysdeps/x86_64/_mcount.S: Likewise.
39716 * sysdeps/x86_64/strtok.S: Likewise.
39717 * sysdeps/sh/_mcount.S: Likewise.
39718
39719 2012-08-01 Roland McGrath <roland@hack.frob.com>
39720
39721 * libio/iofopen.c: Include <fcntl.h>.
39722 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39723 (_IO_fopen64, fopen64): Define as aliases.
39724 * libio/iofopen64.c: Include <fcntl.h>.
39725 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39726 Conditionalize body on this.
39727 * sysdeps/wordsize-64/iofopen.c: File removed.
39728 * sysdeps/wordsize-64/iofopen64.c: File removed.
39729
39730 2012-08-01 Marek Polacek <polacek@redhat.com>
39731
39732 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39733 Use dlfcn directly instead of a variable.
39734 (binfmt-subdir): Do not define.
39735 (dlfcn): Likewise.
39736
39737 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39738
39739 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39740 Remove all definitions.
39741 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39742 <kernel-features.h>.
39743 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39744 (miss_F_GETOWN_EX): Remove all definitions.
39745 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39746 macro definition.
39747 [!__ASSUME_FCNTL64]: Remove conditional code.
39748 [__ASSUME_FCNTL64]: Make code unconditional.
39749 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39750 <kernel-features.h>.
39751 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39752 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39753 (lockf64) [__NR_fcntl64]: Make code unconditional.
39754 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39755
39756 * sysdeps/unix/sysv/linux/kernel-features.h
39757 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39758 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39759 Make code unconditional.
39760 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39761 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39763 [__NR_vfork]: Make code unconditional.
39764 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39765 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39767 [__NR_vfork]: Make code unconditional.
39768 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39769 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39770
39771 2012-08-01 Roland McGrath <roland@hack.frob.com>
39772
39773 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39774 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39775
39776 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39777 Define mkstemp64 as an alias.
39778 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39779 Define mkstemps64 as an alias.
39780 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39781 Define mkostemp64 as an alias.
39782 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39783 Define mkostemps64 as an alias.
39784 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39785 Conditionalize body on this.
39786 * misc/mkostemp64.c: Likewise.
39787 * misc/mkostemps64.c: Likewise.
39788 * misc/mkstemps64.c: Likewise.
39789 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39790 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39791 * sysdeps/wordsize-64/mkostemp.c: File removed.
39792 * sysdeps/wordsize-64/mkstemp.c: File removed.
39793 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39794 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39795 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39796 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39797
39798 [BZ #14138]
39799 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39800 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39801 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39802 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39803
39804 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39805 compat_symbol macros from <shlib-compat.h> rather than the underlying
39806 default_symbol_version and symbol_version macros, so that DEFAULT
39807 lines in shlib-versions are respected.
39808 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39809
39810 2012-08-01 Florian Weimer <fweimer@redhat.com>
39811
39812 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39813 Declare with warn_unused_result.
39814 (setgid, setregid, setegid, setresgid): Likewise.
39815 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39816 Likewise.
39817 * WUR-REPORT: Remove set*id functions.
39818
39819 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39820
39821 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39822
39823 2012-07-31 Roland McGrath <roland@hack.frob.com>
39824
39825 [BZ #10191]
39826 * include/sys/socket.h (__libc_accept, __libc_accept4):
39827 Add attribute_hidden.
39828 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39829
39830 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39831 use of PTR_MANGLE.
39832 * inet/getnetgrent_r.c (setup): Likewise.
39833
39834 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39835
39836 2012-07-31 David S. Miller <davem@davemloft.net>
39837
39838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39839
39840 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39841
39842 [BZ #13629]
39843 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39844 value between 1.0 and 2.0 and smaller part has absolute value less
39845 than 1.0.
39846 * math/s_clog10.c (__clog10): Likewise.
39847 * math/s_clog10f.c (__clog10f): Likewise.
39848 * math/s_clog10l.c (__clog10l): Likewise.
39849 * math/s_clogf.c (__clogf): Likewise.
39850 * math/s_clogl.c (__clogl): Likewise.
39851 * math/libm-test.inc (clog_test): Add more tests.
39852 (clog10_test): Likewise.
39853 * sysdeps/i386/fpu/libm-test-ulps: Update.
39854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39855
39856 2012-07-31 Florian Weimer <fweimer@redhat.com>
39857
39858 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39859 Exit with zero in case no suitable GID is found, and write a
39860 message to standard error.
39861
39862 2012-07-30 Roland McGrath <roland@hack.frob.com>
39863
39864 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39865 rather than to 1.
39866 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39867 (MAXPATHLEN): Removed.
39868 (NOGROUP, NODEV): New macros.
39869 (setbit, clrbit, isset, isclr): New macros.
39870 (howmany, roundup, powerof2): New macros.
39871 (DEV_BSIZE): New macro.
39872
39873 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39874 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39875
39876 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39877 definition on [!__NO_LONG_DOUBLE_MATH].
39878
39879 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39880 PTR_MANGLE and PTR_DEMANGLE.
39881
39882 * socket/accept4.c (accept4): Rename to __libc_accept4.
39883 Define accept4 as a weak alias.
39884
39885 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39886 on [_DIRENT_HAVE_D_TYPE].
39887 * io/ftw.c (ftw_dir): Likewise.
39888
39889 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39890
39891 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39892
39893 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39894 Use the BSD numbers rather than the arbitrary ones we had.
39895 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39896 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39897 (SIGXCPU, SIGXFSZ): New macros.
39898 (_NSIG): Now 32.
39899
39900 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39901 initializer on [_LIBC_REENTRANT].
39902
39903 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39904 definitions inside [_POSIX_MAPPED_FILES].
39905
39906 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39907
39908 * dirent/opendir.c: Include <fcntl.h>.
39909
39910 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39911 (__libc_getspecific): Likewise.
39912 (__libc_key_create): Likewise.
39913
39914 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39915 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39916 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39917 (tmpfile64): Define as alias.
39918 * sysdeps/wordsize-64/tmpfile.c: File removed.
39919 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39920 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39921 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39922
39923 * stdio-common/vfscanf.c: Include <stdbool.h>.
39924 * nss/makedb.c: Likewise.
39925 * stdio-common/_i18n_number.h: Likewise.
39926 * argp/argp-help.c: Likewise.
39927 * posix/wordexp.c: Likewise.
39928 * sysdeps/posix/spawni.c: Likewise.
39929 * nss/nss_files/files-initgroups.c: Likewise.
39930 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39931 * nss/nss_files/files-initgroups.c: Likewise.
39932 * nss/nss_db/db-netgrp.c: Likewise.
39933 * nss/nss_db/db-initgroups.c: Likewise.
39934 * io/fchmodat.c: Include <sys/stat.h>.
39935
39936 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39937 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39938
39939 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39940 [HAVE_MMAP].
39941
39942 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39943 Add multiple inclusion protection.
39944
39945 2012-07-27 David S. Miller <davem@davemloft.net>
39946
39947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39948
39949 2012-07-27 Gary Benson <gbenson@redhat.com>
39950
39951 [BZ #14298]
39952 * elf/rtld.c: Include <stap-probe.h>.
39953 (dl_main): Added static probes "init_start" and "init_complete".
39954 * elf/dl-load.c: Include <stap-probe.h>.
39955 (lose): Take new parameter "nsid".
39956 Added static probe "map_failed".
39957 (_dl_map_object_from_fd): Pass namespace id to lose.
39958 Added static probe "map_start".
39959 (open_verify): Pass namespace id to lose.
39960 * elf/dl-open.c: Include <stap-probe.h>.
39961 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39962 and "reloc_complete".
39963 * elf/dl-close.c: Include <stap-probe.h>.
39964 (_dl_close_worker): Added static probes "unmap_start" and
39965 "unmap_complete".
39966 * elf/rtld-debugger-interface.txt: New file documenting the above.
39967
39968 2012-07-26 Roland McGrath <roland@hack.frob.com>
39969
39970 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39971 rather than a string variable.
39972 * sunrpc/rpc_main.c (h_output): Likewise.
39973 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39974
39975 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39976
39977 * inet/check_native.c: New file.
39978
39979 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39980
39981 [BZ #13629]
39982 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39983 if larger part has absolute value 1.0.
39984 * math/s_clog10.c (__clog10): Likewise.
39985 * math/s_clog10f.c (__clog10f): Likewise.
39986 * math/s_clog10l.c (__clog10l): Likewise.
39987 * math/s_clogf.c (__clogf): Likewise.
39988 * math/s_clogl.c (__clogl): Likewise.
39989 * math/libm-test.inc (clog_test): Add more tests.
39990 (clog10_test): Likewise.
39991 * sysdeps/i386/fpu/libm-test-ulps: Update.
39992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39993
39994 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39995 (pltexit): Likewise.
39996 (La_regs): Likewise.
39997 (La_retval): Likewise.
39998 (int_retval): Likewise.
39999 Update #error for removed macros to refer only to definitions in
40000 tst-audit.h.
40001 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40002 macro.
40003 (pltexit): Likewise.
40004 (La_regs): Likewise.
40005 (La_retval): Likewise.
40006 (int_retval): Likewise.
40007 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40008 macro.
40009 (pltexit): Likewise.
40010 (La_regs): Likewise.
40011 (La_retval): Likewise.
40012 (int_retval): Likewise.
40013 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40014 macro.
40015 (pltexit): Likewise.
40016 (La_regs): Likewise.
40017 (La_retval): Likewise.
40018 (int_retval): Likewise.
40019 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40020 macro.
40021 (pltexit): Likewise.
40022 (La_regs): Likewise.
40023 (La_retval): Likewise.
40024 (int_retval): Likewise.
40025 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40026 macro.
40027 (pltexit): Likewise.
40028 (La_regs): Likewise.
40029 (La_retval): Likewise.
40030 (int_retval): Likewise.
40031 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40032 macro.
40033 (pltexit): Likewise.
40034 (La_regs): Likewise.
40035 (La_retval): Likewise.
40036 (int_retval): Likewise.
40037 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40038 macro definitions in tst-audit.h.
40039 * sysdeps/i386/tst-audit.h: New file.
40040 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40041 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40042 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40043 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40044 * sysdeps/sh/tst-audit.h: Likewise.
40045 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40046 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40047 * sysdeps/x86_64/tst-audit.h: Likewise.
40048
40049 2012-07-26 Andreas Jaeger <aj@suse.de>
40050
40051 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40052 ptrace.
40053
40054 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40055 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40056 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40057 PTRACE_O_MASK.
40058 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40059 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40060 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40061
40062 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40063 value.
40064
40065 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40066 _sigsys.
40067 (si_call_addr, si_syscall, si_arch): Define new macro.
40068 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40069 _sigsys.
40070 (si_call_addr, si_syscall, si_arch): Define new marcro.
40071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40072 _sigsys.
40073 (si_call_addr, si_syscall, si_arch): Define new macro.
40074 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40075 _sigsys.
40076 (si_call_addr, si_syscall, si_arch): Define new macro.
40077
40078 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40079
40080 [BZ #13717]
40081 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40082 Change to 2.4.21 where previously 2.4.1.
40083 * sysdeps/unix/sysv/linux/configure: Regenerated.
40084 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40085 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40086 Linux kernel version.
40087 (__ASSUME_STD_AUXV): Remove.
40088 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40089 kernel version.
40090 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40091 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40092 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40093 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40094 (__ASSUME_NETLINK_SUPPORT): Likewise.
40095 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40096 (__no_netlink_support): Remove conditional definition.
40097 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40098 Remove.
40099 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40100 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40101 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40102 (if_nameindex_ioctl): Remove.
40103 (if_nameindex_netlink): Do not handle __no_netlink_support.
40104 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40105 code.
40106 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40107 Remove conditional code.
40108 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40109 code.
40110 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40111 unconditional.
40112 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40113 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40114 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40115 Remove.
40116 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40117 [!__ASSUME_STD_AUXV]: Remove conditional code.
40118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40119 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40120 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40122 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40123 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40124 code.
40125 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40127 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40128 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40129 conditional code.
40130 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40132 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40133 code.
40134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40135 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40136 conditional code.
40137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40138 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40139 code unconditional.
40140 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40141 conditional code.
40142 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40143 unconditional.
40144 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40145 conditional code.
40146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40147 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40148 unconditional.
40149 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40150 conditional code.
40151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40152 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40153 code unconditional.
40154 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40155 conditional code.
40156 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40157 unconditional.
40158 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40159 conditional code.
40160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40161 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40162 code unconditional.
40163 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40164 conditional code.
40165 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40166 unconditional.
40167 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40168 conditional code.
40169
40170 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40171
40172 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40173 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40174 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40175 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40176 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40177 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40178 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40179 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40180 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40181 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40182 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40183 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40184 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40185 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40186 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40187 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40188 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40190 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40192 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40193 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40194 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40195
40196 2012-07-25 Florian Weimer <fweimer@redhat.com>
40197
40198 * Versions.def: Add GLIBC_2.17.
40199 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40200 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40201 Introduce __libc_secure_getenv.
40202 * stdlib/Versions (2.17): Add secure_getenv
40203 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40204 * stdlib/secure-getenv.c: Rename __secure_getenv to
40205 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40206 symbol __secure_getenv for GLIBC_2.0.
40207 * stdlib/tst-secure-getenv.c: New.
40208 * stdlib/Makefile (tests): Add testcase.
40209 * manual/startup.texi (Environment Access): Document
40210 secure_getenv.
40211 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40212 __libc_secure_getenv.
40213 * inet/ruserpass.c (ruserpass): Likewise.
40214 * malloc/mtrace.c (mtrace): Likewise.
40215 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40216 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40217 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40218 * sysdeps/posix/tempname.c: Likewise. Evaluate
40219 HAVE_SECURE_GETENV.
40220 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40221 __secure_getenv to __libc_secure_getenv.
40222 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40224 Likewise.
40225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40226 Likewise.
40227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40234
40235 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40236
40237 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40238 (struct La_i86_retval): Likewise.
40239 (struct La_x86_64_regs): Likewise.
40240 (struct La_x86_64_retval): Likewise.
40241 (struct La_x32_regs): Likewise.
40242 (struct La_x32_retval): Likewise.
40243 (struct La_ppc32_regs): Likewise.
40244 (struct La_ppc32_retval): Likewise.
40245 (struct La_ppc64_regs): Likewise.
40246 (struct La_ppc64_retval): Likewise.
40247 (struct La_sh_regs): Likewise.
40248 (struct La_sh_retval): Likewise.
40249 (struct La_s390_32_regs): Likewise.
40250 (struct La_s390_32_retval): Likewise.
40251 (struct La_s390_64_regs): Likewise.
40252 (struct La_s390_64_retval): Likewise.
40253 (struct La_sparc32_regs): Likewise.
40254 (struct La_sparc32_retval): Likewise.
40255 (struct La_sparc64_regs): Likewise.
40256 (struct La_sparc64_retval): Likewise.
40257 (struct audit_ifaces): Remove architecture-specific pltenter and
40258 pltexit members.
40259 * sysdeps/i386/ldsodefs.h: New file.
40260 * sysdeps/powerpc/ldsodefs.h: Likewise.
40261 * sysdeps/s390/ldsodefs.h: Likewise.
40262 * sysdeps/sh/ldsodefs.h: Likewise.
40263 * sysdeps/sparc/ldsodefs.h: Likewise.
40264 * sysdeps/x86_64/ldsodefs.h: Likewise.
40265
40266 2012-07-25 Marek Polacek <polacek@redhat.com>
40267
40268 [BZ #6808]
40269 * math/libm-test.inc (yn_test): Add another test.
40270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40271 to ERANGE when the result is +-Inf.
40272 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40273 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40274 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40275 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40276
40277 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40278
40279 * conform/data/time.h-data (NULL): Use macro-constant. Require
40280 equal to 0.
40281 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40282 clock_t.
40283 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40284
40285 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40286
40287 * configure.in <sysdeps resolving>: Correct printing
40288 Implies_before.
40289 * configure: Regenerate.
40290
40291 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40292
40293 * math/w_ilogb.c: Include <limits.h>.
40294 * math/w_ilogbl.c: Likewise.
40295
40296 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40297
40298 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40299 va_copy. Document allowing for unavailable va_copy only as
40300 pre-C99 compatibility.
40301 * manual/string.texi (Copying and Concatenation): Use va_copy
40302 instead of __va_copy in concat example.
40303
40304 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40305
40306 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40307 (__sendto): Use create_address_port. Initialize APORT and deallocate
40308 it if not null.
40309
40310 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40311 with O_NOLINK passed to __file_name_lookup.
40312
40313 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40314 with O_NOLINK passed to __file_name_lookup.
40315
40316 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40317 negative N or less than NGIDS.
40318
40319 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40320 type to string_t. Set ERANGE as errno and return it if NAME is not big
40321 enough. Use memcpy instead of strncpy.
40322
40323 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40324
40325 * elf/Makefile (check-data): Remove.
40326 (localplt.data): New vpath directive.
40327 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40328 instead of $(check-data).
40329 * scripts/data/localplt-generic.data: Move to ...
40330 * sysdeps/generic/localplt.data: ... here.
40331 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40332 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40333 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40335 ... here.
40336 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40338 ... here.
40339 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40341 ... here.
40342 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40344 ... here.
40345 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40347 ... here.
40348 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40350 ... here.
40351
40352 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40353
40354 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40355 PPC32 and PPC64 files.
40356 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40357 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40358
40359 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40360
40361 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40362 __makecontext_ret to ...
40363 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40364 ... here and call exit if uc_link is NULL. New file.
40365 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40366 __makecontext_ret.S.
40367 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40368 __makecontext_ret to ...
40369 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40370 ... here and call exit if uc_link is NULL. New file.
40371 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40372 __makecontext_ret.S.
40373
40374 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40375
40376 * elf/elf.h (R_390_IRELATIVE): New definition.
40377 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40378 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40379 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40380 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40381 (elf_machine_lazy_rel): Likewise.
40382 * sysdeps/s390/dl-irel.h: New file.
40383 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40384 * sysdeps/s390/s390-64/memset.S: New asm code.
40385 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40386 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40387 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40388 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40389 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40390 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40391 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40392 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40393 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40394 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40395 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40396 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40397 * sysdeps/s390/s390-32/memset.S: New asm code.
40398 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40399
40400 2012-07-17 Marek Polacek <polacek@redhat.com>
40401
40402 [BZ #14349]
40403 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40404 * sysdeps/s390/s390-64/configure.in: Likewise.
40405 * sysdeps/sparc/configure.in: Likewise.
40406 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40407 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40408 * sysdeps/i386/configure.in: Likewise.
40409 * sysdeps/x86_64/configure.in: Likewise.
40410 * sysdeps/sh/configure.in: Likewise.
40411 * sysdeps/s390/s390-32/configure: Regenerated.
40412 * sysdeps/s390/s390-64/configure: Likewise.
40413 * sysdeps/x86_64/configure: Likewise.
40414 * sysdeps/sh/configure: Likewise.
40415 * sysdeps/powerpc/powerpc64/configure: Likewise.
40416 * sysdeps/powerpc/powerpc32/configure: Likewise.
40417 * sysdeps/sparc/configure: Likwise.
40418 * sysdeps/i386/configure: Likewise.
40419
40420 * elf/dl-open.c: Comment fixes.
40421
40422 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40423
40424 * Makefile [CXX] (check-data): Remove.
40425 [CXX] (c++-types.data): New vpath directive.
40426 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40427 vpath. Do not allow for C++ type data being missing.
40428 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40429 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40430 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40431 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40432 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40433 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40434 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40436 ... here.
40437 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40439 ... here.
40440 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40442 ... here.
40443 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40445 ... here.
40446 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40448 ... here.
40449 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40451 ... here.
40452 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40454 ... here.
40455 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40457
40458 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40459 definitions to architecture-specific files.
40460 (TLS_IE): Likewise.
40461 (TLS_LD): Likewise.
40462 (TLS_GD): Likewise.
40463 * sysdeps/i386/tls-macros.h: New file.
40464 * sysdeps/powerpc/tls-macros.h: Likewise.
40465 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40466 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40467 * sysdeps/sh/tls-macros.h: Likewise.
40468 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40469 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40470 * sysdeps/x86_64/tls-macros.h: Likewise.
40471
40472 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40473
40474 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40475 zero value for regular exit case.
40476
40477 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40478 (__start_context): Preserve zero value for regular exit case.
40479
40480 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40481 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40482
40483 * manual/setjmp.texi (setcontext): Clarify normal process
40484 termination when uc_link is the null pointer.
40485 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40486 exit call.
40487
40488 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40489
40490 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40491 preprocessor. Test for each exception mask separately.
40492
40493 2012-07-16 Andreas Jaeger <aj@suse.de>
40494
40495 * po/ru.po: Update from translation team.
40496
40497 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40498
40499 * conform/data/string.h-data (NULL): Use macro-constant. Require
40500 equal to 0.
40501 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40502 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40503 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40504 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40505 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40506
40507 2012-07-13 Andreas Jaeger <aj@suse.de>
40508
40509 * po/fr.po: Update from translation team.
40510
40511 2012-07-12 Marek Polacek <polacek@redhat.com>
40512
40513 [BZ #14173]
40514 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40515 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40516 loop condition.
40517
40518 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40519
40520 [BZ #13717]
40521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40522 Change to 2.4.1 where previously 2.4.0.
40523 * sysdeps/unix/sysv/linux/configure: Regenerated.
40524 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40525 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40526 version.
40527 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40528 (__ASSUME_AT_CLKTCK): Remove.
40529 (__ASSUME_AT_PAGESIZE): Likewise.
40530 (__ASSUME_AT_XID): Likewise.
40531 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40532 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40533 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40534 unconditionally.
40535 (HAVE_AUX_PAGESIZE): Likewise.
40536 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40537 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40538 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40539
40540 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40541
40542 [BZ #14307]
40543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40544 the temporary buffer used to invoke __gethostbyname2_r,
40545 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40546 host_data / struct gaih_addrtuple.
40547 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40548 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40549 header file nss/nsswitch.h.
40550 * nss/nsswitch.h (global scope): Add definition of implementation
40551 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40552 resolv/nss_dns/dns-host.c).
40553
40554 2012-07-11 Andreas Jaeger <aj@suse.de>
40555
40556 * po/fr.po: Update from translation team.
40557
40558 * po/sv.po: Update from translation team
40559 * po/fr.po: Another update from translation team.
40560
40561 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40562
40563 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40564 for subnormals or multiply small sinh result by itself.
40565 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40567
40568 2012-07-11 David S. Miller <davem@davemloft.net>
40569
40570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40571
40572 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40573
40574 [BZ #14347]
40575 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40576 (INTERNAL_MARK): Shift it here.
40577
40578 2012-07-10 Marek Polacek <polacek@redhat.com>
40579
40580 [BZ #14151]
40581 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40582 libc_cv_asm_global_directive with .globl.
40583 * configure: Regenerated.
40584 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40585 with .globl.
40586 * sysdeps/i386/configure: Regenerated.
40587 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40588 with .globl.
40589 * sysdeps/x86_64/configure: Regenerated.
40590 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40591 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40592 * elf/tst-unique2mod2.c: Likewise.
40593 * elf/tst-unique2mod1.c: Likewise.
40594 * elf/tst-unique1mod2.c: Likewise.
40595 * elf/tst-unique1mod1.c: Likewise.
40596 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40597 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40598 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40599 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40600 * sysdeps/mach/sysdep.h: Likewise.
40601 * sysdeps/i386/sysdep.h: Likewise.
40602 * sysdeps/i386/i386-mcount.S: Likewise.
40603 * sysdeps/x86_64/_mcount.S: Likewise.
40604 * sysdeps/x86_64/sysdep.h: Likewise.
40605 * sysdeps/sh/_mcount.S: Likewise.
40606 * sysdeps/sh/sysdep.h: Likewise.
40607 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40608 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40609 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40610 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40611 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40612 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40613 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40614 * locale/localeinfo.h: Likewise.
40615 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40616 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40617
40618 2012-07-09 Roland McGrath <roland@hack.frob.com>
40619
40620 [BZ #14336]
40621 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40622 system".
40623 * manual/message.texi (The Uniforum approach): Likewise.
40624 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40625 (glibc iconv Implementation): Likewise.
40626
40627 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40628
40629 [BZ #14337]
40630 * math/s_clog.c (__clog): Avoid scaling a value down where that
40631 could result in underflow.
40632 * math/s_clog10.c (__clog10): Likewise.
40633 * math/s_clog10f.c (__clog10f): Likewise.
40634 * math/s_clog10l.c (__clog10l): Likewise.
40635 * math/s_clogf.c (__clogf): Likewise.
40636 * math/s_clogl.c (__clogl): Likewise.
40637 * math/libm-test.inc (clog_test): Add more tests.
40638 (clog10_test): Likewise.
40639 * sysdeps/i386/fpu/libm-test-ulps: Update.
40640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40641
40642 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40643
40644 [BZ #14283]
40645 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40646 by 7 not 8 to examine high bit of fractional part.
40647
40648 [BZ #14042]
40649 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40650 for call to __mcount_internal.
40651 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40652 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40653 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40654
40655 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40656
40657 [BZ #14154]
40658 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40659 approximation for values within 0x1p-13f of an odd multiple of
40660 pi/4.
40661 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40662 exception. Add more tests.
40663 * sysdeps/i386/fpu/libm-test-ulps: Update.
40664
40665 [BZ #6778]
40666 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40667 inputs and return -1 for them. Do not check for +Inf in case not
40668 reachable for +Inf.
40669 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40670 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40671 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40672 and return -1 for them. Do not check for +Inf in case not
40673 reachable for +Inf.
40674 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40675 define.
40676 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40677 and return -1 for them. Do not check for +Inf in case not
40678 reachable for +Inf.
40679 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40680 spurious underflow.
40681 * sysdeps/i386/fpu/libm-test-ulps: Update.
40682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40683
40684 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40685
40686 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40687
40688 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40689
40690 [BZ #14157]
40691 [BZ #14331]
40692 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40693 could result in spurious underflow. Scale down values above
40694 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40695 * math/s_csqrtf.c (__csqrtf): Likewise.
40696 * math/s_csqrtl.c (__csqrtl): Likewise.
40697 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40698 spurious underflow.
40699 * sysdeps/i386/fpu/libm-test-ulps: Update.
40700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40701
40702 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40703
40704 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40705 xopen-msg.sed.
40706 * catgets/xopen-msg.awk: New file.
40707 * catgets/xopen-msg.sed: Removed.
40708
40709 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40710 po2text.sed.
40711 * intl/po2test.awk: New file.
40712 * intl/po2test.sed: Removed.
40713
40714 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40715
40716 [BZ #14328]
40717 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40718 or multiply small sinh result by itself.
40719 * math/s_ctanf.c (__ctanf): Likewise.
40720 * math/s_ctanh.c (__ctanh): Likewise.
40721 * math/s_ctanhf.c (__ctanhf): Likewise.
40722 * math/s_ctanhl.c (__ctanhl): Likewise.
40723 * math/s_ctanl.c (__ctanl): Likewise.
40724 * math/libm-test.inc (ctan_test_tonearest): New function.
40725 (ctan_test_towardzero): Likewise.
40726 (ctan_test_downward): Likewise.
40727 (ctan_test_upward): Likewise.
40728 (ctanh_test_tonearest): Likewise.
40729 (ctanh_test_towardzero): Likewise.
40730 (ctanh_test_downward): Likewise.
40731 (ctanh_test_upward): Likewise.
40732 (main): Call these new functions.
40733 * sysdeps/i386/fpu/libm-test-ulps: Update.
40734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40735
40736 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40737
40738 * .gitignore: Delete /ports entry.
40739
40740 2012-07-03 Andreas Jaeger <aj@suse.de>
40741
40742 * po/bg.po: Update from translation team.
40743 * po/cs.po: Likewise.
40744 * po/de.po: Likewise.
40745 * po/hr.po: Likewise.
40746 * po/nl.pl: Likewise.
40747 * po/pl.po: Likewise.
40748 * po/vi.po: Likewise.
40749
40750 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40751
40752 * Makeconfig [!+link] (+link-before-libc): New variable.
40753 [!+link] (+link-after-libc): Likewise.
40754 [!+link] (+link-tests): Likewise.
40755 [!+link] (+link): Define in terms of $(+link-before-libc) and
40756 $(+link-after-libc).
40757 [!+link-static] (+link-static-before-libc): New variable.
40758 [!+link-static] (+link-static-after-libc): Likewise.
40759 [!+link-static] (+link-static-tests): Likewise.
40760 [!+link-static] (+link-static): Define in terms of
40761 $(+link-static-before-libc) and $(+link-static-after-libc).
40762 [build-shared] (link-libc-before-gnulib): New variable.
40763 [build-shared] (link-libc-tests): Likewise.
40764 [build-shared] (link-libc): Define in terms of
40765 $(link-libc-before-gnulib).
40766 [!build-shared] (link-libc-tests): New variable.
40767 (link-libc-static-tests): New variable.
40768 [!gnulib] (gnulib-arch): New variable.
40769 [!gnulib] (gnulib-tests): Likewise.
40770 [!gnulib] (static-gnulib-arch): Likewise.
40771 [!gnulib] (static-gnulib-tests): Likewise.
40772 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40773 Define with "=" instead of ":=".
40774 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40775 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40776 * Rules (binaries-all-notests): New variable.
40777 (binaries-all-tests): Likewise.
40778 (binaries-static-notests): Likewise.
40779 (binaries-static-tests): Likewise.
40780 (binaries-all): Define using $(binaries-all-notests) and
40781 $(binaries-all-tests).
40782 (binaries-static): Define using $(binaries-static-notests) and
40783 $(binaries-static-tests).
40784 (binaries-shared-tests): New variable.
40785 (binaries-shared-notests): Likewise.
40786 (binaries-shared): Remove variable.
40787 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40788 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40789 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40790 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40791 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40792 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40793 * elf/Makefile (sln-modules): New variable.
40794 (extra-objs): Add $(sln-modules:=.o).
40795 (ldconfig-modules): Add static-stubs.
40796 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40797 * elf/static-stubs.c: New file.
40798
40799 [BZ #14283]
40800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40801 by 7 not 8 to examine high bit of fractional part. Use volatile
40802 variables when splitting into final array of floats if
40803 __FLT_EVAL_METHOD__ != 0.
40804 * math/libm-test.inc (cos_test): Add another test.
40805 (sin_test): Likewise.
40806 * sysdeps/i386/fpu/libm-test-ulps: Update.
40807
40808 [BZ #14273]
40809 * math/libm-test.inc (cosh_test): Add more tests.
40810
40811 * version.h (RELEASE): Set to "development".
40812 (VERSION): Set to "2.16.90".
40813
40814 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40815
40816 * NEWS: Update copyright. Remove last-updated date.
40817 Mention math library bug fixes and timezone data changes.
40818 * README: Mention GNU/Hurd, x32, and HPPA support status.
40819
40820 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40821
40822 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40823
40824 2012-06-27 Andreas Jaeger <aj@suse.de>
40825
40826 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40827
40828 2012-06-25 Andreas Jaeger <aj@suse.de>
40829
40830 * sysdeps/s390/fpu/libm-test-ulps: Update.
40831
40832 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40833 Thomas Schwinge <thomas@codesourcery.com>
40834
40835 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40836 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40838 fanotify_mark.
40839
40840 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40841
40842 * sysdeps/mach/start.c: Remove file.
40843 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40844 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40845 * sysdeps/sh/init-first.c: Likewise.
40846
40847 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40848 registers for frame unwinding purposes, add CFI directives.
40849 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40850 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40851 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40852 Likewise.
40853
40854 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40855 __fortify_fail returning.
40856 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40857
40858 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40859 sysdeps/sh/____longjmp_chk.S.
40860 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40861 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40862 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40863 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40864
40865 * sysdeps/sh/abort-instr.h: New file.
40866 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40867 process in case exit returns.
40868
40869 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40870 initialize the GOT register before use.
40871
40872 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40873 calculation of ARGC > 4.
40874
40875 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40876 meaningful names to some local labels.
40877
40878 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40879 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40880
40881 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40882 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40883 (__arch_compare_and_exchange_val_16_acq): Likewise.
40884 (__arch_compare_and_exchange_val_32_acq): Likewise.
40885 (atomic_exchange_and_add): Fix gUSA sequence.
40886 (atomic_add): Likewise.
40887 (atomic_add_negative): Likewise.
40888 (atomic_add_zero): Likewise.
40889 (atomic_bit_test_set): Likewise.
40890
40891 2012-06-22 Andreas Schwab <schwab@redhat.com>
40892
40893 [BZ #13579]
40894 * include/link.h (struct link_map): Add l_free_initfini.
40895 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40896 l_initfini.
40897 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40898 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40899 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40900 set.
40901
40902 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40903
40904 * configure.in: Use AC_LANG_SOURCE.
40905 * configure: Regenerate.
40906
40907 2012-06-22 Roland McGrath <roland@hack.frob.com>
40908
40909 * configure.in (libc_cv_localstatedir): New substituted variable.
40910 * configure: Regenerated.
40911 * config.make.in (localstatedir): New variable, substituted from
40912 libc_cv_localstatedir.
40913 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40914 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40915 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40916 * sysdeps/gnu/configure: Regenerated.
40917
40918 2012-06-21 Jeff Law <law@redhat.com>
40919
40920 [BZ #14277]
40921 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40922 free. Simplify list management for _LIBC case.
40923
40924 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40925
40926 [BZ #14273]
40927 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40928 Clear sign bit of 64-bit integer value before comparing against
40929 overflow value.
40930
40931 * sysdeps/mach/configure: Regenerated.
40932
40933 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40934
40935 [BZ #14278]
40936 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40937
40938 2012-06-21 Jeff Law <law@redhat.com>
40939
40940 [BZ #13882]
40941 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40942 uint16_t for elements in the "seen" array to avoid char overflows.
40943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40944 * elf/dl-open.c (dl_open_worker): Likewise.
40945
40946 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40947
40948 * scripts/list-sources.sh: Scan PORTS for translations.
40949 * po/libc.pot: Regenerated.
40950
40951 2012-06-21 Andreas Jaeger <aj@suse.de>
40952
40953 [BZ #12194]
40954 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40955 warning.
40956 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40957 * bits/byteswap-16.h (__bswap_16): Likewise.
40958 * bits/byteswap.h (__bswap_constant_16): Likewise.
40959
40960 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40961
40962 [BZ #14117]
40963 * sysdeps/i386/fpu_control.h: Removed.
40964 * sysdeps/x86_64/fpu_control.h: Moved to ...
40965 * sysdeps/x86/fpu_control.h: Here.
40966
40967 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40968 (_FPU_SETCW): Likewise.
40969
40970 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40971
40972 [BZ #14117]
40973 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40974 * sysdeps/x86/fpu/bits/mathinline.h: This.
40975 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40976
40977 [BZ #14050]
40978 [BZ #14117]
40979 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40980 functions if __x86_64__ is defined.
40981
40982 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40983
40984 * string/endian.h: Add !__ASSEMBLER__ condition for including
40985 conversion interfaces.
40986
40987 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40988
40989 [BZ #14241]
40990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40991 of ABS(x) in calculating zero to negative powers other than odd
40992 integers.
40993 * math/libm-test.inc (pow_test): Add more tests.
40994
40995 2012-06-15 Andreas Jaeger <aj@suse.de>
40996
40997 * manual/contrib.texi (Contributors): Update entry of Liubov
40998 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40999 Machado Filho.
41000
41001 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41002
41003 * string/string.h: Add __wur to GNU version of strerror_r.
41004
41005 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41006
41007 [BZ #14229]
41008 * string/Makefile (tests): Add tst-strtok_r.
41009 * string/tst-strtok_r.c: New file.
41010 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41011 RAX_LP/RDX_LP on SAVE_PTR.
41012
41013 2012-06-14 Roland McGrath <roland@hack.frob.com>
41014
41015 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41016
41017 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41018
41019 * libm_test.inc (csqrt_test): Allow more spurious underflow
41020 exceptions.
41021 (j0_test): Likewise.
41022 (j1_test): Likewise.
41023 (y0_test): Likewise.
41024 (y1_test): Likewise.
41025
41026 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41027
41028 * po/Makefile (libc.pot): Use UTF-8 charset.
41029
41030 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41031
41032 [BZ #14210]
41033 Suppress sign-conversion warning from FD_SET.
41034 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41035 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41036 not unsigned long int.
41037 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41038
41039 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41040
41041 [BZ #14050]
41042 [BZ #14117]
41043 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41044 __extern_always_inline instead of __extern_inline.
41045 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41046 (__signbit): Likewise.
41047 (__signbitl): Support C++ namespace.
41048 (lrintf): New inline function.
41049 (lrint): Likewise.
41050 (llrintf): Likewise.
41051 (llrint): Likewise.
41052 (fmaxf): Likewise.
41053 (fmax): Likewise.
41054 (fminf): Likewise.
41055 (fmin): Likewise.
41056 (rint): Likewise.
41057 (rintf): Likewise.
41058 (ceil): Likewise.
41059 (ceilf): Likewise.
41060 (floor): Likewise.
41061 (floorf): Likewise.
41062 (nearbyint): Likewise.
41063 (nearbyintf): Likewise.
41064
41065 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41066
41067 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41068 non-default versions.
41069
41070 2012-06-11 Roland McGrath <roland@hack.frob.com>
41071
41072 [BZ #14218]
41073 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41074
41075 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41076
41077 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41078 (FE_UPWARD, FE_DOWNWARD): Don't define.
41079 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41080 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41081
41082 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41083 reading it.
41084 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41085 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41086
41087 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41088
41089 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41091 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41092 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41093
41094 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41095
41096 [BZ #14117]
41097 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41098 * sysdeps/i386/fpu/Implies: New file.
41099 * sysdeps/x86_64/fpu/Implies: Likewise.
41100 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41101 * sysdeps/x86/fpu/bits/fenv.h: This.
41102
41103 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41104 __SSE_MATH__.
41105
41106 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41107
41108 [BZ #14134]
41109 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41110 character 0xffff that matches the last element of the
41111 conversion table.
41112
41113 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41114
41115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41116 fmodl commit.
41117
41118 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41119
41120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41121 values higher than 25.6283.
41122
41123 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41124
41125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41126 subnormal exponent extraction and add some __builtin_expect.
41127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41128 Fix for subnormal mantissa calculation.
41129
41130 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41131
41132 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41133 cpu2 is -1 and errno is not ENOSYS.
41134
41135 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41136
41137 [BZ #14117]
41138 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41139 * sysdeps/x86/bits/string.h: This.
41140 * sysdeps/x86_64/bits/string.h: Removed.
41141
41142 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41143 if not compiling for x86-64, but compiling for >= i486.
41144
41145 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41146 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41147
41148 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41149 New macro from Linux kernel 3.4.0.
41150 (FP_XSTATE_MAGIC2): Likewise.
41151 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41152 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41153 (struct _fpx_sw_bytes): New struct.
41154 (struct _xsave_hdr): Likewise.
41155 (struct _ymmh_state): Likewise.
41156 (struct _xstate): Likewise.
41157
41158 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41159 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41160 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41161 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41162 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41163 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41164
41165 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41166 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41167 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41168 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41169 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41170 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41171
41172 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41173
41174 [BZ #13743]
41175 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41176 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41177 (sysdep_headers): Include sys/platform/ppc.h.
41178 * sysdeps/powerpc/test-gettimebase.c: Test for
41179 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41180 * manual/Makefile (appendices): Include platform.texi.
41181 * manual/contrib.texi (Contributors): Update @node pointers.
41182 * manual/maint.texi (Maintenance): Likewise.
41183 (Platform): New node.
41184 * manual/platform.texi: New file. Document the new features.
41185
41186 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41187 Jakub Jelinek <jakub@redhat.com>
41188
41189 [BZ #14188]
41190 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41191 where __builtin_expect is unavailable.
41192
41193 2012-06-03 David S. Miller <davem@davemloft.net>
41194
41195 * stdlib/longlong.h: Updated from GCC.
41196
41197 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41198
41199 [BZ #14042]
41200 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41201 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41202 __mcount_internal.
41203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41204 (GLIBC_2.16): Likewise.
41205
41206 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41207
41208 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41209
41210 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41211
41212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41213 (default-abi): New variable.
41214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41215 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41216 variable.
41217 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41218 Likewise.
41219 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41220 Likewise.
41221 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41222 Likewise.
41223
41224 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41225 definition. Document in comment.
41226
41227 2012-06-01 David S. Miller <davem@davemloft.net>
41228
41229 * stdlib/longlong.h: Updated from GCC.
41230
41231 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41232
41233 [BZ #14117]
41234 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41235 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41236 sys/debugreg.h sys/io.h here.
41237 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41238 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41239 sys/io.h.
41240 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41241 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41242 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41243 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41244 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41245 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41246
41247 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41248 Define only if __x86_64__ is defined.
41249
41250 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41251
41252 [BZ #14048]
41253 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41254 Use int64_t for variable i.
41255 * math/libm-test.inc (fmod_test): Add more tests.
41256
41257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41258 z computation is not scheduled after fetestexcept.
41259 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41260 Use math_force_eval instead of asm to ensure calculation scheduled
41261 before exception test.
41262 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41263 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41264
41265 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41266
41267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41268 computation is not scheduled after fetestexcept.
41269
41270 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41271
41272 [BZ #14117]
41273 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41274 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41275
41276 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41277
41278 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41279 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41280
41281 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41282
41283 [BZ #14117]
41284 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41285 <bits/wordsize.h>.
41286 (__WCHAR_MIN): Support __WORDSIZE == 64.
41287 (__WCHAR_MAX): Likewise.
41288
41289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41290 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41291
41292 [BZ #14183]
41293 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41294 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41295
41296 [BZ #14117]
41297 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41298 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41299
41300 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41301 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41302
41303 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41304 Defined to 1 if __x86_64__ isn't defined.
41305 (_STAT_VER_LINUX_OLD): New.
41306 (st_atime): Remove duplicate.
41307 (st_mtime): Likewise.
41308 (st_ctime): Likewise.
41309
41310 2012-05-31 David S. Miller <davem@davemloft.net>
41311
41312 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41313 entries.
41314
41315 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41316
41317 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41318 gen-libm-test.pl.
41319
41320 [BZ #14132]
41321 * elf/dl-reloc.c: Include <_itoa.h>.
41322 (_dl_reloc_bad_type): Remove use of INTUSE.
41323 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41324 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41325 * stdio-common/psiginfo.c (psiginfo): Likewise.
41326 * stdio-common/psignal.c (psignal): Likewise.
41327 * string/strsignal.c (strsignal): Likewise.
41328 * include/signal.h (_sys_siglist): Declare hidden proto.
41329 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41330 INTVARDEF with libc_hidden_data_def.
41331 * stdio-common/itoa-udigits.c: Likewise.
41332 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41333 (_itoa_lower_digits_internal): Remove declaration.
41334 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41335 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41336 (_sys_sigabbrev_internal): Remove aliases.
41337 (_sys_siglist): Define hidden alias.
41338
41339 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41340
41341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41342 bits/sysctl.h.
41343
41344 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41345
41346 [BZ #14117]
41347 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41348 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41349
41350 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41351 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41352 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41353 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41354 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41355 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41356
41357 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41358 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41359 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41360
41361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41362 with __addr.
41363 (insw): Likewise.
41364 (insl): Likewise.
41365 (outsb): Likewise.
41366 (outsw): Likewise.
41367 (outsl): Likewise.
41368
41369 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41370 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41371 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41372
41373 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41374 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41375 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41376 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41377 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41378 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41379
41380 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41381 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41382
41383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41384 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41385
41386 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41388 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41389
41390 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41391 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41392 to ...
41393 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41394
41395 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41396 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41397 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41398
41399 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41400 for x86-64.
41401 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41402
41403 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41404
41405 * math/math.h (M_El): Use two more decimal places.
41406 (M_LOG2El): Likewise.
41407 (M_LOG10El): Likewise.
41408 (M_LN2l): Likewise.
41409 (M_LN10l): Likewise.
41410 (M_PIl): Likewise.
41411 (M_PI_2l): Likewise.
41412 (M_PI_4l): Likewise.
41413 (M_1_PIl): Likewise.
41414 (M_2_PIl): Likewise.
41415 (M_2_SQRTPIl): Likewise.
41416 (M_SQRT2l): Likewise.
41417 (M_SQRT1_2l): Likewise.
41418
41419 2012-05-31 David S. Miller <davem@davemloft.net>
41420
41421 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41422 values between float registers.
41423 * sysdeps/sparc/sparc64/memset.S: Likewise.
41424 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41425
41426 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41427
41428 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41429 -D_FORTIFY_SOURCE=1.
41430 (CPPFLAGS-tst-longjmp_chk.c): Define.
41431 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41432 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41433 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41434 CFLAGS-tst-wchar-h.c.
41435
41436 2012-05-31 Marek Polacek <polacek@redhat.com>
41437
41438 [BZ #14132]
41439 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41440 __endmntent_internal): Remove declaration.
41441 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41442 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41443 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41444
41445 2012-05-30 David S. Miller <davem@davemloft.net>
41446
41447 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41448 (___Q_simulate_exceptions): Use real FP ops rather than writing
41449 into the %fsr.
41450 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41451 Likewise.
41452
41453 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41454
41455 [BZ #14117]
41456 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41457 * sysdeps/x86/bits/xtitypes.h: This.
41458
41459 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41460 * sysdeps/x86/bits/wordsize.h: This.
41461
41462 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41463 * sysdeps/x86/bits/huge_vall.h: This.
41464
41465 * sysdeps/i386/bits/select.h: Removed.
41466 * sysdeps/x86_64/bits/select.h: Renamed to ...
41467 * sysdeps/x86/bits/select.h: This.
41468
41469 * sysdeps/i386/bits/setjmp.h: Removed.
41470 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41471 * sysdeps/x86/bits/setjmp.h: This.
41472
41473 * sysdeps/i386/bits/mathdef.h: Removed.
41474 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41475 * sysdeps/x86/bits/mathdef.h: This.
41476
41477 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41478
41479 [BZ #14132]
41480 * include/sys/socket.h (__connect_internal)
41481 (__libc_sa_len_internal): Remove declaration.
41482 (__connect, __libc_sa_len): Declare hidden_proto.
41483 (SA_LEN): Remove use of INTUSE.
41484 * socket/connect.c: Add libc_hidden_def.
41485 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41486 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41487 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41488 alias.
41489 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41490 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41491 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41492 of adding _internal alias.
41493
41494 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41495
41496 [BZ #14117]
41497 * sysdeps/i386/bits/link.h: Removed.
41498 * sysdeps/i386/bits/linkmap.h: Likewise.
41499 * sysdeps/x86_64/bits/link.h: Renamed to ...
41500 * sysdeps/x86/bits/link.h: This.
41501 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41502 * sysdeps/x86/bits/linkmap.h: This.
41503
41504 * sysdeps/i386/bits/endian.h: Removed.
41505 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41506 * sysdeps/x86/bits/endian.h: This.
41507
41508 * sysdeps/i386/bits/byteswap.h: Removed.
41509 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41510 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41511 * sysdeps/x86/bits/byteswap.h: This.
41512 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41513 * sysdeps/x86/bits/byteswap-16.h: This.
41514 * sysdeps/i386/Implies: Add x86.
41515 * sysdeps/x86_64/Implies: Likewise.
41516
41517 2012-05-30 David S. Miller <davem@davemloft.net>
41518
41519 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41520 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41521 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41522 (FP_TRAPPING_EXCEPTIONS): Define.
41523 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41524 (FP_TRAPPING_EXCEPTIONS): Define.
41525 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41526 subnormals only when inexact has been signalled or underflow
41527 exceptions are enabled.
41528 (_FP_PACK_CANONICAL): Likewise.
41529
41530 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41531
41532 [BZ #14183]
41533 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41534 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41535
41536 2012-05-30 Richard Henderson <rth@twiddle.net>
41537
41538 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41539 with #ifndef NOT_IN_libc.
41540
41541 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41542 marked to avoid plt entry.
41543
41544 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41545
41546 [BZ #14112]
41547 * Makeconfig (default-abi): New macro.
41548 (abi-includes): Likewise.
41549 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41550 $(abi-$(default-abi)-lib-soname) for soname if defined.
41551 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41552 abi-variants.
41553 * Makefile (installed-stubs): Likewise.
41554 * include/stubs-biarch.h: Removed.
41555 * scripts/lib-names.awk: Only handle one library at a time.
41556 * scripts/soversions.awk: Remove WORDSIZE support.
41557 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41558 entries.
41559 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41560 Removed.
41561 (syscall-list-default-condition): Likewise.
41562 (syscall-list-default-condition): Likewise.
41563 (syscall-list-includes): Likewise.
41564 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41565 syscall-list-* with abi-*. Handle undefined abi-variants.
41566 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41567 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41568 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41569 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41570 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41571 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41572 Removed.
41573 (syscall-list-32-options): Likewise.
41574 (syscall-list-32-condition): Likewise.
41575 (syscall-list-64-options): Likewise.
41576 (syscall-list-64-condition): Likewise.
41577 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41578 macro.
41579 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41580 Renamed to ...
41581 (abi-*): This.
41582 (abi-64-ld-soname): New macro.
41583 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41584 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41585 Renamed to ...
41586 (abi-*): This.
41587 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41588 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41589
41590 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41591
41592 * sysdeps/unix/sysv/linux/kernel-features.h
41593 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41594 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41595 include <kernel-features.h>.
41596 [!__NR_ftruncate64]: Remove conditional code.
41597 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41598 [__NR_ftruncate64]: Make code unconditional.
41599 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41600 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41601 include <kernel-features.h>.
41602 [!__NR_ftruncate64]: Remove conditional code.
41603 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41604 [__NR_ftruncate64]: Make code unconditional.
41605 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41607 include <kernel-features.h>.
41608 [!__NR_ftruncate64]: Remove conditional code.
41609 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41610 [__NR_ftruncate64]: Make code unconditional.
41611 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41613 include <kernel-features.h>.
41614 [!__NR_ftruncate64]: Remove conditional code.
41615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41616 [__NR_ftruncate64]: Make code unconditional.
41617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41618
41619 * configure.in (libc_cv_fpie): Weaken to a compile test using
41620 LIBC_TRY_CC_OPTION.
41621 * configure: Regenerated.
41622
41623 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41624
41625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41629 Refreshed.
41630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41636 Refreshed.
41637
41638 2012-05-27 David S. Miller <davem@davemloft.net>
41639
41640 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41641 (___Q_zero): New.
41642 (__Q_simulate_exceptions): Return void. Change to simulate
41643 exceptions by writing into the %fsr.
41644 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41645 (__Qp_handle_exceptions): Likewise.
41646 (numbers): Delete.
41647 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41648 __Qp_handle_exceptions.
41649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41650 __Qp_handle_exceptions.
41651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41652 as unused and give dummy FP_RND_NEAREST initializer.
41653 (FP_INHIBIT_RESULTS): Define.
41654 (___Q_simulate_exceptions): Update declaration.
41655 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41656 formatting.
41657 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41658 as unused and give dummy FP_RND_NEAREST initializer.
41659 (__Qp_handle_exceptions): Update declaration.
41660 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41661 formatting.
41662
41663 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41664
41665 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41666 the temporary FPU control word.
41667 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41668 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41669 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41670 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41671 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41672 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41673 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41674 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41675 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41676 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41677 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41678
41679 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41680
41681 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41682 fields.
41683
41684 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41685
41686 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41687 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41688 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41689 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41690 Likewise.
41691 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41692 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41693 Likewise.
41694
41695 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41696
41697 * po/h.po: Update from translation team.
41698
41699 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41700
41701 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41702
41703 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41704 handling of denormals.
41705 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41706 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41707 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41708 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41709 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41712 Likewise.
41713
41714 2012-05-26 Marek Polacek <polacek@redhat.com>
41715
41716 [BZ #14152]
41717 * math/libm-test.inc (fma_test): Don't always expect underflow
41718 exception.
41719
41720 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41721
41722 [BZ #12416]
41723 * elf/tst-execstack.c: Include stackinfo.h.
41724 (do_test): Adjust test case to ensure that pthread_getattr_np
41725 behaviour remains the same after marking stack executable.
41726
41727 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41728
41729 * sysdeps/unix/sysv/linux/kernel-features.h
41730 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41731 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41732 kernel-features.h.
41733 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41734 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41735 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41736 kernel-features.h.
41737 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41738 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41739
41740 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41741
41742 * configure.in: Define the default includes to being none.
41743 * configure: Regenerated.
41744
41745 2012-05-25 Roland McGrath <roland@hack.frob.com>
41746
41747 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41748 * sysdeps/x86_64/setjmp.S: Likewise.
41749 * sysdeps/i386/bsd-setjmp.S: Likewise.
41750 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41751 * sysdeps/i386/setjmp.S: Likewise.
41752 * sysdeps/i386/__longjmp.S: Likewise.
41753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41754 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41755
41756 * include/stap-probe.h: New file.
41757 * configure.in: Handle --enable-systemtap.
41758 * configure: Regenerated.
41759 * config.h.in (USE_STAP_PROBE): New #undef.
41760 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41761 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41762 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41763
41764 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41765
41766 [BZ #13717]
41767 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41768 to 2.4.0 where earlier.
41769 * sysdeps/unix/sysv/linux/configure: Regenerated.
41770 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41771 <kernel-features.h>.
41772 [__ASSUME_32BITUIDS]: Make code unconditional.
41773 [!__ASSUME_32BITUIDS]: Remove conditional code.
41774 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41775 <kernel-features.h>.
41776 [__ASSUME_32BITUIDS]: Make code unconditional.
41777 [!__ASSUME_32BITUIDS]: Remove conditional code.
41778 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41779 [__ASSUME_32BITUIDS]: Make code unconditional.
41780 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41781 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41782 <kernel-features.h>.
41783 [__ASSUME_32BITUIDS]: Make code unconditional.
41784 [!__ASSUME_32BITUIDS]: Remove conditional code.
41785 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41786 <kernel-features.h>.
41787 [__ASSUME_32BITUIDS]: Make code unconditional.
41788 [!__ASSUME_32BITUIDS]: Remove conditional code.
41789 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41790 <kernel-features.h>.
41791 [__ASSUME_32BITUIDS]: Make code unconditional.
41792 [!__ASSUME_32BITUIDS]: Remove conditional code.
41793 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41794 <kernel-features.h>.
41795 [__ASSUME_32BITUIDS]: Make code unconditional.
41796 [!__ASSUME_32BITUIDS]: Remove conditional code.
41797 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41798 <kernel-features.h>.
41799 [__ASSUME_32BITUIDS]: Make code unconditional.
41800 [!__ASSUME_32BITUIDS]: Remove conditional code.
41801 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41802 <kernel-features.h>.
41803 [__ASSUME_32BITUIDS]: Make code unconditional.
41804 [!__ASSUME_32BITUIDS]: Remove conditional code.
41805 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41806 <kernel-features.h>.
41807 [__ASSUME_32BITUIDS]: Make code unconditional.
41808 [!__ASSUME_32BITUIDS]: Remove conditional code.
41809 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41810 <kernel-features.h>.
41811 [__ASSUME_32BITUIDS]: Make code unconditional.
41812 [!__ASSUME_32BITUIDS]: Remove conditional code.
41813 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41814 <kernel-features.h>.
41815 [__ASSUME_32BITUIDS]: Make code unconditional.
41816 [!__ASSUME_32BITUIDS]: Remove conditional code.
41817 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41818 <kernel-features.h>.
41819 [__ASSUME_32BITUIDS]: Make code unconditional.
41820 [!__ASSUME_32BITUIDS]: Remove conditional code.
41821 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41822 <kernel-features.h>.
41823 [__NR_setresgid] (__setresgid): Do not declare.
41824 [__ASSUME_32BITUIDS]: Make code unconditional.
41825 [!__ASSUME_32BITUIDS]: Remove conditional code.
41826 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41827 <kernel-features.h>.
41828 [__NR_setresuid] (__setresuid): Do not declare.
41829 [__ASSUME_32BITUIDS]: Make code unconditional.
41830 [!__ASSUME_32BITUIDS]: Remove conditional code.
41831 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41832 <kernel-features.h>.
41833 [__ASSUME_32BITUIDS]: Make code unconditional.
41834 [!__ASSUME_32BITUIDS]: Remove conditional code.
41835 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41836 <kernel-features.h>.
41837 [__ASSUME_32BITUIDS]: Make code unconditional.
41838 [!__ASSUME_32BITUIDS]: Remove conditional code.
41839 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41840 <kernel-features.h>.
41841 [__ASSUME_32BITUIDS]: Make code unconditional.
41842 [!__ASSUME_32BITUIDS]: Remove conditional code.
41843 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41844 <kernel-features.h>.
41845 [__ASSUME_32BITUIDS]: Make code unconditional.
41846 [!__ASSUME_32BITUIDS]: Remove conditional code.
41847 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41848 <kernel-features.h>.
41849 [__ASSUME_32BITUIDS]: Make code unconditional.
41850 [!__ASSUME_32BITUIDS]: Remove conditional code.
41851 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41852 <kernel-features.h>.
41853 [__ASSUME_32BITUIDS]: Make code unconditional.
41854 [!__ASSUME_32BITUIDS]: Remove conditional code.
41855 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41856 <kernel-features.h>.
41857 [__ASSUME_32BITUIDS]: Make code unconditional.
41858 [!__ASSUME_32BITUIDS]: Remove conditional code.
41859 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41860 <kernel-features.h>.
41861 [__ASSUME_32BITUIDS]: Make code unconditional.
41862 [!__ASSUME_32BITUIDS]: Remove conditional code.
41863 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41864 <kernel-features.h>.
41865 [__ASSUME_32BITUIDS]: Make code unconditional.
41866 [!__ASSUME_32BITUIDS]: Remove conditional code.
41867 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41868 <kernel-features.h>.
41869 [__ASSUME_32BITUIDS]: Make code unconditional.
41870 [!__ASSUME_32BITUIDS]: Remove conditional code.
41871 * sysdeps/unix/sysv/linux/kernel-features.h
41872 (__ASSUME_SETRESUID_SYSCALL): Remove.
41873 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41874 (__ASSUME_32BITUIDS): Likewise.
41875 (__ASSUME_LDT_WORKS): Likewise.
41876 (__ASSUME_O_DIRECTORY): Likewise.
41877 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41878 architecture but not kernel version.
41879 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41880 (__ASSUME_MMAP2_SYSCALL): Likewise.
41881 (__ASSUME_STAT64_SYSCALL): Likewise.
41882 (__ASSUME_IPC64): Likewise.
41883 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41884 <kernel-features.h>.
41885 [__ASSUME_32BITUIDS]: Make code unconditional.
41886 [!__ASSUME_32BITUIDS]: Remove conditional code.
41887 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41888 <kernel-features.h>.
41889 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41890 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41891 132096]: Remove conditional code.
41892 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41893 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41894 <kernel-features.h>.
41895 [__ASSUME_32BITUIDS]: Make code unconditional.
41896 [!__ASSUME_32BITUIDS]: Remove conditional code.
41897 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41898 <kernel-features.h>.
41899 [__ASSUME_32BITUIDS]: Make code unconditional.
41900 [!__ASSUME_32BITUIDS]: Remove conditional code.
41901 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41902 <kernel-features.h>.
41903 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41904 unconditional.
41905 (__setresgid): Do not declare.
41906 [__ASSUME_32BITUIDS]: Make code unconditional.
41907 [!__ASSUME_32BITUIDS]: Remove conditional code.
41908 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41909 <kernel-features.h>.
41910 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41911 unconditional.
41912 (__setresuid): Do not declare.
41913 [__ASSUME_32BITUIDS]: Make code unconditional.
41914 [!__ASSUME_32BITUIDS]: Remove conditional code.
41915 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41916 <kernel-features.h>.
41917 [__ASSUME_32BITUIDS]: Make code unconditional.
41918 [!__ASSUME_32BITUIDS]: Remove conditional code.
41919 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41920 <kernel-features.h>.
41921 [__ASSUME_32BITUIDS]: Make code unconditional.
41922 [!__ASSUME_32BITUIDS]: Remove conditional code.
41923
41924 2012-05-25 Richard Henderson <rth@twiddle.net>
41925
41926 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41927 dl_hwcap to ifunc resolver.
41928 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41929 elf_ifunc_invoke.
41930 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41931 dl_hwcap to ifunc resolver.
41932 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41933
41934 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41935
41936 [BZ #14153]
41937 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41938 for |x| <= 2**-26, not 2**-57.
41939 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41940 exception.
41941
41942 2012-05-24 Jeff Law <law@redhat.com>
41943
41944 * stdio-common/Makefile (tests): Add bug25.
41945 * stdio-common/bug25.c: New test.
41946
41947 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41948
41949 [BZ #13576]
41950 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41951 multiple of MALLOC_ALIGNMENT in size.
41952 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41953
41954 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41955
41956 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41957 Require >= 256.
41958 (FILENAME_MAX): Use macro-int-constant.
41959 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41960 (_IOFBF): Use macro-int-constant.
41961 (_IOLBF): Likewise.
41962 (_IONBF): Likewise.
41963 (SEEK_CUR): Likewise.
41964 (SEEK_END): Likewise.
41965 (SEEK_SET): Likewise.
41966 (TMP_MAX): Likewise.
41967 (EOF): Use macro-int-constant. Require < 0.
41968 (NULL): Use macro-constant. Require == 0.
41969 (stdin): Require type to be FILE *.
41970 (stdout): Likewise.
41971 (stderr): Likewise.
41972 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41973 macro-int-constant.
41974 (EXIT_SUCCESS): Likewise.
41975 (NULL): Use macro-constant. Require == 0.
41976 (RAND_MAX): Use macro-int-constant.
41977 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41978 [C99-based standards] (strtof): Require function.
41979 [C99-based standards] (strtold): Likewise.
41980 [C99-based standards] (strtoll): Likewise.
41981 [C99-based standards] (strtoull): Likewise.
41982 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41983 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41984 [ISO || ISO99 || ISO11] (math.h): Likewise.
41985 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41986 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41988
41989 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41990
41991 [BZ #14132]
41992 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41993 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41994 * intl/dgettext.c (DCGETTEXT): Likewise.
41995 * intl/gettext.c (DCGETTEXT): Likewise.
41996 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41997 * posix/regex_internal.h (gettext): Likewise.
41998 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41999 Remove declaration.
42000 * include/argz.h (__argz_count_internal)
42001 (__argz_stringify_internal): Remove declaration.
42002 (__argz_count, __argz_stringify): Declare hidden proto.
42003 * intl/dcgettext.c: Remove use of INTDEF.
42004 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42005 * string/argz-stringify.c: Likewise.
42006 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42007 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42008 Declare hidden proto.
42009 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42010 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42011 Declare hidden proto.
42012 * include/stdio.h (__asprintf_internal): Don't declare.
42013 (__asprintf): Don't define as macro. Declare hidden proto.
42014 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42015 (__fsetlocking): Declare hidden proto.
42016 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42017 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42018 hidden proto.
42019 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42020 (_IO_setlinebuf): Remove use of INTUSE.
42021 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42022 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42023 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42024 Remove declaration.
42025 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42026 (_IO_do_flush): Remove use of INTUSE.
42027 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42028 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42029 (_IO_adjust_column, _IO_least_wmarker)
42030 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42031 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42032 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42033 (_IO_default_doallocate, _IO_wdefault_doallocate)
42034 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42035 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42036 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42037 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42038 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42039 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42040 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42041 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42042 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42043 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42044 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42045 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42046 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42047 proto.
42048 (_IO_flush_all_internal, _IO_adjust_column_internal)
42049 (_IO_default_uflow_internal, _IO_default_finish_internal)
42050 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42051 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42052 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42053 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42054 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42055 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42056 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42057 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42058 (_IO_file_close_internal, _IO_file_close_it_internal)
42059 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42060 (_IO_file_init_internal, _IO_file_attach_internal)
42061 (_IO_file_fopen_internal, _IO_file_read_internal)
42062 (_IO_file_sync_internal, _IO_file_seek_internal)
42063 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42064 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42065 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42066 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42067 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42068 (_IO_list_all_internal, _IO_link_in_internal)
42069 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42070 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42071 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42072 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42073 (_IO_do_write_internal, _IO_padn_internal)
42074 (_IO_getline_info_internal, _IO_getline_internal)
42075 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42076 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42077 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42078 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42079 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42080 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42081 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42082 with libc_hidden_ver, remove use of INTUSE.
42083 * libio/genops.c: Likewise.
42084 * libio/freopen.c: Likewise.
42085 * libio/freopen64.c: Likewise.
42086 * libio/iofclose.c: Likewise.
42087 * libio/iofdopen.c: Likewise.
42088 * libio/iofflush.c: Likewise.
42089 * libio/iofflush_u.c: Likewise.
42090 * libio/iofgets.c: Likewise.
42091 * libio/iofgets_u.c: Likewise.
42092 * libio/iofopen.c: Likewise.
42093 * libio/iofopncook.c: Likewise.
42094 * libio/iofread.c: Likewise.
42095 * libio/iofread_u.c: Likewise.
42096 * libio/ioftell.c: Likewise.
42097 * libio/iofwrite.c: Likewise.
42098 * libio/iogetline.c: Likewise.
42099 * libio/iogets.c: Likewise.
42100 * libio/iogetwline.c: Likewise.
42101 * libio/iopadn.c: Likewise.
42102 * libio/iopopen.c: Likewise.
42103 * libio/ioseekoff.c: Likewise.
42104 * libio/ioseekpos.c: Likewise.
42105 * libio/iosetbuffer.c: Likewise.
42106 * libio/iosetvbuf.c: Likewise.
42107 * libio/ioungetc.c: Likewise.
42108 * libio/ioungetwc.c: Likewise.
42109 * libio/iovdprintf.c: Likewise.
42110 * libio/iovsprintf.c: Likewise.
42111 * libio/iovsscanf.c: Likewise.
42112 * libio/memstream.c: Likewise.
42113 * libio/obprintf.c: Likewise.
42114 * libio/oldfileops.c: Likewise.
42115 * libio/oldiofclose.c: Likewise.
42116 * libio/oldiofdopen.c: Likewise.
42117 * libio/oldiofopen.c: Likewise.
42118 * libio/oldiopopen.c: Likewise.
42119 * libio/oldstdfiles.c: Likewise.
42120 * libio/putc.c: Likewise.
42121 * libio/setbuf.c: Likewise.
42122 * libio/setlinebuf.c: Likewise.
42123 * libio/stdfiles.c: Likewise.
42124 * libio/strops.c: Likewise.
42125 * libio/vasprintf.c: Likewise.
42126 * libio/vscanf.c: Likewise.
42127 * libio/vsnprintf.c: Likewise.
42128 * libio/vswprintf.c: Likewise.
42129 * libio/wfiledoalloc.c: Likewise.
42130 * libio/wfileops.c: Likewise.
42131 * libio/wgenops.c: Likewise.
42132 * libio/wmemstream.c: Likewise.
42133 * libio/wstrops.c: Likewise.
42134 * libio/__fpurge.c: Likewise.
42135 * libio/__fsetlocking.c: Likewise.
42136 * assert/assert.c: Likewise.
42137 * debug/fgets_chk.c: Likewise.
42138 * debug/fgets_u_chk.c: Likewise.
42139 * debug/fread_chk.c: Likewise.
42140 * debug/fread_u_chk.c: Likewise.
42141 * debug/gets_chk.c: Likewise.
42142 * debug/obprintf_chk.c: Likewise.
42143 * debug/vasprintf_chk.c: Likewise.
42144 * debug/vdprintf_chk.c: Likewise.
42145 * debug/vsnprintf_chk.c: Likewise.
42146 * debug/vsprintf_chk.c: Likewise.
42147 * malloc/mtrace.c: Likewise.
42148 * misc/error.c: Likewise.
42149 * misc/syslog.c: Likewise.
42150 * stdio-common/asprintf.c: Likewise.
42151 * stdio-common/fxprintf.c: Likewise.
42152 * stdio-common/getw.c: Likewise.
42153 * stdio-common/isoc99_fscanf.c: Likewise.
42154 * stdio-common/isoc99_scanf.c: Likewise.
42155 * stdio-common/isoc99_vfscanf.c: Likewise.
42156 * stdio-common/isoc99_vscanf.c: Likewise.
42157 * stdio-common/isoc99_vsscanf.c: Likewise.
42158 * stdio-common/printf-prs.c: Likewise.
42159 * stdio-common/printf_fp.c: Likewise.
42160 * stdio-common/printf_fphex.c: Likewise.
42161 * stdio-common/printf_size.c: Likewise.
42162 * stdio-common/putw.c: Likewise.
42163 * stdio-common/scanf.c: Likewise.
42164 * stdio-common/sprintf.c: Likewise.
42165 * stdio-common/tmpfile.c: Likewise.
42166 * stdio-common/vfprintf.c: Likewise.
42167 * stdio-common/vfscanf.c: Likewise.
42168 * stdlib/strfmon_l.c: Likewise.
42169 * sunrpc/openchild.c: Likewise.
42170 * sunrpc/xdr_stdio.c: Likewise.
42171 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42172 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42173
42174 2012-05-24 Roland McGrath <roland@hack.frob.com>
42175
42176 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42177
42178 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42179 in the third column, to generate for the shared library an IFUNC
42180 that uses _dl_vdso_vsym.
42181 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42182 * Makeconfig (object-suffixes-noshared): New variable.
42183
42184 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42185 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42186 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42187 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42188
42189 [BZ #14132]
42190 * include/sys/time.h (__gettimeofday): Remove macro.
42191 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42192 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42193 Remove INTDEF.
42194 (__gettimeofday): Add libc_hidden_def.
42195 (gettimeofday): Add libc_hidden_weak.
42196 * sysdeps/mach/gettimeofday.c: Likewise.
42197 * sysdeps/posix/gettimeofday.c: Likewise.
42198 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42199 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42201 (__gettimeofday_internal): Remove strong_alias.
42202 (__gettimeofday): Add libc_hidden_def.
42203 (gettimeofday): Add libc_hidden_weak.
42204 * sysdeps/unix/syscalls.list (gettimeofday):
42205 Remove __gettimeofday_internal alias.
42206
42207 2012-05-24 Daniel Jacobowitz <drow@false.org>
42208 H.J. Lu <hongjiu.lu@intel.com>
42209
42210 [BZ #12495]
42211 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42212 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42213 (largebin_index_32_big): New.
42214 (largebin_index): Use it for 16-byte alignment.
42215 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42216 correction with front_misalign.
42217
42218 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42219
42220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42222 Likewise.
42223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42224 Likewise.
42225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42226 Likewise.
42227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42228 Likewise.
42229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42230 Likewise.
42231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42232 Likewise.
42233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42234 Likewise.
42235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42236 Likewise.
42237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42238 Likewise.
42239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42240 Likewise.
42241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42242 Likewise.
42243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42244 Likewise.
42245
42246 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42247 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42248
42249 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42250
42251 [BZ #10846]
42252 [BZ #14036]
42253 * math/libm-test.inc (exp_test): Add test from bug 14036.
42254 (pow_test): Add test from bug 10846.
42255
42256 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42257 and other flags.
42258 (special_function): Do not include flags in test name.
42259 (parse_args): Likewise.
42260 * sysdeps/i386/fpu/libm-test-ulps: Update.
42261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42262 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42263 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42265
42266 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42267 exceptions.
42268 * math/libm-test.inc ("Philosophy"): Update comment about
42269 exception testing.
42270 (UNDERFLOW_EXCEPTION): New macro.
42271 (UNDERFLOW_EXCEPTION_OK): Likewise.
42272 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42273 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42274 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42275 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42276 (INVALID_EXCEPTION_OK): Update value.
42277 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42278 (OVERFLOW_EXCEPTION_OK): Likewise.
42279 (IGNORE_ZERO_INF_SIGN): Likewise.
42280 (test_exceptions): Handle underflow exceptions.
42281 (acos_test): Update for underflow exception expectations.
42282 (cexp_test): Likewise.
42283 (clog_test): Likewise.
42284 (clog10_test): Likewise.
42285 (csqrt_test): Likewise.
42286 (ctan_test): Likewise.
42287 (ctanh_test): Likewise.
42288 (exp_test): Likewise.
42289 (exp10_test): Likewise.
42290 (exp2_test): Likewise.
42291 (expm1_test): Likewise.
42292 (fma_test): Likewise.
42293 (j0_test): Likewise.
42294 (jn_test): Likewise.
42295 (nexttoward_test): Likewise.
42296 (pow_test): Likewise.
42297 (scalbn_test): Likewise.
42298 (scalbln_test): Likewise.
42299 (tan_test): Likewise.
42300 (y1_test): Likewise.
42301 * sysdeps/i386/fpu/libm-test-ulps: Update.
42302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42303
42304 2012-05-23 David S. Miller <davem@davemloft.net>
42305
42306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42307 (__libc_sigaction): Remove unused local variables.
42308
42309 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42310
42311 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42312
42313 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42314
42315 mktime: avoid signed integer overflow
42316 * time/mktime.c (__mktime_internal): Do not mishandle the case
42317 where diff == INT_MIN.
42318
42319 mktime: simplify computation of average
42320 * time/mktime.c (ranged_convert): Use new time_t_avg function
42321 instead of rolling our own (probably-slower) code.
42322
42323 mktime: do not assume signed right shift propagates sign bit
42324 * time/mktime.c (isdst_differ): New static function.
42325 (__mktime_internal): No need to normalize tm_isdst now.
42326 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42327 tm_isdst values.
42328
42329 mktime: merge another wrapv change from gnulib
42330 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42331 from some compilers.
42332
42333 mktime: remove incorrect attempt at unusual arithmetics
42334 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42335 The code didn't really work on such machines anyway.
42336 (TYPE_MINIMUM): Assume two's complement.
42337 (twos_complement_arithmetic): Verify that long_int and time_t
42338 are two's complement (or unsigned, in the latter case).
42339
42340 mktime: check signed shifts on long_int and time_t, too
42341 * time/mktime.c (SHR): Check that shifts work as desired
42342 on the types long_int and time_t too, as SHR is used on
42343 such types.
42344
42345 mktime: do not assume 'long' is wide enough
42346 * time/mktime.c (verify): Move decl up.
42347 (long_int): New type.
42348 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42349 to remove assumption in the code that 'long' is wide enough to
42350 store year values. This assumption is not true on x32 and on
42351 some non-glibc platforms.
42352
42353 mktime: merge wrapv change from gnulib
42354 * time/mktime.c (WRAPV): New macro.
42355 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42356 (guess_time_tm, __mktime_internal): Do not assume that signed
42357 integer overflow wraps around; modern compilers generate code
42358 where this assumption is no longer valid.
42359
42360 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42361
42362 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42363 Replace "jmp L(pseudo_end)" with "ret".
42364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42365 Likewise.
42366
42367 2012-05-23 Andreas Jaeger <aj@suse.de>
42368
42369 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42370 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42371
42372 2012-05-23 Andreas Jaeger <aj@suse.de>
42373 Maximilian Attems <max@stro.at>
42374
42375 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42376 New macros.
42377
42378 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42379
42380 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42381 code so that pseudo_end is just ret and the stack pointer is
42382 correct also for static library in error case.
42383
42384 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42385
42386 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42387 move to syscalls.list.
42388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42392
42393 * manual/install.texi (Running make install): Do not mention Linux
42394 kernel version for which pt_chown is not needed.
42395 (Linux): Do not mention problems with nscd with 2.0 kernels.
42396 * INSTALL: Regenerated.
42397
42398 2012-05-23 Andreas Jaeger <aj@suse.de>
42399
42400 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42401 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42402 macro.
42403 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42404 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42405 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42406 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42407 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42408 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42409 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42410 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42411 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42413 * sysdeps/unix/sysv/linux/bits/in.h
42414 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42415
42416 2012-05-22 Roland McGrath <roland@hack.frob.com>
42417
42418 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42419 (PREPARE_VERSION): Just use assert instead, it will be elided
42420 under [NDEBUG] anyway.
42421
42422 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42423
42424 * sysdeps/unix/sysv/linux/Makefile: Include
42425 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42426 (sysdep_routines): Remove sysctl.
42427 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42428 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42429 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42430 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42431 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42432
42433 2012-05-22 Andreas Jaeger <aj@suse.de>
42434
42435 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42436 that pseudo_end is just ret and the stack pointer is correct also
42437 for static library in error case.
42438
42439 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42440
42441 [BZ #14122]
42442 * nss/nsswitch.c (defconfig_entries): New variable.
42443 (__nss_database_lookup): Don't leak defconfig entries.
42444 (nss_parse_service_list): Don't leak on error paths.
42445 (free_database_entries): New function.
42446 (free_defconfig): New function.
42447 (free_mem): Move common code to free_database_entries.
42448
42449 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42450
42451 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42452 Add arch_prctl.
42453 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42454
42455 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42456 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42458 New macro.
42459 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42460 (INTERNAL_SYSCALL_TYPES): Likewise.
42461 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42462 (LOAD_REGS_TYPES_[1-6]): Likewise.
42463 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42464 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42465
42466 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42467
42468 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42469 copysignl for GLIBC_2_0.
42470 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42471 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42473 logbl for GLIBC_2_0.
42474 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42475 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42476
42477 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42478
42479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42480 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42481
42482 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42483 Use "neg %eax".
42484
42485 * time/mktime.c: Update copyright years.
42486
42487 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42488
42489 mktime: merge comment-quoting-style change from gnulib
42490 * time/mktime.c: Quote 'like this' in comments.
42491 The GNU coding standards suggest that we no longer quote `like this',
42492 as "`" and "'" are typically rendered asymmetrically nowadays.
42493 The typical gnulib style is to quote 'like this' when quoting
42494 code, and "like this" when quoting English.
42495
42496 * time/mktime.c (compile-command): Add "-I.".
42497
42498 mktime: merge mktime-internal.h change from gnulib
42499 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42500
42501 mktime: merge time_r change from gnulib
42502 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42503
42504 mktime: merge DEBUG change from gnulib
42505 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42506 case system <time.h> has a #define.
42507
42508 mktime: merge <sys/types.h> change from gnulib
42509 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42510 since <time.t> is now guaranteed to define time_t.
42511
42512 mktime: merge HAVE_CONFIG_H change from gnulib
42513 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42514
42515 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42516
42517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42518 Use "neg %eax".
42519
42520 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42521 __rlim_t cast.
42522 (struct rusage): Use anonymous union to pad each field to
42523 __syscall_slong_t.
42524
42525 2012-05-21 David S. Miller <davem@davemloft.net>
42526
42527 * Makefules (o-iterator): Remove .s cases.
42528 (compile-command.s): Delete.
42529 (COMPILE.s): Delete.
42530 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42531
42532 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42533
42534 * configure.in (libc_cv_predef_stack_protector): Only consider
42535 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42536 * configure: Regenerated.
42537
42538 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42539
42540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42541 New macro. Use R*LP on int and pointer.
42542 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42543 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42544 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42545 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42546
42547 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42548 [__WORDSIZE_TIME64_COMPAT32] instead of
42549 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42550 (struct utmp): Likewise.
42551 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42552 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42553 Renamed to ...
42554 (__WORDSIZE_TIME64_COMPAT32): This.
42555 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42556 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42557 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42558 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42559 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42560 (__WORDSIZE_TIME64_COMPAT32): New macro.
42561
42562 2012-05-21 Andreas Jaeger <aj@suse.de>
42563
42564 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42565 only if [SHARED]. Add prototype for __wcschr_ia32.
42566
42567 2012-05-21 Roland McGrath <roland@hack.frob.com>
42568
42569 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42570 of %rbp unmolested in the jmp_buf while mangling the low bits.
42571 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42572 unmolested high bits of %rbp while demangling the low bits.
42573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42574
42575 2012-05-21 Andreas Jaeger <aj@suse.de>
42576
42577 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42578 * sunrpc/svc_simple.c: Use it for registerrpc.
42579 * sunrpc/xcrypt.c: Use it for passwd2des.
42580
42581 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42582
42583 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42584
42585 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42586 Don't define if [__SYSCALL_WORDSIZE != 32].
42587 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42588 New macro.
42589
42590 2012-05-21 Bruno Haible <bruno@clisp.org>
42591 Andreas Jaeger <aj@suse.de>
42592
42593 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42594 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42595 inptr and inend for must_buffer_ch.
42596 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42597 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42598 * stdio-common/Makefile (tests): Remove bug15.
42599 (bug15-ENV): Remove macro.
42600 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42601 anymore.
42602
42603 2012-05-19 Andreas Jaeger <aj@suse.de>
42604 Roland McGrath <roland@hack.frob.com>
42605
42606 * manual/contrib.texi: Completely rewritten. It contains now an
42607 alphabetical list of contributors and their contributions.
42608
42609 2012-05-21 Richard Henderson <rth@twiddle.net>
42610
42611 * misc/getauxval.c (__getauxval): Use unsigned long int.
42612 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42613 (getauxval): Use unsigned long int.
42614
42615 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42616
42617 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42618
42619 2012-05-21 Roland McGrath <roland@hack.frob.com>
42620
42621 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42622 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42623 __alignof__ (long double).
42624
42625 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42626
42627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42628
42629 2012-05-20 Richard Henderson <rth@twiddle.net>
42630
42631 * misc/getauxval.c: New file.
42632 * misc/sys/auxv.h: New file.
42633 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42634 (routines): Add getauxval.
42635 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42636 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42637 * elf/dl-sysdep.c (_dl_auxv): Remove.
42638 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42639 * elf/dl-support.c (_dl_auxv): New variable.
42640 (_dl_aux_init): Initialize it.
42641 * manual/startup.texi (Auxiliary Vector): New node.
42642 * sysdeps/generic/bits/hwcap.h: New file.
42643 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42644 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42645 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42646 * sysdeps/sparc/sysdep.h: ... here. Include it.
42647 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42648 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42650 Update.
42651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42654 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42659
42660 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42661
42662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42663
42664 2012-05-19 David S. Miller <davem@davemloft.net>
42665
42666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42667
42668 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42669
42670 [BZ #14123]
42671 * math/s_ccosh.c: Include <float.h>
42672 (__ccosh): Avoid internal overflow calculating sinh and cosh
42673 values before multiplying by sin and cos values.
42674 * math/s_ccoshf.c: Likewise.
42675 * math/s_ccoshl.c: Likewise.
42676 * math/s_csin.c: Likewise.
42677 * math/s_csinf.c: Likewise.
42678 * math/s_csinl.c: Likewise.
42679 * math/s_csinh.c: Likewise.
42680 * math/s_csinhf.c: Likewise.
42681 * math/s_csinhl.c: Likewise.
42682 * math/libm-test.inc (ccos_test): Add more tests.
42683 (ccosh_test): Likewise.
42684 (csin_test): Likewise.
42685 (csinh_test): Likewise.
42686 * sysdeps/i386/fpu/libm-test-ulps: Update.
42687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42688
42689 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42690
42691 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42692 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42693
42694 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42695
42696 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42697
42698 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42699 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42700 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42701 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42702 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42703 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42704 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42705 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42706 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42707 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42708 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42709 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42710 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42711 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42712 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42713 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42714 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42715 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42716 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42717 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42718 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42719 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42720 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42721 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42722 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42723 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42724 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42725 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42726 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42727 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42728 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42729
42730 2012-05-18 Andreas Jaeger <aj@suse.de>
42731
42732 * csu/.gitignore: Delete.
42733
42734 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42735
42736 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42737 (timex): Use __syscall_slong_t.
42738
42739 2012-05-18 Andreas Jaeger <aj@suse.de>
42740 Carlos O'Donell <carlos_odonell@mentor.com>
42741
42742 * manual/install.texi (Configuring and compiling): Update
42743 description about files modified in the source directory.
42744 * INSTALL: Regenerated.
42745
42746 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42747
42748 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42749 value. Use "or" to set return value to -1.
42750 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42751 negate return value.
42752
42753 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42754
42755 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42756 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42757 failure if the compiler has Graphite support disabled.
42758 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42759 Likewise.
42760 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42761 (CFLAGS-memmove.c): Likewise.
42762 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42763 Likewise.
42764
42765 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42766
42767 * sysdeps/x86_64/x32/_itoa.h: New file.
42768
42769 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42770 getdents system call only if kernel and user dirents have the
42771 same d_ino and d_off.
42772
42773 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42774 LLONG_MAX != LONG_MAX.
42775 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42776 (_fitoa_word): Likewise.
42777
42778 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42779 years.
42780 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42781 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42782 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42783
42784 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42785 include <bits/wordsize.h>. Check __x86_64__ instead of
42786 __WORDSIZE.
42787 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42788 if __x86_64__ is defined. Use anonymous union on fpstate.
42789
42790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42791 anonymous union.
42792
42793 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42794
42795 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42796 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42797 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42798 Refer to _rtld_local_ro instead of _rtld_global_ro.
42799 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42800 Likewise.
42801 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42802 Likewise.
42803 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42804 Likewise.
42805 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42806 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42807 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42808
42809 * sysdeps/powerpc/powerpc32/dl-machine.c
42810 (__elf_machine_runtime_setup) [PROF]: Don't reference
42811 _dl_prof_resolve.
42812
42813 2012-05-18 Andreas Jaeger <aj@suse.de>
42814
42815 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42816 function only available for GCCs before 3.4 since GCC 3.4
42817 introduced a builtin.
42818 (lrint): Likewise.
42819 (llrintf): Likewise.
42820 (llrint): Likewise.
42821 (fmaxf): Likewise.
42822 (fmax): Likewise.
42823 (fminf): Likewise.
42824 (fmin): Likewise.
42825 (rint): Likewise.
42826 (rintf): Likewise.
42827 (nearbyint): Likewise.
42828 (nearbyintf): Likewise.
42829 (ceil): Likewise.
42830 (ceilf): Likewise.
42831 (floor): Likewise.
42832 (floorf): Likewise.
42833
42834 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42835
42836 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42837 on both fields and cast pointer to __syscall_ulong_t.
42838
42839 * bits/types.h (__fsword_t): New type.
42840 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42841 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42843 (__FSWORD_T_TYPE): Likewise.
42844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42845 (__FSWORD_T_TYPE): Likewise.
42846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42847 (__FSWORD_T_TYPE): Likewise.
42848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42849 (__FSWORD_T_TYPE): Likewise.
42850 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42851 __SWORD_TYPE with __fsword_t.
42852 (statfs64): Likewise.
42853
42854 2012-05-17 David S. Miller <davem@davemloft.net>
42855
42856 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42857
42858 2012-05-17 Andreas Jaeger <aj@suse.de>
42859
42860 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42861 warning.
42862
42863 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42864
42865 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42866
42867 2012-05-17 Andreas Jaeger <aj@suse.de>
42868
42869 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42870 when it is used.
42871
42872 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42873
42874 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42875
42876 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42877
42878 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42879 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42880
42881 2012-05-17 Andreas Jaeger <aj@suse.de>
42882 Carlos O'Donell <carlos_odonell@mentor.com>
42883
42884 [BZ #14059]
42885 * sysdeps/x86_64/multiarch/init-arch.h
42886 (bit_YMM_Usable): Rename to...
42887 (bit_AVX_Usable): ... this.
42888 (bit_FMA4_Usable): New macro.
42889 (bit_XMM_state): New macro.
42890 (bit_YMM_state): New macro.
42891 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42892 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42893 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42894 (CPUID_OSXSAVE): New macro.
42895 (CPUID_AVX): New macro.
42896 (CPUID_FMA4): New macro.
42897 (index_YMM_Usable): Rename to...
42898 (index_AVX_Usable): ... this.
42899 (HAS_AVX): Use HAS_ARCH_FEATURE.
42900 (HAS_FMA4): Likewise.
42901 (HAS_YMM_USABLE): Remove.
42902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42903 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42904 are present.
42905 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42906 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42907 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42908 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42909 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42910
42911 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42912
42913 * math/libm-test.c: Support platforms without multiple rounding modes.
42914 * math/bug-nextafter.c: Support platforms without FP exceptions.
42915 * math/bug-nexttoward.c: Likewise.
42916 * math/test-fenv.c: Likewise.
42917 * math/test-misc.c: Likewise.
42918 * stdlib/bug-getcontext.c: Likewise.
42919
42920 2012-05-17 Andreas Jaeger <aj@suse.de>
42921
42922 * manual/examples/search.c (critter_cmp): Change signature to
42923 avoid warnings.
42924 * manual/string.texi (Collation Functions): Likewise.
42925
42926 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42927
42928 * bits/types.h: Fold copyright years.
42929 * bits/typesizes.h: Likewise.
42930 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42931 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42932 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42934 * time/time.h: Likewise.
42935
42936 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42937
42938 [BZ #208]
42939 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42940 in instead of returning them. Return void.
42941 (__libc_mallinfo): Accumulate over all arenas.
42942 (__malloc_stats): Adjust for change in int_mallinfo interface.
42943
42944 2012-05-16 Roland McGrath <roland@hack.frob.com>
42945
42946 [BZ #10375]
42947 * configure.in (NM): Add AC_CHECK_TOOL for it.
42948 (libc_extra_cflags): New substituted variable.
42949 Check for -fstack-protector being used implicitly.
42950 * configure: Regenerated.
42951 * config.make.in (config-extra-cflags): New variable,
42952 gets @libc_extra_cflags@.
42953 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42954
42955 [BZ #10375]
42956 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42957 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42958 * configure: Regenerated.
42959 * config.make.in (CPPUNDEFS): New substituted variable.
42960 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42961 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42962 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42963
42964 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42965
42966 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42967 (mq_attr): Use __syscall_slong_t.
42968
42969 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42970
42971 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42972 Check __x86_64__ instead of __WORDSIZE.
42973 (_STAT_VER_LINUX): Likewise.
42974 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42975 __syscall_ulong_t and __syscall_slong_t.
42976 (stat64): Likewise.
42977
42978 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42979
42980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42981
42982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42983
42984 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42985
42986 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42987
42988 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42989 __syscall_ulong_t.
42990
42991 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42992 include <bits/wordsize.h>. Check __x86_64__ instead of
42993 __WORDSIZE.
42994 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42995 defined.
42996 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42997
42998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42999 include <bits/wordsize.h>. Check __x86_64__ instead of
43000 __WORDSIZE.
43001 (user_regs_struct): Use "__extension__ unsigned long long"
43002 instead of "unsigned long" if __x86_64__ is defined.
43003 (user): Likewise. Pad after pointer field if __ILP32__ is
43004 defined.
43005
43006 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43007
43008 * configure.in (makeinfo): Require version 4.5 or later. Allow
43009 versions 5 to 9.
43010 * configure: Regenerated.
43011 * manual/install.texi (texinfo): Increase version requirement to
43012 4.5 or later.
43013 * INSTALL: Regenerated.
43014
43015 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43016
43017 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43018
43019 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43020
43021 * sysdeps/x86_64/x32/ffs.c: New file.
43022
43023 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43024 __syscall_ulong_t.
43025 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43026 defined. Use __syscall_ulong_t.
43027 (shminfo): Use __syscall_ulong_t.
43028 (shm_info): Likewise.
43029
43030 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43031 __syscall_ulong_t.
43032
43033 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43034 <bits/wordsize.h>.
43035 (msgqnum_t): Use __syscall_ulong_t.
43036 (msglen_t): Likewise.
43037 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43038 __syscall_ulong_t.
43039
43040 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43041 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43042
43043 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43044
43045 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43046 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43047
43048 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43049 __syscall_slong_t.
43050
43051 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43052 include <bits/wordsize.h>. Check __x86_64__ instead of
43053 __WORDSIZE.
43054
43055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43056 "unsigned long long int" if __x86_64__ is defined.
43057 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43058
43059 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43060 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43061 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43062
43063 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43064 <stdint.h>.
43065 (GET_PC): Cast to uintptr_t first.
43066 (GET_FRAME): Likewise.
43067 (GET_STACK): Likewise.
43068
43069 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43070 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43075 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43076 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43077 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43078 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43082 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43083 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43084 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43085 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43087 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43088 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43089 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43090 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43091 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43092 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43093 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43094 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43095 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43096 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43097 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43098
43099 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43100
43101 * Makerules (+depfiles): Also collect depfiles from .oS in
43102 $(extra-objs).
43103 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43104 .oS, $(libnldbl-routines)).
43105
43106 * Makerules (native-compile-mkdep-flags): Define.
43107 * sunrpc/Makefile (extra-objs): Add $(addprefix
43108 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43109 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43110 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43111 calling $(make-target-directory).
43112
43113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43114
43115 * bits/types.h (__snseconds_t): Removed.
43116 * time/time.h (struct timespec): Replace __snseconds_t with
43117 __syscall_slong_t.
43118 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43119 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43120 Likewise.
43121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43122 (__SNSECONDS_T_TYPE): Likewise.
43123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43124 (__SNSECONDS_T_TYPE): Likewise.
43125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43126 (__SNSECONDS_T_TYPE): Likewise.
43127
43128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43129
43130 * sysdeps/mach/hurd/bits/typesizes.h
43131 (__SYSCALL_SLONG_TYPE): New macro.
43132 (__SYSCALL_ULONG_TYPE): Likewise.
43133
43134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43135
43136 * bits/types.h (__syscall_slong_t): New type.
43137 (__syscall_ulong_t): Likewise.
43138
43139 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43140 (__SYSCALL_ULONG_TYPE): Likewise.
43141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43142 (__SYSCALL_SLONG_TYPE): Likewise.
43143 (__SYSCALL_ULONG_TYPE): Likewise.
43144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43145 (__SYSCALL_SLONG_TYPE): Likewise.
43146 (__SYSCALL_ULONG_TYPE): Likewise.
43147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43148 (__SYSCALL_SLONG_TYPE): Likewise.
43149 (__SYSCALL_ULONG_TYPE): Likewise.
43150
43151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43152
43153 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43154 Add sigaltstack-offsets.sym.
43155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43156 <sigaltstack-offsets.h>.
43157 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43158 longjmp_msg pointer.
43159 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43160 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43161 signal stack.
43162 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43163
43164 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43165
43166 * elf/stackguard-macros.h: Remove file.
43167 * sysdeps/generic/stackguard-macros.h: New file.
43168 * sysdeps/i386/stackguard-macros.h: Likewise.
43169 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43170 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43171 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43172 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43173 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43174 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43175 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43176 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43177 <elf/stackguard-macros.h>.
43178
43179 [BZ #14109]
43180 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43181 __aligned__ in attribute.
43182 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43183 (gregset_t): Likewise.
43184
43185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43186
43187 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43188 * sysdeps/x86_64/64/Implies-after: Here. New file.
43189 * sysdeps/x86_64/x32/Implies-after: New file.
43190
43191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43192
43193 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43194 and access return value for _dl_profile_fixup. Use R10_LP to
43195 load frame size.
43196
43197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43198
43199 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43200
43201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43202
43203 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43204 * sysdeps/x86_64/x32/sysdep.h: New file.
43205
43206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43207
43208 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43209 * sysdeps/x86_64/setjmp.S: Likewise.
43210
43211 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43212
43213 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43214 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43215 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43217 remove unused global constant.
43218
43219 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43220
43221 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43222 include of <not-cancel.h>.
43223
43224 2012-05-15 Roland McGrath <roland@hack.frob.com>
43225
43226 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43227
43228 2012-05-15 Jeff Law <law@redhat.com>
43229 Andreas Jaeger <aj@suse.de>
43230
43231 [BZ #13594]
43232 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43233 out from...
43234 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43235 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43236 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43237 code changing __hst_map_handle.map.
43238
43239 2012-05-15 Roland McGrath <roland@hack.frob.com>
43240
43241 * configure.in (sysnames): Look for Implies-before and Implies-after
43242 files.
43243 * configure: Regenerated.
43244
43245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43246
43247 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43248 8-byte data alignment with LP_SIZE alignment.
43249
43250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43251
43252 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43253 into R10_LP.
43254
43255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43256
43257 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43258
43259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43260
43261 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43262 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43263 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43264 Likewise.
43265 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43266
43267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43268
43269 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43270 (stackinfo_sub_sp): Likewise.
43271
43272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43273
43274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43275 RAX_LP.
43276
43277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43278
43279 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43280 into R*_LP.
43281
43282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43283
43284 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43285 sizes into R*_LP.
43286
43287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43288
43289 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43290
43291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43292
43293 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43294 into R11_LP and load __x86_64_shared_cache_size_half into
43295 R8_LP.
43296
43297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43298
43299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43300 R8_LP.
43301
43302 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43303
43304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43305 logb for POWER7.
43306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43307 logbf for POWER7.
43308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43309 logbl for POWER7.
43310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43311 powerpc32/power7/fpu/s_logb.c via #include.
43312 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43313 powerpc32/power7/fpu/s_logbf.c via #include.
43314 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43315 powerpc32/power7/fpu/s_logbl.c via #include.
43316
43317 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43318
43319 * README.libm: Remove file.
43320
43321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43322
43323 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43324 count for x32. Use R*_LP and omit operand-size suffix.
43325
43326 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43327
43328 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43329 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43330 * sysdeps/x86_64/x32/shlib-versions: New file.
43331
43332 2012-05-14 Roland McGrath <roland@hack.frob.com>
43333
43334 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43335 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43336 Use _dl_fatal_printf instead.
43337
43338 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43339
43340 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43341 set if not set by the user. Do not allow for being unset.
43342 * sysdeps/unix/sysv/linux/configure: Regenerated.
43343
43344 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43345
43346 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43347 the `q' suffix from lea and replace .quad with ASM_ADDR.
43348
43349 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43350
43351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43352 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43353 instead of $17.
43354 (PTR_DEMANGLE): Likewise.
43355
43356 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43357
43358 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43359 (LP_OP): Likewise.
43360 (ASM_ADDR): Likewise.
43361 (RAX_LP): Likewise.
43362 (RBP_LP): Likewise.
43363 (RBX_LP): Likewise.
43364 (RCX_LP): Likewise.
43365 (RDI_LP): Likewise.
43366 (RSI_LP): Likewise.
43367 (RSP_LP): Likewise.
43368 (R8_LP): Likewise.
43369 (R9_LP): Likewise.
43370 (R10_LP): Likewise.
43371 (R10_LP): Likewise.
43372 (R11_LP): Likewise.
43373 (R12_LP): Likewise.
43374 (R13_LP): Likewise.
43375 (R14_LP): Likewise.
43376 (R15_LP): Likewise.
43377
43378 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43379
43380 * sysdeps/x86_64/x32/dl-machine.h: New file.
43381
43382 2012-05-14 Andreas Jaeger <aj@suse.de>
43383
43384 * manual/Makefile (subdir): Remove export of subdir.
43385 (all): Remove target.
43386 (.PHONY): Remove all from list.
43387 (mkinstalldirs): Remove.
43388 (.PHONY): Remove installdirs from list.
43389 ($(inst_infodir)/libc.info): Use make-target-directory.
43390 (installdirs): Remove.
43391 (subdir_%): Remove.
43392 (glibc-targets): Remove.
43393 (lib): Remove.
43394 (stubs): Remove.
43395 ($(objpfx)stubs ../po/manual.pot): Remove.
43396 ($(objpfx)stamp%): Remove.
43397 (make-target-directory): Remove.
43398 (subdir_install): Remove.
43399 (routines): Remove.
43400 (aux): Remove.
43401 (sources): Remove.
43402 (objects): Remove.
43403 (headers): Remove.
43404
43405 [BZ #13750]
43406 * manual/.gitignore: Remove, it's not needed anymore.
43407 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43408 all files in it.
43409 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43410 directory.
43411 (texis): Renamed to $(objpfx)texis.
43412 (texis-path): New, contains path to generated files.
43413 (chapters.%): Use texis-path for complete path, add extra argument
43414 libc-texinfo.sh.
43415 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43416 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43417 (summary,texi, stamp-summary): Use complete path of
43418 files. Generate files in build dir.
43419 (dir-add.texi): Build in build dir.
43420 (libm-err.texi,stamp-libm-err): Likewise.
43421 (version.texi, stamp-version): Likewise.
43422 (.%c.texi): Likewise.
43423 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43424 (mostlyclean): Remove target.
43425 (realclean): Remove target.
43426 (generated): Add new variable with contents from mostlyclean and
43427 realclean, remove entries duplicated in common-mostlyclean, add
43428 stamp-libm-err and stamp-version.
43429 (generated-dirs): Add libc directory.
43430 ($(inst_infodir)/libc.info): Install files from build dir.
43431
43432 * manual/install.texi (Configuring and compiling): Adjust since
43433 the info files are not part of the tar ball anymore.
43434
43435 2012-05-14 Andreas Jaeger <aj@suse.de>
43436
43437 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43438 variable.
43439
43440 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43441
43442 [BZ #13717]
43443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43444 to 2.2.0 where earlier.
43445 * sysdeps/unix/sysv/linux/configure: Regenerated.
43446 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43447 Remove conditional code.
43448 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43449 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43450 Remove conditional code.
43451 [!__NR_lchown]: Likewise.
43452 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43453 [__NR_lchown]: Likewise.
43454 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43455 comment referencing __ASSUME_LCHOWN_SYSCALL.
43456 * sysdeps/unix/sysv/linux/i386/sigaction.c
43457 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43458 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43459 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43460 Remove conditional code.
43461 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43462 (__protocol_available): Remove #if 0 code.
43463 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43464 conditional code.
43465 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43466 * sysdeps/unix/sysv/linux/kernel-features.h
43467 (__ASSUME_GETCWD_SYSCALL): Don't define.
43468 (__ASSUME_REALTIME_SIGNALS): Likewise.
43469 (__ASSUME_PREAD_SYSCALL): Likewise.
43470 (__ASSUME_PWRITE_SYSCALL): Likewise.
43471 (__ASSUME_POLL_SYSCALL): Likewise.
43472 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43473 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43474 non-SPARC.
43475 (__ASSUME_SIOCGIFNAME): Don't define.
43476 (__ASSUME_MSG_NOSIGNAL): Likewise.
43477 (__ASSUME_SENDFILE): Define unconditionally.
43478 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43479 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43480 conditional code.
43481 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43482 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43483 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43484 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43485 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43486 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43487 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43489 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43490 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43492 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43495 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43498 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43512 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43513 Remove conditional code.
43514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43515 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43516 Remove conditional code.
43517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43518 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43519 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43520 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43521 Remove conditional code.
43522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43523 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43524 Remove conditional code.
43525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43526 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43527 Remove conditional code.
43528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43529 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43530 Remove conditional code.
43531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43532 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43533 Remove conditional code.
43534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43535 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43538 * sysdeps/unix/sysv/linux/sigaction.c
43539 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43540 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43541 * sysdeps/unix/sysv/linux/sigpending.c
43542 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43543 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43544 * sysdeps/unix/sysv/linux/sigprocmask.c
43545 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43546 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43547 * sysdeps/unix/sysv/linux/sigsuspend.c
43548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43550 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43551 (__libc_missing_rt_sigs): Remove.
43552 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43553 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43554 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43555 Remove conditional code.
43556 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43557 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43558 return 1.
43559 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43560 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43561 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43562 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43563
43564 2012-05-14 Andreas Jaeger <aj@suse.de>
43565
43566 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43567 it's not used in glibc.
43568 (__coshm1): Likewise.
43569 (__acosh1p): Likewise.
43570 (__sgn): Likewise.
43571
43572 * manual/string.texi (Copying and Concatenation): Add missing
43573 variable in concat example.
43574 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43575
43576 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43577
43578 [BZ #14103]
43579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43580 __builtin_clzl with __builtin_clzll.
43581
43582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43583
43584 [BZ #14104]
43585 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43586 libc_freeres_ptr.
43587
43588 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43589
43590 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43591 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43592 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43593 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43594
43595 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43596
43597 * NEWS: Update ia64 info.
43598
43599 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43600
43601 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43602 used as bcopy.
43603
43604 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43605
43606 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43607 * sysdeps/unix/syscalls.list (dup3): Likewise.
43608 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43609 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43610
43611 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43612
43613 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43614 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43615
43616 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43617
43618 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43619 thread pointer.
43620 (TLS_IE): Use mov/add instead of movq/addq to load thread
43621 pointer.
43622 (TLS_GD_PREFIX): New.
43623 (TLS_GD): Use it.
43624
43625 2012-05-11 David S. Miller <davem@davemloft.net>
43626
43627 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43628 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43629 (_FPU_SETCW): Likewise.
43630
43631 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43632
43633 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43634 is 32-byte aligned.
43635
43636 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43637
43638 [BZ #11837]
43639 * iconvdata/gb18030.c: Update tables.
43640 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43641 characters specially.
43642 (BODY for TO_LOOP): Add encoding of missing ranges.
43643
43644 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43645
43646 [BZ #13673]
43647 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43648 * sysdeps/mach/hurd/dup3.c: Likewise.
43649 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43650 * sysdeps/powerpc/memmove.c:: Likewise.
43651
43652 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43653
43654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43655 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43656
43657 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43658
43659 * elf/elf.h (R_X86_64_RELATIVE64): New.
43660 (R_X86_64_NUM): Updated.
43661 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43662 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43663 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43664 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43665 tst-quad1pie tst-quad2pie
43666 (modules-names): Add tst-quadmod1 tst-quadmod2.
43667 ($(objpfx)tst-quad1): New dependency.
43668 ($(objpfx)tst-quad2): Likewise.
43669 ($(objpfx)tst-quad1pie): Likewise.
43670 ($(objpfx)tst-quad2pie): Likewise.
43671 * sysdeps/x86_64/tst-quad1.c: New file.
43672 * sysdeps/x86_64/tst-quad1pie.c: New file.
43673 * sysdeps/x86_64/tst-quad2.c: Likewise.
43674 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43675 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43676 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43677 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43678 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43679
43680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43681
43682 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43683 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43684 * streams/stropts.h (t_scalar_t): Define type.
43685
43686 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43687 (_PATH_PRESERVE): Set to "/var/lib".
43688 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43689
43690 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43691 instead of int.
43692
43693 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43694 if __dir_mkfile succeeded.
43695
43696 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43697 checking for _hurd_dtablesize. Unlock it right after having
43698 finished _hurd_dtable allocation.
43699
43700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43701
43702 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43703 * sysdeps/mach/hurd/configure: Regenerated.
43704 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43705 special-casing to...
43706 * sysdeps/gnu/configure.in: ... this new file.
43707 * sysdeps/unix/sysv/linux/configure: Regenerated.
43708 * sysdeps/gnu/configure: New generated file.
43709
43710 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43711 for Linux: use nsec instead of usec, as well as:
43712 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43713 members of type struct timespec.
43714 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43715 New macros.
43716 (struct stat64): Likewise.
43717 (_STATBUF_ST_NSEC): New macro.
43718 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43719
43720 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43721 __strtoul_internal rather than strtoul.
43722
43723 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43724
43725 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43726 and reject them.
43727
43728 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43729
43730 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43731 which preserves existing values.
43732 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43733
43734 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43735
43736 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43737 TIMEOUT values. Return EINVAL for NFDS values either negative or
43738 greater than FD_SETSIZE.
43739
43740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43741
43742 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43743 allocated, call __vm_protect to finish enabling the existing space, and
43744 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43745 allocate the remainder.
43746
43747 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43748
43749 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43750 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43751
43752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43753
43754 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43755 sysdeps/mach/hurd/readlink.c.
43756
43757 * posix/tst-sysconf.c (posix_options): Only use
43758 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43759 _POSIX_SYNCHRONIZED_IO when they are defined
43760 * sysdeps/mach/hurd/bits/posix_opt.h:
43761 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43762 (_XOPEN_REALTIME): Undefine macro.
43763 (_XOPEN_REALTIME_THREADS): Undefine macro.
43764 (_XOPEN_SHM): Undefine macro.
43765 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43766 macro to -1.
43767 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43768 macro to -1.
43769 (_POSIX_ASYNC_IO): Undefine macro.
43770 (_POSIX_PRIORITIZED_IO): Undefine macro.
43771 (_POSIX_SPIN_LOCKS): Define macro to -1.
43772
43773 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43774 SA_NODEFER, SA_RESETHAND.
43775 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43776 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43777 F_DUPFD_CLOEXEC.
43778
43779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43780
43781 * elf/Makefile (pldd-modules): Define unconditionally.
43782
43783 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43784
43785 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43786
43787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43788
43789 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43790 Return ENOENT when name is empty.
43791 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43792
43793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43794
43795 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43796
43797 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43798
43799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43800
43801 Fix mlock in all cases except non-readable pages.
43802 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43803 instead of VM_PROT_ALL as parameter to __vm_wire function.
43804
43805 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43806 (__mkdir): When path is `/', just fail with EEXIST.
43807 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43808
43809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43810
43811 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43812 <sys/uio.h> (for writev).
43813 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43814 and <sys/param.h> (for MIN).
43815
43816 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43817
43818 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43819 REQUESTED_TIME. Properly set the remaining time and return EINTR
43820 if interrupted.
43821
43822 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43823
43824 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43825 Depend on against $(link-rpcuserlibs).
43826
43827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43828
43829 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43830 (__libc_stack_end): Do not use attribute_relro.
43831 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43832 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43833 to libthread-provided value.
43834 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43835 attribute_relro.
43836
43837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43838
43839 [BZ #3748]
43840 * bits/libc-lock.h (__libc_once_get): New macro.
43841 * sysdeps/mach/bits/libc-lock.h: Likewise.
43842 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43844 instead of using implementation details.
43845
43846 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43847 * libio/freopen.c: Likewise.
43848 * libio/freopen64.c: Likewise.
43849 * misc/syslog.c: Likewise.
43850 * nscd/connections.c: Likewise.
43851 * nscd/netgroupcache.c: Likewise.
43852 * sysdeps/posix/getcwd.c: Likewise.
43853
43854 2012-05-10 Roland McGrath <roland@hack.frob.com>
43855
43856 * math/w_ilogbf.c: Add #include <limits.h>.
43857
43858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43859
43860 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43861 path instead of returning without unlocking.
43862
43863 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43864 immediate-write ioctls.
43865 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43866
43867 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43868
43869 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43870 __builtin_frame_address instead of making assumptions about the
43871 location of the return address relative to DATA. Force early load of
43872 the return address.
43873 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43874 __builtin_frame_address.
43875
43876 dup3 for GNU Hurd.
43877 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43878 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43879 implement dup3 and do some further code clean-ups.
43880 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43881 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43882
43883 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43884
43885 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43886
43887 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43888 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43889 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43890 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43891 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43892 d->port.lock.
43893
43894 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43895 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43896 when handler == SIG_ERR, not when handler != SIG_ERR.
43897
43898 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43899
43900 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43901 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43902 definitions.
43903
43904 accept4 for GNU Hurd.
43905 * include/sys/socket.h (__libc_accept4): New prototype.
43906 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43907 to implement __libc_accept4.
43908 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43909 __libc_accept4.
43910 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43911
43912 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43913 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43914 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43915 signal-defines.sym.
43916
43917 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43918
43919 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43920
43921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43922
43923 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43924 assertion on O_CLOEXEC flag.
43925 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43926 * hurd/intern-fd.c: Likewise.
43927 * hurd/port2fd.c: Likewise.
43928
43929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43930
43931 [BZ #3906]
43932 * bits/in.h (IPV6_PKTINFO): Define new macro.
43933 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43934
43935 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43936
43937 [BZ #13954]
43938 [BZ #13955]
43939 [BZ #13956]
43940 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43942 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43943 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43944 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43945 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43946 * math/libm-test.inc (logb_test) : Additional logb tests.
43947
43948 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43949 Andreas Jaeger <aj@suse.de>
43950
43951 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43952 * configure: Regenerated.
43953 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43954 * config.make.in (link-obsolete-rpc): New substituted variable.
43955 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43956 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43957 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43958 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43959 so that libc.a contains the symbols.
43960 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43961 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43962 * sunrpc/auth_none.c: Likewise.
43963 * sunrpc/auth_unix.c: Likewise.
43964 * sunrpc/authdes_prot.c: Likewise.
43965 * sunrpc/authuxprot.c: Likewise.
43966 * sunrpc/clnt_gen.c: Likewise.
43967 * sunrpc/clnt_perr.c: Likewise.
43968 * sunrpc/clnt_raw.c: Likewise.
43969 * sunrpc/clnt_simp.c: Likewise.
43970 * sunrpc/clnt_tcp.c: Likewise.
43971 * sunrpc/clnt_udp.c: Likewise.
43972 * sunrpc/clnt_unix.c: Likewise.
43973 * sunrpc/des_crypt.c: Likewise.
43974 * sunrpc/des_soft.c: Likewise.
43975 * sunrpc/get_myaddr.c: Likewise.
43976 * sunrpc/key_call.c: Likewise.
43977 * sunrpc/key_prot.c: Likewise.
43978 * sunrpc/netname.c: Likewise.
43979 * sunrpc/pm_getmaps.c: Likewise.
43980 * sunrpc/pm_getport.c: Likewise.
43981 * sunrpc/pmap_clnt.c: Likewise.
43982 * sunrpc/pmap_prot.c: Likewise.
43983 * sunrpc/pmap_prot2.c: Likewise.
43984 * sunrpc/pmap_rmt.c: Likewise.
43985 * sunrpc/publickey.c: Likewise.
43986 * sunrpc/rpc_cmsg.c: Likewise.
43987 * sunrpc/rpc_common.c: Likewise.
43988 * sunrpc/rpc_dtable.c: Likewise.
43989 * sunrpc/rpc_prot.c: Likewise.
43990 * sunrpc/rpc_thread.c: Likewise.
43991 * sunrpc/rtime.c: Likewise.
43992 * sunrpc/svc.c: Likewise.
43993 * sunrpc/svc_auth.c: Likewise.
43994 * sunrpc/svc_raw.c: Likewise.
43995 * sunrpc/svc_run.c: Likewise.
43996 * sunrpc/svc_tcp.c: Likewise.
43997 * sunrpc/svc_udp.c: Likewise.
43998 * sunrpc/svc_unix.c: Likewise.
43999 * sunrpc/svcauth_des.c: Likewise.
44000 * sunrpc/xcrypt.c: Likewise.
44001 * sunrpc/xdr.c: Likewise.
44002 * sunrpc/xdr_array.c: Likewise.
44003 * sunrpc/xdr_float.c: Likewise.
44004 * sunrpc/xdr_intXX_t.c: Likewise.
44005 * sunrpc/xdr_mem.c: Likewise.
44006 * sunrpc/xdr_rec.c: Likewise.
44007 * sunrpc/xdr_ref.c: Likewise.
44008 * sunrpc/xdr_sizeof.c: Likewise.
44009 * sunrpc/xdr_stdio.c: Likewise.
44010
44011 2012-05-10 Roland McGrath <roland@hack.frob.com>
44012
44013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44014 change. Update copyright years.
44015
44016 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44017
44018 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44019
44020 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44021 Joseph Myers <joseph@codesourcery.com>
44022 Paul Pluzhnikov <ppluzhnikov@google.com>
44023
44024 [BZ #14012]
44025 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44026 requiring rpcgen.
44027 [cross-compiling] (extra-libs): Likewise.
44028 [cross-compiling] (extra-libs-others): Likewise.
44029 [cross-compiling] (librpcsvc-routines): Likewise.
44030 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44031 [cross-compiling] (omit-deps): Likewise.
44032 (sunrpc-CPPFLAGS): New variable.
44033 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44034 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44035 (cross-rpcgen-objs): New variable.
44036 (extra-objs): Append $(cross-rpcgen-objs).
44037 ($(cross-rpcgen-objs)): New rule.
44038 ($(objpfx)cross-rpcgen): Likewise.
44039 (rpcgen-cmd): Define to use $(built-program-file). Expand
44040 comment.
44041 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44042 ($(objpfx)x%.stmp): Likewise.
44043 * sunrpc/proto.h [IS_IN_build] (_): Define.
44044 [IS_IN_build] (_libc_intl_domainname): Likewise.
44045
44046 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44047
44048 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44049 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44050 and R_X86_64_TPOFF64.
44051
44052 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44053
44054 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44055 sysdeps/unix/sysv/syscalls.list.
44056 (stime): Likewise.
44057 (utime): Likewise.
44058 * sysdeps/unix/sysv/syscalls.list: Remove file.
44059
44060 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44061
44062 [BZ #3440]
44063 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44064 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44065 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44066 (__LC_IDENTIFICATION): Make these macros useful in #if
44067 expressions, as required by C99.
44068
44069 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44070
44071 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44072 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44073 after this.
44074
44075 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44076
44077 * stdlib/longlong.h: Updated from GCC.
44078
44079 2012-05-09 Andreas Jaeger <aj@suse.de>
44080
44081 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44082 default is first entry.
44083 (run_mode): Set type.
44084 (main): Remove informal message about syslog.
44085 (options): Fix typo.
44086
44087 [BZ #14053]
44088 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44089 to asm.
44090 (lrint): Likewise.
44091 (llrintf): Likewise.
44092 (llrint): Likewise.
44093 (rint): Likewise.
44094 (rintf): Likewise.
44095 (nearbyint): Likewise.
44096 (nearbyintf): Likewise.
44097
44098 2012-05-09 Andreas Jaeger <aj@suse.de>
44099 Pedro Alves <palves@redhat.com>
44100
44101 * nscd/nscd.c (run_mode): Use enum.
44102 (main): Cleanup coding style issue.
44103
44104 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44105 Andreas Jaeger <aj@suse.de>
44106
44107 * nscd/nscd.c (go_background): Replaced with...
44108 (run_mode): ... this.
44109 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44110 (options): Add -F --foreground.
44111 (main): Implement it.
44112 (parse_opt): Parse it.
44113
44114 2012-05-09 Andreas Jaeger <aj@suse.de>
44115
44116 [BZ #14083]
44117 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44118 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44119 -Wconversion warning.
44120 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44121 Likewise.
44122
44123 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44124
44125 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44126 == 0.
44127 (LC_ALL): Use macro-int-constant.
44128 (LC_COLLATE): Likewise.
44129 (LC_CTYPE): Likewise.
44130 (LC_MESSAGES): Likewise.
44131 (LC_MONETARY): Likewise.
44132 (LC_NUMERIC): Likewise.
44133 (LC_TIME): Likewise.
44134 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44135 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44136 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44137 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44138 Specify type.
44139 [C99-based standards] (float_t): Expect type.
44140 [C99-based standards] (double_t): Expect type.
44141 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44142 type.
44143 [C99-based standards] (HUGE_VALL): Likewise.
44144 [C99-based standards] (INFINITY): Likewise.
44145 [C99-based standards] (NAN): Likewise.
44146 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44147 [C99-based standards] (FP_NAN): Likewise.
44148 [C99-based standards] (FP_NORMAL): Likewise.
44149 [C99-based standards] (FP_SUBNORMAL): Likewise.
44150 [C99-based standards] (FP_ZERO): Likewise.
44151 [C99-based standards] (FP_FAST_FMA): Use
44152 optional-macro-int-constant. Specify type. Require == 1.
44153 [C99-based standards] (FP_FAST_FMAF): Likewise.
44154 [C99-based standards] (FP_FAST_FMAL): Likewise.
44155 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44156 [C99-based standards] (FP_ILOGBNAN): Likewise.
44157 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44158 Specify type.
44159 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44160 [C99-based standards] (math_errhandling): Specify type.
44161 [ISO99 || ISO11] (signgam): Do not allow.
44162 [non-C99-based standards] (copysignf): Do not allow.
44163 [non-C99-based standards] (exp2f): Likewise.
44164 [non-C99-based standards] (log2f): Likewise.
44165 [non-C99-based standards] (modff): Allow.
44166 [non-C99-based standards] (erff): Do not allow.
44167 [non-C99-based standards] (erfcf): Likewise.
44168 [non-C99-based standards] (gammaf): Likewise.
44169 [non-C99-based standards] (hypotf): Likewise.
44170 [non-C99-based standards] (j0f): Likewise.
44171 [non-C99-based standards] (j1f): Likewise.
44172 [non-C99-based standards] (jnf): Likewise.
44173 [non-C99-based standards] (lgammaf): Likewise.
44174 [non-C99-based standards] (tgammaf): Likewise.
44175 [non-C99-based standards] (y0f): Likewise.
44176 [non-C99-based standards] (y1f): Likewise.
44177 [non-C99-based standards] (ynf): Likewise.
44178 [non-C99-based standards] (isnanf): Likewise.
44179 [non-C99-based standards] (acoshf): Likewise.
44180 [non-C99-based standards] (asinhf): Likewise.
44181 [non-C99-based standards] (atanhf): Likewise.
44182 [non-C99-based standards] (cbrtf): Likewise.
44183 [non-C99-based standards] (expm1f): Likewise.
44184 [non-C99-based standards] (ilogbf): Likewise.
44185 [non-C99-based standards] (log1pf): Likewise.
44186 [non-C99-based standards] (logbf): Likewise.
44187 [non-C99-based standards] (nextafterf): Likewise.
44188 [non-C99-based standards] (remainderf): Likewise.
44189 [non-C99-based standards] (rintf): Likewise.
44190 [non-C99-based standards] (scalbf): Likewise.
44191 [non-C99-based standards] (copysignl): Likewise.
44192 [non-C99-based standards] (exp2l): Likewise.
44193 [non-C99-based standards] (log2l): Likewise.
44194 [non-C99-based standards] (modfl): Allow.
44195 [non-C99-based standards] (erfl): Do not allow.
44196 [non-C99-based standards] (erfcl): Likewise.
44197 [non-C99-based standards] (gammal): Likewise.
44198 [non-C99-based standards] (hypotl): Likewise.
44199 [non-C99-based standards] (j0l): Likewise.
44200 [non-C99-based standards] (j1l): Likewise.
44201 [non-C99-based standards] (jnl): Likewise.
44202 [non-C99-based standards] (lgammal): Likewise.
44203 [non-C99-based standards] (tgammal): Likewise.
44204 [non-C99-based standards] (y0l): Likewise.
44205 [non-C99-based standards] (y1l): Likewise.
44206 [non-C99-based standards] (ynl): Likewise.
44207 [non-C99-based standards] (isnanl): Likewise.
44208 [non-C99-based standards] (acoshl): Likewise.
44209 [non-C99-based standards] (asinhl): Likewise.
44210 [non-C99-based standards] (atanhl): Likewise.
44211 [non-C99-based standards] (cbrtl): Likewise.
44212 [non-C99-based standards] (expm1l): Likewise.
44213 [non-C99-based standards] (ilogbl): Likewise.
44214 [non-C99-based standards] (log1pl): Likewise.
44215 [non-C99-based standards] (logbl): Likewise.
44216 [non-C99-based standards] (nextafterl): Likewise.
44217 [non-C99-based standards] (remainderl): Likewise.
44218 [non-C99-based standards] (rintl): Likewise.
44219 [non-C99-based standards] (scalbl): Likewise.
44220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44221 [non-C99-based standards] (FP_*): Do not allow.
44222 [C99-based standards] (FP_*): Change to
44223 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44224 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44225 allow.
44226 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44227 (SIG_ERR): Likewise.
44228 [X/Open-based standards] (SIG_HOLD): Likewise.
44229 (SIG_IGN): Likewise.
44230 (SIGABRT): Use macro-int-constant. Specify type. Require
44231 positive value.
44232 (SIGFPE): Likewise.
44233 (SIGILL): Likewise.
44234 (SIGINT): Likewise.
44235 (SIGSEGV): Likewise.
44236 (SIGTER): Likewise.
44237 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44238 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44239 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44240 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44241 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44242 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44243 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44244 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44245 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44246 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44247 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44248 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44249 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44250 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44251 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44252 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44253 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44254 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44255 [X/Open-based standards] (SIGTRAP): Likewise.
44256 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44257 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44258 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44259 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44260 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44261 allow.
44262
44263 2012-05-08 Ian Wienand <ianw@vmware.com>
44264
44265 [BZ #14080]
44266 * time/tzset.c (__tzset_parse_tz): Update default rules for
44267 daylight time changes in the Energy Policy Act of 2005.
44268
44269 2012-05-09 Andreas Jaeger <aj@suse.de>
44270
44271 [BZ #13983]
44272 * elf/ldconfig.c (parse_conf): Change string to make clear that
44273 ldconfig only issued a warning if ld.so.conf does not exist.
44274
44275 2012-05-08 David S. Miller <davem@davemloft.net>
44276
44277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44278 movxtod instead of popping the value on the stack.
44279
44280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44281
44282 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44283
44284 * config.h.in: Add HAVE_ARM_PCS_VFP.
44285
44286 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44287
44288 [BZ #13979]
44289 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44290 checking but the checks are disabled for any reason.
44291
44292 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44293
44294 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44295 and ELF64_R_TYPE with ELFW(R_TYPE).
44296
44297 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44298
44299 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44300 (ulimit): Likewise.
44301
44302 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44303 (settimeofday): Likewise.
44304
44305 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44306
44307 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44308 a struct th_u2 inside the union, and move tu_block/tu_code into
44309 a new th_u3 union of tu_block/tu_code inside of that. Move
44310 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44311 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44312 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44313 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44314 (th_stuff): Change to th_u1.tu_stuff.
44315 (th_data): Define.
44316 (th_msg): Change to th_u1.th_u2.tu_data.
44317
44318 2012-05-07 David S. Miller <davem@davemloft.net>
44319
44320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44321
44322 [BZ #14074]
44323 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44324 (SETUP_PIC_REG): Use it.
44325 (SETUP_PIC_REG_LEAF): Use it.
44326
44327 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44328
44329 [BZ #13885]
44330 [BZ #13923]
44331 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44332 USE_AS_EXPM1L.
44333 (EXPL_FINITE): Likewise.
44334 (FLDLOG): Likewise.
44335 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44336 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44337 e_expl.S.
44338 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44339 USE_AS_EXPM1L.
44340 (EXPL_FINITE): Likewise.
44341 (FLDLOG): Likewise.
44342 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44343 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44344 e_expl.S.
44345 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44346 test of -max_value argument for long double.
44347 * sysdeps/i386/fpu/libm-test-ulps: Update.
44348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44349
44350 2012-05-06 David S. Miller <davem@davemloft.net>
44351
44352 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44353 quad soft-float symbols whose references which are compiler
44354 generated.
44355 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44356
44357 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44358
44359 [BZ #13884]
44360 [BZ #13914]
44361 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44362 USE_AS_EXP10L.
44363 (EXPL_FINITE): Likewise.
44364 (FLDLOG): Likewise.
44365 (c0): Likewise.
44366 (c1): Likewise.
44367 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44368 Adjust comments for base varying.
44369 (__expl_finite): Change alias to EXPL_FINITE.
44370 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44371 e_expl.S.
44372 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44373 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44374 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44375 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44376 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44377 USE_AS_EXP10L.
44378 (EXPL_FINITE): Likewise.
44379 (FLDLOG): Likewise.
44380 (c0): Likewise.
44381 (c1): Likewise.
44382 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44383 Adjust comments for base varying.
44384 (__expl_finite): Change alias to EXPL_FINITE.
44385 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44386 tests for bugs.
44387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44388
44389 [BZ #14064]
44390 * math/libm-test.inc (check_float_internal): Correct ulp
44391 calculation for subnormal expected results.
44392
44393 2012-05-06 Andreas Jaeger <aj@suse.de>
44394
44395 * Makeconfig (+math-flags): New, set to -frounding-math.
44396 (+cflags): Add +math-flags so that all of glibc gets compiled with
44397 it.
44398
44399 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44400
44401 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44402
44403 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44404 Disable one test.
44405
44406 [BZ #13787]
44407 [BZ #13922]
44408 [BZ #14036]
44409 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44410 (__ieee754_expl): Allow for and saturate large arguments.
44411 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44412 (u_threshold): Likewise.
44413 (__exp): Call __ieee754_exp before checking for overflow and
44414 underflow.
44415 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44416 (u_threshold): Likewise.
44417 (__expf): Call __ieee754_expf before checking for overflow and
44418 underflow.
44419 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44420 (u_threshold): Likewise.
44421 (__expl): Call __ieee754_expl before checking for overflow and
44422 underflow.
44423 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44424 (__ieee754_expl): Allow for and saturate large arguments.
44425 * math/libm-test.inc (exp_test): Add another test. Do not allow
44426 missing overflow exception on overflow.
44427 (expm1_test): Do not allow missing overflow exception on overflow.
44428
44429 * sysdeps/i386/fpu/e_expl.c: Move to ...
44430 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44431 rather than using inline asm.
44432 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44433 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44434 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44435
44436 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44437 (nice): Likewise.
44438 (poll): Likewise.
44439 (signal): Likewise.
44440 (time): Likewise.
44441 (times): Likewise.
44442
44443 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44444
44445 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44446 sysdeps/unix/common/syscalls.list.
44447 (fchmod): Likewise.
44448 (fchown): Likewise.
44449 (ftruncate): Likewise.
44450 (getrusage): Likewise.
44451 (gettimeofday): Likewise.
44452 (setpgid): Likewise.
44453 (setregid): Likewise.
44454 (setreuid): Likewise.
44455 (sigaction): Likewise.
44456 (truncate): Likewise.
44457 (vhangup): Likewise.
44458 * sysdeps/unix/common/syscalls.list: Remove file.
44459 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44460 * sysdeps/unix/sysv/linux/Implies: Likewise.
44461
44462 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44463
44464 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44466 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44467 Moved to ...
44468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44469 Here.
44470 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44471 to ...
44472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44473 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44474 to ...
44475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44476 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44477 to ...
44478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44480 to ...
44481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44482 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44483 to ...
44484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44485 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44486 to ...
44487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44488 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44489 to ...
44490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44491 Here.
44492 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44493 to ...
44494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44495 Here.
44496 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44497 to ...
44498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44499 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44500 Moved to ...
44501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44502 Here.
44503 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44504 to ...
44505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44506
44507 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44508
44509 * sysdeps/unix/common/bits/dirent.h: Remove file.
44510 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44511
44512 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44513 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44514 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44515 * sysdeps/unix/bsd/isatty.c: Likewise.
44516 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44517 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44518 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44519
44520 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44521
44522 [BZ #13563]
44523 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44524 long double comparison inaccuracies.
44525 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44527
44528 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44529
44530 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44531 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44532
44533 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44534
44535 [BZ #14049]
44536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44537 nonzero digits before rounding a hex value.
44538 * stdlib/tst-strtod.c (tests): Add another test.
44539
44540 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44541
44542 * sysdeps/s390/fpu/libm-test-ulps: Update.
44543
44544 2012-05-03 Andreas Jaeger <aj@suse.de>
44545
44546 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44547 does not get optimized out.
44548 (malloc_opt_barrier): New.
44549
44550 2012-05-03 Andreas Jaeger <aj@suse.de>
44551 Roland McGrath <roland@hack.frob.com>
44552
44553 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44554 intermediate file deletion.
44555 (generated): Add .symlist files.
44556
44557 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44558
44559 [BZ #13775]
44560 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44561 Redirect under this condition.
44562 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44563 [__USE_GNU] (__dprintf_chk): Not under this condition.
44564 [__USE_GNU] (__vdprintf_chk): Likewise.
44565 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44566 under this condition.
44567 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44568 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44569 [__USE_XOPEN2K8] (vdprintf): Likewise.
44570 [__USE_GNU] (__dprintf_chk): Not under this condition.
44571 [__USE_GNU] (__vdprintf_chk): Likewise.
44572 [__USE_GNU] (dprintf): Likewise.
44573 [__USE_GNU] (vdprintf): Likewise.
44574
44575 2012-05-03 Roland McGrath <roland@hack.frob.com>
44576
44577 * elf/Makefile (common-generated): Set this instead of generated for
44578 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44579 $(all-built-dso)-derived lists.
44580
44581 2012-05-03 Andreas Jaeger <aj@suse.de>
44582
44583 * sysdeps/i386/fpu/libm-test-ulps: Update.
44584
44585 * FAQ: Removed.
44586 * FAQ.in: Likewise.
44587 * scripts/gen-FAQ.pl: Likewise.
44588 * manual/install.texi (Installation): Point to online location of
44589 FAQ.
44590 * Makefile (files-for-dist): Remove FAQ.
44591 (FAQ): Remove.
44592
44593 2012-05-02 Allan McRae <allan@archlinux.org>
44594
44595 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44596 (LDFLAGS-reldepmod5.so): Likewise.
44597 (LDFLAGS-reldep6mod1.so): Likewise.
44598 (LDFLAGS-reldep6mod4.so): Likewise.
44599 (LDFLAGS-reldep8mod3.so): Likewise.
44600 (LDFLAGS-unload4mod1.so): Likewise.
44601 (LDFLAGS-unload4mod2.so): Likewise.
44602 (LDFLAGS-tst-initorder): Likewise.
44603 (LDFLAGS-tst-initordera2.so): Likewise.
44604 (LDFLAGS-tst-initordera3.so): Likewise.
44605 (LDFLAGS-tst-initordera4.so): Likewise.
44606 (LDFLAGS-tst-initorderb2.so): Likewise.
44607 (LDFLAGS-noload): Likewise.
44608 (LDFLAGS-next): Likewise.
44609 (LDFLAGS-order2mod1.so): Likewise.
44610 (LDFLAGS-order2mod2.so): Likewise.
44611 (LDFLAGS-tst-initorder2): Likewise.
44612 (LDFLAGS-tst-initorder2a.so): Likewise.
44613 (LDFLAGS-tst-initorder2b.so): Likewise.
44614 (LDFLAGS-tst-initorder2c.so): Likewise.
44615 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44616
44617 2012-05-02 David S. Miller <davem@davemloft.net>
44618
44619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44620
44621 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44622
44623 [BZ #14055]
44624 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44625
44626 2012-05-02 Andreas Jaeger <aj@suse.de>
44627
44628 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44629 since we manipulate rounding mode.
44630 (CPPFLAGS-test-idouble.c): Likewise.
44631 (CPPFLAGS-test-ifloat.c): Likewise.
44632 (CFLAGS-test-ldouble.c): Likewise.
44633 (CFLAGS-test-double.c): Likewise.
44634 (CFLAGS-test-float.c): Likewise.
44635 (CFLAGS-test-misc.c): Likewise.
44636 (CFLAGS-test-test-fenv.c): Likewise.
44637
44638 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44639
44640 [BZ #2550]
44641 [BZ #2570]
44642 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44643 comparisons to determine direction to adjust input.
44644
44645 2012-05-01 Roland McGrath <roland@hack.frob.com>
44646
44647 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44648 output to the target.
44649
44650 * scripts/localplt.awk: New file.
44651 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44652 (check-localplt-CFLAGS): Variable removed.
44653 ($(all-built-dso:=.jmprel)): New static pattern rule.
44654 (generated): Add those targets.
44655 (localplt-built-dso): New variable.
44656 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44657
44658 * elf/check-localplt.c: File removed.
44659
44660 * scripts/check-execstack.awk: New file.
44661 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44662 (check-execstack-CFLAGS): Variable removed.
44663 ($(objpfx)check-execstack.h): Target removed.
44664 ($(objpfx)execstack-default): New target.
44665 (generated): Add that instead of check-execstack.h.
44666 ($(all-built-dso:=.phdr)): New static pattern rule.
44667 (generated): Add those targets.
44668 * elf/check-execstack.c: File removed.
44669
44670 * scripts/check-textrel.awk: New file.
44671 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44672 (check-textrel-CFLAGS): Variable removed.
44673 (all-built-dso): Use := to define.o
44674 ($(all-built-dso:=.dyn)): New static pattern rule.
44675 (generated): Add those targets.
44676 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44677 * config.make.in (READELF): New substituted variable.
44678 * elf/check-textrel.c: File removed.
44679
44680 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44681
44682 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44683 allow.
44684 * conform/data/ctype.h-data [C99-based standards] (isblank):
44685 Expect function.
44686 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44687 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44689 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44690 Specify type. Require positive value.
44691 (EILSEQ): Likewise.
44692 (ERANGE): Likewise.
44693 [ISO || POSIX] (EILSEQ): Do not expect.
44694 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44695 Specify type. Require positive value.
44696 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44697 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44698 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44699 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44700 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44701 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44702 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44703 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44704 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44705 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44706 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44707 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44708 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44709 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44710 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44711 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44712 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44713 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44714 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44715 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44716 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44717 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44718 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44719 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44720 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44721 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44722 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44723 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44724 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44725 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44726 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44727 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44728 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44729 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44730 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44731 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44732 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44733 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44734 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44735 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44736 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44737 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44738 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44739 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44740 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44741 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44742 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44743 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44744 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44745 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44746 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44747 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44748 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44749 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44750 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44751 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44752 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44753 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44754 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44755 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44756 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44757 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44758 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44759 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44760 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44761 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44762 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44763 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44764 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44765 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44766 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44767 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44768 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44769 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44770 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44771 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44772 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44773 Require >= 2.
44774 (FLT_ROUNDS): Expect as macro, not constant.
44775 (FLT_MANT_DIG): Use macro-int-constant.
44776 (DBL_MANT_DIG): Likewise.
44777 (LDBL_MANT_DIG): Likewise.
44778 (FLT_DIG): Likewise.
44779 (DBL_DIG): Likewise.
44780 (LDBL_DIG): Likewise.
44781 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44782 (DBL_MIN_EXP): Likewise.
44783 (LDBL_MIN_EXP): Likewise.
44784 (FLT_MAX_EXP): Use macro-int-constant.
44785 (DBL_MAX_EXP): Likewise.
44786 (LDBL_MAX_EXP): Likewise.
44787 (FLT_MAX_10_EXP): Likewise.
44788 (DBL_MAX_10_EXP): Likewise.
44789 (LDBL_MAX_10_EXP): Likewise.
44790 (FLT_MAX): Use macro-constant.
44791 (DBL_MAX): Likewise.
44792 (LDBL_MAX): Likewise.
44793 (FLT_EPSILON): Use macro-constant. Give upper bound.
44794 (DBL_EPSILON): Likewise.
44795 (LDBL_EPSILON): Likewise.
44796 (FLT_MIN): Likewise.
44797 (DBL_MIN): Likewise.
44798 (LDBL_MIN): Likewise.
44799 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44800 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44801 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44802 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44803 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44804 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44805 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44806 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44807 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44808 [ISO11] (FLT_TRUE_MIN): Likewise.
44809 [ISO11] (LDBL_TRUE_MIN): Likewise.
44810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44811 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44812 (SCHAR_MIN): Use macro-int-constant. Specify type.
44813 (SCHAR_MAX): Likewise.
44814 (UCHAR_MAX): Likewise.
44815 (CHAR_MIN): Likewise.
44816 (CHAR_MAX): Likewise.
44817 (MB_LEN_MAX): Use macro-int-constant.
44818 (SHRT_MIN): Use macro-int-constant. Specify type.
44819 (SHRT_MAX): Likewise.
44820 (USHRT_MAX): Likewise.
44821 (INT_MAX): Likewise.
44822 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44823 bound negative.
44824 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44825 bound with "U".
44826 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44827 bound with "L".
44828 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44829 bound negative. Suffix upper bound with "L".
44830 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44831 bound with "UL".
44832 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44833 Specify type.
44834 [C99-based standards] (LLONG_MAX): Likewise.
44835 [C99-based standards] (ULLONG_MAX): Likewise.
44836 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44837 == 0.
44838 [ISO11] (max_align_t): Require type.
44839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44840
44841 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44842 from $CFLAGS, without defining away __attribute__ calls.
44843 (checknamespace): Use $CFLAGS_namespace.
44844
44845 * conform/conformtest.pl (@keywords): Only include C99 keywords
44846 for standards based on C99 or C11.
44847
44848 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44849 Disable tests.
44850 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44851 UNIX98]: Likewise.
44852
44853 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44854 usability of symbols in #if.
44855
44856 * conform/conformtest.pl: If macro or constant types start
44857 "promoted:", expect the symbol to be of the following type
44858 promoted by the integer promotions.
44859
44860 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44861 in one place. Also handle "macro-constant".
44862
44863 * conform/conformtest.pl: Only accept expected macro values with
44864 "==". Parse all "macro" lines in one place.
44865 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44866
44867 * conform/conformtest.pl: Handle braced types on "constant" lines
44868 instead of handling "typed-constant".
44869 * conform/data/signal.h-data: Use "constant" instead of
44870 "typed-constant".
44871
44872 * conform/conformtest.pl: Handle "optional-" at start of lines in
44873 one place rather than duplicating several cases. Handle each
44874 format of "macro" line with initial "optional-".
44875
44876 * conform/conformtest.pl: Only accept expected constant or
44877 optional-constant values with "==". Parse all "constant" lines in
44878 one place. Parse all "optional-constant" lines in one place.
44879 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44880 * conform/data/fmtmsg.h-data: Likewise.
44881 * conform/data/netinet/in.h-data: Likewise.
44882 * conform/data/tar.h-data: Likewise.
44883 * conform/data/limits.h-data: Use "==" form on "constant" and
44884 "optional-constant" lines.
44885
44886 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44887 Use -std=c99 for XOPEN2K.
44888 (@knownproblems): Remove.
44889 (newtoken): Don't check %isknown.
44890
44891 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44892 Do not expect macro.
44893 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44894 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44895 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44896 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44897 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44898 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44899 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44900 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44901 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44902 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44903 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44904 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44905 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44906 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44907 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44908 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44909 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44910 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44911 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44912 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44913 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44914 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44915 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44916 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44917 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44918 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44919 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44920 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44921 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44922 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44923 [XPG3] (acosh): Likewise.
44924 [XPG3] (asinh): Likewise.
44925 [XPG3] (atanh): Likewise.
44926 [XPG3] (cbrt): Likewise.
44927 [XPG3] (expm1): Likewise.
44928 [XPG3] (ilogb): Likewise.
44929 [XPG3] (log1p): Likewise.
44930 [XPG3] (logb): Likewise.
44931 [XPG3] (nextafter): Likewise.
44932 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44933 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44934 [XPG3] (remainder): Likewise.
44935 [XPG3] (rint): Likewise.
44936 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44937 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44938 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44939 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44940 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44941 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44942 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44943 [UNIX98 || XOPEN2K] (scalb): Expect.
44944 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44945 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44946 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44947 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44948 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44949 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44950 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44951 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44952 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44953 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44954 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44955 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44956 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44957 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44958 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44959 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44960 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44961 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44962 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44963 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44964 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44965 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44966 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44967 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44968 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44969 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44970 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44971 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44972 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44973 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44974 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44975 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44976 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44977 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44978 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44979 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44980 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44981 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44982 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44983 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44984 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44985 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44986 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44987 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44988 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44989 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44990 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44991 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44992 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44993 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44994 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44995 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44996 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44997 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44998 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44999 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45000 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45001 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45002 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45003 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45004 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45005 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45006 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45007 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45008 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45009 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45010 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45011 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45012 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45013 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45014 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45015 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45016 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45017 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45018 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45019 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45020 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45021 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45022 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45023 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45024 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45025 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45026 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45027 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45028 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45029 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45030 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45031 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45032 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45033 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45034 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45035 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45036 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45037 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45038 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45039 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45040 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45041 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45042 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45043 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45044 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45045 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45046 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45047 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45048 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45049 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45050 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45051 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45052 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45053 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45054 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45055 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45056 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45057 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45058 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45059 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45060 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45061 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45062 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45063 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45064 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45065 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45066 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45067 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45068 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45069 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45070 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45071 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45072 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45073 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45074 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45075 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45076 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45077 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45078 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45079 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45080 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45081
45082 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45083 _XOPEN_SOURCE_EXTENDED for XPG4.
45084
45085 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45086
45087 * Makeconfig (localtime): Remove variable.
45088 (inst_localtime-file): Likewise.
45089
45090 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45091
45092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45093 Update.
45094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45095 Update.
45096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45097 Update.
45098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45099 Update.
45100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45101 Update.
45102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45103 Update.
45104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45105 Update.
45106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45107 Update.
45108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45109 Update.
45110
45111 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45112
45113 [BZ #2550]
45114 [BZ #2570]
45115 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45116 comparisons to determine direction to adjust input.
45117 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45118 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45119 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45120 Likewise.
45121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45122 Likewise.
45123 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45124 Likewise.
45125 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45126 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45127 Likewise.
45128 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45129 Likewise.
45130 * math/libm-test.inc (nexttoward_test): Add more tests.
45131
45132 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45133
45134 [BZ #14040]
45135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45136 in version GLIBC_2.1, not GLIBC_2.0.
45137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45138 Likewise.
45139
45140 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45141
45142 [BZ #13942]
45143 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45144 (1 - x) * (1 + x).
45145 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45146 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45147 * math/libm-test.inc (acos_test): Add more tests.
45148 (asin_test): Likewise.
45149 * sysdeps/i386/fpu/libm-test-ulps: Update.
45150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45151
45152 [BZ #14034]
45153 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45154 of square root.
45155 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45156 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45157 * math/libm-test.inc (acos_test_tonearest): New function.
45158 (acos_test_towardzero): Likewise.
45159 (acos_test_downward): Likewise.
45160 (acos_test_upward): Likewise.
45161 (asin_test_tonearest): Likewise.
45162 (asin_test_towardzero): Likewise.
45163 (asin_test_downward): Likewise.
45164 (asin_test_upward): Likewise.
45165 (main): Call the new functions.
45166 * sysdeps/i386/fpu/libm-test-ulps: Update.
45167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45168
45169 [BZ #13884]
45170 [BZ #13924]
45171 * math/e_exp10.c: Include <float.h>.
45172 (__ieee754_exp10): Handle underflow here rather than multiplying
45173 large negative argument by M_LN10.
45174 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45175 of __ieee754_expf.
45176 * math/e_exp10l.c: Include <float.h>.
45177 (__ieee754_exp10l): Handle underflow here rather than multiplying
45178 large negative argument by M_LN10l.
45179 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45180 spurious overflow exception on underflow.
45181
45182 2012-04-29 Marek Polacek <polacek@redhat.com>
45183
45184 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45185 (__fortify_function): New macro.
45186 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45187 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45188 __extern_always_inline.
45189 * libio/bits/stdio2.h: Likewise.
45190 * libio/bits/stdio.h: Likewise.
45191 * string/string.h: Likewise.
45192 * string/bits/string3.h: Likewise.
45193 * include/stdio.h: Likewise.
45194 * stdlib/bits/stdlib.h: Likewise.
45195 * stdlib/stdlib.h: Likewise.
45196 * rt/bits/mqueue2.h: Likewise.
45197 * rt/mqueue.h: Likewise.
45198 * posix/bits/unistd.h: Likewise.
45199 * posix/unistd.h: Likewise.
45200 * io/bits/poll2.h: Likewise.
45201 * io/bits/fcntl2.h: Likewise.
45202 * io/fcntl.h: Likewise.
45203 * io/sys/poll.h: Likewise.
45204 * misc/bits/syslog.h: Likewise.
45205 * misc/bits/syslog-ldbl.h: Likewise.
45206 * misc/sys/syslog.h: Likewise.
45207 * socket/bits/socket2.h: Likewise.
45208 * socket/sys/socket.h: Likewise.
45209 * debug/tst-chk1.c: Likewise.
45210 * wcsmbs/bits/wchar2.h: Likewise.
45211 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45212 * wcsmbs/wchar.h: Likewise.
45213
45214 2012-04-29 Andreas Jaeger <aj@suse.de>
45215
45216 * Makerules (tests): Remove enable-check-abi protection.
45217 (check-abi-warn): Remove.
45218 (check-abi-%): Remove check-abi-warn usage.
45219
45220 * configure.in: Remove check-abi configure option.
45221 * configure: Regenerated.
45222 * config.make.in (enable-check-abi): Remove.
45223
45224 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45225
45226 [BZ #14033]
45227 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45228 double functions to double *_finite functions.
45229
45230 [BZ #13941]
45231 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45232 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45233 LDBL_MIN_EXP.
45234 * stdio-common/Makefile (tests): Add tst-sprintf3.
45235 * stdio-common/tst-sprintf3.c: New file.
45236
45237 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45238 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45239
45240 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45241
45242 * conform/conformtest.pl: Remove duplicate typed-constant
45243 handling.
45244
45245 2012-04-28 David S. Miller <davem@davemloft.net>
45246
45247 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45248 (check-abi-%): Remove AWK script prerequisite and explicit
45249 abilist directory.
45250 (check-abi): Rewrite to just diff the symlist with the abilist.
45251 (config-tls, config-abi-config): Delete, no longer used.
45252 (update-abi-%): Remove AWK script and explicit abilist directory.
45253 (update-abi): Rewrite to simply compare and conditionally copy the
45254 symlist and the sysdep abilist file. Remove update-abi-config
45255 checks.
45256 * abilist/ld.abilist: Remove.
45257 * abilist/libBrokenLocale.abilist: Remove.
45258 * abilist/libanl.abilist: Remove.
45259 * abilist/libcrypt.abilist: Remove.
45260 * abilist/libdl.abilist: Remove.
45261 * abilist/librt.abilist: Remove.
45262 * abilist/libthread_db.abilist: Remove.
45263 * abilist/libutil.abilist: Remove.
45264 * scripts/extract-abilist.awk: Remove.
45265 * scripts/merge-abilist.awk: Remove.
45266 * sysdeps/generic/libcidn.abilist: New file.
45267 * sysdeps/generic/libnss_compat.abilist: New file.
45268 * sysdeps/generic/libnss_db.abilist: New file.
45269 * sysdeps/generic/libnss_dns.abilist: New file.
45270 * sysdeps/generic/libnss_files.abilist: New file.
45271 * sysdeps/generic/libnss_hesiod.abilist: New file.
45272 * sysdeps/generic/libnss_nis.abilist: New file.
45273 * sysdeps/generic/libnss_nisplus.abilist: New file.
45274 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45275 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45276 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45277 file.
45278 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45279 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45280 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45281 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45282 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45283 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45284 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45285 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45286 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45287 file.
45288 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45289 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45290 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45291 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45292 file.
45293 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45294 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45295 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45296 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45297 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45298 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45299 file.
45300 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45301 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45302 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45303 file.
45304 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45306 New file.
45307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45308 New file.
45309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45310 New file.
45311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45312 New file.
45313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45314 New file.
45315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45316 New file.
45317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45318 New file.
45319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45320 New file.
45321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45322 New file.
45323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45324 New file.
45325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45326 New file.
45327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45328 New file.
45329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45330 New file.
45331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45332 file.
45333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45334 New file.
45335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45336 New file.
45337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45338 file.
45339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45340 New file.
45341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45342 New file.
45343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45344 file.
45345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45346 New file.
45347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45348 New file.
45349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45350 New file.
45351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45352 New file.
45353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45354 New file.
45355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45356 New file.
45357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45359 file.
45360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45361 New file.
45362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45363 file.
45364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45365 file.
45366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45367 file.
45368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45369 file.
45370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45371 file.
45372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45373 New file.
45374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45375 file.
45376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45377 file.
45378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45379 New file.
45380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45381 file.
45382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45384 file.
45385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45386 New file.
45387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45388 file.
45389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45390 file.
45391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45392 file.
45393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45394 file.
45395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45396 file.
45397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45398 New file.
45399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45400 file.
45401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45402 file.
45403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45404 New file.
45405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45406 file.
45407 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45408 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45409 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45410 file.
45411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45412 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45413 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45414 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45415 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45416 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45417 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45418 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45419 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45420 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45423 file.
45424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45425 New file.
45426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45427 file.
45428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45429 file.
45430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45431 file.
45432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45433 file.
45434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45435 file.
45436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45437 New file.
45438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45439 New file.
45440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45441 file.
45442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45443 New file.
45444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45445 file.
45446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45448 file.
45449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45450 New file.
45451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45452 file.
45453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45454 file.
45455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45456 file.
45457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45458 file.
45459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45460 file.
45461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45462 New file.
45463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45464 New file.
45465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45466 file.
45467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45468 New file.
45469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45470 file.
45471
45472 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45473
45474 * conform/conformtest.pl: Fix typo in handling typed-constant from
45475 allow-header.
45476
45477 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45478
45479 * README: Cut down references to pre-2.6 Linux kernels and
45480 Linuxthreads. Update lists of configurations in libc and ports
45481 and sort alphabetically. Say "or newer" with Linux kernel version
45482 requirements.
45483
45484 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45485
45486 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45487
45488 [BZ #887]
45489 * math/libm-test.inc (logb_test_downward): New test to expose
45490 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45491 rounding mode.
45492
45493 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45494
45495 [BZ #14027]
45496 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45497 to be done.
45498 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45499 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45500
45501 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45502
45503 * sysdeps/unix/i386/brk.S: Remove file.
45504 * sysdeps/unix/i386/dl-brk.S: Likewise.
45505 * sysdeps/unix/i386/pipe.S: Likewise.
45506 * sysdeps/unix/i386/sigreturn.S: Likewise.
45507 * sysdeps/unix/i386/syscall.S: Likewise.
45508 * sysdeps/unix/i386/vfork.S: Likewise.
45509 * sysdeps/unix/i386/wait.S: Likewise.
45510
45511 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45512 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45513
45514 * configure.in (arm*-none*): Do not allow without
45515 --enable-hacker-mode.
45516 (netbsd*): Remove case setting base_os.
45517 (386bsd*): Likewise.
45518 (freebsd*): Likewise.
45519 (bsdi*): Likewise.
45520 (osf*): Likewise.
45521 (sunos*): Likewise.
45522 (ultrix*): Likewise.
45523 (newsos*): Likewise.
45524 (dynix*): Likewise.
45525 (*bsd*): Likewise.
45526 (sysv*): Likewise.
45527 (isc*): Likewise.
45528 (esix*): Likewise.
45529 (sco*): Likewise.
45530 (minix*): Likewise.
45531 (irix4*): Likewise.
45532 (irix6*): Likewise.
45533 (solaris[2-9]*): Likewise.
45534 (none): Likewise.
45535 * configure: Regenerated.
45536
45537 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45538
45539 [BZ #11521]
45540 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45541 overflow or cancellation in calculating denominator.
45542 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45544 down expression to avoid unexpected rounding in newer GCCs.
45545 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45546
45547 2012-04-26 David S. Miller <davem@davemloft.net>
45548
45549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45550 long-double compat symbols.
45551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45564
45565 2012-04-25 David S. Miller <davem@davemloft.net>
45566
45567 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45568 HWCAP_* values only after the memory barriers have been defined.
45569 (atomic_full_barrier): Define.
45570 (atomic_read_barrier): Define.
45571 (atomic_write_barrier): Define.
45572
45573 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45574
45575 * shlib-versions: Add libgcc_s version information.
45576 * sysdeps/generic/libgcc_s.h: Remove.
45577 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45578 libgcc_s.h.
45579 * sysdeps/gnu/unwind-resume.c: Likewise.
45580 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45581
45582 2012-04-25 David S. Miller <davem@davemloft.net>
45583
45584 * sysdeps/unix/sparc/brk.S: Delete.
45585 * sysdeps/unix/sparc/dl-brk.S: Delete.
45586 * sysdeps/unix/sparc/pipe.S: Delete.
45587 * sysdeps/unix/sparc/sysdep.S: Delete.
45588 * sysdeps/unix/sparc/sysdep.h: Delete.
45589 * sysdeps/unix/sparc/vfork.S: Delete.
45590 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45591 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45592 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45593 (ret_ERRVAL, r0, r1, MOVE): Define.
45594 (JUMPTARGET): Remove.
45595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45596 sysdeps/unix/sparc/sysdep.h
45597 (ENTRY, END): Remove.
45598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45599
45600 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45601
45602 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45603 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45604 -DIS_IN_build.
45605
45606 * timezone/README: Update upstream location and email address for
45607 tzcode and tzdata.
45608 * timezone/zdump.c: Update from tzcode 2012b.
45609 * timezone/zic.c: Likewise.
45610
45611 * configure.in (libc_cv_as_needed): Remove test.
45612 * configure: Regenerated.
45613 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45614 conditional definition.
45615 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45616 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45617 * config.make.in (have-as-needed): Remove variable.
45618
45619 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45620 Paul Pluzhnikov <ppluzhnikov@google.com>
45621
45622 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45623 strings correctly.
45624
45625 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45626
45627 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45628 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45629 * sysdeps/sh/strlen.S: Likewise.
45630
45631 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45632
45633 * sysdeps/unix/fork.S: Remove file.
45634 * sysdeps/unix/i386/fork.S: Likewise.
45635 * sysdeps/unix/sparc/fork.S: Likewise.
45636
45637 * sysdeps/unix/system.c: Remove file.
45638 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45639
45640 * sysdeps/unix/getegid.S: Remove file.
45641 * sysdeps/unix/geteuid.S: Likewise.
45642
45643 2012-04-24 Roland McGrath <roland@hack.frob.com>
45644
45645 * scripts/check-localplt.awk: New file.
45646 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45647 of diff.
45648 * scripts/data/localplt-generic.data: Add a comment.
45649
45650 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45651 NODE when __dir_mkfile failed.
45652 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45653 Reported by Ludovic Courtès <ludo@gnu.org>.
45654
45655 2012-04-24 Andreas Jaeger <aj@suse.de>
45656
45657 * Makerules (common-clean): Also remove gen-as-const-headers
45658 files.
45659
45660 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45661
45662 * Makerules (native-compile): Do not change working directory for
45663 build. Use $(OUTPUT_OPTION) in command.
45664 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45665
45666 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45667
45668 [BZ #13886]
45669 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45670 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45671 * math/libm-test.inc (floor_test): Add more tests.
45672 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45673
45674 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45675
45676 * sysdeps/unix/getdents.c: Remove file.
45677 * sysdeps/unix/sysv/getdents.c: Likewise.
45678 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45679
45680 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45681 sysdeps/unix/mman/syscalls.list.
45682 (mmap): Likewise.
45683 (mprotect): Likewise.
45684 (msync): Likewise.
45685 (munmap): Likewise.
45686 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45687 * sysdeps/unix/mman/syscalls.list: Remove.
45688 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45689
45690 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45691 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45692 * configure: Regenerated.
45693 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45694 $(libgcc_s_suffix).
45695 * config.make.in (libgcc_s_suffix): Remove variable.
45696
45697 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45698
45699 * sysdeps/unix/sysv/gethostname.c: Move to ...
45700 * sysdeps/posix/gethostname.c: ... here.
45701
45702 * sysdeps/unix/execve.S: Remove file.
45703
45704 * sysdeps/unix/_exit.S: Remove file.
45705
45706 2012-04-23 Andreas Jaeger <aj@suse.de>
45707
45708 [BZ #13739]
45709 * manual/Makefile: Remove make dist support, there's no
45710 need for a stand-alone documentation tar ball.
45711 (TEXI2DVI): Define always, it's not in Makeconfig.
45712 (dist): Removed.
45713 (tar-it): Removed.
45714 (edition): Removed.
45715 (glibc-doc-$(edition).tar): Removed
45716 (%.Z): Removed.
45717 (%.gz): Removed.
45718 (%.uu): Removed.
45719 (ETAGS): Remove, it's in Makeconfig.
45720 (move-if-change): Remove, it's in Makeconfig.
45721
45722 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45723
45724 [BZ #13970]
45725 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45726 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45727 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45728 (strtod_l, strtof_l, strtold_l): Remove __wur.
45729 It is not necessarily an error to ignore strtol's return value.
45730 One can reliably look at the stored endptr to decide whether
45731 the number had valid syntax.
45732
45733 2012-04-21 Andreas Jaeger <aj@suse.de>
45734
45735 [BZ #13739]
45736 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45737
45738 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45739
45740 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45741 * sysdeps/unix/sysv/Versions: Remove file.
45742
45743 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45744
45745 [BZ #13927]
45746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45747
45748 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45749
45750 [BZ #7064]
45751 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45752 version from __vm86.
45753
45754 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45755
45756 * sysdeps/unix/common/lxstat.c: Remove file.
45757 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45758
45759 * sysdeps/unix/sysv/Makefile: Remove file.
45760
45761 * sysdeps/unix/sysv/direct.h: Remove file.
45762
45763 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45764 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45765 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45766 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45767 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45768 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45769 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45770
45771 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45772
45773 * sysdeps/unix/xmknod.c: Remove file.
45774 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45775
45776 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45777
45778 * sysdeps/unix/sysv/i386/time.S: Remove file.
45779
45780 * sysdeps/unix/fxstat.c: Remove file.
45781 * sysdeps/unix/xstat.c: Likewise.
45782 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45783
45784 * sysdeps/unix/sysv/sigaction.c: Remove file.
45785
45786 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45787 (sysdep_headers): Remove variable.
45788 [termio.h not in sysdep_headers] (generated): Likewise.
45789 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45790 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45791 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45792 * sysdeps/unix/sysv/tcflow.c: Likewise.
45793 * sysdeps/unix/sysv/tcflush.c: Likewise.
45794 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45795 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45796 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45797 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45798 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45799
45800 * sysdeps/unix/siglist.c: Remove file.
45801
45802 * sysdeps/unix/getppid.S: Remove file.
45803
45804 * sysdeps/unix/mkdir.c: Remove file.
45805 * sysdeps/unix/rmdir.c: Likewise.
45806
45807 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45808
45809 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45810 ERR_MAX value.
45811 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45812 errlist-compat value.
45813
45814 2012-04-18 David S. Miller <davem@davemloft.net>
45815
45816 * sysdeps/generic/memcopy.h (reg_char): Delete.
45817 * debug/strcat_chk.c: Use char, not reg_char.
45818 * debug/strcpy_chk.c: Likewise.
45819 * debug/strncat_chk.c: Likewise.
45820 * debug/strncpy_chk.c: Likewise.
45821 * string/memchr.c: Likewise.
45822 * string/memrchr.c: Likewise.
45823 * string/rawmemchr.c: Likewise.
45824 * string/strcat.c: Likewise.
45825 * string/strchr.c: Likewise.
45826 * string/strchrnul.c: Likewise.
45827 * string/strcmp.c: Likewise.
45828 * string/strcpy.c: Likewise.
45829 * string/strncat.c: Likewise.
45830 * string/strncmp.c: Likewise.
45831 * string/strncpy.c: Likewise.
45832
45833 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45834
45835 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45836 __builtin_memcopy is called when src and dest ranges are known to not
45837 overlap.
45838
45839 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45840
45841 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45842 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45843 fwd_align_merge macro call.
45844 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45845 bwd_align_merge macro call.
45846 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45847
45848 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45849
45850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45851 bwd_align_merge macros.
45852 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45853 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45854 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45855
45856 2012-04-18 David S. Miller <davem@davemloft.net>
45857
45858 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45859
45860 2012-04-18 Andreas Jaeger <aj@suse.de>
45861
45862 [BZ# 6794]
45863 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45864 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45865 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45866
45867 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45868 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45869 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45870
45871 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45872 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45873 Adjust for changed ldbl-128 files.
45874
45875 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45876 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45878
45879 2012-04-17 David S. Miller <davem@davemloft.net>
45880
45881 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45882
45883 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45884
45885 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45886 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45887 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45888 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45889 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45890 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45891
45892 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45893
45894 [BZ #6794]
45895 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45896 * math/libm-test.inc: Add ilogb errno and exception tests.
45897 * math/w_ilogb.c: New file: ilogb wrapper.
45898 * math/w_ilogbf.c: New file: ilogbf wrapper.
45899 * math/w_ilogbl.c: New file: ilogbl wrapper.
45900 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45901 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45902 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45903 exception being thrown with 0.0 as argument.
45904 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45905 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45906 exception being thrown with 0.0 as argument.
45907 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45908 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45909 exception being thrown with 0.0 as argument.
45910 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45911 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45912 exception being thrown with 0.0 as argument.
45913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45914 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45915 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45916 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45917 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45918 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45919 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45920 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45921 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45922
45923 2012-04-17 Petr Baudis <pasky@ucw.cz>
45924
45925 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45926 with altivec.
45927
45928 2012-04-16 Marek Polacek <polacek@redhat.com>
45929
45930 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45931
45932 2012-04-16 Marek Polacek <polacek@redhat.com>
45933
45934 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45935 operands of fdivp instruction.
45936
45937 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45938
45939 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45940 * elf/tst-auditmod3b.c: Likewise.
45941 * elf/tst-auditmod4b.c: Likewise.
45942 * elf/tst-auditmod5b.c: Likewise.
45943 * elf/tst-auditmod6b.c: Likewise.
45944 * elf/tst-auditmod6c.c: Likewise.
45945 * elf/tst-auditmod7b.c: Likewise.
45946 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45947 * sysdeps/x86_64/preconfigure.in: Likewise.
45948 * sysdeps/x86_64/preconfigure: Regenerated.
45949
45950 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45951
45952 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45953 __ILP32__.
45954
45955 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45956
45957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45958 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45959
45960 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45961
45962 [BZ #13973]
45963 * locale/iso-639.def: Fix gl language name. Spotted by
45964 Yaron Shahrabani.
45965
45966 2012-04-12 Roland McGrath <roland@hack.frob.com>
45967
45968 [BZ #2074]
45969 * libio/libio.h (__io_write_fn): Update comment.
45970
45971 2012-04-12 Petr Baudis <pasky@ucw.cz>
45972
45973 [BZ #2074]
45974 * stdio.texi (Hook Functions): The user provided writer function
45975 is not allowed to return -1.
45976
45977 2012-04-11 David S. Miller <davem@davemloft.net>
45978
45979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45980
45981 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45982
45983 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45984 Add a leading slash to rtkaio.
45985
45986 2012-04-11 Jim Meyering <meyering@redhat.com>
45987
45988 [BZ #11959]
45989 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45990 It is not necessarily an error to ignore fwrite's return
45991 value. One can reliably use ferror to test for errors after
45992 the fact.
45993
45994 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45995
45996 * bits/types.h (__snseconds_t): New type.
45997 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45998
45999 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46001 (__SNSECONDS_T_TYPE): Likewise.
46002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46003 (__SNSECONDS_T_TYPE): Likewise.
46004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46005 (__SNSECONDS_T_TYPE): Likewise.
46006
46007 2012-04-10 Andreas Jaeger <aj@suse.de>
46008
46009 [BZ #2636]
46010 * manual/time.texi (Processor Time): Return type of times is
46011 elapsed real time since an arbitrary point in the past.
46012 (CPU Time): Move CLK_TCK from here...
46013 (Processor Time): ...to here. Correct description.
46014 * manual/conf.texi (Constants for Sysconf): Correct description of
46015 _SC_CLK_TCK.
46016
46017 2012-04-10 David S. Miller <davem@davemloft.net>
46018
46019 [BZ #13967]
46020 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46021 where the is a gap between DT_REL(A) and DT_JMPREL.
46022
46023 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46024
46025 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46026 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46027 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46028
46029 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46030
46031 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46032 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46033 (dl_main): Handle --inhibit-cache.
46034 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46035 _dl_inhibit_cache.
46036 * elf/dl-load.c (_dl_map_object): Use it.
46037 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46038
46039 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46040
46041 [BZ #13872]
46042 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46043 (__ieee754_powl): Saturate large exponents rather than testing for
46044 overflow of y*log2(x).
46045 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46046 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46047 exceptions.
46048
46049 [BZ #11521]
46050 * math/s_ctan.c: Include <float.h>.
46051 (__ctan): Avoid internal overflow or cancellation in calculating
46052 denominator.
46053 * math/s_ctanf.c: Likewise.
46054 * math/s_ctanl.c: Likewise.
46055 * math/s_ctanh.c: Likewise.
46056 * math/s_ctanhf.c: Likewise.
46057 * math/s_ctanhl.c: Likewise.
46058 * math/libm-test.inc (ctan_test): Add more tests.
46059 (ctanh_test): Likewise.
46060 * sysdeps/i386/fpu/libm-test-ulps: Update.
46061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46062
46063 2012-04-09 Andreas Jaeger <aj@suse.de>
46064
46065 [BZ #6894]
46066 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46067 is an optional BSD extension.
46068
46069 [BZ #10254]
46070 * manual/stdio.texi (Opening Streams): Document additional fopen
46071 parameters.
46072
46073 2012-04-09 Roland McGrath <roland@hack.frob.com>
46074
46075 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46076 %eax without telling the compiler.
46077
46078 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46079
46080 [BZ # 13963]
46081 * manual/install.texi: Use sourceware.org.
46082
46083 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46084
46085 [BZ #13873]
46086 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46087 (__ieee754_pow): Generate overflow and underflow using huge*huge
46088 and tiny*tiny rather than just returning constant infinity or zero
46089 for large exponents.
46090 * math/libm-test.inc (pow_test): Require overflow exceptions for
46091 applicable cases of large exponents.
46092
46093 [BZ #706]
46094 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46095 (__ieee754_pow): Use iterative multiplication algorithm only for
46096 integer exponents with absolute value below 1024. Check for odd
46097 integer exponents when using algorithm for real exponents.
46098 * math/libm-test.inc (pow_test): Add more tests.
46099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46100
46101 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46102
46103 [BZ #13705]
46104 * math/libm-test.inc (exp_test): Do not allow overflow exception
46105 on underflow test.
46106
46107 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46108
46109 [BZ #13705]
46110 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46111 instead of __kernel_standard_f.
46112
46113 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46114
46115 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46116 * sysdeps/x86_64/memset_chk.S: Likewise.
46117
46118 2012-04-08 Andreas Jaeger <aj@suse.de>
46119
46120 [BZ #10153]
46121 * manual/startup.texi (Environment Access): Describe return value
46122 for putenv and setenv.
46123
46124 [BZ #6895]
46125 * manual/filesys.texi (Directory Entries): Add description for
46126 DT_LNK.
46127
46128 [BZ #6890]
46129 * manual/filesys.texi (Directory Entries): Clarify that it's file
46130 system not operating system in the description of DT_UNKNOWN.
46131
46132 [BZ #6578]
46133 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46134
46135 2012-04-08 Stephen Compall <s11@member.fsf.org>
46136
46137 [BZ #6649]
46138 * manual/llio.texi (Opening and Closing Files): Add cross
46139 reference to explain mode argument.
46140
46141 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46142
46143 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46144 * sysdeps/x86_64/memset_chk.S: Likewise.
46145
46146 2012-04-07 David S. Miller <davem@davemloft.net>
46147
46148 * elf/elf.h (R_SPARC_WDISP10): Define.
46149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46150 R_SPARC_SIZE32.
46151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46152 R_SPARC_SIZE64 and R_SPARC_H34.
46153
46154 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46155
46156 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46157 conditions and remove no longer applicable assertion.
46158
46159 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46160
46161 * bits/byteswap.h: Include <features.h>.
46162 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46163 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46164
46165 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46166
46167 * bits/byteswap.h (__bswap_16): Removed.
46168 Include <bits/byteswap-16.h> to get __bswap_16.
46169 * sysdeps/i386/bits/byteswap.h: Likewise.
46170 * sysdeps/s390/bits/byteswap.h: Likewise.
46171 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46172 * bits/byteswap-16.h: New file.
46173 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46174 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46175 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46176 * string/Makefile (headers): Add bits/byteswap-16.h.
46177
46178 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46179
46180 [BZ #13895]
46181 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46182 extra indirection.
46183 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46184 * nss/tst-nss-static.c: New.
46185
46186 2012-04-06 Robert Millan <rmh@gnu.org>
46187
46188 [BZ #6486]
46189 * manual/llio.texi (File Position Primitive): lseek
46190 refers to WHENCE when it really means OFFSET.
46191
46192 2012-04-06 Andreas Jaeger <aj@suse.de>
46193
46194 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46195 strncmp declarations.
46196
46197 * abilist/libc.abilist: Add __poll and __ppoll.
46198
46199 2012-04-05 David S. Miller <davem@davemloft.net>
46200
46201 * scripts/check-local-headers.sh: Accept a host triplet in the
46202 path matched by the exclude regexp.
46203
46204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46205 definition.
46206 * sysdeps/powerpc/powerpc32/dl-machine.h
46207 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46208 * sysdeps/s390/s390-32/dl-machine.h
46209 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46210 * sysdeps/sparc/sparc32/dl-machine.h
46211 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46212 * sysdeps/sparc/sparc64/dl-machine.h
46213 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46214
46215 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46216 lazy binding.
46217 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46218 undefined symbol errors.
46219
46220 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46221 DT_NEEDED entries.
46222
46223 2012-04-05 Michael Matz <matz@suse.de>
46224
46225 [BZ #13592]
46226 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46227
46228 2012-04-05 Andreas Jaeger <aj@suse.de>
46229
46230 [BZ #13908]
46231 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46232 comment.
46233
46234 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46235
46236 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46237 which ROUND is no valid rounding mode.
46238
46239 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46240
46241 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46242 read again.
46243 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46244
46245 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46246
46247 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46248 an exception using FPU order intentionally.
46249
46250 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46251
46252 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46253 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46254 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46255 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46256
46257 2012-04-05 Simon Josefsson <simon@josefsson.org>
46258
46259 [BZ #12340]
46260 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46261 EINVAL when BUFLEN is too smal.
46262
46263 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46264
46265 [BZ #13553]
46266 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46267 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46268
46269 2012-04-03 Andreas Jaeger <aj@suse.de>
46270
46271 [BZ #13938]
46272 * manual/setjmp.texi (System V contexts): Fix sentence.
46273
46274 [BZ #13926]
46275 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46276 New macro for this case.
46277 [!__GNUC__] (__bswap_64): New inline function for this case.
46278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46279 * bits/byteswap.h: Likewise.
46280 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46281 ull, guard with __GLIBC_HAVE_LONG_LONG.
46282
46283 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46284 __GLIBC_HAVE_LONG_LONG.
46285
46286 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46287 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46288
46289 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46290
46291 [BZ #13691]
46292 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46293 inptr and inend, rather than using last_ch.
46294
46295 2012-04-02 David S. Miller <davem@davemloft.net>
46296
46297 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46298 * stdio-common/printf-parse.h (read_int): Change return type to
46299 'int', return -1 on INT_MAX overflow.
46300 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46301 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46302 overflows INT_MAX. Check for overflow of in-format-string precision
46303 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46304 SIZE_MAX not INT_MAX for integer overflow test.
46305 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46306 skip the construct in the format string but do not record anything.
46307 * stdio-common/bug22.c: Adjust to test both width/prevision
46308 INT_MAX overflow as well as total length INT_MAX overflow. Check
46309 explicitly for proper errno values.
46310
46311 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46312
46313 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46314 CHAR_MAX.
46315 * string/test-strcmp.c [! WIDE]: Likewise.
46316 * time/tst-mktime2.c: Likewise for INT_MAX.
46317 * string/test-string.h: #include <sys/param.h> for MIN.
46318
46319 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46320 * sysdeps/i386/init-first.c (init): Likewise.
46321 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46322 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46323 * sysdeps/sh/init-first.c (init): Likewise.
46324
46325 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46326
46327 * po/ru.po: Update from translation team.
46328 * po/vi.po: Likewise.
46329
46330 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46331
46332 * resolv/nss_dns/dns-host.c: Merge copyright years.
46333
46334 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46335
46336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46337 Optimize memcpy with prefetch if
46338 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46339 src, dst pointers have unequal 16 byte alignments.
46340
46341 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46342
46343 [BZ #13928]
46344 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46345 from a CNAME entry and return the minimum ttl for the query.
46346 (gaih_getanswer_slice): Likewise.
46347
46348 2012-03-30 Jeff Law <law@redhat.com>
46349
46350 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46351 due to long keys.
46352 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46353 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46354
46355 * resolv/nss_dns/dns-host.c: Update copyright year.
46356
46357 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46358
46359 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46360 requests to save a system call. Fix check that all bytes are sent.
46361
46362 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46363 comments for sendmmsg.
46364
46365 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46366
46367 [BZ #13691]
46368 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46369 with only 1 character between 0x0041 and 0x01b0.
46370 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46371 * wcsmbs/tst-mbsnrtowcs.c: New file.
46372
46373 2012-03-29 David S. Miller <davem@davemloft.net>
46374
46375 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46376 small copies by hand.
46377
46378 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46379
46380 [BZ #13761]
46381 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46382 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46383 group memberships.
46384
46385 2012-03-28 David S. Miller <davem@davemloft.net>
46386
46387 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46388 that branches into memcpy.
46389 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46391 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46392 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46394 bits.
46395 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46396 implementation too.
46397 * sysdeps/sparc/mempcpy.S: New file.
46398
46399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46400 the IFUNC routine in the libc case.
46401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46402
46403 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46404 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46405 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46406 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46407 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46408 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46409 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46410 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46411
46412 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46413 loop to 256 bytes instead of 64 bytes and fix test signedness.
46414
46415 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46416 * sysdeps/sparc/sparc32/Makefile: rather than here...
46417 * sysdeps/sparc/sparc64/Makefile: and here.
46418
46419 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46420
46421 * malloc/mallocbug.c: Avoid warnings about unused variables.
46422
46423 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46424
46425 [BZ #13760]
46426 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46427 in the right place. Discard and retry query if response is
46428 larger than input buffer size.
46429
46430 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46431
46432 [BZ #369]
46433 [BZ #2678]
46434 [BZ #3866]
46435 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46436 x for large integer exponent.
46437 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46438 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46439 sign of result as needed afterwards.
46440 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46441 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46442 result for underflowing pow the same as for overflow.
46443 (__kernel_standard_l): Handle powl overflow and underflow here
46444 rather than calling __kernel_standard.
46445 * math/libm-test.inc (pow_test): Add more tests.
46446
46447 [BZ #3868]
46448 [BZ #13879]
46449 [BZ #13910]
46450 [BZ #13911]
46451 [BZ #13912]
46452 [BZ #13913]
46453 [BZ #13915]
46454 [BZ #13916]
46455 [BZ #13917]
46456 [BZ #13918]
46457 [BZ #13919]
46458 [BZ #13920]
46459 [BZ #13921]
46460 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46461 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46462 (__kernel_standard_l): New function.
46463 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46464 __kernel_standard.
46465 * math/w_acosl.c (__acosl): Likewise.
46466 * math/w_asinl.c (__asinl): Likewise.
46467 * math/w_atan2l.c (__atan2l): Likewise.
46468 * math/w_atanhl.c (__atanhl): Likewise.
46469 * math/w_coshl.c (__coshl): Likewise.
46470 * math/w_exp10l.c (__exp10l): Likewise.
46471 * math/w_exp2l.c (__exp2l): Likewise.
46472 * math/w_fmodl.c (__fmodl): Likewise.
46473 * math/w_hypotl.c (__hypotl): Likewise.
46474 * math/w_j0l.c (__j0l, __y0l): Likewise.
46475 * math/w_j1l.c (__j1l, __y1l): Likewise.
46476 * math/w_jnl.c (__jnl, __ynl): Likewise.
46477 * math/w_lgammal.c (__lgammal): Likewise.
46478 * math/w_log10l.c (__log10l): Likewise.
46479 * math/w_log2l.c (__log2l): Likewise.
46480 * math/w_logl.c (__logl): Likewise.
46481 * math/w_powl.c (__powl): Likewise.
46482 * math/w_remainderl.c (__remainderl): Likewise.
46483 * math/w_scalbl.c (sysv_scalbl): Likewise.
46484 * math/w_sinhl.c (__sinhl): Likewise.
46485 * math/w_sqrtl.c (__sqrtl): Likewise.
46486 * math/w_tgammal.c (__tgammal): Likewise.
46487 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46488 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46489 * math/libm-test.inc (acos_test): Add more tests.
46490 (acosh_test): Likewise.
46491 (asin_test): Likewise.
46492 (atanh_test): Likewise.
46493 (exp_test): Likewise.
46494 (exp10_test): Likewise.
46495 (exp2_test): Likewise.
46496 (expm1_test): Likewise.
46497 (lgamma_test): Likewise.
46498 (log_test): Likewise.
46499 (log10_test): Likewise.
46500 (log1p_test): Likewise.
46501 (log2_test): Likewise.
46502 (pow_test): Do not allow some spurious overflow exceptions.
46503 (sqrt_test): Add more tests.
46504 (tgamma_test): Likewise.
46505 (y0_test): Likewise.
46506 (y1_test): Likewise.
46507 (yn_test): Likewise.
46508
46509 2012-03-27 Anton Blanchard <anton@samba.org>
46510
46511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46512 MAP_HUGETLB.
46513 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46514 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46515 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46516
46517 2012-03-27 David S. Miller <davem@davemloft.net>
46518
46519 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46520
46521 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46522 have-as-vis3 check.
46523
46524 2012-03-27 Andreas Jaeger <aj@suse.de>
46525
46526 * sysdeps/x86_64/elf/configure.in: Moved to ...
46527 * sysdeps/x86_64/configure.in: ... here.
46528 * sysdeps/x86_64/elf/start.S: Moved to ...
46529 * sysdeps/x86_64/start.S: ... here.
46530 * sysdeps/x86_64/elf/configure: Delete.
46531
46532 * sysdeps/x86_64/configure.in: Merge contents from
46533 sysdeps/i386/configure.in (without i686 check).
46534
46535 * sysdeps/i386/elf/Versions: Merge into ...
46536 * sysdeps/i386/Versions: ... this.
46537 * sysdeps/i386/elf/Versions: Delete file.
46538 * sysdeps/i386/elf/start.S: Moved to ...
46539 * sysdeps/i386/start.S: ...here.
46540 * sysdeps/i386/elf/configure.in: Merge into...
46541 * sysdeps/i386/configure.in: ...here.
46542 * sysdeps/i386/elf/configure.in: Delete file.
46543 * sysdeps/i386/elf/configure: Delete file.
46544
46545 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46546 * debug/backtracesyms.c: ... here.
46547 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46548 * debug/backtracesymsfd.c: ... here.
46549 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46550 * sysdeps/generic/ifunc-sel.h: ... here.
46551
46552 * sysdeps/unix/i386/start.c: Delete file.
46553 * sysdeps/unix/sparc/start.c: Delete file.
46554 * sysdeps/unix/start.c: Delete file.
46555
46556 * sysdeps/sh/elf/configure.in: Moved to ...
46557 * sysdeps/sh/configure.in: ... here.
46558 * sysdeps/sh/elf/start.S: Moved to ...
46559 * sysdeps/sh/start.S: ... here.
46560 * sysdeps/sh/elf/configure: Delete file.
46561
46562 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46563 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46564 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46565 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46566 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46567 * sysdeps/powerpc/powerpc64/start.S: here.
46568 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46569 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46570 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46571 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46572 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46573
46574 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46575 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46576 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46577 * sysdeps/powerpc/powerpc32/start.S: ... here.
46578 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46579 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46580 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46581
46582 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46583 * sysdeps/powerpc/ifunc-sel.h: ... here.
46584 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46585 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46586
46587 * sysdeps/sparc/elf/configure.in: Moved to ...
46588 * sysdeps/sparc/configure.in: ... here.
46589 * sysdeps/sparc/elf/configure: Delete file.
46590 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46591 * sysdeps/sparc/sparc32/start.S: ... here.
46592 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46593 * sysdeps/sparc/sparc64/start.S: ... here.
46594 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46595 * sysdeps/sparc/sparc32/Makefile: ... this.
46596 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46597 * sysdeps/sparc/sparc64/Makefile: ... this.
46598
46599 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46600 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46601 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46602 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46603 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46604 * sysdeps/s390/s390-32/setjmp.S: ... here.
46605 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46606 * sysdeps/s390/s390-32/configure.in: ... here.
46607 * sysdeps/s390/s390-32/elf/configure: Delete file.
46608 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46609 * sysdeps/s390/s390-32/start.S: ... here.
46610
46611 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46612 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46613 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46614 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46615 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46616 * sysdeps/s390/s390-64/setjmp.S: ... here.
46617 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46618 * sysdeps/s390/s390-64/configure.in: ... here
46619 * sysdeps/s390/s390-64/elf/configure: Delete file.
46620 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46621 * sysdeps/s390/s390-64/start.S: ... here.
46622 * sysdeps/s390/s390-64/elf/configure: Delete.
46623
46624 * configure.in: Remove support for elf directories in sysdeps.
46625
46626 * configure: Regenerated.
46627 * sysdeps/i386/configure: Regenerated.
46628 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46629 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46630 * sysdeps/s390/s390-32/configure: Regenerated.
46631 * sysdeps/s390/s390-64/configure: Regenerated.
46632 * sysdeps/sh/configure: Regenerated.
46633 * sysdeps/sparc/configure: Regenerated.
46634 * sysdeps/x86_64/configure: Regenerated.
46635
46636 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46637
46638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46639
46640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46641 denormal result into account.
46642
46643 2012-03-25 Roland McGrath <roland@hack.frob.com>
46644
46645 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46646 Reported by Allan McRae <allan@archlinux.org>.
46647
46648 2012-03-23 Jeff Law <law@redhat.com>
46649
46650 * nss/getnssent.c (__nss_getent): Fix typo.
46651
46652 2012-03-23 David S. Miller <davem@davemloft.net>
46653
46654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46655
46656 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46657
46658 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46659 to pad to uint64_t for each field.
46660 (dl_tls_index): Replace unsigned long with uint64_t.
46661
46662 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46663 Paul Pluzhnikov <ppluzhnikov@google.com>
46664
46665 [BZ #6528]
46666 * grp/Makefile (otherlibs): Don't set it.
46667 * inet/Makefile (otherlibs): Likewise.
46668 * login/Makefile (otherlibs): Likewise.
46669 * nscd/Makefile (otherlibs): Likewise.
46670 * posix/Makefile (otherlibs): Likewise.
46671 * pwd/Makefile (otherlibs): Likewise.
46672 * rt/Makefile (otherlibs): Likewise.
46673 * sunrpc/Makefile (otherlibs): Likewise.
46674 * nss/Makefile (otherlibs): Likewise.
46675 Add libnss_files to routines and static-only-routines.
46676 ($(objpfx)getent): Remove rule.
46677 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46678 static-only-routines.
46679
46680 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46681
46682 [BZ #13892]
46683 * math/s_cexp.c: Include <float.h>.
46684 (__cexp): Handle exp result overflowing not necessarily
46685 overflowing both real and imaginary parts of result.
46686 * math/s_cexpf.c: Likewise.
46687 * math/s_cexpl.c: Likewise.
46688 * math/libm-test.inc (cexp_test): Add more tests.
46689 * sysdeps/i386/fpu/libm-test-ulps: Update.
46690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46691
46692 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46693
46694 * include/link.h (ELFW): New macro.
46695 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46696 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46697
46698 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46699
46700 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46701 with uint64_t.
46702
46703 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46704
46705 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46706 declaration.
46707 (struct La_x32_retval): Likewise.
46708
46709 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46710
46711 * sysdeps/x86_64/preconfigure.in: New file.
46712 * sysdeps/x86_64/preconfigure: New generated file.
46713
46714 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46715
46716 [BZ #13824]
46717 * math/e_exp2l.c: Include <float.h>.
46718 (__ieee754_exp2l): Handle overflow and underflow cases
46719 separately. Only pass fractional part of argument to
46720 __ieee754_expl.
46721 * math/libm-test.inc (exp2_test): Add more tests.
46722
46723 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46724 negating x to take absolute value.
46725 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46726 Likewise.
46727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46729 Likewise.
46730 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46731 computing low part if x was negated.
46732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46733
46734 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46735
46736 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46737 la_x32_gnu_pltexit.
46738 (pltexit): Cast int_retval to ptrdiff_t.
46739 * elf/tst-auditmod3b.c: Likewise.
46740 * elf/tst-auditmod4b.c: Likewise.
46741 * elf/tst-auditmod5b.c: Likewise.
46742 * elf/tst-auditmod6b.c: Likewise.
46743 * elf/tst-auditmod6c.c: Likewise.
46744 * elf/tst-auditmod7b.c: Likewise.
46745
46746 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46747 and x32_gnu_pltexit.
46748
46749 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46750 __ELF_NATIVE_CLASS.
46751 (La_x32_regs): New macro.
46752 (La_x32_retval): Likewise.
46753 (la_x32_gnu_pltenter): New function prototype.
46754 (la_x32_gnu_pltexit): Likewise.
46755
46756 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46757
46758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46759 exponent.
46760
46761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46762
46763 * configure.in (libc_cv_cc_nofma): Check for option to disable
46764 generation of FMA instructions.
46765 * configure: Regenerate.
46766 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46767 * sysdeps/ieee754/dbl-64/Makefile: New file.
46768 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46769 Remove brandred-fma4.
46770 (CFLAGS-brandred-fma4.c): Remove.
46771 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46772 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46773 define.
46774 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46775 define.
46776
46777 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46778
46779 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46780 LLONG_MAX != LONG_MAX.
46781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46782 (_fitoa_word): Likewise.
46783 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46784 LLONG_MAX != LONG_MAX.
46785 * stdio-common/_itowa.h: Include <_itoa.h>.
46786 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46787 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46788 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46789 only if not defined.
46790 (_ITOA_WORD_TYPE): Likewise.
46791 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46792 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46793
46794 2012-03-21 David S. Miller <davem@davemloft.net>
46795
46796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46797
46798 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46799
46800 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46801 of x86_64 when setting libc_cv_slibdir, libdir and
46802 libc_cv_localedir.
46803 * sysdeps/unix/sysv/linux/configure: Regenerated.
46804
46805 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46806
46807 * manual/lang.texi (Old Varargs): Remove section.
46808 (How Variadic): Update menu.
46809 (va_start): Do not mention varargs.h.
46810
46811 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46812 Joseph Myers <joseph@codesourcery.com>
46813
46814 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46815 link test.
46816 * configure: Regenerated.
46817
46818 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46819
46820 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46821 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46822 conformtest.pl
46823
46824 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46825
46826 * NOTES: Remove.
46827 * Makefile (files-for-dist): Remove NOTES.
46828 (NOTES): Remove rule.
46829 * README: Don't refer to NOTES.
46830 * manual/creature.texi: Don't include macros.texi.
46831 * manual/intro.texi (creature.texi): Remove comment referring to
46832 NOTES.
46833
46834 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46835 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46836 * configure: Regenerated.
46837 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46838 LIBC_TRY_CC_OPTION.
46839 (libc_cv_as_i686): Likewise.
46840 (libc_cv_cc_avx): Likewise.
46841 (libc_cv_cc_sse2avx): Likewise.
46842 (libc_cv_cc_fma4): Likewise.
46843 (libc_cv_cc_novzeroupper): Likewise.
46844 * sysdeps/i386/configure: Regenerated.
46845
46846 [BZ #13883]
46847 * sysdeps/i386/fpu/s_cexp.S: Remove.
46848 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46849 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46850 * math/libm-test.inc (cexp_test): Add more tests.
46851 * sysdeps/i386/fpu/libm-test-ulps: Update.
46852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46853
46854 2012-03-21 Allan McRae <allan@archlinux.org>
46855
46856 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46857
46858 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46859
46860 [BZ #13871]
46861 * math/w_exp2.c: Do not include <float.h>.
46862 (o_threshold, u_threshold): Remove.
46863 (__exp2): Calculate result before checking finiteness and calling
46864 __kernel_standard.
46865 * math/w_exp2f.c: Likewise.
46866 * math/w_exp2l.c: Likewise.
46867 * math/libm-test.inc (exp2_test): Require overflow exception for
46868 1e6 input.
46869
46870 [BZ #3866]
46871 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46872 range of signed 64-bit integers before using fistpll. Remove
46873 checks for whether integers fit in mantissa bits.
46874 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46875 the range of signed 32-bit integers before using fistpl. Remove
46876 checks for whether integers fit in mantissa bits.
46877 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46878 (__ieee754_powl): Test for y outside the range of signed 64-bit
46879 integers before using fistpll. Reduce 64-bit values to 63-bit
46880 ones as needed.
46881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46882 divide-by-zero is raised for zero to large negative powers.
46883 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46884 (__ieee754_powl): Test for y outside the range of signed 64-bit
46885 integers before using fistpll. Reduce 64-bit values to 63-bit
46886 ones as needed.
46887 * math/libm-test.inc (pow_test): Add more tests.
46888
46889 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46890
46891 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46892 <stdio-common/_itoa.h>.
46893 * debug/segfault.c: Likewise.
46894 * elf/dl-cache.c: Likewise.
46895 * elf/dl-minimal.c: Likewise.
46896 * elf/dl-misc.c: Likewise.
46897 * elf/dl-sysdep.c: Likewise.
46898 * elf/dl-version.c: Likewise.
46899 * elf/rtld.c: Likewise.
46900 * hurd/hurdsock.c: Likewise.
46901 * hurd/lookup-retry.c: Likewise.
46902 * malloc/malloc.c: Likewise.
46903 * malloc/mtrace.c: Likewise.
46904 * nscd/nscd_getgr_r.c: Likewise.
46905 * nscd/nscd_getpw_r.c: Likewise.
46906 * nscd/nscd_getserv_r.c: Likewise.
46907 * posix/getopt_init.c: Likewise.
46908 * posix/wordexp.c: Likewise.
46909 * stdio-common/_itoa.c: Likewise.
46910 * stdio-common/printf_fphex.c: Likewise.
46911 * stdio-common/vfprintf.c: Likewise.
46912 * string/_strerror.c: Likewise.
46913 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46914 * sysdeps/i386/i686/hp-timing.h: Likewise.
46915 * sysdeps/mach/_strerror.c: Likewise.
46916 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46917 * sysdeps/mach/hurd/sethostid.c: Likewise.
46918 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46919 * sysdeps/mach/xpg-strerror.c: Likewise.
46920 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46921 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46922 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46923 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46924 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46925 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46926 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46927 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46928 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46929 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46930 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46931 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46932 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46933 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46934 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46935 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46936 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46937 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46938 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46939 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46940 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46941
46942 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46943
46944 * stdio-common/_itoa.h: Moved to ...
46945 * sysdeps/generic/_itoa.h: Here.
46946
46947 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46948
46949 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46950 instead of "_itoa.h" and "_itowa.h".
46951 * stdio-common/vfprintf.: Likewise.
46952
46953 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46954
46955 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46956 <bits/wordsize.h>.
46957 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46958 (__signbit): Likwise.
46959 (llrintf): Likwise.
46960 (llrint): Likwise.
46961
46962 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46963
46964 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46965 __WORDSIZE != 64.
46966
46967 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46968
46969 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46970 OVERFLOW_EXCEPTION_OK.
46971 * math/libm-test.inc ("Philosophy"): Update comment about
46972 exception testing.
46973 (OVERFLOW_EXCEPTION): Define.
46974 (OVERFLOW_EXCEPTION_OK): Likewise.
46975 (INVALID_EXCEPTION_OK): Renumber.
46976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46977 (IGNORE_ZERO_INF_SIGN): Likewise.
46978 (test_exceptions): Handle FE_OVERFLOW.
46979 (exp10_test): Expect overflow exceptions.
46980 (exp2_test): Likewise.
46981 (expm1_test): Likewise.
46982 (nextafter_test): Likewise.
46983 (pow_test): Likewise.
46984 (scalbn_test): Likewise.
46985 (scalbln_test): Likewise.
46986
46987 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46988
46989 * sysdeps/x86_64/bits/atomic.h
46990 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46991 64bit integer.
46992 (atomic_exchange_acq): Likewise.
46993 (__arch_exchange_and_add_body): Likewise.
46994 (__arch_add_body): Likewise.
46995 (atomic_add_negative): Likewise.
46996 (atomic_add_zero): Likewise.
46997
46998 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46999
47000 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47001 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47002
47003 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47004
47005 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47006 Check __x86_64__ instead of __WORDSIZE.
47007
47008 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47009
47010 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47011
47012 2012-03-19 David S. Miller <davem@davemloft.net>
47013
47014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47015
47016 * sysdeps/sparc/fpu/fenv_private.h: New file.
47017 * sysdeps/sparc/fpu/math_private.h: Use it.
47018 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47019 Remove.
47020 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47021 (libc_feholdexcept_setroundl): Remove.
47022 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47023 Remove.
47024 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47025 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47026
47027 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47028
47029 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47030 int64_t instead of long int.
47031 (INSERT_WORDS64): Likwise.
47032
47033 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47034
47035 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47036 _Unwind_GetCFA return to _Unwind_Ptr first.
47037
47038 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47039
47040 [BZ #13629]
47041 * math/s_clog.c: Include <float.h>.
47042 (__clog): Scale large or subnormal inputs.
47043 * math/s_clogf.c: Likewise.
47044 * math/s_clogl.c: Likewise.
47045 * math/s_clog10.c: Include <float.h>.
47046 (M_LOG10_2): Define.
47047 (__clog10): Scale large or subnormal inputs.
47048 * math/s_clog10f.c: Likewise.
47049 * math/s_clog10l.c: Likewise.
47050 * math/libm-test.inc (clog_test): Add more tests.
47051 (clog10_test): Likewise.
47052 * sysdeps/i386/fpu/libm-test-ulps: Update.
47053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47054
47055 [BZ #11451]
47056 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47057 x and y.
47058 * math/libm-test.inc (atan2_test): Add another test.
47059
47060 * Makerules (common-objdir-compile): Remove.
47061 * sysdeps/unix/Makefile (config-generated): Do not add
47062 $(unix-generated) to variable.
47063 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47064 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47065 Remove rule.
47066 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47067 Likewise.
47068 [generic bits/local_lim.h] (before-compile): Do not append to
47069 variable.
47070 [generic bits/local_lim.h] (common-generated): Likewise.
47071 [generic sys/param.h] (before-compile): Do not append to variable.
47072 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47073 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47074 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47075 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47076 include.
47077 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47078 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47079 [generic sys/param.h] ($(addprefix
47080 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47081 [generic sys/param.h] (common-generated): Do not append to
47082 variable.
47083 [generic sys/param.h] (sysdep_headers): Likewise.
47084 [generic bits/errno.h] (before-compile): Do not append to
47085 variable.
47086 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47087 rule.
47088 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47089 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47090 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47091 [generic bits/errno.h] (common-generated): Do not append to
47092 variable.
47093 [generic bits/ioctls.h] (before-compile): Do not append to
47094 variable.
47095 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47096 rule.
47097 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47098 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47099 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47100 rule.
47101 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47102 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47103 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47104 [generic bits/ioctls.h] (common-generated): Do not append to
47105 variable.
47106 [generic sys/syscall.h] (syscall.h): Remove variable.
47107 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47108 rule.
47109 [generic sys/syscall.h] (before-compile): Do not append to
47110 variable.
47111 [generic sys/syscall.h] (common-generated): Likewise.
47112 * sysdeps/unix/errnos-tmpl.c: Remove file.
47113 * sysdeps/unix/errnos.awk: Likewise.
47114 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47115 * sysdeps/unix/ioctls.awk: Likewise.
47116 * sysdeps/unix/mk-local_lim.c: Likewise.
47117 * sysdeps/unix/snarf-ioctls: Likewise.
47118
47119 2012-03-19 Richard Henderson <rth@twiddle.net>
47120
47121 * sysdeps/i386/fpu/fenv_private.h: New file.
47122 * sysdeps/i386/fpu/math_private.h: Use it.
47123 (math_opt_barrier, math_force_eval): Remove.
47124 (libc_feholdexcept_setround_53bit): Remove.
47125 (libc_feupdateenv_53bit): Remove.
47126 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47127 (math_opt_barrier, math_force_eval): Remove.
47128 (libc_feholdexcept): Remove.
47129 (libc_feholdexcept_setround): Remove.
47130 (libc_fetestexcept, libc_fesetenv): Remove.
47131 (libc_feupdateenv_test): Remove.
47132 (libc_feupdateenv, libc_feholdsetround): Remove.
47133 (libc_feresetround): Remove.
47134
47135 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47136 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47137
47138 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47139 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47140 (libc_feupdateenv_testl): New.
47141 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47142 (libc_feupdateenv_testf): New.
47143 (libc_feupdateenv): Use libc_feupdateenv_test.
47144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47145 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47146
47147 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47148 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47149 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47150 (libc_feresetround_noex): New.
47151 (libc_feresetround_noexf): New.
47152 (libc_feresetround_noexl): New.
47153 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47154 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47155 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47156 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47157 SET_RESTORE_ROUND.
47158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47160 (__cos): Likewise.
47161 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47162 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47163 SET_RESTORE_ROUND_NOEX.
47164 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47165 SET_RESTORE_ROUND_NOEXF.
47166 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47167 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47168 (libc_feholdsetroundf): New.
47169 (libc_feresetround, libc_feresetroundf): New.
47170
47171 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47172 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47173 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47174
47175 * sysdeps/generic/math_private.h: Include <fenv.h>.
47176 (default_libc_feholdexcept): New.
47177 (default_libc_feholdexcept_setround): New.
47178 (default_libc_fesetenv, default_libc_feupdateenv): New.
47179 (libc_feholdexcept): Only define if undefined.
47180 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47182 (libc_feholdexcept_setroundl): Likewise.
47183 (libc_feholdexcept_setround_53bit): Likewise.
47184 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47187 (libc_feupdateenv_53bit): Likewise.
47188 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47189 (libc_feholdexcept): Convert from macro to inline function.
47190 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47191 (libc_fesetenv, libc_feupdateenv): Likewise.
47192
47193 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47194 not previously defined.
47195 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47196 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47197 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47198 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47199 * sysdeps/ieee754/flt-32/math_private.h: New file.
47200 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47201 math_private.h below SET_FLOAT_WORD.
47202 (__isnan, __isinf_ns, __finite): Remove.
47203 (__isnanf, __isinf_nsf, __finitef): Remove.
47204
47205 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47206
47207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47208
47209 2012-03-17 David S. Miller <davem@davemloft.net>
47210
47211 [BZ #6471]
47212 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47213 for 2.16.
47214
47215 2012-03-16 David S. Miller <davem@davemloft.net>
47216
47217 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47218 warnings.
47219
47220 [BZ #6471]
47221 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47222 properly.
47223 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47224 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47225 sysdep_routines when subdir is sysvipc.
47226 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47227 __getshmlba helper.
47228
47229 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47230
47231 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47232
47233 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47234 [__LP64__].
47235
47236 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47237
47238 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47239 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47240 (__lround): Renamed to ...
47241 (__llround): This. Replace long int with long long int.
47242 Define lround functions as aliases of llround functions.
47243 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47244
47245 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47246
47247 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47248 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47249 adresses to uintptr_t. Replace "long int" and "unsigned long
47250 int" with "greg_t" on va_arg.
47251
47252 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47253
47254 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47255 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47256
47257 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47258 Move e_machine check before EI_CLASS check. Handle x32
47259 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47260 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47261 SKIP_EM_IA_64 and include
47262 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47263
47264 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47265 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47266 (add_system_dir): New macro.
47267
47268 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47269 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47270
47271 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47272
47273 [BZ #2551]
47274 [BZ #2552]
47275 [BZ #2553]
47276 [BZ #2554]
47277 [BZ #2562]
47278 [BZ #2563]
47279 [BZ #2565]
47280 [BZ #2566]
47281 [BZ #2576]
47282 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47283 (y0): Likewise.
47284 * math/w_j0f.c (j0f): Likewise.
47285 (y0f): Likewise.
47286 * math/w_j0l.c (__j0l): Likewise.
47287 (__y0l): Likewise.
47288 * math/w_j1.c (j1): Likewise.
47289 (y1): Likewise.
47290 * math/w_j1f.c (j1f): Likewise.
47291 (y1f): Likewise.
47292 * math/w_j1l.c (__j1l): Likewise.
47293 (__y1l): Likewise.
47294 * math/w_jn.c (jn): Likewise.
47295 (yn): Likewise.
47296 * math/w_jnf.c (jnf): Likewise.
47297 (ynf): Likewise.
47298 * math/w_jnl.c (__jnl): Likewise.
47299 (__ynl): Likewise.
47300 * math/libm-test.inc (j0_test): Add more tests.
47301 (j1_test): Likewise.
47302 (jn_test): Likewise. Add trailing semicolon to existing test.
47303 (y0_test): Likewise.
47304 (y1_test): Likewise.
47305 * sysdeps/i386/fpu/libm-test-ulps: Update.
47306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47307
47308 [BZ #13851]
47309 [BZ #13854]
47310 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47311 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47312 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47313 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47314 (__tanl): Set errno for infinite argument.
47315 * sysdeps/i386/fpu/mptan.c: Remove.
47316 * sysdeps/i386/fpu/s_tan.S: Likewise.
47317 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47318 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47319 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47320 * math/libm-test.inc (tan_test): Add more tests and enable more
47321 tests for double and long double.
47322 * sysdeps/i386/fpu/libm-test-ulps: Update.
47323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47324
47325 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47326
47327 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47328 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47329
47330 2012-03-16 Roland McGrath <roland@hack.frob.com>
47331
47332 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47333 * configure.in: Use it for both main tree and add-ons.
47334 * configure: Regenerated.
47335
47336 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47337
47338 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47339
47340 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47341
47342 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47343 in comment.
47344
47345 [BZ #13851]
47346 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47347 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47351 infinite argument.
47352 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47353 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47354 != 0 for prec == 2.
47355 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47356 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47357 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47358 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47359 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47360 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47361 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47362 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47363 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47364 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47365 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47366 * math/libm-test.inc (cos_test): Add more tests and enable more
47367 tests for long double.
47368 (sin_test): Likewise.
47369 (sincos_test): Likewise.
47370 * sysdeps/i386/fpu/libm-test-ulps: Update.
47371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47372
47373 2012-03-16 David S. Miller <davem@davemloft.net>
47374
47375 * sysdeps/sparc/fpu/math_private.h: New file.
47376
47377 2012-03-15 David S. Miller <davem@davemloft.net>
47378
47379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47380 file.
47381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47383 file.
47384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47390 sysdep routines.
47391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47392
47393 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47394 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47395
47396 * sysdeps/sparc/sparc-ifunc.h: New file.
47397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47398 sparc-ifunc.h
47399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47401 Likewise.
47402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47403 Likewise.
47404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47408 Likewise.
47409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47414 Likewise.
47415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47416 Likewise.
47417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47441
47442 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47443
47444 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47445 scaling.
47446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47447
47448 2012-03-15 Andreas Jaeger <aj@suse.de>
47449
47450 [BZ #13852]
47451 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47452 ieee754/flt-32 implementation for sin, cos and sincos.
47453 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47454 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47455 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47456 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47457 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47458 ieee754/flt-32 implementation for tan.
47459
47460 * math/libm-test.inc (cos_test): Enable some large input tests for
47461 float as well
47462 (sin_test): Likewise.
47463 (sincos_test): Likewise.
47464 (tan_test): Add tests for large input.
47465
47466 * sysdeps/i386/fpu/libm-test-ulps: Update.
47467
47468 2012-03-15 Andreas Jaeger <aj@suse.de>
47469
47470 [BZ #13658]
47471 * math/libm-test.inc (cos_test): Add more test cases.
47472 (sin_test): Likewise.
47473 (sincos_test): Likewise.
47474
47475 2012-03-15 Andreas Jaeger <aj@suse.de>
47476
47477 [BZ #13837]
47478 * math/libm-test.inc (cos_test): Add a test case for large input
47479 value.
47480 (sin_test): Likewise.
47481 (sincos_test): Likewise.
47482
47483 2012-03-15 Andreas Jaeger <aj@suse.de>
47484 Joseph Myers <joseph@codesourcery.com>
47485
47486 [BZ #13658]
47487 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47488 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47489 * sysdeps/i386/fpu/branred.c: Likewise.
47490 * sysdeps/i386/fpu/dosincos.c: Likewise.
47491 * sysdeps/i386/fpu/mpa.c: Likewise.
47492 * sysdeps/i386/fpu/s_cos.S: Likewise.
47493 * sysdeps/i386/fpu/s_sin.S: Likewise.
47494 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47495 * sysdeps/i386/fpu/sincos32.c: Likewise.
47496
47497 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47498 Define.
47499 (libc_feupdateenv_53bit): Define.
47500 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47501 Define.
47502 (libc_feupdateenv_53bit): Define.
47503
47504 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47505 53 bit (without extend i386 double precision).
47506
47507 * math/libm-test.inc (sincos_test): Add tests for large input.
47508 (sin): Likewise.
47509 (cos): Likewise.
47510
47511 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47512
47513 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47514
47515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47516
47517 2012-03-15 David S. Miller <davem@davemloft.net>
47518
47519 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47520 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47521 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47522 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47535 file.
47536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47538 file.
47539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47541 file.
47542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47544 file.
47545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47547 fmin/fmax sysdep routines.
47548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47549
47550 2012-03-14 David S. Miller <davem@davemloft.net>
47551
47552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47580 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47581 routines.
47582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47583 file.
47584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47586 file.
47587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47589 file.
47590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47592 file.
47593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47595 file.
47596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47598 file.
47599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47600 file.
47601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47602 file.
47603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47604 file.
47605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47606 New file.
47607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47608 file.
47609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47610 file.
47611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47613 file.
47614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47616 file.
47617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47619 file.
47620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47622 VIS3 routines.
47623
47624 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47625 New file.
47626
47627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47628
47629 * sysdeps/sparc/configure.in: New file.
47630 * sysdeps/sparc/configure: Generate.
47631 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47632 * configure: Regenerate.
47633 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47634 * config.make.in (have-as-vis3): New.
47635 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47636 available use -Av9d instead of -Av9a.
47637 * sysdeps/sparc/sparc64/Makefile: Likewise.
47638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47640 New file.
47641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47642 file.
47643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47644 New file.
47645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47646 file.
47647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47649 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47650 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47652
47653 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47654 fzeros/fnegs to load 0x80000000 into a float register instead of
47655 using the stack.
47656 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47657
47658 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47659
47660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47661 bits/syscall.h.
47662 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47663 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47664 ($(inst_includedir)/bits/syscall.h): Remove rule.
47665 ($(objpfx)bits/syscall.d): Include instead of
47666 $(objpfx)syscall-list.d.
47667 (generated): Change syscall-list.h and syscall-list.d to
47668 bits/syscall.h and bits/syscall.d.
47669
47670 2012-03-14 Roland McGrath <roland@hack.frob.com>
47671
47672 [BZ #13846]
47673 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47674
47675 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47676
47677 [BZ #13841]
47678 * math/s_csqrt.c: Include <float.h>.
47679 (__csqrt): Scale large or subnormal inputs.
47680 * math/s_csqrtf.c: Likewise.
47681 * math/s_csqrtl.c: Likewise.
47682 * math/libm-test.inc (csqrt_test): Add more tests.
47683 * sysdeps/i386/fpu/libm-test-ulps: Update.
47684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47685
47686 [BZ #13840]
47687 * math/libm-test.inc (hypot_test): Add more tests.
47688
47689 2012-03-13 David S. Miller <davem@davemloft.net>
47690
47691 [BZ #13840]
47692 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47693 double-precision for the calculation instead of scaling.
47694
47695 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47696
47697 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47698 manipulate bits before adding and subtracting TWO52[sx].
47699 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47701 Likewise.
47702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47703
47704 2012-03-13 David S. Miller <davem@davemloft.net>
47705
47706 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47707 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47709 rtld-global-offsets.h
47710 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47711
47712 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47713 large parameters.
47714
47715 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47716
47717 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47718 'err' in the ifdef scope in which it is actually used.
47719
47720 * nss/nss_db/db-init.c: Include string.h
47721
47722 2012-03-12 David S. Miller <davem@davemloft.net>
47723
47724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47725 masking out of the most significant byte of random value used.
47726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47727 Fix coding style in previous change.
47728
47729 * sysdeps/unix/sysv/linux/kernel-features.h
47730 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47731 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47732 expression.
47733 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47734 later.
47735
47736 2012-03-11 David S. Miller <davem@davemloft.net>
47737
47738 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47739 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47741 for 'resultvar' otherwise things get truncated on 64-bit.
47742
47743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47744 Fix masking out of the most significant byte of random value used.
47745
47746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47747
47748 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47749
47750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47751
47752 2012-03-09 David S. Miller <davem@davemloft.net>
47753
47754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47755 variables with appropriate CPP guards.
47756 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47757 from the frame pointer, not the stack pointer. Correct layout
47758 comments. Fix test on resulting framesize and the management of
47759 the outregs buffer for pltexit. Preserve floating point return
47760 values across _dl_call_pltexit call.
47761 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47762 framesize and the management of the outregs buffer for pltexit.
47763 Preserve floating point return values across _dl_call_pltexit
47764 call.
47765 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47766 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47767 (la_sparc64_gnu_pltexit): New functions.
47768 (print_exit): Fix format string for return register value.
47769
47770 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47771
47772 * sunrpc/Makefile (others): Add rpcgen.
47773 ($(objpfx)rpcgen): Remove special build rule and dependency on
47774 libc.
47775 * sunrpc/rpcgen.c: New file.
47776
47777 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47778
47779 [BZ #13673]
47780 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47781 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47782 * sysdeps/i386/crti.S: Likewise.
47783 * sysdeps/i386/crtn.S: Likewise.
47784 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47785 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47786 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47787 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47788 * sysdeps/sh/crti.S: Likewise.
47789 * sysdeps/sh/crtn.S: Likewise.
47790 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47791
47792 [BZ #13673]
47793 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47794 with URL.
47795 * locale/programs/locfile-kw.gperf: Likewise.
47796 * locale/programs/charmap-kw.h: Regenerated.
47797 * locale/programs/locfile-kw.h: Likewise.
47798
47799 [BZ #13673]
47800 * intl/plural.y: Replace FSF snail mail address with URL.
47801 * intl/plural.c: Regenerated.
47802
47803 2012-03-09 Richard Henderson <rth@twiddle.net>
47804
47805 * include/math_private.h: Remove file.
47806 * math/math_private.h: Move file ...
47807 * sysdeps/generic/math_private.h: ... here.
47808
47809 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47810 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47811 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47812
47813 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47814 and <math_private.h>.
47815 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47816 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47817 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47818 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47819 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47820 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47821 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47823 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47826 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47827 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47829 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47832 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47833 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47836 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47837 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47839 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47840 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47841 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47844 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47845 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47846 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47847 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47848 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47849 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47850 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47851 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47852 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47853 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47855 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47856 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47857 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47858 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47859 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47860 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47861 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47862 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47863 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47864 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47865 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47866 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47867 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47868 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47869 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47870 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47871 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47872 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47873 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47874 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47875 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47876 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47878 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47879 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47880 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47881 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47882 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47883 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47885 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47893 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47895 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47900 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47902 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47903 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47904 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47905 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47906 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47908 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47909 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47910 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47912 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47914 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47915 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47916 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47917 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47918 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47919 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47920 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47921 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47922 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47923 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47925 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47926 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47927 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47928 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47929 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47930 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47931 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47932 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47933 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47934 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47935 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47936 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47937 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47938 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47939 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47940 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47941 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47942 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47943 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47944 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47945 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47946 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47947 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47948 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47949 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47950 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47951 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47952 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47953 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47954 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47955 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47956 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47957 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47958 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47959 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47960 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47961 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47962 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47963 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47964 * sysdeps/ieee754/k_standard.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47977 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47978 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47979 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47981 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47985 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48010 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48011 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48015 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48016 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48017 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48023 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48025 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48026 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48027 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48028 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48031 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48033 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48037 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48038 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48039 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48040 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48041 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48044 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48046 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48047 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48048 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48049 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48050 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48051 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48053 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48054 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48056 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48057 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48058 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48061 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48062 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48063 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48064 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48067 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48068 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48069 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48070 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48071 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48072 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48073 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48074 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48075 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48076 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48077 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48078 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48079 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48080 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48081 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48082 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48084 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48086 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48090 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48091 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48092 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48093 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48094 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48095 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48096 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48097 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48098 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48099 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48100 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48101 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48102 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48104 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48105 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48106 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48107 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48108 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48109 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48110 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48111 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48112 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48113 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48114 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48115 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48116 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48117 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48118 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48119 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48120 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48121 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48122 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48123 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48124 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48125 * sysdeps/ieee754/s_lib_version.c: Likewise.
48126 * sysdeps/ieee754/s_matherr.c: Likewise.
48127 * sysdeps/ieee754/s_signgam.c: Likewise.
48128 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48129 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48130 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48131 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48132 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48133 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48134 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48135 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48136 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48137 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48138 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48139 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48140 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48141 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48142 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48143 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48144 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48145 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48146 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48149
48150 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48151
48152 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48153 * sunrpc/rpc_main.c: Likewise.
48154 * sunrpc/rpc_svcout.c: Likewise.
48155
48156 2012-03-09 David S. Miller <davem@davemloft.net>
48157
48158 * include/math_private.h: New file.
48159
48160 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48161
48162 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48163 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48164 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48165 from <bits/socket_type.h>.
48166 (enum __socket_type): Don't define here.
48167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48169 bits/socket_type.h.
48170
48171 [BZ #13566]
48172 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48173 checking __USE_GNU.
48174
48175 * Makerules ($(inst_includedir)/%.h): New rule.
48176 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48177 (install-others): Remove variable setting.
48178 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48179
48180 2012-03-08 Richard Henderson <rth@twiddle.net>
48181
48182 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48183 from macro to inline function; merge with the
48184 !__LIBC_INTERNAL_MATH_INLINES version.
48185 (__ieee754_sqrtf): Likewise.
48186
48187 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48188 to inline function.
48189 (__rintf, __floor, __floorf): Likewise.
48190
48191 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48192 macro to inline function.
48193 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48194
48195 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48196 not <math/math_private.h>.
48197
48198 2012-03-08 David S. Miller <davem@davemloft.net>
48199
48200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48201 copyright year.
48202 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48203
48204 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48205
48206 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48207 normalization.
48208 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48209 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48210
48211 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48212
48213 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48214 be defined individually, they must be defined as a block. Define
48215 S for printing a string instead of hidint the different by using a
48216 macro for adding the 'l'.
48217 * stdio-common/tst-fphex-wide.c: Adjust.
48218
48219 2012-03-07 Marek Polacek <polacek@redhat.com>
48220
48221 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48222
48223 2012-03-08 Marek Polacek <polacek@redhat.com>
48224
48225 [BZ #13806]
48226 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48227 * stdio-common/tst-fphex.c: Define a few macros to make the
48228 test reusable. Use them.
48229 * stdio-common/tst-fphex-wide.c: New file.
48230
48231 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48232
48233 [BZ #6911]
48234 * manual/macros.texi (gnusystems): New macro.
48235 (nongnusystems): Likewise.
48236 (gnulinuxhurdsystems): Likewise.
48237 (gnuhurdsystems): Likewise..
48238 (gnulinuxsystems): Likewise.
48239 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48240 variants of the GNU system, not "GNU system".
48241 * manual/conf.texi: Likewise.
48242 * manual/errno.texi: Likewise. Update example of errno macro
48243 expansion.
48244 * manual/filesys.texi: Likewise.
48245 (getumask): Document as specific to GNU/Hurd.
48246 * manual/install.texi: Likewise. Reword some references to
48247 GNU/Linux.
48248 * manual/intro.texi: Likewise.
48249 * manual/io.texi: Likewise.
48250 (File Name Portability): Detail which constraints are inapplicable
48251 to all GNU systems and which are only inapplicable to GNU/Hurd.
48252 * manual/job.texi: Likewise.
48253 * manual/llio.texi: Likewise.
48254 (O_NOCTTY): Document as present on GNU/Linux.
48255 * manual/maint.texi: Likewise.
48256 * manual/memory.texi: Likewise.
48257 * manual/pattern.texi: Likewise.
48258 * manual/pipe.texi: Likewise.
48259 * manual/process.texi: Likewise.
48260 * manual/resource.texi: Likewise.
48261 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48262 child on GNU/Hurd.
48263 * manual/setjmp.texi: Likewise.
48264 * manual/signal.texi: Likewise.
48265 * manual/startup.texi: Likewise.
48266 * manual/stdio.texi: Likewise.
48267 * manual/terminal.texi: Likewise.
48268 (ONLCR): Document as POSIX.
48269 (OXTABS): Document availability on GNU/Linux as XTABS.
48270 (ONOEOT): Document availability separately from other bits.
48271 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48272 * manual/time.texi: Likewise.
48273 * manual/users.texi: Likewise.
48274 * INSTALL: Regenerated.
48275 * sysdeps/gnu/errlist.c: Regenerated.
48276
48277 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48278 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48279 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48280 puts.
48281 * configure: Regenerated.
48282
48283 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48284
48285 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48286 default includes instead of AC_HEADER_CHECK.
48287 * sysdeps/i386/configure: Regenerated.
48288
48289 [BZ #10716]
48290 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48291 * math/s_cacoshf.c (__cacoshf): Likewise.
48292 * math/s_cacoshl.c (__cacoshl): Likewise.
48293 * math/s_casinh.c (__casinh): Set signs of result from argument.
48294 * math/s_casinhf.c (__casinhf): Likewise.
48295 * math/s_casinhl.c (__casinhl): Likewise.
48296 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48297 (casinh_test): Add more tests.
48298 * sysdeps/i386/fpu/libm-test-ulps: Update.
48299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48300
48301 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48302
48303 * po/zh_TW.po: Update from translation team.
48304
48305 * login/Makefile (distribute): Remove variable.
48306 * catgets/Makefile: Likewise.
48307 * mach/Makefile: Likewise.
48308 * malloc/Makefile: Likewise.
48309 * misc/Makefile: Likewise.
48310 * iconv/Makefile: Likewise.
48311 * nscd/Makefile: Likewise.
48312 * hurd/Makefile: Likewise.
48313 * manual/Makefile: Likewise.
48314 * locale/Makefile: Likewise.
48315 * intl/Makefile: Likewise.
48316 * conform/Makefile: Likewise.
48317 * nss/Makefile: Likewise.
48318 * time/Makefile: Likewise.
48319 * soft-fp/Makefile: Likewise.
48320 * dirent/Makefile: Likewise.
48321 * gmon/Makefile: Likewise.
48322 * po/Makefile: Likewise.
48323 * rt/Makefile: Likewise.
48324 * socket/Makefile: Likewise.
48325 * math/Makefile: Likewise.
48326 * signal/Makefile: Likewise.
48327 * debug/Makefile: Likewise.
48328 * elf/Makefile: Likewise.
48329 * timezone/Makefile: Likewise.
48330 * stdlib/Makefile: Likewise.
48331 * iconvdata/Makefile: Likewise.
48332 * sunrpc/Makefile: Likewise.
48333 * io/Makefile: Likewise.
48334 * argp/Makefile: Likewise.
48335 * inet/Makefile: Likewise.
48336 * hesiod/Makefile: Likewise.
48337 * grp/Makefile: Likewise.
48338 * csu/Makefile: Likewise.
48339 * wctype/Makefile: Likewise.
48340 * crypt/Makefile: Likewise.
48341 * libio/Makefile: Likewise.
48342 * string/Makefile: Likewise.
48343 * nis/Makefile: Likewise.
48344 * resolv/Makefile: Likewise.
48345 * stdio-common/Makefile: Likewise.
48346 * wcsmbs/Makefile: Likewise.
48347 * dlfcn/Makefile: Likewise.
48348 * posix/Makefile: Likewise.
48349
48350 [BZ #6959]
48351 * timezone/Makefile: Don't install timezone files, just the programs
48352 and scripts.
48353
48354 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48355
48356 * nss/databases.def: Add missing gshadow entry.
48357
48358 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48359
48360 2012-03-06 Marek Polacek <polacek@redhat.com>
48361
48362 [BZ #13726]
48363 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48364 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48365 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48366 * stdio-common/tst-long-dbl-fphex.c: New file.
48367
48368 2012-03-06 David S. Miller <davem@davemloft.net>
48369
48370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48371 (set_obp_int): New function.
48372 (get_obp_int): New function.
48373 (__get_clockfreq_via_dev_openprom): Likewise.
48374 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48375 Avoid unused variable warnings on 'val' and use builtin_expect.
48376 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48377 __builtin_expect.
48378 (INLINE_CLONE_SYSCALL): Likewise.
48379
48380 2012-03-05 David S. Miller <davem@davemloft.net>
48381
48382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48383
48384 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48385
48386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48387
48388 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48389 only for |x| >= 40.
48390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48391
48392 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48393
48394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48395 Replace gettimeofday with __vdso_gettimeofday.
48396
48397 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48398 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48399 __vdso_clock_gettime and __vdso_getcpu.
48400
48401 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48402 time with __vdso_time.
48403
48404 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48405
48406 * manual/lang.texi (size_t): Note types to which size_t may be
48407 equivalent with the GNU C Library, but do not describe when
48408 differences between them are significant.
48409
48410 2012-03-05 Andreas Jaeger <aj@suse.de>
48411
48412 * sysdeps/i386/fpu/libm-test-ulps: Update.
48413
48414 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48415
48416 [BZ #3976]
48417 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48418 (__ieee754_pow): Save and restore rounding mode and use
48419 round-to-nearest for main computations.
48420 * math/libm-test.inc (pow_test_tonearest): New function.
48421 (pow_test_towardzero): Likewise.
48422 (pow_test_downward): Likewise.
48423 (pow_test_upward): Likewise.
48424 (main): Call the new functions.
48425 * sysdeps/i386/fpu/libm-test-ulps: Update.
48426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48427
48428 [BZ #3976]
48429 * math/libm-test.inc (cosh_test_tonearest): New function.
48430 (cosh_test_towardzero): Likewise.
48431 (cosh_test_downward): Likewise.
48432 (cosh_test_upward): Likewise.
48433 (sinh_test_tonearest): Likewise.
48434 (sinh_test_towardzero): Likewise.
48435 (sinh_test_downward): Likewise.
48436 (sinh_test_upward): Likewise.
48437 (main): Call the new functions.
48438 * sysdeps/i386/fpu/libm-test-ulps: Update.
48439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48440
48441 2012-03-05 Tom de Vries <tom@codesourcery.com>
48442
48443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48444 default stack guard is set in last bytes.
48445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48446
48447 2012-03-05 Kees Cook <keescook@chromium.org>
48448
48449 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48450
48451 [BZ #13656]
48452 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48453 possibly allocate from heap instead of stack.
48454 * stdio-common/bug-vfprintf-nargs.c: New file.
48455 * stdio-common/Makefile (tests): Add nargs overflow test.
48456
48457 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48458
48459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48460
48461 2012-03-03 Marek Polacek <polacek@redhat.com>
48462
48463 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48464 * math/math_private.h: Likewise.
48465 * stdlib/tst-strtod.c: Likewise.
48466 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48467 * sysdeps/x86_64/bits/atomic.h: Likewise.
48468
48469 2012-03-02 David S. Miller <davem@davemloft.net>
48470
48471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48475 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48476 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48477 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48478 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48479
48480 2012-03-02 Roland McGrath <roland@hack.frob.com>
48481
48482 [BZ #13792]
48483 * manual/examples/README: New file, says the example source files
48484 can be used under GPL>=2.
48485 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48486 line containing just "*/".
48487 * manual/examples/add.c: Add copyright header (GPL>=2).
48488 * manual/examples/argp-ex1.c: Likewise.
48489 * manual/examples/argp-ex2.c: Likewise.
48490 * manual/examples/argp-ex3.c: Likewise.
48491 * manual/examples/argp-ex4.c: Likewise.
48492 * manual/examples/atexit.c: Likewise.
48493 * manual/examples/db.c: Likewise.
48494 * manual/examples/dir.c: Likewise.
48495 * manual/examples/dir2.c: Likewise.
48496 * manual/examples/execinfo.c: Likewise.
48497 * manual/examples/filecli.c: Likewise.
48498 * manual/examples/filesrv.c: Likewise.
48499 * manual/examples/fmtmsgexpl.c: Likewise.
48500 * manual/examples/genpass.c: Likewise.
48501 * manual/examples/inetcli.c: Likewise.
48502 * manual/examples/inetsrv.c: Likewise.
48503 * manual/examples/isockad.c: Likewise.
48504 * manual/examples/longopt.c: Likewise.
48505 * manual/examples/memopen.c: Likewise.
48506 * manual/examples/memstrm.c: Likewise.
48507 * manual/examples/mkfsock.c: Likewise.
48508 * manual/examples/mkisock.c: Likewise.
48509 * manual/examples/mygetpass.c: Likewise.
48510 * manual/examples/pipe.c: Likewise.
48511 * manual/examples/popen.c: Likewise.
48512 * manual/examples/rprintf.c: Likewise.
48513 * manual/examples/search.c: Likewise.
48514 * manual/examples/select.c: Likewise.
48515 * manual/examples/setjmp.c: Likewise.
48516 * manual/examples/sigh1.c: Likewise.
48517 * manual/examples/sigusr.c: Likewise.
48518 * manual/examples/stpcpy.c: Likewise.
48519 * manual/examples/strdupa.c: Likewise.
48520 * manual/examples/strftim.c: Likewise.
48521 * manual/examples/strncat.c: Likewise.
48522 * manual/examples/subopt.c: Likewise.
48523 * manual/examples/swapcontext.c: Likewise.
48524 * manual/examples/termios.c: Likewise.
48525 * manual/examples/testopt.c: Likewise.
48526 * manual/examples/testpass.c: Likewise.
48527 * manual/examples/timeval_subtract.c: Likewise.
48528
48529 [BZ #13792]
48530 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48531 function to ...
48532 * manual/timeval_subtract.c.texi: ... here, new file.
48533
48534 2012-03-02 David S. Miller <davem@davemloft.net>
48535
48536 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48537
48538 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48539
48540 [BZ #3976]
48541 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48542 (__sin): Save and restore rounding mode and use round-to-nearest
48543 for all computations.
48544 (__cos): Save and restore rounding mode and use round-to-nearest
48545 for all computations.
48546 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48547 <fenv.h>.
48548 (tan): Save and restore rounding mode and use round-to-nearest for
48549 all computations.
48550 * math/libm-test.inc (cos_test_tonearest): New function.
48551 (cos_test_towardzero): Likewise.
48552 (cos_test_downward): Likewise.
48553 (cos_test_upward): Likewise.
48554 (sin_test_tonearest): Likewise.
48555 (sin_test_towardzero): Likewise.
48556 (sin_test_downward): Likewise.
48557 (sin_test_upward): Likewise.
48558 (tan_test_tonearest): Likewise.
48559 (tan_test_towardzero): Likewise.
48560 (tan_test_downward): Likewise.
48561 (tan_test_upward): Likewise.
48562 (main): Call the new functions.
48563 * sysdeps/i386/fpu/libm-test-ulps: Update.
48564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48565
48566 [BZ #10135]
48567 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48568 small n, then large n, before computing and testing k+n.
48569 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48571 Likewise.
48572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48573 Likewise.
48574 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48575 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48582 * math/libm-test.inc (scalbn_test): Add more tests.
48583 (scalbln_test): Likewise.
48584
48585 * manual/filesys.texi (mode_t): Describe constraints on size and
48586 signedness, not exact equivalence to a particular type.
48587 (ino_t): Likewise.
48588 (ino64_t): Likewise.
48589 (dev_t): Likewise.
48590 (nlink_t): Likewise.
48591 (blkcnt_t): Likewise.
48592 (blkcnt64_t): Likewise.
48593 * manual/llio.texi (off_t): Likewise.
48594
48595 [BZ #3976]
48596 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48597 (__ieee754_exp): Save and restore rounding mode and use
48598 round-to-nearest for all computations.
48599 * math/libm-test.inc (exp_test_tonearest): New function.
48600 (exp_test_towardzero): Likewise.
48601 (exp_test_downward): Likewise.
48602 (exp_test_upward): Likewise.
48603 (main): Call the new functions.
48604 * sysdeps/i386/fpu/libm-test-ulps: Update.
48605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48606
48607 2012-03-01 Chris Demetriou <cgd@google.com>
48608
48609 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48610 have predictable order.
48611
48612 2012-03-01 David S. Miller <davem@davemloft.net>
48613
48614 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48615
48616 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48617 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48618 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48619 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48620
48621 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48622 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48623 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48625 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48626 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48627 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48628 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48629 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48630
48631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48632
48633 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48634 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48635 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48636
48637 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48638 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48640 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48641 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48644 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48645 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48646 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48647 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48648 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48650 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48651 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48652 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48653 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48654 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48655 * sysdeps/sparc/elf/configure: Regenerated.
48656
48657 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48658
48659 * configure.in (AS, LD): Require binutils 2.20 or later.
48660 * configure: Regenerated.
48661 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48662 as required minimum version.
48663 * INSTALL: Regenerated.
48664
48665 [BZ #2541]
48666 [BZ #4108]
48667 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48668 before squaring exponent.
48669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48670 bottom long double and 27 bits of top long double before squaring
48671 exponent.
48672 * math/libm-test.inc (erfc_test): Add more tests.
48673 * sysdeps/i386/fpu/libm-test-ulps: Update.
48674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48676
48677 2012-03-01 Kai Tietz <ktietz@redhat.com>
48678
48679 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48680 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48681 containing bit-fields.
48682 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48683 * soft-fp/single.h (_FP_UNION_S): Likewise.
48684 * soft-fp/double.h (_FP_UNION_D): Likewise.
48685
48686 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48687
48688 [BZ #13786]
48689 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48690 not include ../strcmp.S.
48691 [USE_AS_STRNCASECMP_L]: Likewise.
48692 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48693 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48694 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48695 (__strncasecmp_l_ia32): Define as alias to
48696 __strncasecmp_l_nonascii.
48697
48698 [BZ #5794]
48699 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48700 * sysdeps/i386/fpu/libm-test-ulps: Update.
48701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48702
48703 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48705
48706 2012-02-29 Jeff Law <law@redhat.com>
48707
48708 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48709 out of bounds read.
48710
48711 2012-02-29 Marek Polacek <polacek@redhat.com>
48712
48713 [BZ #13706]
48714 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48715 * elf/Makefile: Add rules to run tst-unused-dep.out.
48716
48717 2012-02-28 David S. Miller <davem@davemloft.net>
48718
48719 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48720 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48721 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48722 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48723 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48724 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48725
48726 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48727
48728 * math/libm-test.inc (llround_test): Move one test from
48729 lround_test. Use TEST_f_L in moved test.
48730 (lround_test): Move misplaced test to llround_test. Add testcase
48731 from bug 2561.
48732
48733 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48734
48735 * sysdeps/x86_64/fpu/e_expf.S: New file.
48736 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48737
48738 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48739
48740 [BZ #13637]
48741 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48742 of remain_len that may cause incomplete multi-byte character and
48743 false match.
48744 * posix/bug-regex33.c: New file.
48745 * posix/Makefile (tests): Add bug-regex33.
48746
48747 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48748
48749 * manual/macros.texi: New file.
48750 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48751 * manual/libc.texinfo: Include macros.texi.
48752 * manual/creatute.texi: Likewise.
48753 * manual/install.texi: Likewise.
48754 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48755 @glibcadj{} in references to the GNU C Library.
48756 * manual/charset.texi: Likewise.
48757 * manual/conf.texi: Likewise.
48758 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48759 when not using those macros.
48760 * manual/creature.texi: Likewise.
48761 * manual/crypt.texi: Likewise.
48762 * manual/errno.texi: Likewise.
48763 * manual/filesys.texi: Likewise.
48764 * manual/header.texi: Likewise.
48765 * manual/install.texi: Likewise.
48766 * manual/intro.texi: Likewise.
48767 * manual/io.texi: Likewise.
48768 * manual/job.texi: Likewise.
48769 * manual/lang.texi: Likewise.
48770 * manual/libc.texiinfo: Likewise.
48771 * manual/llio.texi: Likewise.
48772 * manual/locale.texi: Likewise.
48773 * manual/maint.texi: Likewise.
48774 * manual/math.texi: Likewise.
48775 * manual/memory.texi: Likewise.
48776 * manual/message.texi: Likewise.
48777 * manual/nss.texi: Likewise.
48778 * manual/pattern.texi: Likewise.
48779 * manual/process.texi: Likewise.
48780 * manual/resource.texi: Likewise.
48781 * manual/search.texi: Likewise.
48782 * manual/setjmp.texi: Likewise.
48783 * manual/signal.texi: Likewise.
48784 * manual/socket.texi: Likewise.
48785 * manual/startup.texi: Likewise.
48786 * manual/stdio.texi: Likewise.
48787 * manual/string.texi: Likewise.
48788 * manual/sysinfo.texi: Likewise.
48789 * manual/syslog.texi: Likewise.
48790 * manual/terminal.texi: Likewise.
48791 * manual/time.texi: Likewise.
48792 * manual/users.texi: Likewise.
48793 * INSTALL: Regenerated.
48794 * NOTES: Regenerated.
48795 * sysdeps/gnu/errlist.c: Regenerated.
48796
48797 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48798
48799 * include/dirent.h: Include <dirstream.h> before
48800 <dirent/dirent.h>.
48801
48802 2012-02-28 David S. Miller <davem@davemloft.net>
48803
48804 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48805 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48806 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48807 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48808
48809 2012-02-27 David S. Miller <davem@davemloft.net>
48810
48811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48813 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48814 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48815
48816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48817 frame pointer instead of stack pointer relative arg slot.
48818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48819 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48820 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48821
48822 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48823
48824 [BZ #3992]
48825 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48826
48827 2012-02-27 David S. Miller <davem@davemloft.net>
48828
48829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48833 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48834 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48835 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48836 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48837
48838 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48839
48840 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48841 later. Allow versions 5-9.
48842 * configure: Regenerated.
48843 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48844 required minimum version and 4.6 as recommended version. Do not
48845 mention bugs in GCC 2.7 and 2.8.
48846 * INSTALL: Regenerated.
48847
48848 2012-02-27 David S. Miller <davem@davemloft.net>
48849
48850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48854 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48855 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48856 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48857 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48858
48859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48860 manipulate bits before adding and subtracting TWO112[sx].
48861 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48862
48863 2012-02-27 Roland McGrath <roland@hack.frob.com>
48864
48865 [BZ #13775]
48866 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48867 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48868 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48869 being in POSIX, because they are in 1003.1-2008.
48870
48871 * rt/tst-aio.c: Include <fcntl.h>.
48872 * rt/tst-aio7.c: Likewise.
48873 * rt/tst-aio64.c: Likewise.
48874
48875 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48876
48877 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48878
48879 * manual/install.texi (--with-headers): Describe headers as
48880 interface headers, not private headers.
48881 (Specific advice for GNU/Linux systems): Describe use of headers
48882 from "make headers_install", not private headers from older
48883 kernels.
48884 * INSTALL: Regenerated.
48885 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48886 Change to 2.6.19.
48887 * sysdeps/unix/sysv/linux/configure: Regenerated.
48888
48889 * manual/llio.texi (fclean): Remove documentation.
48890
48891 * manual/Makefile (libc-texi-generated): New variable. Include
48892 version.texi.
48893 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48894 $(libc-texi-generated), not duplicated list of files.
48895 (version.texi, stamp-version): New rules.
48896 (realclean): Remove $(libc-texi-generated), not individual files
48897 from that list. Do not remove dir-add.texinfo.
48898 * manual/libc.texinfo: Comment out uses of edition numbers and
48899 references to printed manual. Remove last-updated dates.
48900 (EDITION): Comment out.
48901 (ISBN): Likewise.
48902 (VERSION, UPDATED): Remove.
48903 (version.texi): Include.
48904
48905 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48906
48907 * sysdeps/posix/spawni.c: Include <signal.h>.
48908 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48909 * sysdeps/pthread/aio_fsync.c: Likewise.
48910
48911 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48912
48913 * conform/Makefile (tests): Run only when not cross-compiling and
48914 when fast-check is not defined.
48915
48916 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48917 * conform/data/limits.h-data: Fixes for POSIX2008.
48918 * conform/run-conformtest.sh: Run all tests.
48919 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48920 headers.
48921 * include/bits/dlfcn.h: Likewise.
48922 * include/langinfo.h: Likewise.
48923 * include/monetary.h: Likewise.
48924 * include/sys/poll.h: Likewise.
48925
48926 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48927 for __USE_GNU.
48928 * posix/spawn.h: Define __need_sigset_t.
48929 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48930 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48931 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48932 to get sigevent_t only.
48933 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48934 only for __USE_GNU.
48935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48937 process_vm_writev only for __USE_GNU.
48938 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48939
48940 * conform/Makefile: For now ignore errors from run-conformtest.
48941 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48942 POSIX to avoid namespace pollution. Don't prepend headers.
48943 * conform/data/aio.h-data: Fixes for POSIX testing.
48944 * conform/data/fcntl.h-data: Likewise.
48945 * conform/data/glob.h-data: Likewise.
48946 * conform/data/grp.h-data: Likewise.
48947 * conform/data/pthread.h-data: Likewise.
48948 * conform/data/pwd.h-data: Likewise.
48949 * conform/data/signal.h-data: Likewise.
48950 * conform/data/spawn.h-data: Likewise.
48951 * conform/data/stdio.h-data: Likewise.
48952 * conform/data/stdlib.h-data: Likewise.
48953 * conform/data/stropts.h-data: Likewise.
48954 * conform/data/sys/mman.h-data: Likewise.
48955 * conform/data/sys/stat.h-data: Likewise.
48956 * conform/data/sys/types.h-data: Likewise.
48957 * conform/data/sys/wait.h-data: Likewise.
48958 * conform/data/time.h-data: Likewise.
48959 * conform/data/unistd.h-data: Likewise.
48960 * conform/data/utime.h-data: Likewise.
48961
48962 * io/sys/stat.h: fchmod was always in POSIX.
48963 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48964 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48965 * rt/aio.h: Define __need_timespec before including <time.h>.
48966 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48967 struct. Add forward declaration of pthread_attr_t and use it in
48968 sigevent.
48969 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48971 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48972 always remove CLK_TCK definition.
48973
48974 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48975
48976 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48977
48978 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48979
48980 * conform/run-conformtest.sh: New file.
48981 * conform/Makefile: Run run-conformtest for tests.
48982 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48983 support.
48984
48985 * conform/data/uchar.h-data: New file.
48986 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48987 * conform/data/arpa/inet.h-data: Likewise.
48988 * conform/data/assert.h-data: Likewise.
48989 * conform/data/complex.h-data: Likewise.
48990 * conform/data/cpio.h-data: Likewise.
48991 * conform/data/ctype.h-data: Likewise.
48992 * conform/data/dirent.h-data: Likewise.
48993 * conform/data/dlfcn.h-data: Likewise.
48994 * conform/data/errno.h-data: Likewise.
48995 * conform/data/fcntl.h-data: Likewise.
48996 * conform/data/float.h-data: Likewise.
48997 * conform/data/fmtmsg.h-data: Likewise.
48998 * conform/data/fnmatch.h-data: Likewise.
48999 * conform/data/ftw.h-data: Likewise.
49000 * conform/data/glob.h-data: Likewise.
49001 * conform/data/grp.h-data: Likewise.
49002 * conform/data/iconv.h-data: Likewise.
49003 * conform/data/inttypes.h-data: Likewise.
49004 * conform/data/langinfo.h-data: Likewise.
49005 * conform/data/libgen.h-data: Likewise.
49006 * conform/data/limits.h-data: Likewise.
49007 * conform/data/locale.h-data: Likewise.
49008 * conform/data/math.h-data: Likewise.
49009 * conform/data/monetary.h-data: Likewise.
49010 * conform/data/mqueue.h-data: Likewise.
49011 * conform/data/ndbm.h-data: Likewise.
49012 * conform/data/net/if.h-data: Likewise.
49013 * conform/data/netdb.h-data: Likewise.
49014 * conform/data/netinet/in.h-data: Likewise.
49015 * conform/data/nl_types.h-data: Likewise.
49016 * conform/data/poll.h-data: Likewise.
49017 * conform/data/pthread.h-data: Likewise.
49018 * conform/data/pwd.h-data: Likewise.
49019 * conform/data/regex.h-data: Likewise.
49020 * conform/data/sched.h-data: Likewise.
49021 * conform/data/search.h-data: Likewise.
49022 * conform/data/semaphore.h-data: Likewise.
49023 * conform/data/setjmp.h-data: Likewise.
49024 * conform/data/signal.h-data: Likewise.
49025 * conform/data/spawn.h-data: Likewise.
49026 * conform/data/stdarg.h-data: Likewise.
49027 * conform/data/stdio.h-data: Likewise.
49028 * conform/data/stdlib.h-data: Likewise.
49029 * conform/data/string.h-data: Likewise.
49030 * conform/data/strings.h-data: Likewise.
49031 * conform/data/stropts.h-data: Likewise.
49032 * conform/data/sys/ipc.h-data: Likewise.
49033 * conform/data/sys/mman.h-data: Likewise.
49034 * conform/data/sys/msg.h-data: Likewise.
49035 * conform/data/sys/resource.h-data: Likewise.
49036 * conform/data/sys/select.h-data: Likewise.
49037 * conform/data/sys/sem.h-data: Likewise.
49038 * conform/data/sys/shm.h-data: Likewise.
49039 * conform/data/sys/socket.h-data: Likewise.
49040 * conform/data/sys/stat.h-data: Likewise.
49041 * conform/data/sys/statvfs.h-data: Likewise.
49042 * conform/data/sys/time.h-data: Likewise.
49043 * conform/data/sys/timeb.h-data: Likewise.
49044 * conform/data/sys/times.h-data: Likewise.
49045 * conform/data/sys/types.h-data: Likewise.
49046 * conform/data/sys/uio.h-data: Likewise.
49047 * conform/data/sys/un.h-data: Likewise.
49048 * conform/data/sys/utsname.h-data: Likewise.
49049 * conform/data/sys/wait.h-data: Likewise.
49050 * conform/data/syslog.h-data: Likewise.
49051 * conform/data/tar.h-data: Likewise.
49052 * conform/data/termios.h-data: Likewise.
49053 * conform/data/utime.h-data: Likewise.
49054 * conform/data/utmpx.h-data: Likewise.
49055 * conform/data/varargs.h-data: Likewise.
49056 * conform/data/wchar.h-data: Likewise.
49057 * conform/data/wctype.h-data: Likewise.
49058 * conform/data/wordexp.h-data: Likewise.
49059
49060 * include/stropts.h: New file.
49061 * include/uchar.h: New file.
49062 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49063 * include/assert.h: Likewise.
49064 * include/ctype.h: Likewise.
49065 * include/dirent.h: Likewise.
49066 * include/dlfcn.h: Likewise.
49067 * include/fcntl.h: Likewise.
49068 * include/fnmatch.h: Likewise.
49069 * include/glob.h: Likewise.
49070 * include/grp.h: Likewise.
49071 * include/libio.h: Likewise.
49072 * include/locale.h: Likewise.
49073 * include/math.h: Likewise.
49074 * include/net/if.h: Likewise.
49075 * include/netdb.h: Likewise.
49076 * include/netinet/in.h: Likewise.
49077 * include/pthread.h: Likewise.
49078 * include/pwd.h: Likewise.
49079 * include/regex.h: Likewise.
49080 * include/sched.h: Likewise.
49081 * include/search.h: Likewise.
49082 * include/setjmp.h: Likewise.
49083 * include/signal.h: Likewise.
49084 * include/stdio.h: Likewise.
49085 * include/stdlib.h: Likewise.
49086 * include/string.h: Likewise.
49087 * include/sys/cdefs.h: Likewise.
49088 * include/sys/mman.h: Likewise.
49089 * include/sys/msg.h: Likewise.
49090 * include/sys/resource.h: Likewise.
49091 * include/sys/select.h: Likewise.
49092 * include/sys/socket.h: Likewise.
49093 * include/sys/stat.h: Likewise.
49094 * include/sys/statvfs.h: Likewise.
49095 * include/sys/time.h: Likewise.
49096 * include/sys/times.h: Likewise.
49097 * include/sys/uio.h: Likewise.
49098 * include/sys/utsname.h: Likewise.
49099 * include/sys/wait.h: Likewise.
49100 * include/termios.h: Likewise.
49101 * include/time.h: Likewise.
49102 * include/ulimit.h: Likewise.
49103 * include/unistd.h: Likewise.
49104 * include/utime.h: Likewise.
49105 * include/wchar.h: Likewise.
49106 * include/wctype.h: Likewise.
49107 * include/wordexp.h: Likewise.
49108
49109 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49110
49111 * time/time.h: TIME_UTC must be a macro.
49112 Make timespec_get available for ISO C11 only as well.
49113
49114 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49115
49116 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49117 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49118
49119 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49120
49121 * configure.in: Use -o not -a in test for unsupported multi-arch.
49122
49123 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49124
49125 * manual/texinfo.tex: Update to version 2012-01-19.16.
49126
49127 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49128
49129 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49130
49131 2012-02-24 Roland McGrath <roland@hack.frob.com>
49132
49133 [BZ #13738]
49134 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49135 * manual/fdl-1.3.texi: New file.
49136 * manual/fdl-1.1.texi: File removed.
49137
49138 [BZ #13738]
49139 * manual/libc.texinfo (FDL_VERSION): New @set.
49140 Use it for mention of FDL in cover text.
49141 (Documentation License): Use it in @include file name.
49142
49143 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49144 Roland McGrath <roland@hack.frob.com>
49145
49146 [BZ #5461]
49147 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49148 (not LONG_LONG_MAX and LONG_LONG_MIN.
49149 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49150 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49151 name.
49152 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49153
49154 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49155
49156 [BZ #2547]
49157 [BZ #11365]
49158 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49159 manipulate bits before adding and subtracting TWO23[sx].
49160 * math/libm-test.inc (nearbyint_test): Add more tests.
49161
49162 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49163
49164 [BZ #2548]
49165 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49166 bits before adding and subtracting TWO23[sx].
49167 * math/libm-test.inc (rint_test): Add more tests.
49168 (rint_test_tonearest): Likewise.
49169 (rint_test_towardzero): Likewise.
49170 (rint_test_downward): Likewise.
49171 (rint_test_upward: Likewise.
49172
49173 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49174
49175 [BZ #10110]
49176 * include/stdc-predef.h: New file. Extracted from features.h.
49177 * include/features.h: Include stdc-predef.h.
49178 * Makefile (headers): Add stdc-predef.h.
49179 * CONFORMANCE (Compiler limitations): Update.
49180
49181 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49182
49183 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49184
49185 2012-02-21 David S. Miller <davem@davemloft.net>
49186
49187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49188 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49189
49190 2012-02-20 David S. Miller <davem@davemloft.net>
49191
49192 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49193 using a normal save/restore sequence, rather than allocating a
49194 dummy stack frame just to store a frame pointer and restore.
49195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49196
49197 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49198
49199 * manual/install.texi: Fix stray word in line-wrapped comment.
49200
49201 2012-02-20 David S. Miller <davem@davemloft.net>
49202
49203 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49204 both binutils and gcc support GOTDATA.
49205
49206 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49207 "rd %pc" in the PIC register setup sequences.
49208
49209 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49210 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49211 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49212 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49213 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49216 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49218 (SYSCALL_ERROR_HANDLER): Likewise.
49219 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49220 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49222 (SYSCALL_ERROR_HANDLER): Likewise.
49223
49224 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49225 (HAVE_GCC_GOTDATA): New.
49226 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49227 relocation support in both binutils and gcc.
49228 * sysdeps/sparc/elf/configure: Regenerate.
49229
49230 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49231 * sysdeps/sparc/sparc32/elf/configure: Delete.
49232 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49233 * sysdeps/sparc/sparc64/elf/configure: Delete.
49234 * sysdeps/sparc/elf/configure.in: New file.
49235 * sysdeps/sparc/elf/configure: Generate.
49236
49237 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49238 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49239 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49240 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49241 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49242
49243 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49244
49245 * manual/install.texi: Do not mention specific glibc version
49246 numbers.
49247 * manual/libc.texinfo (VERSION, UPDATED): Update.
49248 (@copying): Use @copyright{} and range of years.
49249
49250 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49251
49252 [BZ #13695]
49253 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49254 [crti.S not in sysdirs] (generated): Do not append.
49255 [crti.S not in sysdirs] (omit-deps): Likewise.
49256 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49257 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49258 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49259 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49260 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49261 Likewise.
49262 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49263 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49264 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49265 * csu/defs.awk: Remove file.
49266 * sysdeps/generic/initfini.c: Likewise.
49267 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49268 variable.
49269 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49270 Likewise.
49271
49272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49273
49274 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49275 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49276 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49279 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49280 <bits/epoll.h>.
49281 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49282 (__EPOLL_PACKED): Define to empty if not defined by
49283 <bits/epoll.h>.
49284 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49286 bits/epoll.h.
49287
49288 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49289
49290 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49291 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49292 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49293 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49294 <bits/timerfd.h>.
49295 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49297 bits/timerfd.h.
49298
49299 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49300
49301 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49302 in C locale.
49303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49304 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49305 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49307
49308 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49309
49310 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49311 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49312
49313 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49314
49315 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49316 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49317 defined.
49318 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49319 Likewise.
49320 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49321 entry for 2.16.
49322
49323 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49324
49325 * math/w_acos.c: Use non-signaling floating-point comparisons.
49326 * math/w_acosf.c: Likewise.
49327 * math/w_acosh.c: Likewise.
49328 * math/w_acoshf.c: Likewise.
49329 * math/w_acoshl.c: Likewise.
49330 * math/w_acosl.c: Likewise.
49331 * math/w_asin.c: Likewise.
49332 * math/w_asinf.c: Likewise.
49333 * math/w_asinl.c: Likewise.
49334 * math/w_atanh.c: Likewise.
49335 * math/w_atanhf.c: Likewise.
49336 * math/w_atanhl.c: Likewise.
49337 * math/w_exp2.c: Likewise.
49338 * math/w_exp2f.c: Likewise.
49339 * math/w_exp2l.c: Likewise.
49340 * math/w_j0.c: Likewise.
49341 * math/w_j0f.c: Likewise.
49342 * math/w_j0l.c: Likewise.
49343 * math/w_j1.c: Likewise.
49344 * math/w_j1f.c: Likewise.
49345 * math/w_j1l.c: Likewise.
49346 * math/w_jn.c: Likewise.
49347 * math/w_jnf.c: Likewise.
49348 * math/w_log.c: Likewise.
49349 * math/w_log10.c: Likewise.
49350 * math/w_log10f.c: Likewise.
49351 * math/w_log10l.c: Likewise.
49352 * math/w_log2.c: Likewise.
49353 * math/w_log2f.c: Likewise.
49354 * math/w_log2l.c: Likewise.
49355 * math/w_logf.c: Likewise.
49356 * math/w_logl.c: Likewise.
49357 * math/w_sqrt.c: Likewise.
49358 * math/w_sqrtf.c: Likewise.
49359 * math/w_sqrtl.c: Likewise.
49360 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49361 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49362 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49363 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49364 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49365
49366 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49367
49368 [BZ #9739]
49369 * manual/string.texi (strnlen): Use correct parameter name in
49370 equivalent expression.
49371
49372 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49373
49374 [BZ #11174]
49375 * manual/users.texi (seteuid): Consistently use neweuid for
49376 argument name.
49377
49378 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49379
49380 [BZ #13704]
49381 * manual/nss.texi (Services in the NSS configuration): Correct
49382 list of services in example configuration file.
49383
49384 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49385
49386 [BZ #11322]
49387 * manual/arith.texi: Remove statements about negative zero
49388 behaving identically to zero.
49389
49390 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49391
49392 [BZ #5993]
49393 * manual/install.texi: Do not document upgrading from libc5.
49394
49395 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49396
49397 [BZ #4596]
49398 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49399
49400 2012-02-18 David S. Miller <davem@davemloft.net>
49401
49402 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49403 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49404 %o7 across the call.
49405 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49406 instead.
49407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49408 SETUP_PIC_REG_LEAF.
49409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49410 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49411 * sysdeps/sparc/crtn.S: Likewise.
49412
49413 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49414
49415 * aout/Makefile: Remove.
49416
49417 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49418
49419 [BZ #13058]
49420 * manual/examples/argp-ex1.c (main): Format definition in GNU
49421 style.
49422 * manual/examples/argp-ex2.c (main): Likewise.
49423 * manual/examples/argp-ex3.c (main): Likewise.
49424 * manual/examples/argp-ex4.c (main): Likewise.
49425 * manual/examples/longopt.c (main): Use new-style prototype
49426 definition.
49427 * manual/examples/strncat.c (main): Specify return type and use
49428 (void) for arguments.
49429 * manual/examples/subopt.c (main): Use char **argv argument.
49430
49431 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49432
49433 [BZ #5077]
49434 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49435 rounding modes.
49436
49437 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49438
49439 [BZ #6907]
49440 * manual/string.texi (strchr): Change when strchrnul is
49441 recommended.
49442
49443 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49444
49445 [BZ #174]
49446 * manual/locale.texi (setlocale): Document LOCPATH.
49447
49448 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49449
49450 [BZ #10210]
49451 * manual/process.texi (execle): Move @dots{} before last argument.
49452
49453 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49454
49455 [BZ #12047]
49456 * manual/charset.texi (Generic Charset Conversion): Fix typo
49457 (LC_TYPE -> LC_CTYPE).
49458
49459 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49460
49461 [BZ #5805]
49462 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49463 (scalbnf): Likewise.
49464 (scalbnl): Likewise.
49465 (scalbln): Likewise.
49466 (scalblnf): Likewise.
49467 (scalblnl): Likewise.
49468 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49469 (vwarnx): Likewise.
49470 (verr): Likewise.
49471 (verrx): Likewise.
49472 * manual/filesys.texi (telldir): Use braces around return type.
49473 * manual/llio.texi (mmap): Add space after comma.
49474 (mmap64): Likewise.
49475 * manual/math.texi (jn): Use @var{} on parameter names.
49476 (jnf): Likewise.
49477 (jnl): Likewise.
49478 (yn): Likewise.
49479 (ynf): Likewise.
49480 (ynl): Likewise.
49481 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49482 line.
49483 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49484 "...".
49485 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49486 (sched_get_priority_max): Likewise.
49487 * manual/signal.texi (sigvec): Add space after comma.
49488 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49489 names.
49490 (if_indextoname): Likewise.
49491 (if_freenameindex): Likewise.
49492 (sendto): Use ',' instead of '.' in prototype.
49493 * manual/startup.texi (syscall): Use @dots{} instead of literal
49494 "...".
49495 * manual/stdio.texi (__fpending): Separate initial words of
49496 paragraph from @deftypefun line.
49497 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49498 "...".
49499 (vsyslog): Use @var{} on parameter names.
49500 * manual/terminal.texi (stty): Use @var{} on parameter names.
49501 * manual/users.texi (getutmp): Use @var{} on parameter names.
49502 (getutmpx): Likewise.
49503
49504 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49505
49506 [BZ #6884]
49507 * manual/stdio.texi (fopen): Fix typos in description of
49508 ",ccs=STRING".
49509
49510 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49511
49512 [BZ #4026]
49513 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49514 get clock_id definition.
49515
49516 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49517
49518 [BZ #4822]
49519 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49520 (madvise): Cast every argument to void on its own.
49521
49522 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49523
49524 [BZ #9902]
49525 * manual/startup.texi (Exit Status): Fix typo.
49526
49527 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49528
49529 [BZ #10140]
49530 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49531 * manual/examples/argp-ex2.c: Likewise.
49532 * manual/examples/argp-ex3.c: Likewise.
49533
49534 2012-02-16 Richard Henderson <rth@redhat.com>
49535
49536 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49537 * sysdeps/s390/s390-32/initfini.c: Remove.
49538 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49539 * sysdeps/s390/s390-64/initfini.c: Remove.
49540
49541 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49542
49543 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49544 compiler output for sysdeps/generic/initfini.c.
49545 * sysdeps/sh/elf/initfini.c: Remove file.
49546
49547 2012-02-16 David S. Miller <davem@davemloft.net>
49548
49549 [BZ #11494]
49550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49551
49552 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49553 * sysdeps/sparc/crti.S: New file.
49554 * sysdeps/sparc/crtn.S: New file.
49555 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49556 * sysdeps/sparc/sparc64/Makefile: Likewise.
49557
49558 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49559
49560 [BZ #3335]
49561 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49562
49563 2012-02-15 Roland McGrath <roland@hack.frob.com>
49564
49565 [BZ #4822]
49566 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49567
49568 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49569 (write, read, close): Likewise.
49570 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49571
49572 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49573
49574 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49575 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49576 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49577 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49578 <bits/signalfd.h>.
49579 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49581 bits/signalfd.h.
49582
49583 2012-02-14 Marek Polacek <polacek@redhat.com>
49584
49585 * sysdeps/x86_64/crti.S: New file.
49586 * sysdeps/x86_64/crtn.S: New file.
49587 * sysdeps/x86_64/elf/initfini.c: Remove file.
49588
49589 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49590
49591 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49592 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49593 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49594 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49595 <bits/inotify.h>.
49596 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49598 bits/inotify.h.
49599
49600 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49601
49602 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49603 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49604 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49605 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49606 <bits/eventfd.h>.
49607 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49609 bits/eventfd.h.
49610
49611 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49612
49613 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49614 __feraiseexcept instead of feraiseexcept.
49615
49616 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49617 nanosleep invocations.
49618 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49619 strings, and add error checking for a nanosleep invocations.
49620
49621 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49622
49623 Replace FSF snail mail address with URLs, as per GNU coding standards.
49624 Most of the snail mail addresses were wrong anyway, and omitting
49625 them makes the source code easier to maintain. Almost all of the
49626 changes are to license notices and to locale LC_IDENTIFICATION
49627 addresses, except for this one:
49628 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49629 not its snail mail address.
49630
49631 2012-02-09 Richard Henderson <rth@twiddle.net>
49632
49633 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49634 of kernel-features.h.
49635
49636 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49637
49638 2012-02-08 Marek Polacek <polacek@redhat.com>
49639
49640 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49641 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49642 * sysdeps/gnu/_G_config.h: Likewise.
49643 * sysdeps/generic/_G_config.h: Likewise.
49644
49645 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49646
49647 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49648 tests.
49649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49650
49651 * sysdeps/powerpc/powerpc32/crti.S: New file.
49652 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49653 * sysdeps/powerpc/powerpc64/crti.S: New file.
49654 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49655
49656 * Makeconfig (have-initfini): Don't set.
49657 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49658 * configure.in (nopic_initfini): Don't substitute.
49659 * config.h.in (HAVE_INITFINI): Don't #undef.
49660 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49661 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49662
49663 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49664
49665 Support crti.S and crtn.S provided directly by architectures.
49666 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49667 [crti.S in sysdirs] (omit-deps): Likewise.
49668 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49669 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49670 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49671 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49672 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49673 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49674 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49675 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49676 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49677 compiler output for sysdeps/generic/initfini.c.
49678 * sysdeps/i386/elf/Makefile: Remove file.
49679 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49680
49681 2012-02-07 Marek Polacek <polacek@redhat.com>
49682
49683 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49684 * sysdeps/gnu/_G_config.h: Likewise.
49685 * sysdeps/mach/hurd/_G_config.h: Likewise.
49686
49687 2012-02-07 Marek Polacek <polacek@redhat.com>
49688
49689 * math/Makefile (tests): Add tst-CMPLX2.
49690 * math/tst-CMPLX2.c: New file.
49691
49692 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49693
49694 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49695
49696 * math/libm-test.inc (jn_test): Add missing L suffix.
49697
49698 2012-02-06 Marek Polacek <polacek@redhat.com>
49699
49700 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49701 * sysdeps/i386/fpu/e_powf.S: Likewise.
49702 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49703 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49705 * sysdeps/i386/fpu/e_pow.S: Likewise.
49706 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49707 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49708 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49709 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49710 * sysdeps/i386/fpu/e_log2.S: Likewise.
49711 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49712 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49713 * sysdeps/i386/fpu/e_powl.S: Likewise.
49714 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49715 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49716 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49717 * sysdeps/i386/fpu/e_logl.S: Likewise.
49718 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49719 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49720 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49721 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49722 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49723 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49724 * sysdeps/i386/fpu/e_log.S: Likewise.
49725 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49727 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49728 * sysdeps/i386/fpu/e_logf.S: Likewise.
49729 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49731 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49732 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49733 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49734 * sysdeps/i386/fpu/e_log10.S: Likewise.
49735 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49736 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49737 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49738 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49740 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49741 * sysdeps/i386/asm-syntax.h: Likewise.
49742 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49743 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49744 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49745 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49746 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49747 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49748 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49749 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49751 * sysdeps/powerpc/sysdep.h: Likewise.
49752 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49754
49755 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49756
49757 [BZ #411]
49758 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49759
49760 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49761
49762 * sysdeps/i386/sysdep.h: Include <features.h>.
49763 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49764 version.
49765
49766 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49767
49768 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49769 Define.
49770 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49771 LOAD_PIC_REG_STR.
49772
49773 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49774
49775 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49776 (SETUP_PIC_REG): Use GET_PC_THUNK.
49777 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49778 macro.
49779
49780 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49781
49782 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49783 for non-PIC compilation.
49784 (SETUP_PIC_REG): Add .p2align directive.
49785 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49786 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49787 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49788 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49789 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49790 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49792 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49793 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49794 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49795 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49796 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49797 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49798 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49799 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49800 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49801 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49802 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49803 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49804 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49805 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49806 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49807 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49808 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49809 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49811 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49812 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49813 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49814 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49815 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49817 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49818 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49819 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49820 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49821 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49822 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49823 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49824 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49825 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49826
49827 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49828
49829 * math/tst-CMPLX.c: Include <stdio.h>.
49830
49831 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49832
49833 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49834 float.
49835 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49836 * sysdeps/sparc/bits/mathdef.h: Likewise.
49837
49838 2012-01-31 Marek Polacek <polacek@redhat.com>
49839
49840 * libio/libio.h: Don't define _PARAMS.
49841 * locale/programs/config.h: Don't define PARAMS.
49842 * stdlib/strtol_l.c: Likewise.
49843 (__strtol_l): Remove PARAMS from the prototype.
49844
49845 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49846
49847 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49848 names. Just use the correct names. Remove unnecessary wrapper
49849 functions.
49850 * malloc/arena.c: Likewise.
49851 * malloc/hooks.c: Likewise.
49852
49853 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49854 ARENA_TEST says not to. Simplify test for creation of a new arena.
49855 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49856
49857 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49858
49859 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49860 into tail calls.
49861 (update_get_addr): New function.
49862 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49863 GET_ADDR_MODULE parameter.
49864
49865 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49866
49867 * crypt/cert.c: Remove __STDC__ conditionals.
49868 * crypt/crypt-entry.c: Likewise.
49869 * crypt/crypt_util.c: Likewise.
49870 * libio/filedoalloc.c: Likewise.
49871 * libio/fileops.c: Likewise.
49872 * libio/genops.c: Likewise.
49873 * libio/iofclose.c: Likewise.
49874 * libio/iofdopen.c: Likewise.
49875 * libio/iofopen.c: Likewise.
49876 * libio/iofopen64.c: Likewise.
49877 * libio/iogetdelim.c: Likewise.
49878 * libio/iopopen.c: Likewise.
49879 * libio/obprintf.c: Likewise.
49880 * libio/oldfileops.c: Likewise.
49881 * libio/oldiofclose.c: Likewise.
49882 * libio/oldiofdopen.c: Likewise.
49883 * libio/oldiofopen.c: Likewise.
49884 * libio/oldiopopen.c: Likewise.
49885 * libio/wfiledoalloc.c: Likewise.
49886 * libio/wgenops.c: Likewise.
49887 * locale/programs/xmalloc.c: Likewise.
49888 * misc/syslog.c: Likewise.
49889 * stdio-common/xbug.c: Likewise.
49890 * string/memchr.c: Likewise.
49891 * string/memcmp.c: Likewise.
49892 * string/memrchr.c: Likewise.
49893 * string/rawmemchr.c: Likewise.
49894 * sysdeps/posix/getcwd.c: Likewise.
49895 * time/strftime_l.c: Likewise.
49896
49897 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49898
49899 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49900 * config.make.in (config-cflags-sse2avx): Define.
49901 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49902 Fix typo.
49903
49904 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49905
49906 * scripts/config.guess: Update from upstream config git repository.
49907 * scripts/config.sub: Likewise.
49908
49909 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49910
49911 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49912 (EM_NUM): Update.
49913 (R_TILEPRO_*, R_TILEGX_*): New macros.
49914
49915 * scripts/firstversions.awk: Fix bug in version range handling.
49916
49917 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49918
49919 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49920
49921 * include/sys/epoll.h: New file.
49922 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49923 libc_hidden_def.
49924
49925 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49926
49927 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49928 Avoid unnecessary __WORDSIZE == 64 test.
49929 (fmaxf): Use VEX format if possible.
49930 (fmax): Likewise.
49931 (fminf): Likewise.
49932 (fmin): Likewise.
49933
49934 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49935 * math/math_private.h: Remove libc_fegetround* and
49936 libc_fesetround*.
49937 * sysdeps/i386/configure.in: Check for -msse2avx.
49938 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49939 also if SSE2AVX is defined.
49940 Remove libc_fegetround* and libc_fesetround*.
49941 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49942 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49944 of HAS_YMM_USABLE.
49945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49946 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49950
49951 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49952
49953 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49954
49955 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49956 size is not set.
49957 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49958
49959 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49960
49961 [BZ #13618]
49962 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49963 relocation.
49964 * Makeconfig (libm): Define.
49965 * elf/Makefile: Add rules to build and run tst-relsort1.
49966 * elf/tst-relsort1.c: New file.
49967 * elf/tst-relsort1mod1.c: New file.
49968 * elf/tst-relsort1mod2.c: New file.
49969
49970 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49971
49972 * math/s_ldexp.c: Remove __STDC__ conditionals.
49973 * math/s_ldexpf.c: Likewise.
49974 * math/s_ldexpl.c: Likewise.
49975 * math/s_nextafter.c: Likewise.
49976 * math/s_nexttowardf.c: Likewise.
49977 * math/s_significand.c: Likewise.
49978 * math/s_significandf.c: Likewise.
49979 * math/s_significandl.c: Likewise.
49980 * math/w_jnl.c: Likewise.
49981 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49982 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49983 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49984 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49985 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49991 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49998 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50000 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50001 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50002 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50003 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50005 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50006 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50007 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50008 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50009 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50010 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50011 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50012 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50013 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50014 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50015 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50016 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50017 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50018 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50019 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50020 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50021 * sysdeps/ieee754/k_standard.c: Likewise.
50022 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50023 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50024 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50025 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50026 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50027 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50028 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50030 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50032 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50033 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50034 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50035 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50036 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50038 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50039 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50040 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50042 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50043 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50044 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50045 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50046 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50047 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50051 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50052 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50053 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50054 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50055 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50056 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50057 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50058 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50061 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50062 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50063 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50064 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50065 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50067 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50069 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50070 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50071 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50072 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50073 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50074 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50075 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50076 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50077 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50078 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50079 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50080 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50081 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50083 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50084 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50086 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50087 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50088 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50089 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50090 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50091 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50092 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50093 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50094 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50097 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50098 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50099 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50100 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50101 * sysdeps/ieee754/s_matherr.c: Likewise.
50102 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50103 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50104 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50106
50107 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50108
50109 * crypt/md5.h: Remove __STDC__ conditionals.
50110 * libio/libioP.h: Likewise.
50111 * locale/programs/config.h: Likewise.
50112 * sysdeps/generic/sysdep.h: Likewise.
50113 * sysdeps/i386/asm-syntax.h: Likewise.
50114 * sysdeps/s390/asm-syntax.h: Likewise.
50115 * sysdeps/unix/sysdep.h: Likewise.
50116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50118
50119 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50120
50121 * libio/libio.h: Remove __STDC__ conditionals.
50122 * malloc/obstack.h: Likewise.
50123 * math/complex.h: Likewise.
50124 * math/math.h: Likewise.
50125 * sysdeps/generic/_G_config.h: Likewise.
50126 * sysdeps/gnu/_G_config.h: Likewise.
50127 * sysdeps/mach/hurd/_G_config.h: Likewise.
50128 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50129 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50130 * sysdeps/sparc/bits/mathdef.h: Likewise.
50131
50132 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50133
50134 [BZ #13583]
50135 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50136 Clean up HAS_* macros.
50137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50138 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50139 possible.
50140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50141 HAS_AVX.
50142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50147
50148 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50149
50150 * elf/tst-unique3.cc (gets): Remove declaration.
50151 * elf/tst-unique3lib.cc (gets): Likewise.
50152 * elf/tst-unique3lib2.cc (gets): Likewise.
50153 * elf/tst-unique4.cc (gets): Likewise.
50154
50155 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50156
50157 * include/stdio.h: Add C++ protection. Add gets declarations and
50158 definitions.
50159 * debug/tst-chk1.c: Don't declare gets here.
50160 * stdio-common/tst-gets.c: Likewise.
50161
50162 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50163
50164 * posix/glob: Remove directory.
50165
50166 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50167
50168 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50169
50170 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50171
50172 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50173 of the non-standard EPFNOSUPPORT.
50174
50175 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50176
50177 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50178 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50179 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50180
50181 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50182
50183 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50184
50185 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50186
50187 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50188 transient errors.
50189 * nscd/grpcache.c (cache_addgr): Likewise.
50190 * nscd/hstcache.c (cache_addhst): Likewise.
50191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50192 * nscd/pwdcache.c (cache_addpw): Likewise.
50193 * nscd/servicescache.c (cache_addserv): Likewise.
50194
50195 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50196
50197 * malloc/malloc.c: Various cleanups.
50198 * malloc/hooks.c: Likewise.
50199
50200 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50201 * stdlib/bug-fmtmsg1.c: New file.
50202
50203 * stdlib/fmtmsg.c (init): Add missing unlock.
50204 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50205
50206 2012-01-12 Marek Polacek <polacek@redhat.com>
50207
50208 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50209 and _GNU_SOURCE.
50210
50211 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50212
50213 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50214 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50215 macro to ensure uniqueness of label name.
50216 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50217 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50218
50219 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50220
50221 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50222
50223 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50224 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50227
50228 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50229
50230 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50231
50232 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50233 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50235
50236 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50237
50238 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50239 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50240 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50242
50243 * math/bits/math-finite.h: Add ldexp support.
50244
50245 2012-01-10 Marek Polacek <polacek@redhat.com>
50246
50247 * locale/programs/localedef.h (show_archive_content): Add noreturn
50248 attribute.
50249
50250 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50251
50252 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50253
50254 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50255
50256 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50257
50258 * io/Makefile (headers): Add bits/poll2.h.
50259
50260 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50261
50262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50263 typo #include statement.
50264
50265 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50266
50267 * include/sys/cdefs.h: Define __attribute_alloc_size.
50268 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50269 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50270 * elf/pldd.c: Likewise.
50271 * iconv/iconv_charmap.c: Likewise.
50272 * iconv/iconvconfig.c: Likewise.
50273 * iconv/strtab.c: Likewise.
50274 * locale/programs/locale.c: Likewise.
50275 * locale/programs/localedef.h: Likewise.
50276 * locale/programs/simple-hash.c: Likewise.
50277 * nscd/nscd.h: Likewise.
50278 * nss/makedb.c: Likewise.
50279 * sysdeps/generic/ldconfig.h: Likewise.
50280 * locale/programs/localedef.c: Remove xmalloc prototype.
50281 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50282
50283 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50284
50285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50286 appropriate.
50287
50288 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50289
50290 * math/Makefile (tests): Add tst-CMPLX.
50291 * math/tst-CMPLX.c: New file.
50292
50293 * math/complex.h (CMPLXL): Fix typo.
50294
50295 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50296 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50297 GLIBC_2.16.
50298 * debug/tst-chk1.c: Add poll and ppoll tests.
50299 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50300 * include/sys/poll.h: Add hidden proto for ppoll.
50301 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50302 * sysdeps/mach/hurd/ppoll.c: Likewise.
50303 * io/ppoll.c: Likewise.
50304 * debug/poll_chk.c: New file.
50305 * debug/ppoll_chk.c: New file.
50306 * include/bits/poll2.h: New file.
50307 * io/bits/poll2.h: New file.
50308
50309 [BZ #1350]
50310 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50311
50312 * configure.in: static is always set to yes. Remove.
50313 * config.make.in: Don't set build-static.
50314 * Makeconfig: Remove use of build-static.
50315 * dlfcn/Makefile: Likewise.
50316 * elf/Makefile: Likewise.
50317 * math/Makefile: Likewise.
50318 * misc/Makefile: Likewise.
50319 * nptl/Makefile: Likewise.
50320 * sysdeps/mach/hurd/Makefile: Likewise.
50321
50322 * configure.in: PWD_P is not used anymore.
50323 * config.make.in: Remove PWD_P entry.
50324
50325 * configure.in: Remove last remnants of RANLIB.
50326 No need to check for signed size_t anymore.
50327 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50328 and IA-64.
50329 Remove __builtin_expect test because we require at least gcc 3.4.
50330 * aclocal.m4: Likewise.
50331
50332 * wcsmbs/mbrtoc16.c: Implement using towc function.
50333 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50334 * wcsmbs/wcsmbsload.c: Likewise.
50335 * iconv/gconv_simple.c: Likewise.
50336 * iconv/gconv_int.h: Likewise.
50337 * iconv/gconv_builtin.h: Likewise.
50338 * iconv/iconv_prog.c: Remove CHAR16 handling.
50339
50340 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50341
50342 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50343
50344 * configure.in: Remove --with-elf and --enable-bounded options.
50345 Dont set base_machine for ia64. More non-ELF conditions removed.
50346 Remove testing and setting of leading underscore information.
50347 * config.make.in (build-bounded): Set to no.
50348 * config.h.in: Remove NO_UNDERSCORES entry.
50349 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50350 them.
50351 * csu/start.c: Remove !NO_UNDERSCORE code.
50352 * locale/localeinfo.h: Likewise.
50353 * sysdeps/generic/machine-gmon.h: Likewise.
50354 * sysdeps/generic/sysdep.h: Likewise.
50355 * sysdeps/i386/sysdep.h: Likewise.
50356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50357 * sysdeps/mach/sysdep.h: Likewise.
50358 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50360 * sysdeps/sh/sysdep.h: Likewise.
50361 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50362 * sysdeps/unix/i386/sysdep.S: Likewise.
50363 * sysdeps/unix/sparc/start.c: Likewise.
50364 * sysdeps/unix/sparc/sysdep.S: Likewise.
50365 * sysdeps/unix/sparc/sysdep.h: Likewise.
50366 * sysdeps/unix/start.c: Likewise.
50367 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50368 * sysdeps/x86_64/sysdep.h: Likewise.
50369
50370 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50371
50372 [BZ #13553]
50373 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50374 for non-gcc.
50375 * argp/argp-fmtstream.h: Use const instead __const.
50376 * argp/argp.h: Likewise.
50377 * assert/assert.h: Likewise.
50378 * bits/fenv.h: Likewise.
50379 * bits/sched.h: Likewise.
50380 * bits/sigset.h: Likewise.
50381 * bits/sigthread.h: Likewise.
50382 * catgets/nl_types.h: Likewise.
50383 * conform/data/pthread.h-data: Likewise.
50384 * crypt/crypt-private.h: Likewise.
50385 * crypt/crypt.h: Likewise.
50386 * crypt/crypt_util.c: Likewise.
50387 * ctype/ctype.h: Likewise.
50388 * debug/execinfo.h: Likewise.
50389 * debug/mbsnrtowcs_chk.c: Likewise.
50390 * debug/mbsrtowcs_chk.c: Likewise.
50391 * debug/wcsnrtombs_chk.c: Likewise.
50392 * debug/wcsrtombs_chk.c: Likewise.
50393 * debug/wcstombs_chk.c: Likewise.
50394 * dirent/dirent.h: Likewise.
50395 * dlfcn/dlfcn.h: Likewise.
50396 * elf/neededtest4.c: Likewise.
50397 * grp/grp.h: Likewise.
50398 * gshadow/gshadow.h: Likewise.
50399 * iconv/gconv.h: Likewise.
50400 * iconv/gconv_int.h: Likewise.
50401 * iconv/gconv_simple.c: Likewise.
50402 * iconv/iconv.h: Likewise.
50403 * iconv/loop.c: Likewise.
50404 * iconv/skeleton.c: Likewise.
50405 * include/aio.h: Likewise.
50406 * include/aliases.h: Likewise.
50407 * include/argz.h: Likewise.
50408 * include/arpa/inet.h: Likewise.
50409 * include/assert.h: Likewise.
50410 * include/dirent.h: Likewise.
50411 * include/dlfcn.h: Likewise.
50412 * include/execinfo.h: Likewise.
50413 * include/fcntl.h: Likewise.
50414 * include/fenv.h: Likewise.
50415 * include/glob.h: Likewise.
50416 * include/grp.h: Likewise.
50417 * include/libintl.h: Likewise.
50418 * include/mntent.h: Likewise.
50419 * include/netdb.h: Likewise.
50420 * include/pwd.h: Likewise.
50421 * include/rpc/netdb.h: Likewise.
50422 * include/sched.h: Likewise.
50423 * include/search.h: Likewise.
50424 * include/shadow.h: Likewise.
50425 * include/signal.h: Likewise.
50426 * include/stdio.h: Likewise.
50427 * include/stdlib.h: Likewise.
50428 * include/string.h: Likewise.
50429 * include/sys/socket.h: Likewise.
50430 * include/sys/stat.h: Likewise.
50431 * include/sys/statfs.h: Likewise.
50432 * include/sys/statvfs.h: Likewise.
50433 * include/sys/syslog.h: Likewise.
50434 * include/sys/time.h: Likewise.
50435 * include/sys/uio.h: Likewise.
50436 * include/time.h: Likewise.
50437 * include/unistd.h: Likewise.
50438 * include/utmp.h: Likewise.
50439 * include/wchar.h: Likewise.
50440 * include/wctype.h: Likewise.
50441 * inet/aliases.h: Likewise.
50442 * inet/arpa/inet.h: Likewise.
50443 * inet/netinet/ether.h: Likewise.
50444 * inet/netinet/in.h: Likewise.
50445 * intl/libintl.h: Likewise.
50446 * io/bits/fcntl2.h: Likewise.
50447 * io/fcntl.h: Likewise.
50448 * io/ftw.h: Likewise.
50449 * io/sys/poll.h: Likewise.
50450 * io/sys/stat.h: Likewise.
50451 * io/sys/statfs.h: Likewise.
50452 * io/sys/statvfs.h: Likewise.
50453 * io/utime.h: Likewise.
50454 * libio/bits/stdio.h: Likewise.
50455 * libio/bits/stdio2.h: Likewise.
50456 * libio/libio.h: Likewise.
50457 * libio/libioP.h: Likewise.
50458 * libio/stdio.h: Likewise.
50459 * locale/lc-ctype.c: Likewise.
50460 * locale/locale.h: Likewise.
50461 * login/utmp.h: Likewise.
50462 * malloc/arena.c: Likewise.
50463 * malloc/malloc.c: Likewise.
50464 * malloc/malloc.h: Likewise.
50465 * malloc/mcheck.c: Likewise.
50466 * malloc/mtrace.c: Likewise.
50467 * math/bits/mathcalls.h: Likewise.
50468 * math/fenv.h: Likewise.
50469 * math/math_private.h: Likewise.
50470 * misc/bits/error.h: Likewise.
50471 * misc/bits/syslog.h: Likewise.
50472 * misc/err.h: Likewise.
50473 * misc/error.h: Likewise.
50474 * misc/fstab.h: Likewise.
50475 * misc/mntent.h: Likewise.
50476 * misc/regexp.h: Likewise.
50477 * misc/search.h: Likewise.
50478 * misc/sgtty.h: Likewise.
50479 * misc/sys/mman.h: Likewise.
50480 * misc/sys/syslog.h: Likewise.
50481 * misc/sys/uio.h: Likewise.
50482 * misc/sys/xattr.h: Likewise.
50483 * misc/ttyent.h: Likewise.
50484 * nis/rpcsvc/ypclnt.h: Likewise.
50485 * nss/nss.h: Likewise.
50486 * posix/bits/unistd.h: Likewise.
50487 * posix/fnmatch.h: Likewise.
50488 * posix/glob.h: Likewise.
50489 * posix/sched.h: Likewise.
50490 * posix/spawn.h: Likewise.
50491 * posix/sys/wait.h: Likewise.
50492 * posix/unistd.h: Likewise.
50493 * posix/wordexp.h: Likewise.
50494 * pwd/pwd.h: Likewise.
50495 * resolv/netdb.h: Likewise.
50496 * resource/sys/resource.h: Likewise.
50497 * rt/aio.h: Likewise.
50498 * rt/bits/mqueue2.h: Likewise.
50499 * rt/mqueue.h: Likewise.
50500 * shadow/shadow.h: Likewise.
50501 * signal/signal.h: Likewise.
50502 * socket/send.c: Likewise.
50503 * socket/sendto.c: Likewise.
50504 * socket/sys/socket.h: Likewise.
50505 * stdio-common/printf.h: Likewise.
50506 * stdlib/bits/stdlib.h: Likewise.
50507 * stdlib/fmtmsg.h: Likewise.
50508 * stdlib/monetary.h: Likewise.
50509 * stdlib/stdlib.h: Likewise.
50510 * stdlib/ucontext.h: Likewise.
50511 * streams/stropts.h: Likewise.
50512 * string/argz.h: Likewise.
50513 * string/bits/string2.h: Likewise.
50514 * string/string.h: Likewise.
50515 * string/strings.h: Likewise.
50516 * sunrpc/rpc/auth.h: Likewise.
50517 * sunrpc/rpc/auth_des.h: Likewise.
50518 * sunrpc/rpc/clnt.h: Likewise.
50519 * sunrpc/rpc/netdb.h: Likewise.
50520 * sunrpc/rpc/pmap_clnt.h: Likewise.
50521 * sunrpc/rpc/xdr.h: Likewise.
50522 * sysdeps/generic/inttypes.h: Likewise.
50523 * sysdeps/generic/net/if.h: Likewise.
50524 * sysdeps/generic/sys/swap.h: Likewise.
50525 * sysdeps/gnu/net/if.h: Likewise.
50526 * sysdeps/gnu/utmpx.h: Likewise.
50527 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50528 * sysdeps/i386/i486/bits/string.h: Likewise.
50529 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50530 * sysdeps/s390/bits/string.h: Likewise.
50531 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50532 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50533 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50534 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50535 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50536 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50537 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50538 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50539 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50540 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50541 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50542 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50543 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50544 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50545 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50546 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50547 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50549 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50552 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50553 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50554 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50555 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50556 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50557 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50558 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50559 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50560 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50561 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50562 * sysvipc/sys/ipc.h: Likewise.
50563 * sysvipc/sys/msg.h: Likewise.
50564 * sysvipc/sys/sem.h: Likewise.
50565 * sysvipc/sys/shm.h: Likewise.
50566 * termios/termios.h: Likewise.
50567 * time/sys/time.h: Likewise.
50568 * time/time.h: Likewise.
50569 * wcsmbs/bits/wchar2.h: Likewise.
50570 * wcsmbs/uchar.h: Likewise.
50571 * wcsmbs/wchar.h: Likewise.
50572 * wctype/wctype.h: Likewise.
50573
50574 [BZ #13551]
50575 * Makeconfig: Remove all but ELF support including AIX support.
50576 * Makerules: Likewise.
50577 * config.h.in: Likewise.
50578 * config.make.in: Likewise.
50579 * configure: Likewise.
50580 * configure.in: Likewise.
50581 * csu/Makefile: Likewise.
50582 * csu/version.c: Likewise.
50583 * debug/Makefile: Likewise.
50584 * dlfcn/Makefile: Likewise.
50585 * elf/Makefile: Likewise.
50586 * extra-lib.mk: Likewise.
50587 * iconv/Makefile: Likewise.
50588 * include/libc-symbols.h: Likewise.
50589 * include/shlib-compat.h: Likewise.
50590 * resolv/Makefile: Likewise.
50591 * resolv/res_libc.c: Likewise.
50592 * rt/Makefile: Likewise.
50593 * sysdeps/i386/asm-syntax.h: Likewise.
50594 * sysdeps/i386/sysdep.h: Likewise.
50595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50596 * sysdeps/mach/sysdep.h: Likewise.
50597 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50598 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50599 * sysdeps/s390/asm-syntax.h: Likewise.
50600 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50602 * sysdeps/sh/sysdep.h: Likewise.
50603 * sysdeps/unix/sparc/sysdep.h: Likewise.
50604 * sysdeps/wordsize-32/divdi3.c: Likewise.
50605 * sysdeps/x86_64/sysdep.h: Likewise.
50606
50607 * argp/Versions: Remove _argp_unlock_xxx.
50608
50609 [BZ #13559]
50610 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50611 * abilist/libBrokenLocale.abilist: Likewise.
50612 * abilist/libanl.abilist: Likewise.
50613 * abilist/libc.abilist: Likewise.
50614 * abilist/libcrypt.abilist: Likewise.
50615 * abilist/libdl.abilist: Likewise.
50616 * abilist/libm.abilist: Likewise.
50617 * abilist/libnsl.abilist: Likewise.
50618 * abilist/libpthread.abilist: Likewise.
50619 * abilist/libresolv.abilist: Likewise.
50620 * abilist/librt.abilist: Likewise.
50621 * abilist/libthread_db.abilist: Likewise.
50622 * abilist/libutil.abilist: Likewise.
50623 * abilist/libnss_db.abilist: New file.
50624
50625 * scripts/abilist.awk: Add support for indirect functions.
50626
50627 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50628
50629 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50630
50631 * shlib-versions: Remove entries for ports architectures.
50632
50633 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50634 files in ports.
50635 * elf/stackguard-macros.h: Remove support for IA-64.
50636 * elf/tst-auditmod1.c: Likewise.
50637 * sysdeps/generic/ldsodefs.h: Likewise.
50638
50639 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50640 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50641 configure files.
50642
50643 [BZ #13552]
50644 * configure.in: Remove --enable-omitfp support.
50645 * FAQ.in: Adjust.
50646 * config.make.in: Likewise.
50647 * Makeconfig: Likewise.
50648 * manual/install.texi: Likewise.
50649
50650 In case anyone cares, the IA-64 architecture could move to ports.
50651 * sysdeps/ia64/*: Removed.
50652 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50653 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50654
50655 [BZ #13555]
50656 * configure.in: Remove entries for unsupported architectures.
50657
50658 [BZ #13533]
50659 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50660 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50661 routines.
50662 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50663 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50664 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50665 fall back to using wcrtomb.
50666 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50667 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50668 renaming.
50669 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50670 * wcsmbs/tst-c16c32-1.c: New file.
50671
50672 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50673 local variable.
50674
50675 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50676
50677 * elf/tst-unique3.cc: Add explicit declaration of gets.
50678 * elf/tst-unique3lib.cc: Likewise.
50679 * elf/tst-unique3lib2.cc: Likewise.
50680 * elf/tst-unique4.cc: Likewise.
50681
50682 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50683
50684 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50685
50686 [BZ #13566]
50687 * assert/assert.h (static_assert): Don't define for C++.
50688 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50689 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50690
50691 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50692
50693 * iconv/loop.c (single loop): Fix assertion in storing of
50694 remaining bytes.
50695
50696 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50697
50698 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50699
50700 * posix/getconf.c: Update copyright year.
50701 * nss/getent.c: Likewise.
50702 * nss/makedb.c: Likewise.
50703 * iconv/iconvconfig.c: Likewise.
50704 * iconv/iconv_prog.c: Likewise.
50705 * elf/ldconfig.c: Likewise.
50706 * elf/pldd.c: Likewise.
50707 * elf/sotruss.ksh: Likewise.
50708 * catgets/gencat.c: Likewise.
50709 * csu/version.c: Likewise.
50710 * elf/ldd.bash.in: Likewise.
50711 * elf/sprof.c (print_version): Likewise.
50712 * locale/programs/locale.c: Likewise.
50713 * locale/programs/localedef.c: Likewise.
50714 * login/programs/pt_chown.c: Likewise.
50715 * nscd/nscd.c (print_version): Likewise.
50716 * debug/xtrace.sh: Likewise.
50717 * malloc/memusage.sh: Likewise.
50718 * malloc/mtrace.pl: Likewise.
50719 * debug/catchsegv.sh: Likewise.
50720
50721 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50722
50723 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50724 pure attribute.
50725
50726 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50727
50728 [BZ #13533]
50729 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50730 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50731 transformations.
50732 * iconv/gconv_int.h: Likewise.
50733 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50734 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50735 from libc for GLIBC_2.16.
50736 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50737 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50738 * wcsmbs/uchar.h: Really define mbstate_t.
50739 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50740 * wcsmbs/c16rtomb.c: New file.
50741 * wcsmbs/mbrtoc16.c: New file.
50742 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50743 for C/POSIX locale.
50744 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50745 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50746
50747 * wcsmbs/wchar.h: Add missing __restrict.
50748
50749 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50750
50751 [BZ #13532]
50752 * time/Makefile (routines): Add timespec_get.
50753 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50754 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50755 timespec for ISO C11.
50756 * time/timespec_get.c: New file.
50757 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50758 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50759
50760 [BZ #13531]
50761 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50762 * stdlib/stdlib.h: Declare aligned_alloc.
50763 * Versions.def: Add GLIBC_2.16 for libc.
50764 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50765
50766 [BZ 13527]
50767 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50768 ISO C11.
50769
50770 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50771 code.
50772
50773 [BZ #13528]
50774 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50775
50776 [BZ #13529]
50777 * assert/assert.h (static_assert): Define.
50778
50779 * version.h: Update for 2.16 development version.
50780
50781 [BZ #13526]
50782 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50783 _ISOC11_SOURCE.
50784
50785 * version.h (RELEASE): Bump for 2.15 release.
50786 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50787
50788 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50789 Patch by Marek Polacek <mpolacek@redhat.com>.
50790
50791 * bits/byteswap.h: Protect long long constants with __extension__.
50792 * sysdeps/i386/bits/byteswap.h: Likewise.
50793 * sysdeps/ia64/bits/byteswap.h: Likewise.
50794 * sysdeps/s390/bits/byteswap.h: Likewise.
50795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50796
50797 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50798
50799 [BZ #13540]
50800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50801 destination buffer.
50802 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50803
50804 2011-12-23 Marek Polacek <polacek@redhat.com>
50805
50806 * elf/dl-addr.c (determine_info): Add inline keyword.
50807 * elf/tst-auditmod4b.c (check_avx): Likewise.
50808 * elf/tst-auditmod6b.c (check_avx): Likewise.
50809 * elf/tst-auditmod6c.c (check_avx): Likewise.
50810 * elf/tst-auditmod7b.c (check_avx): Likewise.
50811
50812 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50813
50814 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50815 !__SSE_MATH__.
50816
50817 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50818
50819 [BZ #13540]
50820 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50821 processing for last bytes.
50822
50823 2011-08-06 Bruno Haible <bruno@clisp.org>
50824
50825 [BZ #13061]
50826 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50827 U+0385, not to U+1FEE.
50828
50829 [BZ #13062]
50830 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50831 entry for U+00A5 U+0301.
50832
50833 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50834
50835 [BZ #13166]
50836 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50837 buffer for the output is too small.
50838
50839 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50840 optimization.
50841
50842 [BZ #13185]
50843 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50844 SSE flags if possible.
50845
50846 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50847
50848 [BZ #13540]
50849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50850 processing for last bytes.
50851
50852 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50853
50854 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50855 (syscall-list-default-options, syscall-list-default-condition)
50856 (syscall-list-includes): Define.
50857 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50858 list of ABIs and options and #if conditions for each ABI. Do not
50859 handle common syscalls between ABIs specially.
50860 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50861 Remove.
50862 (syscall-list-variants, syscall-list-32bit-options)
50863 (syscall-list-32bit-condition, syscall-list-64bit-options)
50864 (syscall-list-64bit-condition): Define.
50865 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50866 (syscall-list-variants, syscall-list-32bit-options)
50867 (syscall-list-32bit-condition, syscall-list-64bit-options)
50868 (syscall-list-64bit-condition): Define.
50869 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50870 Remove.
50871 (syscall-list-variants, syscall-list-32bit-options)
50872 (syscall-list-32bit-condition, syscall-list-64bit-options)
50873 (syscall-list-64bit-condition): Define.
50874 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50875 Remove.
50876 (syscall-list-variants, syscall-list-32bit-options)
50877 (syscall-list-32bit-condition, syscall-list-64bit-options)
50878 (syscall-list-64bit-condition): Define.
50879
50880 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50881
50882 * locale/iso-639.def: Add brx entry.
50883
50884 [BZ #13328]
50885 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50886 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50887
50888 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50889 __feraiseexcept_renamed.
50890
50891 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50892
50893 [BZ #13538]
50894 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50895 EPOLLET with unsigned values.
50896 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50898
50899 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50900 to large cancellation.
50901 * math/s_cacoshf.c: Likewise.
50902 * math/s_cacoshl.c: Likewise.
50903
50904 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50905
50906 [BZ #13305]
50907 [BZ #12786]
50908 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50909 * math/s_cacoshf.c: Likewise.
50910 * math/s_cacoshl.c: Likewise.
50911
50912 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50913
50914 [BZ #13439]
50915 * iconv/gconv.h: Define __GCONV_SWAP.
50916 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50917 * iconvdata/utf-16.c: Likewise.
50918 * iconvdata/utf-32.c: Likewise.
50919
50920 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50921
50922 [BZ #13524]
50923 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50924 numerator after shifting it by one limb.
50925
50926 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50927
50928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50929 under [__USE_EXTERN_INLINES].
50930
50931 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50932
50933 [BZ #13446]
50934 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50935
50936 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50937
50938 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50939 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50940 optimized code.
50941 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50943 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50944 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50945 for strncasecmp/strncasecmp_l compilation.
50946 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50947 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50948
50949 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50950
50951 [BZ #13484]
50952 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50953 of __asm__.
50954
50955 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50956
50957 [BZ #13506]
50958 * time/tzfile.c (__tzfile_read): Check values from file header.
50959
50960 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50961
50962 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50963 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50964 * powerpc/powerpc32/dl-start.S: Likewise.
50965 * powerpc/powerpc32/elf/start.S: Likewise.
50966 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50967 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50968 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50969 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50970 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50971 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50972 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50973 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50974 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50975 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50976 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50977 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50978 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50979 * powerpc/powerpc32/memset.S: Likewise.
50980 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50981 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50982 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50983 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50984 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50985 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50986 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50987 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50988 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50989 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50990 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50991 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50992 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50993
50994 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50995
50996 * math/libm-test.inc: Added more nearbyint tests.
50997 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50998 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51001
51002 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51003
51004 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51005 FD_CLOEXEC.
51006
51007 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51008
51009 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51010 Add wcscpy-ssse3 wcscpy-c.
51011 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51012 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51013 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51014 * sysdeps/x86_64/wcschr.S: New file.
51015 * sysdeps/x86_64/wcsrchr.S: New file.
51016 * string/test-strcmp.c: Remove checking of wcscmp function for
51017 wrong alignments.
51018 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51019 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51020 wcsrchr-sse2 wcsrchr-c.
51021 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51022 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51023 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51024 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51025 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51026 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51027 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51028 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51029 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51030 * wcsmbc/wcschr.c (WCSCHR): New macro.
51031
51032 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51033
51034 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51035 * wcsmbs/test-wcsrchr.c: New file.
51036 * string/test-strrchr.c: Add wcsrchr support.
51037 (WIDE): New macro.
51038 * wcsmbs/test-wcscpy.c: New file.
51039 * string/test-strcpy.c: Add wcscpy support.
51040 (WIDE): New macro.
51041
51042 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51043
51044 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51045 the inner loop.
51046
51047 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51048
51049 [BZ #13472]
51050 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51051
51052 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51053
51054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51055 Minor optimizations.
51056
51057 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51058 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51059 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51060
51061 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51062
51063 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51064 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51065 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51066 for gcc to avoid warnings.
51067 * inet/Makefile (tests): Add tst-checks.
51068 * inet/tst-checks.c: New file.
51069
51070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51071 warning.
51072
51073 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51074 __wmemcmp_sse2.
51075
51076 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51077 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51078
51079 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51080
51081 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51082
51083 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51084 problem.
51085
51086 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51087
51088 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51089
51090 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51091 conditional on GCC version.
51092 (__arch_compare_and_exchange_val_8_acq)
51093 (__arch_compare_and_exchange_val_16_acq)
51094 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51095 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51096 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51097
51098 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51099
51100 * sysdeps/sh/backtrace.c: New file.
51101
51102 2011-12-02 Andreas Schwab <schwab@redhat.com>
51103
51104 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51105 parenthesis.
51106
51107 2011-12-01 Andreas Schwab <schwab@redhat.com>
51108
51109 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51110 falling back to utime.
51111
51112 2011-11-30 Andreas Schwab <schwab@redhat.com>
51113
51114 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51115 expectations for float.
51116
51117 2011-11-29 Andreas Schwab <schwab@redhat.com>
51118
51119 * locale/weight.h (findidx): Add parameter len.
51120 * locale/weightwc.h (findidx): Likewise.
51121 * posix/fnmatch_loop.c (FCT): Adjust caller.
51122 * posix/regcomp.c (build_equiv_class): Likewise.
51123 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51124 * posix/regexec.c (check_node_accept_bytes): Likewise.
51125 * string/strcoll_l.c (STRCOLL): Likewise.
51126 * string/strxfrm_l.c (STRXFRM): Likewise.
51127
51128 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51129
51130 * Makefile.in: Remove CVSOPT handling.
51131 * configure.in: Remove use of AC_REVISION.
51132 * iconvdata/Makefile (distribute): No need to filter out CVS.
51133 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51134 handling.
51135
51136 2011-11-16 Andreas Schwab <schwab@redhat.com>
51137
51138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51139 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51140 [USE_AS_STRNCASECMP_L]: Likewise.
51141 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51142 NO_TLS_DIRECT_SEG_REFS.
51143 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51144 Fix argument offsets for non-PIC.
51145 [USE_AS_STRNCASECMP_L]: Likewise.
51146 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51147 NO_TLS_DIRECT_SEG_REFS.
51148
51149 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51150
51151 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51152 O_CLOEXEC.
51153 * locale/loadlocale.c (_nl_load_locale): Likewise.
51154
51155 2011-11-15 Andreas Schwab <schwab@redhat.com>
51156
51157 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51158 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51160 (SYSCALL_GETTIME): Set errno on error.
51161
51162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51163 count references to noai6ai_cached.
51164
51165 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51166
51167 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51168
51169 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51170 FD_CLOEXEC for /proc/self/maps.
51171
51172 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51173 FD_CLOEXEC for /proc/meminfo.
51174
51175 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51176 gai.conf.
51177
51178 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51179 FD_CLOEXEC for given file.
51180
51181 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51182
51183 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51184 FD_CLOEXEC for /etc/hosts.
51185 (_gethtent): Likewise.
51186
51187 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51188
51189 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51190 cancellation and set FD_CLOEXEC for /etc/netgroup.
51191
51192 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51193 reading /etc/publickey.
51194
51195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51196 allow cancellation when reading /etc/group.
51197
51198 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51199 cancellation.
51200 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51201
51202 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51203 when using data file.
51204
51205 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51206
51207 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51208 (write_nis_obj): Use "c" and "e" in fopen.
51209
51210 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51211
51212 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51213
51214 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51215
51216 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51217
51218 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51219 locale.alias.
51220
51221 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51222
51223 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51224
51225 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51226
51227 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51228 file parsing and set FD_CLOEXEC.
51229
51230 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51231
51232 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51233
51234 2011-11-14 Andreas Schwab <schwab@redhat.com>
51235
51236 * malloc/arena.c (arena_get2): Don't call reused_arena when
51237 _int_new_arena failed.
51238
51239 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51240
51241 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51242 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51243 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51246 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51247 to compile strcasecmp and strncasecmp.
51248 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51249 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51250
51251 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51252
51253 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51254
51255 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51256 locale-defines.sym to gen-as-const-headers.
51257 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51258 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51260 to compile strcasecmp and strncasecmp.
51261 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51262 strcasecmp_l and strncasecmp_l.
51263 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51264 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51265 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51266 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51267 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51268 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51269 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51270 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51271 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51272 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51273 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51274
51275 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51276
51277 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51278 result of SYSDEP_GETTIME_CPU to retval.
51279 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51280 parameter list to macro. Remove trailing semicolon. Adjust users.
51281
51282 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51283 variable.
51284
51285 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51286 mantissa words.
51287 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51288
51289 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51290 from unused variable.
51291
51292 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51293 DWARF definitions.
51294 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51295 for assembling.
51296
51297 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51298 over namespaces.
51299
51300 * sunrpc/rpc_prot.c (rejected): Fix case value.
51301
51302 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51303 unsigned long long int to avoid warnings in shift.
51304
51305 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51306 of use of trans.
51307 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51308 variable tmp.
51309
51310 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51311 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51312 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51313
51314 * nis/nis_table.c (nis_list): Use variable of correct type for
51315 result of __follow_path call.
51316
51317 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51318
51319 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51320 of math functions ceil, trunc, floor, round, and sqrt, when
51321 avaliable on the platform.
51322 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51323 name clash.
51324 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51325 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51326 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51327
51328 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51329
51330 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51332
51333 2011-11-11 Roland McGrath <roland@hack.frob.com>
51334
51335 * include/unistd.h: Fix __readlink return type.
51336 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51337
51338 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51339
51340 * stdlib/ucontext.h: Undo last change for makecontext.
51341
51342 2011-11-11 Andreas Schwab <schwab@redhat.com>
51343
51344 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51345
51346 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51347 * setjmp/setjmp.h: Mark functions as non-leaf.
51348 * setjmp/bits/setjmp2.h: Likewise.
51349 * stdlib/ucontext.h: Likewise.
51350
51351 2011-11-10 Andreas Schwab <schwab@redhat.com>
51352
51353 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51354 (reused_arena): Don't check arena limit.
51355 (arena_get2): Atomically check arena limit.
51356
51357 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51358
51359 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51360 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51361
51362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51363 instructions.
51364
51365 2011-11-07 Andreas Schwab <schwab@redhat.com>
51366
51367 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51368 handler when locking.
51369
51370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51371 Fix size of allocated buffer.
51372
51373 2011-11-04 Andreas Schwab <schwab@redhat.com>
51374
51375 [BZ #10103]
51376 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51377 declarations for long double functions.
51378 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51379
51380 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51381
51382 2011-11-03 Andreas Schwab <schwab@redhat.com>
51383
51384 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51385 installed.
51386
51387 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51388 is disabled.
51389
51390 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51391
51392 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51393
51394 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51395
51396 * include/alloca.h (stackinfo_alloca_round): Define.
51397 (extend_alloca): Use it.
51398 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51399 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51400 here.
51401
51402 * scripts/check-local-headers.sh: Ignore libaudit.h.
51403
51404 * nscd/Makefile (extra-objs): Make recursively expanded.
51405
51406 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51407
51408 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51410
51411 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51412 * posix/tst-rfc3484-2.c: Likewise.
51413 * posix/tst-rfc3484-3.c: Likewise.
51414
51415 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51416 process_vm_writev.
51417 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51418 process_vm_writev.
51419 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51420 process_vm_writev from libc using GLIBC_2.15 version.
51421
51422 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51423
51424 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51425
51426 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51427 stack usage.
51428
51429 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51430
51431 [BZ #13367]
51432 * nss/getent.c (initgroups_keys): Show error message in case no group
51433 names are given.
51434
51435 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51436 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51437 __bump_nl_timestamp.
51438 * nscd/connections (nscd_init): When host database is served open
51439 netlink socket and request notification about configuration changes.
51440 (main_loop_poll): Track netlink file descriptor and bump timestamp
51441 in case data becomes available.
51442 (main_loop_epoll): Likewise.
51443 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51444 (database_pers_head): Add extra_data fileds.
51445 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51446 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51447 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51448 Adjust caller.
51449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51450 in6ai data, call __free_in6ai.
51451 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51452 Add -DHAVE_NETLINK.
51453 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51454 interface information. Reuse previous data if netlink timestamp
51455 is not changed.
51456 (__bump_nl_timestamp): New function.
51457 (__free_in6ai): New function.
51458
51459 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51460
51461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51462 close_not_cancel_no_status here.
51463 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51464
51465 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51466
51467 [BZ #13276]
51468 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51469 return value.
51470
51471 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51472 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51473 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51474
51475 2011-07-03 Andreas Jaeger <aj@suse.de>
51476
51477 [BZ #10709]
51478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51479 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51480 * math/libm-test.inc (sin_test): Add test case.
51481
51482 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51483
51484 [BZ #13337]
51485 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51486 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51487
51488 * elf/chroot_canon.c (chroot_canon): Cleanups.
51489
51490 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51491
51492 [BZ #13335]
51493 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51494 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51495
51496 * string/test-strchr.c: Make usable for strchrnul testing.
51497 * string/test-strchrnul.c: New file.
51498 * string/Makefile (strop-tests): Add strchrnul.
51499
51500 * po/it.po: Update from translation team.
51501 * po/es.po: Likewise.
51502
51503 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51504
51505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51506 the three constants needed as parameters. Drop the others.
51507 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51508 __m128i_strloadu_tolower.
51509 Create and initialize variable zero and use it in all the places
51510 where _mm_setzero_si128 was used.
51511
51512 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51513 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51514 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51515 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51516 anymore.
51517 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51518 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51519 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51520 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51521 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51522 __mpranred, __mptan.
51523 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51524 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51525 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51526 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51527 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51528 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51529 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51530 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51531 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51532
51533 2011-10-28 Andreas Schwab <schwab@redhat.com>
51534
51535 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51536 redefine if SHARED.
51537 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51538
51539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51540 wide char related routines to wcsmbs subdir.
51541
51542 2011-10-27 Andreas Schwab <schwab@redhat.com>
51543
51544 [BZ #13344]
51545 * misc/sys/cdefs.h (__THROWNL): Define.
51546 * posix/unistd.h: Use __THREADNL instead of __THREAD
51547 for memory synchronization functions.
51548
51549 2011-10-26 Roland McGrath <roland@hack.frob.com>
51550
51551 [BZ #13349]
51552 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51553 doesn't exist.
51554 * manual/stdio.texi (Obstack Streams): Node removed.
51555
51556 2011-10-26 Andreas Schwab <schwab@redhat.com>
51557
51558 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51559 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51560 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51561
51562 * math/math_private.h (math_force_eval): Allow non-addressable
51563 arguments.
51564 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51565
51566 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51567
51568 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51569 file is not needed.
51570
51571 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51572 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51573 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51574 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51575 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51576 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51577 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51578 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51579 Add AVX variants.
51580 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51581 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51582 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51583 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51584 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51585 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51586 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51587 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51590 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51591 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51592 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51593 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51594 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51595 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51596 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51597 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51598 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51599
51600 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51601 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51602
51603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51604 place. Use VEX encoding when compiling for AVX.
51605
51606 2011-10-25 Andreas Schwab <schwab@redhat.com>
51607
51608 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51609 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51610
51611 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51612
51613 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51614
51615 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51616 useless if() expression.
51617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51618 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51619 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51620 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51621 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51622 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51623 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51624 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51627 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51628 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51629 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51630 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51631 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51632 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51635 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51636
51637 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51638
51639 2011-10-25 Andreas Schwab <schwab@redhat.com>
51640
51641 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51642 condition.
51643 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51644
51645 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51646
51647 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51648 .text section. Avoid duplicate constants.
51649 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51651 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51657 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51658 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51659 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51660 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51661 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51662 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51663 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51664 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51665 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51669 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51670 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51671 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51672 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51673 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51674 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51675 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51676 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51677 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51678 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51679 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51680 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51681 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51682 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51683 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51684 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51685 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51686 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51687 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51688 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51689 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51691 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51692 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51693 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51694
51695 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51696
51697 * sysdeps/x86_64/dla.h: Move to ...
51698 * sysdeps/x86_64/fpu/dla.h: ...here.
51699 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51700 situations. Use __builtin_fma only for gcc 4.6 and up.
51701
51702 * config.make.in: Add have-mfma4 entry.
51703 * configure.in: Substitute libc_cv_cc_fma4.
51704 * math/Makefile (dbl-only-routines): Add sincostab.
51705 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51706 Use __sincostab not sincos.
51707 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51708 name is a macro.
51709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51713 using __copysign.
51714 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51715 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51716 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51717 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51718 and __inv.
51719 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51720 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51721 __copysign.
51722 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51723 define aliases when function name is a macro.
51724 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51725 sysdeps/ieee754/dbl-64/sincos.tbl.
51726 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51727 fma4-enabled routines.
51728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51729 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51730 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51731 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51732 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51733 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51735 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51737 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51738 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51739 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51740 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51751 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51753 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51754 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51755 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51756 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51757 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51758
51759 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51760 rename.
51761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51769
51770 2011-10-24 Andreas Schwab <schwab@redhat.com>
51771
51772 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51773
51774 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51775
51776 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51777
51778 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51779 prediction.
51780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51781
51782 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51783 Remove unused variable magic_bits.
51784 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51785
51786 * string/strnlen.c: Define and use STRNLEN macro.
51787 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51788 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51790 * wcsmbs/wcslen.c: Define and use WCSLEN.
51791 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51792 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51793 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51794 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51795 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51796 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51797 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51798
51799 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51800
51801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51802 strnlen-sse2-no-bsf.
51803 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51804 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51805 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51806 Add strnlen support.
51807 (USE_AS_STRNLEN): New macro.
51808 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51809 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51810 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51811 * sysdeps/x86_64/wcslen.S: New file.
51812
51813 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51814
51815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51816 XMM-moves are used for copying on small sizes.
51817
51818 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51819
51820 * wcsmbs/Makefile (strop-tests): Add wcschr.
51821 * wcsmbs/test-wcschr.c: New file.
51822 * string/test-strchr.c: Update.
51823 Add wcschr support.
51824 (WIDE): New macro.
51825
51826 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51827
51828 * wcsmbs/Makefile (strop-tests): Add wcslen.
51829 * wcsmbs/test-wcslen.c: New file.
51830 * string/test-strlen.c: Update.
51831 Add wcslen support.
51832 (WIDE): New macro.
51833
51834 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51835
51836 * po/it.po: Update from translation team.
51837
51838 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51839
51840 * sysdeps/x86_64/wcscmp.S: Update.
51841 Fix wrong comparison semantics.
51842 wcscmp shall use signed comparison not unsigned.
51843 Don't use substraction to avoid overflow bug.
51844 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51845 * wcsmbc/wcscmp.c: Likewise.
51846 * string/test-strcmp.c: Likewise.
51847 Add new tests to check cases with negative values.
51848
51849 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51850
51851 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51852 * sysdeps/x86_64/dla.h: ...here. New file.
51853 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51862
51863 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51864
51865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51866 __ynl_finite aliases.
51867
51868 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51869
51870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51871
51872 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51873 define DLA_FMA.
51874 [DLA_FMA] (EMULV): Use DLA_FMA.
51875 [DLA_FMA] (MUL12): Use EMULV.
51876 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51877 that are not needed.
51878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51885
51886 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51887
51888 * math/s_nan.c: Undef __nan.
51889 * math/s_nanf.c: Undef __nanf.
51890 * math/s_nanl.c: Undef __nanl.
51891 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51892 "math_private.h".
51893
51894 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51895
51896 * math/s_catan.c: Add branch predictions.
51897 * math/s_catanf.c: Likewise.
51898 * math/s_catanh.c: Likewise.
51899 * math/s_catanhf.c: Likewise.
51900 * math/s_catanhl.c: Likewise.
51901 * math/s_catanl.c: Likewise.
51902 * math/s_cexp.c: Likewise.
51903 * math/s_cexpf.c: Likewise.
51904 * math/s_cexpl.c: Likewise.
51905 * math/s_clog.c: Likewise.
51906 * math/s_clog10.c: Likewise.
51907 * math/s_clog10f.c: Likewise.
51908 * math/s_clog10l.c: Likewise.
51909 * math/s_clogf.c: Likewise.
51910 * math/s_clogl.c: Likewise.
51911 * math/s_csqrt.c: Likewise.
51912 * math/s_csqrtf.c: Likewise.
51913 * math/s_csqrtl.c: Likewise.
51914 * math/s_ctanf.c: Likewise.
51915 * math/s_ctanh.c: Likewise.
51916 * math/s_ctanhf.c: Likewise.
51917 * math/s_ctanhl.c: Likewise.
51918 * math/s_ctanl.c: Likewise.
51919
51920 * math/math_private.h: Define __nan, __nanf, __nanl.
51921 * math/s_cacosh.c: Include <math_private.h>.
51922 * math/s_cacoshl.c: Likewise.
51923 * math/s_casinh.c: Likewise.
51924 * math/s_casinhf.c: Likewise.
51925 * math/s_casinhl.c: Likewise.
51926 * math/s_ccos.c: Rely entire on ccosh.
51927 * math/s_ccosf.c: Rely entire on ccoshf.
51928 * math/s_ccosl.c: Rely entirely on ccoshl.
51929 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51930 Remove tests for FE_INVALID.
51931 * math/s_ccoshf.c: Likewise.
51932 * math/s_ccoshl.c: Likewise.
51933 * math/s_csin.c: Likewise.
51934 * math/s_csinf.c: Likewise.
51935 * math/s_csinh.c Likewise.
51936 * math/s_csinhf.c: Likewise.
51937 * math/s_csinhl.c: Likewise.
51938 * math/s_csinl.c: Likewise.
51939 * math/s_ctan.c: Likewise.
51940 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51941 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51942 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51943
51944 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51945
51946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51947 compilation problems.
51948
51949 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51950 __builtin_expect.
51951
51952 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51953
51954 * sysdeps/i386/configure.in: Test for -mfma4 option.
51955 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51956 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51957 COMMON_CPUID_INDEX_80000001.
51958 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51959 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51960 use it if FMA3 is not supported.
51961 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51962
51963 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51964 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51965
51966 2011-10-20 Andreas Schwab <schwab@redhat.com>
51967
51968 [BZ #12892]
51969 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51970 it would create a cycle with a link time dependency.
51971
51972 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51973
51974 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51975 instruction.
51976 * string/Makefile (strop-tests): Add rawmemchr.
51977 * string/test-rawmemchr.c: New file.
51978
51979 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51980 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51981 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51982 when compiling str{,n}casecmp and when AVX is available. Hook up
51983 new optimized code in initializers.
51984
51985 2011-10-19 Andreas Schwab <schwab@redhat.com>
51986
51987 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51988 __feraiseexcept instead of feraiseexcept.
51989
51990 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51991
51992 * math/math_private.h: Define defaults for libc_fetestexcept and
51993 libc_feupdateenv.
51994 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51995 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51996 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51998 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52000 libc_fetestexcept and libc_feupdateenv.
52001
52002 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52003 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52004 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52005 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52006 libc_feholdexcept_setround.
52007
52008 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52009 Add s_nearbyint-c and s_nearbyintf-c.
52010 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52011 nearbyintf inlines.
52012 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52013 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52014 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52015 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52016
52017 * math/math_private.h: Define defaults for libc_fegetround,
52018 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52019 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52020 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52022 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52023 standard functions.
52024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52025 Remove comments and hacks for old compiler versions.
52026 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52027 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52028 libc_feholdexceptl.
52029
52030 2011-10-18 Andreas Schwab <schwab@redhat.com>
52031
52032 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52033 (__feraiseexcept_renamed): Add __NTH.
52034 (feraiseexcept): Add __NTH. Rename local variables to fix
52035 namespace violations.
52036
52037 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52038
52039 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52040
52041 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52042
52043 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52044 recently added interfaces.
52045 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52046
52047 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52048 about macro parameter expansion.
52049
52050 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52051 __NO_MATH_INLINES is defined. Cleanups.
52052
52053 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52054 and __floorf is target has SSE4.1.
52055 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52056 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52057 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52058 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52059
52060 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52061 name.
52062 (floorf): Likewise.
52063
52064 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52065
52066 2011-10-17 Andreas Schwab <schwab@redhat.com>
52067
52068 * misc/sys/cdefs.h: Fix last change.
52069
52070 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52071 database lookup.
52072
52073 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52074
52075 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52076
52077 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52079 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52080 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52083 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52084 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52085 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52086 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52087 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52088 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52089 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52090 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52091 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52092 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52093 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52094 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52095 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52096 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52097 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52098 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52099
52100 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52101 ceil, ceilf, floor, floorf.
52102
52103 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52104 Perform IRELATIVE relocations last.
52105
52106 * elf/do-rel.h: Add another parameter nrelative, replacing the
52107 local variable with the same name. Change name of the function
52108 to end in Rel or Rela (uppercase).
52109 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52110 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52111 elf_dynamic_do_##reloc function.
52112
52113 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52114
52115 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52116 is sufficient, at least on modern CPUs.
52117
52118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52119
52120 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52121 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52122
52123 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52124 __expl_finite.
52125 * math/bits/math-finite.h: Add entries for exp.
52126 * math/e_expl.c: Add __*_finite alias.
52127 * sysdeps/i386/fpu/e_exp.S: Likewise.
52128 * sysdeps/i386/fpu/e_expf.S: Likewise.
52129 * sysdeps/i386/fpu/e_expl.c: Likewise.
52130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52131 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52134 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52135 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52136 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52137
52138 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52139 is sufficient, at least on modern CPUs.
52140
52141 * ctype/ctype-info.c (__ctype_init): Define.
52142 * include/ctype.h (__ctype_init): Declare.
52143 (__ctype_b_loc): The variable is always initialized.
52144 (__ctype_toupper_loc): Likewise.
52145 (__ctype_tolower_loc): Likewise.
52146 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52147 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52148
52149 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52150
52151 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52152
52153 * configure.in: Also look in $cxxmachine/include for C++ system
52154 headers.
52155
52156 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52157
52158 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52159 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52160 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52161 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52163 (USE_AS_WMEMCMP): New macro.
52164 Fixing indents.
52165 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52166 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52167 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52168 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52170 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52171 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52172 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52173 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52174 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52175 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52176 (USE_AS_WMEMCMP): New macro.
52177 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52178 * sysdeps/string/test-memcmp.c: Update.
52179 Fix simple_wmemcmp.
52180 Add new tests.
52181 * wcsmbs/wmemcmp.c: Update.
52182 (WMEMCMP): New macro.
52183 Fix overflow bug.
52184
52185 2011-10-12 Andreas Jaeger <aj@suse.de>
52186
52187 [BZ #13268]
52188 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52189
52190 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52191
52192 * libio/iofwide.c (do_length): Avoid warning.
52193
52194 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52195
52196 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52197
52198 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52199
52200 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52201 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52202 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52203 * sysdeps/i386/i686/fpu/e_log.S: New file.
52204 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52205 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52206
52207 * ctype/ctype.h: Add support for inlined isXXX functions when
52208 compiling C++ code.
52209
52210 2011-10-14 Andreas Schwab <schwab@redhat.com>
52211
52212 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52213
52214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52215
52216 2011-10-13 Roland McGrath <roland@hack.frob.com>
52217
52218 [BZ #13291]
52219 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52220
52221 2011-10-13 Andreas Schwab <schwab@redhat.com>
52222
52223 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52224 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52225 feraiseexcept.
52226
52227 * sysdeps/x86_64/memrchr.S: Check for zero size.
52228
52229 * string/stratcliff.c: Add memrchr tests.
52230
52231 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52232
52233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52234 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52235 rawmemchr-sse2 rawmemchr-sse2-bsf.
52236 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52237 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52238 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52239 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52240 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52241 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52242 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52243 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52244 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52245 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52246 * string/memrchr.c (MEMRCHR): New macro.
52247
52248 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52249
52250 Add integration with gcc's -ffinite-math-only and optimize wrapper
52251 functions in libm.
52252 * Versions.def: Define GLIBC_2.15 version for libm.
52253 * math/Makefile (headers): Add bits/math-finite.h.
52254 * math/bits/math-finite.h: New file.
52255 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52256 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52257 * math/e_acoshl.c: Add __*_finite alias.
52258 * math/e_acosl.c: Likewise.
52259 * math/e_asinl.c: Likewise.
52260 * math/e_atan2l.c: Likewise.
52261 * math/e_atanhl.c: Likewise.
52262 * math/e_coshl.c: Likewise.
52263 * math/e_exp10.c: Likewise.
52264 * math/e_exp10f.c: Likewise.
52265 * math/e_exp10l.c: Likewise.
52266 * math/e_exp2l.c: Likewise.
52267 * math/e_fmodl.c: Likewise.
52268 * math/e_gammal_r.c: Likewise.
52269 * math/e_hypotl.c: Likewise.
52270 * math/e_j0l.c: Likewise.
52271 * math/e_j1l.c: Likewise.
52272 * math/e_jnl.c: Likewise.
52273 * math/e_lgammal_r.c: Likewise.
52274 * math/e_log10l.c: Likewise.
52275 * math/e_log2l.c: Likewise.
52276 * math/e_logl.c: Likewise.
52277 * math/e_powl.c: Likewise.
52278 * math/e_sinhl.c: Likewise.
52279 * math/e_sqrtl.c: Likewise.
52280 * math/e_scalb.c: Completely rewritten and optimized.
52281 * math/e_scalbf.c: Likewise.
52282 * math/e_scalbl.c: Likewise.
52283 * math/w_acos.c: Likewise.
52284 * math/w_acosf.c: Likewise.
52285 * math/w_acosl.c: Likewise.
52286 * math/w_acosh.c: Likewise.
52287 * math/w_acoshf.c: Likewise.
52288 * math/w_acoshl.c: Likewise.
52289 * math/w_asin.c: Likewise.
52290 * math/w_asinf.c: Likewise.
52291 * math/w_asinl.c: Likewise.
52292 * math/w_atan2.c: Likewise.
52293 * math/w_atan2f.c: Likewise.
52294 * math/w_atan2l.c: Likewise.
52295 * math/w_atanh.c: Likewise.
52296 * math/w_atanhf.c: Likewise.
52297 * math/w_atanhl.c: Likewise.
52298 * math/w_exp10.c: Likewise.
52299 * math/w_exp10f.c: Likewise.
52300 * math/w_exp10l.c: Likewise.
52301 * math/w_fmod.c: Likewise.
52302 * math/w_fmodf.c: Likewise.
52303 * math/w_fmodl.c: Likewise.
52304 * math/w_j0.c: Likewise.
52305 * math/w_j0f.c: Likewise.
52306 * math/w_j0l.c: Likewise.
52307 * math/w_j1.c: Likewise.
52308 * math/w_j1f.c: Likewise.
52309 * math/w_j1l.c: Likewise.
52310 * math/w_jn.c: Likewise.
52311 * math/w_jnf.c: Likewise.
52312 * math/w_log.c: Likewise.
52313 * math/w_logf.c: Likewise.
52314 * math/w_logl.c: Likewise.
52315 * math/w_log10.c: Likewise.
52316 * math/w_log10f.c: Likewise.
52317 * math/w_log10l.c: Likewise.
52318 * math/w_log2.c: Likewise.
52319 * math/w_log2f.c: Likewise.
52320 * math/w_log2l.c: Likewise.
52321 * math/w_pow.c: Likewise.
52322 * math/w_powf.c: Likewise.
52323 * math/w_powl.c: Likewise.
52324 * math/w_remainder.c: Likewise.
52325 * math/w_remainderf.c: Likewise.
52326 * math/w_remainderl.c: Likewise.
52327 * math/w_scalb.c: Likewise.
52328 * math/w_scalbf.c: Likewise.
52329 * math/w_scalbl.c: Likewise.
52330 * math/w_sqrt.c: Likewise.
52331 * math/w_sqrtf.c: Likewise.
52332 * math/w_sqrtl.c: Likewise.
52333 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52334 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52335 used.
52336 * math/math_private.h: Declare __kernel_standard_f.
52337 * math/w_cosh.c: Remove cruft and optimize a bit.
52338 * math/w_coshf.c: Likewise.
52339 * math/w_coshl.c: Likewise.
52340 * math/w_exp2.c: Likewise.
52341 * math/w_exp2f.c: Likewise.
52342 * math/w_exp2l.c: Likewise.
52343 * math/w_hypot.c: Likewise.
52344 * math/w_hypotf.c: Likewise.
52345 * math/w_hypotl.c: Likewise.
52346 * math/w_lgamma.c: Likewise.
52347 * math/w_lgamma_r.c: Likewise.
52348 * math/w_lgammaf.c: Likewise.
52349 * math/w_lgammaf_r.c: Likewise.
52350 * math/w_lgammal.c: Likewise.
52351 * math/w_lgammal_r.c: Likewise.
52352 * math/w_sinh.c: Likewise.
52353 * math/w_sinhf.c: Likewise.
52354 * math/w_sinhl.c: Likewise.
52355 * math/w_tgamma.c: Likewise.
52356 * math/w_tgammaf.c: Likewise.
52357 * math/w_tgammal.c: Likewise.
52358 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52359 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52360 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52361 Minor optimizations. Pretty printing. Remove cruft.
52362 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52363 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52364 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52365 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52366 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52367 * sysdeps/i386/fpu/e_asin.S: Likewise.
52368 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52369 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52370 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52371 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52372 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52373 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52375 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52376 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52377 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52378 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52379 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52380 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52381 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52382 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52383 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52384 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52385 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52386 * sysdeps/i386/fpu/e_log.S: Likewise.
52387 * sysdeps/i386/fpu/e_log10.S: Likewise.
52388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52390 * sysdeps/i386/fpu/e_log2.S: Likewise.
52391 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52392 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52393 * sysdeps/i386/fpu/e_logf.S: Likewise.
52394 * sysdeps/i386/fpu/e_logl.S: Likewise.
52395 * sysdeps/i386/fpu/e_pow.S: Likewise.
52396 * sysdeps/i386/fpu/e_powf.S: Likewise.
52397 * sysdeps/i386/fpu/e_powl.S: Likewise.
52398 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52399 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52400 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52402 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52403 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52404 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52405 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52406 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52407 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52408 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52410 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52411 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52412 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52413 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52414 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52417 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52418 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52421 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52423 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52424 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52427 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52428 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52429 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52430 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52431 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52432 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52433 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52434 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52435 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52436 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52437 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52438 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52439 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52440 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52441 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52442 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52443 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52444 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52445 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52446 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52447 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52449 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52450 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52451 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52452 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52453 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52454 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52455 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52457 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52458 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52462 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52463 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52464 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52465 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52466 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52467 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52468 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52471 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52472 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52475 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52476 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52477 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52479 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52481 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52484 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52485 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52486 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52487 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52488 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52490 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52491 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52492 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52493 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52494 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52495 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52496 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52498 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52499 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52500 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52501 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52502 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52503 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52504 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52505 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52506 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52507 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52508 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52509 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52510 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52511 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52513 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52514 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52515 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52516 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52517 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52518 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52519 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52520 (__isnanf): Likewise.
52521 (__isinf_ns): Likewise.
52522 (__isinf_nsf): Likewise.
52523 (__finite): Likewise.
52524 (__finitef): Likewise.
52525 (__ieee754_sqrt): Define as macro.
52526 (__ieee754_sqrtf): Define as macro.
52527 (__ieee754_sqrtl): Define as macro.
52528 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52529 inlined copy.
52530 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52531 __FINITE_MATH_ONLY__ consistent.
52532 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52533
52534 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52535
52536 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52537 of rawmemchr.
52538
52539 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52540
52541 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52542
52543 * po/ja.po: Update from translation team.
52544
52545 2011-10-08 Roland McGrath <roland@hack.frob.com>
52546
52547 * locale/programs/locarchive.c (prepare_address_space): New function.
52548 (create_archive, enlarge_archive, open_archive): Use it.
52549
52550 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52551 inside [SHARED], where it is used.
52552
52553 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52554
52555 * nss/getent.c (netgroup_keys): Remove unused variable.
52556 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52557
52558 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52559
52560 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52561 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52564 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52565 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52566 * math/Makefile (libm-calls): Add s_isinf_ns.
52567 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52568 * math/multc3.c: Likewise.
52569 * math/s_casin.c: Likewise.
52570 * math/s_casinf.c: Likewise.
52571 * math/s_casinl.c: Likewise.
52572 * math/s_ccos.c: Likewise.
52573 * math/s_ccosf.c: Likewise.
52574 * math/s_ccosl.c: Likewise.
52575 * math/s_ctan.c: Likewise.
52576 * math/s_ctanf.c: Likewise.
52577 * math/s_ctanh.c: Likewise.
52578 * math/s_ctanhf.c: Likewise.
52579 * math/s_ctanhl.c: Likewise.
52580 * math/s_ctanl.c: Likewise.
52581 * math/w_fmod.c: Likewise.
52582 * math/w_fmodf.c: Likewise.
52583 * math/w_fmodl.c: Likewise.
52584 * math/w_remainder.c: Likewise.
52585 * math/w_remainderf.c: Likewise.
52586 * math/w_remainderl.c: Likewise.
52587 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52588 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52589 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52591 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52592 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52593 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52594 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52595
52596 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52597 of the number.
52598 * stdio-common/printf_fphex.c: Likewise.
52599 * stdio-common/printf_size.c: Likewise.
52600
52601 * math/e_exp10.c: Include math_private.h using <...> not "...".
52602 * math/e_exp10f.c: Likewise.
52603 * math/e_exp10l.c: Likewise.
52604 * math/e_exp2l.c: Likewise.
52605 * math/e_j0l.c: Likewise.
52606 * math/e_j1l.c: Likewise.
52607 * math/e_jnl.c: Likewise.
52608 * math/e_lgammal_r.c: Likewise.
52609 * math/e_rem_pio2l.c: Likewise.
52610 * math/e_scalb.c: Likewise.
52611 * math/e_scalbf.c: Likewise.
52612 * math/e_scalbl.c: Likewise.
52613 * math/k_cosl.c: Likewise.
52614 * math/k_sinl.c: Likewise.
52615 * math/k_tanl.c: Likewise.
52616 * math/s_cacoshf.c: Likewise.
52617 * math/s_catan.c: Likewise.
52618 * math/s_catanf.c: Likewise.
52619 * math/s_catanh.c: Likewise.
52620 * math/s_catanhf.c: Likewise.
52621 * math/s_catanhl.c: Likewise.
52622 * math/s_catanl.c: Likewise.
52623 * math/s_ccosh.c: Likewise.
52624 * math/s_ccoshf.c: Likewise.
52625 * math/s_ccoshl.c: Likewise.
52626 * math/s_cexp.c: Likewise.
52627 * math/s_cexpf.c: Likewise.
52628 * math/s_cexpl.c: Likewise.
52629 * math/s_clog.c: Likewise.
52630 * math/s_clog10.c: Likewise.
52631 * math/s_clog10f.c: Likewise.
52632 * math/s_clog10l.c: Likewise.
52633 * math/s_clogf.c: Likewise.
52634 * math/s_clogl.c: Likewise.
52635 * math/s_csin.c: Likewise.
52636 * math/s_csinf.c: Likewise.
52637 * math/s_csinh.c: Likewise.
52638 * math/s_csinhf.c: Likewise.
52639 * math/s_csinhl.c: Likewise.
52640 * math/s_csinl.c: Likewise.
52641 * math/s_csqrt.c: Likewise.
52642 * math/s_csqrtf.c: Likewise.
52643 * math/s_csqrtl.c: Likewise.
52644 * math/s_ctan.c: Likewise.
52645 * math/s_ctanf.c: Likewise.
52646 * math/s_ctanh.c: Likewise.
52647 * math/s_ctanhf.c: Likewise.
52648 * math/s_ctanhl.c: Likewise.
52649 * math/s_ctanl.c: Likewise.
52650 * math/s_ldexp.c: Likewise.
52651 * math/s_ldexpf.c: Likewise.
52652 * math/s_ldexpl.c: Likewise.
52653 * math/s_significand.c: Likewise.
52654 * math/s_significandf.c: Likewise.
52655 * math/s_significandl.c: Likewise.
52656 * math/w_acos.c: Likewise.
52657 * math/w_acosf.c: Likewise.
52658 * math/w_acosh.c: Likewise.
52659 * math/w_acoshf.c: Likewise.
52660 * math/w_acoshl.c: Likewise.
52661 * math/w_acosl.c: Likewise.
52662 * math/w_asin.c: Likewise.
52663 * math/w_asinf.c: Likewise.
52664 * math/w_asinl.c: Likewise.
52665 * math/w_atan2.c: Likewise.
52666 * math/w_atan2f.c: Likewise.
52667 * math/w_atan2l.c: Likewise.
52668 * math/w_atanh.c: Likewise.
52669 * math/w_atanhf.c: Likewise.
52670 * math/w_atanhl.c: Likewise.
52671 * math/w_cosh.c: Likewise.
52672 * math/w_coshf.c: Likewise.
52673 * math/w_coshl.c: Likewise.
52674 * math/w_dremf.c: Likewise.
52675 * math/w_exp10.c: Likewise.
52676 * math/w_exp10f.c: Likewise.
52677 * math/w_exp10l.c: Likewise.
52678 * math/w_exp2.c: Likewise.
52679 * math/w_exp2f.c: Likewise.
52680 * math/w_fmod.c: Likewise.
52681 * math/w_fmodf.c: Likewise.
52682 * math/w_fmodl.c: Likewise.
52683 * math/w_hypot.c: Likewise.
52684 * math/w_hypotf.c: Likewise.
52685 * math/w_hypotl.c: Likewise.
52686 * math/w_j0.c: Likewise.
52687 * math/w_j0f.c: Likewise.
52688 * math/w_j0l.c: Likewise.
52689 * math/w_j1.c: Likewise.
52690 * math/w_j1f.c: Likewise.
52691 * math/w_j1l.c: Likewise.
52692 * math/w_jn.c: Likewise.
52693 * math/w_jnf.c: Likewise.
52694 * math/w_jnl.c: Likewise.
52695 * math/w_lgamma.c: Likewise.
52696 * math/w_lgamma_r.c: Likewise.
52697 * math/w_lgammaf.c: Likewise.
52698 * math/w_lgammaf_r.c: Likewise.
52699 * math/w_lgammal.c: Likewise.
52700 * math/w_lgammal_r.c: Likewise.
52701 * math/w_log.c: Likewise.
52702 * math/w_log10.c: Likewise.
52703 * math/w_log10f.c: Likewise.
52704 * math/w_log10l.c: Likewise.
52705 * math/w_log2.c: Likewise.
52706 * math/w_log2f.c: Likewise.
52707 * math/w_log2l.c: Likewise.
52708 * math/w_logf.c: Likewise.
52709 * math/w_logl.c: Likewise.
52710 * math/w_pow.c: Likewise.
52711 * math/w_powf.c: Likewise.
52712 * math/w_powl.c: Likewise.
52713 * math/w_remainder.c: Likewise.
52714 * math/w_remainderf.c: Likewise.
52715 * math/w_remainderl.c: Likewise.
52716 * math/w_scalb.c: Likewise.
52717 * math/w_scalbf.c: Likewise.
52718 * math/w_scalbl.c: Likewise.
52719 * math/w_sinh.c: Likewise.
52720 * math/w_sinhf.c: Likewise.
52721 * math/w_sinhl.c: Likewise.
52722 * math/w_sqrt.c: Likewise.
52723 * math/w_sqrtf.c: Likewise.
52724 * math/w_sqrtl.c: Likewise.
52725 * math/w_tgamma.c: Likewise.
52726 * math/w_tgammaf.c: Likewise.
52727 * math/w_tgammal.c: Likewise.
52728
52729 * po/ja.po: Update from translation team.
52730
52731 2011-09-29 Andreas Jaeger <aj@suse.de>
52732
52733 [BZ #13179]
52734 * sunrpc/netname.c (netname2host): Fix logic.
52735
52736 [BZ #6779]
52737 [BZ #6783]
52738 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52739 correctly.
52740 * math/w_remainder.c (__remainder): Likewise.
52741 * math/w_remainderf.c (__remainderf): Likewise.
52742 * math/libm-test.inc (remainder_test): Add test cases.
52743
52744 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52745
52746 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52747 sdiv_qrnnd.
52748
52749 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52750
52751 * string/test-memcmp.c: Avoid unncessary #defines.
52752 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52753
52754 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52755
52756 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52757 Use new sse2 version for core i3 - i7 as it's faster
52758 than sse42 version.
52759 (bit_Prefer_PMINUB_for_stringop): New.
52760 * sysdeps/x86_64/rawmemchr.S: Update.
52761 Replace with faster SSE2 version.
52762 * sysdeps/x86_64/memrchr.S: New file.
52763 * sysdeps/x86_64/memchr.S: Update.
52764 Replace with faster SSE2 version.
52765
52766 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52767
52768 * elf/dl-load.c (lose): Add cast to avoid warning.
52769
52770 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52771
52772 * po/ca.po: Update from translation team.
52773
52774 * inet/getnetgrent_r.c: Hook up nscd.
52775 * nscd/Makefile (routines): Add nscd_netgroup.
52776 (nscd-modules): Add netgroupcache.
52777 (CFLAGS-netgroupcache.c): Define.
52778 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52779 (cache_search): Add const to second parameter.
52780 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52781 INNETGR.
52782 (dbs): Add netgrdb entry.
52783 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52784 (verify_persistent_db): Handle netgrdb.
52785 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52786 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52787 GETFDNETGR.
52788 (netgroup_response_header): Define.
52789 (innetgroup_response_header): Define.
52790 (datahead): Add netgroup_response_header and innetgroup_response_header
52791 elements.
52792 * nscd/nscd.conf: Add entries for netgroup cache.
52793 * nscd/nscd.h (dbtype): Add netgrdb.
52794 (_PATH_NSCD_NETGROUP_DB): Define.
52795 (netgroup_iov_disabled): Declare.
52796 (xmalloc, xcalloc, xrealloc): Move declarations here.
52797 (cache_search): Adjust prototype.
52798 Add netgroup-related prototypes.
52799 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52800 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52801 (__nscd_innetgr): Declare.
52802 * nscd/selinux.c (perms): Use access_vector_t as element type and
52803 add netgroup-related initializers.
52804 * nscd/netgroupcache.c: New file.
52805 * nscd/nscd_netgroup.c: New file.
52806 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52807 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52808 For four parameters use innetgr.
52809 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52810 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52811 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52812 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52813
52814 * nscd/connections.c (register_traced_file): Don't register file
52815 for disabled databases.
52816
52817 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52818
52819 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52820
52821 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52822 from tree and freeing node.
52823
52824 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52825
52826 * nss/nsswitch.c (__nss_database_lookup): Handle
52827 nss_parse_service_list out of memory case.
52828
52829 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52830
52831 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52832 out of memory case.
52833
52834 2011-10-04 Andreas Schwab <schwab@redhat.com>
52835
52836 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52837 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52838 pass it down.
52839 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52840 elf_machine_rela, elf_machine_lazy_rel.
52841 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52842 (ELF_DYNAMIC_DO_REL): Likewise.
52843 (ELF_DYNAMIC_DO_RELA): Likewise.
52844 (ELF_DYNAMIC_RELOCATE): Likewise.
52845 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52846 to ELF_DYNAMIC_DO_REL.
52847 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52848 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52849 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52850 elf_machine_rela.
52851 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52852 skip_ifunc, don't call ifunc function if non-zero.
52853 (elf_machine_rela): Likewise.
52854 (elf_machine_lazy_rel): Likewise.
52855 (elf_machine_lazy_rela): Likewise.
52856 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52857 (elf_machine_lazy_rel): Likewise.
52858 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52859 Likewise.
52860 (elf_machine_lazy_rel): Likewise.
52861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52862 Likewise.
52863 (elf_machine_lazy_rel): Likewise.
52864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52865 (elf_machine_lazy_rel): Likewise.
52866 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52867 (elf_machine_lazy_rel): Likewise.
52868 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52869 (elf_machine_lazy_rel): Likewise.
52870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52871 (elf_machine_lazy_rel): Likewise.
52872 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52873 (elf_machine_lazy_rel): Likewise.
52874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52875 (elf_machine_lazy_rel): Likewise.
52876
52877 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52878
52879 * nss/nss_files/files-init.c (_nss_files_init): Use static
52880 initialization for all the *_traced_file variables.
52881
52882 2011-09-28 Andreas Schwab <schwab@redhat.com>
52883
52884 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52885
52886 2011-09-27 Roland McGrath <roland@hack.frob.com>
52887
52888 [BZ #13226]
52889 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52890
52891 2011-09-27 Andreas Schwab <schwab@redhat.com>
52892
52893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52894 Reread the line before reparsing it.
52895
52896 2011-09-26 Andreas Schwab <schwab@redhat.com>
52897
52898 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52899
52900 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52901 Maxim Kuvyrkov <maxim@codesourcery.com>
52902 Joseph Myers <joseph@codesourcery.com>
52903
52904 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52905 if needed for __stack_chk_guard.
52906
52907 2011-09-19 Roland McGrath <roland@hack.frob.com>
52908
52909 * sysdeps/posix/spawni.c (script_execute): Always define it.
52910 It will be optimized away if unused.
52911 (maybe_script_execute): New function.
52912 (__spawni): Call it.
52913
52914 * Makerules: Don't include tls.make.
52915 (config-tls): Always set to thread.
52916 * tls.make.c: File removed.
52917
52918 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52919
52920 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52921 * config.make.in (CPPFLAGS-config): New substituted variable.
52922
52923 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52924
52925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52926
52927 [BZ #13192]
52928 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52929 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52930
52931 2011-09-15 Roland McGrath <roland@hack.frob.com>
52932
52933 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52934 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52936 (CALL_FAIL): Likewise.
52937 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52938 (CALL_FAIL): Macro removed.
52939 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52940
52941 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52942
52943 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52944 for __FINITE_MATH_ONLY__ == 1.
52945
52946 2011-09-15 Andreas Schwab <schwab@redhat.com>
52947
52948 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52949 __ieee754_sqrt instead of sqrt.
52950 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52951 __ieee754_sqrtf instead of sqrtf.
52952 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52953 __floorf instead of floorf.
52954 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52955 __floorf, __truncf instead of floorf, truncf.
52956
52957 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52958
52959 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52960
52961 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52962 __extern_always_inline.
52963 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52964 32-bit.
52965
52966 2011-09-14 Andreas Schwab <schwab@redhat.com>
52967
52968 * elf/rtld.c (dl_main): Also relocate in dependency order when
52969 doing symbol dependency testing.
52970
52971 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52972
52973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52974 Always define `refsym'.
52975
52976 2011-09-13 Andreas Schwab <schwab@redhat.com>
52977
52978 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52979 (__FD_ELT): Renamed from __FDELT.
52980 * misc/bits/select2.h (__FD_ELT): Likewise.
52981 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52982 __FD_MASK instead of __FDELT, __FDMASK.
52983 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52984 Likewise.
52985 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52986 Likewise.
52987
52988 * elf/Makefile (gen-ldd): Fix pattern.
52989
52990 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52991 (init_tls): Likewise.
52992
52993 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52994
52995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52996
52997 2011-09-12 Andreas Schwab <schwab@redhat.com>
52998
52999 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53000 `struct cmsghdr *' instead of `void *'.
53001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53002 Likewise.
53003
53004 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53005
53006 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53007 if non-absolute.
53008 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53009 ldd_rewrite_script.
53010
53011 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53012
53013 * configure.in: Remove --with-tls option.
53014 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53015 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53016 out in case it is missing.
53017 * sysdeps/ia64/elf/configure.in: Likewise.
53018 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53019 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53020 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53021 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53022 * sysdeps/sh/elf/configure.in: Likewise.
53023 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53024 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53025 * sysdeps/x86_64/elf/configure.in: Likewise.
53026 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53027 * sysdeps/mach/hurd/tls.h: Likewise.
53028
53029 [BZ #13067]
53030 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53031
53032 [BZ #13090]
53033 * configure.in: Fix use of AC_INIT.
53034
53035 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53036
53037 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53038
53039 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53040 __set_errno.
53041 * malloc/hooks.c: Likewise.
53042
53043 [BZ #11929]
53044 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53045 variables statically.
53046 (narenas): Initialize.
53047 (list_lock): Initialize.
53048 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53049 initializtion of main_arena and list_lock. Small cleanups.
53050 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53051 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53052 Add initializers to main_arena and mp_.
53053 (malloc_state): Remove pagesize member. Change all users to use
53054 GLRO(dl_pagesize).
53055
53056 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53057 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53058 is always initialized.
53059
53060 * malloc/malloc.c: Removed unused configurations and dead code.
53061 * malloc/arena.c: Likewise.
53062 * malloc/hooks.c: Likewise.
53063 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53064
53065 * include/tls.h: Removed. USE___THREAD must always be defined.
53066 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53067 * elf/dl-libc.c: Likewise.
53068 * elf/dl-tsd.c: Likewise.
53069 * include/errno.h: Likewise.
53070 * include/netdb.h: Likewise.
53071 * include/resolv.h: Likewise.
53072 * inet/herrno-loc.c: Likewise.
53073 * inet/herrno.c: Likewise.
53074 * malloc/arena.c: Likewise.
53075 * malloc/hooks.c: Likewise.
53076 * malloc/malloc.c: Likewise.
53077 * resolv/res-state.c: Likewise.
53078 * resolv/res_libc.c: Likewise.
53079 * sysdeps/i386/dl-machine.h: Likewise.
53080 * sysdeps/ia64/dl-machine.h: Likewise.
53081 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53082 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53083 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53084 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53085 * sysdeps/sh/dl-machine.h: Likewise.
53086 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53087 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53088 * sysdeps/unix/i386/sysdep.S: Likewise.
53089 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53090 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53091 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53095 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53099 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53100 * sysdeps/x86_64/dl-machine.h: Likewise.
53101 * tls.make.c: Likewise.
53102
53103 * configure.in: Remove --with-__thread option. Make tests for
53104 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53105 tls_model attribute fail if no support is available. Remove
53106 USE_IN_LIBIO.
53107 * Makeconfig: Adjust for dropped configure option. All features are
53108 now mandatory.
53109 * Makerules: Likewise.
53110 * Versions.def: Likewise.
53111 * argp/argp-fmtstream.c: Likewise.
53112 * argp/argp-fmtstream.h: Likewise.
53113 * argp/argp-help.c: Likewise.
53114 * assert/assert.c: Likewise.
53115 * config.h.in: Likewise.
53116 * config.make.in: Likewise.
53117 * configure: Likewise.
53118 * configure.in: Likewise.
53119 * csu/Versions: Likewise.
53120 * csu/init.c: Likewise.
53121 * elf/tst-audit2.c: Likewise.
53122 * elf/tst-tls10.c: Likewise.
53123 * elf/tst-tls10.h: Likewise.
53124 * elf/tst-tls11.c: Likewise.
53125 * elf/tst-tls12.c: Likewise.
53126 * elf/tst-tls14.c: Likewise.
53127 * elf/tst-tlsmod11.c: Likewise.
53128 * elf/tst-tlsmod12.c: Likewise.
53129 * elf/tst-tlsmod13.c: Likewise.
53130 * elf/tst-tlsmod13a.c: Likewise.
53131 * elf/tst-tlsmod14a.c: Likewise.
53132 * elf/tst-tlsmod15b.c: Likewise.
53133 * elf/tst-tlsmod16a.c: Likewise.
53134 * elf/tst-tlsmod16b.c: Likewise.
53135 * elf/tst-tlsmod7.c: Likewise.
53136 * elf/tst-tlsmod8.c: Likewise.
53137 * elf/tst-tlsmod9.c: Likewise.
53138 * gmon/gmon.c: Likewise.
53139 * grp/fgetgrent_r.c: Likewise.
53140 * grp/putgrent.c: Likewise.
53141 * hurd/fopenport.c: Likewise.
53142 * include/libc-symbols.h: Likewise.
53143 * include/tls.h: Likewise.
53144 * intl/gettextP.h: Likewise.
53145 * intl/loadinfo.h: Likewise.
53146 * locale/global-locale.c: Likewise.
53147 * locale/localeinfo.h: Likewise.
53148 * mach/devstream.c: Likewise.
53149 * malloc/arena.c: Likewise.
53150 * malloc/set-freeres.c: Likewise.
53151 * misc/err.c: Likewise.
53152 * misc/getttyent.c: Likewise.
53153 * misc/mntent_r.c: Likewise.
53154 * posix/getopt.c: Likewise.
53155 * posix/wordexp.c: Likewise.
53156 * pwd/fgetpwent_r.c: Likewise.
53157 * resolv/Versions: Likewise.
53158 * resolv/res_hconf.c: Likewise.
53159 * shadow/fgetspent_r.c: Likewise.
53160 * shadow/putspent.c: Likewise.
53161 * stdio-common/printf_fphex.c: Likewise.
53162 * stdio-common/tmpfile.c: Likewise.
53163 * stdlib/abort.c: Likewise.
53164 * stdlib/fmtmsg.c: Likewise.
53165 * sunrpc/auth_unix.c: Likewise.
53166 * sunrpc/clnt_perr.c: Likewise.
53167 * sunrpc/clnt_tcp.c: Likewise.
53168 * sunrpc/clnt_udp.c: Likewise.
53169 * sunrpc/clnt_unix.c: Likewise.
53170 * sunrpc/openchild.c: Likewise.
53171 * sunrpc/svc_simple.c: Likewise.
53172 * sunrpc/svc_tcp.c: Likewise.
53173 * sunrpc/svc_udp.c: Likewise.
53174 * sunrpc/svc_unix.c: Likewise.
53175 * sunrpc/xdr.c: Likewise.
53176 * sunrpc/xdr_array.c: Likewise.
53177 * sunrpc/xdr_rec.c: Likewise.
53178 * sunrpc/xdr_ref.c: Likewise.
53179 * sunrpc/xdr_stdio.c: Likewise.
53180
53181 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53182
53183 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53184
53185 2011-07-03 Andreas Jaeger <aj@suse.de>
53186
53187 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53188 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53189 regenerate with gen-libm-tests.pl.
53190
53191 2010-05-12 Petr Baudis <pasky@suse.cz>
53192
53193 [BZ #11589]
53194 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53195 around j0() zero points by switching to j1().
53196 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53199 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53200
53201 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53202
53203 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53204 instead of 0.
53205 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53206 instead of 0.
53207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53208 Patch in part by Pavel Roskin <proski@gnu.org>.
53209
53210 [BZ #13138]
53211 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53212 realloc.
53213 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53214 Free memory block if necessary.
53215
53216 [BZ #12847]
53217 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53218 be NULL. Don't lock in this case.
53219
53220 2011-09-09 Roland McGrath <roland@hack.frob.com>
53221
53222 * elf/elf.h (ELFOSABI_GNU): New macro.
53223 (ELFOSABI_LINUX): Define to that.
53224
53225 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53226
53227 * string/strncat.c (strncat): Undef the symbol in case it has been
53228 defined in bits/string.h.
53229
53230 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53231
53232 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53233
53234 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53235 link map.
53236
53237 2011-08-17 Andreas Jaeger <aj@suse.de>
53238
53239 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53240
53241 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53242 Ian Lance Taylor <iant@google.com>
53243
53244 * math/libm-test.inc (lround_test): New testcase.
53245 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53246
53247 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53248
53249 * Makefile: Remove support for automatic cvs check-ins.
53250 * Makerules: Likewise.
53251 * config.make.in: Likewise.
53252 * configure.in: Likewise.
53253 * intl/Makefile: Likewise.
53254 * locale/Makefile: Likewise.
53255 * po/Makefile: Likewise.
53256 * posix/Makefile: Likewise.
53257 * sysdeps/gnu/Makefile: Likewise.
53258 * sysdeps/mach/hurd/Makefile: Likewise.
53259 * sysdeps/sparc/sparc32/Makefile: Likewise.
53260
53261 [BZ #13118]
53262 * posix/Makefile (bug-regex32-ENV): Define.
53263 Patch by John Stanley <jpsinthemix@verizon.net>.
53264
53265 * misc/Makefile (headers): Add bits/select2.h.
53266 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53267 * misc/bits/select2.h: New file.
53268 * include/bits/select2.h: New file.
53269 * debug/Makefile (routines): Add fdelt_chk.
53270 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53271 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53272 FD_ISSET.
53273 * debug/fdelt_chk.c: New file.
53274
53275 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53276 * wcsmbs/test-wmemcmp.c: Likewise.
53277 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53278 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53279
53280 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53281
53282 * string/Makefile (strop-tests): Add memcmp.
53283 * string/test-wmemcmp.c: New file.
53284 * string/test-memcmp.c: Add wmemcmp support.
53285
53286 2011-09-08 Roland McGrath <roland@hack.frob.com>
53287
53288 [BZ #13153]
53289 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53290 2011-07-19 change.
53291
53292 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53293 garbage value in a __mach_port_mod_refs call in the cases of the
53294 task-self and thread-self ports.
53295
53296 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53297
53298 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53299
53300 2011-09-08 Andreas Schwab <schwab@redhat.com>
53301
53302 * elf/dl-load.c (lose): Check for non-null L.
53303
53304 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53305
53306 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53307
53308 * elf/dl-libc.c (dlerror_run): Pass back error code from
53309 dl_catch_error.
53310
53311 [BZ #13123]
53312 * elf/dl-load.c (lose): Free l_origin if it is valid.
53313
53314 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53315 names.
53316 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53317 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53319 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53320 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53321 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53322
53323 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53324
53325 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53326 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53327 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53328 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53329 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53330 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53331 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53332 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53333 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53334 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53335
53336 2011-08-15 Alan Modra <amodra@gmail.com>
53337
53338 [BZ #13092]
53339 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53340 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53341 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53342 ppc_mcount to static-only-routines.
53343 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53344 __mcount_internal.
53345 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53346 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53347
53348 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53349
53350 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53351 for finite and infinity parameters.
53352
53353 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53354
53355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53356 and add nop instructions for throughput optimization.
53357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53358
53359 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53360
53361 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53362 aligned copy for power7 with vector-scalar instructions.
53363 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53364
53365 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53366
53367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53368 AVX check.
53369
53370 2011-09-07 Andreas Schwab <schwab@redhat.com>
53371
53372 [BZ #13144]
53373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53374 last change.
53375
53376 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53377
53378 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53379 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53380 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53381 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53382 clock_gettime.
53383
53384 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53385
53386 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53387 Forgot to demangle the pointer.
53388
53389 * sysdeps/i386/sysdep.h: Define atom_text_section.
53390 * sysdeps/x86_64/sysdep.h: Likewise.
53391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53392 section with atom_text_section.
53393 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53394 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53395 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53398
53399 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53400 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53401 already be defined. Change to take two parameters and don't assign
53402 result to variable. Adjust all users.
53403 Define INTERNAL_GETTIME if not already defined.
53404 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53405 call.
53406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53407 HAVE_CLOCK_GETTIME_VSYSCALL.
53408 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53409
53410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53411 gettimeofday vsyscall, just use time.
53412
53413 2011-09-06 Andreas Schwab <schwab@redhat.com>
53414
53415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53416 <errno.h>.
53417
53418 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53419
53420 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53421 syscall on x86-64.
53422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53423 syscall.
53424 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53426 syscall if possible.
53427
53428 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53429
53430 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53431 e_ident. Don't pass to find_mapsXX.
53432 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53433
53434 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53435
53436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53437 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53438 * sysdeps/x86_64/multiarch/strchr.S: Update.
53439 Check bit_slow_BSF bit.
53440 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53441 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53443
53444 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53445
53446 [BZ #13134]
53447 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53448 before glibc 2.15.
53449 (tryshell): Define.
53450 (__spawni): Change last parameter to be flag. Test
53451 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53452 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53453 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53454 * posix/spawni.c: Likewise.
53455 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53456 * posix/spawnp.c: Likewise. Change normal version to use
53457 SPAWN_XFLAGS_USE_PATH.
53458 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53459 SPAWN_XFLAGS_TRY_SHELL.
53460
53461 [BZ #13150]
53462 * posix/glob.h: Remove gcc 1.x support.
53463
53464 [BZ #13068]
53465 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53466
53467 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53468
53469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53470 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53471 strrchr-sse2-bsf
53472 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53473 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53474 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53476 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53477 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53478
53479 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53480
53481 * sysdeps/x86_64/wcscmp.S: New file.
53482
53483 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53484 wcscmp-c wcscmp-sse2
53485 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53486 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53487 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53488 * wcsmbs/wcscmp.c: Allow renaming.
53489
53490 2011-09-05 David S. Miller <davem@davemloft.net>
53491
53492 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53493 stack slot, rather than the struct return pointer slot.
53494 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53495 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53497 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53498
53499 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53500
53501 * po/ja.po: Update from translation team.
53502
53503 [BZ #13144]
53504 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53505 kernel in 64-bit binaries.
53506
53507 2011-09-01 David S. Miller <davem@davemloft.net>
53508
53509 * elf/elf.h (HWCAP_SPARC_*): Move to..
53510 * sysdeps/sparc/sysdep.h: this new file and add new values.
53511 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53512 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53513 _DL_HWCAP_COUNT to 24.
53514 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53515 entries.
53516 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53517 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53518 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53520 instead of magic constants.
53521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53522
53523 2011-08-31 David S. Miller <davem@davemloft.net>
53524
53525 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53527 Reimplement to do errno handling inline.
53528 (SYSCALL_ERROR_HANDLER): New macro.
53529 (__SYSCALL_STRING): Do not do errno handling in asm.
53530 (__CLONE_SYSCALL_STRING): Delete.
53531 (__INTERNAL_SYSCALL_STRING): Delete.
53532 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53533 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53534 (PSEUDO): Reimplement to do errno handling inline.
53535 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53536 (SYSCALL_ERROR_HANDLER): New macro.
53537 (__SYSCALL_STRING): Do not do errno handling in asm.
53538 (__CLONE_SYSCALL_STRING): Delete.
53539 (__INTERNAL_SYSCALL_STRING): Delete.
53540 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53541 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53542 i386.
53543 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53544 (inline_syscall*): Add 'err' argument.
53545 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53546 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53547 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53548 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53549
53550 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53551 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53552
53553 2011-08-30 Andreas Schwab <schwab@redhat.com>
53554
53555 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53556
53557 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53558
53559 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53560 directive.
53561
53562 2011-08-24 David S. Miller <davem@davemloft.net>
53563
53564 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53565
53566 2011-08-24 Andreas Schwab <schwab@redhat.com>
53567
53568 * elf/Makefile: Add rules to build and run unload8 test.
53569 * elf/unload8.c: New file.
53570 * elf/unload8mod1.c: New file.
53571 * elf/unload8mod1x.c: New file.
53572 * elf/unload8mod2.c: New file.
53573 * elf/unload8mod3.c: New file.
53574
53575 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53576 it wasn't used.
53577
53578 2011-08-23 David S. Miller <davem@davemloft.net>
53579
53580 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53581 subtract stack bias.
53582 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53583 %sp not %fp in calculations.
53584 (_JMPBUF_UNWINDS_ADJ): Likewise.
53585
53586 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53587 (aio_suspend): Call it to force an exception region around the
53588 AIO_MISC_WAIT() invocation.
53589
53590 2011-08-23 Andreas Schwab <schwab@redhat.com>
53591
53592 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53593 backslash.
53594
53595 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53596
53597 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53598 protection macro.
53599 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53600 and <dl-machine.h>.
53601 (Elf64_FuncDesc): Remove.
53602
53603 2011-08-22 David S. Miller <davem@davemloft.net>
53604
53605 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53606 sigaltstack check, add missing cfi directives.
53607 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53608 missing cfi directives, and sigaltstack handling.
53609
53610 2011-08-16 Andreas Schwab <schwab@redhat.com>
53611
53612 [BZ #11724]
53613 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53614 object is seen twice.
53615 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53616
53617 * elf/Makefile (distribute): Add tst-initorder2.c.
53618 (tests): Add tst-initorder2.
53619 (modules-names): Add tst-initorder2a tst-initorder2b
53620 tst-initorder2c tst-initorder2d. Add rules to build them.
53621 ($(objpfx)tst-initorder2.out): New rule.
53622 * elf/tst-initorder2.c: New file.
53623 * elf/tst-initorder2.exp: New file.
53624
53625 2011-08-22 Andreas Schwab <schwab@redhat.com>
53626
53627 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53628
53629 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53630 dependencies back to end of function.
53631
53632 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53633 $(elfobjdir)/ld.so.
53634
53635 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53636
53637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53638 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53639 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53640 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53641 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53642 of __vdso_gettimeofday.
53643 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53644 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53645 attribute_hidden.
53646 (_libc_vdso_platform_setup): Remove initialization of
53647 __vdso_gettimeofday and __vdso_time.
53648
53649 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53650
53651 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53652 and fgetc_unlocked.
53653 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53654 getc_unlocked.
53655
53656 * elf/dl-open.c (add_to_global): Report additions to the global scope
53657 for LD_DEBUG=scopes.
53658 (dl_open_worker): Also print scope of newly loaded dependencies.
53659 (_dl_show_scope): Indicate if there is no scope.
53660
53661 [BZ #13114]
53662 * stdio-common/Makefile (tests): Add bug24.
53663 * stdio-common/bug24.c: New file.
53664
53665 2011-08-19 Andreas Jaeger <aj@suse.de>
53666
53667 [BZ #13114]
53668 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53669 non-existant file when using close-on-exec mode.
53670
53671 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53672
53673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53674 the very first instruction.
53675
53676 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53677 the CFI state in the end.
53678 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53679 inclusion of dl-trampoline.h.
53680 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53681
53682 2011-08-19 Andreas Schwab <schwab@redhat.com>
53683
53684 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53685 expectations for long double.
53686
53687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53688 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53689
53690 2011-08-14 David S. Miller <davem@davemloft.net>
53691
53692 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53693 artificual limit depends upon the system page size.
53694
53695 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53696
53697 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53698 * resolv/Makefile: Define CFLAGS-libresolv.
53699
53700 2011-08-17 Andreas Schwab <schwab@redhat.com>
53701
53702 * nss/makedb.c (compute_tables): Make variables used in nested
53703 function static.
53704
53705 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53706
53707 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53708 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53709 if buffer was too small.
53710
53711 * elf/pldd.c (main): Attach to all threads in the process.
53712 Rewrite /proc handling to use *at functions.
53713
53714 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53715
53716 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53717 specifies first scope to show.
53718 (dl_open_worker): Update callers. Move printing scope of new
53719 object to before the relocation.
53720 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53721 * sysdeps/generic/ldsodefs.h: Update declaration.
53722
53723 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53724 string for the scope number.
53725
53726 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53727
53728 * nscd/servicescache.c (cache_addserv): Make sure written is always
53729 initialized.
53730
53731 2011-08-14 Roland McGrath <roland@hack.frob.com>
53732
53733 * sysdeps/i386/i486/bits/atomic.h
53734 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53735 statement expression, so as to suppress "set but not used" warning.
53736 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53737
53738 * string/strncat.c (STRNCAT): Use prototype definition.
53739
53740 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53741 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53742 -Iprograms here.
53743 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53744 (localedef-modules): Add localedef.
53745 (locale-modules): Add locale.
53746
53747 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53748 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53749 to avoid a warning.
53750
53751 2011-08-14 David S. Miller <davem@davemloft.net>
53752
53753 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53754 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53755
53756 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53757
53758 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53759 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53760 * elf/rtld.c (dl_main): Set l_name of vDSO.
53761 Call _dl_show_scope when DL_DEBUG_SCOPES.
53762 (process_dl_debug): Recognize scopes flag and also set it for all.
53763 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53764 Declare _dl_show_scope.
53765
53766 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53767 (do_dlopen): Pass caller_dlopen to dl_open.
53768 (__libc_dlopen_mode): Initialize caller_dlopen.
53769
53770 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53771 of libc. Make tolower call locale-independent. Optimize a bit by
53772 using isdigit instead of isalnum.
53773 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53774
53775 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53776
53777 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53778 was a dependency or dynamically loaded.
53779
53780 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53781
53782 * intl/l10nflist.c: Allow architecture-specific pop function.
53783 * sysdeps/x86_64/l10nflist.c: New file.
53784
53785 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53786 classification.
53787
53788 2011-08-10 Andreas Schwab <schwab@redhat.com>
53789
53790 * include/dirent.h: Add libc_hidden_proto for scandirat and
53791 scandirat64. Don't declare __scandirat64.
53792 * dirent/scandirat.c: Add libc_hidden_def.
53793 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53794 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53795
53796 2011-08-10 David S. Miller <davem@davemloft.net>
53797
53798 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53799 enum.
53800 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53802 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53803
53804 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53805
53806 * Versions.def [libc]: Add GLIBC_2.15.
53807 * dirent/Makefile (routines): Add scandirat and scandirat64.
53808 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53809 GLIBC_2.15.
53810 * dirent/dirent.h: Declare scandirat and scandirat64.
53811 * dirent/scandirat.c: New file.
53812 * dirent/scandirat64.c: New file.
53813 * sysdeps/wordsize-64/scandirat.c: New file.
53814 * sysdeps/wordsize-64/scandirat64.c: New file.
53815 * dirent/opendir.c: Define opendirat.
53816 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53817 using scandirat.
53818 * dirent/scandir64.c: Adjust for scandir.c change.
53819 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53820 __scandirat64, and __scandir_cancel_handler.
53821 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53822 additional parameter and use openat instead of open (outside of ld.so).
53823 Add new __opendir as wrapper around __opendirat.
53824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53825 here without requiring old scandirat implementation.
53826
53827 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53828
53829 * dirent/scandir.c (cancel_handler): Renamed to
53830 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53831 defined. Adjust users.
53832 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53833 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53834
53835 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53836
53837 * string/test-string.h (IMPL): Use __STRING to expand name and then
53838 stringify it.
53839
53840 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53841 of cleanups.
53842
53843 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53844
53845 * string/Makefile: Update.
53846 (strop-tests): Append strncat.
53847 * string/test-wcscmp.c: New file.
53848 New comprehensive test for wcscmp.
53849 * string/test-strcmp.c: Update.
53850 (WIDE): New define.
53851
53852 2011-07-22 Andreas Schwab <schwab@redhat.com>
53853
53854 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53855 line.
53856
53857 2011-07-26 Andreas Schwab <schwab@redhat.com>
53858
53859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53860 encoding to ACE if AI_IDN.
53861
53862 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53863
53864 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53865 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53866
53867 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53868
53869 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53870 Fix overflow bug in strncat.
53871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53872
53873 * string/test-strncat.c: Update.
53874 Add new tests for checking overflow bugs.
53875
53876 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53877
53878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53879 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53880 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53881 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53883 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53884 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53885 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53886 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53887
53888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53889 (USE_AS_STRCAT): Define.
53890 Add strcat and strncat support.
53891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53892
53893 2011-07-25 Andreas Schwab <schwab@redhat.com>
53894
53895 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53896 __n bigger than INT_MAX+1.
53897 (__strncmp_g): Likewise.
53898
53899 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53900
53901 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53902 * libio/stido.h: Likewise.
53903
53904 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53905 (AF_NFC): Define.
53906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53907 (AF_NFC): Define.
53908
53909 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53912 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53914
53915 [BZ #13021]
53916 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53917 installed.
53918
53919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53920 typo.
53921 (_dl_x86_64_save_sse): Likewise.
53922
53923 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53924
53925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53926 OSXSAVE.
53927 (_dl_x86_64_save_sse): Likewise.
53928
53929 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53930
53931 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53932
53933 2011-07-21 Andreas Schwab <schwab@redhat.com>
53934
53935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53936 change.
53937 (_dl_x86_64_save_sse): Use correct AVX check.
53938
53939 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53940
53941 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53942 bug in strncpy/strncat.
53943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53944
53945 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53946
53947 * string/tester.c (test_strcat): Add tests for different alignments
53948 of source and destination.
53949 (test_strncat): Likewise.
53950
53951 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53952
53953 [BZ #12852]
53954 * posix/glob.c (glob): Check passed in values before using them in
53955 expressions to avoid some overflows.
53956 (glob_in_dir): Likewise.
53957
53958 [BZ #13007]
53959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53960 check for AVX enablement so that we don't crash with old kernels and
53961 new hardware.
53962 * elf/tst-audit4.c: Add same checks here.
53963 * elf/tst-audit6.c: Likewise.
53964
53965 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53966
53967 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53968
53969 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53970
53971 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53972
53973 * po/cs.po: Update from translation team.
53974 * po/bg.po: Likewise.
53975
53976 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53977
53978 * misc/sys/cdefs.h: Add support for const attribute.
53979 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53980 to gnu_dev_{major,minor,makedev} functions.
53981
53982 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53983
53984 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53985
53986 2011-07-20 Andreas Schwab <schwab@redhat.com>
53987
53988 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53989 strlen results.
53990
53991 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53992
53993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53994 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53995 register in order to avoid conflicts with the soft frame pointer
53996 being held in r11 when necessary.
53997 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53998 (INTERNAL_VSYSCALL_NCS): Likewise.
53999
54000 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54001
54002 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54003 * elf/dl-fini.c (_dl_fini): Adjust caller.
54004 * elf/dl-close.c (_dl_close_worker): Likewise.
54005 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54006
54007 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54008
54009 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54010 "aux_cache->nlibs < 0".
54011
54012 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54013 in the reload-count case.
54014
54015 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54016
54017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54018 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54019 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54020 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54021 * sysdeps/x86_64/multiarch/strcat.S: New file.
54022 * sysdeps/x86_64/multiarch/strncat.S: New file.
54023 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54024 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54025 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54026 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54027 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54028 (USE_AS_STRCAT): Define.
54029 Add strcat and strncat support.
54030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54032 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54033 * string/strncat.c: Update.
54034 (USE_AS_STRNCAT): Define.
54035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54036 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54037 and i7.
54038 * sysdeps/x86_64/multiarch/init-arch.h
54039 (bit_Prefer_PMINUB_for_stringop): New.
54040 (index_Prefer_PMINUB_for_stringop): Likewise.
54041 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54042 bit_Prefer_PMINUB_for_stringop.
54043
54044 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54045
54046 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54047 buffer64.
54048 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54049 of casting of buffer.
54050 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54051 buffer32 and buffer64.
54052 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54053 writes instead of casting of buffer.
54054 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54055 buffer32.
54056 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54057 casting of buffer.
54058
54059 2011-07-19 Andreas Schwab <schwab@redhat.com>
54060
54061 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54062
54063 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54064
54065 * nscd/nscd.c (termination_handler): Don't do anything for a database
54066 if it has not yet been initialized.
54067
54068 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54069
54070 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54071
54072 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54073
54074 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54075
54076 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54077
54078 * po/nl.po: Update from translation team.
54079 * po/sv.po: Likewise.
54080
54081 2011-07-16 Roland McGrath <roland@hack.frob.com>
54082
54083 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54084 now disallowed by GCC.
54085
54086 * configure.in (use-default-link): Default to yes if a test -shared
54087 link meets our qualifications.
54088 * configure: Regenerated.
54089
54090 * config.make.in (output-format): New variable.
54091 * configure.in: Check for ld --print-output-format support.
54092 * configure: Regenerated.
54093 * Makerules ($(common-objpfx)format.lds)
54094 [$(output-format) != unknown]: Just use $(output-format),
54095 instead of the linker-script munging.
54096
54097 2011-07-14 Roland McGrath <roland@hack.frob.com>
54098
54099 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54100 of $(common-objpfx)shlib.lds.
54101 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54102
54103 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54104 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54105
54106 * configure.in (-z relro check): Adjust test code to add a large
54107 writable data section after it.
54108 * configure: Regenerated.
54109
54110 2011-07-11 Roland McGrath <roland@hack.frob.com>
54111
54112 * configure.in (-z relro check): Fix test code to make the variable
54113 truly const.
54114 * configure: Regenerated.
54115
54116 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54117
54118 * nscd/nscd.h (struct traced_file): Define.
54119 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54120 elements. Add traced_files.
54121 (inotify_fd): Declare.
54122 (register_traced_file): Declare.
54123 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54124 (inotify_fd): Export.
54125 (resolv_conf_descr): Remove.
54126 (nscd_init): Move inotify descriptor creation to main.
54127 Don't register files for notification here.
54128 (register_traced_file): New function.
54129 (invalidate_cache): Don't use reset_res to determine whether to call
54130 res_init, go through the list of registered files.
54131 (main_loop_poll): The inotify descriptors are now stored in the
54132 structures for the traced files.
54133 (main_loop_epoll): Likewise
54134 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54135 to __nss_disable_nscd.
54136 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54137 for a database anymore. Check the records for all the registered
54138 files instead.
54139 * nss/Makefile (libnss_files-routines): Add files-init.
54140 (libnss_db-routines): Add db-init.
54141 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54142 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54143 * nss/nss_db/db-init.c: New file.
54144 * nss/nss_files/files-init.c: New file.
54145 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54146 __nss_lookup_function.
54147 (__nss_lookup_function): Call nss_load_library.
54148 (nss_load_all_libraries): New function.
54149 (__nss_disable_nscd): Take parameter with callback function for files
54150 to register. Set is_nscd. Load all the DSOs for the NSS modules
54151 used for the cached services.
54152 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54153 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54154 options for features to all the files in nscd.
54155
54156 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54157
54158 2011-07-10 Roland McGrath <roland@hack.frob.com>
54159
54160 * csu/elf-init.c (__libc_csu_init): Comment typo.
54161
54162 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54163
54164 * po/pl.po: Update from translation team.
54165 * po/ja.po: Likewise.
54166 * po/ru.po: Likewise.
54167 * po/ko.po: Likewise.
54168 * po/fr.po: Likewise.
54169
54170 2011-07-09 Roland McGrath <roland@hack.frob.com>
54171
54172 * configure.in (.ctors/.dtors header and trailer check):
54173 Use an empirical test on a built program.
54174 * configure: Regenerated.
54175
54176 * configure.in (-z relro check): Use an empirical test on a built DSO.
54177 Detect, but do not require, on ia64.
54178 * configure: Regenerated.
54179
54180 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54181 Update tests that use readelf to use $READELF instead.
54182 * configure: Regenerated.
54183
54184 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54185
54186 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54187 if the result is not used.
54188
54189 2011-07-05 Andreas Jaeger <aj@suse.de>
54190
54191 [BZ#9696]
54192 * stdlib/tst-strtod.c: Add testcase.
54193
54194 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54195
54196 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54197 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54198 The latter has a higher limit. Take additional parameter to pass to
54199 the new function.
54200 (__pathconf): Pass file to __statfs_link_max.
54201 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54202 __statfs_link_max.
54203 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54204 __statfs_link_max.
54205
54206 [BZ #12868]
54207 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54208 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54209 Handle Lustre.
54210 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54211 (__statfs_filesize_max): Likewise.
54212 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54213
54214 2011-07-05 Andreas Jaeger <aj@suse.de>
54215
54216 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54217
54218 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54219
54220 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54221 `status' variable.
54222 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54223 Likewise.
54224
54225 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54226
54227 * Makefile (strop-tests): Add strncat.
54228 * string/test-strncat.c: New file.
54229
54230 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54231
54232 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54233
54234 2011-06-21 Andreas Jaeger <aj@suse.de>
54235
54236 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54237 Copy rule from iconvdata/Makefile.
54238
54239 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54240
54241 [BZ #12922]
54242 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54243 but no long options are defined, just return 'W'.
54244
54245 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54246
54247 [BZ #9696]
54248 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54249
54250 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54251
54252 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54253 netgroups to read.
54254 (innetgr): Likewise.
54255
54256 2011-07-05 Roland McGrath <roland@hack.frob.com>
54257
54258 * config.make.in (install_root): Default to $(DESTDIR).
54259
54260 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54261
54262 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54263
54264 2011-07-02 Roland McGrath <roland@hack.frob.com>
54265
54266 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54267
54268 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54269 containing directory rather than embedding absolute directory names.
54270
54271 * scripts/check-local-headers.sh: Rewritten using awk.
54272 Match by word, not by line. Print error messages for matches.
54273 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54274
54275 * Makerules [shlib-lds-flags empty]:
54276 ($(common-objpfx)libc_pic.opts): New target.
54277 ($(common-objpfx)libc_pic.os.clean): New target.
54278 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54279
54280 * config.make.in (OBJCOPY): New variable.
54281 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54282 * configure: Regenerated.
54283
54284 * config.make.in (use-default-link): New variable.
54285 * configure.in (use_default_link): Grok --with-default-link to set it.
54286 * configure: Regenerated.
54287 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54288 (shlib-lds, shlib-lds-flags): Define to empty.
54289
54290 * Makerules (shlib-lds): New variable.
54291 (shlib-lds-flags): New variable.
54292 (build-shlib, build-moduile, build-module-asneeded): Use it.
54293 ($(common-objpfx)libc.so): Use $(shlib-lds).
54294 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54295 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54296
54297 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54298 DT_FLAGS/DT_FLAGS_1 with zero flags.
54299
54300 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54301 linker script munging.
54302
54303 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54304
54305 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54306 as 128-bit value.
54307 * crypt/sha512.c (sha512_process_block): Perform total addition using
54308 128-bit if possible.
54309 (__sha512_finish_ctx): Likewise.
54310 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54311 as 64-bit value.
54312 * crypt/sha256.c (SWAP64): Define.
54313 (sha256_process_block): Perform total addition using 64-bit if
54314 possible.
54315 (__sha256_finish_ctx): Likewise.
54316
54317 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54318
54319 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54321 * nscd/hstcache.c (cache_addhst): Likewise.
54322 * nscd/grpcache.c (cache_addgr): Likewise.
54323 * nscd/aicache.c (addhstaiX): Likewise
54324 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54325
54326 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54327
54328 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54330 * nscd/hstcache.c (cache_addhst): Likewise.
54331 * nscd/grpcache.c (cache_addgr): Likewise.
54332 * nscd/aicache.c (addhstaiX): Likewise
54333
54334 2011-07-01 Andreas Schwab <schwab@redhat.com>
54335
54336 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54337 domain only when needed.
54338
54339 2011-06-30 Andreas Schwab <schwab@redhat.com>
54340
54341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54342 is always restored.
54343
54344 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54345
54346 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54347 are re-adding the entry.
54348 * nscd/servicescache.c (cache_addserv): Likewise.
54349
54350 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54351
54352 * sysdeps/generic/dl-irel.h: fix protection against multiple
54353 inclusions.
54354 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54355
54356 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54357
54358 [BZ #12935]
54359 * malloc/memusage.sh: Fix quoting in message.
54360 * debug/xtrace.sh: Likewise.
54361
54362 * configure.in: Remove support for --experimental-malloc option, make
54363 it the default.
54364 * config.make.in: Likewise.
54365 * malloc/Makefile: Likewise.
54366
54367 2011-06-27 Andreas Schwab <schwab@redhat.com>
54368
54369 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54370 two-byte characters.
54371
54372 2011-06-27 Roland McGrath <roland@hack.frob.com>
54373
54374 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54375 AC_CACHE_CHECK invocation.
54376 * configure: Regenerated.
54377
54378 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54379
54380 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54381
54382 [BZ #12350]
54383 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54384 bit from old_res_options.
54385
54386 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54387
54388 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54389 value type for setfct.
54390
54391 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54392
54393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54394 __gettimeofday instead of gettimeofday.
54395
54396 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54397
54398 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54399
54400 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54401
54402 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54403
54404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54405 info.
54406
54407 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54408
54409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54410 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54411 strcpy-sse2-unaligned strncpy-sse2-unaligned
54412 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54413 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54414 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54415 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54416 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54418 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54419 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54420 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54421 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54422 (STRCPY): Support SSE2 and SSSE3 versions.
54423
54424 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54425
54426 [BZ #12874]
54427 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54428 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54429 kernels which artificially limit size of requests.
54430
54431 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54432
54433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54434 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54435 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54436 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54437 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54438 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54439 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54440 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54443 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54444 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54445 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54446 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54447 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54449 Enable unaligned load optimization for Intel Core i3, i5 and i7
54450 processors.
54451 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54452 Define.
54453 (index_Fast_Unaligned_Load): Define.
54454 (HAS_FAST_UNALIGNED_LOAD): Define.
54455
54456 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54457
54458 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54459
54460 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54461
54462 [BZ #12907]
54463 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54464 until it is clear that the information is realy needed.
54465 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54466
54467 2011-06-22 Andreas Schwab <schwab@redhat.com>
54468
54469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54470
54471 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54472
54473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54474 /sys/devices/system/cpu/online if it is usable.
54475
54476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54477 reading the information from the /proc filesystem to once a second.
54478
54479 2011-06-21 Andreas Jaeger <aj@suse.de>
54480
54481 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54482 NULL after inclusion of kernel headers.
54483
54484 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54485
54486 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54487 calls to internal_setent.
54488
54489 [BZ #12885]
54490 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54491 addresses using gethostbyname4_r ignore IPv4 addresses.
54492
54493 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54494 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54495
54496 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54497
54498 2011-06-20 David S. Miller <davem@davemloft.net>
54499
54500 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54501 inclusions.
54502 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54503
54504 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54505 (elf_irel): Use it.
54506 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54507 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54508 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54509 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54510 * sysdeps/x86_64/dl-irel.h: Likewise.
54511
54512 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54513 * elf/dl-sym.c: Likewise.
54514
54515 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54516
54517 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54518 need to dereference resplen2.
54519
54520 2011-06-14 Andreas Schwab <schwab@redhat.com>
54521
54522 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54523
54524 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54525
54526 * Makeconfig: Define vardbdir and inst_vardbdir.
54527 * nss/Makefile: Add rules to install db-Makefile.
54528
54529 * nss/nss_db/db-XXX.c: Cleanup.
54530
54531 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54532 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54533 GLIBC_PRIVATE.
54534 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54535 * nss/makedb.c: Implement -g option to specify that value strings
54536 are generated and should not be added to table iterated over for
54537 get*ent calls.
54538 * nss/nss_db/db-initgroups.c: New file.
54539
54540 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54541 interface.
54542
54543 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54544 (internal_getgrouplist): Adjust to name change.
54545 Update use_initgroups_entry if this is not the first call.
54546 * nss/databases.def: Add initgroups entry.
54547
54548 * nss/makedb.c (compute_tables): Check result of multiple hash table
54549 sizes to minimize maximum chain length.
54550
54551 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54552
54553 * Versions.def: Add entry for libnss_db.
54554 * shlib-versions: Likewise.
54555 * nss/Makefile: Add rules to build libnss_db.
54556 * nss/Versions: Add libnss_db information. Organize libnss_files
54557 entries better.
54558 * nss/db-Makefile: Add gshadow support. Change rules for the new
54559 makedb progra. Some minor improvements to generate smaller files.
54560 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54561 here from...
54562 * nss/makedb.c: ...here.
54563 Improve database format to be smaller and require less memory at
54564 runtime.
54565 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54566 db anymore.
54567 * nss/nss_db/db-netgrp.c: Likewise.
54568 * nss/nss_db/db-open.c: Likewise.
54569 * nss/nss_files/flies-XXX.x: Adjust comments.
54570 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54571 * nss/nss_files/files-grp.c: Likewise.
54572 * nss/nss_files/files-hosts.c: Likewise.
54573 * nss/nss_files/files-network.c: Likewise.
54574 * nss/nss_files/files-proto.c: Likewise.
54575 * nss/nss_files/files-pwd.c: Likewise.
54576 * nss/nss_files/files-rpc.c: Likewise.
54577 * nss/nss_files/files-service.c: Likewise.
54578 * nss/nss_files/files-sgrp.c: Likewise.
54579 * nss/nss_files/files-spwd.c: Likewise.
54580 * nss/nss_db/db-alias.c: Removed.
54581 * nss/nss_db/dummy-db.h: Removed.
54582
54583 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54584
54585 * nss/makedb.c: Rewritten to not use database library.
54586 * nss/Makefile: Update to build new makedb program.
54587
54588 2011-06-14 Andreas Jaeger <aj@suse.de>
54589
54590 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54591 memset declaration.
54592
54593 2011-06-10 Andreas Schwab <schwab@redhat.com>
54594
54595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54596 tmpbuf.
54597
54598 2011-06-10 Roland McGrath <roland@hack.frob.com>
54599
54600 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54601 * elf/Makefile ($(objpfx)ld.so): Likewise.
54602
54603 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54604 Don't list ld.so twice in dependencies.
54605
54606 * posix/bug-regex31.c: Include <stdlib.h>.
54607
54608 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54609
54610 * nis/nss_compat/compat-spwd.c
54611 (getspent_next_nss_netgr): Remove unused variable.
54612 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54613
54614 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54615 nonmembers" output to use the right array.
54616
54617 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54618
54619 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54620
54621 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54622 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54623 * catgets/gencat.c (read_input_file): Likewise.
54624 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54625
54626 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54627 variable definition inside #if's controlling its use.
54628
54629 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54630
54631 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54632
54633 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54634
54635 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54636 unreachable code.
54637
54638 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54639
54640 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54641 * configure: Regenerated.
54642
54643 * Makerules: Revert last change.
54644 * elf/Makefile: Likewise.
54645
54646 2011-06-09 Roland McGrath <roland@hack.frob.com>
54647
54648 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54649 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54650 (reloc-link): Likewise.
54651
54652 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54653
54654 * elf/Makefile: Add rules to build pldd.
54655 * elf/pldd.c: New file.
54656 * elf/pldd-xx.c: New file.
54657
54658 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54659
54660 * version.h: Update for 2.15 development version.
54661
54662 2011-06-07 David S. Miller <davem@davemloft.net>
54663
54664 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54665 ifuncs.
54666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54667 elf_machine_lazy_rel): Likewise.
54668 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54670 elf_machine_lazy_rel): Likewise.
54671 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54672 dl_hwcap via passed in argument.
54673 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54674 Likewise.
54675
54676 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54677
54678 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54679
54680 2011-06-06 Roland McGrath <roland@hack.frob.com>
54681
54682 [BZ #12849]
54683 * manual/fdl-1.1.texi: New file, verbatim from:
54684 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54685 * manual/lgpl-2.1.texi: New file, verbatim from:
54686 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54687 * manual/Makefile (licenses): New variable, list those new file names.
54688 (texis): Use it.
54689 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54690
54691 * manual/fdl.texi: File removed.
54692 * manual/lesser.texi: File removed.
54693 * manual/libc.texinfo (Copying, Documentation License):
54694 Use new @include file names, put @appendix directive before @include.
54695
54696 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54697
54698 [BZ #12841]
54699 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54700 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54701 (mq_open): Add __NTH.
54702
54703 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54704
54705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54706 Assume Intel Core i3/i5/i7 processor if AVX is available.
54707
54708 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54709
54710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54711 typo.
54712
54713 2011-05-31 Andreas Schwab <schwab@redhat.com>
54714
54715 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54716 memory. Use alloca_account. Fix memory leak when retrying.
54717
54718 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54719
54720 * version.h (RELEASE): Bump for 2.14 release.
54721 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54722
54723 * config.make.in (RANLIB): Remove entry.
54724
54725 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54726
54727 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54728 (libc.pot): Work around missing support for .ksh extension in xgettext.
54729
54730 [BZ #12684]
54731 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54732 if both request failed.
54733 (send_dg): In case of server errors clear resplen or *resplen2.
54734
54735 [BZ #12454]
54736 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54737 when there are multiple maps.
54738 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54739 (_dl_fini): Remove test here.
54740
54741 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54742
54743 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54744
54745 [BZ #12350]
54746 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54747 bit from old_res_options.
54748 (gaih_inet): Likewise.
54749
54750 [BZ #11099]
54751 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54752 as signed.
54753
54754 * resolv/res_init.c (res_setoptions): Make the code more compact.
54755
54756 [BZ #11558]
54757 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54758 set RES_USEVC.
54759
54760 [BZ #11634]
54761 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54762
54763 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54764
54765 [BZ #11781]
54766 * malloc/malloc.h: Declare malloc hook variables as volatile.
54767
54768 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54769 in last patch.
54770
54771 [BZ #11799]
54772 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54773 raise in the comment.
54774 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54776 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54777
54778 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54779
54780 [BZ #12811]
54781 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54782 grow the buffers more if it already has to be sufficient.
54783 (build_wcs_upper_buffer): Likewise.
54784 * posix/regexec.c (check_matching): Likewise.
54785 (clean_state_log_if_needed): Likewise.
54786 (extend_buffers): Don't enlarge buffers beyond size of the input
54787 buffer.
54788 Patches mostly by Emil Wojak <emil@wojak.eu>.
54789 * posix/bug-regex32.c: New file.
54790 * posix/Makefile (tests): Add bug-regex32.
54791
54792 * locale/findlocale.c (_nl_find_locale): Return right away if
54793 _nl_explode_name failed.
54794 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54795
54796 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54797
54798 * debug/xtrace.sh: Unify messages.
54799 * malloc/memusage.sh: Likewise.
54800
54801 [BZ #12813]
54802 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54803 time symbol from vDSO. Substitute with vsyscall if not available.
54804 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54805 __vdso_time.
54806
54807 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54808 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54809 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54810 Add sendmmsg and internal_sendmmsg.
54811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54812 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54813 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54814
54815 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54816 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54818
54819 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54820
54821 [BZ #12813]
54822 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54823 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54824 available.
54825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54826 __vdso_getcpu.
54827
54828 [BZ #12814]
54829 * iconvdata/Makefile (tests): Add bug-iconv9.
54830 * iconvdata/bug-iconv9.c: New file.
54831
54832 2011-05-27 Andreas Schwab <schwab@redhat.com>
54833
54834 [BZ #12814]
54835 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54836
54837 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54838
54839 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54840 (struct user_regs_struct): Change intcs field back to cs.
54841
54842 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54843
54844 * po/ja.po: Update from translation team.
54845
54846 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54847
54848 [BZ #12795]
54849 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54850 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54851
54852 2011-05-20 Andreas Schwab <schwab@redhat.com>
54853
54854 * stdlib/longlong.h: Update from GCC.
54855
54856 2011-05-23 Andreas Schwab <schwab@redhat.com>
54857
54858 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54859 parameter name.
54860 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54861 Add parameter name.
54862 (__sysconf): Pass it down.
54863
54864 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54865
54866 [BZ #12671]
54867 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54868 some situations.
54869 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54870 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54871 add in in __libc_use_alloca calls. Adjust callers.
54872 (glob): Use malloc in some situations.
54873
54874 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54875 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54876 pltexit.
54877
54878 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54879
54880 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54881 and CLOCK_BOOTTIME_ALARM.
54882
54883 [BZ #12782]
54884 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54885 is returned.
54886
54887 * string/_strerror.c (__strerror_r): Print negative errors as signed
54888 numbers.
54889
54890 [BZ #12777]
54891 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54892 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54893 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54894
54895 * configure.in: Fix typo in redirection and correct removal of test
54896 files in two cases.
54897
54898 [BZ #12788]
54899 * locale/setlocale.c (new_composite_name): Fix test to check for
54900 identical name of all categories.
54901
54902 [BZ #12792]
54903 * libio/filedoalloc.c (local_isatty): New function.
54904 (_IO_file_doallocate): Use local_isatty.
54905 * stdio-common/perror.c (perror): In case a new stream is used
54906 forward the stream error.
54907 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54908 error flag.
54909
54910 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54911
54912 [BZ #11869]
54913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54914 alloca.
54915 * include/alloca.h (extend_alloca_account): Define.
54916
54917 [BZ #11857]
54918 * posix/regex.h: Fix comments with documentation of user-accessible
54919 fields after compilation and describe correct free'ing of pattern
54920 after re_compile_pattern.
54921 Patch by Reuben Thomas <rrt@sc3d.org>.
54922
54923 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54924
54925 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54926 and -mno-altivec to prevent the compiler from using Altivec and/or
54927 VSX instructions when the corresponding registers are not available.
54928
54929 2011-05-19 Andreas Schwab <schwab@redhat.com>
54930
54931 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54932
54933 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54934
54935 * libio/freopen.c (freopen): Use __dup2, not dup2.
54936 * libio/freopen64.c (freopen64): Likewise.
54937
54938 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54939
54940 [BZ #12775]
54941 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54942 * math/Makefile (tests): Add test-powl.
54943 (CFLAGS-test-powl.c): Define.
54944 * math/test-powl.c: New file.
54945
54946 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54947
54948 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54949
54950 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54951
54952 [BZ #11837]
54953 * iconvdata/gb18030.c: Update to GB18020-2005.
54954
54955 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54956
54957 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54958 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54959 Patch by Aharon Robbins <arnold@skeeve.com>.
54960
54961 [BZ #11892]
54962 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54963 on the stack.
54964
54965 [BZ #11895]
54966 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54967 through underflows.
54968
54969 [BZ #12766]
54970 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54971 point to strings before performing equality test for error_one_per_line
54972 mode.
54973
54974 [BZ #11697]
54975 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54976
54977 [BZ #11820]
54978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54979 (struct user_fpregs_struct): Avoid __uint*_t types.
54980
54981 [BZ #6420]
54982 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54983 symbol info. Use it instead of calling _dl_addr locally.
54984 (lock_and_info): New function.
54985 (tr_freehook): Call lock_and_info and pass symbol info as additional
54986 parameter to tr_where.
54987 (tr_mallochook): Likewise.
54988 (tr_reallochook): Likewise.
54989 (tr_memalignhook): Likewise.
54990
54991 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54992 used and couldn't be at all thread-safe.
54993
54994 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54995
54996 * libio/freopen.c (freopen): Don't close old file descriptor
54997 before the new one is opened. Instead dup the new file descriptor
54998 to the old one after the new stream is created.
54999 * libio/freopen64.c (freopen64): Likewise.
55000 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55001 * libio/fileops.c (_IO_new_file_close_it): Handle new
55002 _IO_FLAGS2_NOCLOSE flag.
55003 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55004 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55005 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55006 _IO_FLAGS2_NOCLOSE flag.
55007 * include/unistd.h: Add hidden_proto for dup3.
55008 Define __have_dup3.
55009 * io/dup3.c: Define hidden symbol.
55010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55011
55012 [BZ #7101]
55013 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55014 when an incomplete long option is used.
55015 * posix/tst-getopt_long1.c: New file.
55016 * posix/Makefile (tests): Add tst-getopt_long1.
55017
55018 [BZ #10138]
55019 * scripts/config.guess: Update from autoconf-2.68.
55020 * scripts/config.sub: Likewise.
55021
55022 [BZ #10157]
55023 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55024 tests into ...
55025 (has_cpuclock): ...this. New function.
55026 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55027 macro here based on has_cpuclock code.
55028
55029 [BZ #10149]
55030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55031 First byte (not low byte) is now always NUL.
55032 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55033
55034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55035 Use non-cancelable interfaces.
55036
55037 [BZ #9809]
55038 * locale/iso-639.def: Add entry for Sorani.
55039
55040 [BZ #11901]
55041 * include/stdlib.h: Move include protection to the right place.
55042 Define abort_msg_s. Declare __abort_msg with it.
55043 * stdlib/abort.c (__abort_msg): Adjust type.
55044 * assert/assert.c (__assert_fail_base): New function. Majority
55045 of code from __assert_fail. Allocate memory for __abort_msg with
55046 mmap.
55047 (__assert_fail): Now call __assert_fail_base.
55048 * assert/assert-perr.c: Remove bulk of implementation. Use
55049 __assert_fail_base.
55050 * include/assert.hL Declare __assert_fail_base.
55051 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55052 mmap.
55053 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55054
55055 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55056
55057 [BZ #11952]
55058 [BZ #12453]
55059 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55060 until all modules are registered in the DTV.
55061 * elf/Makefile: Add rules to build and run tst-tls19.
55062 * elf/tst-tls19.c: New file.
55063 * elf/tst-tls19mod1.c: New file.
55064 * elf/tst-tls19mod2.c: New file.
55065 * elf/tst-tls19mod3.c: New file.
55066 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55067
55068 [BZ #12083]
55069 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55070 correctly.
55071
55072 [BZ #12601]
55073 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55074 two-byte sequence errors.
55075 * iconvdata/Makefile (tests): Add bug-iconv8.
55076 * iconvdata/bug-iconv8.c: New file.
55077
55078 [BZ #12626]
55079 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55080 buf2 definition.
55081
55082 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55083
55084 [BZ #12432]
55085 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55086 (dummy_getcfa): New function.
55087 (init): Get _Unwind_GetCFA address, use dummy if not found.
55088 (backtrace_helper): In recursion check, also check whether CFA changes.
55089 (__backtrace): Completely initialize arg.
55090
55091 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55092 storing incomplete byte sequence in state object. Avoid testing for
55093 guaranteed too small input if we know there is enough data available.
55094
55095 2011-05-11 Andreas Schwab <schwab@redhat.com>
55096
55097 * Makeconfig (+link-pie): Indent.
55098 * Rules (binaries-pie): Define if $(have-fpie) and
55099 $(build-shared).
55100 (binaries-shared): Also filter out $(binaries-pie).
55101 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55102 * nscd/Makefile (others-pie): Add nscd.
55103 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55104 ($(objpfx)nscd): Remove command override.
55105 * login/Makefile (others-pie): Add pt_chown.
55106 ($(objpfx)pt_chown): Remove command override.
55107 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55108 remove command overrides.
55109
55110 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55111
55112 * libio/tst_putwc.c: Fix error messages.
55113
55114 [BZ #12724]
55115 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55116 currently writing and seek to current position when not.
55117 * libio/Makefile (tests): Add bug-fclose1.
55118 * libio/bug-fclose1.c: New file.
55119
55120 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55121
55122 [BZ #12511]
55123 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55124 don't set DF_1_NODELETE here.
55125 (do_lookup_x): When entering new entry test for copy relocation
55126 and if necessary set DF_1_NODELETE flag.
55127 * elf/tst-unique4.cc: New file.
55128 * elf/tst-unique4.h: New file.
55129 * elf/tst-unique4lib.cc: New file.
55130 * elf/Makefile: Add rules to build and run tst-unique4.
55131 Patch by Piotr Bury <pbury@goahead.com>.
55132
55133 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55134
55135 [BZ #12052]
55136 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55137
55138 [BZ #12625]
55139 * misc/mntent_r.c (addmntent): Flush the stream after the output
55140
55141 [BZ #12393]
55142 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55143 (is_trusted_path_normalize): Skip initial colon. Append slash
55144 to empty buffer. Duplicate is_trusted_path code but allow
55145 constructed patch to be prefix.
55146 (is_dst): Allow $ORIGIN followed by /.
55147 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55148 Correct testing of result of is_trusted_path_normalize
55149 (decompose_rpath): Fix warning.
55150
55151 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55152
55153 [BZ #11257]
55154 * grp/initgroups.c (internal_getgrouplist): When we found the service
55155 list through the initgroups entry in nsswitch.conf do not always
55156 continue on a successful lookup. Don't always use the
55157 __nss_group_database value if it is set.
55158 * nss/nsswitch.conf (initgroups): Change action for successful db
55159 lookup to continue for compatibility.
55160
55161 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55162
55163 [BZ #11532]
55164 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55165 and CP774 modules.
55166 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55167 and CP774 modules.
55168 * iconvdata/tst-tables.sh: Likewise.
55169 * iconvdata/cp770.c: New file.
55170 * iconvdata/cp771.c: New file.
55171 * iconvdata/cp772.c: New file.
55172 * iconvdata/cp773.c: New file.
55173 * iconvdata/cp774.c: New file.
55174 * iconvdata/testdata/CP770: New file.
55175 * iconvdata/testdata/CP770..UTF8: New file.
55176 * iconvdata/testdata/CP771: New file.
55177 * iconvdata/testdata/CP771..UTF8: New file.
55178 * iconvdata/testdata/CP772: New file.
55179 * iconvdata/testdata/CP772..UTF8: New file.
55180 * iconvdata/testdata/CP773: New file.
55181 * iconvdata/testdata/CP773..UTF8: New file.
55182 * iconvdata/testdata/CP774: New file.
55183 * iconvdata/testdata/CP774..UTF8: New file.
55184
55185 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55186 END CHARMAP line.
55187 * iconvdata/gen-8bit-gap.sh: Likewise.
55188 * iconvdata/gen-8bit.sh: Likewise.
55189
55190 * locale/iso-639.def: Add ary entry.
55191
55192 [BZ #11258]
55193 * locale/C-translit.h.in: Add U20A1 transliteration.
55194
55195 [BZ #12178]
55196 * locale/iso-639.def: Add wae entry.
55197 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55198
55199 [BZ #12545]
55200 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55201 for n.
55202
55203 [BZ #12711]
55204 * locale/C-translit.h.in: Add entry for U20B9.
55205 Patch by pravin.d.s@gmail.com.
55206
55207 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55208
55209 [BZ #12713]
55210 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55211 ENAMETOOLONG use generic getcwd.
55212 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55213 in rtld. Use *stat64.
55214 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55215 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55216 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55217 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55218 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55219 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55220 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55221 __fstatat64 macros.
55222 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55223 * dirent/rewinddir.c: Add libc_hidden_def.
55224 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55225 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55226
55227 * include/dirent.h (__alloc_dir): Add flags parameter.
55228 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55229 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55230 __alloc_dir.
55231 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55232 from fdopendir if O_CLOEXEC is already set.
55233
55234 2011-03-15 Alan Modra <amodra@gmail.com>
55235
55236 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55237 l_tls_firstbyte_offset non-zero. Save padding offset in
55238 l_tls_firstbyte_offset for later use.
55239 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55240 freeing static tls block.
55241
55242 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55243
55244 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55245 where #ifdef was intended. The intent is to prevent ARG_MAX from
55246 being defined by the kernel headers.
55247
55248 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55249
55250 [BZ #12734]
55251 * resolv/resolv.h: Define RES_NOTLDQUERY.
55252 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55253 no-tld-query and set RES_NOTLDQUERY.
55254 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55255 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55256 modern BIND to search name as TLD unless forbidden.
55257
55258 2011-05-07 Petr Baudis <pasky@suse.cz>
55259 Ulrich Drepper <drepper@gmail.com>
55260
55261 [BZ #12393]
55262 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55263 (is_trusted_path): ...to here.
55264 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55265 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55266 using is_trusted_path_normalize() in setuid scripts.
55267
55268 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55269
55270 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55271 __BEGIN/__END_DECLS.
55272
55273 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55274
55275 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55276 NSS_STATUS_NOTFOUND if no record was found.
55277
55278 2011-05-05 Andreas Schwab <schwab@redhat.com>
55279
55280 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55281 (headers-not-in-tirpc): Remove rpc/netdb.h
55282 * resolv/netdb.h: Revert last change.
55283
55284 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55285
55286 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55287 circular dependency between libgcc.a and libc.a.
55288
55289 2011-05-05 Andreas Schwab <schwab@redhat.com>
55290
55291 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55292 * nis/Makefile: Don't install rpcsvc/*.
55293 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55294 instead of <rpc/types.h>.
55295 (MAXHOSTNAMELEN): Define.
55296
55297 2011-05-03 Andreas Schwab <schwab@redhat.com>
55298
55299 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55300
55301 2011-04-28 Maciej Babinski <mbabinski@google.com>
55302
55303 [BZ #12714]
55304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55305 gethostbyname4_r when IPv6 results are possible.
55306
55307 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55308
55309 [BZ #12723]
55310 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55311 _PC_PIPE_BUF handling.
55312
55313 2011-04-30 Bruno Haible <bruno@clisp.org>
55314
55315 [BZ #12717]
55316 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55317 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55318 to 'int'.
55319 * inet/getnameinfo.c (getnameinfo): Likewise.
55320
55321 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55322
55323 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55324 to groups setting in database lookup.
55325 * nss/nsswitch.conf: Add initgroups entry.
55326
55327 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55328
55329 [BZ #12685]
55330 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55331 mode string.
55332 Patch by Eric Blake <eblake@redhat.com>.
55333
55334 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55335
55336 * sunrpc/Makefile (need-export-routines): Add svc_run.
55337 (routines): Remove svc_run.
55338 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55339 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55340 * sunrpc/svc_run.c (svc_run): Likewise.
55341 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55342
55343 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55344
55345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55346 problem in reallocation in last patch.
55347
55348 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55349
55350 * sunrpc/Makefile: Move inclusion of Rules.
55351
55352 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55353
55354 * nss/nss_files/files-initgroups.c: New file.
55355 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55356 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55357 _nss_files_initgroups_dyn.
55358
55359 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55360
55361 * elf/elf.h (R_ARM_IRELATIVE): Define.
55362
55363 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55364
55365 * po/ru.po: Update from translation team.
55366
55367 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55368
55369 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55370 dependencies.
55371
55372 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55373
55374 [BZ #12653]
55375 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55376 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55377 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55378 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55380
55381 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55382
55383 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55384 differing bytes.
55385 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55386 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55387 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55388
55389 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55390
55391 [BZ #12420]
55392 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55393 storing it.
55394 * stdlib/bug-getcontext.c: New file.
55395 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55396
55397 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55398
55399 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55400 instructions into .machine "z9-109".
55401 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55402 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55403
55404 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55405
55406 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55407 between environment variables and auxiliary vector.
55408
55409 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55410
55411 * Makefile: Add rules to build linkobj/libc.so.
55412 * include/libc-symbols.h: Define libc_hidden_nolink.
55413 * include/rpc/auth.h: Mark functions which are to be hidden.
55414 * include/rpc/auth_des.h: Likewise.
55415 * include/rpc/auth_unix.h: Likewise.
55416 * include/rpc/clnt.h: Likewise.
55417 * include/rpc/des_crypt.h: Likewise.
55418 * include/rpc/key_prot.h: Likewise.
55419 * include/rpc/pmap_clnt.h: Likewise.
55420 * include/rpc/pmap_prot.h: Likewise.
55421 * include/rpc/pmap_rmt.h: Likewise.
55422 * include/rpc/rpc_msg.h: Likewise.
55423 * include/rpc/svc.h: Likewise.
55424 * include/rpc/svc_auth.h: Likewise.
55425 * include/rpc/xdr.h: Likewise.
55426 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55427 * nss/Makefile: Likewise.
55428 * sunrpc/Makefile: Don't install headers. Build library with normal
55429 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55430 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55431 for the compat linking library. Remove use of INTDEF/INTUSE.
55432 * sunrpc/auth_none.c: Likewise.
55433 * sunrpc/auth_unix.c: Likewise.
55434 * sunrpc/authdes_prot.c: Likewise.
55435 * sunrpc/authuxprot.c: Likewise.
55436 * sunrpc/clnt_gen.c: Likewise.
55437 * sunrpc/clnt_perr.c: Likewise.
55438 * sunrpc/clnt_raw.c: Likewise.
55439 * sunrpc/clnt_simp.c: Likewise.
55440 * sunrpc/clnt_tcp.c: Likewise.
55441 * sunrpc/clnt_udp.c: Likewise.
55442 * sunrpc/clnt_unix.c: Likewise.
55443 * sunrpc/des_crypt.c: Likewise.
55444 * sunrpc/des_soft.c: Likewise.
55445 * sunrpc/get_myaddr.c: Likewise.
55446 * sunrpc/key_call.c: Likewise.
55447 * sunrpc/key_prot.c: Likewise.
55448 * sunrpc/netname.c: Likewise.
55449 * sunrpc/pm_getmaps.c: Likewise.
55450 * sunrpc/pm_getport.c: Likewise.
55451 * sunrpc/pmap_clnt.c: Likewise.
55452 * sunrpc/pmap_prot.c: Likewise.
55453 * sunrpc/pmap_prot2.c: Likewise.
55454 * sunrpc/pmap_rmt.c: Likewise.
55455 * sunrpc/publickey.c: Likewise.
55456 * sunrpc/rpc_cmsg.c: Likewise.
55457 * sunrpc/rpc_common.c: Likewise.
55458 * sunrpc/rpc_dtable.c: Likewise.
55459 * sunrpc/rpc_prot.c: Likewise.
55460 * sunrpc/rpc_thread.c: Likewise.
55461 * sunrpc/rtime.c: Likewise.
55462 * sunrpc/svc.c: Likewise.
55463 * sunrpc/svc_auth.c: Likewise.
55464 * sunrpc/svc_authux.c: Likewise.
55465 * sunrpc/svc_raw.c: Likewise.
55466 * sunrpc/svc_run.c: Likewise.
55467 * sunrpc/svc_simple.c: Likewise.
55468 * sunrpc/svc_tcp.c: Likewise.
55469 * sunrpc/svc_udp.c: Likewise.
55470 * sunrpc/svc_unix.c: Likewise.
55471 * sunrpc/svcauth_des.c: Likewise.
55472 * sunrpc/xcrypt.c: Likewise.
55473 * sunrpc/xdr.c: Likewise.
55474 * sunrpc/xdr_array.c: Likewise.
55475 * sunrpc/xdr_float.c: Likewise.
55476 * sunrpc/xdr_intXX_t.c: Likewise.
55477 * sunrpc/xdr_mem.c: Likewise.
55478 * sunrpc/xdr_rec.c: Likewise.
55479 * sunrpc/xdr_ref.c: Likewise.
55480 * sunrpc/xdr_sizeof.c: Likewise.
55481 * sunrpc/xdr_stdio.c: Likewise.
55482
55483 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55484
55485 [BZ #12650]
55486 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55487 * sysdeps/ia64/dl-tls.h: Likewise.
55488 * sysdeps/powerpc/dl-tls.h: Likewise.
55489 * sysdeps/s390/dl-tls.h: Likewise.
55490 * sysdeps/sh/dl-tls.h: Likewise.
55491 * sysdeps/sparc/dl-tls.h: Likewise.
55492 * sysdeps/x86_64/dl-tls.h: Likewise.
55493 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55494
55495 2011-03-14 Andreas Schwab <schwab@redhat.com>
55496
55497 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55498 rpath element also skip the following colon.
55499 (expand_dynamic_string_token): Add is_path parameter and pass
55500 down to DL_DST_REQUIRED and _dl_dst_substitute.
55501 (decompose_rpath): Call expand_dynamic_string_token with
55502 non-zero is_path. Ignore empty rpaths.
55503 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55504 with zero is_path.
55505
55506 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55507
55508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55509 Make cancelable.
55510
55511 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55512
55513 [BZ #12655]
55514 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55515 Patch by Filipe David Manana <fdmanana@apache.org>.
55516
55517 2011-04-07 Andreas Schwab <schwab@redhat.com>
55518
55519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55520 Maintain aligned stack.
55521 (CHECK_RSP): Remove unused macro.
55522
55523 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55524
55525 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55526 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55527
55528 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55529
55530 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55531
55532 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55533
55534 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55535
55536 [BZ #12518]
55537 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55538 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55539 * sysdeps/x86_64/memmove.c: New file.
55540 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55541 (memcpy): Renamed to ...
55542 (__new_memcpy): This.
55543 (memcpy): Provide GLIBC_2_14 memcpy.
55544 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55545 (memcpy): Provide GLIBC_2_2_5 memcpy.
55546
55547 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55548
55549 [BZ #12631]
55550 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55551
55552 2011-03-30 Andreas Schwab <schwab@redhat.com>
55553
55554 * misc/syncfs.c: New file.
55555 * misc/Makefile (routines): Add syncfs.
55556 * posix/unistd.h: Declare syncfs.
55557 * sysdeps/unix/syscalls.list: Add syncfs.
55558
55559 2011-04-01 Andreas Schwab <schwab@redhat.com>
55560
55561 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55562 open_by_handle_at.
55563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55564 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55568 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55570
55571 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55572
55573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55574 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55575 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55580
55581 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55582 sync_file_range.c with -fexceptions.
55583 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55584 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55585 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55586 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55587 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55588 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55590 sync_file_range as cancellation point
55591 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55592 now a wrapper around __call_sync_file_range with cancellation handling.
55593 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55594 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55595 function name to __call_sync_file_range.
55596 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55597 Add call_sync_file_range.
55598
55599 2011-04-01 Andreas Schwab <schwab@redhat.com>
55600
55601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55602 bits/timex.h.
55603
55604 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55605
55606 * iconv/iconv.h: Fix typo in comment.
55607 * io/fcntl.h: Likewise.
55608 * libio/stdio.h: Likewise.
55609 * posix/spawn.h: Likewise.
55610 * posix/unistd.h: Likewise.
55611 * stdlib/stdlib.h: Likewise.
55612 * time/time.h: Likewise.
55613 * wcsmbs/wchar.h: Likewise.
55614
55615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55616 open_by_handle): Add.
55617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55618 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55619 Augment a few comments.
55620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55625 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55626 open_by_handle.
55627
55628 * io/fcntl.h (AT_EMPTY_PATH): Define.
55629
55630 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55631
55632 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55633 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55634 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55635 to...
55636 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55637 * Versions.def: Add GLIBC_2.14.
55638 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55639 Export.
55640
55641 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55642
55643 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55644 round counter.
55645 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55646
55647 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55648
55649 [BZ #12597]
55650 * string/test-strncmp.c (do_page_test): New function.
55651 (check2): Likewise.
55652 (test_main): Call check2.
55653 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55654
55655 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55656
55657 [BZ #12587]
55658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55659 Handle cache information in CPU leaf 4.
55660 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55661
55662 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55663
55664 [BZ #12583]
55665 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55666 character representation.
55667 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55668
55669 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55670
55671 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55672 END(__isnan) to END(__isnanf) to match function entry point/label
55673 EALIGN(__isnanf,...).
55674
55675 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55676
55677 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55678
55679 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55680
55681 [BZ #12510]
55682 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55683 copy from the symbol referenced in the relocation to initialize the
55684 used variable.
55685 Patch by Piotr Bury <pbury@goahead.com>.
55686 * elf/Makefile: Add rules to build and tst-unique3.
55687 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55688 * elf/tst-unique3.cc: New file.
55689 * elf/tst-unique3.h: New file.
55690 * elf/tst-unique3lib.cc: New file.
55691 * elf/tst-unique3lib2.cc: New file.
55692
55693 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55694
55695 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55696
55697 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55698 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55699 to _start.
55700
55701 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55702
55703 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55704 to-be-loaded object along a path to loader is ld.so.
55705
55706 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55707 Ulrich Drepper <drepper@gmail.com>
55708
55709 * sysdeps/x86_64/memset.S: After aligning destination, code
55710 branches to different locations depending on the value of
55711 misalignment, when multiarch is enabled. Fix this.
55712
55713 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55714
55715 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55716 Set _x86_64_preferred_memory_instruction for AMD processsors.
55717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55718 Set bit_Prefer_SSE_for_memop for AMD processors.
55719
55720 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55721
55722 * libio/fmemopen.c (fmemopen): Optimize a bit.
55723
55724 2011-03-03 Andreas Schwab <schwab@redhat.com>
55725
55726 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55727
55728 2011-03-03 Roland McGrath <roland@redhat.com>
55729
55730 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55731
55732 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55733
55734 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55735 __bzero_ultra1 instead of __memset_ultra1.
55736
55737 2011-02-23 Andreas Schwab <schwab@redhat.com>
55738 Ulrich Drepper <drepper@gmail.com>
55739
55740 [BZ #12509]
55741 * include/link.h (struct link_map): Add l_orig_initfini.
55742 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55743 returning unsuccessfully.
55744 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55745 close of a file loaded at startup, restore the original l_initfini
55746 list.
55747 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55748 list, store the pointer.
55749 * elf/Makefile ($(objpfx)noload-mem): New rule.
55750 (noload-ENV): Define.
55751 (tests): Add $(objpfx)noload-mem.
55752 * elf/noload.c: Include <memcheck.h>.
55753 (main): Call mtrace. Close all opened handles.
55754
55755 2011-02-17 Andreas Schwab <schwab@redhat.com>
55756
55757 [BZ #12454]
55758 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55759 dependencies are missing.
55760
55761 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55762
55763 Fix __if_freereq crash: Unlike the generic version which uses free,
55764 Hurd needs munmap.
55765 * sysdeps/mach/hurd/ifreq.h: New file.
55766
55767 2011-01-27 Petr Baudis <pasky@suse.cz>
55768 Ulrich Drepper <drepper@gmail.com>
55769
55770 [BZ 12445]#
55771 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55772 to extend_alloca().
55773 * stdio-common/bug23.c: New file.
55774 * stdio-common/Makefile (tests): Add bug23.
55775
55776 2010-09-28 Andreas Schwab <schwab@redhat.com>
55777 Ulrich Drepper <drepper@gmail.com>
55778
55779 [BZ #12489]
55780 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55781 before performing relro protection. At old place add assertion
55782 to make sure nothing changed.
55783
55784 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55785 Glauber de Oliveira Costa <glommer@gmail.com>
55786
55787 * elf/elf.h: Add new ARM TLS relocs.
55788
55789 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55790
55791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55792 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55793 cast from r3.
55794 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55795 'tests' variable.
55796 * sysdeps/wordsize-64/tst-writev.c: New file.
55797
55798 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55799
55800 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55801 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55802 insns in _dl_start to prevent a TOC reference before relocs are
55803 resolved.
55804
55805 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55806
55807 [BZ #12469]
55808 * Makeconfig: Remove RANLIB definition.
55809 * Makerules: Don't use RANLIB.
55810 * aclocal.m4: Remove ranlib test.
55811 * configure.in: No need to check for ranlib.
55812 * elf/rtld-Rules: Don't use RANLIB.
55813
55814 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55815
55816 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55817 protection macro.
55818 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55819 inclusion protection macro.
55820
55821 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55822 SIGRTMIN and SIGRTMAX and print information in that case only when
55823 SIGRTMIN is defined.
55824
55825 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55826
55827 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55828 arginfo fn returning -1.
55829
55830 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55831 and thousands string is zero terminated.
55832
55833 2011-02-03 Andreas Schwab <schwab@redhat.com>
55834
55835 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55836 sysdeps/unix/sysv/linux/bits/socket.h.
55837
55838 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55839
55840 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55841 (__CPU_COUNT): Remove old macros.
55842 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55843 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55844 (__CPU_ALLOC, __CPU_FREE): Add macros.
55845 (__sched_cpualloc, __sched_cpufree): Add declarations.
55846
55847 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55848
55849 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55850 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55851 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55852 (readdhstai): Return value of addhstaiX call.
55853 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55854 (addgrbyX): Return value returned by cache_addgr.
55855 (readdgrbyname): Return value returned by addgrbyX.
55856 (readdgrbygid): Likewise.
55857 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55858 (addpwbyX): Return value returned by cache_addpw.
55859 (readdpwbyname): Return value returned by addhstbyX.
55860 (readdpwbyuid): Likewise.
55861 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55862 (addservbyX): Return value returned by cache_addserv.
55863 (readdservbyname): Return value returned by addservbyX:
55864 (readdservbyport): Likewise.
55865 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55866 (addhstbyX): Return value returned by cache_addhst.
55867 (readdhstbyname): Return value returned by addhstbyX.
55868 (readdhstbyaddr): Likewise.
55869 (readdhstbynamev6): Likewise.
55870 (readdhstbyaddrv6): Likewise.
55871 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55872 (readdinitgroups): Return value returned by addinitgroupsX.
55873 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55874 (prune_cache): Keep track of timeout value of re-added entries.
55875 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55876 * nscd/nscd.h: Adjust prototypes of readd* functions.
55877
55878 2011-02-04 Roland McGrath <roland@redhat.com>
55879
55880 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55881 (nis_stats): Likewise.
55882 * nis/nis_modify.c (nis_modify): Likewise.
55883 * nis/nis_remove.c (nis_remove): Likewise.
55884 * nis/nis_add.c (nis_add): Likewise.
55885
55886 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55887
55888 * posix/fnmatch_loop.c: Add some consts.
55889
55890 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55891
55892 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55893
55894 [BZ #12460]
55895 * config.make.in (config-cflags-novzeroupper): Define.
55896 * configure.in: Substitute libc_cv_cc_novzeroupper.
55897 * elf/Makefile (AVX-CFLAGS): Define.
55898 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55899 (CFLAGS-tst-auditmod4a.c): Likewise.
55900 (CFLAGS-tst-auditmod4b.c): Likewise.
55901 (CFLAGS-tst-auditmod6b.c): Likewise.
55902 (CFLAGS-tst-auditmod6c.c): Likewise.
55903 (CFLAGS-tst-auditmod7b.c): Likewise.
55904 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55905
55906 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55907
55908 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55909 function to the callback.
55910 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55911
55912 2011-02-02 Andreas Schwab <schwab@redhat.com>
55913
55914 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55915 of errno.
55916
55917 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55918
55919 [BZ #11724]
55920 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55921 of constructors.
55922 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55923 of destructors.
55924 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55925
55926 [BZ #11724]
55927 * elf/Makefile: Add rules to build and run new test.
55928 * elf/tst-initorder.c: New file.
55929 * elf/tst-initorder.exp: New file.
55930 * elf/tst-initordera1.c: New file.
55931 * elf/tst-initordera2.c: New file.
55932 * elf/tst-initordera3.c: New file.
55933 * elf/tst-initordera4.c: New file.
55934 * elf/tst-initorderb1.c: New file.
55935 * elf/tst-initorderb2.c: New file.
55936 * elf/tst-order-a1.c: New file.
55937 * elf/tst-order-a2.c: New file.
55938 * elf/tst-order-a3.c: New file.
55939 * elf/tst-order-a4.c: New file.
55940 * elf/tst-order-b1.c: New file.
55941 * elf/tst-order-b2.c: New file.
55942 * elf/tst-order-main.c: New file.
55943 New test case by George Gensure <werkt0@gmail.com>.
55944
55945 2010-10-01 Andreas Schwab <schwab@redhat.com>
55946
55947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55948 decoding ACE if AI_CANONIDN.
55949
55950 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55951
55952 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55953
55954 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55955
55956 * version.h (RELEASE): Bump for 2.13 release.
55957 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55958
55959 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55960
55961 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55962 MADV_NOHUGEPAGE.
55963 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55965 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55966 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55967 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55969
55970 * posix/getconf.c: Update copyright year.
55971 * catgets/gencat.c: Likewise.
55972 * csu/version.c: Likewise.
55973 * debug/catchsegv.sh: Likewise.
55974 * debug/xtrace.sh: Likewise.
55975 * elf/ldconfig.c: Likewise.
55976 * elf/ldd.bash.in: Likewise.
55977 * elf/sprof.c (print_version): Likewise.
55978 * iconv/iconv_prog.c: Likewise.
55979 * iconv/iconvconfig.c: Likewise.
55980 * locale/programs/locale.c: Likewise.
55981 * locale/programs/localedef.c: Likewise.
55982 * malloc/memusage.sh: Likewise.
55983 * malloc/mtrace.pl: Likewise.
55984 * nscd/nscd.c (print_version): Likewise.
55985 * nss/getent.c: Likewise.
55986
55987 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55988 PF_CAIF, and PF_ALG.
55989 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55990
55991 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55992
55993 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55994 (modules-names): Use them.
55995 (ifunc-test-modules, ifunc-pie-tests): Define.
55996 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55997 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55998 (test-extras): Likewise.
55999 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56000 $(compile-command.c).
56001 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56002 (all-built-dso): Define.
56003 (check-textrel.out, check-execstack.out): Depend on it.
56004
56005 * configure.in: Don't override --enable-multi-arch.
56006
56007 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56008
56009 [BZ #6812]
56010 * nscd/hstcache.c (tryagain): Define.
56011 (cache_addhst): Return tryagain not notfound for temporary errors.
56012 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56013 failed.
56014
56015 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56016
56017 [BZ #10563]
56018 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56019 to make the syscall.
56020 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56021
56022 [BZ #12378]
56023 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56024 and fall back to matching as normal character if the string ends before
56025 the matching ']' is found. This is what POSIX requires.
56026 * posix/testfnm.c: Adjust test result.
56027 * posix/globtest.sh: Adjust test result. Add new test.
56028 * posix/tst-fnmatch.input: Likewise.
56029 * posix/tst-fnmatch2.c: Add new test.
56030
56031 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56032
56033 * elf/Makefile (check-execstack): Revert last change. Depend on
56034 check-execstack.h.
56035 (check-execstack.h): New target.
56036 (generated): Add check-execstack.h.
56037 * elf/check-execstack.c: Include "check-execstack.h".
56038 (main): Revert last change.
56039 (handle_file): Return zero if GNU_STACK is absent and
56040 DEFAULT_STACK_PERMS doesn't include PF_X.
56041
56042 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56043
56044 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56045 in child fails because the descriptor is already closed.
56046 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56047 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56048 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56049
56050 [BZ #12397]
56051 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56052 syscall.
56053
56054 [BZ #10484]
56055 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56056 temporary buffer used to handle multi lookups locally.
56057 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56058
56059 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56060
56061 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56062 loader is ld.so.
56063
56064 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56065
56066 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56067 alignment for SSE2.
56068
56069 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56070
56071 [BZ #12394]
56072 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56073 characters. When rounding increased number of integer digits recompute
56074 number of groups.
56075 * stdio-common/tst-grouping.c: New file.
56076 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56077
56078 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56079
56080 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56081 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56082
56083 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56084 void.
56085 * bits/select.h: Likewise.
56086
56087 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56088
56089 * po/ja.po: Update from translation team.
56090
56091 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56092
56093 [BZ #11155]
56094 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56095 implementation just like for lxstat, fxstatat, et al.
56096
56097 2010-12-27 Jim Meyering <meyering@redhat.com>
56098
56099 [BZ #12348]
56100 * posix/regexec.c (build_trtable): Return failure indication upon
56101 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56102
56103 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56104
56105 [BZ #12201]
56106 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56107 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56108 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56109 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56110
56111 [BZ #12207]
56112 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56113
56114 [BZ #12204]
56115 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56116 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56117
56118 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56119
56120 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56121 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56122 script has SORT_BY_INIT_PRIORITY.
56123 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56124 NO_CTORS_DTORS_SECTIONS is defined.
56125 * elf/soinit.c: Likewise.
56126 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56127 NO_CTORS_DTORS_SECTIONS is defined.
56128 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56129 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56130 * sysdeps/sh/init-first.c: Likewise.
56131 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56132
56133 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56134
56135 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56136 always use the slow path.
56137
56138 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56139
56140 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56141 similar rule which adds the sysdep directories to the header search in
56142 order to pick up the correct platform stackinfo.h.
56143 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56144 perform test if it is, otherwise return successfully without testing.
56145 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56146 DEFAULT_STACK_PERMS define in stackinfo.h.
56147 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56148 defined in stackinfo.h.
56149 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56150 DEFAULT_STACK_PERMS defined in stackinfo.h.
56151 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56152 * sysdeps/ia64/stackinfo.h: Likewise.
56153 * sysdeps/s390/stackinfo.h: Likewise.
56154 * sysdeps/sh/stackinfo.h: Likewise.
56155 * sysdeps/sparc/stackinfo.h: Likewise.
56156 * sysdeps/x86_64/stackinfo.h: Likewise.
56157 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56158 PF_X for powerpc64. Retain PF_X for powerpc32.
56159
56160 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56161
56162 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56163 accurately.
56164 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56165 GETDENTS_64BIT_ALIGNED.
56166
56167 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56168
56169 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56170
56171 2010-12-10 Andreas Schwab <schwab@redhat.com>
56172
56173 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56174 _GNU_SOURCE.
56175
56176 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56177 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56178 Remove __restrict.
56179 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56180 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56181
56182 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56183
56184 [BZ #11655]
56185 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56186 are initialized.
56187
56188 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56189
56190 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56191
56192 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56193
56194 * po/it.po: Update from translation team.
56195
56196 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56197
56198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56199 unused codes.
56200
56201 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56202
56203 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56204
56205 2010-11-24 Andreas Schwab <schwab@redhat.com>
56206
56207 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56208 specially.
56209 (gaih_getanswer_slice): Likewise.
56210
56211 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56212
56213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56214
56215 2010-05-31 Petr Baudis <pasky@suse.cz>
56216
56217 [BZ #11149]
56218 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56219 silently even in the chroot mode.
56220
56221 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56222
56223 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56224 last patch a bit. Pretty printing
56225
56226 2010-05-31 Petr Baudis <pasky@suse.cz>
56227
56228 [BZ #10085]
56229 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56230 initialization of skip_initgroups_dyn.
56231
56232 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56233
56234 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56236
56237 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56238
56239 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56240
56241 2010-11-11 Andreas Schwab <schwab@redhat.com>
56242
56243 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56244 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56245 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56246 ($(objpfx)tst-fnmatch-mem): New rule.
56247 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56248 * posix/tst-fnmatch.c (main): Call mtrace.
56249
56250 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56251
56252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56253 Support Intel processor model 6 and model 0x2c.
56254
56255 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56256
56257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56258 signed comparison.
56259
56260 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56261
56262 [BZ #12205]
56263 * string/test-strncasecmp.c (check_result): New function.
56264 (do_one_test): Use it.
56265 (check1): New function.
56266 (test_main): Use it.
56267 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56268 Support strcasecmp and strncasecmp.
56269
56270 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56271
56272 [BZ #12194]
56273 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56275
56276 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56277
56278 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56279 IFUNC support.
56280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56281 memset-x86-64.
56282 * sysdeps/x86_64/multiarch/bzero.S: New file.
56283 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56284 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56285 * sysdeps/x86_64/multiarch/memset.S: New file.
56286 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56288 Set bit_Prefer_SSE_for_memop for Intel processors.
56289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56290 Define.
56291 (index_Prefer_SSE_for_memop): Define.
56292 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56293
56294 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56295
56296 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56297 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56298
56299 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56300
56301 [BZ #12191]
56302 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56303 (__x86_64_raw_data_cache_size_half): Likewise.
56304 (__x86_64_raw_shared_cache_size): Likewise.
56305 (__x86_64_raw_shared_cache_size_half): Likewise.
56306
56307 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56308 (__x86_64_raw_data_cache_size_half): Likewise.
56309 (__x86_64_raw_shared_cache_size): Likewise.
56310 (__x86_64_raw_shared_cache_size_half): Likewise.
56311 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56312 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56313 and __x86_64_raw_shared_cache_size_half. Round
56314 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56315 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56316 to multiple of 256 bytes.
56317
56318 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56319
56320 [BZ #12167]
56321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56322 of inacessible symlinks. Verify result of symlink before returning it.
56323 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56324 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56325
56326 2010-10-28 Erich Ritz <erichritz@gmail.com>
56327
56328 * math/math.h (isinf): Fix typo in comment.
56329
56330 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56331
56332 * po/da.po: Update from translation team.
56333
56334 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56335
56336 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56337 is added to the list.
56338
56339 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56340 Ulrich Drepper <drepper@gmail.com>
56341
56342 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56343 the global list here. Move code to...
56344 (_dl_add_to_namespace_list): ...here. New function.
56345 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56346 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56347 * elf/dl-load.c (lose): Don't remove the element from the list.
56348 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56349 (_dl_map_object): Likewise.
56350
56351 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56352
56353 [BZ #12159]
56354 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56355 into all bytes of SSE register.
56356 Patch by Richard Li <richardpku@gmail.com>.
56357
56358 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56359
56360 [BZ #12140]
56361 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56362 perturbing.
56363
56364 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56365
56366 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56367 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56368 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56369 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56371 submachine.
56372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56373
56374 2010-10-22 Andreas Schwab <schwab@redhat.com>
56375
56376 * include/dlfcn.h (__RTLD_SECURE): Define.
56377 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56378 mode & __RTLD_SECURE instead.
56379 (open_path): Rename preloaded parameter to secure.
56380 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56381 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56382 * elf/dl-deps.c (openaux): Likewise.
56383 * elf/rtld.c (struct map_args): Remove is_preloaded.
56384 (map_doit): Don't use it.
56385 (dl_main): Likewise.
56386 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56387 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56388
56389 2010-09-09 Andreas Schwab <schwab@redhat.com>
56390
56391 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56392 (sysd-rules-targets): Remove duplicates.
56393 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56394 rtld-%.$o dependency.
56395
56396 2010-10-18 Andreas Schwab <schwab@redhat.com>
56397
56398 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56399 _dl_map_object do it.
56400
56401 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56402
56403 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56404 fast fma builtins, define the macros in the C99 standard.
56405 (FP_FAST_FMAF): Likewise.
56406 (FP_FAST_FMAL): Likewise.
56407 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56408
56409 * bits/mathdef.h: Update copyright year.
56410 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56411
56412 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56413
56414 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56415 builtins, define the macros in the C99 standard.
56416 (FP_FAST_FMAF): Likewise.
56417 (FP_FAST_FMAL): Likewise.
56418 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56419 multiply/add.
56420 (FP_FAST_FMAF): Likewise.
56421
56422 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56423
56424 [BZ #3268]
56425 * math/libm-test.inc (fma_test): Some new testcases.
56426 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56428 y and infinite z. Do multiplication by C already in long double.
56429 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56431 y and infinite z. Do bitwise or of inexact bit into u.d.
56432 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56433 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56434 * sysdeps/i386/fpu/s_fma.S: Removed.
56435 * sysdeps/i386/fpu/s_fmal.S: Removed.
56436
56437 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56438
56439 [BZ #3268]
56440 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56442 computation is not scheduled after fetestexcept. Fix value
56443 of minimum denormal long double.
56444
56445 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56446
56447 [BZ #3268]
56448 * math/libm-test.inc (fma_test): Add some more tests.
56449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56450 correctly.
56451
56452 2010-10-15 Andreas Schwab <schwab@redhat.com>
56453
56454 * scripts/data/localplt-s390-linux-gnu.data: New file.
56455 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56456
56457 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56458
56459 [BZ #3268]
56460 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56461 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56462 instead of dbl-64.
56463 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56464 inlines.
56465 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56467 if one of x and y is very large and the other is subnormal.
56468 * sysdeps/s390/fpu/s_fmaf.c: New file.
56469 * sysdeps/s390/fpu/s_fma.c: New file.
56470 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56471 * sysdeps/powerpc/fpu/s_fma.S: New file.
56472 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56473 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56474 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56475
56476 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56477
56478 [BZ #3268]
56479 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56480 fma tests.
56481 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56482 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56483 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56484 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56485 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56486 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56487 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56488
56489 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56490
56491 [BZ #12078]
56492 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56493 * posix/bug-regex31.input: Add test case.
56494
56495 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56496
56497 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56498 * posix/bug-regex31.input: New file.
56499
56500 [BZ #12078]
56501 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56502 (parse_sub_exp): Fix last change, use postorder.
56503
56504 * posix/bug-regex31.c: New file.
56505 * posix/Makefile: Add rules to build and run bug-regex31.
56506
56507 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56508
56509 [BZ #12078]
56510 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56511
56512 [BZ #12108]
56513 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56514 to have entries in sys_siglist.
56515
56516 [BZ #12093]
56517 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56518 be NULL.
56519
56520 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56521
56522 [BZ #3268]
56523 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56524 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56525 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56526 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56527 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56528 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56529 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56530 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56531 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56532 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56533 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56534 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56535 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56536 * math/ftestexcept.c (fetestexcept): Likewise.
56537 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56538 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56539 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56540 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56541 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56542 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56543 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56544
56545 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56546
56547 [BZ #12107]
56548 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56549 newline.
56550
56551 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56552
56553 * string/bug-strstr1.c: New file.
56554 * string/Makefile: Add rules to build and run bug-strstr1.
56555
56556 2010-10-05 Eric Blake <eblake@redhat.com>
56557
56558 [BZ #12092]
56559 * string/str-two-way.h (two_way_long_needle): Always clear memory
56560 when skipping input due to the shift table.
56561
56562 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56563
56564 [BZ #12005]
56565 * malloc/mcheck.c: Handle large requests.
56566
56567 [BZ #12077]
56568 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56569 for strncmp and strncasecmp.
56570 * string/stratcliff.c: Add tests for strcmp and strncmp.
56571 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56572
56573 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56574
56575 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56576 __set_fpscr.
56577
56578 2010-09-30 Andreas Jaeger <aj@suse.de>
56579
56580 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56581 (CGROUP_SUPER_MAGIC): Define.
56582 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56583 Handle btrfs and cgroup file systems.
56584 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56585 Likewise.
56586
56587 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56588
56589 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56590 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56591
56592 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56593
56594 [BZ #12067]
56595 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56596 trying to locate the ELF header.
56597
56598 2010-09-27 Andreas Schwab <schwab@redhat.com>
56599
56600 [BZ #11611]
56601 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56602 Mask out sign-bit copies when constructing f_fsid.
56603
56604 2010-09-24 Petr Baudis <pasky@suse.cz>
56605
56606 * debug/stack_chk_fail_local.c: Add missing licence exception.
56607 * debug/warning-nop.c: Likewise.
56608
56609 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56610
56611 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56612 implementing getdents64 using getdents syscall, set d_type if
56613 __ASSUME_GETDENTS32_D_TYPE.
56614
56615 2010-09-16 Andreas Schwab <schwab@redhat.com>
56616
56617 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56618 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56619
56620 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56621
56622 [BZ #12037]
56623 * posix/unistd.h: Undo change of feature selection for ftruncate from
56624 2010-01-11.
56625
56626 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56627
56628 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56629 detection.
56630
56631 2010-09-20 Andreas Schwab <schwab@redhat.com>
56632
56633 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56634 fanotify_mark.
56635 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56636
56637 2010-09-14 Andreas Schwab <schwab@redhat.com>
56638
56639 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56640 variables after CHECK_SP call.
56641 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56642
56643 2010-09-13 Andreas Schwab <schwab@redhat.com>
56644 Ulrich Drepper <drepper@redhat.com>
56645
56646 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56647 re-relocationg ld.so.
56648 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56649 _dl_init_paths call.
56650 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56651 here anymore.
56652
56653 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56654
56655 * resolv/res_init.c (__res_vinit): Count the default server we added.
56656
56657 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56658 Ulrich Drepper <drepper@redhat.com>
56659
56660 [BZ #11968]
56661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56662 (____longjmp_chk): Use %ebx for saving value across system call.
56663 Add unwind info.
56664
56665 2010-09-06 Andreas Schwab <schwab@redhat.com>
56666
56667 * manual/Makefile: Don't mix pattern rules with normal rules.
56668
56669 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56670
56671 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56672 operation.
56673 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56674 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56675 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56676 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56678 Likewise.
56679
56680 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56681
56682 [BZ #11979]
56683 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56684 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56685
56686 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56687
56688 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56689 * sysdeps/x86_64/addmul_1.S: Likewise.
56690 * sysdeps/x86_64/lshift.S: Likewise.
56691 * sysdeps/x86_64/mul_1.S: Likewise.
56692 * sysdeps/x86_64/rshift.S: Likewise.
56693 * sysdeps/x86_64/sub_n.S: Likewise.
56694 * sysdeps/x86_64/submul_1.S: Likewise.
56695
56696 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56697
56698 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56699 Define __sched_param instead of SCHED_* and sched_param when
56700 <bits/sched.h> is included with __need_schedparam defined.
56701 * bits/sched.h [__need_schedparam]
56702 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56703 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56704 (__defined_schedparam): Define to 1.
56705 (__sched_param): New structure, identical to sched_param.
56706 (__need_schedparam): Undefine.
56707
56708 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56709
56710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56711 (epoll_create1): Declare.
56712
56713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56714
56715 2010-08-31 Andreas Schwab <schwab@redhat.com>
56716
56717 [BZ #7066]
56718 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56719 shifting retval into place.
56720
56721 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56722
56723 * nis/rpcsvc/nis.h: Update copyright notice.
56724 * nis/rpcsvc/nis.x: Likewise.
56725 * nis/rpcsvc/nis_callback.h: Likewise.
56726 * nis/rpcsvc/nis_callback.x: Likewise.
56727 * nis/rpcsvc/nis_object.x: Likewise.
56728 * nis/rpcsvc/nis_tags.h: Likewise.
56729 * nis/rpcsvc/yp.h: Likewise.
56730 * nis/rpcsvc/yp.x: Likewise.
56731 * nis/rpcsvc/ypupd.h: Likewise.
56732 * nis/yp_xdr.c: Likewise.
56733 * nis/ypupdate_xdr.c: Likewise.
56734
56735 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56736 mainly the body of pmap_getport. Add parameters to specify timeouts.
56737 (pmap_getport): Use __libc_rpc_getport.
56738 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56739 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56740 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56741
56742 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56743
56744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56745 fanotify_mark.
56746
56747 2010-08-27 Roland McGrath <roland@redhat.com>
56748
56749 * sysdeps/i386/i686/multiarch/Makefile
56750 (CFLAGS-varshift.c): New variable.
56751
56752 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56753
56754 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56755 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56756
56757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56758
56759 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56760
56761 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56762
56763 * sysdeps/x86_64/strlen.S: Unroll the loop.
56764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56765 strlen-sse2 strlen-sse2-bsf.
56766 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56767 __strlen_no_bsf if bit_Slow_BSF is set.
56768 (__strlen_sse42): Removed.
56769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56770 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56771
56772 2010-08-25 Roland McGrath <roland@redhat.com>
56773
56774 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56775 * sysdeps/x86_64/multiarch/varshift.c: New file.
56776 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56777 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56778 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56779 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56780
56781 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56782
56783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56784 strlen-sse2 strlen-sse2-bsf.
56785 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56786 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56787 (__strlen_sse2): Removed.
56788 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56791 bit_Slow_BSF for Atom.
56792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56793 (index_Slow_BSF): Define.
56794 (HAS_SLOW_BSF): Define.
56795
56796 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56797
56798 [BZ #10851]
56799 * resolv/res_init.c (__res_vinit): When no server address at all
56800 is given default to loopback.
56801
56802 2010-08-24 Roland McGrath <roland@redhat.com>
56803
56804 * configure.in: Remove config-name.h generation.
56805 * configure: Regenerated.
56806 * config-name.in: File removed.
56807 * scripts/config-uname.sh: New file.
56808 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56809 ($(objdir)config-name.h): New target.
56810
56811 * sunrpc/rpc_parse.h: Avoid nested comment.
56812
56813 2010-08-24 Richard Henderson <rth@redhat.com>
56814 Ulrich Drepper <drepper@redhat.com>
56815 H.J. Lu <hongjiu.lu@intel.com>
56816
56817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56819 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56820 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56821 _mm_alignr_epi8 with _mm_loadu_si128.
56822 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56823 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56824 (__m128i_shift_right): Removed.
56825 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56826 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56827 * sysdeps/x86_64/multiarch/varshift.h: New file.
56828 * sysdeps/x86_64/multiarch/varshift.S: New file.
56829
56830 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56831
56832 * configure.in: Move assembler checks to before sysdep dir checking.
56833
56834 2010-08-20 Petr Baudis <pasky@suse.cz>
56835
56836 * LICENSES: Sync the sunrpc license.
56837
56838 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56839
56840 * sunrpc/auth_des.c: Update copyright notice once again.
56841 * sunrpc/auth_none.c: Likewise.
56842 * sunrpc/auth_unix.c: Likewise.
56843 * sunrpc/authdes_prot.c: Likewise.
56844 * sunrpc/authuxprot.c: Likewise.
56845 * sunrpc/bindrsvprt.c: Likewise.
56846 * sunrpc/clnt_gen.c: Likewise.
56847 * sunrpc/clnt_perr.c: Likewise.
56848 * sunrpc/clnt_raw.c: Likewise.
56849 * sunrpc/clnt_simp.c: Likewise.
56850 * sunrpc/clnt_tcp.c: Likewise.
56851 * sunrpc/clnt_udp.c: Likewise.
56852 * sunrpc/clnt_unix.c: Likewise.
56853 * sunrpc/des_crypt.c: Likewise.
56854 * sunrpc/des_soft.c: Likewise.
56855 * sunrpc/get_myaddr.c: Likewise.
56856 * sunrpc/getrpcport.c: Likewise.
56857 * sunrpc/key_call.c: Likewise.
56858 * sunrpc/key_prot.c: Likewise.
56859 * sunrpc/openchild.c: Likewise.
56860 * sunrpc/pm_getmaps.c: Likewise.
56861 * sunrpc/pm_getport.c: Likewise.
56862 * sunrpc/pmap_clnt.c: Likewise.
56863 * sunrpc/pmap_prot.c: Likewise.
56864 * sunrpc/pmap_prot2.c: Likewise.
56865 * sunrpc/pmap_rmt.c: Likewise.
56866 * sunrpc/rpc/auth.h: Likewise.
56867 * sunrpc/rpc/auth_unix.h: Likewise.
56868 * sunrpc/rpc/clnt.h: Likewise.
56869 * sunrpc/rpc/des_crypt.h: Likewise.
56870 * sunrpc/rpc/key_prot.h: Likewise.
56871 * sunrpc/rpc/netdb.h: Likewise.
56872 * sunrpc/rpc/pmap_clnt.h: Likewise.
56873 * sunrpc/rpc/pmap_prot.h: Likewise.
56874 * sunrpc/rpc/pmap_rmt.h: Likewise.
56875 * sunrpc/rpc/rpc.h: Likewise.
56876 * sunrpc/rpc/rpc_des.h: Likewise.
56877 * sunrpc/rpc/rpc_msg.h: Likewise.
56878 * sunrpc/rpc/svc.h: Likewise.
56879 * sunrpc/rpc/svc_auth.h: Likewise.
56880 * sunrpc/rpc/types.h: Likewise.
56881 * sunrpc/rpc/xdr.h: Likewise.
56882 * sunrpc/rpc_clntout.c: Likewise.
56883 * sunrpc/rpc_cmsg.c: Likewise.
56884 * sunrpc/rpc_common.c: Likewise.
56885 * sunrpc/rpc_cout.c: Likewise.
56886 * sunrpc/rpc_dtable.c: Likewise.
56887 * sunrpc/rpc_hout.c: Likewise.
56888 * sunrpc/rpc_main.c: Likewise.
56889 * sunrpc/rpc_parse.c: Likewise.
56890 * sunrpc/rpc_parse.h: Likewise.
56891 * sunrpc/rpc_prot.c: Likewise.
56892 * sunrpc/rpc_sample.c: Likewise.
56893 * sunrpc/rpc_scan.c: Likewise.
56894 * sunrpc/rpc_scan.h: Likewise.
56895 * sunrpc/rpc_svcout.c: Likewise.
56896 * sunrpc/rpc_tblout.c: Likewise.
56897 * sunrpc/rpc_util.c: Likewise.
56898 * sunrpc/rpc_util.h: Likewise.
56899 * sunrpc/rpcinfo.c: Likewise.
56900 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56901 * sunrpc/rpcsvc/key_prot.x: Likewise.
56902 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56903 * sunrpc/rpcsvc/mount.x: Likewise.
56904 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56905 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56906 * sunrpc/rpcsvc/rex.x: Likewise.
56907 * sunrpc/rpcsvc/rstat.x: Likewise.
56908 * sunrpc/rpcsvc/rusers.x: Likewise.
56909 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56910 * sunrpc/rpcsvc/spray.x: Likewise.
56911 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56912 * sunrpc/rtime.c: Likewise.
56913 * sunrpc/svc.c: Likewise.
56914 * sunrpc/svc_auth.c: Likewise.
56915 * sunrpc/svc_authux.c: Likewise.
56916 * sunrpc/svc_raw.c: Likewise.
56917 * sunrpc/svc_run.c: Likewise.
56918 * sunrpc/svc_simple.c: Likewise.
56919 * sunrpc/svc_tcp.c: Likewise.
56920 * sunrpc/svc_udp.c: Likewise.
56921 * sunrpc/svc_unix.c: Likewise.
56922 * sunrpc/svcauth_des.c: Likewise.
56923 * sunrpc/xcrypt.c: Likewise.
56924 * sunrpc/xdr.c: Likewise.
56925 * sunrpc/xdr_array.c: Likewise.
56926 * sunrpc/xdr_float.c: Likewise.
56927 * sunrpc/xdr_mem.c: Likewise.
56928 * sunrpc/xdr_rec.c: Likewise.
56929 * sunrpc/xdr_ref.c: Likewise.
56930 * sunrpc/xdr_sizeof.c: Likewise.
56931 * sunrpc/xdr_stdio.c: Likewise.
56932
56933 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56934 handling.
56935
56936 2010-08-19 Andreas Schwab <schwab@redhat.com>
56937
56938 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56939
56940 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56941
56942 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56943 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56944 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56945 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56946 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56947 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56948 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56949 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56951 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56952 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56953 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56954 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56955 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56956
56957 2010-07-26 Anton Blanchard <anton@samba.org>
56958
56959 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56960 * malloc/arena.c (heap_trim): Likewise.
56961
56962 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56963
56964 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56965 here. Not...
56966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56967 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56968
56969 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56970
56971 * sysdeps/i386/elf/Makefile: New file.
56972
56973 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56974
56975 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56976 from fanotify_init.
56977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56979
56980 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56981
56982 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56983 of strncasecmp_l.
56984 * sysdeps/multiarch/strcmp.S: Likewise.
56985
56986 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56987
56988 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56989 strncase_l-nonascii.
56990 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56991 Add strncase_l-ssse3.
56992 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56993 * sysdeps/x86_64/strcmp.S: Likewise.
56994 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56995 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56996 * sysdeps/x86_64/strncase.S: New file.
56997 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56998 * sysdeps/x86_64/strncase_l.S: New file.
56999 * string/Makefile (strop-tests): Add strncasecmp.
57000 * string/test-strncasecmp.c: New file.
57001
57002 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57003 warning.
57004
57005 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57006 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57007
57008 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57009
57010 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57011
57012 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57013
57014 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57015 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57016 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57017
57018 2010-05-01 Alan Modra <amodra@gmail.com>
57019
57020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57021 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57022 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57023 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57024 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57025 tidying. Don't tail-call __sigjmp_save for static lib.
57026 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57027 save location.
57028 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57029 (CALL_MCOUNT): Add eh info, and nop after bl.
57030 (TAIL_CALL_SYSCALL_ERROR): New macro.
57031 (PSEUDO_RET): Use it.
57032 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57033 Correct save location of integer regs and cr.
57034 (_dl_profile_resolve): Correct cr save location. Delete nops
57035 after bl when SHARED. Reduce cfi size a little by better
57036 placement of cfi directives.
57037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57038 make a stack frame. Instead use parm save area as a temp.
57039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57040 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57042 Don't make a stack frame for parent, use parm save area.
57043 Increase child stack frame to 112 bytes. Don't save unused reg,
57044 and adjust reg usage. Set up cfi on error recovery and
57045 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57047 (__makecontext): Add dummy nop after jump to exit.
57048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57049 Use correct parm save area and cr save, reduce stack frame.
57050 Correct cfi for possible PSEUDO_RET frame setup.
57051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57052 Branch to local label emitted by PSEUDO_RET rather than
57053 __syscall_error.
57054
57055 2010-08-12 Andreas Schwab <schwab@redhat.com>
57056
57057 [BZ #11904]
57058 * locale/programs/locale.c (print_assignment): New function.
57059 (show_locale_vars): Use it.
57060
57061 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57062
57063 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57064 field.
57065 (struct statfs64): Likewise.
57066 (_STATFS_F_FLAGS): Define.
57067 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57068 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57069 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57070 (ST_VALID): Define locally.
57071 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57072 __statvfs_getflags, use the provided value.
57073 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57074 __ASSUME_STATFS_F_FLAGS.
57075
57076 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57077
57078 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57079 Add sys/fanotify.h.
57080 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57081 fanotify_mask for GLIBC_2.13.
57082 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57083 fanotify_init and fanotify_mark.
57084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57085 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57086
57087 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57088 Add prlimit.
57089 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57090 prlimit64 for GLIBC_2.13.
57091 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57092 prlimit64.
57093 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57094 syscall.
57095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57096 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57097 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57098 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57100 add prlimit alias.
57101 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57102
57103 [BZ #11903]
57104 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57105 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57106
57107 * nss/Makefile: Add rules to build and run tst-nss-test1.
57108 * shlib-versions: Add entry for libnss_test1.
57109 * nss/nss_test1.c: New file.
57110 * nss/tst-nss-test1.c: New file.
57111
57112 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57113 (__nss_configure_lookup): Set appropriate entry in
57114 __nss_configure_lookup to true.
57115 * nss/nsswitch.h: Define enum with indeces of databases in
57116 databases and __nss_database_custom arrays. Declare
57117 __nss_database_custom.
57118 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57119 to avoid using nscd when custom rules are installed.
57120 * nss/getXXbyYY_r.c: Likewise.
57121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57122
57123 * nss/nss_files/files-parse.c: Whitespace fixes.
57124
57125 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57126
57127 [BZ #11883]
57128 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57129 * posix/fnmatch_loop.c: Likewise.
57130
57131 2010-07-17 Andi Kleen <ak@linux.intel.com>
57132
57133 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57134 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57135 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57136 * Versions.def [GLIBC_2.13]: Add.
57137
57138 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57139
57140 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57141 Also fail if tpwd after pwuid call is NULL.
57142
57143 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57144
57145 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57146 when converting to ms.
57147
57148 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57149
57150 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57151 EOPNOTSUPP errors with ENOTTY.
57152 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57153 EOPNOTSUPP errors with ENOTTY.
57154
57155 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57156
57157 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57158 Add strcasecmp_l-ssse3.
57159 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57160 strcasecmp.
57161 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57162 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57163 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57164
57165 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57166
57167 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57168
57169 * string/Makefile (strop-tests): Add strcasecmp.
57170 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57171 strcasecmp_l-nonascii.
57172 (gen-as-const-headers): Add locale-defines.sym.
57173 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57174 * sysdeps/x86_64/strcasecmp.S: New file.
57175 * sysdeps/x86_64/strcasecmp_l.S: New file.
57176 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57177 * sysdeps/x86_64/locale-defines.sym: New file.
57178 * string/test-strcasecmp.c: New file.
57179
57180 * string/test-strcasestr.c: Test both ends of the range of characters.
57181 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57182
57183 2010-07-29 Roland McGrath <roland@redhat.com>
57184
57185 [BZ #11856]
57186 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57187
57188 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57189
57190 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57191 for ld.so.
57192
57193 2010-07-27 Andreas Schwab <schwab@redhat.com>
57194
57195 * manual/memory.texi (Malloc Tunable Parameters): Document
57196 M_PERTURB.
57197
57198 2010-07-26 Roland McGrath <roland@redhat.com>
57199
57200 [BZ #11840]
57201 * configure.in (-fgnu89-inline check): Set and substitute
57202 gnu89_inline, not libc_cv_gnu89_inline.
57203 * configure: Regenerated.
57204 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57205
57206 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57207
57208 * string/test-strnlen.c: New file.
57209 * string/Makefile (strop-tests): Add strnlen.
57210 * string/tester.c (test_strnlen): Add a few more test cases.
57211 * string/tst-strlen.c: Better error reporting.
57212
57213 * sysdeps/x86_64/strnlen.S: New file.
57214
57215 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57216
57217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57218 lower-latency instructions.
57219
57220 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57221
57222 * string/test-strcasestr.c: New file.
57223 * string/test-strstr.c: New file.
57224 * string/Makefile (strop-tests): Add strstr and strcasestr.
57225 * string/str-two-way.h: Don't undefine MAX.
57226 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57227
57228 2010-07-21 Andreas Schwab <schwab@redhat.com>
57229
57230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57231 strcasestr-nonascii.
57232 (CFLAGS-strcasestr-nonascii.c): Define.
57233 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57235 Remove unused attribute.
57236
57237 2010-07-20 Roland McGrath <roland@redhat.com>
57238
57239 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57240 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57241 ld.so.cache was broken. With it, there is no way to disable dsocaps
57242 like LD_HWCAP_MASK can disable hwcaps.
57243
57244 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57245
57246 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57247
57248 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57249
57250 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57251 call in strcasestr.
57252 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57253 __strcasestr_sse42_nonascii.
57254 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57255 strcasestr-nonascii.c.
57256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57257
57258 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57259
57260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57261 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57262 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57263 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57264
57265 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57266
57267 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57268 fcntl.
57269
57270 2010-07-06 Andreas Schwab <schwab@redhat.com>
57271
57272 [BZ #11577]
57273 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57274 dl_signal_cerror.
57275
57276 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57277
57278 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57279 _PC_PIPE_BUF using F_GETPIPE_SZ.
57280
57281 2010-07-05 Roland McGrath <roland@redhat.com>
57282
57283 * manual/arith.texi (Rounding Functions): Fix rint description
57284 implicit in round description.
57285
57286 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57287
57288 * elf/Makefile: Fix linking for a few tests to make recent linker
57289 happy.
57290
57291 2010-06-30 Andreas Schwab <schwab@redhat.com>
57292
57293 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57294 $(common-objpfx)libc_nonshared.a.
57295
57296 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57297
57298 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57299 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57300 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57301 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57302 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57303 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57304 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57305 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57320 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57321 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57322 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57323 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57324 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57325 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57326 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57327 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57328 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57329 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57330 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57331 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57346
57347 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57348
57349 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57350 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57351 * string/memmove.c (memmove): Renamed to ...
57352 (MEMMOVE): ...this. Default to memmove.
57353 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57354 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57355 (END_CHK): Define.
57356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57357 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57358 mempcpy-ssse3-back memmove-ssse3-back.
57359 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57361 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57362 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57363 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57364 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57365 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57366 * sysdeps/x86_64/multiarch/memmove.c: New file.
57367 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57368 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57369 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57370 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57371 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57373 Define.
57374 (index_Fast_Copy_Backward): Define.
57375 (HAS_ARCH_FEATURE): Define.
57376 (HAS_FAST_REP_STRING): Define.
57377 (HAS_FAST_COPY_BACKWARD): Define.
57378
57379 2010-06-21 Andreas Schwab <schwab@redhat.com>
57380
57381 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57382 Restore proper fallback handling.
57383
57384 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57385
57386 [BZ #11701]
57387 * posix/group_member.c (__group_member): Correct checking loop.
57388
57389 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57390 OOM in getpwuid_r correctly. Return error number when the caller
57391 should return, otherwise -1.
57392 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57393 call returning > 0 value.
57394 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57395
57396 2010-06-07 Andreas Schwab <schwab@redhat.com>
57397
57398 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57399 libc_nonshared.a from targets in modules-names.
57400
57401 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57402
57403 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57404 requires it.
57405
57406 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57407
57408 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57409 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57412
57413 2010-06-02 Andreas Schwab <schwab@redhat.com>
57414
57415 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57416
57417 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57418
57419 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57420 and F_GETPIPE_SZ.
57421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57427
57428 2010-06-14 Roland McGrath <roland@redhat.com>
57429
57430 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57431
57432 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57433
57434 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57435 __REDIRECT followed by __THROW.
57436 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57437 * posix/getopt.h (getopt): Likewise.
57438
57439 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57440
57441 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57442 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57443 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57444 in AT_FLAGS.
57445 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57446 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57447
57448 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57449
57450 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57451
57452 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57453
57454 [BZ #11640]
57455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57456 Properly check family and model.
57457
57458 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57459
57460 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57461
57462 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57463
57464 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57465
57466 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57467
57468 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57469 symbol reference.
57470
57471 2010-05-19 Andreas Schwab <schwab@redhat.com>
57472
57473 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57474 symbol reference.
57475
57476 2010-05-21 Andreas Schwab <schwab@redhat.com>
57477
57478 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57479 and internal_recvmmsg.
57480 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57481 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57482 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57483 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57484
57485 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57486 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57487 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57488
57489 2010-05-20 Andreas Schwab <schwab@redhat.com>
57490
57491 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57492
57493 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57494
57495 POWER7 optimizations.
57496 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57497 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57498
57499 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57500
57501 * version.h: Update for 2.13 development version.
57502
57503 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57504
57505 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57506 exceptions. Return 0.
57507
57508 2010-05-07 Roland McGrath <roland@redhat.com>
57509
57510 * elf/ldconfig.c (main): Add a const.
57511
57512 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57513
57514 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57515 (args_options): Add no-idn option.
57516 (ahosts_keys_int): Add idn_flags to ai_flags.
57517 (parse_option): Handle 'i' option to clear idn_flags.
57518
57519 * malloc/malloc.c (_int_free): Possible race in the most recently
57520 added check. Only act on the data if no current modification
57521 happened.
57522
57523 See ChangeLog.17 for earlier changes.