]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix BZ #18043 (c4): buffer-overflow (read past the end) in wordexp/parse_dollars...
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5f85a4bf
PP
12015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 [BZ #18043]
4 * posix/wordexp.c (parse_param): Fix buffer overflow.
5 * posix/wordexp-test.c (test_case): Add test case.
6
f8ba70e9
PP
72015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8
9 [BZ #18042]
10 * posix/wordexp.c (parse_backtick): Fix off-by-one.
11 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
12
36103ba2
PP
132015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14
15 [BZ #18043]
16 * posix/wordexp-test.c (test_case): Add test for BZ #18043
17 (do_bz18043): Delete.
18 (at_page_end): New.
19 (testit): Refactor to have words at the edge of unreadable page.
20
18d26750
PP
212015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22
23 [BZ #16734]
24 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25 Cleanup read-only streams as well.
26 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27
9f95dc5d
ST
282015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29
30 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31 <bits/libc-lockP.h>
32
b838844b
JM
332015-03-07 Joseph Myers <joseph@codesourcery.com>
34
35 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
36 on [__KERNEL__].
37 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39 * soft-fp/op-common.h (_FP_DECL): Likewise.
40
e0ed2fb4
L
412015-03-06 H.J. Lu <hongjiu.lu@intel.com>
42
43 * elf/ifuncdep2.c (global): Replace
44 __attribute__((visibility("protected"))) with
45 asm (".protected global").
46 * elf/ifuncmod1.c (global): Likewise.
47 * elf/ifuncmod5.c (global): Likewise.
48
fa9dda64
JM
492015-03-06 Joseph Myers <joseph@codesourcery.com>
50
51 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
52 <asm/sfp-machine.h> instead of <sfp-machine.h>.
53
4acc27ed
RM
542015-03-06 Roland McGrath <roland@hack.frob.com>
55
56 * manual/install.texi (Configuring and compiling):
57 Document test-wrapper-env-only.
58 * INSTALL: Regenerated.
59
895c30cb
PP
602015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
61
62 [BZ #18043]
63 * posix/wordexp.c (parse_param): Fix buffer overflow.
64 * posix/wordexp-test.c (do_bz18043): Add test case.
65
5df56c7e
VB
662015-03-06 Vincent Bernat <vincent@bernat.im>
67
68 * time/tst-strptime2.c (do_test): Ensure failing tests are
69 reported correctly.
70 * time/tst-strptime3.c (do_test): Likewise.
71
1cdf2ea1
ST
722015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
73
74 Fix aio_error thread-safety.
1cdf2ea1
ST
75 * sysdeps/pthread/aio_error.c: New file
76 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
77 synchronization.
78
d176a41a
FW
792015-03-06 Florian Weimer <fweimer@redhat.com>
80
81 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
82 (group_number, vfprintf): Use it.
1597b744
FW
83 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
84 (JUMP, REF): Use it.
85 (WORK_BUFFER_SIZE): New enum constant.
86 (process_arg, vfprintf): Use it.
d176a41a 87
7e7af349
RJ
882015-03-06 Rical Jasan <ricaljasan@pacific.net>
89
90 * manual/errno.texi (Error Messages): Complete example function
91 by adding missing #define.
92 (program_invocation_name): Add statement indicating GNU
93 extension and reference which header file declares the variable.
94 (program_invocation_short_name): Likewise.
95
4ca8ddfb
MF
962015-03-06 Mike Frysinger <vapier@gentoo.org>
97
98 * manual/errno.texi (Error Messages): Delete strerror ISO C89
99 compatibility note.
100
9162c01d
RM
1012015-03-05 Roland McGrath <roland@hack.frob.com>
102
103 * Makeconfig (test-wrapper-env-only): New variable.
104 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
105 then use that with $(test-wrapper-env-only) rather than using
106 $(test-wrapper-env) $(run-program-env) $($*-ENV).
107
209826bc
L
1082015-03-05 H.J. Lu <hongjiu.lu@intel.com>
109
110 [BZ #18082]
111 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
112 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
113 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
114 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
115 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
116 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
117 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
118 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
119 Likewise.
120 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
121 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
122 Likewise.
123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
124 Likewise.
125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
126 Likewise.
127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
128 Likewise.
129 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
131 Likewise.
132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
133 Likewise.
134 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
135 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
136
2cfe32bc
RM
1372015-03-04 Roland McGrath <roland@hack.frob.com>
138
8bff5aab
RM
139 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
140 (ETH_ALEN): New macro.
141 (struct ether_addr): Use it for length of ether_addr_octet.
142
2752f338
RM
143 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
144 (setdb): Don't call __nss_configure_lookup for "rpc".
145 (do_test): Don't call test_rpc.
146 (output_rpcent, test_rpc): Functions moved ...
147 * sunrpc/test-rpcent.c: ... to this new file.
148 * sunrpc/Makefile (tests): Add it.
149
2cfe32bc
RM
150 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
151 __xpg_sigpause.
152 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
153 * nptl/tst-signal6.c: Likewise.
154 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
155 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
156
e4693aa7
RM
157 * configure.ac (libc_cv_cxx_link_ok): New check.
158 Reset CXX to empty if it fails to link.
159 * configure: Regenerated.
160 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
161 bug-atexit3-lib only if $(CXX) is nonempty.
162 * nptl/Makefile (tests): Likewise for tst-cancel24.
163 (tests, tests-static): Likewise for tst-cancel24-static.
164 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
165 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
166 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
167 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 168
8e2e833a
AS
1692015-03-04 Andreas Schwab <schwab@suse.de>
170
171 [BZ #17631]
172 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
173 for non-GCC compilers.
174 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
175 Likewise.
176
85b29045
AZ
1772015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
178
179 [BZ #17776]
180 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
181 integer before bitwise and assembly operations.
182 (feclearexcept): Likewise.
183 * math/test-fenvinline.c: New file.
184 * math/Makefile: Add test-fenvinline test.
185
a0af371c
AM
1862015-03-03 Alan Modra <amodra@gmail.com>
187
188 [BZ #16512]
189 * scripts/localplt.awk: Strip off symbol version.
190 * NEWS: Mention bug fix.
191
47465629
RM
1922015-03-02 Roland McGrath <roland@hack.frob.com>
193
194 * sysdeps/pthread/timer_routines.c
195 (timer_free_list, thread_free_list, thread_active_list): Make static.
196
6d08b022
JM
1972015-03-02 Joseph Myers <joseph@codesourcery.com>
198
199 [BZ #17779]
200 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
201 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
202 Undefine.
203 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
204 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
205 Likewise.
206 * sysdeps/unix/sysv/linux/sh/kernel-features.h
207 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
208 Likewise.
209
c2c6d39f
PP
2102015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
211
212 [BZ #18036]
213 * posix/fnmatch_loop.c (END): Detect invalid pattern.
214 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
215
e8b6be00
AS
2162015-03-02 Andreas Schwab <schwab@suse.de>
217
218 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
219 variable name.
220
1a2d98af
FW
2212015-03-02 Florian Weimer <fweimer@redhat.com>
222
223 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
224 Return error status.
225
e7f07af5
AO
2262015-02-27 Alexandre Oliva <aoliva@redhat.com>
227
228 [BZ #15969]
229 * locale/findlocale.c (_nl_find_locale): Introduce const
230 version of loc_name and drop unsafe type casts.
231
c7b19ca9
RM
2322015-02-27 Roland McGrath <roland@hack.frob.com>
233
234 * dlfcn/tststatic2.c (main): Converted to ...
235 (do_test): ... this.
236 (TEST_FUNCTION): New macro.
237 Include test-skeleton.c.
238
ef4ad06f
L
2392015-02-27 H.J. Lu <hongjiu.lu@intel.com>
240
241 [BZ #17711]
242 * elf/Makefile (tests): Add vismain only if PIE is enabled.
243 (tests-pie): Add vismain.
244 (CFLAGS-vismain.c): New.
245 * elf/vismain.c: Add comments for PIE requirement.
246
2ca725c5
JM
2472015-02-27 Joseph Myers <joseph@codesourcery.com>
248
249 [BZ #18046]
250 [BZ #18047]
251 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
252 0x1p-56L as threshold for just returning the argument.
253 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
254 0x1p-32L as threshold for just returning the argument.
255 * math/auto-libm-test-in: Add more tests of atanh.
256 * math/auto-libm-test-out: Regenerated.
257 * sysdeps/i386/fpu/libm-test-ulps: Update.
258 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
259
af96be34
WD
2602015-02-27 Wilco Dijkstra wdijkstr@arm.com
261
262 * string/bcopy.c (bcopy): Call memmove for performance.
263
ddcf6798
WD
2642015-02-27 Wilco Dijkstra wdijkstr@arm.com
265
266 * string/bzero.c (__bzero): Call memset for performance.
267
49f476f4
JDA
2682015-02-27 John David Anglin <dave.anglin@bell.net>
269
270 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
271 to 00100000.
272
f8ab5d38
JM
2732015-02-27 Joseph Myers <joseph@codesourcery.com>
274
275 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
276
380bd0fd
JM
2772015-02-26 Joseph Myers <joseph@codesourcery.com>
278
31331a07
JM
279 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
280 (__kernel_standard): Use CSTR macro when setting exc.name.
281 * sysdeps/ieee754/Makefile [$(subdir) = math]
282 (CFLAGS-k_standard.c): Remove variable.
283
09220e66
JM
284 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
285 setting p and q from "else if" to "else".
286 (qzero): Likewise.
287 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
288 (qone): Likewise.
289 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
290 (qzerof): Likewise.
291 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
292 (qonef): Likewise.
293 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
294 (qzero): Likewise.
295 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
296 (qone): Likewise.
297
1d9ab20c
JM
298 [BZ #18038]
299 [BZ #18039]
300 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
301 return pi/2 for arguments below 0x1p-113L.
302 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
303 return pi/2 for arguments below 0x1p-106L.
304 * math/auto-libm-test-in: Add more tests of acos.
305 * math/auto-libm-test-out: Regenerated.
306
ec0ce0d3
JM
307 [BZ #16351]
308 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
309 (MO): New macro.
310 (__ieee754_asin): Force underflow exception for results with small
311 absolute value.
312 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
313 (MO): New macro.
314 (__ieee754_asinf): Force underflow exception for results with
315 small absolute value.
316 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
317 (__ieee754_asin): Force underflow exception for results with small
318 absolute value.
319 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
320 (__ieee754_asinf): Force underflow exception for results with
321 small absolute value.
322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
323 (__ieee754_asinl): Force underflow exception for results with
324 small absolute value.
325 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
326 (__ieee754_asinl): Force underflow exception for results with
327 small absolute value.
328 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
329 (__ieee754_asinl): Force underflow exception for results with
330 small absolute value.
331 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
332 Include <math.h>.
333 * math/auto-libm-test-in: Do not mark underflow exceptions as
334 possibly missing for bug 16351.
335 * math/auto-libm-test-out: Regenerated.
336
380bd0fd
JM
337 [BZ #18030]
338 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
339 of power of 2 down when low part has opposite sign.
340 * math/libm-test.inc (logb_test_data): Add more tests.
341
4a28f4d5
AS
3422015-02-26 Andreas Schwab <schwab@suse.de>
343
344 [BZ #18032]
345 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
346 over collating symbol inside a bracket expression. Minor cleanup.
347 * posix/tst-fnmatch3.c (do_test): Add test case.
348
524ae9ea
JM
3492015-02-26 Joseph Myers <joseph@codesourcery.com>
350
351 [BZ #18029]
352 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
353 Adjust exponent of power of 2 down when low part has opposite
354 sign.
355 * math/libm-test.inc (ilogb_test_data): Add more tests.
356
23d43090
AO
3572015-02-26 Alexandre Oliva <aoliva@redhat.com>
358
359 [BZ #15969]
360 * locale/findlocale.c (_nl_find_locale): Fix constness error in
361 the previous change.
0d822a01
AO
362
363 [BZ #15969]
364 * locale/findlocale.c (_nl_find_locale): Retry archive search
365 after alias expansion.
366
d19df6ac
RM
3672015-02-25 Roland McGrath <roland@hack.frob.com>
368
ca681b7b
RM
369 * iconv/tst-iconv3.c (main): Converted to ...
370 (do_test): ... this.
371 (TEST_FUNCTION): New macro.
372 Include test-skeleton.c.
373
fd1f2f1c
RM
374 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
375 (convert): Make function static.
376 (test_unalign): Likewise. Add const to argument pointee types.
377 (main): Replace with static function do_test.
378 Print "Succeeded." only if RET is zero.
379 (TEST_FUNCTION): New macro.
380 Include test-skeleton.c.
381
d19df6ac
RM
382 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
383 returns a null pointer.
384
115e0de7
AZ
3852015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
386
387 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
388 to __memcpy_ppc only for static builds.
389
137cef7d
JM
3902015-02-25 Joseph Myers <joseph@codesourcery.com>
391
392 [BZ #18020]
393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
394 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
395 * math/auto-libm-test-in: Add more tests of asinh.
396 * math/auto-libm-test-out: Regenerated.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
399
cb43bb0d
CW
4002015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
401
402 [BZ #15850]
403 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
404 and ip6_mtuinfo definitions here.
405 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
406 in this define too. Update comment.
407
9be1052b
BS
4082015-02-24 Benno Schulenberg <bensberg@justemail.net>
409
410 * elf/sprof.c (load_shobj): Tweak error message to match others.
411
6807b1db
KE
4122015-02-24 Kevin Easton <kevin@guarana.org>
413
414 [BZ #16145] (partial fix)
415 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
416 to reduce lock contention.
417
b433df00
ML
4182015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
419
420 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
421 (struct timex): Update time comment.
422 (ADJ_SETOFFSET): Define.
423
440169d6
JM
4242015-02-24 Joseph Myers <joseph@codesourcery.com>
425
426 [BZ #18019]
427 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
428 2**56 not 2**28 as threshold for log (2x) formula.
429 * math/auto-libm-test-in: Add more tests of acosh.
430 * math/auto-libm-test-out: Regenerated.
431 * sysdeps/i386/fpu/libm-test-ulps: Update.
432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
433
ba7d2c54
MF
4342015-02-24 Mike Frysinger <vapier@gentoo.org>
435
436 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
437 parenthesis around the buf assignment.
438 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
439
9438b237
JM
4402015-02-24 Joseph Myers <joseph@codesourcery.com>
441
442 [BZ #16783]
443 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
444 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
445 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
446 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
447 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
448 * math/libm-test.inc (scalb_test_data): Add more tests.
449
6909d276
PP
4502015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
451
452 [BZ #17916]
453 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
454 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
455
65f6f938
ER
4562015-02-24 Eric Rannaud <e@nanocritical.com>
457
458 [BZ #17523]
459 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
460 * io/bits/fcntl2.h (open): Use it.
461 (openat): Likewise.
462 * io/open.c (__libc_open): Likewise.
463 * io/open64.c (__libc_open64): Likewise.
464 * io/open64_2.c (__open64_2): Likewise.
465 * io/open_2.c (__open_2): Likewise.
466 * io/openat.c (__openat): Likewise.
467 * io/openat64.c (__openat64): Likewise.
468 * io/openat64_2.c (__openat64_2): Likewise.
469 * io/openat_2.c (__openat_2): Likewise.
470 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
471 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
472 * sysdeps/posix/open64.c (__libc_open64): Likewise.
473 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
474 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
475 (__open_nocancel): Likewise.
476 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
477 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
478 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
479
3e3002ff
SP
4802015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
481
482 [BZ #14841]
483 * resolv/gethnamaddr.c (getanswer): Skip logging if
484 RES_USE_DNSSEC is set.
485 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
486
9813dd58
MF
4872015-02-24 Mike Frysinger <vapier@gentoo.org>
488
489 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
490
7b1ec6a0
AO
4912015-02-23 Alexandre Oliva <aoliva@redhat.com>
492
493 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
494 201304L, for Unicode 7.
495
d49499c1
L
4962015-02-23 H.J. Lu <hongjiu.lu@intel.com>
497
498 [BZ #17836]
499 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
500 shared library. Add gmon-start.os otherwise.
501 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
502 $(objpfx)gmon-start.os if builing shared library.
503 ($(objpfx)g$(static-start-installed-name)): Likewise.
504
51225803
AS
5052015-02-23 Andreas Schwab <schwab@suse.de>
506
507 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
508
bdf1ff05
PP
5092015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
510
511 [BZ #17269]
512 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
513 (enlarge_userbuf): Likewise.
514
95296112
CLT
5152015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
516
517 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
518 * math/atest-exp.c (TIMEOUT): Adjust to 200.
519 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
520 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
521
e4a399dc
JM
5222015-02-20 Joseph Myers <joseph@codesourcery.com>
523
524 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
525 expression inside statement expression.
526
7133957f
SL
5272015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
528
529 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
530 <sysdeps/nptl/lowlevellock.h> and remove macros and
531 functions that are now defined there.
532 (SYS_futex): Remove.
533 (lll_compare_and_swap): Remove.
534 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
535
40176158
JM
5362015-02-19 Joseph Myers <joseph@codesourcery.com>
537
538 [BZ #17999]
539 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
540 instead of scandirat.
541 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
542 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
543 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
544 __scandirat.
545 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
546 (__scandirat): Declare. Use libc_hidden_proto.
547 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
548 Remove variable.
549 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
550
4629c866
JM
5512015-02-18 Joseph Myers <joseph@codesourcery.com>
552
553 [BZ #15319]
554 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
555 (MO): New macro.
556 (__ieee754_atan2): For results with small absolute value, force
557 underflow exception and remove excess range and precision from
558 return value.
559 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
560 (MO): New macro.
561 (__ieee754_atan2f): For results with small absolute value, force
562 underflow exception and remove excess range and precision from
563 return value.
564 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
565 (MO): New macro.
566 (__atan): For results with small absolute value, force underflow
567 exception and remove excess range and precision from return value.
568 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
569 (MO): New macro.
570 (__atanf): For results with small absolute value, force underflow
571 exception and remove excess range and precision from return value.
572 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
573 <math.h>.
574 (__ieee754_atan2): Force underflow exception for results with
575 small absolute value.
576 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
577 <math_private.h>.
578 (atan): Force underflow exception for results with small absolute
579 value.
580 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
581 (__atanf): Force underflow exception for results with small
582 absolute value.
583 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
584 <math.h>.
585 (__atanl): Force underflow exception for results with small
586 absolute value.
587 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
588 (__atanl): Force underflow exception for results with small
589 absolute value.
590 * sysdeps/x86/fpu/bits/mathinline.h
591 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
592 (__ieee754_atan2): Only define inline for long double.
593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
594 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
595 * math/auto-libm-test-in: Do not mark underflow exceptions as
596 possibly missing for bug 15319. Add more tests of atan2.
597 * math/auto-libm-test-out: Regenerated.
598 * math/libm-test.inc (casin_test_data): Do not mark underflow
599 exceptions as possibly missing for bug 15319.
600 (casinh_test_data): Likewise.
601 * sysdeps/i386/fpu/libm-test-ulps: Update.
602
9ee16d8b
SE
6032015-02-18 Steve Ellcey <sellcey@imgtec.com>
604
605 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
606 * sysdeps/mips/bits/endian.h: Fix comments.
607
4ffb1771
JM
6082015-02-18 Joseph Myers <joseph@codesourcery.com>
609
610 [BZ #17996]
611 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
612 (hdestroy_r): Likewise.
613 (hsearch_r): Likewise.
614 (__hcreate_r): Declare and use libc_hidden_proto.
615 (__hdestroy_r): Likewise.
616 (__hsearch_r): Likewise.
617 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
618 (hcreate): Call __hcreate_r instead of hcreate_r.
619 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
620 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
621 as weak alias of __hcreate_r.
622 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
623 __hdestroy_r.
624 (hsearch_r): Rename to __hsearch_r and define as weak alias of
625 __hsearch_r.
626 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
627 Remove variable.
628 (test-xfail-XPG4/search.h/linknamespace): Likewise.
629 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
630 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
631 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
632
94c5a52a
SP
6332015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
634
635 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
636 arena_lock into a single arena_get.
637
8a35c3fe
CD
6382015-02-17 Carlos O'Donell <carlos@redhat.com>
639
640 * dl-reloc.c: Inlucde libc-internal.h.
641 (_dl_try_allocate_static_tls): Call ALIGN_UP.
642 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
643 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
644 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
645 (grow_heap): Likewise.
646 * malloc/malloc.c: Include libc-internal.h.
647 (do_check_malloc): Call powerof2.
648 (sysmalloc): Use pagesize. Call ALIGN_UP.
649 (systrim): Use pagesize.
650 (mremap_chunk): Use pagesize. Call ALIGN_UP.
651 (__libc_valloc): Use pagesize.
652 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
653
1a2325c0
JM
6542015-02-17 Joseph Myers <joseph@codesourcery.com>
655
656 [BZ #17991]
657 * include/sys/resource.h (__getrlimit64): Declare. Use
658 libc_hidden_proto.
659 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
660 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
661 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
662 getrlimit64.
663 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
664 __getrlimit64.
665 [!getrlimit64] (getrlimit64): Define as weak alias of
666 __getrlimit64. Use libc_hidden_weak.
667 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
668 using __getrlimit64 not __new_getrlimit64.
669 (__GI_getrlimit64): Likewise.
670 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
671 Likewise.
672 (__GI_getrlimit64): Likewise.
673 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
675 (getrlimit): Add __getrlimit64 alias.
676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
677 Likewise.
678 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
679 Remove variable.
680 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
681 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
682
8ae4bb5a
PP
6832015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
684
685 * libio/fileops.c: Add missing sys/mman.h
686 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
687
18a218b7
JM
6882015-02-17 Joseph Myers <joseph@codesourcery.com>
689
690 * manual/math.texi (Errors in Math Functions): Clarify goals
691 regarding inexact and underflow exceptions.
692
e72ad0ef
SE
6932015-02-17 Steve Ellcey <sellcey@imgtec.com>
694
695 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
696 * sysdeps/mips/memset.S: Ditto.
697
2caa4099
SE
6982015-02-17 Steve Ellcey <sellcey@imgtec.com>
699
700 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
701
f20bfc9b
SL
7022015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
703
704 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
705 (__v1longjmp): Remove versioned symbol.
706 (__v1siglongjmp): Remove alias and versioned symbol.
707 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
708 (__v2siglongjmp): Likewise.
709
71c06b69
TR
7102015-02-16 Torvald Riegel <triegel@redhat.com>
711
712 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
713
a9a05adb
MF
7142015-02-16 Mike Frysinger <vapier@gentoo.org>
715
716 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
717
ce8fc784
JM
7182015-02-16 Joseph Myers <joseph@codesourcery.com>
719
720 [BZ #17987]
721 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
722 zero result does not depend on the sign resulting from
723 subtraction.
724 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
725 Likewise.
726 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
727 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
728 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
729 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
730 * math/libm-test.inc (remquo_test_data): Add more tests.
731
0d7036bd
PE
7322015-02-16 Paul Eggert <eggert@cs.ucla.edu>
733
734 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
735 Problem reported by J William Piggott.
736
86c56b16
JM
7372015-02-16 Joseph Myers <joseph@codesourcery.com>
738
a820f9b3
JM
739 [BZ #17978]
740 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
741 products 4 * y and 2 * y where those would overflow.
742 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
743 Likewise.
744 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
745 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
746 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
747 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
748 * math/libm-test.inc (remquo_test_data): Add more tests.
749
be802953
JM
750 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
751
e5e72fe9
JM
752 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
753 [defined _COMPILING_NEWLIB].
754 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
755 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
756
86c56b16
JM
757 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
758 [!defined __mips_isa_rev || __mips_isa_rev < 6].
759
35264d14
TR
7602015-02-16 Torvald Riegel <triegel@redhat.com>
761
762 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
763 acquired.
764
6f49e32a
MF
7652015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
766
767 [BZ #17792]
768 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
769 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
770 HOST_STACK_END_ADDR): Likewise.
771
e525154e
SE
7722015-02-13 Steve Ellcey <sellcey@imgtec.com>
773
774 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
775 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
776 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
777
4ab770b7
RM
7782015-02-13 Roland McGrath <roland@hack.frob.com>
779
780 * sysdeps/generic/c++-types.data: New file.
781 * sysdeps/generic/ld.abilist: New file.
782 * sysdeps/generic/libBrokenLocale.abilist: New file.
783 * sysdeps/generic/libanl.abilist: New file.
784 * sysdeps/generic/libc.abilist: New file.
785 * sysdeps/generic/libcrypt.abilist: New file.
786 * sysdeps/generic/libdl.abilist: New file.
787 * sysdeps/generic/libm.abilist: New file.
788 * sysdeps/generic/libpthread.abilist: New file.
789 * sysdeps/generic/libresolv.abilist: New file.
790 * sysdeps/generic/librt.abilist: New file.
791
d9afe48d
JM
7922015-02-13 Joseph Myers <joseph@codesourcery.com>
793
794 [BZ #17569]
795 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
796 Compute absolute value of x as modified by fmod, not original
797 value of x.
798 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
799 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
800 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
801 RUN_TEST_ffI_f1_mod8.
802 (remquo_test_data): Add more tests.
803
3846188b
RM
8042015-02-13 Roland McGrath <roland@hack.frob.com>
805
806 * sysdeps/init_array/pt-crti.S: New file.
807
95c26233
JM
8082015-02-13 Joseph Myers <joseph@codesourcery.com>
809
810 [BZ #17967]
811 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
812 __builtin_fmaf instead of relying on contraction of a * b + c.
813
3f293d61
WP
8142015-02-12 J William Piggott <elseifthen@gmx.com>
815
816 [BZ #17969]
817 * manual/time.texi: correct the zoneinfo path in the TZ Variable
818 node.
819
e8bd5286
JM
8202015-02-12 Joseph Myers <joseph@codesourcery.com>
821
822 [BZ #17964]
823 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
824 __builtin_fma instead of relying on contraction of a * b + c.
825
04f5a636
RM
8262015-02-12 Roland McGrath <roland@hack.frob.com>
827
96a15749
RM
828 * Makeconfig (ASFLAGS): Add -Werror=undef.
829 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
830 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
831 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
832
04f5a636
RM
833 * Makeconfig (after-link): New variable.
834 (+link-pie, +link-pie-tests): Use it.
835 (+link-static, +link-static-tests): Likewise.
836 (+link, +link-tests): Likewise.
837 * Makerules (build-module, build-module-asneeded): Likewise.
838 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
839 Likewise.
840 * elf/Makefile ($(objpfx)ld.so): Likewise.
841
87a629c5
RS
8422015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
843
844 [BZ #17965]
845 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
846 both struct timeval and struct timespec.
847
03d95bd4
JM
8482015-02-12 Joseph Myers <joseph@codesourcery.com>
849
850 [BZ #16560]
851 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
852 and redefine.
853 (__ieee754_exp2l): Do not multiply small fractional parts by
854 M_LN2l.
855 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
856 small argument.
857 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
858 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
859 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
860 * math/auto-libm-test-in: Add more tests of exp2.
861 * math/auto-libm-test-out: Regenerated.
862
98408b95
RS
8632015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
864
865 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
866 unaligned path.
867
6f741503
AZ
8682015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
869
870 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
871 little endian.
872
2868e070
AS
8732015-02-12 Andreas Schwab <schwab@suse.de>
874
875 [BZ #15790]
876 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
877 Filter out elision flags from value returned in kind.
878 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
879 * nptl/tst-pthread-mutexattr.c: New file.
880
ebf27d12
ST
8812015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
882
883 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
884 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
885 into gnu-gnu, and update comment to refer to abi-tags.
886
d435569c
JM
8872015-02-11 Joseph Myers <joseph@codesourcery.com>
888
889 [BZ #15467]
890 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
891 (__sincos): Set errno to EDOM for infinite argument.
892 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
893 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
894 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
895 (__sincosl): Set errno to EDOM for infinite argument.
896 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
897 (__sincosl): Set errno to EDOM for infinite argument.
898 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
899 (__sincosl): Set errno to EDOM for infinite argument.
900 * math/libm-test.inc (sincos_test_data): Test errno setting.
901
d35273f2
LH
9022015-02-11 Leonhard Holz <leonhard.holz@web.de>
903
904 * string/strxfrm_l.c: Remove #define STRCMP.
905 * string/strcoll_l.c: Remove #define STRLEN.
906 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
907 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
908
306bc0d1
JM
9092015-02-10 Joseph Myers <joseph@codesourcery.com>
910
911 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
912 * sysdeps/mips/mips32/sfp-machine.h: ... here.
913 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
914 * sysdeps/mips/mips64/Makefile: ... here.
915 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
916 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
917 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
918 * sysdeps/mips/mips64/sfp-machine.h: ... here.
919 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
920 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
921 * sysdeps/mips/mips64/n64/Implies: Likewise.
922
92b67e8d
RM
9232015-02-10 Roland McGrath <roland@hack.frob.com>
924
925 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
926 <sys/time.h>, <string.h>, and <errno.h>.
927 (dest_offset, dest_address, value, zero): Remove unused variables.
928 (ldouble): Remove typedef.
929 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
930 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
931 1). Fix code style.
932 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
933 (check): Function removed.
934 (CHECK): New macro.
935 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
936 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
937 Don't call set_sigaction_FP and remove_sigaction_FP here.
938 (ldouble_test): Just use 'long double' as macro argument, no need for
939 the 'ldouble' typedef.
940 (do_test): Set up SIGFPE handler at start, using plain signal rather
941 than sigaction. Fix code style.
942
132a1328
EF
9432015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
944
945 [BZ #17949]
946 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
947 jump label.
948
3001e54c
AZ
9492015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
950
bc0cdc49
AZ
951 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
952 * sysdeps/powerpc/powerpc32/configure: Regenerated.
953
83658961
AZ
954 * sysdeps/powerpc/configure.ac: Remove file.
955 * sysdeps/powerpc/configure: Likewise.
956
10169938
AZ
957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
958 [sysdep_routines]: Remove wordcopy-power6 object.
959 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
960 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
961 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
962 (__memmove_ppc32): Likewise.
963 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
964 file.
965 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
966 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
967 Remove preprocessor.
968
8548a53d
AZ
969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
970 [sysdep_routines]: Remove wide chars objects.
971 [wcsmbs]: New rule for wide char objects.
972
b2692114
AZ
973 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
974 Remove wordcopy-power6 obejct.
975 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
976 Use local call for wordcopy and memcpy symbols.
977 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
978 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
979 implementation for loader.
980 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
981
18e270aa
AZ
982 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
983 Remove wordcopy-power7 object.
984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
985 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
986 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
987 (_wordcopy_fwd_dest_aligned): Likewise.
988 (_wordcopy_bwd_aligned): Likewise.
989 (_wordcopy_bwd_dest_aligned): Likewise.
990
6f0993a6
AZ
991 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
992 Rewrite to call __memmove_ppc instead of include default
993 implementation.
994
3001e54c
AZ
995 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
996 Remove wide chars objects.
997 [wcsmbs]: New rule for wide char objects.
998
59b61c82
AS
9992015-02-09 Andreas Schwab <schwab@suse.de>
1000
1001 [BZ #17912]
1002 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1003 in terms of __O_DIRECTORY.
1004
ebd7aede
ST
10052015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1006
1007 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1008 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1009 call PTR_MANGLE.
1010 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1011 PTR_DEMANGLE.
ebd7aede 1012
3999d26e
PE
10132015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1014
1015 Add ersatz _Static_assert on older C hosts
1016 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1017 pre-C11 C platform that is not known to support _Static_assert.
1018
e9a5bc1c
ST
10192015-02-07 Richard Braun <rbraun@sceen.net>
1020
1021 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1022 sigstate.
e86c5b64 1023 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1024
e2049d17
ST
10252015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1026
1027 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1028 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1029 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1030 instead of int.
1031 * misc/fchflags.c (fchflags): Likewise.
1032 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1033 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1034 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1035 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1036 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1037 Declare macros.
1038 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1039 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1040 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1041 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1042 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1043 45.
a9a002fb
ST
1044 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1045 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1046 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1047 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1048 * hurd/hurd/signal.h (_hurd_self_sigstate,
1049 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1050 Explicit casts from void *.
4fc81a77 1051 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1052 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1053
f05826f0
ST
1054 [BZ #4719]
1055 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1056 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1057 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1058 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1059 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1060 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1061
a5eb23de
ST
1062 [BZ #17944]
1063 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1064 duplicates ADDR->sun_path with sockaddr LEN limitation.
1065 * sysdeps/mach/hurd/connect.c: Include <string.h>
1066 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1067 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1068 * sysdeps/mach/hurd/sendto.c: Likewise.
1069 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1070 implementing it by hand.
1071
ac9e0e5e
RM
10722015-02-06 Roland McGrath <roland@hack.frob.com>
1073
f8d1bb4c
RM
1074 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1075 Use sfi_breg on ldr.
1076 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1077 Likewise.
1078
022f4812
RM
1079 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1080 it's defined.
1081 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1082 Test SIGSETXID only if it's defined.
1083
1ac074e6
RM
1084 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1085
f50ad78b
RM
1086 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1087 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1088
9e7265f4
RM
1089 * nptl/tst-align2.c: Moved ...
1090 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1091 * nptl/Makefile (tests): Remove tst-align2.
1092 * sysdeps/unix/sysv/linux/Makefile
1093 [$(subdir) = nptl] (tests): Add tst-align-clone.
1094 * nptl/tst-getpid1.c: Moved ...
1095 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1096 * nptl/tst-getpid2.c: Moved ...
1097 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1098 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1099 * sysdeps/unix/sysv/linux/Makefile
1100 [$(subdir) = nptl] (tests): ... here.
1101 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1102 * sysdeps/unix/sysv/linux/Makefile
1103 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1104
62ad2abc
RM
1105 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1106 Drop trailing \n from perror argument. Use return rather than exit.
1107
cfa69b0b
RM
1108 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1109 on [SA_SIGINFO].
1110 * nptl/tst-cancel21.c (do_test): Likewise.
1111 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1112 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1113 [!SA_SIGINFO]: Make it a stub test.
1114
82727806
RM
1115 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1116 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1117
da3a1594
RM
1118 * posix/tst-getlogin.c: Move to ...
1119 * login/tst-getlogin.c: ... here.
1120 * posix/Makefile (tests): Move tst-getlogin to ...
1121 * login/Makefile (tests): ... here.
1122
b65c0ff9
RM
1123 * libio/tst-atime.c (do_test): Move local variables SV and E
1124 inside [ST_NOATIME] conditional.
1125
56606ab3
RM
1126 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1127
ebf7d6ee
RM
1128 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1129
ca0e0675
RM
1130 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1131 (wait_code): New function replaces macro.
1132 Call nanosleep rather than syscall.
1133
8c28bbc6
RM
1134 * nptl/pt-system.c: Rewritten. Put everything under
1135 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1136 Use IFUNC to redirect when possible.
1137
ec2a88b3
RM
1138 * nptl/pt-longjmp.c: Rewritten. Put everything under
1139 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1140 Use IFUNC to redirect when possible.
1141
beff1d13
RM
1142 * nptl/pt-fork.c: Rewritten. Put everything under
1143 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1144 Use IFUNC to redirect when possible.
1145 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1146
ea02c6b8
RM
1147 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1148 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1149 unconditionally nowadays. This included the only reference to
1150 __vdso_clock_gettime that appears outside libc proper.
1151 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1152 Remove version set (containing only __vdso_clock_gettime).
1153 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1154 Add attribute_hidden.
1155 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1156 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1157 libc_hidden_data_def.
1158 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1159 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1160
a1309c2b
RM
1161 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1162 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1163 setrpcent, and getrpcport to ...
1164 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1165 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1166 getrpcbynumber_r, and getrpcent_r to ...
1167 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1168 * inet/getrpcbyname.c: Moved ...
1169 * sunrpc/getrpcbyname.c: ... here.
1170 * inet/getrpcbyname_r.c: Moved ...
1171 * sunrpc/getrpcbyname_r.c: ... here.
1172 * inet/getrpcbynumber.c: Moved ...
1173 * sunrpc/getrpcbynumber.c: ... here.
1174 * inet/getrpcbynumber_r.c: Moved ...
1175 * sunrpc/getrpcbynumber_r.c: ... here.
1176 * inet/getrpcent.c: Moved ...
1177 * sunrpc/getrpcent.c: ... here.
1178 * inet/getrpcent_r.c: Moved ...
1179 * sunrpc/getrpcent_r.c: ... here.
1180 * inet/Makefile (routines): Move those to ...
1181 * sunrpc/Makefile (routines): ... here.
1182 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1183 the $(subdirs) list.
1184 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1185 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1186 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1187 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1188
ac9e0e5e
RM
1189 * elf/Makefile (routines): Include $(all-dl-routines), not just
1190 $(dl-routines).
1191 (rtld-routines): Likewise. Use = rather than :=.
1192 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1193 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1194 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1195 * sysdeps/arm/Makefile: Likewise.
1196 * sysdeps/i386/Makefile: Likewise.
1197 * sysdeps/x86_64/Makefile: Likewise.
1198 * sysdeps/hppa/Makefile [$(subdir) = elf]
1199 (sysdep_routines, sysdep-rtld-routines): Don't add
1200 $(sysdep-dl-routines) to these.
1201 * sysdeps/ia64/Makefile: Likewise.
1202 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1203 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1204 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1205 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1206 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1207 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1208 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1209 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1210 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1211 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1212 these; sysdep-dl-routines alone is enough.
1213
639e42eb
JM
12142015-02-06 Joseph Myers <joseph@codesourcery.com>
1215
1c7a4a51
JM
1216 [BZ #17932]
1217 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1218 where multiplication results in zero and third argument is finite
1219 and nonzero.
1220 * math/auto-libm-test-in: Add more tests of fma.
1221 * math/auto-libm-test-out: Regenerated.
1222
61f006c1
JM
1223 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1224 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1225 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1226 (_FP_CMP_EQ): Likewise.
1227 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1228
639e42eb
JM
1229 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1230 extra argument CHECK_NAN. Redefine as wrapper around
1231 _FP_EXTEND_CNAN.
1232
3c0c543b
CD
12332015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1234
4e42b5b8
CD
1235 * version.h (RELEASE): Set to "stable".
1236 (VERSION): Set to "2.21"
1237 * include/features.h (__GLIBC_MINOR__): Set to 21.
1238
3c0c543b
CD
1239 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1240
5bd80bfe 12412015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1242 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1243
1244 [BZ #16618]
1245 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1246 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1247 size in bytes. Store needed elements in wpmax. Use needed size
1248 in bytes for extend_alloca.
1249
3f823f48
CD
12502015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1251
04cb913d
CD
1252 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1253 binutls 2.25, and texinfo 5.2.
1254 * INSTALL: Regenerate.
1255 * sysdeps/nios2/configure: Regenerate.
1256 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1257 * manual/contrib.texi: Update.
1258 * po/be.po: Update.
1259 * po/bg.po: Update.
1260 * po/ca.po: Update.
1261 * po/cs.po: Update.
1262 * po/da.po: Update.
1263 * po/de.po: Update.
1264 * po/el.po: Update.
1265 * po/eo.po: Update.
1266 * po/es.po: Update.
1267 * po/fi.po: Update.
1268 * po/fr.po: Update.
1269 * po/gl.po: Update.
1270 * po/hr.po: Update.
1271 * po/hu.po: Update.
1272 * po/ia.po: Update.
1273 * po/id.po: Update.
1274 * po/it.po: Update.
1275 * po/ja.po: Update.
1276 * po/ko.po: Update.
1277 * po/lt.po: Update.
1278 * po/nb.po: Update.
1279 * po/nl.po: Update.
1280 * po/pl.po: Update.
1281 * po/pt_BR.po: Update.
1282 * po/ru.po: Update.
1283 * po/rw.po: Update.
1284 * po/sk.po: Update.
1285 * po/sl.po: Update.
1286 * po/sv.po: Update.
1287 * po/tr.po: Update.
1288 * po/uk.po: Update.
1289 * po/vi.po: Update.
1290 * po/zh_CN.po: Update.
1291 * po/zh_TW.po: Update.
1292
3f823f48
CD
1293 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1294 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1295 * sysdeps/hppa/dl-irel.h: Remove #warning.
1296 * sysdeps/hppa/entry.h: Provide prototype for
1297 __canonicalize_funcptr_for_compare and cast argument.
1298 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1299 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1300 * sysdeps/hppa/sotruss-lib.c: New file.
1301 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1302 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1303 (atomic_compare_and_exchange_bool_acq): Likewise.
1304 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1305 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1306
1307 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1308 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1309 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1310
34c56048
CLT
13112015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1312
1313 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1314 called function in non-PIC case.
1315
d4abeca5
DM
13162015-01-31 David S. Miller <davem@davemloft.net>
1317
edac0a60
DM
1318 * sysdeps/sparc/sparc32/bits/atomic.h
1319 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1320 unlock not after it.
1321 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1322 volatile register usage warnings from the compiler.
1323
d4abeca5
DM
1324 * sysdeps/sparc/nptl/sem_init.c: Delete.
1325 * sysdeps/sparc/nptl/sem_post.c: Delete.
1326 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1327 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1328 * sysdeps/sparc/sparc32/sem_init.c: New file.
1329 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1330 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1331 padding explicitly initialized.
1332 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1333 padding for in-semaphore spinlock.
1334 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1335 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1336 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1337 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1338 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1339 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1340 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1341 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1342 version.
1343 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1344 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1345
5f3d0b78
L
13462015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1347
1348 [BZ #17801]
1349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1350 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1351 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1352 New.
1353 (index_AVX_Fast_Unaligned_Load): Likewise.
1354 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1355 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1356 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1357 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1358 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1359 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1360 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1361 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1362 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1363
b658fdd8
AS
13642015-01-29 Andreas Schwab <schwab@suse.de>
1365
1366 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1367
3cb26316
SP
13682015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1369
1370 [BZ #17892]
1371 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1372
527de9e4
MS
13732015-01-28 Martin Sebor <msebor@redhat.com>
1374
1375 * math/README.libm-test: Clarify. Add "How to read the test output."
1376
06991eb8
CM
13772015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1378
1379 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1380 Define to 0.
1381
df341342
JM
13822015-01-28 Joseph Myers <joseph@codesourcery.com>
1383
1384 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1385 (__HAVE_64B_ATOMICS): Define to 0.
1386
08cee2a4
AZ
13872015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1388
d4d0ecb2
AZ
1389 [BZ #17885]
1390 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1391 value to set as new flag.
1392
08cee2a4
AZ
1393 [BZ #16576]
1394 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1395 and use _ARCH_PPCSQ instead.
1396 (__ieee754_sqrt): Likewise.
1397 (__ieee754_sqrtf): Likewise.
1398 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1399 _ARCH_PPCSQ is defined.
1400 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1401 fsqrt instruction.
1402 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1403 _ARCH_PPCSQ is defined.
1404 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1405 fsqrts instruction.
1406 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1407
5fe8e359
AK
14082015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1409
1410 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1411 bug (GCC BZ #64739).
1412
24bb7432
AS
14132015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1414
fa20da31
AS
1415 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1416 Mark _retval as used.
1417 (lll_futex_wake_unlock): Likewise.
1418 (lll_futex_timed_wait_requeue_pi): Likewise.
1419
45819cbc
AS
1420 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1421 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1422 register variables.
1423
403cc231
AS
1424 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1425 libm_hidden_def.
1426
24bb7432
AS
1427 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1428 (__bswap_64): Mark as __always_inline.
1429
9317ea65
B
14302015-01-25 Bram <bug_rh@spam.wizbit.be>
1431
1432 [BZ #15378]
1433 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1434 when none of the search directories exist.
1435
0e87343e
AZ
14362015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1437
bea58013
AZ
1438 [BZ #17869]
1439 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1440 power8 in .machine directive.
1441
0e87343e
AZ
1442 [BZ #17868]
1443 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1444 set dependency from opd value.
1445
ede0236c
L
14462015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1447
1448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1449 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1450 architecture.
ede0236c 1451
22971c35
L
14522015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1453
1454 [BZ #17870]
1455 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1456 with uint64_t.
1457 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1458 (uint64_t) 1.
e0da28a1 1459 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1460 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1461 Replace 1UL with (uint64_t) 1.
1462 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1463 int with uint64_t.
1464
da5bf245
RM
14652015-01-23 Roland McGrath <roland@hack.frob.com>
1466
2ec2d703
RM
1467 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1468 (if_freenameindex): Likewise.
1469
da5bf245
RM
1470 * resource/getrlimit64.c: Add missing libc_hidden_def.
1471
d7423856
JM
14722015-01-22 Joseph Myers <joseph@codesourcery.com>
1473
1474 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1475 __label__.
1476 (_FP_FMA): Likewise.
1477 (_FP_TO_INT_ROUND): Likewise.
1478 (_FP_FROM_INT): Likewise.
1479
6b2ba95b
AZ
14802015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 [BZ #16418]
1483 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1484 Make code racy and cancel safe.
1485
ccdb048d
CD
14862015-01-21 Carlos O'Donell <carlos@redhat.com>
1487
191220b3
CD
1488 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1489 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1490 attribution.
1491
0897c551
CD
1492 * pwd/tst-getpw.c: Rewrite.
1493
ccdb048d
CD
1494 [BZ #17702]
1495 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1496 (modules-names): Add moddummy1 and moddummy2.
1497 ($(objpfx)tst-rec-dlopen): Define.
1498 * dlfcn/moddummy1.c: New file.
1499 * dlfcn/moddummy2.c: New file.
1500 * dlfcn/tst-rec-dlopen.c: New file.
1501 * elf/dl-cache.c (_dl_load_cache_lookup):
1502 Return char*. Copy result with alloca/strcpy/strdup.
1503 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1504 returns char*. Free cached. If not saving realname
1505 free cached.
1506 * elf/dl-open.c (dl_open_worker): Do not assert that
1507 _r_debug->r_state is RT_CONSISTENT.
1508 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1509 returns char*.
1510
042e1521
CD
15112015-01-21 Torvald Riegel <triegel@redhat.com>
1512 Carlos O'Donell <carlos@redhat.com>
1513
1514 [BZ #12674]
1515 * nptl/sem_waitcommon.c: New file.
1516 * nptl/sem_wait.c: Include sem_waitcommon.c.
1517 (__sem_wait_cleanup, do_futex_wait): Remove.
1518 (__new_sem_wait): Adapt.
1519 (__new_sem_trywait): New function.
1520 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1521 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1522 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1523 (sem_timedwait): Adapt.
1524 * nptl/sem_post.c (__new_sem_post): Adapt.
1525 (futex_wake): New function.
1526 (__old_sem_post): Add release MO fence.
1527 * nptl/sem_open.c (sem_open): Adapt.
1528 * nptl/sem_init.c (__new_sem_init): Adapt.
1529 (futex_private_if_supported): New function.
1530 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1531 (__old_sem_getvalue): Add using previous code.
1532 * sysdeps/nptl/internaltypes.h: Adapt.
1533 * nptl/tst-sem13.c (do_test): Adapt.
1534 * nptl/tst-sem11.c (main): Adapt.
1535 * nptl/sem_trywait.c: Remove.
1536 * nptl/DESIGN-sem.txt: Remove.
1537 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1538 (gen-as-const-headers): Remove structsem.sym.
1539 * nptl/structsem.sym: Remove.
1540 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1541 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1542 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1543 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1544 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1545 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1546 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1547 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1548 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1549 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1550 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1551 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1552 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1553 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1554 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1555 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1556 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1557 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1558 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1559 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1560 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1561 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1562
fe0e85af
CD
15632015-01-20 Carlos O'Donell <carlos@redhat.com>
1564
a8db092e
CD
1565 * INSTALL: Regenerated.
1566
fe0e85af
CD
1567 * po/libc.pot: Regenerated.
1568
522e6ee3
CLT
15692015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1570 Sandra Loosemore <sandra@codesourcery.com>
1571 Andrew Jenner <andrew@codesourcery.com>
1572 Joseph Myers <joseph@codesourcery.com>
1573 Nathan Sidwell <nathan@codesourcery.com>
1574
1575 * NEWS: Mention new Nios II port.
1576 * sysdeps/nios2/Implies: New file.
1577 * sysdeps/nios2/Makefile: New file.
1578 * sysdeps/nios2/Subdirs: New file.
1579 * sysdeps/nios2/Versions: New file.
1580 * sysdeps/nios2/__longjmp.S: New file.
1581 * sysdeps/nios2/abort-instr.h: New file.
1582 * sysdeps/nios2/backtrace.c: New file.
1583 * sysdeps/nios2/bits/endian.h: New file.
1584 * sysdeps/nios2/bits/fenv.h: New file.
1585 * sysdeps/nios2/bits/link.h: New file.
1586 * sysdeps/nios2/bits/setjmp.h: New file.
1587 * sysdeps/nios2/bsd-_setjmp.S: New file.
1588 * sysdeps/nios2/bsd-setjmp.S: New file.
1589 * sysdeps/nios2/configure: New generated file.
1590 * sysdeps/nios2/configure.ac: New file.
1591 * sysdeps/nios2/crti.S: New file.
1592 * sysdeps/nios2/crtn.S: New file.
1593 * sysdeps/nios2/dl-init.c: New file.
1594 * sysdeps/nios2/dl-machine.h: New file.
1595 * sysdeps/nios2/dl-sysdep.h: New file.
1596 * sysdeps/nios2/dl-tls.h: New file.
1597 * sysdeps/nios2/dl-trampoline.S: New file.
1598 * sysdeps/nios2/gccframe.h: New file.
1599 * sysdeps/nios2/gmp-mparam.h: New file.
1600 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1601 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1602 * sysdeps/nios2/ldsodefs.h: New file.
1603 * sysdeps/nios2/libc-tls.c: New file.
1604 * sysdeps/nios2/libm-test-ulps: New file.
1605 * sysdeps/nios2/machine-gmon.h: New file.
1606 * sysdeps/nios2/math-tests.h: New file.
1607 * sysdeps/nios2/math_private.h: New file.
1608 * sysdeps/nios2/memusage.h: New file.
1609 * sysdeps/nios2/nptl/Makefile: New file.
1610 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1611 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1612 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1613 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1614 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1615 * sysdeps/nios2/nptl/tls.h: New file.
1616 * sysdeps/nios2/preconfigure: New file.
1617 * sysdeps/nios2/s_fma.c: New file.
1618 * sysdeps/nios2/s_fmaf.c: New file.
1619 * sysdeps/nios2/setjmp.S: New file.
1620 * sysdeps/nios2/sfp-machine.h: New file.
1621 * sysdeps/nios2/sotruss-lib.c: New file.
1622 * sysdeps/nios2/stackguard-macros.h: New file.
1623 * sysdeps/nios2/stackinfo.h: New file.
1624 * sysdeps/nios2/start.S: New file.
1625 * sysdeps/nios2/sysdep.h: New file.
1626 * sysdeps/nios2/tls-macros.h: New file.
1627 * sysdeps/nios2/tst-audit.h: New file.
1628 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1629 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1630 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1631 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1632 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1633 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1634 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1635 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1636 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1637 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1638 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1639 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1640 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1641 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1642 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1643 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1644 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1645 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1646 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1647 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1648 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1649 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1650 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1651 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1652 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1653 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1654 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1655 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1656 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1657 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1658 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1659 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1660 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1661 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1662 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1663 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1664 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1665 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1666 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1667 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1668 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1669 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1670 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1671 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1672
026eb207
SL
16732015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1674
1675 [BZ #17844]
1676 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1677 (getutent): Use weak_alias in non SHARED case
1678 and default_symbol_version in SHARED case.
1679 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1680 (getutent_r, pututline): Likewise.
1681 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1682 (getutid): Likewise.
1683 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1684 (getutid_r): Likewise.
1685 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1686 (getutline): Likewise.
1687 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1688 (getutline_r): Likewise.
1689 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1690 (updwtmp): Likewise.
1691
1d532483
SL
16922015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1693
1694 [BZ #17848]
1695 * sysdeps/s390/s390-32/memcmp.S
1696 (memcmp_g5): Rename to __memcmp_g5.
1697 * sysdeps/s390/s390-32/memcpy.S
1698 (memcpy_g5): Rename to __memcpy_g5.
1699 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1700 (memcpy_mvcle) Rename to __memcpy_mvcle.
1701 * sysdeps/s390/s390-32/memset.S
1702 (memset_g5): Rename to __memset_g5.
1703 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1704 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1705 and use prefixed functions.
1706 * sysdeps/s390/s390-32/multiarch/memcmp.S
1707 (memcmp_z196): Rename to __memcmp_z196.
1708 (memcmp_z10): Rename to __memcmp_z10.
1709 (memcmp): Set alias to __memcmp_g5.
1710 (bcmp): Set alias to __memcmp_g5.
1711 * sysdeps/s390/s390-32/multiarch/memcpy.S
1712 (memcpy_z196): Rename to __memcpy_z196.
1713 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1714 (memcpy_z10): Rename to __memcpy_z10.
1715 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1716 (memcpy): Set alias to __memcpy_g5.
1717 * sysdeps/s390/s390-32/multiarch/memset.S
1718 (memset_z196): Rename to __memset_z196.
1719 Jump to __memset_mvcle instead of memset_mvcle.
1720 (memset_z10): Rename to __memset_z10.
1721 Jump to __memset_mvcle instead of memset_mvcle.
1722 (memset_mvcle) Rename to __memset_mvcle.
1723 (memset): Set alias to __memset_g5.
1724 * sysdeps/s390/s390-64/memcmp.S
1725 (memcmp_z900): Rename to __memcmp_z900.
1726 * sysdeps/s390/s390-64/memcpy.S
1727 (memcpy_z900): Rename to __memcpy_z900.
1728 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1729 (memcpy_mvcle) Rename to __memcpy_mvcle.
1730 * sysdeps/s390/s390-64/memset.S
1731 (memset_z900): Rename to __memset_z900.
1732 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1733 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1734 and use prefixed functions.
1735 * sysdeps/s390/s390-64/multiarch/memcmp.S
1736 (memcmp_z196): Rename to __memcmp_z196.
1737 (memcmp_z10): Rename to __memcmp_z10.
1738 (memcmp): Set alias to __memcmp_z900.
1739 (bcmp): Set alias to __memcmp_z900.
1740 * sysdeps/s390/s390-64/multiarch/memcpy.S
1741 (memcpy_z196): Rename to __memcpy_z196.
1742 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1743 (memcpy_z10): Rename to __memcpy_z10.
1744 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1745 (memcpy): Set alias to __memcpy_z900.
1746 * sysdeps/s390/s390-64/multiarch/memset.S
1747 (memset_z196): Rename to __memset_z196.
1748 Jump to __memset_mvcle instead of memset_mvcle.
1749 (memset_z10): Rename to __memset_z10.
1750 Jump to __memset_mvcle instead of memset_mvcle.
1751 (memset_mvcle) Rename to __memset_mvcle.
1752 (memset): Set alias to __memset_z900.
1753
53fbd169
JM
17542015-01-14 Joseph Myers <joseph@codesourcery.com>
1755
1756 [BZ #17748]
1757 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1758 __fesetenv instead of fesetenv.
1759
d639a363
SP
17602015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1761
1762 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1763 macro.
1764
d3b00f46
AZ
17652015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766
ce6615c9
AZ
1767 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1768 regression on LE.
1769
d3b00f46
AZ
1770 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1771 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1772 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1773 strncmp-power8 object.
1774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1775 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1776 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1777 * NEWS: Update.
1778
72607db0
RS
17792015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1780 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1781
1782 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1783 trailing byte check.
1784
54dc5461
DM
17852015-01-13 David S. Miller <davem@davemloft.net>
1786
1787 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1788
1c6e6f23
RM
17892015-01-13 Roland McGrath <roland@hack.frob.com>
1790
1791 * login/logout.c (logout): Use memset rather than bzero.
1792 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1793 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1794 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1795 (_gethtbyaddr): Likewise.
1796 * locale/programs/simple-hash.c (bcopy): Macro removed.
1797
96d6fd6c
AZ
17982015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1799
8bedcb5f
AZ
1800 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1801 Add strcmp-power8 object.
1802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1803 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1804 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1805 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1806 __strcmp_power8 implementation.
1807 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1808 * NEWS: Update.
1809
f06a4faf
AZ
1810 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1811 Add strncpy-power8 and stpncpy-power8 objects.
1812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1813 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1814 implementations.
1815 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1816 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1817 __stpncpy_power8 implementation.
1818 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1819 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1820 __strncpy_power8 implementation.
1821 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1822 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1823 * NEWS: Update.
1824
9f2f36e5
AZ
1825 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1826 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1827 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1828
96d6fd6c 1829 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1830 strncat-power8 object.
1831 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1832 __strcat_power8 implementation.
1833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1834 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1835 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1836 optimized strcat for power8.
1837
1838 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1839 strcpy-power8 and stpcpy-power8 objects.
1840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1841 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1842 implementations.
1843 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1844 multiarch stpcpy implementation for POWER8.
1845 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1846 multiarch strcpy implementation for POWER8.
1847 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1848 __strcpy_power8 function.
1849 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1850 stpcpy for POWER8.
1851 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1852 strcpy for POWER8.
1853 * NEWS: Update.
1854
0f9e5854
LH
18552015-01-13 Leonhard Holz <leonhard.holz@web.de>
1856
1857 [BZ #16009]
1858 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1859 weights and rules. Use do_xfrm_cached if data fits in cache,
1860 do_xfrm otherwise. Moved former main loop to...
1861 * (do_xfrm_cached): New function.
1862 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1863 find_idx, find_position and stack_push.
1864 * (find_idx): New function.
1865 * (find_position): Likewise.
1866 * localedata/sort-test.sh: Added test run for do_xfrm.
1867 * localedata/xfrm-test.c (main): Added command line option
1868 -nocache to run the test with strings that are too large for
1869 the STRXFRM cache.
1870
c60ec0e0
TR
18712015-01-13 Torvald Riegel <triegel@redhat.com>
1872
1873 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1874 variable to lll_futex_wake call, not the value itself.
1875
34e93d6c
JM
18762015-01-12 Joseph Myers <joseph@codesourcery.com>
1877
5a9e4c09
JM
1878 [BZ #17803]
1879 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1880 twom64. Adjust value to 0x1p-64L.
1881 (__scalblnl): Only return standard underflowing result for K <=
1882 -64 not K <= -63; adjust exponent for underflowing result by 64
1883 not 63.
1884 * math/libm-test.inc (scalbn_test_data): Add more tests.
1885 (scalbln_test_data): Likewise.
1886
34e93d6c
JM
1887 [BZ #17834]
1888 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1889 0x1p63L.
1890 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1891 not HX.
1892 * math/libm-test.inc (scalbn_test_data): Add more tests.
1893 (scalbln_test_data): Likewise.
1894
ca677d3c
AZ
18952015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1896 Stefani Seibold <stefani@seibold.net>
1897
1898 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1899 (sysdep_routines): Add dl-vdso here, ...
1900 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1901 (sysdep_routines): ... not here.
1902 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1903 fallback when vDSO is not presented.
1904 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1905 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1906 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1907 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1908 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1909 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1910 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1911 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1912 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1914 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1915 fallback configurable symbol when vDSO is not available.
1916 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1917 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1918 be able to redefine fallback symbol when vDSO is not available.
1919 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1920 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1921
49a9f6ab 19222015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1923
56cf2763
AZ
1924 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1925 (TLS_INIT_TP): Add tm_capable initialization.
1926 (TLS_DEFINE_INIT_TP): Likewise.
1927 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1928 TCB.
1929 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1930 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1931 calculation.
1932 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1933 transactoion is lock elision is built and TCB tm_capable is set.
1934 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1936 (INTERNAL_SYSCALL_NCS): Likewise.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1938 (INTERNAL_SYSCALL_NCS): Likewise.
1939 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1940
4b45943a
AZ
1941 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1942 for powerpc.
1943 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1944 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1945 and remove it for 32 bits case.
1946 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1948 initialization.
1949 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1950 Disable lock elision with rdlocks if elision is not available.
1951
8d2c0a59
AZ
1952 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1953 (sysdep_routines): Add lock elision objects.
1954 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1955 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1956 [pthread_mutex_t] (__elision): Add field.
1957 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1958 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1959 elision definitions for powerpc.
1960 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1961 implementation of lock elision for powerpc.
1962 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1963 implementation of timed lock elision for powerpc.
1964 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1965 implementation of trylock with lock elision for powerpc.
1966 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1967 implementaion of unlock for lock elision for powerpc.
1968 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1969 automatic enable lock elision for mutexes.
1970 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1971 transaction execution definitions for powerpc.
1972 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1973 definitions.
1974 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1975 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1976 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1977 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1978 * NEWS: Update.
1979
bc0ed9f7
RM
19802015-01-09 Roland McGrath <roland@hack.frob.com>
1981
1982 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1983 for #include of <shm-directory.h>.
1984
585d9c18
CLT
19852015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1986
1987 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1988 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1989
aee6626c
MF
19902015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1991
1992 [BZ #17791]
1993 * NEWS: Mention bug fix.
1994 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1995 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1996 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1997
9e560f48
TR
19982015-01-09 Torvald Riegel <triegel@redhat.com>
1999
2000 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2001
e1cfbd0c
TR
20022015-01-09 Torvald Riegel <triegel@redhat.com>
2003
2004 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2005
cf71e44f
DH
20062015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2007
2008 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2009 pointer and cast to uintptr_t.
2010
b360ee62
DH
20112015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2012
2013 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2014 removed.
2015 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2016
caff764e
DH
20172015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2018
2019 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2020 of 0.
2021
59ff172f
RM
20222015-01-08 Roland McGrath <roland@hack.frob.com>
2023
c97d27f1
RM
2024 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2025 <nptl/pthreadP.h> instead.
2026 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2027
08734ccd
RM
2028 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2029 already defined.
2030 [__SIGRTMIN] (init): Function removed.
2031 [__SIGRTMIN] (initialized): Variable removed.
2032 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2033 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2034 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2035 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2036 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2037 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2038 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2039 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2040 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2041 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2042 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2043 * sysdeps/nptl/allocrtsig.c: New file.
2044 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2045 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2046 * sysdeps/generic/testrtsig.h: File removed.
2047
7b052e33
RM
2048 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2049 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2050
cc40d25e
RM
2051 * nptl/nptl-init.c (pthread_functions): Conditionalize
2052 .ptr__nptl_setxid initialization on [SIGSETXID].
2053
9287adf0
RM
2054 * sysdeps/nptl/sys/procfs.h: New file.
2055 * nptl_db/Makefile (headers): Add it.
2056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2057
59ff172f
RM
2058 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2059 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2060 * nptl/pthread_attr_setaffinity.c: Include it.
2061 * nptl/pthread_setattr_default_np.c: Likewise.
2062 * nptl/check-cpuset.h: New file.
2063
b9205857
RH
20642015-01-08 Richard Henderson <rth@redhat.com>
2065
2066 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2067 (CFLAGS-tst-execstack-prog.c): Likewise.
2068 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2069
1a0a8d15
CLT
20702015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2071 Sandra Loosemore <sandra@codesourcery.com>
2072 Andrew Jenner <andrew@codesourcery.com>
2073 Joseph Myers <joseph@codesourcery.com>
2074 Nathan Sidwell <nathan@codesourcery.com>
2075
2076 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2077 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2078 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2079 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2080 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2081 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2082 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2083 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2084 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2085 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2086 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2087 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2088 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2089 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2090 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2091 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2092 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2093
dd6e8af6
AZ
20942015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095
2096 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2097 timespec struct member in syscall macro.
2098 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2099 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2100 first timeval struct member in syscall macro.
2101 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2102
8116321f
JM
21032015-01-07 Joseph Myers <joseph@codesourcery.com>
2104
2105 [BZ #17748]
2106 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2107 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2108 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2109 __feupdateenv and define as weak alias of __feupdateenv. Use
2110 libm_hidden_weak.
2111 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2112 libm_hidden_def.
2113 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2114 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2115 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2116 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2117 libm_hidden_def.
2118 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2119 __feupdateenv and define as weak alias of __feupdateenv. Use
2120 libm_hidden_weak.
2121 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2122 libm_hidden_def.
2123 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2124 __feupdateenv and define as weak alias of __feupdateenv. Use
2125 libm_hidden_weak.
2126 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2127 libm_hidden_def.
2128 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2129 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2130 (__feupdateenv): Likewise.
2131 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2132 __feupdateenv and define as weak alias of __feupdateenv. Use
2133 libm_hidden_weak.
2134 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2135 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2136 libm_hidden_def.
2137 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2138 function.
2139 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2140 libm_hidden_def.
2141 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2142 __feupdateenv instead of feupdateenv.
2143 (default_libc_feupdateenv_test): Likewise.
2144 (libc_feresetround_ctx): Likewise.
2145
882dfe18
AZ
21462015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147
2148 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2149 prototype.
2150
39a12f8d
CM
21512015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2152
2153 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2154 COLL_SYM in a couple of places to avoid uninitialized variable
2155 wanings on tilegx gcc 4.8.2.
2156
dc400d7b
RE
21572015-01-07 Richard Earnshaw <rearnsha@arm.com>
2158
2159 * sysdeps/aarch64/strcpy.S: New file.
2160 * sysdeps/aarch64/stpcpy.S: New file.
2161 * NEWS: Updated.
2162
ec582ca0
RE
21632015-01-07 Richard Earnshaw <rearnsha@arm.com>
2164
2165 * sysdeps/aarch64/strrchr.S: New file.
2166 * NEWS: Updated.
2167
d5b1c5ed
EB
21682015-01-07 Eric Biggers <ebiggers3@gmail.com>
2169
2170 [BZ #17658]
2171 * stdlib/setenv.c: Fix memory leak when setting large,
2172 duplicate string.
2173
fb87ee96
VN
21742015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2175
60f046a8 2176 [BZ #17273]
fb87ee96
VN
2177 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2178 and tabs from buffer before parsing fstab entry.
2179 * misc/tst-mntent.c (main): Add test for mount entry with
2180 trailing spaces and tabs.
2181
cd42798a
JM
21822015-01-06 Joseph Myers <joseph@codesourcery.com>
2183
01238691
JM
2184 [BZ #17748]
2185 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2186 * math/fesetround.c (fesetround): Rename to __fesetround and
2187 define as weak alias of __fesetround. Use libm_hidden_weak.
2188 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2189 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2190 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2191 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2192 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2193 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2194 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2195 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2196 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2197 __fesetround_inline.
2198 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2199 __fesetround_inline instead of __fesetround.
2200 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2201 __fesetround and define as weak alias of __fesetround. Use
2202 libm_hidden_weak. Call __fesetround_inline instead of
2203 __fesetround.
2204 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2205 __fesetround and define as weak alias of __fesetround. Use
2206 libm_hidden_weak.
2207 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2208 Likewise.
2209 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2210 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2211 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2212 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2213 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2214 __fesetround and define as weak alias of __fesetround. Use
2215 libm_hidden_weak.
2216 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2217 __fesetround instead of fesetround.
2218 (default_libc_feholdexcept_setround): Likewise.
2219 (libc_feholdsetround_ctx): Likewise.
2220 (libc_feholdsetround_noex_ctx): Likewise.
2221
cd42798a
JM
2222 [BZ #17748]
2223 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2224 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2225 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2226 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2227 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2228 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2229 define as weak alias of __fesetenv. Use libm_hidden_weak.
2230 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2231 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2232 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2233 define as weak alias of __fesetenv. Use libm_hidden_weak.
2234 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2235 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2236 define as weak alias of __fesetenv. Use libm_hidden_weak.
2237 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2238 libm_hidden_def.
2239 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2240 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2241 Likewise.
2242 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2243 define as weak alias of __fesetenv. Use libm_hidden_weak.
2244 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2245 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2246 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2247 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2248 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2249 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2250 __fesetenv instead of fesetenv.
2251 (libc_feresetround_noex_ctx): Likewise.
2252 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2253 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2254 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2255 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2256 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2257 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2258 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2259 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2260 (__feupdateenv): Likewise.
2261 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2262 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2263 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2264 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2265
38949026
AJ
22662015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2267
1cf98e27 2268 [BZ #17806]
38949026
AJ
2269 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2270 addresses have been freed.
2271
5fe55e9c
AJ
22722015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2273
2274 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2275 and nservall.
2276
dc8ab018
OB
22772015-01-06 Ondřej Bílka <neleai@seznam.cz>
2278
2279 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2280 Clean up check_pf allocation pattern. addresses
2281
14bb4e57
AZ
22822015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283
2284 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2285 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2286 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2287 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2288 * nptl/pthread_join.c (pthread_join): Likewise.
2289 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2290 * sysdeps/posix/waitid.c (__waitid): Likewise.
2291 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2292 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2293 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2294 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2295 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2296 Likewise.
2297 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2298 (__libc_pread64): Likewise.
2299 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2300 (__libc_pwrite): Likewise.
2301 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2302 (__libc_pwrite64): Likewsie.
2303 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2304 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2305 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2306 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2307 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2308 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2309 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2311 Likewise.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2313 (__libc_pread64): Likewise.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2315 Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2317 (__libc_pwrite64): Likewise.
2318 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2319 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2320 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2321 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2322 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2323 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2324 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2325 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2326 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2327 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2328 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2329 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2330 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2331 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2332 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2333 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2334 Likewise.
2335
10a5e112
AS
23362015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2337
2338 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2339 (CFLAGS-test-double.c): Likewise.
2340 (CFLAGS-test-ldouble.c): Likewise.
2341 (CPPFLAGS-test-ifloat.c): Likewise.
2342 (CPPFLAGS-test-idouble.c): Likewise.
2343 (CPPFLAGS-test-ildoubl.c): Likewise.
2344 (CFLAGS-test-test-fenv.c): Remove variable.
2345 (CFLAGS-test-misc.c): Likewise.
2346
57ada0e7
L
23472015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2348
2349 [BZ #17797]
2350 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2351 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2352 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2353 CLOCKS_PER_SEC == 1000000.
2354 * time/clocktest.c (main): Replace %ld with %jd and cast to
2355 intmax_t.
2356
46abb64d
RM
23572015-01-05 Roland McGrath <roland@hack.frob.com>
2358
2359 * sysdeps/generic/unwind-resume.h: New file.
2360 * sysdeps/gnu/unwind-resume.c: Include it.
2361 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2362 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2363 argument list.
2364 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2365 global rather than static.
2366 (_Unwind_Resume): Update user.
2367 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2368 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2369 rather than static. Add __attribute__ ((cold)).
2370 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2371 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2372 * sysdeps/arm/arm-unwind-resume.S: New file.
2373 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2374 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2375 * sysdeps/arm/Makefile [$(subdir) = csu]
2376 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2377 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2378 Add rt-arm-unwind-resume.
2379 [$(subdir) = nptl]
2380 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2381 Add pt-arm-unwind-resume.
2382 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2383 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2384
ef9faf13
JM
23852015-01-05 Joseph Myers <joseph@codesourcery.com>
2386
2387 [BZ #17748]
2388 * include/fenv.h (__feholdexcept): Declare. Use
2389 libm_hidden_proto.
2390 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2391 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2392 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2393 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2394 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2395 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2396 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2397 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2398 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2399 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2400 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2401 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2402 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2403 (feholdexcept): Likewise.
2404 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2405 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2406 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2407 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2408 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2409 __feholdexcept instead of feholdexcept.
2410 (default_libc_feholdexcept_setround): Likewise.
2411
295a453e
SE
24122015-01-05 Steve Ellcey <sellcey@imgtec.com>
2413
2414 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2415 to avoid using stl/str to align destination.
2416
882c4b9f
SE
24172015-01-05 Steve Ellcey <sellcey@imgtec.com>
2418
2419 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2420
ac4c11f5
JM
24212015-01-05 Joseph Myers <joseph@codesourcery.com>
2422
2423 [BZ #17796]
2424 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2425 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2426 Define as weak alias not strong alias.
2427
03403e30
SE
24282015-01-05 Steve Ellcey <sellcey@imgtec.com>
2429
2430 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2431 bltzal with addiupc.
2432 (RTLD_START): Ditto.
2433
1dca195e
CM
24342015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2435
00b8b9ba
SP
2436 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2437 for __vdso_* functions in declarations.
2438 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2439 definitions.
2440 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2441 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2442
1dca195e
CM
2443 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2444 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2445 function with cast from llround().
2446 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2447 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2448 Define.
2449
a287953a
JM
24502015-01-05 Joseph Myers <joseph@codesourcery.com>
2451
ab70da77
JM
2452 [BZ #17793]
2453 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2454 Define as weak alias not strong alias.
2455
b8986484
JM
2456 [BZ #17635]
2457 * ctype/ctype-c99.c: New file. isblank implementation moved from
2458 ...
2459 * ctype/ctype-extn.c: ... here.
2460 (__isblank_l): Move to ...
2461 * ctype/ctype-c99_l.c: ... here. New file.
2462 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2463 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2464 Remove variable.
2465 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2466 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2467 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2468 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2469 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2470
a287953a
JM
2471 [BZ #17777]
2472 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2473 (posix_fadvise64): Define as weak alias not strong alias.
2474 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2475 (posix_fallocate64): Likewise.
2476 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2477 Remove variable.
2478 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2479 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2480 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2481 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2482 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2483
b1efe3bb
MF
24842015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2485
2486 [BZ #16191]
2487 * NEWS: Mention bug fix.
2488 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2489 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2490 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2491 (HOST_STACK_END_ADDR): Likewise.
2492
9706dc5f
JM
24932015-01-02 Joseph Myers <joseph@codesourcery.com>
2494
b93c2205
JM
2495 [BZ #17748]
2496 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2497 * math/fegetround.c (fegetround): Rename to __fegetround and
2498 define as weak alias of __fegetround. Use libm_hidden_weak.
2499 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2500 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2501 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2502 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2503 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2504 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2505 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2506 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2507 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2508 Undefine after rather than before function definition; use
2509 parentheses around function name in definition.
2510 (__fegetround): Also undefine macro after function definition.
2511 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2512 __fegetround and define as weak alias of __fegetround. Use
2513 libm_hidden_weak. Do not undefine as macro.
2514 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2515 Likewise.
2516 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2517 __fegetround and define as weak alias of __fegetround. Use
2518 libm_hidden_weak.
2519 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2520 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2521 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2522 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2523 __fegetround and define as weak alias of __fegetround. Use
2524 libm_hidden_weak.
2525 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2526 __fegetround instead of fegetround.
2527
253a59cc
JM
2528 [BZ #17782]
2529 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2530 Condition macro definition on [__USE_MISC].
2531
27dae011
JM
2532 [BZ #17781]
2533 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2534 (struct sigaction): Change type of sa_flags field to int.
2535
172019c0
JM
2536 [BZ #17780]
2537 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2538 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2539 __glibc_reserved0.
2540
522ad1d6
JM
2541 * nptl/version.c (banner): Use single year in copyright notice.
2542
9706dc5f
JM
2543 * NEWS: Update copyright dates.
2544 * catgets/gencat.c (print_version): Likewise.
2545 * csu/version.c (banner): Likewise.
2546 * debug/catchsegv.sh: Likewise.
2547 * debug/pcprofiledump.c (print_version): Likewise.
2548 * debug/xtrace.sh (do_version): Likewise.
2549 * elf/ldconfig.c (print_version): Likewise.
2550 * elf/ldd.bash.in: Likewise.
2551 * elf/pldd.c (print_version): Likewise.
2552 * elf/sotruss.sh: Likewise.
2553 * elf/sprof.c (print_version): Likewise.
2554 * iconv/iconv_prog.c (print_version): Likewise.
2555 * iconv/iconvconfig.c (print_version): Likewise.
2556 * locale/programs/locale.c (print_version): Likewise.
2557 * locale/programs/localedef.c (print_version): Likewise.
2558 * login/programs/pt_chown.c (print_version): Likewise.
2559 * malloc/memusage.sh (do_version): Likewise.
2560 * malloc/memusagestat.c (print_version): Likewise.
2561 * malloc/mtrace.pl: Likewise.
2562 * manual/libc.texinfo: Likewise.
2563 * nptl/version.c (banner): Likewise.
2564 * nscd/nscd.c (print_version): Likewise.
2565 * nss/getent.c (print_version): Likewise.
2566 * nss/makedb.c (print_version): Likewise.
2567 * posix/getconf.c (main): Likewise.
2568 * scripts/test-installation.pl: Likewise.
2569 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2570
b8607aac
WN
25712015-01-02 Will Newton <will.newton@linaro.org>
2572
2573 * sysdeps/arm/armv7/configure: Removed.
2574 * sysdeps/arm/armv7/configure.ac: Likewise.
2575
b168057a
JM
25762015-01-02 Joseph Myers <joseph@codesourcery.com>
2577
2578 * All files with FSF copyright notices: Update copyright dates
2579 using scripts/update-copyrights.
2580 * intl/plural.c: Regenerated.
2581 * locale/programs/charmap-kw.h: Likewise.
2582 * locale/programs/locfile-kw.h: Likewise.
2583
b217c15f
SP
25842015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2585
2586 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2587
73a268c7
JM
25882014-12-31 Joseph Myers <joseph@codesourcery.com>
2589
2590 [BZ #17748]
2591 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2592 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2593 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2594 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2595 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2596 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2597 define as weak alias of __fegetenv. Use libm_hidden_weak.
2598 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2599 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2600 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2601 define as weak alias of __fegetenv. Use libm_hidden_weak.
2602 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2603 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2604 define as weak alias of __fegetenv. Use libm_hidden_weak.
2605 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2606 libm_hidden_def.
2607 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2608 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2609 Likewise.
2610 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2611 define as weak alias of __fegetenv. Use libm_hidden_weak.
2612 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2613 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2614 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2615 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2616 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2617 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2618 __fegetenv instead of fegetenv.
2619 (libc_feholdsetround_noex_ctx): Likewise.
2620
0bd95672
MF
26212014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2622
2623 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2624 (Elf_MIPS_ABIFlags_v0): New structure.
2625 (EF_MIPS_FP64): Define.
2626 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2627 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2628 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2629 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2630 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2631 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2632 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2633 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2634 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2635 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2636 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2637 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2638 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2639 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2640 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2641 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2642 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2643 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2644 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2645 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2646 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2647 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2648 field.
2649 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2650 EF_MIPS_FP64.
2651 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2652 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2653 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2654 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2655 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2656 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2657 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2658 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2659 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2660 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2661 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2662 record the current FP ABI extension.
2663 (mips-mode-switch): Define to show if kernel headers support mode
2664 switching.
2665 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2666 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2667 supported SYSV ABI version to 3.
2668 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2669 feature.
2670
f59ad976
RS
26712014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2672 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2673
2674 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2675 path.
2676 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2677
4a3d3999
JM
26782014-12-31 Joseph Myers <joseph@codesourcery.com>
2679
2680 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2681 __fegetround and redefine to call __fegetround. Remove condition
2682 on [!__NO_MATH_INLINES].
2683 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2684 function.
2685 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2686 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2687 Remove macro.
2688 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2689 instead of <fenv_libc.h>.
2690 (__llrintl): Call fegetround instead of __fegetround.
2691 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2692 instead of <fenv_libc.h>.
2693 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2694 (__lrintl): Call fegetround instead of __fegetround.
2695 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2696 instead of <fenv_libc.h>.
2697 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2698 (__rintl): Call fegetround instead of __fegetround.
2699
195f3afc
SP
27002014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2701
2702 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2703 arrays.
2704
7062bd42
L
27052014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2706
2707 [BZ #17775]
2708 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2709 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2710 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2711
07256e18
AS
27122014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2713
2714 * sysdeps/i386/tls-macros.h: Include <features.h>.
2715 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2716 (TLS_IE): Likewise.
2717 (TLS_LD): Likewise.
2718 (TLS_GD): Likewise.
2719 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2720 define for GCC >= 5.0.
2721
1ff950ad
CM
27222014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2723
2724 * math/test-fenv.c (test_single_exception, set_single_exc,
2725 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2726 feexcp_mask_test, feenable_test, fe_single_test): Add
2727 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2728 case where they are not used.
2729 * math/libm-test.inc: Likewise.
2730 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2731 unused in the absence of FP rounding/exception support.
2732 * stdio-common/tst-printf-round.c: Likewise.
2733 * stdlib/tst-strtod-round.c: Likewise.
2734 * stdlib/tst-strtod-underflow.c: Likewise.
2735
0747f818
JM
27362014-12-30 Joseph Myers <joseph@codesourcery.com>
2737
2738 [BZ #17723]
2739 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2740 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2741 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2742 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2743 libm_hidden_weak.
2744 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2745 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2746 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2747 libm_hidden_def.
2748 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2749 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2750 libm_hidden_weak.
2751 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2752 Likewise.
2753 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2754 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2755 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2756 libm_hidden_weak.
2757 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2758 libm_hidden_def.
2759 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2760 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2761 (__feraiseexcept): Likewise.
2762 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2763 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2764 libm_hidden_weak.
2765 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2766 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2767 libm_hidden_def.
2768 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2769 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2770 Use libm_hidden_def.
2771 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2772 libm_hidden_def.
2773 (feraiseexcept): Define as weak not strong alias. Use
2774 libm_hidden_weak.
2775 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2776 New inline function. Factored out of ...
2777 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2778 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2779 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2780 feraiseexcept.
2781 * math/w_acos.c (__acos): Likewise.
2782 * math/w_asin.c (__asin): Likewise.
2783 * math/w_ilogb.c (__ilogb): Likewise.
2784 * math/w_j0.c (y0): Likewise.
2785 * math/w_j1.c (y1): Likewise.
2786 * math/w_jn.c (yn): Likewise.
2787 * math/w_log.c (__log): Likewise.
2788 * math/w_log10.c (__log10): Likewise.
2789 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2790 * sysdeps/aarch64/fpu/math_private.h
2791 (libc_feupdateenv_test_aarch64): Likewise.
2792 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2793 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2794 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2795 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2796 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2797 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2798 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2799 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2800 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2801 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2802
8d2b2763
L
28032014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2804
2805 [BZ #17732]
2806 * io/test-utime.c (main): Replace %ld with %jd and cast to
2807 intmax_t.
41fad830 2808 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2809 * nptl/tst-mutex5.c: Include <stdint.h>.
2810 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2811 * posix/tst-regex.c (run_test): Likewise.
2812 (run_test_backwards): Likewise.
5d619de4
L
2813 * rt/tst-clock.c: Include <stdint.h>.
2814 (clock_test): Replace %ld with %jd and cast to intmax_t.
2815 * rt/tst-cpuclock1.c: Include <stdint.h>.
2816 (do_test): Replace %lu with %ju and cast to uintmax_t.
2817 * rt/tst-cpuclock2.c: Include <stdint.h>.
2818 (do_test): Replace %lu with %ju and cast to uintmax_t.
2819 * rt/tst-mqueue1.c: Include <stdint.h>.
2820 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2821 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2822 intmax_t.
2823 * rt/tst-mqueue4.c (do_test): Likewise.
2824 * rt/tst-timer4.c: Include <stdint.h>.
2825 (check_ts): Replace %ld with %jd and cast to intmax_t.
2826 (do_test): Likewise.
ad86fbc3
L
2827 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2828 and cast to intmax_t.
37f46900 2829 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2830 * time/clocktest.c (main): Likewise.
2831 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2832 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2833
8b4416d8
AS
28342014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2835 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2838 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2839 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2840 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2841 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2842 version if bit_Fast_Unaligned_Load is set.
2843 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2844 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2845 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2846 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2847 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2848 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2850 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2851 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2852 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2853 to 4.
2854 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2855 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2856 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2857 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2858
e47b8d3b
CM
28592014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2860
6d6d7fde
CM
2861 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2862 instead of #if to avoid a Wundef warning.
2863 * stdlib/tst-limits.c (do_test): Likewise.
2864
cd2c37c9
CM
2865 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2866 parallel other exception macros.
2867 (fegetenv): Convert from macro to extern inline so that it applies
2868 retroactively to inline functions already seen by the compiler.
2869 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2870
e47b8d3b
CM
2871 * posix/Makefile (before-compile): Use $(objpfx) for
2872 posix-conf-vars-def.h.
2873
4a6aca7b
SP
28742014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2875
7910c2ae
SP
2876 * posix/getconf.c (main): Use size_t for type of I.
2877 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2878 NSPEC.
2879
50cbbaa9
SP
2880 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2881 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2882 * posix/posix-envs.def: Likewise.
2883 * sysdeps/posix/sysconf.c: Likewise.
2884 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2885 (specs): Remove array.
2886 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2887 array.
2888
3b566046
SP
2889 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2890 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2891 (__sysconf): Use CONF_IS_* macros.
2892
4a6aca7b
SP
2893 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2894 ($(objpfx)posix-conf-vars-def.h): New target.
2895 * posix/posix-conf-vars.list: New file.
2896 * posix/posix-conf-vars.h: New file.
2897 * posix/confstr.c: Include posix-conf-vars.h.
2898 (confstr): Use CONF_IS_* macros.
2899 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2900 CONF_IS_* macros.
2901 * scripts/gen-posix-conf-vars.awk: New file.
2902
7c1395a7
CM
29032014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2904
0025b4cc
CM
2905 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2906 fegetround): Add no-op macros to avoid linknamespace issues.
2907
d8aaf74b
CM
2908 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2909 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2910
5d24aa60
CM
2911 * sysdeps/unix/sysv/linux/tile/sysdep.h
2912 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2913 assembly-specific section to avoid a redefinition warning.
2914
7c1395a7
CM
2915 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2916 long before casting to pointer to avoid a cast warning.
2917
3c87c616
CM
29182014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2919
2920 * sysdeps/tile/tilegx/Implies: New file.
2921
f559d8cf
RE
29222014-12-23 Richard Earnshaw <rearnsha@arm.com>
2923
2924 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2925
7d81e8d6
FW
29262014-12-23 Florian Weimer <fweimer@redhat.com>
2927
2928 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2929
90aa3d09
JM
29302014-12-22 Joseph Myers <joseph@codesourcery.com>
2931
2932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2933 not define.
2934 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2935 <kernel-features.h>.
2936 (__utimes) [__NR_utimes]: Make code unconditional.
2937 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2938 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2939 (__ASSUME_UTIMES): Do not undefine.
2940 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2941 (__ASSUME_UTIMES): Likewise.
2942 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2943 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2944 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2945 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2946
4c0c0e2a
SE
29472014-12-22 Steve Ellcey <sellcey@imgtec.com>
2948
2949 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2950
0dacd7a3
CM
29512014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2952
b638f96a
CM
2953 [BZ #17747]
2954 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2955 alias to weak alias for j0l, y0l.
2956 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2957 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2958
0dacd7a3
CM
2959 [BZ #17746]
2960 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2961 conversion.
2962
528479c4
SE
29632014-12-22 Steve Ellcey <sellcey@imgtec.com>
2964
2965 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2966 to zero if not already defined.
2967
f56f9124
JM
29682014-12-22 Joseph Myers <joseph@codesourcery.com>
2969
2970 [BZ #17724]
2971 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2972 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2973 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2974 (char *) casts added.
2975 * sysdeps/ieee754/k_standardf.c: New file.
2976 * sysdeps/ieee754/k_standardl.c: Likewise.
2977 * math/Makefile (libm-support): Remove k_standard.
2978 (libm-calls): Add k_standard.
2979
8622d556
WD
29802014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2981
2982 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2983 Optimize to avoid an unnecessary FPCR read.
2984
f3806bdb
WD
29852014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2986
2987 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2988 Optimize to reduce FPCR/FPSR accesses.
2989
9b47df58
WD
29902014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2991
2992 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2993 Call libc_fetestexcept_aarch64.
2994
97be3cac
WD
29952014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2996
2997 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2998 Call libc_fesetround_aarch64.
2999
935ab817
JM
30002014-12-22 Joseph Myers <joseph@codesourcery.com>
3001
3002 [BZ #17733]
3003 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3004 (__bind): Do not define as weak alias.
3005 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3006 define.
3007 (__getsockname): Do not define as weak alias.
3008
cc8623f1
WN
30092014-12-22 Will Newton <will.newton@linaro.org>
3010
3011 * manual/install.texi: Document that we require bison 2.7
3012 or above.
3013 * INSTALL: Regenerate.
3014 * configure.ac: Use AC_CHECK_PROG_VER instead of
3015 AC_PATH_PROG when checking for bison and check for
3016 version 2.7 or above.
3017 * configure: Regenerate.
3018
a19ca65a
CM
30192014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3020
92901170 3021 [BZ #17745]
e969965a
CM
3022 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3023 * sysdeps/tile/ffsll.c (ffsll): To here.
3024
a19ca65a
CM
3025 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3026
050f7298
L
30272014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3028
3029 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3030 if not defined.
3031 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3032 definition.
3033 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3034 hidden ___tls_get_addr.
3035 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3036 hidden __tls_get_addr.
3037 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3038 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3039 Likewise.
3040
6df5547e
AS
30412014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3042
3043 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3044 _dl_init call.
3045
7432d613
L
30462014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3047
3048 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3049 from "call _dl_init@PLT".
3050 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3051
98fe149e
AK
30522014-12-21 Anders Kaseorg <andersk@mit.edu>
3053
3054 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3055 guarantees.
3056
d12455f5
CM
30572014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3058
3059 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3060
95dee05f
CM
30612014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3062
92901170 3063 [BZ #17744]
95dee05f
CM
3064 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3065 strnlen.
3066
2ef4b74a
SE
30672014-12-19 Steve Ellcey <sellcey@imgtec.com>
3068
3069 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3070 of multu on MIPSr6.
3071 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3072 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3073 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3074 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3075 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3076
30772014-12-19 Steve Ellcey <sellcey@imgtec.com>
3078
3079 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3080 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3081 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3082 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3083 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3084 mips32r6/mips64r6.
3085 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3086
3eb38795
OB
30872014-12-19 Ondřej Bílka <neleai@seznam.cz>
3088
3089 * string/strncat.c (STRNCAT): Simplify implementation.
3090
6d4188dd
DM
30912014-12-19 David S. Miller <davem@davemloft.net>
3092
0d4ba8be
DM
3093 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3094 access the quad as both a long double and as a series of 4 words.
3095
6d4188dd
DM
3096 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3097 link_map->l_info array access.
3098
4ef91cdc
CM
30992014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3100
804c54f7
CM
3101 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3102
4ef91cdc
CM
3103 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3104 * math/atest-exp2.c (TIMEOUT): Likewise.
3105 * math/atest-sincos.c (TIMEOUT): Likewise.
3106
afd176d6
L
31072014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3108
3109 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3110 -Wno-error with -fno-builtin-lround.
3111
a4a43a90
TR
31122014-12-19 Torvald Riegel <triegel@redhat.com>
3113
3114 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3115 Contains futex constants and functions moved over from ...
3116 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3117 <lowlevellock-futex.h>.
3118 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3119 (lll_timedwait_tid): Add comments and parentheses around macro
3120 arguments.
3121
76f71081
TR
31222014-12-19 Torvald Riegel <triegel@redhat.com>
3123
3124 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3125 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3126 (__lll_private_flag): Remove.
3127 (lll_futex_wait): Likewise.
3128 (lll_futex_timed_wait): Likewise.
3129 (lll_futex_wake): Likewise.
3130 (lll_futex_requeue): Likewise.
3131 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3132 (__lll_timedwait_tid): Spell out argument names.
3133 (lll_timedwait_tid): Add comments and parentheses around macro
3134 arguments.
3135 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3136 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3137
6b814909
TR
31382014-12-19 Torvald Riegel <triegel@redhat.com>
3139
3140 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3141 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3142 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3143 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3144 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3145 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3146 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3147 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3148 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3149 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3150 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3151 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3152 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3153 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3154 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3155 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3156 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3157 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3158 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3159
9cd4d4ab
L
31602014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 * sysdeps/x86_64/x32/Makefile: New file.
3163
c9c1a2d0
L
31642014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3165
3166 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3167 1L with (mp_limb_t) 1.
3168
af102d95
RM
31692014-12-17 Roland McGrath <roland@hack.frob.com>
3170
dd690454
RM
3171 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3172 * nptl/libc_pthread_init.c: ... here.
3173 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3174 * nptl/register-atfork.c: ... here.
3175
74eb826c
RM
3176 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3177 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3178 Use assert_perror to check its return value.
3179 (__gai_create_helper_thread): Likewise.
3180
c9ce306b
RM
3181 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3182
af102d95
RM
3183 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3184
8ac5a76a
JM
31852014-12-17 Joseph Myers <joseph@codesourcery.com>
3186
ea41469b
JM
3187 [BZ #17725]
3188 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3189 __profil_counter.
3190 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3191 Likewise.
3192 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3193 Likewise.
3194 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3195 Likewise.
3196 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3197 (profil_counter): Likewise.
3198 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3199 (profil_counter): Likewise.
3200 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3201 Likewise.
3202 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3203 Likewise.
3204 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3205 (profil_counter): Likewise.
3206 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3207 Likewise.
3208 [!__profil_counter] (profil_counter): Define as weak alias of
3209 __profil_counter.
3210 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3211 (profil_counter): Rename to __profil_counter.
3212 [!__profil_counter] (profil_counter): Define as weak alias of
3213 __profil_counter.
3214 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3215 (profil_counter): Rename to __profil_counter.
3216 [!__profil_counter] (profil_counter): Define as weak alias of
3217 __profil_counter.
3218 * sysdeps/posix/profil.c: Update comment referring to
3219 profil_counter.
3220 (__profil): Use __profil_counter instead of profil_counter.
3221 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3222 __profil_counter. Use __profil_counter_ushort and
3223 __profil_counter_uint in definitions.
3224 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3225 instead of profil_counter_uint and profil_counter_ushort.
3226
8ac5a76a
JM
3227 [BZ #17722]
3228 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3229 define as weak alias of __inet_makeaddr.
3230 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3231 as weak alias of __inet_addr.
3232 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3233 as weak alias of __inet_pton. Use libc_hidden_weak.
3234 * include/arpa/inet.h (__inet_pton): Declare. Use
3235 libc_hidden_proto.
3236 (inet_makeaddr): Don't use libc_hidden_proto.
3237 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3238 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3239 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3240 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3241 Remove variable.
3242 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3243 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3244
66ce3cb1
SE
32452014-12-17 Steve Ellcey <sellcey@imgtec.com>
3246
3247 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3248
d22ce01b
SL
32492014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3250
3251 * stdio-common/bug-vfprintf-nargs.c (do_test):
3252 Cast value to intptr_t to avoid format warning
3253 for usage with PRIdPTR printing macro.
3254
eca2772b
SL
32552014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3256
3257 * libio/tst-widetext.c (do_test):
3258 Use format type %td instead of %Zd for ptrdiff_t
3259 in order to avoid format warning.
3260
bdf079da
AS
32612014-12-17 Andreas Schwab <schwab@suse.de>
3262
3263 * nscd/mem.c (gc): Add size_t cast to match printf format.
3264
3eb5d2fc
RM
32652014-12-16 Roland McGrath <roland@hack.frob.com>
3266
3267 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3268 (init): Apply PTR_MANGLE to pointers before storing them.
3269 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3270 before using them.
3271
d003ada2
JM
32722014-12-16 Joseph Myers <joseph@codesourcery.com>
3273
380292ba
JM
3274 [BZ #17719]
3275 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3276 define as weak alias of __memrchr.
3277 (__memrchr): Do not define as strong alias of memrchr.
3278 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3279 Remove variable.
3280 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3281 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3282 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3283
9a44d530
JM
3284 [BZ #17717]
3285 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3286 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3287 (if_indextoname): Rename to __if_indextoname and define as weak
3288 alias of __if_indextoname. Use libc_hidden_weak.
3289 (if_freenameindex): Rename to __if_freenameindex and define as
3290 weak alias of __if_freenameindex.
3291 (if_nameindex): Rename to __if_nameindex and define as weak alias
3292 of __if_nameindex.
3293 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3294 __if_nametoindex and define as weak alias of __if_nametoindex.
3295 Use libc_hidden_weak.
3296 (if_freenameindex): Rename to __if_freenameindex and define as
3297 weak alias of __if_freenameindex.
3298 (if_nameindex): Rename to __if_nameindex and define as weak alias
3299 of __if_nameindex.
3300 (if_indextoname): Rename to __if_indextoname and define as weak
3301 alias of __if_indextoname. Use libc_hidden_weak.
3302 * sysdeps/unix/sysv/linux/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. Use libc_hidden_weak.
3307 (if_nameindex_netlink): Use __if_freenameindex instead of
3308 if_freenameindex.
3309 (if_nameindex): Rename to __if_nameindex and define as weak alias
3310 of __if_nameindex. Use libc_hidden_weak.
3311 (if_indextoname): Rename to __if_indextoname and define as weak
3312 alias of __if_indextoname. Use libc_hidden_weak.
3313 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3314 libc_hidden_proto.
3315 [!_ISOMAC] (__if_freenameindex): Likewise.
3316 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3317 if_nametoindex.
3318 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3319 variable.
3320 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3321 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3322 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3323 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3324 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3325 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3326 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3327
d003ada2
JM
3328 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3329 Remove variable.
3330 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3331 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3332
a0d424ef
SP
33332014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3334
0cd85520
SP
3335 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3336 subscript above bounds'
3337
a0d424ef
SP
3338 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3339 bounds.
3340
0e426475
AS
33412014-12-16 Arjun Shankar <arjun.is@lostca.se>
3342
8b460906
AS
3343 * libio/tst-fopenloc.c: Use test-skeleton.c.
3344
fa13e15b
AS
3345 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3346 (entry): Rename to ITEM.
3347 (do_test, comp): Adjust.
3348
0e426475
AS
3349 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3350
4f646bce
TR
33512014-12-16 Torvald Riegel <triegel@redhat.com>
3352
3353 * string/tester.c: Include <libc-internal.h>.
3354 (test_memset): Ignore -Wmemset-transposed-args.
3355
a07c4427
TR
33562014-12-16 Torvald Riegel <triegel@redhat.com>
3357
3358 * misc/tst-mntent2.c (do_test): Fix warning.
3359
1469f466
TR
33602014-12-16 Torvald Riegel <triegel@redhat.com>
3361
3362 * elf/tst-unique4lib.cc(a): Mark as used.
3363
11e3417a
FW
33642014-12-16 Florian Weimer <fweimer@redhat.com>
3365
3366 [BZ #17630]
3367 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3368 names.
3369
ae61fc7b
AM
33702014-12-16 Allan McRae <allan@archlinux.org>
3371
3372 * stdio-common/Makefile (tests): Re-add bug26.
3373
363a9899
OB
33742014-12-15 Ondřej Bílka <neleai@seznam.cz>
3375
3376 [BZ #17657]
3377 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3378 static array.
3379
d52c62df
TR
33802014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3381
3382 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3383 (__lll_lock_wait): Likewise.
3384 (__lll_timedlock_wait): Likewise.
3385 (__lll_timedwait_tid): Likewise.
3386 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3387 (__lll_robust_timedlock_wait): Likewise.
3388 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3389 (lll_cond_trylock): Likewise.
3390 (__lll_lock): Likewise.
3391 (__lll_robust_lock): Likewise.
3392 (__lll_cond_lock): Likewise.
3393 (lll_robust_cond_lock): Likewise.
3394 (__lll_timedlock): Likewise.
3395 (__lll_robust_timedlock): Likewise.
3396 (__lll_unlock): Likewise.
3397 (__lll_robust_unlock): Likewise.
3398 (lll_wait_tid): Likewise.
3399 (lll_timedwait_tid): Likewise.
3400
045a6bcd
TR
34012014-12-15 Torvald Riegel <triegel@redhat.com>
3402
3403 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3404
7f786dc1
TR
34052014-12-15 Torvald Riegel <triegel@redhat.com>
3406
3407 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3408
e7e21cba
AZ
34092014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3410
3411 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3412 * stdio-common/tst-sprintf.c: Likewise.
3413
bc89c0fc
TR
34142014-12-15 Torvald Riegel <triegel@redhat.com>
3415
3416 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3417
a5357b7c
JL
34182014-12-15 Jeff Law <law@redhat.com>
3419
3420 [BZ #16617]
3421 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3422 on the heap. (CVE-2012-3406)
3423 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3424 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3425 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3426
3a12c70f
WN
34272014-12-15 Will Newton <will.newton@linaro.org>
3428
3429 * manual/install.texi: Bump required version of texinfo
3430 to 4.7 from 4.5.
3431 * INSTALL: Regenerated.
3432 * configure.ac: Check for makeinfo version 4.7 and above.
3433 * configure: Regenerated.
3434
e4f639e4
RM
34352014-12-12 Roland McGrath <roland@hack.frob.com>
3436
3437 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3438 PREFIX, string constant to insert between directory and name.
3439 * sysdeps/posix/shm_open.c: Update caller.
3440 * sysdeps/posix/shm_unlink.c: Likewise.
3441 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3442 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3443 (SEM_SHM_PREFIX): New macro.
3444 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3445 [$(have-thread-library) = no].
3446 * nptl/Makefile (libpthread-routines): Add shm-directory.
3447 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3448 * sysdeps/nptl/shm-directory.h: New file.
3449 * sysdeps/posix/shm-directory.c
3450 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3451 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3452 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3453 INTERNAL_SYSCALL.
3454 (__where_is_shmfs): Function removed.
3455 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3456 Variables removed.
3457 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3458 Use SHM_GET_NAME.
3459 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3460
3461 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3462 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3463 unconditional for use inside libpthread.
3464 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3465
439c43f6
RM
34662014-12-12 Roland McGrath <roland@hack.frob.com>
3467
c76d1ff5
RM
3468 * nptl/pthread_getaffinity.c: New file.
3469 * nptl/pthread_setaffinity.c: New file.
3470 * nptl/pthread_getname.c: New file.
3471 * nptl/pthread_setname.c: New file.
3472
439c43f6
RM
3473 * nptl/pthread_create.c (START_THREAD_DEFN)
3474 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3475
48e435cd
SL
34762014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3477 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3478
3479 * resolv/res_send.c (send_vc): Disable warning resplen may
3480 be used uninitialized.
3481
9d9c0019
SL
34822014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3483
3484 * nptl/tst-mutex6.c
3485 (ATTR_NULL): New define checks ATTR against NULL.
3486 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3487 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3488
9173840b
JL
34892014-12-11 James Lemke <jwlemke@codesourcery.com>
3490
3491 [BZ #17581]
3492 * malloc/hooks.c
3493 (mem2mem_check): Revert my previous change.
3494 (malloc_check_get_size): Revert my previous change.
3495 (mem2chunk_check): Revert my previous change.
3496
78e21c5d
RM
34972014-12-11 Roland McGrath <roland@hack.frob.com>
3498
3499 * sysdeps/posix/shm-directory.c: New file.
3500 * sysdeps/posix/shm-directory.h: New file.
3501 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3502 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3503 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3504 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3505 Transmute EPERM to EACCES.
3506 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3507 from ...
3508 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3509 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3510
f82c43af
KK
35112014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3512
3513 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3514 pointer and cast to uintptr_t.
3515 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3516 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3517 Add cast to avoid warning.
3518 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3519
fc00cf7b
JM
35202014-12-11 Joseph Myers <joseph@codesourcery.com>
3521
3522 * nptl/semaphore.h: Move to ...
3523 * sysdeps/pthread/semaphore.h: ... here.
3524 * Makefile (installed-headers): Change nptl/semaphore.h to
3525 sysdeps/pthread/semaphore.h.
3526
1c4053db
RM
35272014-12-11 Roland McGrath <roland@hack.frob.com>
3528
73b0c1a1
RM
3529 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3530 generated error format strings.
3531
1c4053db
RM
3532 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3533 -Wformat-extra-args warnings for scanf formats.
3534 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3535 test of zero-length format (duh).
3536 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3537 corner-case scanf format test.
3538 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3539 generated fprintf format string.
3540 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3541 corner-case sprintf format tests.
3542 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3543 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3544 -Wformat-extra-args warnings throughout.
3545 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3546 (CFLAGS-scanf4.c): Likewise.
3547 (CFLAGS-scanf7.c): Likewise.
3548 (CFLAGS-tst-sprintf.c): Likewise.
3549 (CFLAGS-tst-printf.c): Likewise.
3550 (CFLAGS-tst-printfsz.c): Likewise.
3551
47d51f4f
JM
35522014-12-11 Joseph Myers <joseph@codesourcery.com>
3553
a1edbf3c
JM
3554 * include/cpio.h: New file.
3555 * include/fmtmsg.h: Likewise.
3556
47d51f4f
JM
3557 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3558 corresponding format argument to size_t.
3559 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3560 arguments.
3561 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3562 corresponding format argument to size_t.
3563 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3564 arguments.
3565 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3566 corresponding format argument to size_t.
3567 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3568 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3569 (CFLAGS-tst-mbswcs2.c): Likewise.
3570 (CFLAGS-tst-mbswcs3.c): Likewise.
3571 (CFLAGS-tst-mbswcs4.c): Likewise.
3572 (CFLAGS-tst-mbswcs5.c): Likewise.
3573 (CFLAGS-tst-trans.c): Likewise
3574
e9813cfb
RM
35752014-12-11 Roland McGrath <roland@hack.frob.com>
3576
3577 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3578 rather than assuming they won't contain any '%'s.
3579
f627ca82
CM
35802014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3581
3582 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3583 inhibit_loop_to_libcall to avoid recursive calls.
3584 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3585 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3586
7f296942
AZ
35872014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3588
3589 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3590 prototype.
3591
d0276e18
SE
35922014-12-11 Steve Ellcey <sellcey@imgtec.com>
3593
3594 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3595 integer value instead of boolean.
3596
fc56e970
SE
35972014-12-11 Steve Ellcey <sellcey@imgtec.com>
3598
3599 * malloc/malloc.c: Fix powerof2 check.
3600
40e53917
SL
36012014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3602
3603 * locale/programs/locfile.h (maybe_swap_uint32):
3604 Remove inline and add unused attribute.
3605
1ea166df
SL
36062014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3607
9d9c0019 3608 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3609 Truncating assembler expression to a .long expression.
3610
acf869f4
AS
36112014-12-11 Andreas Schwab <schwab@suse.de>
3612
3613 * elf/rtld.c (struct map_args): Constify str member.
3614 (do_preload): Constify fname argument.
3615
9d969099
AZ
36162014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3617
3618 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3619 constants definition.
3620
da5bcaa4
AS
36212014-12-11 Andreas Schwab <schwab@suse.de>
3622
b0a3c164
AS
3623 [BZ #16657]
3624 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3625 FORCE_ELISION instead of DO_ELISION.
3626 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3627 Remove.
3628 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3629 Likewise.
3630
da5bcaa4
AS
3631 * iconvdata/gconv-modules: Remove duplicate entry.
3632
6d248857
WN
36332014-12-11 Will Newton <will.newton@linaro.org>
3634
3635 Merge gettext 0.19.3 into intl/.
3636
3637 This involves a number of cosmetic changes to comments
3638 and ANSI function definitions and prototypes throughout
3639 all the files. The gettext copyright header is used but
3640 with the date ranges taken from the glibc copy.
3641
3642 * NEWS: Add gettext merge to 2.21.
3643 * intl/bindtextdom.c: Switch to gettext copyright.
3644 Use ANSI definitions and prototypes.
3645 Use gl_* locking primitives rather than __libc_* ones.
3646 Use __builtin_expect rather than __glibc_likely/unlikely.
3647 * intl/dcgettext.c: Switch to gettext copyright.
3648 Use ANSI definitions and prototypes.
3649 * intl/dcigettext.c: Switch to gettext copyright.
3650 Use ANSI definitions and prototypes.
3651 (INTDIV0_RAISES_SIGFPE): New define.
3652 Use gl_* locking primitives rather than __libc_* ones.
3653 Include eval-plural.h instead of plural-eval.c.
3654 Use __builtin_expect rather than __glibc_likely/unlikely.
3655 * intl/dcngettext.c: Switch to gettext copyright.
3656 Use ANSI definitions and prototypes.
3657 * intl/dgettext.c: Likewise.
3658 * intl/dngettext.c: Likewise.
3659 * intl/plural-eval.c: Renamed to...
3660 * intl/eval-plural.h: ...this.
3661 * intl/explodename.c: Switch to gettext copyright.
3662 Use ANSI definitions and prototypes.
3663 (_nl_explode_name): Use strchr instead of __rawmemchr.
3664 * intl/finddomain.c: Switch to gettext copyright.
3665 Use ANSI definitions and prototypes.
3666 Use gl_* locking primitives rather than __libc_* ones.
3667 (_nl_find_domain): Use malloc rather than alloca for
3668 allocation of temporary locale name.
3669 * intl/gettext.c: Switch to gettext copyright.
3670 Use ANSI definitions and prototypes.
3671 * intl/gettextP.h: Switch to gettext copyright.
3672 Use ANSI definitions and prototypes.
3673 Use gl_* locking primitives rather than __libc_* ones.
3674 * intl/gmo.h: Switch to gettext copyright.
3675 (struct sysdep_string): Move struct segment_pair outside of
3676 struct definition.
3677 * intl/hash-string.c: Use ANSI definitions and prototypes.
3678 * intl/hash-string.h: Switch to gettext copyright.
3679 Use ANSI definitions and prototypes.
3680 * intl/l10nflist.c: Switch to gettext copyright.
3681 Use ANSI definitions and prototypes.
3682 (_nl_normalize_codeset): Avoid integer overflow.
3683 * intl/loadinfo.h: Switch to gettext copyright.
3684 Use ANSI definitions and prototypes.
3685 (LIBINTL_DLL_EXPORTED): New define.
3686 (PATH_SEPARATOR): New define.
3687 * intl/loadmsgcat.c: Switch to gettext copyright.
3688 * intl/localealias.c: Switch to gettext copyright.
3689 Use ANSI definitions and prototypes.
3690 (_nl_expand_alias): Use PATH_SEPARATOR.
3691 * intl/ngettext.c: Switch to gettext copyright.
3692 Use ANSI definitions and prototypes.
3693 * intl/plural-exp.c: Likewise.
3694 * intl/plural-exp.h: Switch to gettext copyright.
3695 Use ANSI definitions and prototypes.
3696 (struct expression): Move definition of enum operator outside
3697 of struct definition.
3698 * intl/plural.c: Regenerate.
3699 * intl/plural.y: Switch to gettext copyright.
3700 Use ANSI definitions and prototypes.
3701 Port to bison 3.0.
3702 * intl/textdomain.c: Switch to gettext copyright.
3703 Use ANSI definitions and prototypes.
3704 Use gl_* locking primitives rather than __libc_* ones.
3705
48c43298
SE
37062014-12-10 Steve Ellcey <sellcey@imgtec.com>
3707
3708 * debug/warning-nop.c: Add used atrribute.
3709
2b89bce9
JM
37102014-12-10 Joseph Myers <joseph@codesourcery.com>
3711
c153ac9f
JM
3712 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3713
2b89bce9
JM
3714 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3715 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3716 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3717
2cfbdb9a
JM
37182014-12-10 Joseph Myers <joseph@codesourcery.com>
3719 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3720
3721 [BZ #17634]
3722 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3723 Undefine after defining function. Define as weak alias of
3724 __wcschr. Use libc_hidden_weak.
3725 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3726 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3727 (libc_hidden_def): Also define __GI___wcschr alias.
3728 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3729 __wcschr and define as weak alias of __wcschr.
3730 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3731 __wcschr.
3732 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3733 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3734 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3735 libc_hidden_weak. Do not use libc_hidden_def.
3736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3737 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3738 __GI___wcschr alias.
3739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3740 [IS_IN (libc)] (wcschr): Define as macro expanding to
3741 __redirect_wcschr.
3742 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3743 [IS_IN (libc)] (__wcschr_power6): Likewise.
3744 [IS_IN (libc)] (__wcschr_power7): Likewise.
3745 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3746 instead of wcschr.
3747 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3748 __libc_wcschr.
3749 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3750 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3751 __wcschr and define as weak alias of __wcschr. Use
3752 libc_hidden_builtin_def.
3753 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3754 as weak alias of __wcschr. Use libc_hidden_weak.
3755 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3756 wcschr.
3757 * time/era.c (_nl_init_era_entries): Likewise.
3758 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3759 variable.
3760 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3761 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3762
1b8bf351
JM
37632014-12-10 Joseph Myers <joseph@codesourcery.com>
3764
3765 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3766 format for long int variable.
3767
f5f46d51
AK
37682014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3769
3770 [BZ #10672]
07008f7d 3771 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3772 qsort stable.
3773
217a74a8
AS
37742014-12-10 Andreas Schwab <schwab@suse.de>
3775
3776 [BZ #12847]
3777 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3778 user-controlled locks.
3779
aa76a5c7
RE
37802014-12-10 Richard Earnshaw <rearnsha@arm.com>
3781
3782 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3783 register.
3784
2084e7ca
JM
37852014-12-10 Joseph Myers <joseph@codesourcery.com>
3786
a4ecc9eb
JM
3787 * configure.ac (--disable-werror): New configure option.
3788 (enable_werror): New AC_SUBST.
3789 * configure: Regenerated.
3790 * config.make.in (enable-werror): New variable.
3791 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3792 -Wno-error=undef.
3793 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3794 * manual/install.texi (Configuring and compiling): Document
3795 --disable-werror.
3796 * INSTALL: Regenerated.
3797 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3798 (CFLAGS-tst-chk2.c): Likewise.
3799 (CFLAGS-tst-chk3.c): Likewise.
3800 (CFLAGS-tst-chk4.cc): Likewise.
3801 (CFLAGS-tst-chk5.cc): Likewise.
3802 (CFLAGS-tst-chk6.cc): Likewise.
3803 (CFLAGS-tst-lfschk1.c): Likewise.
3804 (CFLAGS-tst-lfschk2.c): Likewise.
3805 (CFLAGS-tst-lfschk3.c): Likewise.
3806 (CFLAGS-tst-lfschk4.cc): Likewise.
3807 (CFLAGS-tst-lfschk5.cc): Likewise.
3808 (CFLAGS-tst-lfschk6.cc): Likewise.
3809
0f88636c
JM
3810 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3811 (main): Disable -Wdeprecated-declarations around calls to
3812 register_printf_function.
3813
c81e9deb
JM
3814 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3815 (do_test): Disable -Wdiv-by-zero around some calls to
3816 fwrite_unlocked and fread_unlocked.
3817
2084e7ca
JM
3818 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3819 (DIAG_POP_NEEDS_COMMENT): Likewise.
3820 (_DIAG_STR1): Likewise.
3821 (_DIAG_STR): Likewise.
3822 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3823 * stdio-common/bug21.c: Include <libc-internal.h>.
3824 (do_test): Disable -Wformat around call to sscanf.
3825 * stdio-common/scanf14.c: Include <libc-internal.h>.
3826 (main): Disable -Wformat around some calls to scanf functions.
3827
df7ecc6b
TR
38282014-12-09 Torvald Riegel <triegel@redhat.com>
3829
3830 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3831
2aa3862e
AZ
38322014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3833
3834 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3835 stack variable alignment.
3836
c5c2b7c3
JM
38372014-12-06 Joseph Myers <joseph@codesourcery.com>
3838
3839 [BZ #17682]
3840 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3841 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3842 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3843 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3844 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3845 __getrlimit instead of getrlimit.
3846 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3847 __gettimeofday instead of gettimeofday.
3848 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3849 Likewise.
3850 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3851 Likewise.
3852 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3853 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3854 Remove variable.
3855 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3856 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3857
9752c3cd
AZ
38582014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3859
3860 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3861 for wide-character tests.
3862
4bee4cd9
RM
38632014-12-04 Roland McGrath <roland@hack.frob.com>
3864
3865 * io/openat64.c: #include <libc-internal.h>
3866 (__openat64): Prototypify. Use ignore_value on MODE.
3867 * io/openat.c: Likewise.
3868 * misc/reboot.c: #include <libc-internal.h>
3869 (reboot): Prototypify. Use ignore_value on HOWTO.
3870 * misc/ptrace.c: #include <libc-internal.h>
3871 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3872
84dbedb6
JM
38732014-12-04 Joseph Myers <joseph@codesourcery.com>
3874
3875 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3876 XPG4, UNIX98 and XOPEN2K.
3877 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3878 Remove variable.
3879 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3880
b7a3e1c4 38812014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3882
af50dfc1 3883 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3884 * libio/iofopen.c: Likewise.
3885 * libio/wfileops.c: Likewise.
3886
fe8b4d98
SP
3887 [BZ #17653]
3888 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3889 offset on EOF.
3890 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3891 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3892 (fgets_func): Function pointer to fgets and fgetws.
3893 (do_ftell_test): Add test to verify ftell value after read
3894 EOF.
3895 (do_test): Set fgets_func.
3896
61b4f792
SP
3897 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3898 O_TRUNC flag for w and w+ modes.
3899 (do_rewind_test): Likewise.
3900 (do_ftell_test): Likewise.
3901 (do_write_test): Likewise.
3902
be349d70
SP
3903 [BZ #17647]
3904 * libio/fileops.c (do_ftell): Seek only when there are
3905 unflushed writes.
3906 * libio/wfileops.c (do_ftell_wide): Likewise.
3907 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3908 test case.
3909 (do_one_test): Call it.
3910
e3d6dba5
JM
39112014-12-03 Joseph Myers <joseph@codesourcery.com>
3912
3913 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3914 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3915 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3916 Remove variable.
3917 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3918 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3919 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3920
7f994279
JM
39212014-12-02 Joseph Myers <joseph@codesourcery.com>
3922
28a91e8f
JM
3923 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3924 Remove variable.
3925 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3926
7f994279
JM
3927 [BZ #17668]
3928 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3929 as weak alias of __getifaddrs. Use libc_hidden_weak.
3930 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3931 __freeifaddrs. Use libc_hidden_weak.
3932 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3933 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3934 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3935 __freeifaddrs. Use libc_hidden_weak.
3936 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3937 __getifaddrs and define as weak alias of __getifaddrs. Use
3938 libc_hidden_weak.
3939 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3940 __freeifaddrs. Use libc_hidden_weak.
3941 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3942 Remove variable.
3943 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3944 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3945
bbe4c142
PJ
39462014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3947
3948 [BZ #17601]
3949 * sysdeps/mips/start.S (__start): Use indirect jump to call
3950 __libc_start_main.
3951
66cadc05
JM
39522014-12-02 Joseph Myers <joseph@codesourcery.com>
3953
909e16d9
JM
3954 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3955
4e0b9016
JM
3956 * nptl/tst-mutex1.c: Include <stdbool.h>.
3957 [!ATTR] (ATTR_NULL): New macro.
3958 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3959 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3960 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3961
b1aff6a4
JM
3962 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3963 to char *.
3964
266865c0
JM
3965 [BZ #17665]
3966 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3967 Change conditional to [__USE_MISC].
3968
84e5e756
JM
3969 [BZ #17664]
3970 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3971 fgets_unlocked.
3972 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3973 __fgets_unlocked.
3974 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3975 fgets_unlocked.
3976 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3977 Remove variable.
3978 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3979 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3980 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3981 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3982 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3983 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3984 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3985 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3986 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3987
66cadc05
JM
3988 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3989
2e8a2de2 39902014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3991
3992 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3993 Remove strpbrk objects.
3994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3995 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3996 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3997 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3998 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3999 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4000
bb2542e0
AZ
4001 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4002 Remove strcspn objects.
4003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4004 (__libc_ifunc_impl_list): Remove strcspn implementation.
4005 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4006 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4007 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4008 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4009
4010 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4011 Remove strspn objetcs.
4012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4013 (__libc_ifunc_impl_list): Remove strspn implementation.
4014 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4015 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4016 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4017 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4018
08f1e1d2
JL
40192014-12-01 James Lemke <jwlemke@codesourcery.com>
4020
4021 [BZ #17581]
4022 * malloc/hooks.c
4023 (mem2mem_check): Add a terminator to the chain of checking blocks.
4024 (malloc_check_get_size): Use it here.
4025 (mem2chunk_check): Ditto.
4026
a8a7d7d2
RS
40272014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4028
4029 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4030 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4031
97114a38
CD
40322014-11-29 Carlos O'Donell <carlos@redhat.com>
4033
c8dc1727
CD
4034 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4035
6d03458e
CD
4036 * nptl/nptl-init.c: Include libc-internal.h.
4037 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4038
97114a38
CD
4039 * elf/ldconfig.c (search_dir): Expand comment.
4040
0e7e69ba
JM
40412014-11-29 Joseph Myers <joseph@codesourcery.com>
4042
4043 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4044 variable.
4045 (linknamespace-symlist-stdlibs-tests): Likewise.
4046 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4047 instead of $(objpfx)symlist-stdlibs.
4048 (linknamespace-libs-isoc): New variable.
4049 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4050 (linknamespace-libs-ISO): New variable.
4051 (linknamespace-libs-ISO99): Likewise.
4052 (linknamespace-libs-ISO11): Likewise.
4053 (linknamespace-libs-XPG3): Likewise.
4054 (linknamespace-libs-XPG4): Likewise.
4055 (linknamespace-libs-POSIX): Likewise.
4056 (linknamespace-libs-UNIX98): Likewise.
4057 (linknamespace-libs-XOPEN2K): Likewise.
4058 (linknamespace-libs-POSIX2008): Likewise.
4059 (linknamespace-libs-XOPEN2K8): Likewise.
4060 ($(objpfx)symlist-stdlibs): Replace by
4061 $(linknamespace-symlist-stdlibs-tests). Use
4062 $(linknamespace-libs-$*) as set of libraries.
4063 ($(linknamespace-header-tests)): Update dependencies. Use
4064 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4065 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4066 * conform/linknamespace.pl: Remove comment about considering
4067 definitions of symbols from irrelevant libraries.
4068
d8dd0080
L
40692014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4070
4071 [BZ #13862]
4072 * elf/dl-tls.c: Include <atomic.h>.
4073 (oom): Remove #ifdef SHARED/#endif.
4074 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4075 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4076 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4077 big enough.
4078 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4079 * nptl/Makefile (tests): Add tst-stack4.
4080 (modules-names): Add tst-stack4mod.
4081 ($(objpfx)tst-stack4): New.
4082 (tst-stack4mod.sos): Likewise.
4083 ($(objpfx)tst-stack4.out): Likewise.
4084 ($(tst-stack4mod.sos)): Likewise.
4085 (clean): Likewise.
4086 * nptl/tst-stack4.c: New file.
4087 * nptl/tst-stack4mod.c: Likewise.
4088
167da422
B
40892014-11-27 J. Brown <jb999@gmx.de>
4090
4091 * sysdeps/x86/bits/string.h: Add recent CPUs.
4092
9114625b
JM
40932014-11-27 Joseph Myers <joseph@codesourcery.com>
4094
6b5189eb
JM
4095 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4096 sigblock.
4097
49051f8e
JM
4098 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4099 feof.
4100
9114625b
JM
4101 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4102 variable.
4103
e7300fef
SL
41042014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4105
4106 * nscd/connections.c: Include libc-internal.h because of macro
4107 usage ignore_value.
4108
1721f0a4
SP
41092014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4110
4111 * string/bits/string3.h (__warn_memset_zero_len): Don't
4112 declare for gcc newer than 5.0.
4113 (memset): Don't test for zero-length __LEN for gcc newer than
4114 5.0.
4115
be970916
JM
41162014-11-27 Joseph Myers <joseph@codesourcery.com>
4117
d88548f4
JM
4118 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4119 size_t for %zu format.
4120
be970916
JM
4121 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4122 difference, not %ju.
4123
3b20fd5c
JM
41242014-11-26 Joseph Myers <joseph@codesourcery.com>
4125
8915eace
JM
4126 * include/libc-internal.h (ignore_value): New macro.
4127 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4128 with ignore_value.
4129
f1a5a0e3
JM
4130 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4131 definition.
4132
59ef1715
JM
4133 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4134 pthread_cleanup_push to void *.
4135
a6f3079b
JM
4136 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4137 Undefine.
4138
706688aa
JM
4139 [BZ #16619]
4140 [BZ #16740]
4141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4142 instead of 1L << 52.
4143
12da14a5
JM
4144 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4145 * libio/bug-rewind2.c (do_test): Likewise.
4146
bd5dadac
JM
4147 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4148 * debug/test-strcpy_chk-ifunc.c: Likewise.
4149 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4150 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4151 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4152 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4153 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4154 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4155 * Rules [$(multi-arch) = no] (tests): Do not filter out
4156 $(tests-ifunc).
4157 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4158 * debug/Makefile (tests-ifunc): Remove variable.
4159 (tests): Do not add $(tests-ifunc).
4160 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4161 (tests): Do not add $(tests-ifunc).
4162 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4163 [TEST_IFUNC]: Remove conditionals.
4164 * string/test-string.h (TEST_IFUNC): Remove macro.
4165 [TEST_IFUNC]: Remove conditionals.
4166
3b20fd5c
JM
4167 * string/test-strchr.c [!WIDE] (L): New macro.
4168 [WIDE] (L): Likewise.
4169 (check1): Use CHAR instead of char. Use L on string and character
4170 constants.
4171
704f7947
AZ
41722014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4173
4174 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4175 tests.
4176 * sysdeps/powerpc/bits/atomic.h
4177 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4178 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4179 (atomic_exchange_and_add_acq): Likewise.
4180 (atomic_exchange_and_add_rel): Likewise.
4181 * sysdeps/powerpc/powerpc32/bits/atomic.h
4182 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4183 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4184 * sysdeps/powerpc/powerpc64/bits/atomic.h
4185 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4186 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4187
cdcb42d7
TR
41882014-11-26 Torvald Riegel <triegel@redhat.com>
4189
4190 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4191 Change synchronization of __sched_fifo_min_prio and
4192 __sched_fifo_max_prio.
4193 * nptl/pthread_mutexattr_getprioceiling.c
4194 (pthread_mutexattr_getprioceiling): Likewise.
4195 * nptl/pthread_mutexattr_setprioceiling.c
4196 (pthread_mutexattr_setprioceiling): Likewise.
4197 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4198 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4199 Likewise.
4200
c82f5c0c
JM
42012014-11-26 Joseph Myers <joseph@codesourcery.com>
4202
4203 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4204 void.
4205
439e1ad6
JM
42062014-11-25 Joseph Myers <joseph@codesourcery.com>
4207
4208 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4209 third argument const.
4210
b1eda10e
PE
42112014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4212
4213 fnmatch: work around GCC compiler warning bug with uninit var
4214 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4215 This works around a bug with x86-64 GCC 4.9.2 and earlier
4216 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4217 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4218 used uninitialized in this function [-Wmaybe-uninitialized]".
4219
bde2667a
JM
42202014-11-25 Joseph Myers <joseph@codesourcery.com>
4221
4222 * posix/bug-regex31.c (main): Return RES not 0.
4223
5fbb5691
AB
42242014-11-25 Anton Blanchard <anton@samba.org>
4225
4226 * sysdeps/powerpc/bits/atomic.h
4227 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4228
467fec0b
BM
42292014-11-24 Sterling Augustine <saugustine@google.com>
4230
4231 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4232
e9ff8efb
RC
42332014-11-24 Ryan Cumming <etaoins@gmail.com>
4234
4235 [BZ #17608]
4236 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4237
9744496f
JM
42382014-11-24 Joseph Myers <joseph@codesourcery.com>
4239
4240 [BZ #17633]
4241 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4242 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4243 variable.
4244 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4245 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4246
6423d475
WD
42472014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4248
4249 * string/strncpy.c (strncpy): Improve performance by using memset.
4250
42512014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4252
4253 * string/strcpy.c (strcpy):
4254 Improve performance by using strlen and memcpy.
4255
5d178c37
LH
42562014-11-24 Leonhard Holz <leonhard.holz@web.de>
4257
4258 * string/strcoll_l.c (get_next_seq): __always_inline.
4259 * string/strcoll_l.c (do_compare): __always_inline.
4260
279bc5b3
SP
42612014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4262
7a9ebfa1
SP
4263 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4264 defined.
4265 * include/mqueue.h: Likewise.
4266 * include/stdlib.h: Likewise.
4267
4f41c682
SP
4268 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4269 (get_null_defines): Adjust.
4270 * sunrpc/Makefile: Adjust comment.
4271 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4272 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4273 (CFLAGS-interp.c): Likewise.
4274 (CFLAGS-ldconfig.c): Likewise.
4275 (CPPFLAGS-.os): Likewise.
4276 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4277 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4278 * extra-modules.mk (extra-modules.mk): Likewise.
4279 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4280 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4281 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4282 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4283 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4284 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4285 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4286 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4287 * iconvdata/Makefile (CPPFLAGS): Likewise.
4288 (cpp-srcs-left): Add libof for all iconvdata routines.
4289 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4290 * include/assert.h: Likewise.
4291 * include/ctype.h: Likewise.
4292 * include/errno.h: Likewise.
4293 * include/libc-symbols.h: Likewise.
4294 * include/math.h: Likewise.
4295 * include/netdb.h: Likewise.
4296 * include/resolv.h: Likewise.
4297 * include/stdio.h: Likewise.
4298 * include/stdlib.h: Likewise.
4299 * include/string.h: Likewise.
4300 * include/sys/stat.h: Likewise.
4301 * include/wctype.h: Likewise.
4302 * intl/l10nflist.c: Likewise.
4303 * libidn/idn-stub.c: Likewise.
4304 * libio/libioP.h: Likewise.
4305 * nptl/libc_multiple_threads.c: Likewise.
4306 * nptl/pthreadP.h: Likewise.
4307 * posix/regex_internal.h: Likewise.
4308 * resolv/res_hconf.c: Likewise.
4309 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4310 * sysdeps/arm/memmove.S: Likewise.
4311 * sysdeps/arm/sysdep.h: Likewise.
4312 * sysdeps/generic/_itoa.h: Likewise.
4313 * sysdeps/generic/symbol-hacks.h: Likewise.
4314 * sysdeps/gnu/errlist.awk: Likewise.
4315 * sysdeps/gnu/errlist.c: Likewise.
4316 * sysdeps/i386/i586/memcpy.S: Likewise.
4317 * sysdeps/i386/i586/memset.S: Likewise.
4318 * sysdeps/i386/i686/memcpy.S: Likewise.
4319 * sysdeps/i386/i686/memmove.S: Likewise.
4320 * sysdeps/i386/i686/mempcpy.S: Likewise.
4321 * sysdeps/i386/i686/memset.S: Likewise.
4322 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4323 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4324 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4325 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4326 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4327 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4328 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4329 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4330 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4332 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4333 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4334 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4335 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4336 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4337 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4338 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4339 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4340 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4341 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4342 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4343 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4344 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4345 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4346 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4348 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4350 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4356 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4358 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4359 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4360 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4361 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4362 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4363 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4364 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4365 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4366 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4367 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4368 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4369 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4370 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4371 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4372 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4373 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4374 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4375 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4376 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4377 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4378 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4379 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4380 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4381 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4382 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4383 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4384 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4385 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4386 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4387 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4388 * sysdeps/posix/closedir.c: Likewise.
4389 * sysdeps/posix/opendir.c: Likewise.
4390 * sysdeps/posix/readdir.c: Likewise.
4391 * sysdeps/posix/rewinddir.c: Likewise.
4392 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4393 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4394 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4395 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4396 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4397 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4398 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4401 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4402 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4403 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4404 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4405 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4406 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4407 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4408 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4409 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4410 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4411 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4412 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4413 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4414 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4415 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4416 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4417 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4418 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4419 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4420 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4423 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4427 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4428 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4429 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4430 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4431 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4432 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4433 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4434 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4436 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4437 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4438 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4439 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4440 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4441 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4442 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4443 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4444 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4445 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4446 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4447 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4449 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4450 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4451 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4452 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4453 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4454 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4455 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4456 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4457 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4458 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4459 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4460 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4461 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4462 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4463 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4464 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4465 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4466 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4467 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4468 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4469 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4470 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4471 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4472 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4473 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4474 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4475 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4476 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4477 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4478 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4479 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4480 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4481 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4482 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4483 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4484 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4485 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4486 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4487 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4488 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4490 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4491 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4492 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4493 * sysdeps/unix/alpha/sysdep.S: Likewise.
4494 * sysdeps/unix/alpha/sysdep.h: Likewise.
4495 * sysdeps/unix/make-syscalls.sh: Likewise.
4496 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4497 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4498 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4499 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4500 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4501 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4502 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4503 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4504 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4505 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4506 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4507 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4509 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4510 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4511 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4512 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4513 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4514 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4515 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4516 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4517 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4518 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4519 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4520 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4521 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4522 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4525 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4526 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4528 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4530 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4531 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4534 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4535 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4536 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4537 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4538 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4539 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4540 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4541 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4543 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4546 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4547 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4548 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4549 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4550 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4551 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4552 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4554 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4555 * sysdeps/x86_64/memcpy.S: Likewise.
4556 * sysdeps/x86_64/memmove.c: Likewise.
4557 * sysdeps/x86_64/memset.S: Likewise.
4558 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4559 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4560 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4561 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4562 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4564 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4565 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4566 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4567 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4568 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4569 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4570 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4571 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4572 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4573 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4574 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4575 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4576 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4577 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4578 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4579 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4580 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4581 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4582 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4583 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4584 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4585 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4586 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4587 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4588 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4589 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4590 * sysdeps/x86_64/strcmp.S: Likewise.
4591
76ca86a5
SP
4592 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4593
a3848485
SP
4594 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4595 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4596 * elf/rtld-Rules: Likewise.
4597 * elf/setup-vdso.h: Likewise.
4598 * include/assert.h: Likewise.
4599 * include/bits/stdlib-float.h: Likewise.
4600 * include/errno.h: Likewise.
4601 * include/sys/stat.h: Likewise.
4602 * include/unistd.h: Likewise.
4603 * sysdeps/aarch64/setjmp.S: Likewise.
4604 * sysdeps/alpha/setjmp.S: Likewise.
4605 * sysdeps/arm/__longjmp.S: Likewise.
4606 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4607 * sysdeps/arm/setjmp.S: Likewise.
4608 * sysdeps/arm/sysdep.h: Likewise.
4609 * sysdeps/generic/_itoa.h: Likewise.
4610 * sysdeps/generic/dl-sysdep.h: Likewise.
4611 * sysdeps/generic/ldsodefs.h: Likewise.
4612 * sysdeps/i386/dl-tls.h: Likewise.
4613 * sysdeps/i386/setjmp.S: Likewise.
4614 * sysdeps/m68k/setjmp.c: Likewise.
4615 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4616 * sysdeps/mach/hurd/opendir.c: Likewise.
4617 * sysdeps/posix/getcwd.c: Likewise.
4618 * sysdeps/posix/opendir.c: Likewise.
4619 * sysdeps/posix/profil.c: Likewise.
4620 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4621 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4622 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4623 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4624 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4625 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4626 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4627 * sysdeps/s390/dl-tls.h: Likewise.
4628 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4629 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4630 * sysdeps/sh/sh3/setjmp.S: Likewise.
4631 * sysdeps/sh/sh4/setjmp.S: Likewise.
4632 * sysdeps/unix/alpha/sysdep.h: Likewise.
4633 * sysdeps/unix/arm/sysdep.S: Likewise.
4634 * sysdeps/unix/i386/sysdep.S: Likewise.
4635 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4636 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4637 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4638 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4640 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4641 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4642 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4643 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4644 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4645 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4646 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4647 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4650 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4651 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4652 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4653 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4654 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4658 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4659 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4660 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4662 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4663 * sysdeps/x86_64/setjmp.S: Likewise.
4664
a109996e
SP
4665 * include/math.h: Use IS_IN instead of IS_IN_libm.
4666 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4678 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4686 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4687 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4688 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4689 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4690 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4691 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4693 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4694 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4695 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4696 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4697 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4698 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4700 Likewise.
4701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4702 Likewise.
4703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4704 Likewise.
4705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4706 Likewise.
4707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4708 Likewise.
4709 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4710 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4711 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4712 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4713 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4714 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4720 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4721 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4722 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4723 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4724 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4725 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4727 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4728 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4729 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4730 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4733 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4735 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4736
ce9f10f7
SP
4737 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4738 * nptl/pthreadP.h: Likewise.
4739 * nptl_db/structs.def: Likewise.
4740 * sysdeps/arm/sysdep.h: Likewise.
4741 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4742 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4743 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4744 * sysdeps/unix/alpha/sysdep.h: Likewise.
4745 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4746 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4747 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4748 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4749 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4750 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4751 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4752 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4753 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4754 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4755 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4756 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4757 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4758 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4761 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4763 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4766 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4767 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4768 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4769 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4770 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4771
016afc75
SP
4772 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4773 * nptl/pthreadP.h: Likewise.
4774 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4775 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4776 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4777 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4778 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4779 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4780 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4781 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4782 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4783 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4784 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4785 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4787 Likewise.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4789 Likewise.
4790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4792 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4795 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4796 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4797 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4798
9b42a0b3
SP
4799 * dlfcn/dladdr.c: Use IS_IN.
4800 * dlfcn/dladdr1.c: Likewise.
4801 * dlfcn/dlclose.c: Likewise.
4802 * dlfcn/dlerror.c: Likewise.
4803 * dlfcn/dlinfo.c: Likewise.
4804 * dlfcn/dlmopen.c: Likewise.
4805 * dlfcn/dlopen.c: Likewise.
4806 * dlfcn/dlsym.c: Likewise.
4807 * dlfcn/dlvsym.c: Likewise.
4808
85f36372
SP
4809 * include/ifaddrs.h: Use IS_IN.
4810 * inet/check_pf.c: Likewise.
4811 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4812 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4813
fb6784e3
SP
4814 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4815 IS_IN_ldconfig.
4816 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4817 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4818
2886d2d1
SP
4819 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4820 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4821 IS_IN (libc).
4822
9a484857
SP
4823 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4824
a10178bd
SP
4825 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4826 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4827 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4828 * include/libc-symbols.h (IS_IN_LIB): New macro.
4829 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4830 * include/netdb.h: Likewise.
4831 * include/stap-probe.h: Remove all uses of IN_LIB.
4832
279bc5b3
SP
4833 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4834 instead of IN_MODULE.
4835 * include/libc-symbols.h (IN_MODULE): Define using
4836 MODULE_NAME.
4837 (PASTE_NAME, PASTE_NAME1): New macros.
4838 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4839 of IN_LIB.
4840 (STAP_PROBE_ASM): Likewise.
4841
e0cfa510
ST
48422014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4843
4844 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4845 __mach_init in dlopened libc.
4846
34d97d87
MF
48472014-11-22 Mike Frysinger <vapier@gentoo.org>
4848
4849 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4850 * sysdeps/arm/preconfigure: Regenerate.
4851
33cd1f74
RM
48522014-11-21 Roland McGrath <roland@hack.frob.com>
4853
4854 * nptl/pthread_create.c (__pthread_create_2_1): Set
4855 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4856 when copying values from IATTR into PD.
4857
8c230039
WN
48582014-11-21 Will Newton <will.newton@linaro.org>
4859 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4860
6d3db89b
AP
4861 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4862 Refactor inline-asm. Also add comment.
4863
01194ba1
WN
4864 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4865 ElfW macro instead of hardcoded Elf64 types.
4866 (la_aarch64_gnu_pltenter): Likewise.
4867 * sysdeps/aarch64/dl-machine.h
4868 (elf_machine_runtime_setup): Use ElfW(Addr).
4869
8c230039
WN
4870 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4871 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4872 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4873 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4874 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4875 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4876 (R_AARCH64_TLS_DTPMOD): This.
4877 (R_AARCH64_TLS_DTPREL64): Rename to ...
4878 (R_AARCH64_TLS_DTPREL): This.
4879 (R_AARCH64_TLS_TPREL64): Rename to ...
4880 (R_AARCH64_TLS_TPREL): This.
4881 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4882 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4883 R_AARCH64_TLS_TPREL64.
4884 (elf_machine_rela): Likewise.
4885
0d79fa53
TR
48862014-11-21 Torvald Riegel <triegel@redhat.com>
4887
4888 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4889 by setting it to 0. 64b atomics are not supported currently.
4890
b59d114b
AO
48912014-11-21 Alexandre Oliva <aoliva@redhat.com>
4892
4893 [BZ #16469]
4894 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4895 search domain names.
4896
f3d945d5
AO
48972014-11-21 Alexandre Oliva <aoliva@redhat.com>
4898
4899 [BZ #16469]
4900 * NEWS: Update.
4901 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4902 trailing dot.
4903 * posix/tst-getaddrinfo5.c: New.
4904 * posix/Makefile (tests): Add it.
4905
49698902
AO
49062014-11-21 Alexandre Oliva <aoliva@redhat.com>
4907
4908 [BZ #14498]
4909 * NEWS: Fixed.
4910 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4911 after parsing line but before break_if_match.
4912 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4913 if there is a protocol mismatch.
4914
81959214
MS
49152014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4916
4917 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4918 because the potential race is on the user-supplied stream.
4919
7729e0e9
AO
49202014-11-21 Alexandre Oliva <aoliva@redhat.com>
4921
4922 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4923 string literal if not passed a buffer.
4924 * manual/job.texi (ctermid): Update reasoning, note deviation
4925 from posix, suggest mtasurace when not passed a buffer, for
4926 future non-preliminary safety notes.
4927
a4ea5e28
AO
49282014-11-21 Alexandre Oliva <aoliva@redhat.com>
4929
4930 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4931 of not passing it a buffer.
4932 Reported by Peng Haitao.
4933
a2b581cb
AO
49342014-11-21 Alexandre Oliva <aoliva@redhat.com>
4935
4936 * manual/Makefile ($(objpfx)stamp-summary): Require
4937 check-safety.sh to pass.
4938 * manual/check-safety.sh: Wish for verification that every
4939 @deftypefn and @deftypefun is followed by a @safety remark.
4940
f214ff74
RM
49412014-11-20 Roland McGrath <roland@hack.frob.com>
4942
7f0dfae0
RM
4943 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4944
2f531bbb
RM
4945 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4946 PTHREAD_CANCEL_ASYNCHRONOUS.
4947 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4948 send SIGCANCEL.
4949
f214ff74
RM
4950 * nptl/default-sched.h: New file.
4951 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4952 * nptl/pthread_create.c: Include it.
4953 (__pthread_create_2_1): Use collect_default_sched instead of making
4954 Linux syscalls here directly.
4955
e37c91d4
TR
49562014-11-20 Torvald Riegel <triegel@redhat.com>
4957
4958 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4959 __pthread_once): Use C11 atomics.
4960
1eccfecd
TR
49612014-11-20 Torvald Riegel <triegel@redhat.com>
4962
4963 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4964
ff871426
TR
49652014-11-20 Torvald Riegel <triegel@redhat.com>
4966
4967 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4968 atomic_thread_fence_acquire, atomic_thread_fence_release,
4969 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4970 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4971 atomic_compare_exchange_weak_relaxed,
4972 atomic_compare_exchange_weak_acquire,
4973 atomic_compare_exchange_weak_release,
4974 atomic_exchange_acquire, atomic_exchange_release,
4975 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4976 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4977 atomic_fetch_and_acquire,
4978 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4979
1ea339b6
TR
49802014-11-20 Torvald Riegel <triegel@redhat.com>
4981
4982 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4983 USE_ATOMIC_COMPILER_BUILTINS): Define.
4984 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4985 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4986 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4987 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4988 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4989 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4990 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4991 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4992 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4993 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4994 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4995 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4996 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4997 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4998 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4999 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5000 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5001 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5002 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5003 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5004 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5005 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5006 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5007 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5008 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5009 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5010 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5011 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5012 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5013 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5014 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5015 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5016 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5017 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5018 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5019 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5020 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5021 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5022 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5023 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5024
cbd463e2
RM
50252014-11-19 Roland McGrath <roland@hack.frob.com>
5026
d960211f
RM
5027 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5028 the sched_priority value here. It was already checked when the user
5029 called pthread_attr_setschedparam.
5030
cbd463e2
RM
5031 * nptl/tst-bad-schedattr.c: New file.
5032 * nptl/Makefile (tests): Add it.
5033
a39208bd
CD
50342014-11-19 Carlos O'Donell <carlos@redhat.com>
5035 Florian Weimer <fweimer@redhat.com>
5036 Joseph Myers <joseph@codesourcery.com>
5037 Adam Conrad <adconrad@0c3.net>
5038 Andreas Schwab <schwab@suse.de>
5039 Brooks <bmoses@google.com>
5040
5041 [BZ #17625]
5042 * wordexp-test.c (__dso_handle): Add prototype.
5043 (__register_atfork): Likewise.
5044 (__app_register_atfork): New function.
5045 (registered_forks): New global.
5046 (register_fork): New function.
5047 (test_case): Add 3 new tests for WRDE_CMDSUB.
5048 (main): Call __app_register_atfork.
5049 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5050 fork count is non-zero fail the test.
5051 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5052 is set.
5053 (parse_dollars): Remove check for WRDE_NOCMD.
5054 (parse_dquote): Likewise.
5055
9cd47470
SP
50562014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5057
130ac68c
SP
5058 * Makeconfig (built-modules): List non-library modules to be
5059 built.
5060 (module-cppflags): Include libc-modules.h for
5061 everything except shlib-versions.v.i.
5062 (CPPFLAGS): Use it.
5063 (before-compile): Add libc-modules.h.
5064 ($(common-objpfx)libc-modules.h,
5065 $(common-objpfx)libc-modules.stmp): New targets.
5066 (common-generated): Add libc-modules.h and libc-modules.stmp.
5067 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5068 * include/libc-symbols.h: Don't include libc-modules.h.
5069 * include/libc-modules.h: Remove file.
5070 * scripts/gen-libc-modules.awk: New script to generate
5071 libc-modules.h.
5072 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5073 Depend on libc-modules.stmp.
5074
286663c3
SP
5075 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5076
9cd47470
SP
5077 * Makeconfig (in-module): Get value of libof set for the
5078 translation unit.
5079 (CPPFLAGS): Use $(in-module).
5080 * Makerules: Don't suffix routine names for nonlib.
5081 * include/libc-modules.h: New file.
5082 * include/libc-symbols.h: Include libc-modules.h
5083 (IS_IN): New macro to replace IS_IN_* macros.
5084 * elf/Makefile: Set libof-* for each routine.
5085 * elf/rtld-Rules: Likewise.
5086 * extra-modules.mk: Likewise.
5087 * iconv/Makefile: Likewise.
5088 * iconvdata/Makefile: Likewise.
5089 * locale/Makefile: Likewise.
5090 * malloc/Makefile: Likewise.
5091 * nss/Makefile: Likewise.
5092 * sysdeps/gnu/Makefile: Likewise.
5093 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5094 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5095 * sysdeps/s390/s390-64/Makefile: Likewise.
5096 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5097 CPPFLAGS for nscd instead of nonlib.
5098
32fed10f
RM
50992014-11-18 Roland McGrath <roland@hack.frob.com>
5100
d71035bd
RM
5101 * nptl/createthread.c: New file.
5102
6540b991
RM
5103 * nptl/createthread.c: Moved ...
5104 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5105
32fed10f
RM
5106 * nptl/createthread.c: Add proper top-line comment.
5107 (do_clone): Folded into ...
5108 (create_thread): ... here. Take new arguments STOPPED_START and
5109 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5110 increment __nptl_threads, do event-reporting logic, do
5111 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5112 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5113 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5114 just send SIGCANCEL.
5115 * nptl/pthread_create.c: Forward-declare create_thread before
5116 including createthread.c.
5117 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5118 declaration, and new macro START_THREAD_SELF to replace argument.
5119 Remove return statement.
5120 (report_thread_creation): New function.
5121 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5122 synchronization logic, and __nptl_nthreads increment here, around
5123 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5124 PD->parent_cancelhandling here, before create_thread. When
5125 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5126 __deallocate_stack, and ENOMEM translation here.
5127
107a5bf0
JM
51282014-11-18 Joseph Myers <joseph@codesourcery.com>
5129
5130 [BZ #17616]
5131 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5132 (mptwo): Rename to __mptwo.
5133 (__inv): Use __mptwo instead of mptwo.
5134 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5135 (mptwo): Rename to __mptwo.
5136 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5137 of mpone and __mptwo instead of mptwo.
5138 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5139 instead of mpone.
5140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5141 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5142 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5143 of mpone and __mptwo instead of mptwo.
5144 (__mpranred): Use __mpone instead of mpone.
5145 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5146 variable.
5147 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5148 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5149 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5150 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5151 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5152 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5153 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5154 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5155 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5156 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5157 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5158 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5159 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5160 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5161 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5162 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5163 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5164 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5165 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5166
3b679ab3
TV
51672014-11-18 Tom de Vries <tom@codesoucery.com>
5168
5169 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5170 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5171
51722014-11-17 Richard Henderson <rth@redhat.com>
5173
5174 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5175 (_FP_PACK_RAW_2): Remove.
5176 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5177 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5178 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5179 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5180 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5181 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5182 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5183 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5184 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5185 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5186 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5187 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5188 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5189 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5190 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5191 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5192
0781a777
RM
51932014-11-14 Roland McGrath <roland@hack.frob.com>
5194
5195 * signal/signal.h [__USE_MISC]
5196 (struct sigvec): Remove type.
5197 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5198 (sigvec): Remove declaration.
5199 * sysdeps/posix/sigvec.c: Moved ...
5200 * signal/sigvec.c: ... here, replacing old file.
5201 (struct sigvec): New type, copied from old signal.h definition.
5202 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5203 (__sigvec): Convert definition to prototype.
5204 (sigvec): Replace weak_alias with compat_symbol.
5205 * signal/Versions (libc: GLIBC_2.21): New version set.
5206 * include/signal.h: Remove __sigvec declaration.
5207 * sysdeps/unix/bsd/sigvec.c: Remove file.
5208 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5209 * manual/signal.texi (BSD Handler): Remove subsection.
5210 Move siginterrupt up to ...
5211 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5212 (Blocking in BSD): Fold subsection into its parent.
5213 * NEWS: Mention sigvec removal.
5214
a4733812
JM
52152014-11-14 Joseph Myers <joseph@codesourcery.com>
5216
5ae4fe60
JM
5217 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5218 (DLA_FMS): Make definition conditional only on [__FMA4__].
5219 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5220 definition.
5221
6a0dd472
JM
5222 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5223 Make definition conditional only on [PROF].
5224 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5225 definition.
5226 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5227 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5228
a4733812
JM
5229 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5230 !__GNUC__].
5231 * include/signal.h (__sigpause): Move declaration above call to
5232 libc_hidden_proto.
5233 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5234 variable.
5235 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5236 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5237
cf7246dd
DM
52382014-11-14 David S. Miller <davem@davemloft.net>
5239
5240 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5241 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5242
c1b0aadc
JM
52432014-11-14 Joseph Myers <joseph@codesourcery.com>
5244
4863355a
JM
5245 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5246 * configure: Regenerated.
5247 * manual/install.texi (Tools for Compilation): Document a
5248 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5249 compiler verified to work.
5250 * INSTALL: Regenerated.
5251
c1b0aadc
JM
5252 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5253 redeclare with asm name.
5254 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5255 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5256 including <string.h>.
5257 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5258 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5259 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5260 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5261 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5262 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5263 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5264
2a1cfd94
JM
52652014-11-13 Joseph Myers <joseph@codesourcery.com>
5266
bf438382
JM
5267 * stdlib/strtol.c (__strtol): Use prototype definition.
5268
2a1cfd94
JM
5269 [BZ #17594]
5270 * stdlib/strtol.c (SYM__): New macro.
5271 (SYM__1): Likewise.
5272 (__strtol): Likewise.
5273 (strtol): Rename to __strtol and define as weak alias of
5274 __strtol. Use libc_hidden_weak.
5275
20ed0d26
SL
52762014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5277
5278 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5279 Use numbered labels in inline assembly.
5280
53244a4e
SL
52812014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5282
5283 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5284 Add setjmp LIBC_PROBE.
5285 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5286 Likewise.
5287 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5288 Add longjmp, longjmp_target LIBC_PROBE.
5289 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5290 Likewise.
5291
47df8251
SL
52922014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5293
5294 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5295 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5296 to get rid of unused variable warning.
5297
618cebef
SL
52982014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5299
5300 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5301 Check for unwind_backtrace == NULL only in SHARED case.
5302 (__backchain_backtrace): Compile only in SHARED case.
5303 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5304 Likewise.
5305 (__backchain_backtrace): Declare as static.
5306
c6aab2cb
RM
53072014-11-12 Roland McGrath <roland@hack.frob.com>
5308
5309 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5310 (__libc_multiple_threads_ptr): Variable moved ...
5311 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5312
5a6fa4d7
JM
53132014-11-12 Joseph Myers <joseph@codesourcery.com>
5314
24f4f825
JM
5315 * conform/GlibcConform.pm: New file.
5316 * conform/conformtest.pl: Use GlibcConform module.
5317 * conform/linknamespace.pl: New file.
5318 * conform/list-header-symbols.pl: Likewise.
5319 * conform/Makefile (linknamespace-symlists-base): New variable.
5320 (linknamespace-symlists-tests): Likewise.
5321 (linknamespace-header-base): Likewise.
5322 (linknamespace-header-tests): Likewise.
5323 (tests-special): Add new tests.
5324 ($(linknamespace-symlists-tests)): New rule.
5325 (linknamespace-libs): New variable.
5326 ($(objpfx)symlist-stdlibs): New rule.
5327 ($(linknamespace-header-tests)): Likewise.
5328 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5329 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5330 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5331 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5332 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5333 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5334 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5335 (test-xfail-ISO/math.h/linknamespace): Likewise.
5336 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5337 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5338 (test-xfail-ISO/time.h/linknamespace): Likewise.
5339 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5340 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5341 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5342 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5343 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5344 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5345 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5346 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5347 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5348 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5349 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5350 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5351 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5352 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5353 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5354 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5355 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5356 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5357 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5358 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5359 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5360 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5361 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5362 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5363 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5364 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5365 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5366 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5367 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5368 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5369 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5370 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5371 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5372 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5373 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5374 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5375 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5376 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5377 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5378 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5379 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5380 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5381 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5382 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5383 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5384 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5385 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5386 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5387 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5388 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5389 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5390 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5391 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5392 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5393 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5394 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5395 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5396 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5397 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5398 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5399 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5400 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5401 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5402 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5403 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5404 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5405 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5406 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5407 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5408 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5409 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5410 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5411 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5412 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5413 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5414 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5415 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5416 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5417 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5418 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5419 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5420 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5421 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5422 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5423 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5424 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5425 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5426 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5427 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5428 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5429 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5430 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5431 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5432 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5433 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5434 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5435 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5436 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5437 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5438 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5439 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5440 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5441 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5442 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5443 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5444 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5445 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5446 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5447 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5448 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5449 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5450 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5451 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5452 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5453 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5454 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5455 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5456 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5457 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5458 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5459 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5460 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5461 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5462 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5463 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5464 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5465 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5466 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5467 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5468 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5469 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5470 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5471 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5472 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5473 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5474 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5475 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5476 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5477 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5478 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5479 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5480 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5481 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5482 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5483 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5484 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5485 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5486 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5487 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5488 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5489
cc67478e
JM
5490 [BZ #17589]
5491 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5492 of fgets_unlocked.
5493
9975e3d3
JM
5494 [BZ #17585]
5495 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5496 (memmem): Rename to __memmem and define as weak alias of
5497 __memmem. Use libc_hidden_weak.
5498 (__memmem): Use libc_hidden_def.
5499 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5500 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5501 memmem.
5502
c4eae752
JM
5503 [BZ #17582]
5504 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5505 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5506 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5507 and define as weak alias of __fgets_unlocked. Use
5508 libc_hidden_weak.
5509 (__fgets_unlocked): Use libc_hidden_def.
5510 * include/stdio.h (__fgets_unlocked): Declare. Use
5511 libc_hidden_proto.
5512 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5513 __fgets_unlocked instead of fgets_unlocked.
5514 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5515 (GET_NPROCS_CONF_PARSER): Likewise.
5516 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5517 (GET_NPROCS_CONF_PARSER): Likewise.
5518
01cad84e
JM
5519 [BZ #17574]
5520 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5521 weak alias of __wmemset. Use libc_hidden_weak.
5522 (__wmemset): Use libc_hidden_def.
5523 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5524 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5525 of wmemset.
5526
939da411
JM
5527 [BZ #17573]
5528 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5529 with asm name __mempcpy.
5530 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5531
293d9a41
JM
5532 [BZ #17572]
5533 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5534 and define as weak alias of __rawmemchr.
5535 (__rawmemchr): Do not define as strong alias of rawmemchr.
5536
bef8fd60
JM
5537 [BZ #17571]
5538 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5539 alias of __qsort_r.
5540 (qsort): Call __qsort_r instead of qsort_r.
5541 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5542 (__qsort_r): Declare. Call libc_hidden_proto.
5543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5544 instead of qsort_r.
5545 * nscd/gai.c (__qsort_r): Define to qsort_r.
5546 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5547 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5548 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5549
c52ff39e
JM
5550 [BZ #17570]
5551 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5552 define as weak alias of __malloc_info.
5553
2f5c1b00
JM
5554 [BZ #17584]
5555 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5556 as weak alias of __rewinddir. Don't use libc_hidden_def.
5557 (__rewinddir): Use libc_hidden_def.
5558 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5559 as weak alias of __rewinddir. Don't use libc_hidden_def.
5560 (__rewinddir): Use libc_hidden_def.
5561 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5562 weak alias of __rewinddir. Don't use libc_hidden_def.
5563 (__rewinddir): Use libc_hidden_def.
5564 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5565 (__rewinddir): Use libc_hidden_proto.
5566 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5567 rewinddir.
5568 (__getcwd): Use __rewinddir instead of rewinddir.
5569
5a6fa4d7
JM
5570 [BZ #17583]
5571 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5572 alias of __fileno. Use libc_hidden_weak.
5573 (__fileno): Use libc_hidden_def.
5574 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5575 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5576 alias of __ftello.
5577 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5578 __ftello.
5579 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5580 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5581 libc_hidden_def.
5582 (fread_unlocked): Don't use libc_hidden_ver.
5583 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5584 and define as weak alias of __fread_unlocked. Don't use
5585 libc_hidden_def.
5586 (__fread_unlocked): Use libc_hidden_def.
5587 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5588 (ftello): Don't use libc_hidden_proto.
5589 (__ftello): Declare. Use libc_hidden_proto.
5590 (fread_unlocked): Don't use libc_hidden_proto.
5591 (__fread_unlocked): Declare. Use libc_hidden_proto.
5592 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5593 and __ftello instead of fileno, fread_unlocked and ftello.
5594
2581b98e
SP
55952012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5596
5597 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5598 GOT12.
5599 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5600 Likewise.
5601 (_dl_start_user): Likewise.
5602 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5603
533bb7c2
SP
56042014-11-12 Carlos O'Donell <carlos@redhat.com>
5605 Siddhesh Poyarekar <siddhesh@redhat.com>
5606
5607 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5608 Move argv and envp down instead of moving argc up.
5609 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5610
fffa1cf8
LH
56112014-11-12 Leonhard Holz <leonhard.holz@web.de>
5612
5613 [BZ #17506]
5614 * test-skeleton.c (main): Return successful if one of
5615 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5616 * string/tst-strcoll-overflow.c: Define expected status.
5617
fb89b46d
TU
56182014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5619
5620 [BZ #17475]
5621 * locale/iso-639.def: Define Bhili and Tulu language codes.
5622
5c40c3ba
AH
56232014-11-11 Alan Hayward <alan.hayward@arm.com>
5624
5625 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5626
b17fe01b 56272014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5628
5629 [BZ #17555]
5630 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5631
bd805071
AS
56322014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5633
5634 * configure.ac: Updated check of minimal required version to
5635 2.22.
5636 * manual/install.texi (Tools for Compilation): Updated version
5637 number.
5638 * configure: Regenerated.
5639 * INSTALL: Likewise.
5640
1400983e
AS
56412014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5642
5643 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5644 __tls_get_addr.
5645
2c46a66a
JM
56462014-11-07 Joseph Myers <joseph@codesourcery.com>
5647
5648 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5649 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5650 (__waitpid): Don't define as alias. Use libc_hidden_def not
5651 libc_hidden_weak.
5652 (waitpid): Define as alias of __waitpid.
5653 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5654 __waitpid.
5655 (__waitpid): Don't define as alias. Use libc_hidden_def not
5656 libc_hidden_weak.
5657 (waitpid): Define as alias of __waitpid.
5658 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5659 __libc_waitpid alias.
5660 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5661 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5662 Likewise.
5663 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5664 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5665 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5666 alias.
5667 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5668 __waitpid.
5669 (__waitpid): Don't define as alias. Use libc_hidden_def not
5670 libc_hidden_weak.
5671 (waitpid): Define as alias of __waitpid.
5672
da53d6db
CD
56732014-11-06 Carlos O'Donell <carlos@redhat.com>
5674
a2887bdb
CD
5675 * manual/llio.texi: Add comment that write safety has been
5676 fixed in Linux.
5677
da53d6db
CD
5678 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5679 (localplt-build-dso): Add elf/ld.so.
5680 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5681 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5682 and free for ld.so.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5684 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5686 Likewise.
5687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5688 Likewise.
5689 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5690 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5691 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5692 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5693 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5694 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5695 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5696 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5697 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5698 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5699 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5700
9cf27b8d
JM
57012014-11-05 Joseph Myers <joseph@codesourcery.com>
5702
5703 [BZ #14132]
5704 * include/libc-symbols.h (INTUSE): Remove macro.
5705 (INTDEF): Likewise.
5706 (INTVARDEF): Likewise.
5707 (_INTVARDEF): Likewise.
5708 (INTDEF2): Likewise.
5709 (INTVARDEF2): Likewise.
5710 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5711 rtld_hidden_def instead of INTVARDEF.
5712 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5713 (_dl_starting_up_internal): Remove declaration.
5714 (_dl_starting_up): Use rtld_hidden_proto.
5715 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5716 declaration.
5717 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5718 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5719 _dl_starting_up.
5720 * elf/dl-writev.h (_dl_writev): Likewise.
5721 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5722 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5723 _dl_starting_up_internal.
5724
af83568d
AZ
57252014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5726
5727 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5728 test-skeleton.c.
5729
b01ee67c
WN
57302014-11-05 Will Newton <will.newton@linaro.org>
5731
5732 * benchtests/Makefile: (bench-malloc): Add malloc thread
5733 scalability benchmark.
5734 * benchtests/bench-malloc-threads.c: New file.
5735
be9d4ccc
RE
57362014-11-05 Richard Earnshaw <rearnsha@arm.com>
5737
5738 * sysdeps/aarch64/strchrnul.S: New file.
5739
7110166d
AZ
57402014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741
5742 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5743 definition.
5744 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5745 Likwise.
5746 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5747 Likewise.
5748 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5749 Likewise.
5750 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5751 Likewise.
5752 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5753 Likewise.
5754
57552014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5756
5757 * catgets/test-gencat.c: Use test-skeleton.c.
5758 * catgets/tst-catgets.c: Likewise.
5759 * csu/tst-empty.c: Likewise.
5760 * elf/tst-audit2.c: Likewise.
5761 * elf/tst-global1.c: Likewise.
5762 * elf/tst-pathopt.c: Likewise.
5763 * elf/tst-piemod1.c: Likewise.
5764 * elf/tst-tls10.c: Likewise.
5765 * elf/tst-tls11.c: Likewise.
5766 * elf/tst-tls12.c: Likewise.
5767 * gnulib/tst-gcc.c: Likewise.
5768 * iconvdata/tst-e2big.c: Likewise.
5769 * iconvdata/tst-loading.c: Likewise.
5770 * iconv/tst-iconv1.c: Likewise.
5771 * iconv/tst-iconv2.c: Likewise.
5772 * inet/test-inet6_opt.c: Likewise.
5773 * inet/tst-gethnm.c: Likewise.
5774 * inet/tst-network.c: Likewise.
5775 * inet/tst-ntoa.c: Likewise.
5776 * intl/tst-codeset.c: Likewise.
5777 * intl/tst-gettext2.c: Likewise.
5778 * intl/tst-gettext3.c: Likewise.
5779 * intl/tst-ngettext.c: Likewise.
5780 * intl/tst-translit.c: Likewise.
5781 * io/test-stat.c: Likewise.
5782 * libio/test-fmemopen.c: Likewise.
5783 * libio/tst-freopen.c: Likewise.
5784 * libio/tst-sscanf.c: Likewise.
5785 * libio/tst-ungetwc1.c: Likewise.
5786 * libio/tst-ungetwc2.c: Likewise.
5787 * libio/tst-widetext.c: Likewise.
5788 * localedata/tst-ctype.c: Likewise.
5789 * localedata/tst-digits.c: Likewise.
5790 * localedata/tst-leaks.c: Likewise.
5791 * localedata/tst-mbswcs1.c: Likewise.
5792 * localedata/tst-mbswcs2.c: Likewise.
5793 * localedata/tst-mbswcs3.c: Likewise.
5794 * localedata/tst-mbswcs4.c: Likewise.
5795 * localedata/tst-mbswcs5.c: Likewise.
5796 * localedata/tst-setlocale.c: Likewise.
5797 * localedata/tst-trans.c: Likewise.
5798 * localedata/tst-wctype.c: Likewise.
5799 * localedata/tst-xlocale1.c: Likewise.
5800 * login/tst-grantpt.c: Likewise.
5801 * malloc/tst-calloc.c: Likewise.
5802 * malloc/tst-malloc.c: Likewise.
5803 * malloc/tst-mallocstate.c: Likewise.
5804 * malloc/tst-mcheck.c: Likewise.
5805 * malloc/tst-mtrace.c: Likewise.
5806 * malloc/tst-obstack.c: Likewise.
5807 * math/atest-exp2.c: Likewise.
5808 * math/atest-exp.c: Likewise.
5809 * math/atest-sincos.c: Likewise.
5810 * math/test-matherr.c: Likewise.
5811 * math/test-misc.c: Likewise.
5812 * math/test-powl.c: Likewise.
5813 * math/tst-definitions.c: Likewise.
5814 * misc/tst-dirname.c: Likewise.
5815 * misc/tst-efgcvt.c: Likewise.
5816 * misc/tst-fdset.c: Likewise.
5817 * misc/tst-hsearch.c: Likewise.
5818 * misc/tst-mntent2.c: Likewise.
5819 * nptl/tst-sem7.c: Likewise.
5820 * nptl/tst-sem8.c: Likewise.
5821 * nptl/tst-sem9.c: Likewise.
5822 * nss/test-netdb.c: Likewise.
5823 * posix/tst-fnmatch.c: Likewise.
5824 * posix/tst-getlogin.c: Likewise.
5825 * posix/tst-gnuglob.c: Likewise.
5826 * posix/tst-mmap.c: Likewise.
5827 * pwd/tst-getpw.c: Likewise.
5828 * resolv/tst-inet_ntop.c: Likewise.
5829 * rt/tst-timer.c: Likewise.
5830 * stdio-common/test-fseek.c: Likewise.
5831 * stdio-common/test-popen.c: Likewise.
5832 * stdio-common/test-vfprintf.c: Likewise.
5833 * stdio-common/tst-cookie.c: Likewise.
5834 * stdio-common/tst-fileno.c: Likewise.
5835 * stdio-common/tst-gets.c: Likewise.
5836 * stdio-common/tst-obprintf.c: Likewise.
5837 * stdio-common/tst-perror.c: Likewise.
5838 * stdio-common/tst-sprintf2.c: Likewise.
5839 * stdio-common/tst-sprintf3.c: Likewise.
5840 * stdio-common/tst-sprintf.c: Likewise.
5841 * stdio-common/tst-swprintf.c: Likewise.
5842 * stdio-common/tst-tmpnam.c: Likewise.
5843 * stdio-common/tst-unbputc.c: Likewise.
5844 * stdio-common/tst-wc-printf.c: Likewise.
5845 * stdlib/tst-environ.c: Likewise.
5846 * stdlib/tst-fmtmsg.c: Likewise.
5847 * stdlib/tst-limits.c: Likewise.
5848 * stdlib/tst-rand48-2.c: Likewise.
5849 * stdlib/tst-rand48.c: Likewise.
5850 * stdlib/tst-random2.c: Likewise.
5851 * stdlib/tst-random.c: Likewise.
5852 * stdlib/tst-strtol.c: Likewise.
5853 * stdlib/tst-strtoll.c: Likewise.
5854 * stdlib/tst-tls-atexit.c: Likewise.
5855 * stdlib/tst-xpg-basename.c: Likewise.
5856 * string/test-ffs.c: Likewise.
5857 * string/tst-bswap.c: Likewise.
5858 * string/tst-inlcall.c: Likewise.
5859 * string/tst-strtok.c: Likewise.
5860 * string/tst-strxfrm.c: Likewise.
5861 * sysdeps/x86_64/tst-audit10.c: Likewise.
5862 * sysdeps/x86_64/tst-audit3.c: Likewise.
5863 * sysdeps/x86_64/tst-audit4.c: Likewise.
5864 * sysdeps/x86_64/tst-audit5.c: Likewise.
5865 * time/tst-ftime_l.c: Likewise.
5866 * time/tst-getdate.c: Likewise.
5867 * time/tst-mktime3.c: Likewise.
5868 * time/tst-mktime.c: Likewise.
5869 * time/tst-posixtz.c: Likewise.
5870 * time/tst-strptime2.c: Likewise.
5871 * time/tst-strptime3.c: Likewise.
5872 * wcsmbs/tst-btowc.c: Likewise.
5873 * wcsmbs/tst-mbrtowc.c: Likewise.
5874 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5875 * wcsmbs/tst-wchar-h.c: Likewise.
5876 * wcsmbs/tst-wcpncpy.c: Likewise.
5877 * wcsmbs/tst-wcrtomb.c: Likewise.
5878 * wcsmbs/tst-wcsnlen.c: Likewise.
5879 * wcsmbs/tst-wcstof.c: Likewise.
5880
2004e7fb
JM
58812014-11-04 Joseph Myers <joseph@codesourcery.com>
5882
ab97ee8f
JM
5883 [BZ #14132]
5884 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5885 INTDEF.
5886 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5887 declaration.
5888 (_dl_mcount): Use rtld_hidden_proto.
5889 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5890 _dl_mcount.
5891 * elf/rtld.c (_rtld_global_ro): Likewise.
5892
c5684fdb
JM
5893 [BZ #14132]
5894 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5895 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5896 of _dl_init_internal.
5897 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5898 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5899 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5900 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5901 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5902 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5903 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5904 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5905 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5906 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5907 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5908 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5909 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5910 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5911 * sysdeps/tile/dl-start.S (_start): Likewise.
5912 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5913 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5914
4243cbea
JM
5915 [BZ #14132]
5916 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5917 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5918 (rtld_progname): Make macro definition unconditional.
5919 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5920 INTDEF.
5921 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5922 (dl_main): Likewise.
5923 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5924 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5925 instead of _dl_argv_internal.
5926 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5927 __GI__dl_argv instead of INTUSE(_dl_argv).
5928 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5929 __GI__dl_argv instead of _dl_argv_internal.
5930
2004e7fb
JM
5931 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5932 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5933 macro.
5934 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5935 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5936 New macro.
5937 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5938 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5939 macro.
5940 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5941 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5942
97827bfc
AS
59432014-11-04 Andreas Schwab <schwab@suse.de>
5944
5945 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5946
5e4df284
AZ
59472014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5948
5949 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5950 mtvsrd instruction in binary form.
5951
04b76b5a
AS
59522014-11-03 Andreas Schwab <schwab@suse.de>
5953
5954 [BZ #17522]
5955 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5956 for less than MB_LEN_MAX use a local buffer of that size.
5957 * libio/tst-fputws.c: New file.
5958 * libio/Makefile (tests): Add tst-fputws.
5959
4c6da7da
JM
59602014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5961
5962 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5963 the size of the fpu_fr.fpu_dregs[] array.
5964
1679ba8e
JM
59652014-11-01 Joseph Myers <joseph@codesourcery.com>
5966
5967 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5968 (__nanosleep): Do not define as alias.
5969 (nanosleep): Define as alias of __nanosleep.
5970 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5971 __libc_nanosleep name.
5972
2626c183
JM
59732014-10-31 Joseph Myers <joseph@codesourcery.com>
5974
5975 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5976 install.texi in comment.
5977
7f981fc2
TR
59782014-10-31 Torvald Riegel <triegel@redhat.com>
5979
5980 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5981 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5982 ... add here and use lwsync or sync ...
5983 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5984 ... and add here using lwsync.
5985
d6f373d2
MF
59862014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5987
5988 * elf/dl-machine-reject-phdr.h: New file.
5989 * elf/dl-load.c: #include that.
5990 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5991 if that returned true.
5992
67c37987
RM
59932014-10-31 Roland McGrath <roland@hack.frob.com>
5994
5995 [BZ #17496]
5996 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5997 gen-as-const-headers chunk. Add a big scare comment after the last
5998 safe place to touch before-compile.
5999
94a42455 60002014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6001
f3f5d895
JM
6002 * manual/install.texi (Tools for Compilation): Update autoconf
6003 version requirements.
6004 * INSTALL: Regenerated.
6005
f62ff286
JM
6006 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6007 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6008 (__libc_pselect): Likewise.
94a42455
JM
6009
6010 [BZ #14138]
6011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6015
ff9dbdc0
TR
60162014-10-31 Torvald Riegel <triegel@redhat.com>
6017
6018 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6019 correct barrier instruction.
6020 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6021 Likewise.
6022 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6023 Likewise.
6024
b4f66884
RM
60252014-10-30 Roland McGrath <roland@hack.frob.com>
6026
6027 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6028 after defining inlines. Instead, just use parens to defeat macro
6029 expansion of __isctype in its declaration.
6030
e19c95fd
JM
60312014-10-30 Joseph Myers <joseph@codesourcery.com>
6032
6033 * include/sys/uio.h (__libc_readv): Remove declaration.
6034 (__libc_writev): Likewise.
6035 * misc/readv.c (__libc_readv): Rename to __readv.
6036 (__readv): Do not define as alias.
6037 (readv): Define as alias of __readv.
6038 * misc/writev.c (__libc_writev): Rename to __writev.
6039 (__writev): Do not define as alias.
6040 (writev): Define as alias of __writev.
6041 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6042 (__readv): Do not define as alias.
6043 (readv): Define unconditionally as alias of __readv.
6044 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6045 (__writev): Do not define as alias.
6046 (writev): Define unconditionally as alias of __writev.
6047 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6048 name.
6049 (writev): Do not define __libc_writev name.
6050
65b00b6c
RM
60512014-10-30 Roland McGrath <roland@hack.frob.com>
6052
6053 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6054 (convert_charseq): New function, broken out of ...
6055 (use_from_charmap): ... here. Call it.
6056 (use_to_charmap): Use convert_charseq and free instead of duplicating
6057 its code with a variable-length stack struct.
6058
d4e157aa
JM
60592014-10-30 Joseph Myers <joseph@codesourcery.com>
6060
6061 * include/fcntl.h (__libc_creat): Remove declaration.
6062 * io/creat.c (__libc_creat): Rename to creat.
6063 (creat): Do not define as alias.
6064 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6065 of creat instead of __libc_creat.
6066 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6067 to creat.
6068 (creat): Do not define as alias.
6069 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6070 __libc_creat.
6071 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6072 __libc_creat name.
6073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6074 Likewise.
6075
0c6891a0
CD
60762014-10-29 Carlos O'Donell <carlos@redhat.com>
6077
6078 * manual/llio.texi: Add comments discussing why write() may be
6079 considered MT-unsafe on Linux.
6080
cc00cece
CD
60812014-10-28 Carlos O'Donell <carlos@redhat.com>
6082
6083 * dl-load.c (local_strdup): Remove.
6084 (expand_dynamic_string_token): Use __strdup.
6085 (decompose_rpath): Likewise.
6086 (_dl_map_object): Likewise.
6087
51e623f2
JM
60882014-10-28 Joseph Myers <joseph@codesourcery.com>
6089
6090 [BZ #14132]
6091 * sysdeps/generic/unwind-dw2-fde.c
6092 (__register_frame_info_bases_internal): Do not declare.
6093 (__register_frame_info_table_bases_internal): Likewise.
6094 (__deregister_frame_info_bases_internal): Likewise.
6095 (__register_frame_info_bases): Declare and use hidden_proto before
6096 definition. Use hidden_def instead of INTDEF.
6097 (__register_frame_info_table_bases): Likewise.
6098 (__deregister_frame_info_bases): Likewise.
6099 (__register_frame_info): Do not use INTUSE.
6100 (__register_frame): Likewise.
6101 (__register_frame_info_table): Likewise.
6102 (__register_frame_table): Likewise.
6103 (__deregister_frame_info): Likewise.
6104 (__deregister_frame): Likewise.
6105
03d41216
GC
61062014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6107
6108 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6109 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6110 not undefine.
6111 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6112 Likewise.
6113 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6114 Likewise.
6115
a4b3624d
JM
61162014-10-27 Joseph Myers <joseph@codesourcery.com>
6117
6118 [BZ #14138]
6119 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6120 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6121 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6122 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6123 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6124 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6125 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6126 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6127 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6128 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6129 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6130 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6131 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6132 syscall.
6133 (setfsuid): Likewise.
6134 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6135 (setfsuid): Likewise.
6136 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6137 (setfsuid): Likewise.
6138 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6139 Likewise.
6140 (setfsuid): Likewise.
6141 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6142 (setfsuid): Likewise.
6143 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6144 Likewise.
6145 (setfsuid): Likewise.
6146
3574f2fd
AS
61472014-10-27 Andreas Schwab <schwab@suse.de>
6148
6149 [BZ #17501]
6150 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6151 check for Slow_SSE4_2 feature bit.
6152 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6153 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6154 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6155 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6156
70996a37
RM
61572014-10-24 Roland McGrath <roland@hack.frob.com>
6158
461a7b1e
RM
6159 * configure.ac: Validate compiler version with a empirical test of
6160 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6161 $CC -v output.
6162 * configure: Regenerated.
6163
70996a37
RM
6164 * inet/htons.c (htons): Prototypify.
6165 * inet/htonl.c (htonl): Likewise.
6166
e80514b5
WD
61672014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6168
6169 * string/strncat.c (strncat): Improve performance by using strlen.
6170
6e46de42
WD
61712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6172
6173 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6174
6a9ad2fa
WD
61752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6176
6177 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6178 Call libc_fetestexcept_aarch64.
6179
1c8810ed
WD
61802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6181
6182 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6183 Call libc_feholdexcept_aarch64.
6184
8b1af712
WD
61852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6186
6187 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6188 Call get_rounding_mode.
6189
a7b00c11
WD
61902014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6191
6192 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6193 Simplify logic.
6194
3a84f1a6
WD
61952014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6196
6197 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6198 Simplify logic.
6199
48eb7a94
JM
62002014-10-24 Joseph Myers <joseph@codesourcery.com>
6201
c8bc4038
JM
6202 [BZ #14138]
6203 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6204 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6205 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6206 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6207 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6208 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6209 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6210 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6211 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6212 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6213 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6214 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6215 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6216 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6217 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6218 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6219 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6220 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6221 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6222 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6223 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6224 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6225 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6226 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6227 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6228 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6229 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6230 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6231 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6232 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6233 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6234 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6235 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6236 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6237 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6238 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6239 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6240 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6241 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6242 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6243 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6244 syscall.
6245 (geteuid): Likewise.
6246 (getgid): Likewise.
6247 (getuid): Likewise.
6248 (getresgid): Likewise.
6249 (getresuid): Likewise.
6250 (getgroups): Likewise.
6251 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6252 (geteuid): Likewise.
6253 (getgid): Likewise.
6254 (getuid): Likewise.
6255 (getresgid): Likewise.
6256 (getresuid): Likewise.
6257 (getgroups): Likewise.
6258 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6259 (geteuid): Likewise.
6260 (getgid): Likewise.
6261 (getuid): Likewise.
6262 (getresgid): Likewise.
6263 (getresuid): Likewise.
6264 (getgroups): Likewise.
6265 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6266 Likewise.
6267 (geteuid): Likewise.
6268 (getgid): Likewise.
6269 (getuid): Likewise.
6270 (getresgid): Likewise.
6271 (getresuid): Likewise.
6272 (getgroups): Likewise.
6273 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6274 (geteuid): Likewise.
6275 (getgid): Likewise.
6276 (getuid): Likewise.
6277 (getresgid): Likewise.
6278 (getresuid): Likewise.
6279 (getgroups): Likewise.
6280 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6281 Likewise.
6282 (geteuid): Likewise.
6283 (getgid): Likewise.
6284 (getuid): Likewise.
6285 (getgroups): Likewise.
6286
48eb7a94
JM
6287 [BZ #14138]
6288 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6289 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6290 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6291 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6292 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6293 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6294 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6295 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6296 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6297 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6298 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6299 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6300 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6301 __chown.
6302 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6303 (lchown): Likewise.
6304 (fchown): Likewise.
6305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6306 Likewise.
6307 (lchown): Likewise.
6308 (fchown): Likewise.
6309 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6310 (lchown): Likewise.
6311 (fchown): Likewise.
6312 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6313 Likewise.
6314 (lchown): Likewise.
6315 (fchown): Likewise.
6316
ea9a7c8b
WD
63172014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6318
6319 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6320 Simplify logic.
6321
e226de33
WD
63222014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6323
6324 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6325 Cleanup logic.
6326
6e3d8ed3
WD
63272014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6328
6329 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6330 Remove unused include.
6331
eb04247d
WD
63322014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6333
6334 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6335 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6336 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6337 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6338
13d84554
CD
63392014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6340 Helge Deller <deller@gmx.de>
6341
6342 [BZ #17508]
6343 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6344 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6345 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6346
15f9c5df
JM
63472014-10-23 Joseph Myers <joseph@codesourcery.com>
6348
6349 [BZ #14132]
6350 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6351 Remove macro definition.
6352 (__ashrdi3_v_glibc20): Likewise.
6353 (__lshrdi3_v_glibc20): Likewise.
6354 (__cmpdi2_v_glibc20): Likewise.
6355 (__ucmpdi2_v_glibc20): Likewise.
6356 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6357 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6358 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6359 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6360 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6361 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6362
c6dfed24
RM
63632014-10-22 Roland McGrath <roland@hack.frob.com>
6364
6365 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6366 old GNU extension [0] syntax.
6367 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6368 alloca rather than an array member with variable length.
6369 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6370 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6371 (parse_opt): ... here. Likewise use alloca there.
6372 Validate the -i argument before checking for rootness.
6373 (send_shutdown): New function, broken out of ...
6374 (parse_opt): ... here.
6375
8c2b1ed8
RM
63762014-10-22 Roland McGrath <roland@hack.frob.com>
6377
6378 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6379 macro to get at the _rt_local_ro field.
6380 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6381 ([PIC] case) or _dl_hwcap ([!PIC] case).
6382 * sysdeps/arm/setjmp.S: Likewise.
6383
6384 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6385 * sysdeps/arm/configure.ac: New check to define it.
6386 * sysdeps/arm/configure: Regenerated.
6387 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6388 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6389 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6390 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6391 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6392 Use move/movt pair instead of a load.
6393 (LDST_GLOBAL): Macro removed.
6394 (LDR_GLOBAL): New macro replaces it.
6395 (LDR_HIDDEN): New macro.
6396 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6397 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6398
6399 * setjmp/tst-setjmp-static.c: New file.
6400 * setjmp/Makefile (tests): Add it.
6401 (tests-static): New variable.
6402
b5af9297
MR
64032014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6404
6405 [BZ #17485]
6406 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6407
a13d0d74
JM
64082014-10-21 Joseph Myers <joseph@codesourcery.com>
6409
6410 [BZ #14132]
6411 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6412
f05e73f6
RM
64132014-10-21 Roland McGrath <roland@hack.frob.com>
6414
6415 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6416
6ab1d1ea
RM
64172014-10-20 Roland McGrath <roland@hack.frob.com>
6418
6419 * io/fts.c (dirent_not_directory): New function.
6420 (fts_build): Call it.
6421
ab49e763
RM
64222014-10-20 Roland McGrath <roland@hack.frob.com>
6423
e436eb79
RM
6424 * nptl/version.c (__nptl_main): Use normal __write rather than
6425 INTERNAL_SYSCALL.
6426 (banner): Update copyright years.
6427
6af246cf
RM
6428 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6429 gettimeofday.
6430 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6431 * nptl/pthread_cond_timedwait.c: Likewise.
6432 * nptl/pthread_mutex_timedlock.c: Likewise.
6433 * nptl/sem_timedwait.c: Likewise.
6434
ab49e763
RM
6435 * sysdeps/nptl/bits/libc-lock.h
6436 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6437 (__libc_lock_init_recursive): Return void, not 0.
6438 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6439 (__libc_rwlock_init): Likewise.
6440 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6441
f50277c1
TR
64422014-10-20 Torvald Riegel <triegel@redhat.com>
6443
6444 [BZ #15215]
6445 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6446 (__pthread_once_slow): ... here.
6447 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6448 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6449
63668b70
TR
64502014-10-20 Torvald Riegel <triegel@redhat.com>
6451
6452 [BZ #15215]
6453 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6454 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6455 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6456 * nptl/pthread_once.c (__pthread_once): Likewise.
6457 Update comments.
6458
42b7f5d4
JM
64592014-10-20 Joseph Myers <joseph@codesourcery.com>
6460
6461 [BZ #14138]
6462 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6463 name.
6464 (writev): Use __libc_writev as strong name.
6465 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6466 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6467
b0643088
RM
64682014-10-17 Roland McGrath <roland@hack.frob.com>
6469
114c4e09
RM
6470 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6471
674b8978
RM
6472 * sysdeps/i386/nptl/tls.h
6473 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6474 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6475 New macros.
6476 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6477 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6478 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6479 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6480 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6481 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6482
184ee940
RM
6483 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6484 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6485 on [__NR_futex].
6486 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6487 broken out of ...
6488 (__pthread_mutex_init): ... here. Call it.
6489 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6490 Conditionalize PI cases on [__NR_futex].
6491 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6492 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6493 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6494
327ae257
RM
6495 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6496 conditional on [SIGSETXID].
6497 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6498 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6499 is defined. Likewise for SIGSETXID.
6500 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6501 Conditionalize definitions on [SIGSETXID].
6502 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6503 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6504 unblocking on [SIGCANCEL].
6505
b0643088
RM
6506 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6507 [__NR_set_robust_list].
6508
33cc770b
SP
65092014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6510
6511 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6512 (do_compare): Likewise.
6513
0742aef6
LH
65142014-10-17 Leonhard Holz <leonhard.holz@web.de>
6515
6516 [BZ #15884]
6517 * string/strcoll_l.c: Don't include stdio.h.
6518 (coll_seq): Remove members idxarr and rulearr.
6519 (get_next_seq_cached): Remove function.
6520 (get_next_seq): Likewise.
6521 (get_next_seq_nocache): Rename to get_next_seq.
6522 (do_compare): Remove function.
6523 (do_compare_nocache): Rename to do_compare.
6524 (STRCOLL): Remove weight and rules cache.
6525
ee54ce44
RM
65262014-10-16 Roland McGrath <roland@hack.frob.com>
6527
6528 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6529 * sysdeps/arm/sfp-machine.h: ... to here.
6530 * sysdeps/arm/Implies: Remove arm/soft-fp.
6531
a75d3b02
JM
65322014-10-14 Joseph Myers <joseph@codesourcery.com>
6533
6534 * conform/data/sys/utsname.h-data (*_t): Allow.
6535 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6536 [POSIX] (WEXITED): Do not expect constant.
6537 [POSIX] (WSTOPPED): Likewise.
6538 [POSIX] (WNOHANG): Likewise.
6539 [POSIX] (WNOWAIT): Likewise.
6540 [POSIX] (siginfo_t): Do not expect type or elements.
6541 [POSIX] (pid_t): Do not expect type.
6542 [POSIX] (signal.h): Do not allow header.
6543 [POSIX] (sys/resource.h): Likewise.
6544 [POSIX] (si_*): Do not allow pattern.
6545 [POSIX] (W*): Likewise.
6546 [POSIX] (P_*): Likewise.
6547 [POSIX] (BUS_*): Likewise.
6548 [POSIX] (CLD_*): Likewise.
6549 [POSIX] (FPE_*): Likewise.
6550 [POSIX] (ILL_*): Likewise.
6551 [POSIX] (POLL_*): Likewise.
6552 [POSIX] (SEGV_*): Likewise.
6553 [POSIX] (SI_*): Likewise.
6554 [POSIX] (TRAP_*): Likewise.
6555 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6556 variable.
6557
fda389c8
SP
65582014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6559
6560 [BZ #12926]
6561 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6562 infinite loop when __recvmsg returns 0.
6563
6bc6bd3b
JM
65642014-10-10 Joseph Myers <joseph@codesourcery.com>
6565
fcb32af1
JM
6566 * CANCEL-FCT-WAIVE: Remove file.
6567 * CANCEL-FILE-WAIVE: Likewise.
6568
6bc6bd3b
JM
6569 [BZ #14132]
6570 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6571 instead of INTVARDEF.
6572 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6573 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6574 rtld_hidden_data_def instead of INTVARDEF.
6575 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6576 * elf/dl-deps.c (expand_dst): Likewise.
6577 * elf/dl-load.c (_dl_dst_count): Likewise.
6578 (_dl_dst_substitute): Likewise.
6579 (decompose_rpath): Likewise.
6580 (_dl_init_paths): Likewise.
6581 (open_path): Likewise.
6582 (_dl_map_object): Likewise.
6583 * elf/rtld.c (dl_main): Likewise.
6584 (process_dl_audit): Likewise.
6585 (process_envvars): Likewise.
6586 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6587 Remove declaration.
6588 (__libc_enable_secure): Use rtld_hidden_proto.
6589
b8c80a7e
KS
65902014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6591
6592 * elf/dl-load.c
6593 (add_path): New function broken out of _dl_rtld_di_serinfo.
6594 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6595
ff12c11f
JM
65962014-10-09 Joseph Myers <joseph@codesourcery.com>
6597
5c0508a3
JM
6598 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6599 parentheses around macro arguments.
6600 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6601 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6602 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6603 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6604 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6605 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6606 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6607 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6608 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6609 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6610 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6611 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6612 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6613 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6614 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6615 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6616 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6617 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6618 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6619 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6620 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6621 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6622 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6623 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6624 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6625 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6626 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6627 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6628 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6629 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6630 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6631 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6632 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6633 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6634 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6635 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6636 Likewise.
6637 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6638 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6639 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6640 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6641 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6642 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6643 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6644 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6645 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6646 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6647 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6648 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6649 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6650 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6651 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6652 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6653 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6654 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6655 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6656 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6657 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6658 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6659 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6660 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6661 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6662 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6663 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6664 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6665 (_FP_FRAC_SRS_1): Likewise.
6666 (_FP_FRAC_CLZ_1): Likewise.
6667 (_FP_MUL_MEAT_1_imm): Likewise.
6668 (_FP_MUL_MEAT_1_wide): Likewise.
6669 (_FP_MUL_MEAT_1_hard): Likewise.
6670 (_FP_SQRT_MEAT_1): Likewise.
6671 (_FP_FRAC_ASSEMBLE_1): Likewise.
6672 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6673 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6674 (__FP_CLZ_2): Likewise.
6675 (_FP_MUL_MEAT_2_wide): Likewise.
6676 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6677 (_FP_MUL_MEAT_2_gmp): Likewise.
6678 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6679 (_FP_SQRT_MEAT_2): Likewise.
6680 (_FP_FRAC_ASSEMBLE_2): Likewise.
6681 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6682 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6683 (_FP_FRAC_CLZ_4): Likewise.
6684 (_FP_MUL_MEAT_4_wide): Likewise.
6685 (_FP_MUL_MEAT_4_gmp): Likewise.
6686 (_FP_SQRT_MEAT_4): Likewise.
6687 (_FP_FRAC_ASSEMBLE_4): Likewise.
6688 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6689 * soft-fp/op-common.h (_FP_CMP): Likewise.
6690 (_FP_CMP_EQ): Likewise.
6691 (_FP_CMP_UNORD): Likewise.
6692 (_FP_TO_INT): Likewise.
6693 (_FP_FROM_INT): Likewise.
6694 [!__FP_CLZ] (__FP_CLZ): Likewise.
6695 (_FP_DIV_HELP_imm): Likewise.
6696 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6697 Likewise.
6698 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6699 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6700 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6701 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6702 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6703 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6704 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6705 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6706 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6707 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6708 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6709 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6710 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6711 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6712 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6713 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6714 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6715 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6716 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6717 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6718 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6719 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6720 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6721 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6722 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6723 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6724 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6725 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6726 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6727 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6728 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6729 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6730 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6731 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6732 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6733 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6734 (FP_UNPACK_RAW_SP): Likewise.
6735 (FP_PACK_RAW_S): Likewise.
6736 (FP_PACK_RAW_SP): Likewise.
6737 (FP_UNPACK_S): Likewise.
6738 (FP_UNPACK_SP): Likewise.
6739 (FP_UNPACK_SEMIRAW_S): Likewise.
6740 (FP_UNPACK_SEMIRAW_SP): Likewise.
6741 (FP_PACK_S): Likewise.
6742 (FP_PACK_SP): Likewise.
6743 (FP_PACK_SEMIRAW_S): Likewise.
6744 (FP_PACK_SEMIRAW_SP): Likewise.
6745 (_FP_SQRT_MEAT_S): Likewise.
6746 (FP_CMP_S): Likewise.
6747 (FP_CMP_EQ_S): Likewise.
6748 (FP_CMP_UNORD_S): Likewise.
6749 (FP_TO_INT_S): Likewise.
6750 (FP_FROM_INT_S): Likewise.
6751
a736ec37
JM
6752 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6753
ff12c11f
JM
6754 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6755 (FP_EX_INVALID_IMZ): Likewise.
6756 (FP_EX_INVALID_IMZ_FMA): Likewise.
6757 (FP_EX_INVALID_ISI): Likewise.
6758 (FP_EX_INVALID_ZDZ): Likewise.
6759 (FP_EX_INVALID_IDI): Likewise.
6760 (FP_EX_INVALID_SQRT): Likewise.
6761 (FP_EX_INVALID_CVI): Likewise.
6762 (FP_EX_INVALID_VC): Likewise.
6763 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6764 "invalid" exceptions.
6765 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6766 (_FP_ADD_INTERNAL): Likewise.
6767 (_FP_MUL): Likewise.
6768 (_FP_FMA): Likewise.
6769 (_FP_DIV): Likewise.
6770 (_FP_CMP_CHECK_NAN): Likewise.
6771 (_FP_SQRT): Likewise.
6772 (_FP_TO_INT): Likewise.
6773 (FP_EXTEND): Likewise.
6774
b6dcfe8c
AM
67752014-10-09 Allan McRae <allan@archlinux.org>
6776
6777 * po/fr.po: Update French translation from translation project.
6778
2d6a47ba
JM
67792014-10-09 Joseph Myers <joseph@codesourcery.com>
6780
cb831245
JM
6781 [BZ #14132]
6782 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6783 of INTDEF.
6784 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6785 (__cxa_atexit): Use libc_hidden_proto.
6786 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6787
5deeb190
JM
6788 [BZ #14132]
6789 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6790 declaration.
6791 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6792 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6793 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6794 [!_ISOMAC] (__iswctype_internal): Likewise.
6795 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6796 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6797 alias.
6798 (fcntl): Remove __fcntl_internal alias.
6799 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6800 __connect_internal alias.
6801 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6802 Likewise.
6803
454ac701
JM
6804 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6805 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6806 FP_DENORM_ZERO.
6807 (_FP_CHECK_FLUSH_ZERO): New macro.
6808 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6809 (_FP_CMP): Likewise.
6810 (_FP_CMP_EQ): Likewise.
6811 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6812 FP_DENORM_ZERO.
6813 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6814 (FP_TRUNC): Likewise.
6815
0022e688
JM
6816 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6817 treated as invalid conversion, not as normal exponent.
6818
73e28d9c
JM
6819 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6820 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6821 (_FP_CMP_EQ): Likewise.
6822 (_FP_CMP_UNORD): Likewise.
6823 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6824 (FP_CMP_EQ_D): Likewise.
6825 (FP_CMP_UNORD_D): Likewise.
6826 * soft-fp/extended.h (FP_CMP_E): Likewise.
6827 (FP_CMP_EQ_E): Likewise.
6828 (FP_CMP_UNORD_E): Likewise.
6829 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6830 (FP_CMP_EQ_Q): Likewise.
6831 (FP_CMP_UNORD_Q): Likewise.
6832 * soft-fp/single.h (FP_CMP_S): Likewise.
6833 (FP_CMP_EQ_S): Likewise.
6834 (FP_CMP_UNORD_S): Likewise.
6835 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6836 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6837 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6838 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6839 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6840 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6841 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6842 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6843 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6844 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6845 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6846 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6847 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6848 to FP_CMP_Q.
6849 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6850 FP_CMP_Q.
6851 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6852 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6853 FP_CMP_EQ_Q.
6854 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6855 FP_CMP_Q.
6856 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6857 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6858 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6859 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6860 FP_CMP_EQ_Q.
6861 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6862 FP_CMP_Q.
6863 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6864 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6865 FP_CMP_EQ_Q.
6866 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6867 FP_CMP_Q.
6868 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6869 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6870 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6871 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6872 FP_CMP_EQ_Q.
6873
43059f42
JM
6874 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6875 a subnormal result, set the underflow exception if trapping on
6876 underflow is enabled.
6877 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6878 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6879 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6880 redefine to 0.
6881 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6882 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6883 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6884 * soft-fp/extendxftf2.c (__extendxftf2): Use
6885 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6886
2d6a47ba
JM
6887 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6888 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6889 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6890 FP_HANDLE_EXCEPTIONS.
6891 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6892 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6893 FP_HANDLE_EXCEPTIONS.
6894 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6895 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6896 FP_HANDLE_EXCEPTIONS.
6897 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6898 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6899 FP_HANDLE_EXCEPTIONS.
6900
620f462e
JM
69012014-10-08 Joseph Myers <joseph@codesourcery.com>
6902
6903 [BZ #14132]
6904 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6905 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6906 use INTUSE.
6907 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6908 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6909 Remove alias.
6910 (__adjtimex): Define using libc_hidden_ver.
6911 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6912 Remove declaration.
6913 (ntp_gettime): Call __adjtimex directly.
6914 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6915 Remove declaration.
6916 (ntp_gettimex): Call __adjtimex directly.
6917 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6918 __adjtimex_internal alias.
6919
c763c5d2
RM
69202014-10-08 Roland McGrath <roland@hack.frob.com>
6921
6922 [BZ #17460]
6923 * nscd/nscd.c (more_help): Rewrite list of tables collection
6924 using xstrdup and asprintf.
6925
6926 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6927
7b8fb2b8
RM
69282014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6929 Roland McGrath <roland@hack.frob.com>
6930
6931 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6932 (do_lookup_unique): ... local function 'enter' here; update callers.
6933
abb280f7
JM
69342014-10-06 Joseph Myers <joseph@codesourcery.com>
6935
f7b42517
JM
6936 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6937 compat_symbol calls on [SHARED].
6938 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6939 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6940 Remove.
6941 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6942 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6943 (oldsetrlimit): Remove.
6944 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6946 (lchown): New syscall entry.
6947 (oldsetrlimit): Remove.
6948 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6949 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6950 (oldsetrlimit): Remove.
6951 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6952
abb280f7
JM
6953 [BZ #14138]
6954 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6955 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6956 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6957 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6958 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6959 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6960 (fchown): Likewise.
6961 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6962 (fchown): Likewise.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6964 Likewise.
6965
47d46237
AZ
69662014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967
6968 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6969 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6970 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6971 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6972 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6973 Likewise.
6974 (__old_sem_post): Likewise.
6975
69762014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6977
845a7343
CM
6978 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6979 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6980 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6981 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6982 Use INLINE_VSYSCALL macro.
6983 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6984 __vdso_clock_gettime.
6985 * sysdeps/unix/sysv/linux/tile/init-first.c
6986 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6987 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6988 __vdso_clock_gettime.
6989
83d641ef
CM
6990 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6991 to set up frame more cleanly.
6992
d9cd52e6
CM
6993 * sysdeps/tile/memcmp.c: New file.
6994
4b68ea11
CM
6995 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6996
c86f7b80
CM
6997 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6998 * sysdeps/tile/tilegx/strcasestr.c: New file.
6999 * sysdeps/tile/tilegx/strnlen.c: New file.
7000 * sysdeps/tile/tilegx/strstr.c: New file.
7001
1c4c1a6f
CM
7002 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7003
99d86ea3
AS
70042014-10-06 Arjun Shankar <arjun.is@lostca.se>
7005
7006 * nptl/tst-setuid3.c: Write errors to stdout.
7007
06210a44
KS
70082014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7009
7010 * elf/dl-deps.c
7011 (preload): New functions broken out of _dl_map_object_deps.
7012 (_dl_map_object_deps): Remove a nested function. Update call sites.
7013
6268f532
JM
70142014-10-01 Joseph Myers <joseph@codesourcery.com>
7015
7016 [BZ #14138]
7017 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7018 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7019
b925285f
SE
70202014-10-01 Steve Ellcey <sellcey@mips.com>
7021
7022 * sysdeps/mips/strcmp.S: New.
7023
754a15c6
JM
70242014-09-30 Joseph Myers <joseph@codesourcery.com>
7025
7026 [BZ #14138]
7027 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7028 (linkat): Likewise.
7029 (mkdirat): Likewise.
7030 (readlinkat): Likewise.
7031 (renameat): Likewise.
7032 (symlinkat): Likewise.
7033 (unlinkat): Likewise.
7034 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7035 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7036 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7037 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7038 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7039 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7040 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7041
85bb81c9
WN
70422014-09-30 Will Newton <will.newton@linaro.org>
7043
dc6fe23b
WN
7044 * math/math.h: Define long double math functions if
7045 _LIBC_TEST is defined.
7046 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7047
85bb81c9
WN
7048 * localedata/Makefile: Move assignment to tests-special
7049 into an ifdef testing run-built-tests.
7050 * timezone/Makefile: Likewise.
7051
b7e02da4
JM
70522014-09-29 Joseph Myers <joseph@codesourcery.com>
7053
7054 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7055 with $(BASH) not $(SHELL).
7056
62058ce6
CD
70572014-09-29 Carlos O'Donell <carlos@redhat.com>
7058 Matthew LeGendre <legendre1@llnl.gov>
7059
7060 [BZ #17411]
7061 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7062 l_reloc_result.
7063
8e257a29
KS
70642014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7065
7066 * stdio-common/printf_fp.c
7067 (hack_digit): New function, broken out of ...
7068 (__printf_fp): ... local function here. Update call sites.
7069 hack_digit now takes an additional parameter that is a pointer
7070 to a struct of the referenced locals. Those locals moved inside
7071 the struct and references updated.
7072
f4a58f0d
L
70732014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7074
7075 * aclocal.m4: Require autoconf 2.69.
7076 * configure: Regenerated.
7077 * sysdeps/aarch64/configure: Likewise.
7078 * sysdeps/alpha/configure: Likewise.
7079 * sysdeps/arm/armv7/configure: Likewise.
7080 * sysdeps/arm/configure: Likewise.
7081 * sysdeps/ia64/configure: Likewise.
7082 * sysdeps/mach/configure: Likewise.
7083 * sysdeps/mips/configure: Likewise.
7084 * sysdeps/s390/configure: Likewise.
7085 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7087
7088 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7089 file.
7090 * sysdeps/ia64/configure.ac: Likewise.
7091
93ae1eba
JM
70922014-09-26 Joseph Myers <joseph@codesourcery.com>
7093
1810d3ab
JM
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7095 specify symbol version for ld.so. Do not include entry for
7096 libpthread.
7097 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7098 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7099 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7100
93ae1eba
JM
7101 [BZ #14171]
7102 * Makeconfig [$(build-shared) = yes]
7103 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7104 makefiles.
7105 [$(build-shared) = yes && $(soversions.mk-done) = t]
7106 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7107 [$(build-shared) = yes && $(soversions.mk-done) = t]
7108 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7109 to Makerules.
7110 [$(build-shared) = yes && $(soversions.mk-done) = t]
7111 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7112 here.
7113 [$(build-shared) = yes && $(soversions.mk-done) = t]
7114 (common-generated): Don't append gnu/lib-names.h and
7115 gnu/lib-names.stmp here.
7116 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7117 (lib-names-h-abi): New variable.
7118 [$(build-shared) = yes && $(soversions.mk-done) = t]
7119 (lib-names-stmp-abi): Likewise.
7120 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7121 abi-variants] (before-compile): Append
7122 $(common-objpfx)$(lib-names-h-abi).
7123 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7124 abi-variants] (common-generated): Append gnu/lib-names.h.
7125 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7126 abi-variants] (install-others-nosubdir): Depend on
7127 $(inst_includedir)/$(lib-names-h-abi).
7128 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7129 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7130 [$(build-shared) = yes && $(soversions.mk-done) = t]
7131 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7132 [$(build-shared) = yes && $(soversions.mk-done) = t]
7133 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7134 [$(build-shared) = yes && $(soversions.mk-done) = t]
7135 (common-generated): Append $(lib-names-h-abi) and
7136 $(lib-names-stmp-abi).
7137 * scripts/lib-names.awk: Do not handle multi being set.
7138 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7139 Remove variable.
7140 (abi-lp64_be-ld-soname): Likewise.
7141 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7142 Likewise.
7143 (abi-hard-ld-soname): Likewise.
7144 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7145 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7146 Remove variable.
7147 (abi-o32_hard-ld-soname): Likewise.
7148 (abi-o32_soft_2008-ld-soname): Likewise.
7149 (abi-o32_hard_2008-ld-soname): Likewise.
7150 (abi-n32_soft-ld-soname): Likewise.
7151 (abi-n32_hard-ld-soname): Likewise.
7152 (abi-n32_soft_2008-ld-soname): Likewise.
7153 (abi-n32_hard_2008-ld-soname): Likewise.
7154 (abi-n64_soft-ld-soname): Likewise.
7155 (abi-n64_hard-ld-soname): Likewise.
7156 (abi-n64_soft_2008-ld-soname): Likewise.
7157 (abi-n64_hard_2008-ld-soname): Likewise.
7158 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7159 Likewise.
7160 (abi-64-v2-ld-soname): Likewise.
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7162 ld.so entries.
7163 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7164 variable.
7165 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7166 entry.
7167 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7168 variable.
7169 (abi-64-ld-soname): Likewise.
7170 (abi-x32-ld-soname): Likewise.
7171 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7172 entry.
7173 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7174
68870f12
JM
71752014-09-23 Joseph Myers <joseph@codesourcery.com>
7176
7177 [BZ #14138]
7178 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7179 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7180 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7181 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7182 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7183 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7184 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7185 syscall entry for GLIBC_2.2 symbol version.
7186 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7187 Likewise.
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7189 (setrlimit): Likewise.
7190 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7191 Likewise.
7192
ea58f202
WN
71932014-09-23 Will Newton <will.newton@linaro.org>
7194
7195 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7196 _LINUX_ARM_SYSDEP_H include guard too.
7197 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7198 define.
7199
69eb9a18
RV
72002014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7201
7202 * sysdeps/unix/sysv/linux/eventfd.c:
7203 Make first argument unsigned.
7204 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7205 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7206
20e5a5f7
OB
72072014-09-20 Ondřej Bílka <neleai@seznam.cz>
7208
7209 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7210 * socket/sys/socket.h: Likewise
7211 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7212
d3c827e7
AK
72132014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7214
7215 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7216
fe1cc35a
AS
72172014-09-17 Arjun Shankar <arjun.is@lostca.se>
7218
7219 * time/tst-ftime.c: New test.
7220 * time/Makefile (tests): Add tst-ftime.
7221
4e8afe69
JM
72222014-09-17 Joseph Myers <joseph@codesourcery.com>
7223
c4fe3ea7
JM
7224 * soft-fp/extended.h: Fix comment formatting.
7225 * soft-fp/op-1.h: Likewise.
7226 * soft-fp/op-2.h: Likewise.
7227 * soft-fp/op-4.h: Likewise.
7228 * soft-fp/op-8.h: Likewise.
7229 * soft-fp/op-common.h: Likewise.
7230 * soft-fp/soft-fp.h: Likewise.
7231
4e8afe69
JM
7232 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7233
af296fcd
JM
72342014-09-16 Joseph Myers <joseph@codesourcery.com>
7235
7236 [BZ #6652]
7237 * Makeconfig (soversions-default-setname): Remove variable.
7238 ($(common-objpfx)soversions.i): Don't pass default_setname to
7239 soversions.awk.
7240 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7241 oldest_abi to abi-versions.awk.
7242 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7243 * config.make.in (oldest-abi): Remove variable.
7244 * configure.ac (--enable-oldest-abi): Remove configure option.
7245 * configure: Regenerated.
7246 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7247 text.
7248 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7249 * scripts/soversions.awk: Do not handle default_setname variable.
7250 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7251 variable.
7252 * sysdeps/mach/hurd/configure: Regenerated.
7253 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7254 variable.
7255 * sysdeps/unix/sysv/linux/configure: Regenerated.
7256
545583d6
SP
72572014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7258
d330b980
SP
7259 * elf/Makefile (CFLAGS-interp.c): Remove.
7260 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7261 path string.
7262 * elf/interp.c: Include generated runtime-linker.h
7263
02657da2
SP
7264 * Makerules (lib%.so): Don't include $(+interp) in
7265 prerequisites.
7266 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7267 * dlfcn/eval.c: Remove file.
7268
653b1080
SP
7269 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7270 macros.
7271
602f80ec
SP
7272 [BZ #17266]
7273 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7274 4.2 and newer.
7275
545583d6
SP
7276 [BZ #17370]
7277 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7278
884ddc50
SP
72792014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7280 Jakub Jelinek <jakub@redhat.com>
7281
7282 [BZ #17266]
7283 * libio/stdio.h: Check definition of __fortify_function
7284 instead of __extern_always_inline to include bits/stdio2.h.
7285 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7286 check if __extern_always_inline is defined.
7287 [__USE_MISC || __USE_XOPEN]: Likewise.
7288 [__USE_ISOC99] Likewise.
7289 * misc/sys/cdefs.h (__fortify_function): Define only if
7290 __extern_always_inline is defined.
7291 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7292 __extern_always_inline and __extern_inline only for g++-4.3
7293 and newer or a compatible gcc.
7294
a7b87268
AS
72952014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7296
7297 [BZ #17371]
7298 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7299 last change to handle zero prefix length.
7300
3f41521d
SP
73012014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7302
61fe374a
SP
7303 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7304 _SC_REGEX_VERSION.
7305
3f41521d
SP
7306 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7307 _POSIX_RAW_SOCKETS.
7308
d8f879ee
AM
73092014-09-13 Allan McRae <allan@archlinux.org>
7310
7311 * po/ru.po: Update Russian translation from translation project.
7312
c079afb7
RM
73132014-09-12 Roland McGrath <roland@hack.frob.com>
7314
a62b3c15
RM
7315 * locale/programs/locale.c (show_locale_vars): Inline local function
7316 into its sole call site. Clean up some style nits.
7317 (print_item): New function, broken out of ...
7318 (show_info): ... local function here. Clean up style nits.
7319
d7e49b19
RM
7320 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7321 out of ...
7322 (set_class_defaults): ... local function set_default here.
7323 Define set_default as a macro locally to pass constant parameters.
7324 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7325 rather than a shared local.
7326
c079afb7
RM
7327 * stdlib/rpmatch.c (try): New function, broken out of ...
7328 (rpmatch): ... local function here. Also, prototypify definition.
7329
0bd72468
JM
73302014-09-12 Joseph Myers <joseph@codesourcery.com>
7331
ba90e050
JM
7332 * scripts/soversions.awk: Do not handle configuration names.
7333 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7334 vendor and os variables to soversions.awk.
7335 * configure.ac: Do not modify gnu-* host_os.
7336 * configure: Regenerated
7337 * shlib-versions: Remove first column with configuration names.
7338 * nptl/shlib-versions: Likewise.
7339 * nptl_db/shlib-versions: Likewise.
7340 * sysdeps/hppa/shlib-versions: Likewise.
7341 * sysdeps/m68k/shlib-versions: Likewise.
7342 * sysdeps/mach/hurd/shlib-versions: Likewise.
7343 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7344 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7345 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7346 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7347 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7348 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7349 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7350 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7352 Likewise.
7353 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7354 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7355 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7356 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7357 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7358 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7359 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7360 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7361
73a39112
JM
7362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7363 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7365 Regenerated.
7366 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7368 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7369
c729e7c1
JM
7370 * shlib-versions: Remove OS-specific entries. Moved to files in
7371 sysdeps.
7372 * sysdeps/mach/hurd/shlib-versions: New file.
7373 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7374
dc932a24
JM
7375 * nptl/shlib-versions: Remove architecture-specific entries.
7376 Moved to files in sysdeps.
7377 * shlib-versions: Likewise.
7378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7379 file.
7380 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7381 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7382 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7383 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7384
0bd72468
JM
7385 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7386 (UDP_NO_CHECK6_RX): Likewise.
7387
920238e0
SP
73882014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7389
7390 * sysdeps/posix/sysconf.c (__sysconf): Spell
7391 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7392
ba7b4d29
FW
73932014-08-12 Florian Weimer <fweimer@redhat.com>
7394
7395 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7396 loading.
7397 * iconv/Versions (__gconv_transliterate): Export for use from
7398 gconv modules.
7399 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7400 (struct __gconv_trans_data, __gconv_trans_fct,
7401 __gconv_trans_context_fct, __gconv_trans_query_fct,
7402 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7403 definitions.
7404 (struct __gconv_step_data): Remove __trans member.
7405 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7406 longer hidden. Remove unused trans_data argument.
7407 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7408 (__gconv_translit_find): Remove declaration.
7409 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7410 prototype.
7411 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7412 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7413 trans_data argument. Add hidden definition.
7414 (__gconv_translit_find): Remove.
7415 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7416 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7417 * iconv/skeleton.c: Remove transliteration initialization.
7418 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7419 __gconv_step_data initialization.
7420 * libio/iofwide.c (__libio_translit_): Remove.
7421 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7422 * wcsmbs/btowc.c (__btowc): Likewise.
7423 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7424 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7425 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7426 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7427 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7428 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7429 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7430 * wcsmbs/wctob.c (wctob): Likewise.
7431
5379aebd
SP
74322014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7433
7434 [BZ #16194]
7435 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7436 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7437 register usage.
7438 * sysdeps/x86/Makefile: Adjust.
7439
8c0ab919
RM
74402014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7441 Roland McGrath <roland@hack.frob.com>
7442
7443 * locale/weight.h: Add include guard.
7444 (findidx): Make static rather than auto; take new parameters
7445 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7446 * locale/weightwc.h: Likewise.
7447 * posix/fnmatch_loop.c
7448 (FCT): Change type of EXTRA from int32_t to wint_t.
7449 Don't include either header inside the function.
7450 Call FINDIDX rather than findidx, and pass new arguments.
7451 #undef FINDIDX at the end of the file.
7452 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7453 FINDIDX before including fnmatch_loop.c for the non-wide version.
7454 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7455 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7456 for the wide version.
7457 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7458 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7459 Pass new arguments to findidx.
7460 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7461 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7462 Don't #include it inside the function. Pass new arguments to findidx.
7463 * posix/regex_internal.h
7464 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7465 (re_string_elem_size_at): Don't #include it inside the function.
7466 Pass new arguments to findidx.
7467 * string/strcoll_l.c: #include WEIGHT_H at top level.
7468 (get_next_seq): Don't #include it inside the function.
7469 Pass new arguments to findidx.
7470 (get_next_seq_nocache): Likewise.
7471 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7472 (STRXFRM): Don't #include it inside the function.
7473 Pass new arguments to findidx.
7474
52ffbdf2
FW
74752014-09-11 Florian Weimer <fweimer@redhat.com>
7476
7477 [BZ #17344]
7478 * malloc/malloc.c (unlink): Turn asserts into a call to
7479 malloc_printerr.
7480
984c0ea9
TL
74812014-09-11 Tim Lammens <tim.lammens@gmail.com>
7482
7483 [BZ #17370]
7484 * libio/wfileops (do_ftell_wide): Free OUT.
7485
3daee107
CM
74862014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7487
7488 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7489
58b930ae
SP
74902014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7491
7492 [BZ #17363]
7493 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7494 group if the current group is empty.
7495
3b473fec
AZ
74962014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7497
71ae8647
AZ
7498 * benchtests/bench-memset.c (test_main): Add more test from size
7499 from 32 to 512 bytes.
7500 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7501 Add POWER8 memset object.
7502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7503 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7504 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7505 implementation.
7506 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7507 Likewise.
7508 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7509 multiarch POWER8 memset optimization.
7510 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7511 POWER8 memset optimization.
7512
3b473fec
AZ
7513 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7514 Remove bzero multiarch objects.
7515 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7516 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7517 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7518 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7519 Remove define.
7520 [__bzero]: Redefine to specific name.
7521 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7522 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7523 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7524 define.
7525 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7526 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7527
e6fb9587
FW
75282014-09-10 Florian Weimer <fweimer@redhat.com>
7529
7530 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7531 warnings into errors.
7532
7533 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7534 __cxa_thread_atexit_impl prototype.
7535
9d3a350b
SE
75362014-09-09 Steve Ellcey <sellcey@mips.com>
7537
7538 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7539 Fix capitalization of error message.
7540
0febba23
SE
75412014-09-09 Steve Ellcey <sellcey@mips.com>
7542
7543 * sysdeps/mips/preconfigure: Modify ABI tests.
7544
645a0e9c
CD
75452014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7546
7547 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7548
d83f0734
CD
75492014-09-07 Roland McGrath <roland@hack.frob.com>
7550 Carlos O'Donell <carlos@systemhalted.org>
7551
7552 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7553 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7554 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7555 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7556 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7557 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7558 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7559 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7560 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7561 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7562 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7563 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7564 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7565 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7566 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7567 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7568 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7569 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7570 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7571 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7572 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7573 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7574 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7575 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7576 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7577 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7578 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7579 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7580 Deconditionalize the code that was previously under [RESET_PID].
7581 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7582 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7583 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7584 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7585 include sysdep.h.
7586
21c83793
AM
75872014-09-08 Allan McRae <allan@archlinux.org>
7588
7589 * version.h (RELEASE): Set to "development".
7590 (VERSION): Set to "2.20.90"
7591
1cd9b65c
AM
75922014-09-07 Allan McRae <allan@archlinux.org
7593
b8079dd0
AM
7594 * version.h (RELEASE): Set to "stable".
7595 (VERSION): Set to "2.20"
7596 * include/features.h (__GLIBC_MINOR__): Set to 20.
7597
c46303ef
AM
7598 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7599 Liebler.
7600
1cd9b65c
AM
7601 * po/ko.po: Update Korean translation from translation project.
7602
8622092d
CM
76032014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7604
7605 [BZ #17354]
7606 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7607 macro for handling signed relocations.
7608
41488498
FW
76092014-09-03 Florian Weimer <fweimer@redhat.com>
7610
7611 [BZ #17325]
7612 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7613 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7614 assert.
7615 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7616 * iconvdata/ibm935.c (BODY): Likewise.
7617 * iconvdata/ibm937.c (BODY): Likewise.
7618 * iconvdata/ibm939.c (BODY): Likewise.
7619 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7620 assert.
7621 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7622 script.
7623 * iconvdata/run-iconv-test.sh: New test loop for checking for
7624 decoder crashers.
7625
a78b712d
KR
76262014-09-02 Khem Raj <raj.khem@gmail.com>
7627
7628 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7629 libm_hidden_ver.
7630
cb08abc6
AM
76312014-09-01 Allan McRae <allan@archlinux.org>
7632
2c31e102
AM
7633 * po/eo.po: Update Esperanto translation from translation project.
7634
cb08abc6
AM
7635 * po/ca.po: Update Catalan translation from translation project.
7636
17a62de1
ST
76372014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7638
7639 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7640 __proc_dostop call.
7641
9570bc53
MW
76422014-08-27 Mark Wielaard <mjw@redhat.com>
7643
7644 [BZ #17319]
7645 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7646 to call set_thread_area instead of hand written asm.
7647 (__NR_set_thread_area): Removed define.
7648 (TLS_FLAG_WRITABLE): Likewise.
7649 (__ASSUME_SET_THREAD_AREA): Remove check.
7650 (TLS_EBX_ARG): Remove define.
7651 (TLS_LOAD_EBX): Likewise.
7652
b0f955c9
ST
76532014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7654
7655 Simplify atomicity of socket creation in bind.
7656
7657 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7658 looking up the name after linking the file.
7659
529bf515
AM
76602014-08-27 Allan McRae <allan@archlinux.org>
7661
7662 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7663
a1a6a401
FW
76642014-08-26 Florian Weimer <fweimer@redhat.com>
7665
7666 [BZ #17187]
7667 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7668 trans_compare, open_translit, __gconv_translit_find):
7669 Remove module loading code.
7670
686ab290
AM
76712014-08-26 Allan McRae <allan@archlinux.org>
7672
e4e7cfd2
AM
7673 * po/vi.po: Update Vietnamese translation from translation project.
7674
6aa09f71
AM
7675 * po/uk.po: Update Ukrainian translation from translation project.
7676
edc0660e
AM
7677 * po/fr.po: Update French translation from translation project.
7678
7eea72ac
AM
7679 * po/ru.po: Update Russian translation from translation project.
7680
93c49eff
AM
7681 * po/pl.po: Update Polish translation from translation project.
7682
46acaf63
AM
7683 * po/cs.po: Update Czech translation from translation project.
7684
a9f5ce98
AM
7685 * po/de.po: Update German translation from translation project.
7686
373f2b78
AM
7687 * po/bg.po: Update Bulgarian translation from translation project.
7688
e7548bd8
AM
7689 * po/sv.po: Update Sweedish translation from translation project.
7690
c526bf4d
AM
7691 * po/nl.po: Update Dutch translation from translation project.
7692
686ab290
AM
7693 * po/es.po: Update Spanish translation from translation project.
7694
eb72478a
SP
76952014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7696
dd763fdb
SP
7697 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7698
318c7a58
SP
7699 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7700 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7701 (CPPFLAGS-iconvconfig): Likewise.
7702 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7703
eb72478a
SP
7704 * include/libc-symbols.h: Remove unnecessary check for
7705 NOT_IN_libc.
7706 * nptl/pthreadP.h: Likewise.
7707 * sysdeps/aarch64/setjmp.S: Likewise.
7708 * sysdeps/alpha/setjmp.S: Likewise.
7709 * sysdeps/arm/sysdep.h: Likewise.
7710 * sysdeps/i386/setjmp.S: Likewise.
7711 * sysdeps/m68k/setjmp.c: Likewise.
7712 * sysdeps/posix/getcwd.c: Likewise.
7713 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7714 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7715 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7716 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7717 * sysdeps/sh/sh3/setjmp.S: Likewise.
7718 * sysdeps/sh/sh4/setjmp.S: Likewise.
7719 * sysdeps/unix/alpha/sysdep.h: Likewise.
7720 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7721 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7722 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7723 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7727 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7728 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7730 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7731 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7733 * sysdeps/x86_64/setjmp.S: Likewise.
7734
d44a052c
JM
77352014-08-13 Joseph Myers <joseph@codesourcery.com>
7736
7737 [BZ #17263]
7738 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7739 <stdint.h>.
7740 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7741 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7742
508ce3ac
SP
77432014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7744
e44c8b0e
SP
7745 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7746
508ce3ac
SP
7747 [BZ #17262]
7748 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7749 and __x86_64__ when disabling x87 inline functions.
7750
b4acef1f
L
77512014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7752
7753 [BZ #17259]
7754 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7755 asm statement with __cpuid_count.
7756
61b1ef6e
MF
77572014-08-12 Mike Frysinger <vapier@gentoo.org>
7758
7759 * configure.ac: Change __ehdr_start code to dereference the struct.
7760 Run readelf on the output to look for relocations.
7761 * configure: Regenerated.
7762
898c62f4
JM
77632014-08-12 Joseph Myers <joseph@codesourcery.com>
7764
7765 [BZ #17261]
7766 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7767 value to 0.
7768 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7769
9a8a5720
RM
77702014-08-12 Roland McGrath <roland@hack.frob.com>
7771
7772 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7773
4e75751c
BO
77742014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7775
7776 [BZ #16892]
7777 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7778 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7779
bb2ce416
SA
77802014-08-12 Sean Anderson <seanga2@gmail.com>
7781
7782 * malloc/malloc.c: Fix typo in comment.
7783
7950a4ee
AM
77842014-08-09 Allan McRae <allan@archlinux.org>
7785
7786 * Regenerate libc.po.
7787
f469c49f
MF
77882014-08-08 Mike Frysinger <vapier@gentoo.org>
7789
7790 * intl/tst-gettext2.sh: Check every lang file for creation.
7791
656b84c2
WD
77922014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7793
7794 * sysdeps/aarch64/fpu/math_private.h
7795 (libc_feholdsetround_noex_aarch64_ctx): New function.
7796
538e9e45
W
77972014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7798
7799 * sysdeps/arm/armv6/strcpy.S (strcpy):
7800 Fix performance issue in misaligned cases.
7801
d4795e4a
AZ
78022014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7803
7804 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7805 Move definition from termios.h.
7806 (struct termio): Likewise.
7807 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7808 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7809 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7810 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7811 Likewise.
7812 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7813 Move definition to ioctl-types.h
7814 (struct termio): Likewise.
7815 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7816 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7817 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7818 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7819 Likewise.
7820
64accb62
RH
78212014-08-05 Richard Henderson <rth@redhat.com>
7822
27bb6dc0
RH
7823 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7824 exceptions.
7825 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7826 Add fraiseexcpt.
7827 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7828 Use __feraiseexcept.
7829 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7830 Protect libm symbols with IS_IN_libm.
7831
64accb62
RH
7832 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7833
e5292691
BO
78342014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7835
7836 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7837
5b4bd2d4
WN
78382014-08-04 Will Newton <will.newton@linaro.org>
7839
7840 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7841 file.
7842
fcadaeef
MF
78432014-08-04 Mike Frysinger <vapier@gentoo.org>
7844
7845 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7846 variants for each function.
7847
43a94c64
RM
78482014-08-04 Roland McGrath <roland@hack.frob.com>
7849
7850 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7851 appended ...
7852 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7853 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7854 appended ...
7855 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7856 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7857 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7858 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7859 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7860 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7861 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7862 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7863 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7864 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7869 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7870 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7871 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7872 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7873 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7879 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7881 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7882 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7883 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7884 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7885 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7886 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7887 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7891 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7892 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7893 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7894 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7895 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7896 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7897 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7898 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7899 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7900 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7901 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7902 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7903 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7904 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7905 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7906 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7907 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7908 Update #include.
7909 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7910 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7911
8f3c1fa4
RM
79122014-08-04 Roland McGrath <roland@hack.frob.com>
7913
7914 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7915 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7916 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7917 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7918 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7919 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7920
ca08746f
RM
79212014-08-04 Roland McGrath <roland@hack.frob.com>
7922
7923 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7924 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7925 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7926 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7927
9c925ff9
RM
79282014-08-04 Roland McGrath <roland@hack.frob.com>
7929
7930 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7931 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7932 (__libc_vfork): Define function under this name.
7933 (__vfork): Define as an alias.
7934 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7935 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7936
e641054c
RM
79372014-08-04 Roland McGrath <roland@hack.frob.com>
7938
7939 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7940 that was previously under [RESET_PID].
7941 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7942
dacdc867
AS
79432014-08-04 Andreas Schwab <schwab@suse.de>
7944
7945 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7946
41f725ff
MF
79472014-08-03 Mike Frysinger <vapier@gentoo.org>
7948
7949 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7950 (main): Likewise.
7951
277cfb31
RM
79522014-08-01 Roland McGrath <roland@hack.frob.com>
7953
7954 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7955
4896f049
RH
79562014-08-01 Richard Henderon <rth@redhat.com>
7957
7958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7959 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7960 typo in exact zero test.
7961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7962 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7964
6f64e7d7
RM
79652014-08-01 Roland McGrath <roland@hack.frob.com>
7966
7967 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7968 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7969 * sysdeps/arm/sysdep.h: ... here.
7970 [!__ASSEMBLER__]: Include <stdint.h>.
7971
3f3dd810
SP
79722014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7973
a476ac4b
SP
7974 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7975 (HAVE_WCTYPE_H): Likewise.
7976 (HAVE_ISWCTYPE): Likewise.
7977 (ENABLE_NLS): Likewise.
7978 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7979 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7980
78dd658a
SP
7981 * posix/regex_internal.c: Check if DEBUG is defined and is
7982 set.
7983
3f3dd810
SP
7984 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7985 (HAVE_MBSRTOWCS): Likewise.
7986 * posix/fnmatch.c: Include string.h unconditionally.
7987
95ee7fb1
SL
79882014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7989
7990 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7991 reversal.
7992
23fe486b
RM
79932014-07-31 Roland McGrath <roland@hack.frob.com>
7994
f61a113f
RM
7995 * sysdeps/generic/safe-fatal.h: New file.
7996 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7997 * nptl/forward.c: Include it.
7998 (__pthread_unwind): Use __safe_fatal as default action, rather
7999 than a bogus use of INTERNAL_SYSCALL that could never work.
8000
9fe7e787
RM
8001 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8002 * configure.ac (libc_cv_builtin_trap): New test.
8003 * configure: Regenerated.
8004 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8005 (ABORT_INSTRUCTION): Define using __builtin_trap.
8006
23fe486b
RM
8007 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8008 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8009 * sysdeps/nptl/nptl-signals.h: New file.
8010 * nptl/pthreadP.h: Include <nptl-signals.h>.
8011
f349489e
SL
80122014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8013
8014 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8015 (ONE_DIRECTION): Define.
8016 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8017 (ONE_DIRECTION): Define.
8018 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8019 (ONE_DIRECTION): Define.
8020
2f438e20
SL
80212014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8022
8023 * sysdeps/s390/Makefile: Delete file.
8024 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8025 * sysdeps/s390/__longjmp.c: Delete file.
8026 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8027 Remove fields __flags and __reserved.
8028 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8029 and add versioning.
8030 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8031 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8032 * sysdeps/s390/rtld-setjmp.S: Likewise.
8033 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8034 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8035 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8036 * sysdeps/s390/s390-32/setjmp.S: ... here.
8037 Add versioning.
8038 (__sigsetjmp): Remove setting __flags field.
8039 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8040 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8041 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8042 * sysdeps/s390/s390-64/setjmp.S: ... here.
8043 Add versioning.
8044 (__sigsetjmp): Remove setting __flags field.
8045 * sysdeps/s390/setjmp.S: Delete file.
8046 * sysdeps/s390/sigjmp.c: Likewise.
8047 * sysdeps/s390/v1-longjmp.c: Likewise.
8048 * sysdeps/s390/v1-setjmp.h: Likewise.
8049 * sysdeps/s390/v1-sigjmp.c: Likewise.
8050 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8051 Remove v1-longjmp_chk.
8052 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8053 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8054 Include debug/longjmp_chk.c and add versioning.
8055 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8056 Include nptl/pt-longjmp.c and add versioning.
8057 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8058 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8059 Include __longjmp.c.
8060 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8061 Move to ...
8062 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8063 (__getcontext): Remove setting __flags field.
8064 Add versioning.
8065 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8066 Don't restore upper high grps.
8067 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8068 Likewise.
8069 (__swapcontext): Remove setting uc_flags field.
8070 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8071 Delete file.
8072 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8073 Include __longjmp.c.
8074 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8075 Move to ...
8076 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8077 (__getcontext): Remove setting __flags field.
8078 Add versioning.
8079 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8080 (__swapcontext): Remove setting uc_flags field.
8081 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8082 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8083 Remove fields uc_high_gprs and __reserved.
8084 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8085 New file with reverted content.
8086 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8087 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8088 Regenerated.
8089 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8090 Regenerated.
8091
6c9578a2
AS
80922014-07-31 Andreas Schwab <schwab@suse.de>
8093
8094 * config.h.in (HAVE_IFUNC): Define to 0.
8095 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8096 definedness.
8097
05f3633d
LM
80982014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8099
8100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8101 memmove-avx-unaligned, memcpy-avx-unaligned and
8102 mempcpy-avx-unaligned.
8103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8104 Add tests for AVX memcpy functions.
8105 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8106 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8107 memcpy_chk.
8108 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8109 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8110 memmove_chk.
8111 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8112 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8113 mempcpy_chk.
8114 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8115 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8116 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8117
a53fbd8e
AZ
81182013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8119
8120 [BZ #17213]
8121 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8122 powerpc64le.
8123
0961f7e1
JL
81242014-07-29 Jeff Layton <jlayton@poochiereds.net>
8125
8126 [BZ #16839]
8127 * manual/llio.texi: Add section about open file description locks.
8128 * manual/examples/ofdlocks.c: Example of open file description
8129 lock usage.
8130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8131 F_OFD_SETLK, and F_OFD_SETLKW.
8132
cc5fb300
AM
81332014-07-23 Allan McRae <allan@archlinux.org>
8134
8135 * po/es.po: Update Spanish translation from translation project.
8136
23329dca
AS
81372014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8138
8139 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8140
9c82da17
MR
81412014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8142
8143 [BZ #17078]
8144 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8145 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8146 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8147
29c4f53e
JM
81482014-07-17 Joseph Myers <joseph@codesourcery.com>
8149
831b9896
JM
8150 [BZ #17088]
8151 * math/fesetenv.c (__fesetenv)
8152 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8153 * math/feupdateenv.c (__feupdateenv)
8154 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8155
b21c2d50
JM
8156 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8157 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8158 (__ASSUME_SOCKETCALL): Do not define.
8159
067764ef
JM
8160 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8161 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8162 (__ASSUME_SOCKETCALL): Do not define.
8163 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8164 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8165 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8166 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8167 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8168 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8169 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8170 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8171
642530c1
JM
8172 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8173 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8174 (__ASSUME_SOCKETCALL): Do not define.
8175 (__ASSUME_IPC64): Define unconditionally.
8176 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8177 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8178 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8179 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8180 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8181 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8182 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8183 Likewise.
8184
03f77315
JM
8185 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8186 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8187 (__ASSUME_SOCKETCALL): Do not define.
8188 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8189 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8190 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8191 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8192 (__ASSUME_REQUEUE_PI): Define unconditionally.
8193 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8194 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8195 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8196 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8197 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8198 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8199
083b1f7c
JM
8200 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8201 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8202 (__ASSUME_SOCKETCALL): Do not define.
8203 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8204 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8205 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8206 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8207 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8208 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8209
5be44ea6
JM
8210 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8211 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8212 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8213 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8214 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8215 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8216 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8217 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8218 (__ASSUME_GETCPU_SYSCALL): Likewise.
8219
d95ffd4c
JM
8220 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8221 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8222 cases for individual architectures.
8223 * sysdeps/gnu/configure: Regenerated.
8224 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8225 LIBC_SLIBDIR_RTLDDIR.
8226 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8227 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8228 LIBC_SLIBDIR_RTLDDIR.
8229 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8231 LIBC_SLIBDIR_RTLDDIR.
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8233 Regenerated.
8234 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8235 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8236 file.
8237 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8238 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8239 file.
8240 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8241 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8242 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8243 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8244
29c4f53e
JM
8245 * sysdeps/aarch64/shlib-versions: Move to ...
8246 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8247 * sysdeps/alpha/shlib-versions: Move to ...
8248 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8249 * sysdeps/arm/shlib-versions: Move to ...
8250 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8251 * sysdeps/hppa/shlib-versions: Move all contents except for
8252 libgcc_s entry to ...
8253 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8254 entry from ...
8255 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8256 * sysdeps/ia64/shlib-versions: Move to ...
8257 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8258 entry from ...
8259 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8260 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8261 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8262 * sysdeps/microblaze/shlib-versions: Move to ...
8263 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8264 * sysdeps/mips/shlib-versions: Move to ...
8265 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8266 entry from ...
8267 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8268 * sysdeps/tile/shlib-versions: Move to ...
8269 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8270 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8271 from ...
8272 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8273 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8274 entry from ...
8275 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8276
32bead5b
WN
82772014-07-17 Will Newton <will.newton@linaro.org>
8278
57977c4b
WN
8279 * sysdeps/arm/bits/atomic.h
8280 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8281 (__arch_compare_and_exchange_bool_16_int): Likewise.
8282 (__arch_compare_and_exchange_bool_64_int): Likewise.
8283
32bead5b
WN
8284 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8285 into an #else block.
8286
37fccd41
RM
82872014-07-16 Roland McGrath <roland@hack.frob.com>
8288
8289 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8290 just Linux configurations. Test empirically that the compiler sets
8291 __ARM_EABI__, rather than using the tuple to decide.
8292 * sysdeps/arm/preconfigure: Regenerated.
8293 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8294 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8295 contents appended ...
8296 * sysdeps/arm/configure.ac: ... here.
8297 * sysdeps/arm/configure: Regenerated.
8298
b365f3ec
RM
82992014-07-15 Roland McGrath <roland@hack.frob.com>
8300
8badf496
RM
8301 * nptl/pthread_kill.c: New file.
8302 * nptl/pthread_sigmask.c: New file.
8303 * nptl/pthread_sigqueue.c: New file.
8304
3df6f22e
RM
8305 * sysdeps/nptl/lowlevellock.h: New file.
8306 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8307 * sysdeps/nptl/lowlevellock-futex.h: New file.
8308
b365f3ec
RM
8309 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8310 Remove dead declarations.
8311
f2fef657
L
83122014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8313
8314 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8315 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8316 config-cflags-avx2.
8317 * sysdeps/x86_64/configure.ac: Likewise.
8318 * sysdeps/i386/configure: Regenerated.
8319 * sysdeps/x86_64/configure: Likewise.
8320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8321 memset-avx2 only if config-cflags-avx2 is yes.
8322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8323 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8324 defined.
8325 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8326 only if HAVE_AVX2_SUPPORT is defined.
8327 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8328
f6c44d47
AM
83292014-07-14 Alan Modra <amodra@gmail.com>
8330
8331 [BZ #17153]
8332 * elf/elf.h (DT_PPC64_NUM): Correct value.
8333 * NEWS: Add to fixed bug list.
8334
7ee03f00
JM
83352014-07-13 Jim Meyering <meyering@fb.com>
8336
8337 [BZ 17150]
8338 regex: don't deref NULL upon heap allocation failure
8339 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8340 failure in one more place.
8341 To trigger the segfault, configure grep -with-included-regex,
8342 build it, and run these commands:
8343 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8344
9d39d517
AS
83452014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8346
8347 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8348
a75b89b7
RH
83492014-07-11 Richard Henderson <rth@redhat.com>
8350
8351 * sysdeps/aarch64/libm-test-ulps: Update.
8352
771eb141
FW
83532014-07-10 Florian Weimer <fweimer@redhat.com>
8354
8355 [BZ #17135]
8356 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8357 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8358 (__nptl_setxid): Initialize error member. Call
8359 __nptl_setxid_error.
8360 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8361 * nptl/descr.h (struct xid_command): Add error member.
8362 * nptl/tst-setuid3.c: New file.
8363 * nptl/Makefile (tests): Add it.
8364
bc1da176
AZ
83652014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8366
8367 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8368 New define.
8369 (__lll_trylock): Use __lll_base_trylock.
8370 (__lll_cond_trylock): Likewise.
8371
887865fc
RM
83722014-07-10 Roland McGrath <roland@hack.frob.com>
8373
c0c6bac9
RM
8374 * nptl/pthread_create.c (start_thread): Use atomic_or and
8375 lll_futex_wake directly rather than lll_robust_dead.
8376 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8377 (lll_robust_dead): Macro removed.
6a42be57 8378 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8379 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8380 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8381 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8382 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8383 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8384 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8385 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8386 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8387 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8388 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8389 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8390 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8391 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8392 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8393
887865fc
RM
8394 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8395 Use atomic_compare_and_exchange_val_acq directly rather than
8396 lll_robust_trylock.
8397 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8398 (__lll_robust_trylock, lll_robust_trylock): Removed.
8399 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8400 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8401 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8402 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8403 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8404 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8405 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8406 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8407 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8408 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8409 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8410 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8411 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8412 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8413
58536726
FW
84142014-07-02 Florian Weimer <fweimer@redhat.com>
8415
8416 * manual/locale.texi (Locale Names): New section documenting
8417 locale name syntax. Adjust menu and node chaining accordingly.
8418 (Choosing Locale): Reference Locale Names, Locale Categories.
8419 Mention setting LC_ALL=C. Reflect that name syntax is now
8420 documented.
8421 (Locale Categories): New section title. Reference Locale Names.
8422 LC_ALL is an environment variable, but not a category.
8423 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8424 description, now in Locale Name. Reference that section. Locale
8425 name syntax is now documented.
8426
4e8f95a0
FW
84272014-07-02 Florian Weimer <fweimer@redhat.com>
8428
8429 [BZ #17137]
8430 * locale/findlocale.c (name_present, valid_locale_name): New
8431 functions.
8432 (_nl_find_locale): Use the loc_name variable to store name
8433 candidates. Call name_present and valid_locale_name to check and
8434 validate locale names. Return an error if the locale is invalid.
8435
d1836456
FW
84362014-07-02 Florian Weimer <fweimer@redhat.com>
8437
8438 * locale/setlocale.c (setlocale): Use strdup for allocating
8439 composite name copy.
8440
d69b7f5a
SP
84412014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8442
888c679b
SP
8443 Sync up with gnulib.
8444 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8445 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8446 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8447 and _GL_ARG_NONNULL.
8448 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8449 [!_LIBC]: Include code for Windows and Cygwin.
8450 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8451 Include prototype for int strerror_r.
8452 [!_LIBC] (is_open): New function.
8453 (flush_stdout): New function.
8454 (print_errno_message): Use it.
8455 (error): Likewise.
8456 (error_at_line): Likewise.
8457 (error_tail) Add function attribute macros. Use
8458 __builtin_expect.
8459
180e0e4b
SP
8460 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8461
d22f1fe2
SP
8462 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8463
12f2254b
SP
8464 * io/ftw.c: Include sys/param.h unconditionally.
8465
c3c7c360
SP
8466 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8467
d62aa75a
SP
8468 [BZ #17125]
8469 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8470 libc_freeres_ptr.
8471 (freecache): New function to free CACHE on exit.
8472
d69b7f5a
SP
8473 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8474 initialization.
8475
5efe06a1
DM
84762014-07-09 David S. Miller <davem@davemloft.net>
8477
8478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8479
7000d82e
DM
8480 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8481 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8482 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8483 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8484 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8485 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8486 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8487 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8488 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8489 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8490 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8491 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8492 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8493
c213442d
AS
84942014-07-09 Andreas Schwab <schwab@suse.de>
8495
4a2552c3
AS
8496 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8497 output.
8498 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8499 (do_test): Likewise.
8500
c213442d
AS
8501 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8502
82374e65
WN
85032014-07-09 Will Newton <will.newton@linaro.org>
8504
8505 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8506 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8507 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8508 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8509 * sysdeps/hppa/start.S (_start): Likewise.
8510
6680738a
SP
85112014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8512
6ee3eab4
SP
8513 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8514
6680738a
SP
8515 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8516 defined.
8517
80b5c505
SP
85182014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8519
e35c53e3
SP
8520 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8521 after checking that it is non-NULL.
8522
80b5c505
SP
8523 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8524
91f4b564
AZ
85252014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8526
27b75f56
AZ
8527 * sysdeps/powerpc/memmove.c: Remove file.
8528 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8529 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8530 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8531 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8532 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8533 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8534 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8535 string memmove instead of removed powerpc one.
8536
e7f95bb5
AZ
8537 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8538 [weak_alias]: Fix compiler warning due trailing data.
8539 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8540 [weak_alias]: Likewise.
8541 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8542 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8543
91f4b564
AZ
8544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8545 (__libc_ifunc_impl_list): Add memmove functions.
8546
7c33f1e5
SP
85472014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8548
8549 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8550 Remove code.
8551 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8552 Likewise
8553 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8554 Likewise
8555 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8556 Likewise
8557 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8558 Likewise
8559 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8560 Likewise
8561 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8562 Likewise
8563 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8564 Likewise
8565 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8566 Likewise
8567 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8568 Likewise
8569 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8570 Likewise
8571 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8572 Likewise
8573 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8574 Likewise
8575 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8576 Likewise
8577 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8578 Likewise
8579 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8580 Likewise
8581 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8582 Likewise
8583
3f17b03b
AZ
85842014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8585
87868c24
AZ
8586 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8587 to avoid alignment traps in non-cacheable memory.
8588 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8589
07aedd78
AZ
8590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8591 multiarch objects.
8592 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8593 file: multiarch power7 memmove.
8594 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8595 multiarch default memmove.
8596 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8597 multiarch memove for powerpc32/power4.
8598
17762f66
AZ
8599 * string/bcopy.c: Use full path to include memmove.c.
8600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8601 multiarch objects.
8602 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8603 bcopy for powerpc64.
8604 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8605 bcopy for powerpc64.
8606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8607 and memmove implementations.
8608 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8609 optimized multiarch memmove for POWER7/powerpc64.
8610 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8611 default multiarch memmove for powerpc64.
8612 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8613 multiarch for powerpc64.
8614 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8615 for POWER7/powerpc64.
8616 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8617 memmove for POWER7/powerpc64.
8618
d6f68bbe
AZ
8619 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8620 glibc default one.
8621
3f17b03b
AZ
8622 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8623 __ELF_NATIVE_CLASS equal to 64.
8624
08192659
RM
86252014-07-07 Roland McGrath <roland@hack.frob.com>
8626
f4c4021b
RM
8627 * sysdeps/nptl/lowlevellock.h: File removed.
8628
f083450f
RM
8629 * NEWS: NPTL is no longer an add-on!
8630 * nptl/internaltypes.h: Moved ...
8631 * sysdeps/nptl/internaltypes.h: ... here.
8632 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8633 * sysdeps/nptl/fork.c: Likewise.
8634 * sysdeps/nptl/gai_misc.h: Likewise.
8635 * sysdeps/nptl/librt-cancellation.c: Likewise.
8636 * sysdeps/nptl/jmp-unwind.c: Likewise.
8637 * sysdeps/nptl/setxid.h: Likewise.
8638 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8639 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8640 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8641 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8642 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8643 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8644 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8645 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8646 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8647 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8648 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8649 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8650 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8651 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8652 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8653 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8654 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8655 * nptl/Makeconfig: Moved ...
8656 * sysdeps/nptl/Makeconfig: ... here.
8657 * nptl/configure: File removed.
8658 * nptl/ANNOUNCE: File removed.
8659 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8660 * sysdeps/unix/sysv/linux/configure: Regenerated.
8661
08192659
RM
8662 * nptl/Makefile (routines): Add libc_pthread_init,
8663 libc_multiple_threads, register-atfork and unregister-atfork.
8664 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8665 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8666 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8667 pthread-pi-defines.sym, structsem.sym.
8668 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8669 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8670 [$(subdir) = nptl] (tests): Add tst-setgetname.
8671 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8672 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8673 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8674 [!LIBC_SIGACTION]: Remove aliases.
8675 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8676 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8677 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8678 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8679 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8680 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8682 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8683 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8684 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8685 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8686 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8687 __libc_allocate_rtsig_private.
8688 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8689 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8690 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8691 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8692 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8693 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8694 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8695 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8696 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8697 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8698 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8699 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8700 * nptl/internaltypes.h: ... here.
8701 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8702 * sysdeps/nptl/jmp-unwind.c: ... here.
8703 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8704 * nptl/libc-lowlevellock.c: ... here.
8705 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8706 * nptl/libc_multiple_threads.c: ... here.
8707 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8708 * nptl/libc_pthread_init.c: ... here.
8709 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8710 * nptl/lowlevelbarrier.sym: ... here.
8711 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8712 * nptl/lowlevelcond.sym: ... here.
8713 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8714 * nptl/lowlevellock.c: ... here.
8715 * nptl/lowlevellock.h: Moved ...
8716 * sysdeps/nptl/lowlevellock.h: ... here.
8717 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8718 * nptl/lowlevelrobustlock.c: ... here.
8719 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8720 * nptl/lowlevelrobustlock.sym: ... here.
8721 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8722 * nptl/lowlevelrwlock.sym: ... here.
8723 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8724 * nptl/pt-fork.c: ... here.
8725 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8726 * nptl/pthread-pi-defines.sym: ... here.
8727 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8728 * nptl/pthread_attr_getaffinity.c: ... here.
8729 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8730 * nptl/pthread_attr_setaffinity.c: ... here.
8731 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8732 * nptl/pthread_mutex_cond_lock.c: ... here.
8733 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8734 Update #include.
8735 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8736 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8737 * nptl/pthread_once.c: ... here, replacing old file.
8738 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8739 * nptl/pthread_yield.c: ... here.
8740 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8741 * nptl/register-atfork.c: ... here.
8742 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8743 * nptl/sem_post.c: ... here.
8744 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8745 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8746 * nptl/sem_timedwait.c: ... here.
8747 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8748 * nptl/sem_trywait.c: ... here.
8749 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8750 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8751 * nptl/sem_wait.c: ... here.
8752 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8753 * nptl/structsem.sym: ... here.
8754 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8755 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8756 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8757 * nptl/unregister-atfork.c: ... here.
8758 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8759 * nptl/unwindbuf.sym: ... here.
8760 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8761 * sysdeps/nptl/fork.c: ... here.
8762 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8763 * sysdeps/nptl/fork.h: ... here.
8764 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8765 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8766 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8767 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8768 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8769 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8770 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8771 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8772 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8773 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8774 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8775 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8776 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8777 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8778 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8779 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8780 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8781 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8782 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8783 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8784 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8785 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8786 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8787 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8788 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8789 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8790 * sysdeps/unix/sysv/linux/raise.c: ... here.
8791 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8792 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8793 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8794 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8795 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8796 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8797 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8798 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8799 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8800 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8801 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8802 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8803 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8804 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8805 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8806
96baf6ff
SP
88072014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8808
8809 * sysdeps/generic/memcopy.h: Add comment for
8810 MEMCPY_OK_FOR_FWD_MEMMOVE.
8811
6b7b14b2
WN
88122014-07-04 Will Newton <will.newton@linaro.org>
8813
1570a72b
WN
8814 * string/memchr.c: Merge from gnulib.
8815 [_LIBC]: Remove conditionals.
8816 (__ptr_t): Remove define.
8817 (LONG_MAX_32_BITS): Likewise.
8818 (LONG_MAX): Likewise.
8819 (MEMCHR): Use ANSI prototype and optimize algorithm.
8820
6b7b14b2
WN
8821 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8822
38851324
SP
88232014-07-03 Roland McGrath <roland@hack.frob.com>
8824
3d9eb57c
RM
8825 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8826 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8827
78b984ae
RM
8828 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8829 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8830 in a bare environment with no <stdlib.h> installed.
8831 * sysdeps/nptl/configure: Regenerated.
8832
2d5976a5
RM
8833 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8834
c1f5acd4
RM
8835 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8836 AC_EGREP_CPP for kernel header checks, so they only succeed if
8837 including <linux/version.h> actually works right.
8838 * sysdeps/unix/sysv/linux/configure: Regenerated.
8839
4d614fe5
RM
8840 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8841 value so it's not diagnosed as unused.
8842
38851324
SP
8843 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8844 thing) with "ifeq ($(subdir),rt)".
8845
b3ec00e5
RH
88462014-07-03 Richard Henderson <rth@redhat.com>
8847
69862e25
RH
8848 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8849 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8850 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8851
d5e16ade
RH
8852 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8853 (math_force_eval): New.
8854
ca7b945c
RH
8855 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8856 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8857
cd1175a3
RH
8858 * sysdeps/alpha/fpu/s_round.c: Remove file.
8859 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8860
b3ec00e5
RH
8861 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8862 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8863 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8864 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8865 (_dl_start, print_statistics): Likewise.
8866 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8867 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8868
8869 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8870 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8871 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8872 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8873 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8874 (HP_SMALL_TIMING_AVAIL): Define.
8875 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8876 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8877 (HP_SMALL_TIMING_AVAIL): Define.
8878 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8879 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8880
8881 * sysdeps/aarch64/hp-timing.h: New file.
8882
8883 * sysdeps/generic/hp-timing.h: Remove dead comment.
8884 * sysdeps/generic/hp-timing-common.h: New file.
8885 * sysdeps/alpha/hp-timing.h: Include it.
8886 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8887 * sysdeps/i386/i686/hp-timing.h: Likewise.
8888 * sysdeps/ia64/hp-timing.h: Likewise.
8889 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8890 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8891 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8892 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8893 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8894 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8895 (hp_timing_t): New.
8896
8897 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8898 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8899 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8900 * elf/rtld.c (_dl_start_final): Likewise.
8901 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8902 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8903 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8904 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8905 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8907 (HP_TIMING_DIFF_INIT): Remove.
8908 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8909 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8910 (HP_TIMING_DIFF_INIT): Remove.
8911 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8912 * sysdeps/i386/i686/hp-timing.c: Remove file.
8913 * sysdeps/x86_64/hp-timing.c: Remove file.
8914 * sysdeps/ia64/hp-timing.c: Remove file.
8915 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8916 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8917 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8918 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8919
8920 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8921 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8922 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8923 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8924 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8925 (HP_TIMING_ACCUM): Remove.
8926 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8927 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8928 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8929
8930 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8931 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8932 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8933 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8934 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8935 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8936 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8937 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8938
8939 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8940
225f410f
MR
89412014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8942
8943 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8944
3247f285
SP
89452014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8946
8947 Sync up with gettext.
8948 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8949 [_MSC_VER]: Include malloc.h
8950 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8951 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8952 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8953 TEMP_FAILURE_RETRY. Cast return of alloca.
8954 [!_LIBC] Call gl_rwlock_init.
8955 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8956
d12704c7
SP
89572014-07-02 Roland McGrath <roland@hack.frob.com>
8958
8959 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8960 before checking its value.
8961
99f8dc92
SP
89622014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8963
05fdac77
SP
8964 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8965
99f8dc92
SP
8966 * debug/memcpy_chk.c: Don't include pagecopy.h.
8967 * debug/mempcpy_chk.c: Likewise.
8968 * string/memcpy.c: Likewise.
8969 * string/memmove.c: Likewise.
8970 * sysdeps/powerpc/memmove.c: Likewise.
8971 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8972 definition of PAGE_COPY_FWD_MAYBE here...
8973 * sysdeps/generic/pagecopy.h: ... from here.
8974 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8975
bc8ea385
VR
89762014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8977 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8978
8979 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8981 optimizations.
8982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8983 (__libc_ifunc_impl_list): Likewise.
8984 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8985 multiarch strcat for PPC64.
8986 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8987 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8988
fe5f34e4
RM
89892014-07-02 Roland McGrath <roland@hack.frob.com>
8990
8991 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8992
256aa665
SP
89932014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8994
d4eb8195
SP
8995 * intl/loadmsgcat.c: Remove declaration of
8996 get_sysdep_segment_value.
8997 (get_sysdep_segment_value): Use ISO C style.
8998 (_nl_load_domain): Use ISO C style. Get rid of redundant
8999 semicolon. Fix typo and formatting in comment.
9000 (_nl_unload_domain): Use ISO C style.
9001
256aa665
SP
9002 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9003
b100f9aa
WN
90042014-07-02 Will Newton <will.newton@linaro.org>
9005
9006 * malloc/obstack.c: Merge from gnulib master.
9007 [HAVE_CONFIG_H]: Remove conditional code.
9008 [!_LIBC]: Include config.h.
9009 [!ELIDE_CODE]: Don't include inttypes.h, include
9010 stdint.h unconditionally.
9011 (print_and_abort): Mark as _Noreturn.
9012 (_obstack_allocated_p): Mark as __attribute_pure__.
9013 (obstack_free): Rename to __obstack_free.
9014 [!__attribute__]: Remove conditional code.
9015 * malloc/obstack.h: Merge from gnulib master.
9016 [__cplusplus]: Move conditional down.
9017 [!__attribute_pure__]: Define __attribute_pure__ here
9018 if it is not already defined.
9019 (_obstack_memory_used): Mark as __attribute_pure__.
9020 [!__obstack_free]: Define as obstack_free.
9021 [__GNUC__]: Remove check for ancient NeXT gcc.
9022
c4c41244
PE
90232014-07-02 Will Newton <will.newton@linaro.org>
9024 Paul Eggert <eggert@cs.ucla.edu>
9025
9026 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9027
e1e041c4
SP
90282014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9029
9030 * resolv/gethnamaddr.c: Add comment warning that the file is
9031 not maintained.
9032
ccf431ff
CD
90332014-07-01 Carlos O'Donell <carlos@redhat.com>
9034
d34570a6
CD
9035 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9036 entries.
9037
ccf431ff
CD
9038 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9039 entry for aio_cancel and aio_cancel64.
9040 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9041 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9042 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9043 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9044 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9045 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9046 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9047 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9048 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9049 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9050 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9051 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9052 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9053
ca06321d
RM
90542014-07-01 Roland McGrath <roland@hack.frob.com>
9055
9056 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9057 * nptl/pthread_mutex_lock.c: Likewise.
9058 * nptl/pthread_mutex_timedlock.c: Likewise.
9059 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9060
a1ac3184
RH
90612014-07-01 Richard henderson <rth@redhat.com>
9062
631021e0
RH
9063 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9064 (__isnan, __isnanl): Remove.
9065 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9066
a1ac3184
RH
9067 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9068
0c1d731f
SL
90692014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9070
9071 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9072
76985d3e
SP
90732014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9074
9075 * resolv/nss_dns/dns-host.c (getanswer_r)
9076 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9077
b0cb3096
JM
90782014-07-01 Joseph Myers <joseph@codesourcery.com>
9079
9080 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9081 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9082 undefine.
9083 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9084 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9085
4d76cb39
RM
90862014-07-01 Roland McGrath <roland@hack.frob.com>
9087
9088 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9089 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9090
9091 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9092 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9093
9094 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9095 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9096 ... here.
9097 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9098 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9099
9100 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9101 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9102 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9103 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9104
9105 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9106 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9107 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9108 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9109 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9110 Moved ...
9111 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9112 ... here.
9113 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9114 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9115 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9116 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9117 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9118 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9119 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9120 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9121 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9122 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9123 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9124 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9125 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9126 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9127 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9128 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9129 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9130 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9131 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9132 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9133 ... here.
9134 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9135 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9136 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9137 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9138 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9139 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9140 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9141 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9142
0cdcad17
DH
91432014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9144
9145 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9146 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9147 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9148 Add sysdep.
9149
9b71d0e3
AZ
91502014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9151
9152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9153
665390c2
JM
91542014-06-30 Joseph Myers <joseph@codesourcery.com>
9155
ae05a9d7
JM
9156 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9157 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9158
a7672a2f
JM
9159 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9160
665390c2
JM
9161 * sysdeps/arm/libm-test-ulps: Regenerated.
9162
d7a05d07
MR
91632014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9164 Roland McGrath <roland@hack.frob.com>
9165
9166 * test-skeleton.c (signal_handler): Kill the whole process group
9167 before killing the child individually.
9168 (main): Report any failure on `setpgid'.
9169
46f1d8a6
RM
91702014-06-30 Roland McGrath <roland@hack.frob.com>
9171
9172 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9173 from _TLS_H to _ARM_NPTL_TLS_H.
9174 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9175 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9176
9c37ec0b
JM
91772014-06-30 Joseph Myers <joseph@codesourcery.com>
9178
ce9c5b3e
JM
9179 [BZ #16539]
9180 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9181 (__expm1l): Return argument unchanged when small but not
9182 subnormal.
9183
3a6e9887
JM
9184 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9185 include macro name.
9186 (_FP_UNPACK_RAW_1_P): Likewise.
9187 (_FP_PACK_RAW_1): Likewise.
9188 (_FP_PACK_RAW_1_P): Likewise.
9189 (_FP_MUL_MEAT_1_wide): Likewise.
9190 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9191 (_FP_MUL_MEAT_1_hard): Likewise.
9192 (_FP_DIV_MEAT_1_imm): Likewise.
9193 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9194 (_FP_DIV_MEAT_1_udiv): Likewise.
9195 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9196 (_FP_UNPACK_RAW_2): Likewise.
9197 (_FP_UNPACK_RAW_2_P): Likewise.
9198 (_FP_PACK_RAW_2): Likewise.
9199 (_FP_PACK_RAW_2_P): Likewise.
9200 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9201 (_FP_MUL_MEAT_2_wide): Likewise.
9202 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9203 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9204 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9205 (_FP_MUL_MEAT_2_gmp): Likewise.
9206 (_FP_DIV_MEAT_2_udiv): Likewise.
9207 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9208 (_FP_FRAC_SRL_4): Likewise.
9209 (_FP_FRAC_SRST_4): Likewise.
9210 (_FP_FRAC_SRS_4): Likewise.
9211 (_FP_UNPACK_RAW_4): Likewise.
9212 (_FP_UNPACK_RAW_4_P): Likewise.
9213 (_FP_PACK_RAW_4): Likewise.
9214 (_FP_PACK_RAW_4_P): Likewise.
9215 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9216 (_FP_MUL_MEAT_4_wide): Likewise.
9217 (_FP_MUL_MEAT_4_gmp): Likewise.
9218 (umul_ppppmnnn): Likewise.
9219 (_FP_DIV_MEAT_4_udiv): Likewise.
9220 (__FP_FRAC_ADD_4): Likewise.
9221 (__FP_FRAC_SUB_3): Likewise.
9222 (__FP_FRAC_SUB_4): Likewise.
9223 (__FP_FRAC_DEC_3): Likewise.
9224 (__FP_FRAC_DEC_4): Likewise.
9225 (__FP_FRAC_ADDI_4): Likewise.
9226 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9227 (_FP_FRAC_SRL_8): Likewise.
9228 (_FP_FRAC_SRS_8): Likewise.
9229
9c37ec0b
JM
9230 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9231 include macro name.
9232 (FP_UNPACK_RAW_EP): Likewise.
9233 (FP_PACK_RAW_E): Likewise.
9234 (FP_PACK_RAW_EP): Likewise.
9235 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9236 (_FP_ISSIGNAN): Likewise.
9237 (_FP_ADD_INTERNAL): Likewise.
9238 (_FP_FMA): Likewise.
9239 (_FP_CMP): Likewise.
9240 (_FP_SQRT): Likewise.
9241 (_FP_TO_INT): Likewise.
9242 (_FP_FROM_INT): Likewise.
9243 (FP_EXTEND): Likewise.
9244 (_FP_DIV_MEAT_N_loop): Likewise.
9245
2125f674
MR
92462014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9247
9248 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9249 throughout.
9250
edea4028
JM
92512014-06-29 Joseph Myers <joseph@codesourcery.com>
9252
9253 [BZ #17097]
9254 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9255 result with correct sign in case of exponents that produce
9256 overflow except for X very close to 1.
9257
dd0ba018
PE
92582014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9259
9260 mktime: merge #if/#ifdef usage from glibc
9261 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9262 as that works with both Glibc's and Gnulib's style.
9263 See thread starting at Siddhesh Poyarekar's bug report at:
9264 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9265
64df73c2
SP
92662014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9267
9268 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9269 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9270 * sysdeps/tile/tilegx/memmove.c: Remove file.
9271
f1eafb41
JM
92722014-06-27 Joseph Myers <joseph@codesourcery.com>
9273
9274 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9275 abi-name definition.
9276 * scripts/soversions.awk: Do not handle or generate ABI lines.
9277 * shlib-versions: Remove ABI entries.
9278 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9279 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9280
58eb0862
RM
92812014-06-27 Roland McGrath <roland@hack.frob.com>
9282
37caf178
RM
9283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9284 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9285 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9286 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9288 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9289 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9290 Moved ...
9291 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9292 ... here.
9293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9294 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9296 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9298 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9300 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9302 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9303 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9304 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9306 Moved ...
9307 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9311 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9313 Moved ...
9314 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9315 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9316 Moved ...
9317 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9319 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9321 Moved ...
9322 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9324 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9325 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9326 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9330 Moved ...
9331 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9333 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9334 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9335 Moved ...
9336 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9337 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9338 Moved ...
9339 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9340 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9341 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9343 Moved ...
9344 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9345 ... here.
9346 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9347 Identical file removed.
9348 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9349 Moved ...
9350 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9351 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9352 Identical file removed.
9353 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9354 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9355 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9356 Moved ...
9357 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9359 Identical file removed.
9360 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9361 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9363 Identical file removed.
9364 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9365 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9366 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9367 Identical file removed.
9368 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9369 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9370 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9371 Identical file removed.
9372 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9373 Moved ...
9374 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9376 Identical file removed.
9377 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9378 Moved ...
9379 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9381 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9383 Identical file removed.
9384 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9385 Moved ...
9386 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9387 ... here.
9388 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9389 Identical file removed.
9390 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9391 Moved ...
9392 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9393 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9394 Identical file removed.
9395 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9396 Moved ...
9397 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9398 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9399 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9400 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9401 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9402 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9403 Moved ...
9404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9405 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9406 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9407
58eb0862
RM
9408 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9409 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9410 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9411 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9412 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9413
6f12d062
AS
94142014-06-27 Arjun Shankar <arjun.is@lostca.se>
9415
9416 [BZ #17092]
9417 * nscd/nscd.c (monitor_child): Return exit status of child
9418 instead of return value from wait syscall.
9419
be254932
JM
94202014-06-27 Joseph Myers <joseph@codesourcery.com>
9421
cb403c34
JM
9422 * configure.ac (libc_commonpagesize): Remove variable.
9423 (libc_relro_required): Likewise.
9424 (libc_cv_z_relro): Remove configure test.
9425 * configure: Regenerated.
9426 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9427 variable.
9428 (libc_relro_required): Likewise.
9429 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9430 (libc_relro_required): Likewise.
9431 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9432 (libc_relro_required): Likewise.
9433 * sysdeps/arm/preconfigure: Regenerated.
9434 * sysdeps/ia64/preconfigure: Remove file.
9435 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9436 variable.
9437 (libc_relro_required): Likewise.
9438
be254932
JM
9439 [BZ #16561]
9440 [BZ #16562]
9441 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9442 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9443 recompute overflowing results in original rounding mode.
9444 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9445 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9446 recompute overflowing results in original rounding mode.
9447 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9448 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9449 recompute overflowing results in original rounding mode.
9450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9451 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9452 recompute overflowing results in original rounding mode.
9453 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9454 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9455 recompute overflowing results in original rounding mode.
9456 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9457 (libc_feholdsetround_ctx): New macro.
9458 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9459 * sysdeps/i386/fpu/libm-test-ulps: Update.
9460 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9461
b351d85a
JM
94622014-06-26 Joseph Myers <joseph@codesourcery.com>
9463
9464 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9465 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9466 corresponding .cpsetup call.
9467
3cb4de47
RM
94682014-06-26 Roland McGrath <roland@hack.frob.com>
9469
9470 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9471 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9472 * sysdeps/arm/Makefile [$(subdir) = csu]
9473 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9474 (static-only-routines): Add aeabi_read_tp here.
9475 (shared-only-routines): Add libc-aeabi_read_tp here.
9476 (CFLAGS-libc-start.c): Add -fexceptions here.
9477 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9478 (sysdep_routines, static-only-routines, shared-only-routines):
9479 Don't add to these here.
9480 (CFLAGS-libc-start.c): Likewise.
9481
9482 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9483 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9484 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9485 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9486 * sysdeps/arm/Makefile [$(subdir) = rt]
9487 (librt-sysdep_routines, librt-shared-only-routines):
9488 Append rt-aeabi_unwind_cpp_pr1 here.
9489 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9490 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9491 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9492 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9493 Append nptl-aeabi_unwind_cpp_pr1 here.
9494 (tests): Filter out tst-cleanupx4 here.
9495 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9496 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9497 Don't do those here.
9498
354426bb
JM
94992014-06-26 Joseph Myers <joseph@codesourcery.com>
9500
9501 * scripts/list-sources.sh: Do not handle ports specially.
9502
28b0a8c9
RM
95032014-06-26 Roland McGrath <roland@hack.frob.com>
9504
a3dd035d
RM
9505 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9506 * sysdeps/arm/feupdateenv.c: Likewise.
9507
28b0a8c9
RM
9508 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9509
e66a8203
JM
95102014-06-26 Joseph Myers <joseph@codesourcery.com>
9511
9512 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9513 trailing whitespace removed.
9514 * scripts/config.guess: Update to version 2014-03-23.
9515 * scripts/config.sub: Update to version 2014-05-01
9516 * scripts/install-sh: Update to version 2013-12-25.23.
9517 * scripts/move-if-change: Update from gnulib.
9518
74171115
SP
95192014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9520
b97c9ce5
SP
9521 * debug/memmove_chk.c: Remove pagecopy.h include.
9522
4000f892
SP
95232014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9524
74171115
SP
9525 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9526 identical to gnulib mktime.
9527
a8779c28
JM
95282014-06-26 Joseph Myers <joseph@codesourcery.com>
9529
e64708de
JM
9530 * configure.ac: Do not test for machine being rs6000. Do not test
9531 for powerpc*-*soft.
9532 * configure: Regenerated.
9533
a8779c28
JM
9534 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9535 test.
9536 * configure: Regenerated.
9537 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9538 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9539 Remove configure test.
9540 * sysdeps/arm/configure: Regenerated.
9541 * sysdeps/nptl/configure.ac: Do not check
9542 libc_cv_asm_cfi_directives.
9543 * sysdeps/nptl/configure: Regenerated.
9544 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9545 * sysdeps/x86_64/nptl/configure: Remove generated file.
9546 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9547 unconditional.
9548 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9549
2aac0a86
SP
95502014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9551
059bf913
SP
9552 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9553 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9554 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9555 it is defined.
9556
4cf5b6d0
SP
9557 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9558 instead of whether it is defined.
9559 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9560 * sysdeps/hppa/dl-machine.h: Likewise.
9561 * sysdeps/ia64/dl-machine.h: Likewise.
9562 * sysdeps/m68k/dl-machine.h: Likewise.
9563 * sysdeps/microblaze/dl-machine.h: Likewise.
9564 * sysdeps/mips/dl-machine.: Likewise.
9565 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9566 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9567 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9568 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9569 * sysdeps/sh/dl-machine.h: Likewise.
9570 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9571 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9572 * sysdeps/tile/dl-machine.h: Likewise.
9573 * sysdeps/x86_64/dl-machine.h: Likewise.
9574
2aac0a86
SP
9575 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9576 code.
9577 (verify_persistent_db): Likewise.
9578
6ad2df0b
RM
95792014-06-26 Roland McGrath <roland@hack.frob.com>
9580
d8a483f3
RM
9581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9582 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9584 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9586 Moved ...
9587 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9588 ... here.
9589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9590 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9592 Identical file removed.
9593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9594 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9596 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9598 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9600 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9602 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9604 Moved ...
9605 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9611 Moved ...
9612 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9614 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9616 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9618 Identical file removed.
9619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9620 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9622 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9624 Moved ...
9625 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9626 ... here.
9627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9628 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9630 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9632 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9634 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9636 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9638 Moved ...
9639 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9641 Moved ...
9642 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9644 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9646 Moved ...
9647 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9649 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9650
52ae23b4
RM
9651 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9652 folded into ...
9653 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9654 * sysdeps/unix/sysv/linux/s390/Versions
9655 (libpthread: GLIBC_2.19): New version set.
9656 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9657 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9658 (librt: GLIBC_2.3.3): New version set.
9659 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9660 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9661 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9662 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9663 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9664 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9665 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9666 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9667 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9668 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9669 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9670 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9671 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9672 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9673 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9674 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9675 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9676 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9677 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9678 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9679 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9680 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9681 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9682 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9683 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9684 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9685 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9686 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9687 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9688 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9689 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9690 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9691 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9693 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9694 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9695 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9696 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9697 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9698 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9699 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9701 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9702 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9703 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9704
39507e4a
RM
9705 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9706 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9707 (__libc_vfork): Define the function under this name.
9708 [!NOT_IN_libc] (__vfork): Make this an alias.
9709 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9710 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9711 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9712 (__libc_vfork): Define the function under this name.
9713 [!NOT_IN_libc] (__vfork): Make this an alias.
9714 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9715 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9716 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9718 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9719 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9720
e549ee56
RM
9721 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9722 code that was previously under [RESET_PID].
9723 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9724 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9726
6ad2df0b
RM
9727 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9728 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9729 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9730 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9731 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9732 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9733 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9734 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9735 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9738 Moved ...
9739 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9741 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9743 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9744 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9745 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9747 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9749 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9750 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9751 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9753 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9754 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9755 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9756 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9757 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9759 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9760 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9761 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9762 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9763 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9764 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9765 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9766 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9767 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9768
7c1c1d8e
RM
97692014-06-25 Roland McGrath <roland@hack.frob.com>
9770
9771 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9772 that was previously under [RESET_PID].
9773 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9774
3e239be6
JM
97752014-06-25 Joseph Myers <joseph@codesourcery.com>
9776
74385da5
JM
9777 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9778 not undefine and redefine.
9779 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9780 [O_CLOEXEC]: Make code unconditional.
9781 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9782 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9783 <kernel-features.h>.
9784 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9785 conditional variable definition.
9786 (shm_open) [O_CLOEXEC]: Make code unconditional.
9787 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9788 code.
9789
c2570a0b
JM
9790 * configure.ac (USE_REGPARMS): Don't define here.
9791 * configure: Regenerated.
9792 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9793 * sysdeps/i386/configure: Regenerated.
9794
11b076bb
JM
9795 * nptl/createthread.c: Don't include kernel-features.h.
9796 * nptl/pthread_cancel.c: Likewise.
9797 * nptl/pthread_condattr_setclock.c: Likewise.
9798 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9799 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9800 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9801 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9802 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9803 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9804 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9805 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9807 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9808 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9809 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9810 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9811 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9812 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9813 * nscd/gai.c: Likewise.
9814 * nss/nss_db/db-open.c: Likewise.
9815 * sysdeps/generic/ldsodefs.h: Likewise.
9816 * sysdeps/sh/nptl/tls.h: Likewise.
9817 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9818 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9819 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9820 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9821 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9822 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9823 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9824 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9825 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9826 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9827 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9828 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9829 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9830 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9831 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9832 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9833 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9834 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9835 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9836 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9837 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9838 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9839 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9840 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9841 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9842 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9843 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9844 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9845 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9846 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9847 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9848 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9849 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9850 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9851 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9852 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9853 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9854 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9855 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9856 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9857 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9858 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9859 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9860 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9861 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9862 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9863 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9864 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9865 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9866 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9867 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9868 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9869 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9870 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9871 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9872 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9873 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9874 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9897 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9898 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9899 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9900 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9901 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9902 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9903 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9904 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9905 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9906 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9907 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9908 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9909 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9910 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9911 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9912 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9913 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9914 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9915 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9916 * sysdeps/unix/sysv/linux/system.c: Likewise.
9917 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9918 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9919 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9920 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9921 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9922 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9923 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9924
92072d57
JM
9925 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9926 * configure: Regenerated.
9927 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9928
3e239be6
JM
9929 * configure.ac (base_machine): Do not set specially for particular
9930 machines here.
9931 * configure: Regenerated.
9932 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9933 settings from configure.ac.
9934 * sysdeps/i386/preconfigure: New file.
9935 * sysdeps/s390/preconfigure: Likewise.
9936 * sysdeps/sh/preconfigure: Likewise.
9937 * sysdeps/sparc/preconfigure: Likewise.
9938
06d50baa
RM
99392014-06-25 Roland McGrath <roland@hack.frob.com>
9940
74836003
RM
9941 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9942 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9943 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9944 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9945 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9946 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9947 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9948 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9949 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9950 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9951 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9952 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9953 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9954 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9955 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9956 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9957 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9958 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9959 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9960
9961 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9962 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9963 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9964 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9965 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9966 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9967 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9968 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9969 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9970 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9971 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9972 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9973 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9974 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9975 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9976 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9977 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9978 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9979 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9980 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9981 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9982 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9983 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9984 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9985 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9986 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9987 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9988 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9989 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9990 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9991 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9992 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9993 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9994 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9995 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9996 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9997 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9998 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9999
06d50baa
RM
10000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10001 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10003 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10005 Moved ...
10006 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10007 ... here.
10008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10009 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10011 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10013 Moved ...
10014 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10016 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10018 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10020 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10022 Moved ...
10023 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10025 Moved ...
10026 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10028 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10030 Moved ...
10031 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10033 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10035 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10037 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10039 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10041 Moved ...
10042 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10043 ... here.
10044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10045 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10049 Moved ...
10050 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10052 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10054 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10056 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10058 Moved ...
10059 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10061 Moved ...
10062 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10064 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10066 Moved ...
10067 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10069 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10071 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10072
a4ccbc9b
JM
100732014-06-25 Joseph Myers <joseph@codesourcery.com>
10074
0828edbf
JM
10075 * timezone/checktab.awk: Update from tzcode 2014e.
10076 * timezone/private.h: Likewise.
10077 * timezone/tzfile.h: Likewise.
10078 * timezone/zdump.c: Likewise.
10079 * timezone/zic.c: Likewise.
10080
a4ccbc9b
JM
10081 * sysdeps/unix/sysv/linux/kernel-features.h
10082 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10083 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10084 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10085 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10086 Remove conditional code.
10087
9aea0cb8
WN
100882014-06-25 Will Newton <will.newton@linaro.org>
10089
10090 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10091 (_dl_arm_cap_flags): Add HWCAP2 values.
10092 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10093 (_DL_HWCAP_COUNT): Increase to 37.
10094 (_DL_HWCAP_LAST): New define.
10095 (_DL_HWCAP2_LAST): New define.
10096 (_dl_procinfo): Add support for printing
10097 AT_HWCAP2 entries.
10098 (_dl_string_hwcap): Use _dl_hwcap_string.
10099
6eaa65ce
AZ
101002014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10101
10102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10103
0f5b7185
JM
101042014-06-25 Joseph Myers <joseph@codesourcery.com>
10105
cfd2ea50
JM
10106 * README: Do not mention ports directory.
10107
cecf2ed4
JM
10108 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10109 Remove macro.
10110 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10111 <kernel-features.h>.
10112 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10113 conditional variable definition.
10114 (__futimes): Update comment.
10115 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10116 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10117
a638de82
JM
10118 [BZ #16560]
10119 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10120 arguments close to 0.
10121 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10122 Likewise.
10123 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10124 Likewise.
10125 * math/auto-libm-test-in: Add more tests of exp10.
10126 * math/auto-libm-test-out: Regenerated.
10127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10128
0f5b7185
JM
10129 * sysdeps/unix/sysv/linux/kernel-features.h
10130 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10131 * sysdeps/unix/sysv/linux/readv.c: Do not include
10132 <kernel-features.h>.
10133 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10134 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10135 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10136 unconditional.
10137 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10138 conditional code.
10139 * sysdeps/unix/sysv/linux/writev.c: Do not include
10140 <kernel-features.h>.
10141 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10142 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10143 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10144 unconditional.
10145 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10146 conditional code.
10147
c7aec4be
WN
101482014-06-25 Will Newton <will.newton@linaro.org>
10149
10150 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10151 comment changes throughout the file. Remove checks
10152 for HAVE_*_H definitions that are not required.
10153 (__gen_tempname): Call abort if an unknown kind value is
10154 passed.
10155
c5241f95
AS
101562014-06-25 Andreas Schwab <schwab@suse.de>
10157
10158 [BZ #17086]
10159 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10160 scalbln, scalblnf, scalblnl in libc.
10161
911422da
SP
101622014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10163
10164 [BZ #17086]
10165 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10166 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10167 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10168
0d749bbe
RM
101692014-06-24 Roland McGrath <roland@hack.frob.com>
10170
10171 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10172 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10173 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10174 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10175 Update #include.
10176 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10177 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10178 Update #include.
10179 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10180 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10181 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10182 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10183 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10184 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10185 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10186 * sysdeps/x86/bits/semaphore.h: ... here.
10187 * sysdeps/x86/nptl/elide.h: Moved ...
10188 * sysdeps/x86/elide.h: ... here.
10189 * sysdeps/x86_64/nptl/Implies: File removed.
10190 * sysdeps/i386/nptl/Implies: File removed.
10191
0ea5d373
JM
101922014-06-24 Joseph Myers <joseph@codesourcery.com>
10193
4060283d
JM
10194 [BZ #16539]
10195 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10196 return the argument for normal arguments with exponent below -64.
10197 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10198 Likewise.
10199 * math/auto-libm-test-in: Add another test of expm1.
10200 * math/auto-libm-test-out: Regenerated.
10201
e7dd3c8c
JM
10202 [BZ #16287]
10203 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10204 calling __erfcl for arguments at least 16.
10205 * math/auto-libm-test-in: Add more tests of erf.
10206 * math/auto-libm-test-out: Regenerated.
10207
0ea5d373
JM
10208 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10209 individual architectures.
10210 * sysdeps/unix/sysv/linux/configure: Regenerated.
10211 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10212 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10213 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10214 (ldd_rewrite_script): Define variable.
10215 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10217 file.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10219 generated file.
10220 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10221 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10222 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10223 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10224 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10225 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10226 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10227 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10228
2307e126
SP
102292014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10230
10231 [BZ #17084]
10232 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10233 Rename member __data.d to __data.__elision_data.
10234
c0a4ed77
W
102352014-06-24 Wilco <wdijkstr@arm.com>
10236
10237 * NEWS: Add 16918 to fixed bug list.
10238
b8c00573
W
102392014-06-24 Wilco <wdijkstr@arm.com>
10240
10241 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10242
b5570d92
W
102432014-06-24 Wilco <wdijkstr@arm.com>
10244
10245 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10246 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10247 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10248 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10249 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10250 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10251 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10252 Use _FPU_MASK_RM.
10253
947bdca2
W
102542014-06-24 Wilco <wdijkstr@arm.com>
10255
10256 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10257
00f669ed
W
102582014-06-24 Wilco <wdijkstr@arm.com>
10259
10260 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10261 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10262 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10263 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10264
db59bad3
W
102652014-06-24 Wilco <wdijkstr@arm.com>
10266
10267 [BZ #16918]
10268 * sysdeps/arm/feupdateenv.c (feupdateenv):
10269 Rewrite to reduce FPSCR accesses and fix return value.
10270
001f7b77
W
102712014-06-24 Wilco <wdijkstr@arm.com>
10272
10273 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10274 Optimize to avoid unnecessary FPSCR writes.
10275 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10276 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10277 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10278 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10279
4841e6a6
W
102802014-06-24 Wilco <wdijkstr@arm.com>
10281
10282 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10283 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10284 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10285 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10286 Call libc_fetestexcept_vfp.
10287 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10288 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10289 __SOFTFP__ ifdef so that they can be built for softfp.
10290
0813022c
SP
102912014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10292
08e5862f
SP
10293 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10294 argument type signed char.
10295
0813022c
SP
10296 * Makerules (check-abi): Dump diff of symlist if the test
10297 fails.
10298
3fc7236a
RM
102992014-06-23 Roland McGrath <roland@hack.frob.com>
10300
aba8ef95
RM
10301 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10302 using abort.
10303
3fc7236a
RM
10304 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10305 Remove unused variable ST.
10306
4da6db51
JM
103072014-06-23 Joseph Myers <joseph@codesourcery.com>
10308
4648909d
JM
10309 [BZ #16354]
10310 [BZ #17061]
10311 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10312 small arguments before calling __expm1.
10313 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10314 small arguments before calling __expm1f.
10315 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10316 small arguments before calling __expm1l.
10317 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10318 Likewise.
10319 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10320 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10321 spurious underflow for some cosh tests.
10322 * math/auto-libm-test-out: Regenerated.
10323 * sysdeps/i386/fpu/libm-test-ulps: Update.
10324
46a3d3c7
JM
10325 [BZ #17050]
10326 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10327 (__ieee754_y1): Set errno if return value overflows.
10328 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10329 (__ieee754_y1f): Set errno if return value overflows.
10330 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10331 (__ieee754_y1l): Set errno if return value overflows.
10332 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10333 (__ieee754_y1l): Set errno if return value overflows.
10334 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10335 * math/auto-libm-test-out: Regenerated.
10336
863893ec
JM
10337 * math/gen-auto-libm-tests.c: Document use of
10338 ignore-zero-inf-sign.
10339 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10340 (input_flags): Add ignore-zero-inf-sign.
10341 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10342 * math/gen-libm-test.pl (generate_testfile): Handle
10343 ignore-zero-inf-sign.
10344 * math/auto-libm-test-in: Mark some cpow tests with
10345 ignore-zero-inf-sign and some with xfail-rounding.
10346 * math/auto-libm-test-out: Regenerated.
10347 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10348 * sysdeps/i386/fpu/libm-test-ulps: Update.
10349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10350
4da6db51
JM
10351 [BZ #16315]
10352 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10353 overflowing or underflowing operations take place with sign of
10354 result.
10355 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10356 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10357 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10358 (__ieee754_pow): Recompute overflowing and underflowing results in
10359 original rounding mode.
10360 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10361 (__powl_helper): Allow negative argument X and scale negated value
10362 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10363 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10364 overflowing or underflowing operations take place with sign of
10365 result.
10366 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10367 Include <math.h>.
10368 * math/auto-libm-test-in: Add more tests of pow.
10369 * math/auto-libm-test-out: Regenerated.
10370 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10371 (pow_tonearest_test_data): Remove.
10372 (pow_test_tonearest): Likewise.
10373 (pow_towardzero_test_data): Likewise.
10374 (pow_test_towardzero): Likewise.
10375 (pow_downward_test_data): Likewise.
10376 (pow_test_downward): Likewise.
10377 (pow_upward_test_data): Likewise.
10378 (pow_test_upward): Likewise.
10379 (main): Don't call removed functions.
10380 * sysdeps/i386/fpu/libm-test-ulps: Update.
10381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10382
5686b236
RM
103832014-06-23 Roland McGrath <roland@hack.frob.com>
10384
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10386 Moved ...
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10389 Moved ...
10390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10392 Moved ...
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10395 Moved ...
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10398 File removed.
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10400 File removed.
10401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10402 File removed.
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10404 File removed.
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10406 File removed.
10407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10408 File removed.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10410 File removed.
10411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10412 File removed.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10414 File removed.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10416 File removed.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10418 File removed.
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10420 File removed.
10421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10422 Moved ...
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10425 Moved ...
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10427 ... here.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10429 Moved ...
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10432 Moved ...
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10435 Moved ...
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10438 Moved ...
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10441 Moved ...
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10444 Moved ...
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10447 Moved ...
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10451 ... here.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10453 Moved ...
10454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10456 Moved ...
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10458 ... here.
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10460 Moved ...
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10462 ... here.
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10464 Moved ...
10465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10466 ... here.
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10468 Moved ...
10469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10471 Moved ...
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10476 Moved ...
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10478 ... here.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10480 Moved ...
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10482 ... here.
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10484 Moved ...
10485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10487 Moved ...
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10490 Moved ...
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10493 Moved ...
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10496 Moved ...
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10498 ... here.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10500 Moved ...
10501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10503 Moved ...
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10506 Moved ...
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10509 Moved ...
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10514 Moved ...
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10517 Moved ...
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10520 Moved ...
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10522 ... here.
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10524 Moved ...
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10526 ... here.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10528 Moved ...
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10530 ... here.
10531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10532 Moved ...
10533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10535 Moved ...
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10538 Moved ...
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10541 Moved ...
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10543 ... here.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10545 Moved ...
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10547 ... here.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10549 Moved ...
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10551 ... here.
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10553 Moved ...
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10556 Moved ...
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10558
e6d90d67
WD
105592014-06-23 Will Newton <will.newton@linaro.org>
10560 Wilco <wdijkstr@arm.com>
10561
10562 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10563 implementation. Include get-rounding-mode.h.
10564 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10565 [!libc_feholdsetround_noex_ctx]: Define
10566 libc_feholdsetround_noex_ctx.
10567 [!libc_feholdsetround_noexf_ctx]: Define
10568 libc_feholdsetround_noexf_ctx.
10569 [!libc_feholdsetround_noexl_ctx]: Define
10570 libc_feholdsetround_noexl_ctx.
10571 (libc_feholdsetround_ctx): New function.
10572 (libc_feresetround_ctx): New function.
10573 (libc_feholdsetround_noex_ctx): New function.
10574 (libc_feresetround_noex_ctx): New function.
10575
d42df555
RM
105762014-06-23 Roland McGrath <roland@hack.frob.com>
10577
88a46474
RM
10578 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10579 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10580 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10581 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10582 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10583 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10584
15bed472
RM
10585 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10586 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10587 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10588 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10589 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10590 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10591 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10592 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10593 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10594 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10596 Moved ...
10597 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10598 ... here.
10599 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10600 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10601 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10602 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10604 Moved ...
10605 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10606 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10609 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10610 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10611 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10612 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10613 Moved ...
10614 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10615 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10616 Moved ...
10617 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10618 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10619 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10621 Moved ...
10622 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10623 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10626 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10627 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10628 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10630 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10632 Moved ...
10633 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10634 ... here.
10635 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10636 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10637 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10638 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10639 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10640 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10641 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10642 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10644 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10648 Moved ...
10649 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10653 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10655 Moved ...
10656 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10658 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10660 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10661
d42df555
RM
10662 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10663 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10664 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10665 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10666 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10667 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10668 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10669 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10671 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10673 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10674 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10675 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10676 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10677 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10678 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10679 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10680 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10681 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10682 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10683 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10684 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10685 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10686 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10687 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10688 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10689 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10690
76e5216e
JM
106912014-06-23 Joseph Myers <joseph@codesourcery.com>
10692
10693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10694 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10695 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10696 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10697 (IPV6_PMTUDISC_INTERFACE): Likewise.
10698 (IPV6_PMTUDISC_OMIT): Likewise.
10699
7a81cbcc
AS
107002014-06-23 Andreas Schwab <schwab@suse.de>
10701
10702 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10703 Remove unused errout label.
10704
db224009
AZ
107052014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10706
10707 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10708 macro: hardware supports Vector Crypto instructions.
10709
f393b4aa
WN
107102014-06-23 Will Newton <will.newton@linaro.org>
10711
cc7d0447
WN
10712 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10713 rather than __builtin_expect.
10714
d6d06225
WN
10715 * elf/dl-lookup.c (undefined_msg): Remove variable.
10716 (_dl_lookup_symbol_x): Replace undefined_msg with string
10717 literal.
10718
f393b4aa
WN
10719 * elf/dl-lookup.c (do_lookup_unique): New function.
10720 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10721 to a separate function.
10722
ac60763e
AS
107232014-06-23 Andreas Schwab <schwab@suse.de>
10724
10725 [BZ #17079]
10726 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10727 before reading the next line.
10728
c5c13355
WN
107292014-06-23 Will Newton <will.newton@linaro.org>
10730
10731 * test-skeleton.c (signal_handler): Use printf and %m
10732 rather than perror. Use printf rather than fprintf to
10733 stderr. Use puts rather than fputs to stderr.
10734 (main): Likewise.
10735
bd3675f9
LC
107362014-06-22 Ludovic Courtès <ludo@gnu.org>
10737
10738 * nscd/nscd.c (thread_info_t): Remove typedef.
10739 (thread_info): Remove variable.
10740
d03efb2f
AM
107412014-06-21 Allan McRae <allan@archlinux.org>
10742
10743 * NEWS: Mention CVE-2014-4043.
10744
bc4a86fa
RM
107452014-06-20 Roland McGrath <roland@hack.frob.com>
10746
dc9a54f8
RM
10747 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10748 * nptl/smp.h: ... here.
10749
bd7022c4
RM
10750 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10751
26ffd5e6
RM
10752 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10753 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10754 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10755 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10756
93a6d082
RM
10757 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10758 * nptl/stack-aliasing.h: New file.
10759 * sysdeps/i386/i686/stack-aliasing.h: New file.
10760 * sysdeps/i386/i686/nptl/Makefile: File removed.
10761 * sysdeps/x86_64/stack-aliasing.h: New file.
10762 * sysdeps/x86_64/nptl/Makefile
10763 (CFLAGS-pthread_create.c): Variable removed.
10764
bc4a86fa
RM
10765 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10766 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10767 old file.
10768 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10769 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10770 old file.
10771
2272ffc1
JM
107722014-06-21 Joseph Myers <joseph@codesourcery.com>
10773
10774 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10775 (__ASSUME_SIGFRAME_V2): Remove macro.
10776 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10777 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10778 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10779 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10780 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10781 Declare as function. Remove conditional macro definitions.
10782 (__default_rt_sa_restorer): Likewise.
10783 (__default_sa_restorer_v1): Remove declaration.
10784 (__default_sa_restorer_v2): Likewise.
10785 (__default_rt_sa_restorer_v1): Likewise.
10786 (__default_rt_sa_restorer_v2): Likewise.
10787 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10788 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10789 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10790
4b88139b
RM
107912014-06-20 Roland McGrath <roland@hack.frob.com>
10792
10793 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10794 (libpthread-routines): Add sysdep.
10795 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10796 * sysdeps/unix/sysv/linux/sparc/Versions
10797 (libpthread: GLIBC_2.3.3): New version set.
10798 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10799 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10800 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10801 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10802 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10803 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10804 Moved ...
10805 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10806 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10807 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10808 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10809 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10811 * sysdeps/sparc/nptl/sem_init.c: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10813 * sysdeps/sparc/nptl/sem_post.c: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10815 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10817 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10818 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10819 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10820 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10821 (libpthread-routines): Add cpu_relax.
10822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10823 File removed.
10824 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10825 (librt: GLIBC_2.3.3): New version set.
10826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10827 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10828 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10829 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10832 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10834 Moved ...
10835 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10837 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10839 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10841 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10843 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10845 Moved ...
10846 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10847 Update #include.
10848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10849 Moved ...
10850 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10851 Update #include.
10852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10853 Moved ...
10854 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10855 Update #include.
10856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10857 Moved ...
10858 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10859 Update #include.
10860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10861 Moved ...
10862 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10863 Update #include.
10864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10865 Moved ...
10866 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10867 Update #include.
10868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10869 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10875 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10877 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10879 Moved ...
10880 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10882 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10885
d7109027
JM
108862014-06-20 Joseph Myers <joseph@codesourcery.com>
10887
9bc6103d
JM
10888 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10889 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10890 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10891 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10892 * nscd/nscd.c: Likewise.
10893 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10894 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10895 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10896 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10897
d7109027
JM
10898 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10899 <kernel-features.h>.
10900 (init_mq_netlink): Remove conditional have_sock_cloexec
10901 definitions. Remove code conditional on have_sock_cloexec < 0.
10902 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10903 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10904 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10905 <kernel-features.h>.
10906 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10907 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10908
d92d8f8a
L
109092014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10910
10911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10912 Add tests for memset_chk and memset.
10913
10914 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10915 with AVX2_Usable.
10916
4e6d2347
MR
109172014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10918
257ce712
MR
10919 [BZ #16046]
10920 * elf/tst-dl-iter-static.c: New file.
10921 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10922
4e6d2347
MR
10923 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10924 error.
10925
a2a76afe
JM
109262014-06-20 Joseph Myers <joseph@codesourcery.com>
10927
7fd00f99
JM
10928 * sysdeps/unix/sysv/linux/kernel-features.h
10929 (__ASSUME_F_GETOWN_EX): Remove macro.
10930 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10931 <kernel-features.h>.
10932 (miss_F_GETOWN_EX): Remove variable or macro.
10933 (do_fcntl): Do not check miss_F_GETOWN_EX.
10934 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10935
4a103975
JM
10936 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10937 Remove macro.
10938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10939 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10940 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10941
a2a76afe
JM
10942 * sysdeps/unix/sysv/linux/kernel-features.h
10943 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10944 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10945 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10946 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10947
90e5dd48
MR
109482014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10949
10950 [BZ #17075]
10951 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10952 Fix calculation of the symbol's value.
10953 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10954 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10955 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10956 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10957 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10958 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10959 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10960 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10961 (modules-names): Add `tst-armtlsdescmod',
10962 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10963 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10964 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10965 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10966 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10967 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10968 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10969 ($(objpfx)tst-armtlsdescloc): New dependency.
10970 ($(objpfx)tst-armtlsdescextnow): Likewise.
10971 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10972 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10973 TLS scheme support.
10974 * sysdeps/arm/configure: Regenerate.
10975
809fdf0d
JM
109762014-06-20 Joseph Myers <joseph@codesourcery.com>
10977
10978 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10979 (__atfct_seterrno_2): Likewise.
10980 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10981 <kernel-features.h>.
10982 (__ASSUME_ATFCTS): Do not undefine and redefine.
10983 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10984 (__have_atfcts): Remove conditional definition.
10985 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10986 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10987 unreachable if [__ASSUME_ATFCTS].
10988 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10989 not undefine and redefine.
10990 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10991 <kernel-features.h>.
10992 (faccessat) [__NR_faccessat]: Make code unconditional.
10993 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10994 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10995 <kernel-features.h>.
10996 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10997 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10998 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10999 <kernel-features.h>.
11000 (fchownat) [__NR_fchownat]: Make code unconditional.
11001 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11002 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11003 <kernel-features.h>.
11004 (futimesat) [__NR_futimesat]: Make code unconditional.
11005 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11006 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11007 <kernel-features.h>.
11008 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11009 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11010 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11011 <kernel-features.h>.
11012 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11013 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11014 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11015 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11016 <kernel-features.h>.
11017 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11018 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11019 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11020 <kernel-features.h>.
11021 (linkat) [__NR_linkat]: Make code unconditional.
11022 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11023 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11024 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11025 <kernel-features.h>.
11026 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11027 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11028 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11029 <kernel-features.h>.
11030 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11031 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11032 * sysdeps/unix/sysv/linux/openat.c: Do not include
11033 <kernel-features.h>.
11034 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11035 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11036 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11037 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11038 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11039 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11040 <kernel-features.h>.
11041 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11042 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11043 result of INLINE_SYSCALL directly, not via int variable.
11044 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11045 <kernel-features.h>.
11046 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11047 (renameat) [__NR_renameat]: Make code unconditional.
11048 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11049 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11050 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11051 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11052 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11053 (__ASSUME_ATFCTS): Do not undefine and redefine.
11054 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11055 <kernel-features.h>.
11056 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11057 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11058 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11059 <kernel-features.h>.
11060 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11061 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11062 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11063 (__ASSUME_ATFCTS): Do not undefine and redefine.
11064 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11065 <kernel-features.h>.
11066 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11067 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11068 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11069 <kernel-features.h>.
11070 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11071 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11072
224c6c51
L
110732014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11074
11075 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11076
aa6ec754
AS
110772014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11078
11079 [BZ #17069]
11080 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11081 constructed tree before returning error.
11082 * posix/bug-regexp36.c: Expand test case.
11083
d8c2869d
SL
110842014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11085
3ef6b850
SL
11086 [BZ #6803]
11087 * math/libm-test.inc (scalbln_test_date):
11088 Add errno expectations.
11089 * math/w_scalblnf.c: New File.
11090 Add wrapper which checks for setting errno to ERANGE.
11091 Add weak_alias for corresponding scalbln function.
11092 * math/w_scalbln.c: Likewise.
11093 * math/w_scalblnl.c: Likewise.
11094 * math/Makefile (libm-calls): Add w_scalbln.
11095 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11096 Remove weak_alias for corresponding scalbln function.
11097 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11099 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11101 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11102 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11103 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11104 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11105 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11106 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11107 Remove long_double_symbol for scalblnl function in libm, libc.
11108 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11109 Add wrapper which checks for setting errno to ERANGE.
11110 Add long_double_symbol for scalblnl function in libm, libc.
11111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11112 Remove long_double_symbol for scalblnl in libm.
11113 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11114 Add wrapper which checks for setting errno to ERANGE.
11115 Add long_double_symbol for scalblnl function in libm.
11116 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11117 Do not use wrapper because of own implementation.
11118
c8daec5c
L
111192014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11120
11121 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11122 3 bytes for __pad1 for x32.
11123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11124
5c74e47c
LM
111252014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11126 H.J. Lu <hongjiu.lu@intel.com>
11127
11128 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11129 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11130 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11131 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11132 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11133
4d43ef1e
AS
111342014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11135
11136 [BZ #17069]
11137 * posix/regcomp.c (parse_expression): Deallocate partially
11138 constructed tree before returning error.
11139 * posix/Makefile.c (tests): Add bug-regex36.
11140 (generated): Add bug-regex36.mtrace.
11141 (tests-special): Add $(objpfx)bug-regex36-mem.out
11142 (bug-regex36-ENV): New variable.
11143 ($(objpfx)bug-regex36-mem.out): New rule.
11144 * posix/bug-regex36.c: New file.
11145
51a7380b
WN
111462014-06-19 Will Newton <will.newton@linaro.org>
11147
11148 * malloc/malloc.c (systrim): If extra is zero then return
11149 early.
11150
91b84fe5
SP
111512014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11152
11153 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11154
f940b965
RE
111552014-06-19 Richard Earnshaw <rearnsha@arm.com>
11156
11157 * sysdeps/aarch64/strchr.S: New file.
11158
4ba7a00f
JM
111592014-06-18 Joseph Myers <joseph@codesourcery.com>
11160
11161 [BZ #17022]
11162 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11163 from arguments -2 or below.
11164 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11165 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11166
b3a9f56b
AS
111672014-06-18 Andreas Schwab <schwab@suse.de>
11168
11169 [BZ #17062]
11170 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11171 of a bracket expr not to run off the end of the string.
11172 * posix/Makefile (tests): Add tst-fnmatch3.
11173 * posix/tst-fnmatch3.c: New file.
11174
85d89278
JM
111752014-06-18 Joseph Myers <joseph@codesourcery.com>
11176
11177 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11178 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11179 [$(cross-compiling) = no]: Likewise.
11180 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11181 [$(cross-compiling) = no]: Likewise.
11182
754c5a08
RS
111832014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11184
11185 [BZ #17031]
11186 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11187 double, adjusted for any remainder from the high double.
11188 * math/libm-test.inc (nearbyint): Add tests.
11189 (rint): Likewise.
11190
556f529d
AZ
111912014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11192
11193 * nptl/sysdeps/powerpc/Makefile: Moved ...
11194 * sysdeps/powerpc/nptl/Makefile: ... here.
11195 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11196 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11197 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11198 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11199 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11200 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11201 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11202 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11203 * nptl/sysdeps/powerpc/tls.h: Moved ...
11204 * sysdeps/powerpc/nptl/tls.h: ... here.
11205
91c03c53
JM
112062014-06-16 Joseph Myers <joseph@codesourcery.com>
11207
11208 [BZ #16681]
11209 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11210 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11211 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11212 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11213 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11214 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11215 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11216 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11217 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11218
a76e63c5
AS
112192014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11220
11221 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11222
f2f6d82f
AS
112232014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11224
ea8a15f6
AS
11225 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11226 defined operator.
11227
f2f6d82f
AS
11228 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11229 $TIMEOUTFACTOR.
11230
a7291117
FW
112312014-06-16 Florian Weimer <fweimer@redhat.com>
11232
11233 [BZ #17058]
11234 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11235 non-executed part of the test.
11236
3d7c00e3
AS
112372014-06-16 Andreas Schwab <schwab@suse.de>
11238
11239 * string/bits/string2.h (strdup, strndup): Update feature guard.
11240
6957fb31
DM
112412014-06-14 David S. Miller <davem@davemloft.net>
11242
11243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11244
11b9e55b
AS
112452014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11246
1d2a0492
AS
11247 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11248 that was previously under [RESET_PID].
11249 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11250
11b9e55b
AS
11251 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11252 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11253 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11254 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11255 (__libc_vfork): New strong alias.
11256 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11257
0f6901d0
AK
112582014-06-14 Andi Kleen <ak@linux.intel.com>
11259
11260 * sysdeps/generic/elide.h: New file.
11261
38bbbb9f
SL
112622014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11263
11264 * Makefile (installed-headers): Adjust path of pthread.h header.
11265
45193bb8
RM
112662014-06-13 Roland McGrath <roland@hack.frob.com>
11267
9a25fd1e
RM
11268 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11269 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11271 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11272
4004f7e4
RM
11273 * nptl/sysdeps/s390/Makefile: Moved ...
11274 * sysdeps/s390/nptl/Makefile: ... here.
11275 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11276 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11277 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11278 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11279 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11280 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11281 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11282 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11283 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11284 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11285 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11286 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11287 * nptl/sysdeps/s390/tls.h: Moved ...
11288 * sysdeps/s390/nptl/tls.h: ... here.
11289
45193bb8
RM
11290 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11291 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11292
f6fdf533
DM
112932014-06-13 David S. Miller <davem@davemloft.net>
11294
11295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11298 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11302 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11303 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11304 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11305 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11306 Remove RESET_PID cpp guards.
11307 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11308 Remove RESET_PID cpp guards.
11309 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11310
f5d71e14
AS
113112014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11312
11313 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11314 __sp to uintptr_t.
11315
b7aa8caa
AK
113162014-06-13 Andi Kleen <ak@linux.intel.com>
11317
4b266200
AZ
11318 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11319 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11320 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11321 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11322 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11323 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11324 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11325 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11326 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11327 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11328 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11330 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11331 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11332 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11333 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11334 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11335 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11336 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11337 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11338
11339 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11340 (pthread_rwlock_rdlock): Add elision.
11341 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11342 (pthread_rwlock_wrlock): Add elision.
11343 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11344 (pthread_rwlock_trywrlock): Add elision.
11345 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11346 (pthread_rwlock_tryrdlock): Add elision.
11347 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11348 (pthread_rwlock_tryrdlock): Add elision unlock.
11349 * nptl/sysdeps/pthread/pthread.h:
11350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11351 (PTHREAD_RWLOCK_INITIALIZER,
11352 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11353 Handle new elision field.
11354 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11355 * sysdeps/arm/nptl/bits/pthreadtypes.h
11356 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11357 * sysdeps/sh/nptl/bits/pthreadtypes.h
11358 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11359 * sysdeps/tile/nptl/bits/pthreadtypes.h
11360 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11361 * sysdeps/a/nptl/bits/pthreadtypes.h
11362 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11363 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11364 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11365 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11366 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11367 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11368 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11369 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11370 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11371 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11372 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11373 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11374 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11375 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11376 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11377 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11378 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11379 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11380 (elision_init): Set try_xbegin to zero when no RTM.
11381 * sysdeps/x86/nptl/bits/pthreadtypes.h
11382 (pthread_rwlock_t): Change __pad1 to __rwelision.
11383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11384
a832bdd3
AK
113852014-06-13 Andi Kleen <ak@linux.intel.com>
11386
11387 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11388 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11389 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11390 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11391
995a46bb
MI
113922014-06-13 Meador Inge <meadori@codesourcery.com>
11393
11394 [BZ #16996]
03ed7738 11395 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11396 that the cached result has been set before returning it.
11397
45262aee
RM
113982014-06-12 Roland McGrath <roland@hack.frob.com>
11399
febf6cc5
RM
11400 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11401 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11403 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11405 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11406
e2682246
RM
11407 * nptl/sysdeps/sparc/Makefile: Moved ...
11408 * sysdeps/sparc/nptl/Makefile: ... here.
11409 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11410 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11411 * nptl/sysdeps/sparc/tls.h: Moved ...
11412 * sysdeps/sparc/nptl/tls.h: ... here.
11413 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11414 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11415 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11416 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11417 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11418 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11419 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11420 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11421 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11422 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11423 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11424 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11425 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11426 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11427 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11428 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11429 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11430 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11431 Update #include.
11432 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11433 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11434 Update #include.
11435 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11436 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11437 Update #include.
11438 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11439 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11440 Update #include.
11441
b0725f43
RM
11442 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11443
b14368b8
RM
11444 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11445 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11446
c5620eb3
RM
11447 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11448 (struct list_links): Type removed.
11449 (struct thread_node, struct timer_node): Replace struct list_links
11450 with struct list_head.
11451 (list_unlink_ip): Likewise.
11452 * sysdeps/pthread/timer_routines.c
11453 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11454 (list_append, list_insbefore): Likewise.
11455 (list_init): Function removed.
11456 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11457 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11458 * sysdeps/pthread/Makefile: ... here, new file.
11459
11460 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11461 * sysdeps/nptl/Implies: ... here.
11462 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11463 * nptl/sysdeps/pthread/list.h: Moved ...
11464 * include/list.h: ... here.
11465 * nptl/sysdeps/pthread/createthread.c: Moved ...
11466 * nptl/createthread.c: ... here.
11467 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11468 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11469 * nptl/pt-longjmp.c: ... here.
11470 * nptl/sysdeps/pthread/Makefile: Moved ...
11471 * sysdeps/nptl/Makefile: ... here.
11472 * nptl/sysdeps/pthread/Subdirs: Moved ...
11473 * sysdeps/nptl/Subdirs: ... here.
11474 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11475 * sysdeps/nptl/aio_misc.h: ... here.
11476 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11477 * sysdeps/nptl/bits/libc-lock.h: ... here.
11478 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11479 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11480 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11481 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11482 * nptl/sysdeps/pthread/configure: Moved ...
11483 * sysdeps/nptl/configure: ... here.
11484 * nptl/sysdeps/pthread/configure.ac: Moved ...
11485 * sysdeps/nptl/configure.ac: ... here.
11486 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11487 * sysdeps/nptl/gai_misc.h: ... here.
11488 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11489 * sysdeps/nptl/librt-cancellation.c: ... here.
11490 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11491 * sysdeps/nptl/malloc-machine.h: ... here.
11492 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11493 * sysdeps/nptl/pthread-functions.h: ... here.
11494 * nptl/sysdeps/pthread/pthread.h: Moved ...
11495 * sysdeps/nptl/pthread.h: ... here.
11496 * nptl/sysdeps/pthread/setxid.h: Moved ...
11497 * sysdeps/nptl/setxid.h: ... here.
11498 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11499 * sysdeps/nptl/sigfillset.c: ... here.
11500 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11501 * sysdeps/nptl/tcb-offsets.h: ... here.
11502 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11503 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11504 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11505 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11506 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11507 * sysdeps/pthread/allocalim.h: ... here.
11508 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11509 * sysdeps/pthread/bits/sigthread.h: ... here.
11510 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11511 * sysdeps/pthread/flockfile.c: ... here.
11512 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11513 * sysdeps/pthread/ftrylockfile.c: ... here.
11514 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11515 * sysdeps/pthread/funlockfile.c: ... here.
11516 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11517 * sysdeps/pthread/posix-timer.h: ... here.
11518 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11519 * sysdeps/pthread/timer_create.c: ... here.
11520 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11521 * sysdeps/pthread/timer_delete.c: ... here.
11522 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11523 * sysdeps/pthread/timer_getoverr.c: ... here.
11524 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11525 * sysdeps/pthread/timer_gettime.c: ... here.
11526 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11527 * sysdeps/pthread/timer_routines.c: ... here.
11528 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11529 * sysdeps/pthread/timer_settime.c: ... here.
11530 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11531 * sysdeps/pthread/tst-timer.c: ... here.
11532 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11533 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11534
e876b090
RM
11535 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11536 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11537
f6b07b3d
RM
11538 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11539 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11540 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11541 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11542 Update #include target.
11543 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11544 * sysdeps/i386/i686/nptl/Makefile: ... here.
11545 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11546 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11547 Update #include target.
11548 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11549 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11550 * nptl/sysdeps/i386/Makefile: Moved ...
11551 * sysdeps/i386/nptl/Makefile: ... here.
11552 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11553 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11554 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11555 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11556 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11557 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11558 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11559 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11560 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11561 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11562 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11563 * nptl/sysdeps/i386/tls.h: Moved ...
11564 * sysdeps/i386/nptl/tls.h: ... here.
11565
45262aee
RM
11566 * sysdeps/sh/Makefile [$(subdir) = csu]
11567 (gen-as-const-headers): Add tcb-offsets.sym.
11568 * nptl/sysdeps/sh/Makefile: File removed.
11569 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11570 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11571 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11572 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11573 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11574 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11575 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11576 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11577 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11578 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11579 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11580 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11581 * nptl/sysdeps/sh/tls.h: Moved ...
11582 * sysdeps/sh/nptl/tls.h: ... here.
11583 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11584 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11585 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11586 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11587 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11588 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11589 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11590 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11591 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11592 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11593 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11594 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11595 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11596 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11597 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11598 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11599 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11600 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11601 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11602 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11603 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11604 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11605 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11606 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11607 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11608 Moved ...
11609 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11610 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11611 Moved ...
11612 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11613 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11614 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11615 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11616 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11617 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11618 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11619 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11620 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11621 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11622 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11623 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11624 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11625 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11626 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11627 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11628 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11629 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11630 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11631
35a5e3e3
SL
116322014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11633
11634 * posix/spawn_faction_addopen.c: Include string.h.
11635
14642b85
RM
116362014-06-11 Roland McGrath <roland@hack.frob.com>
11637
11638 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11639 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11640 * nptl/sysdeps/x86_64/Makefile: Moved ...
11641 * sysdeps/x86_64/nptl/Makefile: ... here.
11642 * nptl/sysdeps/x86_64/configure: Moved ...
11643 * sysdeps/x86_64/nptl/configure: ... here.
11644 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11645 * sysdeps/x86_64/nptl/configure.ac: ... here.
11646 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11647 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11648 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11649 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11650 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11651 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11652 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11653 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11654 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11655 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11656 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11657 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11658 * nptl/sysdeps/x86_64/tls.h: Moved ...
11659 * sysdeps/x86_64/nptl/tls.h: ... here.
11660 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11661 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11662 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11663 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11664
11665 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11666
31c44fea
AZ
116672014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11668
11669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11670
e81a4f9a
JM
116712014-06-11 Joseph Myers <joseph@codesourcery.com>
11672
11673 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11674 type.
11675 [POSIX] (off_t): Likewise.
11676 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11677 [POSIX] (S_ISBLK): Require macro.
11678 [POSIX] (S_ISCHR): Likewise.
11679 [POSIX] (S_ISDIR): Likewise.
11680 [POSIX] (S_ISFIFO): Likewise.
11681 [POSIX] (S_ISREG): Likewise.
11682 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11683 optional-macro.
11684 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11685 type.
11686 [POSIX] (time_t): Likewise.
11687 [POSIX] (timer_t): Likewise.
11688
89e435f3
FW
116892014-06-11 Florian Weimer <fweimer@redhat.com>
11690
11691 [BZ #17048]
11692 * posix/spawn_int.h (struct __spawn_action): Make the path string
11693 non-const to support deallocation.
11694 * posix/spawn_faction_addopen.c
11695 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11696 * posix/spawn_faction_destroy.c
11697 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11698 path in all spawn_do_open actions.
11699 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11700 posix_spawn_file_actions_addopen.
11701
c3a2ebe1
CM
117022014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11703
11704 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11705 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11706 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11707 conditional code always true.
11708 (__libc_vfork): New alias.
11709
9503784a
RM
117102014-06-11 Roland McGrath <roland@hack.frob.com>
11711
c9cab3d2
RM
11712 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11713 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11714
d3996c79
RM
11715 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11716
ba5ec611
RM
11717 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11718 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11719
f12b4814
RM
11720 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11721 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11722
9503784a
RM
11723 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11724 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11725
e23d3d26
VR
117262014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11727
11728 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11729 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11730 multiarch strcmp for PPC64.
11731 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11732 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11734 multiarch optimizations.
11735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11736 (__libc_ifunc_impl_list): Likewise.
11737
42b1161e
SP
117382014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11739
11740 * benchtests/scripts/validate_benchout.py: New script.
11741 * benchtests/Makefile (bench-func): Call it.
11742 * benchtests/scripts/benchout.schema.json: New file.
11743
2d0fc4dc
CM
117442014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11745
4a594c34
AZ
11746 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11747 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11748 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11749 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11750 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11751 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11752 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11753 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11754 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11755 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11756 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11757 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11758 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11759 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11760 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11761 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11763 Moved ...
4a594c34 11764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11765 ... here.
4a594c34 11766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11767 Moved ...
4a594c34
AZ
11768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11770 Moved ...
4a594c34 11771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11772 ... here.
4a594c34 11773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11774 Moved ...
4a594c34 11775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11776 ... here.
4a594c34 11777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11778 Moved ...
4a594c34
AZ
11779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11781 Moved ...
4a594c34 11782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11783 ... here.
4a594c34 11784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11785 Moved ...
4a594c34 11786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11787 ... here.
4a594c34 11788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11789 Moved ...
4a594c34
AZ
11790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11792 Moved ...
4a594c34 11793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11794 ... here.
4a594c34 11795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11796 Moved ...
4a594c34 11797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11798 ... here.
4a594c34 11799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11800 Moved ...
4a594c34 11801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11802 ... here.
4a594c34 11803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11804 Moved ...
4a594c34
AZ
11805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11807 Moved ...
4a594c34 11808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11809 ... here.
4a594c34 11810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11811 Moved ...
4a594c34 11812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11813 ... here.
4a594c34 11814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11815 Moved ...
4a594c34 11816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11817 ... here.
4a594c34 11818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11819 Moved ...
4a594c34
AZ
11820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11822 Moved ...
4a594c34 11823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11824 ... here.
4a594c34 11825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11826 Moved ...
4a594c34 11827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11828 ... here.
4a594c34 11829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11830 Moved ...
4a594c34
AZ
11831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11833 Moved ...
4a594c34 11834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11835 ... here.
4a594c34 11836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11837 Moved ...
4a594c34
AZ
11838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11840 Moved ...
4a594c34
AZ
11841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11843 Moved ...
4a594c34 11844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11845 ... here.
4a594c34 11846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11847 Moved ...
4a594c34 11848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11849 ... here.
4a594c34 11850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11851 Moved ...
4a594c34 11852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11853 ... here.
4a594c34 11854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11855 Moved ...
4a594c34
AZ
11856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11858 Moved ...
4a594c34 11859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11860 ... here.
4a594c34 11861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11862 Moved ...
4a594c34 11863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11864 ... here.
4a594c34
AZ
11865 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11866 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11867 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11868 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11869 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11870 Moved ...
4a594c34 11871 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11872 ... here.
4a594c34
AZ
11873 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11874 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11875 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11876 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11877 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11878 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11879 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11880 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11881 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11882 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11883 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11884 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11885 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11886 Moved ...
4a594c34
AZ
11887 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11888 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11889 Moved ...
4a594c34
AZ
11890 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11892 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11893 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11894 Moved ...
4a594c34
AZ
11895 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11896 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11897 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11898 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11899 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11900 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11901 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11902
0570cfed
W
119032014-06-10 Wilco <wdijkstr@arm.com>
11904
11905 * math/test-fenv-return.c: New file.
11906 * math/Makefile: Add new test test-fenv-return.
11907
f8ba1b56
JM
119082014-06-10 Joseph Myers <joseph@codesourcery.com>
11909
11910 [BZ #17042]
11911 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11912 when x - 1 is zero.
11913 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11914 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11915 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11916 0.0L for an argument of 1.0L.
11917 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11918 Likewise.
11919 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11920 value when x - 1 is zero.
11921 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11922 * sysdeps/i386/fpu/libm-test-ulps: Update.
11923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11924
2c3520d9
BO
119252014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11926
11927 [BZ #15119]
11928 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11929
acaa4d24
RM
119302014-06-09 Roland McGrath <roland@hack.frob.com>
11931
11932 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11933 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11934
962b744d
RM
119352014-06-09 Roland McGrath <roland@hack.frob.com>
11936
d752f0cc
RM
11937 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11938 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11939
34eda6d1
RM
11940 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11941 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11942
50f0a637
RM
11943 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11944 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11945
08f41f04
RM
11946 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11947 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11948
962b744d
RM
11949 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11950 if not already defined.
11951 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11952 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11953 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11954 (TLS_INIT_TP): Use it.
11955 (TLS_DEFINE_INIT_TP): New macro.
11956 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11957
09f19b05
JM
119582014-06-09 Joseph Myers <joseph@codesourcery.com>
11959
11960 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11961 constant.
11962 [POSIX] (IXANY): Likewise.
11963 [POSIX] (OLCUC): Likewise.
11964 [POSIX || POSIX2008] (CBAUD): Do not allow.
11965 [POSIX || POSIX2008] (DEFECHO): Likewise.
11966 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11967 [POSIX || POSIX2008] (ECHOKE): Likewise.
11968 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11969 [POSIX || POSIX2008] (EXTA): Likewise.
11970 [POSIX || POSIX2008] (EXTB): Likewise.
11971 [POSIX || POSIX2008] (FLUSHO): Likewise.
11972 [POSIX || POSIX2008] (LOBLK): Likewise.
11973 [POSIX || POSIX2008] (PENDIN): Likewise.
11974 [POSIX || POSIX2008] (SWTCH): Likewise.
11975 [POSIX || POSIX2008] (VDISCARD): Likewise.
11976 [POSIX || POSIX2008] (VDSUSP): Likewise.
11977 [POSIX || POSIX2008] (VLNEXT): Likewise.
11978 [POSIX || POSIX2008] (VREPRINT): Likewise.
11979 [POSIX || POSIX2008] (VSTATUS): Likewise.
11980 [POSIX || POSIX2008] (VWERASE): Likewise.
11981 (B*): Change to B[0123456789]*.
11982 * conform/data/time.h-data [POSIX || UNIX98]
11983 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11984 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11985 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11986 [POSIX] (tm_*): Do not allow.
11987
686554bf
JM
119882014-06-07 Joseph Myers <joseph@codesourcery.com>
11989
11990 * Makefile (install): Don't set LANGUAGE.
11991 * Makefile.in (install): Likewise.
11992 * assert/Makefile (test-assert-ENV): Remove variable.
11993 (test-assert-perr-ENV): Likewise.
11994 * elf/Makefile (neededtest4-ENV): Likewise.
11995 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11996 [$(cross-compiling) = no]: Don't set LANGUAGE.
11997 * io/ftwtest-sh (LANG): Remove variable.
11998 * libio/Makefile (tst-widetext-ENV): Likewise.
11999 * manual/install.texi (Running make install): Don't refer to
12000 environment settings for make install.
12001 * INSTALL: Regenerated.
12002 * nptl/tst-tls6.sh: Don't set LANG.
12003 * posix/globtest.sh (LANG): Remove variable.
12004 * string/Makefile (tester-ENV): Likewise.
12005 (inl-tester-ENV): Likewise.
12006 (noinl-tester-ENV): Likewise.
12007 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12008 [$(cross-compiling) = no]: Don't set LANGUAGE.
12009 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12010 without explicit environment settings.
12011
68e6b6b1
RM
120122014-06-06 Roland McGrath <roland@hack.frob.com>
12013
12014 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12015 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12016 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12017 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12018
4d3ae034
CM
120192014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12020
12021 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12022 other files in the crypt directory.
12023 * crypt/crypt.c: Remove duplicate includes.
12024 * crypt/crypt-entry.c: Likewise.
12025 * crypt/crypt_util.c: Likewise.
12026
8540f6d2
JM
120272014-06-06 Joseph Myers <joseph@codesourcery.com>
12028
12029 * Makeconfig (run-program-env): New variable.
12030 (run-program-prefix-before-env): Likewise.
12031 (run-program-prefix-after-env): Likewise.
12032 (run-program-prefix): Define in terms of new variables.
12033 (built-program-cmd-before-env): New variable.
12034 (built-program-cmd-after-env): Likewise.
12035 (built-program-cmd): Define in terms of new variables.
12036 (test-program-prefix-before-env): New variable.
12037 (test-program-prefix-after-env): Likewise.
12038 (test-program-prefix): Define in terms of new variables.
12039 (test-program-cmd-before-env): New variable.
12040 (test-program-cmd-after-env): Likewise.
12041 (test-program-cmd): Define in terms of new variables.
12042 * Rules (make-test-out): Use $(run-program-env).
12043 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12044 (help): Do not mention environment variables. Mention
12045 --timeoutfactor option.
12046 (timeoutfactor): New variable.
12047 (blacklist_exports): Remove function.
12048 (exports): Remove variable.
12049 (command): Do not include ${exports}.
12050 * manual/install.texi (Configuring and compiling): Do not mention
12051 test wrappers preserving environment variables. Mention that last
12052 assignment to a variable must take precedence.
12053 * INSTALL: Regenerated.
12054 * benchtests/Makefile (run-bench): Use $(run-program-env).
12055 * catgets/Makefile ($(objpfx)test1.cat): Use
12056 $(built-program-cmd-before-env), $(run-program-env) and
12057 $(built-program-cmd-after-env).
12058 ($(objpfx)test2.cat): Do not specify environment variables
12059 explicitly.
12060 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12061 $(run-program-env) and $(built-program-cmd-after-env).
12062 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12063 $(run-program-env) and $(test-program-cmd-after-env).
12064 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12065 explicitly.
12066 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12067 run_program_env and test_program_cmd_after_env arguments.
12068 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12069 * elf/tst-pathopt.sh: Use run_program_env argument.
12070 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12071 $(test-wrapper-env) and $(run-program-env).
12072 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12073 run_program_env arguments.
12074 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12075 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12076 $(test-program-prefix-before-env), $(run-program-env) and
12077 $(test-program-prefix-after-env).
12078 ($(objpfx)tst-gettext2.out): Likewise.
12079 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12080 run_program_env and test_program_prefix_after_env arguments.
12081 * intl/tst-gettext2.sh: Likewise.
12082 * intl/tst-gettext4.sh: Do not set environment variables
12083 explicitly.
12084 * intl/tst-gettext6.sh: Likewise.
12085 * intl/tst-translit.sh: Likewise.
12086 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12087 $(test-program-prefix-before-env), $(run-program-env) and
12088 $(test-program-prefix-after-env).
12089 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12090 run_program_env and test_program_prefix_after_env arguments.
12091 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12092 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12093 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12094 explicitly with each use of ${test_wrapper_env}.
12095 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12096 $(test-program-prefix-before-env), $(run-program-env) and
12097 $(test-program-prefix-after-env).
12098 * posix/tst-getconf.sh: Do not set environment variables
12099 explicitly.
12100 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12101 run_program_env and test_program_prefix_after_env arguments.
12102 * stdio-common/tst-printf.sh: Do not set environment variables
12103 explicitly.
12104 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12105 $(test-program-prefix-before-env), $(run-program-env) and
12106 $(test-program-prefix-after-env).
12107 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12108 run_program_env and test_program_prefix_after_env arguments.
12109 Split $test calls into $test_pre and $test.
12110 * timezone/Makefile (build-testdata): Use
12111 $(built-program-cmd-before-env), $(run-program-env) and
12112 $(built-program-cmd-after-env).
12113
ed36bfa1
AZ
121142014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12115
12116 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12117 strlen for non SHARED builds.
12118
fc75bf46
SP
121192014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12120
12121 * nptl/allocatestack.c (check_list): Inlined function...
12122 (__reclaim_stacks): ... here.
12123
d89b3d80
OB
121242014-06-05 Ondřej Bílka <neleai@seznam.cz>
12125
12126 [BZ #15698]
12127 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12128 memory overrun.
12129
2bf18041
JM
121302014-06-05 Joseph Myers <joseph@codesourcery.com>
12131
12132 * Rules (make-test-out): Include
12133 LOCPATH=$(common-objpfx)localedata in default environment.
12134 * debug/Makefile (tst-chk1-ENV): Remove variable.
12135 (tst-chk2-ENV): Likewise.
12136 (tst-chk3-ENV): Likewise.
12137 (tst-chk4-ENV): Likewise.
12138 (tst-chk5-ENV): Likewise.
12139 (tst-chk6-ENV): Likewise.
12140 (tst-lfschk1-ENV): Likewise.
12141 (tst-lfschk2-ENV): Likewise.
12142 (tst-lfschk3-ENV): Likewise.
12143 (tst-lfschk4-ENV): Likewise.
12144 (tst-lfschk5-ENV): Likewise.
12145 (tst-lfschk6-ENV): Likewise.
12146 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12147 (tst-iconv7-ENV): Likewise.
12148 * intl/Makefile (LOCPATH-ENV): Likewise.
12149 (tst-codeset-ENV): Likewise.
12150 (tst-gettext3-ENV): Likewise.
12151 (tst-gettext5-ENV): Likewise.
12152 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12153 (tst-fopenloc-ENV): Likewise.
12154 (tst-fgetws-ENV): Remove variable.
12155 (tst-ungetwc1-ENV): Likewise.
12156 (tst-ungetwc2-ENV): Likewise.
12157 (bug-ungetwc2-ENV): Likewise.
12158 (tst-swscanf-ENV): Likewise.
12159 (bug-ftell-ENV): Likewise.
12160 (tst-fgetwc-ENV): Likewise.
12161 (tst-fseek-ENV): Likewise.
12162 (tst-ftell-partial-wide-ENV): Likewise.
12163 (tst-ftell-active-handler-ENV): Likewise.
12164 (tst-ftell-append-ENV): Likewise.
12165 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12166 (tst-regexloc-ENV): Likewise.
12167 (bug-regex1-ENV): Likewise.
12168 (tst-regex-ENV): Likewise.
12169 (tst-regex2-ENV): Likewise.
12170 (bug-regex5-ENV): Likewise.
12171 (bug-regex6-ENV): Likewise.
12172 (bug-regex17-ENV): Likewise.
12173 (bug-regex18-ENV): Likewise.
12174 (bug-regex19-ENV): Likewise.
12175 (bug-regex20-ENV): Likewise.
12176 (bug-regex22-ENV): Likewise.
12177 (bug-regex23-ENV): Likewise.
12178 (bug-regex25-ENV): Likewise.
12179 (bug-regex26-ENV): Likewise.
12180 (bug-regex30-ENV): Likewise.
12181 (bug-regex32-ENV): Likewise.
12182 (bug-regex33-ENV): Likewise.
12183 (bug-regex34-ENV): Likewise.
12184 (bug-regex35-ENV): Likewise.
12185 (tst-rxspencer-ENV): Likewise.
12186 (tst-rxspencer-no-utf8-ENV): Likewise.
12187 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12188 (tst-sscanf-ENV): Likewise.
12189 (tst-swprintf-ENV): Likewise.
12190 (tst-swscanf-ENV): Likewise.
12191 (test-vfprintf-ENV): Likewise.
12192 (scanf13-ENV): Likewise.
12193 (bug14-ENV): Likewise.
12194 (tst-grouping-ENV): Likewise.
12195 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12196 (tst-strtod3-ENV): Likewise.
12197 (tst-strtod4-ENV): Likewise.
12198 (tst-strtod5-ENV): Likewise.
12199 (testmb2-ENV): Likewise./
12200 * string/Makefile (tst-strxfrm-ENV): Likewise.
12201 (tst-strxfrm2-ENV): Likewise.
12202 (bug-strcoll1-ENV): Likewise.
12203 (test-strcasecmp-ENV): Likewise.
12204 (test-strncasecmp-ENV): Likewise.
12205 * time/Makefile (tst-strptime-ENV): Likewise.
12206 (tst-ftime_l-ENV): Likewise.
12207 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12208 (tst-mbrtowc-ENV): Likewise.
12209 (tst-wcrtomb-ENV): Likewise.
12210 (tst-mbrtowc2-ENV): Likewise.
12211 (tst-c16c32-1-ENV): Likewise.
12212 (tst-mbsnrtowcs-ENV): Likewise.
12213
cd1fb604
OB
122142014-06-05 Ondřej Bílka <neleai@seznam.cz>
12215
12216 * manual/resource.texi (How to get information about the memory
12217 subsystem?): Fix typo.
12218 Reported by Peon de la Parra Ivan <peon@keba.com>
12219
b42eca7d
GY
122202014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12221
12222 [BZ #16882]
12223 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12224 (pthread_spin_lock): Branch out of spin loop to proper location.
12225 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12226 (pthread_spin_lock): Likewise.
12227
902b71f9
DM
12228 * nptl/tst-spin4.c: New test.
12229 * nptl/Makefile (tests): Add tst-spin4.
12230
f9d2d032
AS
122312014-06-03 Andreas Schwab <schwab@suse.de>
12232
12233 [BZ #15946]
12234 * resolv/res_send.c (send_dg): Reload file descriptor after
12235 calling reopen.
12236
cf7bfd28
SL
122372014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12238
12239 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12240
111cc714
RH
122412014-06-03 Richard Henderson <rth@redhat.com>
12242
89b4bd6b
RH
12243 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12244 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12245 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12246 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12247 in the SAVE_PID block.
12248 (__libc_vfork): New alias.
71840409 12249 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12250
111cc714
RH
12251 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12252 child in registers, not on the stack. Remove RESET_PID conditionals.
12253 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12254
ccc39911
MS
122552014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12256
12257 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12258
693096cc
W
122592014-06-03 Wilco <wdijkstr@arm.com>
12260
12261 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12262 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12263 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12264 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12265 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12266 Likewise.
12267
0b4366bc
W
122682014-06-03 Wilco <wdijkstr@arm.com>
12269
12270 * sysdeps/aarch64/fpu/math_private.h
12271 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12272 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12273 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12274 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12275 Fix declarations.
12276
8747cd03
KS
122772014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12278
12279 * crypt/crypt-private.h: Include ufc-crypt.h.
12280 (__b64_from_24bit): Declare extern.
12281 * crypt/crypt_util.c(__b64_from_24bit): New function.
12282 (b64t): New static const variable.
12283 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12284 (b64t): Remove variable.
12285 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12286 * crypt/sha256-crypt.c: Include crypt-private.h.
12287 (b64t): Remove variable.
12288 (__sha256_crypt_r): Remove b64_from_24bit and replace
12289 with __b64_from_24bit.
12290 * crypt/sha512-crypt.c: Likewise.
12291
d936d379
RM
122922014-06-02 Roland McGrath <roland@hack.frob.com>
12293
12294 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12295 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12296 Label the code __libc_vfork rather than __vfork.
12297 [!NOT_IN_libc] (vfork): Define as weak alias.
12298 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12299 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12300 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12301
9fa76613
SP
123022014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12303
12304 * malloc/malloc.c (malloc_info): Fix format specifier for
12305 n_mmaps.
12306
a88dadbe
W
123072014-06-02 Wilco <wdijkstr@arm.com>
12308
12309 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12310 FPCR write.
12311
c95b3011
W
123122014-06-02 Wilco <wdijkstr@arm.com>
12313
12314 [BZ #17009]
12315 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12316 Rewrite to reduce FPCR/FPSR accesses.
12317
6b4d7a90
DM
123182014-06-01 David S. Miller <davem@davemloft.net>
12319
12320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12321
30f3d07c
DM
123222014-05-31 David S. Miller <davem@davemloft.net>
12323
12324 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12325 to occur in round to nearest mode when |x| >= 2.0
12326
74f31c18
RH
123272014-05-30 Richard Henderson <rth@twiddle.net>
12328
f0712b54
RH
12329 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12330 (PSEUDO_RET_NOERRNO): Remove.
12331 (ret): Don't redefine.
12332 (ret_NOERRNO): Define in terms of ret.
12333 (ret_ERRVAL): Likewise.
12334
74f31c18
RH
12335 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12336 use of PSEUDO_RET; perform the error check directly.
12337
30477995
MM
123382014-05-30 Marko Myllynen <myllynen@redhat.com>
12339
12340 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12341 with __int128_t.
12342
62a58816
SP
123432014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12344
12345 * malloc/malloc (malloc_info): Fix formatting.
12346
4d653a59
SP
123472014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12348 Roland McGrath <roland@hack.frob.com>
12349
12350 * malloc/malloc (malloc_info): Also print mmapped statistics.
12351
5190c17f
RM
123522014-05-30 Roland McGrath <roland@hack.frob.com>
12353
12354 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12355 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12356
987c0269
OB
123572014-05-30 Ondřej Bílka <neleai@seznam.cz>
12358
12359 * malloc/malloc.c (malloc_info): Inline mi_arena.
12360
af4e8ef9
RH
123612014-05-29 Richard Henderson <rth@twiddle.net>
12362
1670e207
RH
12363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12364 Remove comma before expanding ASM_ARGS_##nr.
12365 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12366 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12367 of ASM_ARGS_##nr.
12368 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12369 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12370 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12371 (ASM_ARGS_1): Add leading comma.
12372
11a28aee
RH
12373 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12374 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12375 to __errno_location.
12376 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12377 Remove the expected plt for __errno_location.
12378
a17e5ffb 12379 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12380 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12381 call to __read_tp.
12382
b5be4597
RH
12383 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12384 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12385 it and break it down.
12386 (DOCARGS_0, DOCARGS_1): Do nothing.
12387 (DOCARGS_2): Update to store into the new stack frame.
12388 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12389 (UNDOCARGS_1): Update to restore from the new stack frame.
12390 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12391 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12392
645d44ab
RH
12393 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12394 (SINGLE_THREAD_P): New parameter for result regno.
12395 (PSEUDO): Update to match; use cbz instead of beq.
12396
a8b4f04a
RH
12397 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12398 Use ENTRY to define the _nocancel entry point. Share the syscall
12399 and syscall error check paths with the cancel path.
12400 (PSEUDO_END): New.
12401
af4e8ef9
RH
12402 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12403 whitespace; tabs before and after asm mnemonics.
12404
26b0d2e1
EW
124052014-05-29 Eric Wong <normalperson@yhbt.net>
12406
12407 [BZ #15132]
12408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12409 Call fstat64 or stat64 internally, depending on arguments passed.
12410 Replace stat buffer argument with file descriptor argument.
12411 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12412 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12413 Pass fd to __internal_statvfs instead of calling fstat64.
12414 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12415 Pass fd to __internal_statvfs64 instead of calling fstat64.
12416 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12417 Pass -1 to __internal_statvfs instead of calling stat64.
12418 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12419 Pass -1 to __internal_statvfs64 instead of calling stat64.
12420
1efe2bd9
RM
124212014-05-28 Roland McGrath <roland@hack.frob.com>
12422
0d3b7a19
RM
12423 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12424 that was previously under [RESET_PID].
12425 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12426
1efe2bd9
RM
12427 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12428 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12429
a6bea3ca
RM
124302014-05-27 Roland McGrath <roland@hack.frob.com>
12431
30b6629e
RM
12432 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12433
a6bea3ca
RM
12434 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12435 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12436
3dfb9a5c
OB
124372014-05-27 Ondřej Bílka <neleai@seznam.cz>
12438
12439 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12440
774f9285
AS
124412014-05-27 Andreas Schwab <schwab@suse.de>
12442
12443 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12444 TLS_INIT_TP macro.
12445 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12446 * elf/rtld.c (init_tls, dl_main): Likewise.
12447 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12448 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12449 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12450 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12451 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12452 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12453 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12454 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12455 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12456 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12457 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12458 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12459 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12460 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12461 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12462 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12463 * sysdeps/generic/tls.h: Update description.
12464
36ffe739
WN
124652014-05-27 Will Newton <will.newton@linaro.org>
12466
12467 [BZ #16990]
12468 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12469 and restore r2 rather than just restoring.
12470
2482ae43
SP
124712014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12472
12473 [BZ #16724]
12474 * libio/tst-ftell-append.c: New test case.
12475 * libio/Makefile (tests): Add test case.
12476 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12477 append mode.
12478 * libio/wfileops.c (do_ftell_wide): Likewise.
12479
3d1024e8
AZ
124802014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12481
bab90016
AZ
12482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12483
c7a8d667
AZ
12484 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12485 ...
12486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12488 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12489 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12490 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12491 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12492 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12493 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12494 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12495 Moved ...
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12497 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12498 Moved ...
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12500 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12501 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12502 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12503 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12504 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12505 ...
12506 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12507 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12508 Moved ...
12509 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12510 here.
12511 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12512 ...
12513 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12515 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12516
daee7851
AZ
12517 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12518 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12519 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12520 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12521
50a40819
AZ
12522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12523 merge into ...
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12526 ...
12527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12529 ...
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12532 Moved ...
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12534 here.
12535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12536 Moved ...
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12539 Moved ...
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12541
8464c2a1
AZ
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12543 conditional [RESET_PID].
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12545 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12546 removed.
12547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12548 removed.
12549
3d1024e8
AZ
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12551 <tcb-offsets.h>.
12552 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12553 (__libc_vfork): New strong alias.
12554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12555 removed.
12556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12557 Removed.
12558
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12560 <tcb-offsets.h>.
12561 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12562 (__libc_vfork): New strong alias.
12563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12564 removed.
12565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12566 removed.
12567
fdfd175d
CD
125682014-05-26 Carlos O'Donell <carlos@redhat.com>
12569
12570 * malloc/malloc.c (mi_arena): New function.
12571 (malloc_info): Remove nested function mi_arena. Call non-nosted
12572 function mi_arena.
12573
d298c416
AZ
125742014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12575
12576 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12577 by insrwi.
12578 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12579 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12580 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12581 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12582 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12583 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12584 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12585
b60ea6ff
AS
125862014-05-26 Andreas Schwab <schwab@suse.de>
12587
12588 [BZ #16984]
12589 * locale/programs/repertoire.c (repertoire_read): Add slash
12590 between I18NPATH element and file name.
12591 * locale/programs/locfile.c (locfile_read): Likewise.
12592
67365926
SL
125932014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12594
12595 * nptl/pthread_mutexattr_settype.c
12596 (__pthread_mutexattr_settype):
12597 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12598
f8bdf1f0
SL
125992014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12600
12601 * nptl/tst-mutex5 (do_test):
12602 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12603
15eaf6ff
SP
126042014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12605
12606 * benchtests/README: Document 'init' directive.
12607 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12608 BENCH_INIT.
12609 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12610 (parse_file): Recognize 'init' directive.
12611
75f11331
KM
126122014-05-26 Kyle McMartin <kyle@redhat.com>
12613
12614 [BZ #16796]
12615 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12616 alignment of struct pthread.
12617
c3ec475c
SP
126182014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12619
12620 [BZ #16878]
12621 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12622 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12623 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12624 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12625
82aab97c
RH
126262014-05-25 Richard Henderson <rth@twiddle.net>
12627
aa2f176d
RH
12628 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12629 (SINGLE_THREAD_P_PIC): Remove.
12630 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12631 (SINGLE_THREAD_P_PIC): Remove.
12632
ca3cfa40
RH
12633 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12634 branch to syscall error ...
12635 (PSEUDO): ... here.
12636 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12637 from __local_syscall_error to .Lsyscall_error.
12638 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12639 (SYSCALL_ERROR): Update label name.
12640
6e6c2d01
RH
12641 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12642 Do not use DOARGS/UNDOARGS.
12643 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12644 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12645 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12646 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12647 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12648
c69abcee
RH
12649 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12650 block comment.
12651
82aab97c
RH
12652 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12653 define if !NOT_IN_libc.
12654 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12655 define with non-default symbol versions.
12656
8820e3ac
RH
126572014-05-23 Richard Henderson <rth@twiddle.net>
12658
900e445f
RH
12659 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12660 (vfork, __vfork): Define via compat_symbol.
12661
8820e3ac
RH
12662 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12663 [!HAVE_IFUNC] (vfork_compat): Remove.
12664 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12665
e59252a5
JM
126662014-05-23 Joseph Myers <joseph@codesourcery.com>
12667
12668 [BZ #16978]
12669 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12670 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12671 variable.
12672
132c7f5f
RH
126732014-05-23 Richard Henderson <rth@twiddle.net>
12674
bc89e962
RH
12675 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12676 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12677 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12678 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12679
12680 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12681 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12682 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12683 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12684 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12685 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12686 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12687 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12688 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12689 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12690 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12691 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12692 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12693 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12694 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12695 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12696 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12697 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12698 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12699 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12700 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12701 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12702 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12703 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12704 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12705 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12706 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12707 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12708 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12709 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12710 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12711 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12712 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12713 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12714 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12715 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12716 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12717 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12718 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12719 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12720 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12721 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12722 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12723 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12724 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12725 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12726 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12727 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12728 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12729 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12730 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12731 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12732 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12733 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12734 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12735 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12736
e2fa4bc2
RH
12737 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12738 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12739 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12740 before exiting on error.
12741 (__libc_vfork): New strong alias.
12742 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12743 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12744
279b24e2
RH
12745 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12746 that was previously under [RESET_PID].
12747 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12748
132c7f5f
RH
12749 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12750
b72592e7
JM
127512014-05-23 Joseph Myers <joseph@codesourcery.com>
12752
12753 [BZ #16977]
12754 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12755 value when x - 1 is zero.
12756 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12757 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12758 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12759 0.0L for an argument of 1.0L.
12760 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12761 Likewise.
12762 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12763 value when x - 1 is zero.
12764 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12765 * sysdeps/i386/fpu/libm-test-ulps: Update.
12766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12767
2302d679
RV
127682014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12769
12770 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12771 alphasort and versionsort.
12772
32999d63
AZ
127732014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12774
12775 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12776 macro.
12777 [copysignf]: Likewise.
12778
019324d0
SP
127792014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12780
12781 * crypt/md5-crypt.c: Fix formatting.
12782
34fff5c2
KS
127832014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12784
12785 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12786 (b64_from_24bit): New function.
12787
3d2badac
AZ
127882014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12789
12790 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12791 libc_hidden_builtin_def to ifunc.
12792 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12793 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12794
f7bb179f 127952014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12796
12797 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12798 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12799
4134b50d
JM
128002014-05-21 Joseph Myers <joseph@codesourcery.com>
12801
bb7d0337
JM
12802 * nscd/Depend (linuxthreads): Remove.
12803 (nptl): Add.
12804 * resolv/Depend (linuxthreads): Remove.
12805 * rt/Depend (linuxthreads): Remove.
12806
4134b50d
JM
12807 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12808 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12809 $(common-objpfx)elf/.
12810 (link-libc-before-gnulib): Likewise.
12811 (elfobjdir): Remove variable.
12812 * Makefile (install): Use $(elf-objpfx) instead of
12813 $(common-objpfx)elf/.
12814 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12815 $(elfobjdir)/.
12816 (link-libc-deps): Likewise.
12817 ($(common-objpfx)libc.so): Likewise.
12818 ($(common-objpfx)linkobj/libc.so): Likewise.
12819 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12820 instead of $(common-objpfx)elf/.
12821 (symbolic-link-list): Likewise.
12822 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12823 [$(cross-compiling) = no]: Likewise.
12824 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12825 $(elfobjdir)/.
12826 (static-gnulib-arch): Likewise.
12827 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12828 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12829 $(common-objpfx)elf/.
12830
3612eb8f
RH
128312014-05-21 Richard Henderson <rth@redhat.com>
12832
a6b3657b
RH
12833 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12834 (SINGLE_THREAD_P): Use the correct width load. Fold
12835 into the ldr offset.
12836
3612eb8f
RH
12837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12838 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12839
175cef41
JM
128402014-05-20 Joseph Myers <joseph@codesourcery.com>
12841
12842 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12843 (libgcc_s_resume): Use __attribute_used__.
12844 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12845 Likewise.
12846
e13bccd3
AZ
128472014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12848
12849 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12850 optimization when used with float constants.
12851
7c112a38
AZ
12852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12853
ae75a883
AJ
128542014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12855
12856 [BZ #16915]
12857 * locale/nl_langinfo_l.c: Make direct reference to every
12858 _nl_current_CATEGORY symbol.
12859 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12860 (tests-static): Add tst-langinfo-static.
12861 (tests-special): Add tst-langinfo-static.out.
12862 ($(objpfx)tst-langinfo.out): Redirect output.
12863 ($(objpfx)tst-langinfo-static.out): New.
12864 * localedata/tst-langinfo.sh: Send output to stdout.
12865 * localedata/tst-langinfo-static.c: New file.
12866
4406c41c
AJ
12867 [BZ #16965]
12868 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12869 when the shift amount is modulo the limb size.
12870
4c0a1e63
RH
128712014-05-20 Richard Henderson <rth@redhat.com>
12872
de9d8f20
RH
12873 [BZ #16967]
12874 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12875 Change type of sa_flags from unsigned int to int.
12876
4c0a1e63
RH
12877 [BZ #16966]
12878 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12879
12880 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12881
a60339aa
WN
128822014-05-20 Will Newton <will.newton@linaro.org>
12883
12884 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12885 Test the return value of the system call in the nocancel case.
12886
7d05a816
YR
128872014-05-20 Will Newton <will.newton@linaro.org>
12888 Yvan Roux <yvan.roux@linaro.org>
12889
12890 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12891 #include of asm/ptrace.h.
12892 (PTRACE_GET_THREAD_AREA): Remove #undef.
12893 (PTRACE_GETHBPREGS): Likewise.
12894 (PTRACE_SETHBPREGS): Likewise.
12895 (struct user_regs_struct): New structure.
12896 (struct user_fpsimd_struct): New structure.
12897 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12898 #include of asm/ptrace.h and second #include of sys/user.h.
12899 (PTRACE_GET_THREAD_AREA): Remove #undef.
12900 (PTRACE_GETHBPREGS): Likewise.
12901 (PTRACE_SETHBPREGS): Likewise.
12902 (ELF_NGREG): Use new struct user_regs_struct.
12903 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12904
af121e37
AZ
129052014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12906
12907 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12908 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12909
834caf06
JM
129102014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12911
12912 [BZ #16958]
12913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12914 membar to avoid block loads/stores to overlap previous stores.
12915
e184a918
RH
129162014-05-17 Richard Henderson <rth@redhat.com>
12917
12918 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12919 Create the __##syscall_name##_nocancel entry point.
12920 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12921 Remove; let the sysdep-cancel.h code create it.
12922
f56c7a6a
DM
129232014-05-17 David S. Miller <davem@davemloft.net>
12924
12925 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12926 Protect with __USE_GNU.
12927 (TIOCSET_TEMPT): Likewise.
12928 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12929 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12930 these are already provided in bits/ioctl-types.h
12931
f75616b2
RM
129322014-05-16 Roland McGrath <roland@hack.frob.com>
12933
3edeca86
RM
12934 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12935 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12936
f75616b2
RM
12937 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12938 Use wait4 regardless of [__NR_waitpid].
12939
deb0f7f6
MR
129402014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12941
12942 PR libgcc/60166
12943 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12944 (_FP_NANSIGN_Q): Set the quiet bit.
12945
79520f4b
JM
129462014-05-16 Joseph Myers <joseph@codesourcery.com>
12947
12948 * benchtests/Makefile
12949 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12950 not $(common-objpfx)math/libm.so.
12951 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12952 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12953 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12954 $(common-objpfx)dlfcn/libdl.so.
12955 ($(objpfx)tst-audit8): Depend on $(libm), not
12956 $(common-objpfx)math/libm.so.
12957 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12958 not $(common-objpfx)dlfcn/libdl.so.
12959 * math/Makefile
12960 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12961 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12962 [$(build-shared) = yes].
12963 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12964 $(common-objpfx)nptl/libpthread.so.
12965 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12966 $(common-objpfx)math/libm.so$(libm.so-version) or
12967 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12968 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12969 $(common-objpfx)dlfcn/libdl.so.
12970 * setjmp/Makefile (link-libm): Remove variable.
12971 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12972 * stdio-common/Makefile (link-libm): Remove variable.
12973 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12974 * stdlib/Makefile (link-libm): Remove variable.
12975 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12976 ($(objpfx)tst-strtod-round): Likewise.
12977 ($(objpfx)tst-tininess): Likewise.
12978 ($(objpfx)tst-strtod-underflow): Likewise.
12979 ($(objpfx)tst-strtod6): Likewise.
12980 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12981 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12982 $(common-objpfx)dlfcn/libdl.so.
12983
026b0fe4
AZ
129842014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12985
12986 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12987 BSD terminal modes definitions.
12988
def4bcb2
RM
129892014-05-16 Roland McGrath <roland@hack.frob.com>
12990
fe39b021
RM
12991 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12992 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12993
1d1fc46e 12994 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12995 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12996 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12997 Don't do #include_next.
12998 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12999 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13000 Don't do #include_next.
13001 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13002 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13003 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13004 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13005
c72399fb
AM
130062014-05-16 Allan McRae <allan@archlinux.org>
13007
d51d659d
AM
13008 * po/sv.po: Update Swedish translation from translation project.
13009
c72399fb
AM
13010 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13011 in sed expression.
13012
d0583c40
AJ
130132014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13014
13015 [BZ #16917]
13016 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13017 errno if the TIOCGPTN ioctl fails with an error different than
13018 EINVAL.
13019 * login/tst-ptsname.c: New file.
13020 * login/Makefile (tests): Add tst-ptsname.
13021
d16e6ec7
AJ
13022 [BZ #16943]
13023 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13024 and prlimit64.
13025
cf26a0cb
SP
130262014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13027
13028 [BZ #16849]
13029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13030 herrno to return EAI_AGAIN.
13031
5675da1e
RM
130322014-05-14 Roland McGrath <roland@hack.frob.com>
13033
a5d87b3d
RM
13034 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13035 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13036 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13037 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13038 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13039 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13040 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13041 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13042 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13043 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13044 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13045 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13046 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13047 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13048 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13049 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13050 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13051 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13052 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13053 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13054 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13055 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13056 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13057 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13058 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13059 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13060 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13061 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13062 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13063 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13065 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13067 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13069 Moved ...
13070 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13072 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13074 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13076 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13078 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13080 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13082 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13084 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13086 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13088 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13090 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13092 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13094 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13096 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13098 Moved ...
13099 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13101 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13103 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13105 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13107 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13109 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13111 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13113 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13115 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13117 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13119 Moved ...
13120 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13122 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13123
039890a6
RM
13124 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13125 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13126 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13127 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13128 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13129 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13130 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13131 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13132 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13133 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13134 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13135 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13136 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13137 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13138 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13139 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13140 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13141 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13142 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13143 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13144 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13145 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13146 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13147 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13148 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13149 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13150 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13151 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13152 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13153 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13154 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13155
65c89320
RM
13156 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13157 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13158
348f8e8c
RM
13159 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13160 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13161 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13162 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13163 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13164 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13165 Moved ...
13166 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13167 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13168 Moved ...
13169 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13170 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13171 Moved ...
13172 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13173 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13174 Moved ...
13175 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13176 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13177 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13178 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13179 Moved ...
13180 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13181 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13182 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13183 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13184 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13185 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13186 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13187 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13188 Moved ...
13189 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13190 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13191 Moved ...
13192 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13193 ... here.
13194 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13195 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13196 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13197 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13198 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13199 Moved ...
13200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13201 ... here.
13202 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13203 Moved ...
13204 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13205 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13206 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13207 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13208 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13209 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13210 Moved ...
13211 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13212 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13213 Moved ...
13214 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13215 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13216 Moved ...
13217 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13218 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13219 Moved ...
13220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13221 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13222 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13223 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13224 Moved ...
13225 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13226 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13227 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13228 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13229 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13230 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13231 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13232 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13233 Moved ...
13234 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13235 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13236 Moved ...
13237 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13238 ... here.
13239 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13240 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13241 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13242 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13243 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13244 Moved ...
13245 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13246 ... here.
13247 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13248 Moved ...
13249 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13250 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13251 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13252 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13253 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13254 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13255 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13256 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13257 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13258 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13259 Moved ...
13260 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13261 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13262 Moved ...
13263 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13264 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13265 Moved ...
13266 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13268 Moved ...
13269 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13270 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13271 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13272 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13273 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13274 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13275 Moved ...
13276 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13277 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13278 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13279 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13280 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13281 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13282 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13284 Moved ...
13285 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13286 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13287 Moved ...
13288 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13289 ... here.
13290 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13291 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13292 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13293 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13294 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13295 Moved ...
13296 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13297 ... here.
13298 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13299 Moved ...
13300 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13301 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13302 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13303 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13304 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13305 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13306 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13307 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13308 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13309 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13310 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13311
5085af05
RM
13312 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13313 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13314
708f0813
RM
13315 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13316 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13317
c96067bc
RM
13318 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13319 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13320 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13321 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13322 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13323 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13324 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13325 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13326 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13327 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13328 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13329 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13330 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13331 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13332 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13334 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13335 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13336 Moved ...
13337 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13338 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13339 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13340 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13341 Moved ...
13342 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13343 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13344 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13345 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13346 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13348 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13349 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13350 Moved ...
13351 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13353 Moved ...
13354 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13355 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13356 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13358 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13359 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13360 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13361 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13362 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13363 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13364 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13365 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13366 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13367 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13368 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13369 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13370 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13371
ec136444
RM
13372 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13373 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13374 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13375 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13376 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13377
2fbdf533
RM
13378 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13379 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13380 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13381 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13382 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13383 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13384 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13385 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13386 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13387 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13388
4c68138b
RM
13389 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13390 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13391
4eaae765
RM
13392 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13393 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13394 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13395 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13396 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13397 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13398 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13399 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13400 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13401 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13402 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13403 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13404 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13405 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13406 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13407 Update #include.
13408 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13409 Likewise.
13410 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13411 Likewise.
13412 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13413 Likewise.
13414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13415 Likewise.
13416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13417 Likewise.
13418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13419 Likewise.
13420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13421 Likewise.
13422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13423 Likewise.
13424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13425 Likewise.
4ef6befa
RM
13426 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13428 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13429 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13430 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13431 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13432 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13433 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13434 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13435 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13436 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13437 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13438 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13439 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13440 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13441
941d7dfd
RM
13442 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13443 that was previously under [RESET_PID].
13444 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13445 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13446 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13447
1b731c35
RM
13448 * sysdeps/i386/nptl/Implies: New file.
13449 * sysdeps/x86_64/nptl/Implies: New file.
13450 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13451 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13452 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13453 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13454
e2787137
RM
13455 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13456 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13457 (__libc_vfork): New strong alias.
13458 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13459 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13460
13461 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13462 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13463 (__libc_vfork): New strong alias.
13464 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13465 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13466
5675da1e
RM
13467 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13468 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13469 (__libc_vfork): New strong alias.
13470 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13471 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13472 * nptl/pt-vfork.c: New file.
13473 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13474 (libpthread: GLIBC_2.20): New version set (empty).
13475
4f02e2b8
WN
134762014-05-14 Will Newton <will.newton@linaro.org>
13477
13478 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13479 rather than #if.
13480
0bf061d3
JM
134812014-05-14 Joseph Myers <joseph@codesourcery.com>
13482
1a84c3d6
JM
13483 [BZ #16564]
13484 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13485 arguments with exponent 65 or above.
13486 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13487 arguments 0x1p113L or above.
13488 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13489 to arguments 0x1p107L or above.
13490 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13491 positive arguments with exponent 65 or above.
13492 * math/auto-libm-test-in: Add more tests of log1p.
13493 * math/auto-libm-test-out: Regenerated.
13494
01dbacd2
JM
13495 [BZ #16928]
13496 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13497 non-finite arguments is +0.
13498 * math/s_cacosf.c (__cacosf): Likewise.
13499 * math/s_cacosl.c (__cacosl): Likewise.
13500 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13501 * sysdeps/i386/fpu/libm-test-ulps: Update.
13502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13503
913d03c8
JM
13504 [BZ #16927]
13505 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13506 value.
13507 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13508 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13509 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13510 for explicit high bit of mantissa when testing for argument equal
13511 to 1.
13512 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13513 * sysdeps/i386/fpu/libm-test-ulps: Update.
13514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13515
0bf061d3
JM
13516 [BZ #16516]
13517 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13518 (__erf): Scale by 16 instead of 8 in potentially underflowing
13519 case. Ensure exception if result actually underflows.
13520 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13521 (__erff): Scale by 16 instead of 8 in potentially underflowing
13522 case. Ensure exception if result actually underflows.
13523 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13524 (efx8): Remove variable.
13525 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13526 case. Ensure exception if result actually underflows.
13527 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13528 (efx8): Remove variable.
13529 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13530 case. Ensure exception if result actually underflows.
13531 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13532 (efx8): Remove variable.
13533 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13534 case. Ensure exception if result actually underflows.
13535 * math/auto-libm-test-in: Add more tests of erf.
13536 * math/auto-libm-test-out: Regenerated.
13537
73ba67cb
AS
135382014-05-14 Andreas Schwab <schwab@suse.de>
13539
3d8c8bff
AS
13540 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13541 Remove code conditionalized on USE___THREAD.
13542
73ba67cb
AS
13543 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13544 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13545 not definedness.
13546
5c521ecd
JM
135472014-05-14 Joseph Myers <joseph@codesourcery.com>
13548
5e7698c6
JM
13549 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13550 Define unconditionally.
13551 (__ASSUME_O_CLOEXEC): Likewise.
13552 (__ASSUME_SOCK_CLOEXEC): Likewise.
13553 (__ASSUME_IN_NONBLOCK): Likewise.
13554 (__ASSUME_PIPE2): Likewise.
13555 (__ASSUME_EVENTFD2): Likewise.
13556 (__ASSUME_SIGNALFD4): Likewise.
13557 (__ASSUME_DUP3): Likewise.
13558 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13559 (__ASSUME_DUP3): Do not define.
13560 (__ASSUME_EVENTFD2): Likewise.
13561 (__ASSUME_IN_NONBLOCK): Likewise.
13562 (__ASSUME_O_CLOEXEC): Likewise.
13563 (__ASSUME_PIPE2): Likewise.
13564 (__ASSUME_SIGNALFD4): Likewise.
13565 (__ASSUME_SOCK_CLOEXEC): Likewise.
13566 (__ASSUME_UTIMES): Undefine.
13567 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13568 (__ASSUME_UTIMES): Do not define.
13569 (__ASSUME_O_CLOEXEC): Likewise.
13570 (__ASSUME_SOCK_CLOEXEC): Likewise.
13571 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13572 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13573 0x020621].
13574 (__ASSUME_PIPE2): Likewise.
13575 (__ASSUME_EVENTFD2): Likewise.
13576 (__ASSUME_SIGNALFD4): Likewise.
13577 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13578 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13579 Do not define.
13580 (__ASSUME_EVENTFD2): Likewise.
13581 (__ASSUME_SIGNALFD4): Likewise.
13582 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13583 (__ASSUME_32BITUIDS): Likewise.
13584 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13585 (__ASSUME_IPC64): Likewise.
13586 (__ASSUME_ST_INO_64_BIT): Likewise.
13587 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13588 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13589 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13590 (__ASSUME_UTIMES): Do not define.
13591 (__ASSUME_PSELECT): Likewise.
13592 (__ASSUME_PPOLL): Likewise.
13593 (__ASSUME_O_CLOEXEC): Likewise.
13594 (__ASSUME_SOCK_CLOEXEC): Likewise.
13595 (__ASSUME_IN_NONBLOCK): Likewise.
13596 (__ASSUME_PIPE2): Likewise.
13597 (__ASSUME_EVENTFD2): Likewise.
13598 (__ASSUME_SIGNALFD4): Likewise.
13599 (__ASSUME_DUP3): Likewise.
13600 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13601 (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
13619 Likewise.
13620 (__ASSUME_UTIMES): Likewise.
13621 (__ASSUME_EVENTFD2): Likewise.
13622 (__ASSUME_SIGNALFD4): Likewise.
13623 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13624 (__ASSUME_O_CLOEXEC): Likewise.
13625 (__ASSUME_SOCK_CLOEXEC): Likewise.
13626 (__ASSUME_IN_NONBLOCK): Likewise.
13627 (__ASSUME_PIPE2): Likewise.
13628 (__ASSUME_EVENTFD2): Likewise.
13629 (__ASSUME_SIGNALFD4): Likewise.
13630 (__ASSUME_DUP3): Likewise.
13631 (__ASSUME_UTIMES): Undefine.
13632
5c521ecd
JM
13633 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13634 feclearexcept. Remove symbol versioning code.
13635 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13636 symbol versioning code.
13637 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13638 symbol versioning code.
13639 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13640 feupdateenv. Remove symbol versioning code.
13641 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13642 fegetexceptflag. Remove symbol versioning code.
13643 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13644 fesetexceptflag. Remove symbol versioning code.
13645 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13646 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13647 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13648 (__posix_fadvise64_l32): Remove prototype.
13649 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13650 code.
13651
5da9dfad
RM
136522014-05-13 Roland McGrath <roland@hack.frob.com>
13653
13654 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13655 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13656 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13657 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13658
893b4f37
SK
136592014-05-13 Sami Kerola <kerolasa@iki.fi>
13660
13661 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13662 current working directory
13663
e0db6517
RM
136642014-05-13 Roland McGrath <roland@hack.frob.com>
13665
58aa195d
RM
13666 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13667 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13668 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13669 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13670 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13671 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13672 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13673 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13674 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13675 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13676 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13677 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13678 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13679 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13680 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13681 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13682 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13683 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13684 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13685 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13686 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13687 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13688 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13689 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13690 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13691 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13692 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13693 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13694 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13695 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13696 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13697 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13698 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13699 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13700 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13701 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13702 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13703 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13704 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13705 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13706 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13707 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13708
8c6d01f0
RM
13709 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13710 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13711
13712 * sysdeps/unix/sysv/linux/arm/Makefile
13713 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13714 Add rt-aeabi_unwind_cpp_pr1.
13715 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13716 Add nptl-aeabi_unwind_cpp_pr1.
13717 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13718 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13719 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13720 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13721 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13722 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13723
13724 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13725 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13726 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13727 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13728
bba6da4e
RM
13729 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13730 Deconditionalize the code that was previously under [RESET_PID].
13731 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13732
e0db6517
RM
13733 * sysdeps/generic/exit-thread.h: New file.
13734 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13735 * include/unistd.h (__exit_thread): Remove declaration.
13736 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13737 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13738 * csu/libc-start.c: Include <exit-thread.h>.
13739 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13740 * nptl/pthread_create.c: Include <exit-thread.h>.
13741 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13742 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13743 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13744 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13745 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13746 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13747 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13748 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13749 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13750 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13751 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13752 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13753 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13754 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13755 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13756 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13757 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13758
01eb16fd
AS
137592014-05-13 Andreas Schwab <schwab@suse.de>
13760
13761 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13762
637461d9
JM
137632014-05-12 Joseph Myers <joseph@codesourcery.com>
13764
13765 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13766 (__ASSUME_UTIMES): Do not condition on kernel version.
13767 (__ASSUME_PSELECT): Define unconditionally.
13768 (__ASSUME_PPOLL): Likewise.
13769 (__ASSUME_ATFCTS): Likewise.
13770 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13771 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13772 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13773 (__ASSUME_UTIMENSAT): Define unconditionally.
13774 (__ASSUME_PRIVATE_FUTEX): Likewise.
13775 (__ASSUME_FALLOCATE): Likewise.
13776 (__ASSUME_O_CLOEXEC): Likewise.
13777 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13778 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13779 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13780 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13781 (__ASSUME_IN_NONBLOCK): Likewise.
13782 (__ASSUME_PIPE2): Likewise.
13783 (__ASSUME_EVENTFD2): Likewise.
13784 (__ASSUME_SIGNALFD4): Likewise.
13785 (__ASSUME_DUP3): Likewise.
13786 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13787 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13788 (__ASSUME_AT_RANDOM): Likewise.
13789 (__ASSUME_PREADV): Likewise.
13790 (__ASSUME_PWRITEV): Likewise.
13791 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13792 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13793 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13794 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13795 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13796 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13797 (__ASSUME_O_CLOEXEC): Define unconditionally.
13798 (__ASSUME_PSELECT): Do not undefine conditionally.
13799 (__ASSUME_PPOLL): Likewise.
13800 (__ASSUME_ATFCTS): Likewise.
13801 (__ASSUME_SET_ROBUST_LIST): Likewise.
13802 (__ASSUME_UTIMENSAT): Likewise.
13803 (__ASSUME_FDATASYNC): Define unconditionally.
13804 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13805 (__ASSUME_SIGFRAME_V2): Likewise.
13806 )__ASSUME_EVENTFD2): Likewise.
13807 (__ASSUME_SIGNALFD4): Likewise.
13808 (__ASSUME_PSELECT): Do not undefine conditionally.
13809 (__ASSUME_PPOLL): Likewise.
13810 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13811 (__ASSUME_PSELECT): Define unconditionally.
13812 (__ASSUME_PPOLL): Likewise.
13813 (__ASSUME_O_CLOEXEC): Likewise.
13814 (__ASSUME_SOCK_CLOEXEC): Likewise.
13815 (__ASSUME_IN_NONBLOCK): Likewise.
13816 (__ASSUME_PIPE2): Likewise.
13817 (__ASSUME_EVENTFD2): Likewise.
13818 (__ASSUME_SIGNALFD4): Likewise.
13819 (__ASSUME_DUP3): Likewise.
13820 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13821 (__ASSUME_O_CLOEXEC): Likewise.
13822 (__ASSUME_SOCK_CLOEXEC): Likewise.
13823 (__ASSUME_IN_NONBLOCK): Likewise.
13824 (__ASSUME_PIPE2): Likewise.
13825 (__ASSUME_EVENTFD2): Likewise.
13826 (__ASSUME_SIGNALFD4): Likewise.
13827 (__ASSUME_DUP3): Likewise.
13828 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13829 (__ASSUME_EVENTFD2): Likewise.
13830 (__ASSUME_SIGNALFD4): Likewise.
13831 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13832
315eb1d8
AS
138332014-05-12 Andreas Schwab <schwab@suse.de>
13834
13835 [BZ #16932]
13836 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13837 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13838 than maximum RPC packet size.
13839 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13840 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13841 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13842 (_nss_nis_getservbyport_r): Likewise.
13843
91df99f7
WN
138442014-05-12 Will Newton <will.newton@linaro.org>
13845
13846 * malloc/Makefile (tests): Add tst-mallopt.
13847 * malloc/tst-mallopt.c: New file.
13848
0a982a29
RM
138492014-05-09 Roland McGrath <roland@hack.frob.com>
13850
13851 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13852 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13853
0ded08a5
AZ
138542014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13855
13856 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13857 (tst-tlsmod6.so): Likewise.
13858
55d4d550
RM
138592014-05-09 Roland McGrath <roland@hack.frob.com>
13860
13861 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13862
77d08aca
JM
138632014-05-09 Joseph Myers <joseph@codesourcery.com>
13864
13865 [BZ #16064]
13866 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13867 and <dl-procinfo.h>.
13868 (__fegetenv): Save SSE state in envp->__eip if supported.
13869 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13870 envp->__eip if supported.
13871 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13872 and <dl-procinfo.h>.
13873 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13874 __data_offset and __data_selector in environment to 0. Set SSE
13875 state if supported.
13876 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13877 test-fenv-sse.
13878 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13879 -mfpmath=sse.
13880 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13881
28162f4d
WN
138822014-05-09 Will Newton <will.newton@linaro.org>
13883
13884 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13885 and libc_relro_required for ARM.
13886 * sysdeps/arm/preconfigure: Regenerate.
13887
5a414ff7
DV
138882014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13889 Stefan Liebler <stli@linux.vnet.ibm.com>
13890
13891 * config.make.in (enable-lock-elision): New Makefile variable.
13892 * configure.ac: Likewise.
13893 * configure: Regenerate.
13894 * sysdeps/s390/configure.ac:
13895 Add check for gcc transactions support.
13896 * sysdeps/s390/configure: Regenerate.
13897 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13898 Build elision files if enabled.
13899 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13900 Add lock elision support for s390.
13901 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13902 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13903 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13904 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13905 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13906 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13907 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13908 Likewise.
13909 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13910 Likewise.
13911 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13912 Likewise.
13913 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13914 Likewise.
13915 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13916 (__lll_timedlock_elision, __lll_lock_elision)
13917 (__lll_unlock_elision, __lll_trylock_elision)
13918 (lll_timedlock_elision, lll_lock_elision)
13919 (lll_unlock_elision, lll_trylock_elision): Add.
13920 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13921 (pthread_mutex_t): Add lock elision support for s390.
13922
1a2f40e5
W
139232014-05-14 Wilco <wdijkstr@arm.com>
13924
13925 * sysdeps/arm/fclrexcpt.c: Cleanup.
13926 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13927 * sysdeps/arm/feenablxcpt.c: Cleanup.
13928 * sysdeps/arm/fegetenv.c: Cleanup.
13929 * sysdeps/arm/fegetexcept.c: Cleanup.
13930 * sysdeps/arm/fegetround.c: Cleanup.
13931 * sysdeps/arm/feholdexcpt.c: Cleanup.
13932 * sysdeps/arm/fesetenv.c: Cleanup.
13933 * sysdeps/arm/fesetround.c: Cleanup.
13934 * sysdeps/arm/feupdateenv.c: Cleanup.
13935 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13936 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13937 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13938 * sysdeps/arm/ftestexcept.c: Cleanup.
13939 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13940 * sysdeps/arm/setfpucw.c: Cleanup.
13941
f63c86fe
WN
139422014-05-09 Will Newton <will.newton@linaro.org>
13943
13944 * sysdeps/arm/armv7/strcmp.S: New file.
13945 * NEWS: Mention addition of ARMv7 optimized strcmp.
13946
7a1a51b5
RM
139472014-05-08 Roland McGrath <roland@hack.frob.com>
13948
95afbbe5
RM
13949 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13950 look for %.ac rather than %.in.
13951
13952 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13953 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13954 * sysdeps/mach/hurd/configure: Regenerated.
13955 * sysdeps/unix/sysv/linux/configure: Regenerated.
13956
7a1a51b5
RM
13957 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13958
5057ad3b
SE
139592014-05-07 Steve Ellcey <sellcey@mips.com>
13960
13961 [BZ# 16922]
13962 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13963 (LONG_SUB): Ditto.
13964 (PTR_SUB): Ditto.
13965
8dc97517
AS
139662014-05-07 Andreas Schwab <schwab@suse.de>
13967
13968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13969 when skipping over non-matching result from nscd.
13970
ce0c5b8f
OB
139712014-05-07 Ondřej Bílka <neleai@seznam.cz>
13972
13973 [BZ #16876]
13974 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13975
a1189263
OB
13976 [BZ #16877]
13977 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13978 nscd security class.
ce0c5b8f 13979
0f58d252
RM
139802014-05-06 Roland McGrath <roland@hack.frob.com>
13981
13982 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13983 * sysdeps/arm/unwind.h: ... here.
13984
83df9ad0
AJ
139852014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13986
ce0c5b8f
OB
13987 [BZ# 16916]
13988 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13989 Define.
83df9ad0 13990
f360f94a
VR
139912014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13992
13993 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13994 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13995 multiarch strncpy for PPC64.
13996 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13997 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13999 multiarch optimizations.
14000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14001 (__libc_ifunc_impl_list): Likewise.
14002 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14003 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14004 multiarch stpncpy for PPC64.
14005 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14006 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14007
978a41c3
AS
140082014-05-06 Andreas Schwab <schwab@suse.de>
14009
14010 [BZ #16912]
14011 * gmon/mcount.c (_MCOUNT_DECL): Use
14012 atomic_compare_and_exchange_bool_acq instead of
14013 catomic_compare_and_exchange_bool_acq.
14014
eb1ed03d
RM
140152014-05-05 Roland McGrath <roland@hack.frob.com>
14016
fe658845
RM
14017 * elf/Makefile (others, install-bin): Remove pldd.
14018 (pldd-modules): Variable removed.
14019 ($(objpfx)pldd): Target removed.
14020 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14021 (others, install-bin): Append pldd here.
14022 ($(objpfx)pldd): New target.
14023
eb1ed03d
RM
14024 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14025 to 0, so the first #if test emitted later doesn't see it undefined.
14026 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14027 * sysdeps/gnu/errlist.c: Regenerated.
14028
19c4bec0
AZ
140292014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14030
14031 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14032 [libc_hidden_builtin_def]: Define to empty value.
14033 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14034 [libc_hidden_builtin_def]: Likewise.
14035 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14036 [libc_hidden_builtin_def]: Likewise.
14037 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14038 [libc_hidden_builtin_def]: Likewise.
14039 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14040 __redirect_memcpy and define ifunc as default hidden symbol.
14041 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14042 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14043
7776e669
AC
140442014-05-04 Adam Conrad <adconrad@0c3.net>
14045
14046 * locale/iso-4217.def: Reintroduce XDR currency.
14047
d69aeb12
AM
140482014-05-04 Allan McRae <allan@archlinux.org>
14049
14050 * po/eo.po: Update Esperanto translation from translation project.
14051
8f1df5cf
CD
140522014-05-02 Carlos O'Donell <carlos@redhat.com>
14053
14054 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14055 and FEATURE_INDEX_MAX to 1.
14056 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14057
13e402e7
SE
140582014-05-01 Steve Ellcey <sellcey@mips.com>
14059
14060 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14061 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14062 * iconvdata/big5.c (ONE_DIRECTION): Define.
14063 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14064 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14065 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14066 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14067 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14068 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14069 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14070 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14071 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14072 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14073 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14074 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14075 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14076 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14077 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14078 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14079 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14080 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14081 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14082 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14083 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14084 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14085 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14086 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14087 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14088 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14089 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14090 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14091 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14092 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14093 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14094 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14095 * iconvdata/johab.c (ONE_DIRECTION): Define.
14096 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14097 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14098 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14099 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14100 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14101 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14102 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14103 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14104 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14105 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14106
c727f032
RM
141072014-05-01 Roland McGrath <roland@hack.frob.com>
14108
8f2f08d0
RM
14109 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14110 (_IO_JUMPS_OFFSET): Define to 0.
14111
c727f032
RM
14112 * nptl/sysdeps/pthread/bits/libc-lock.h
14113 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14114 (__libc_lock_define_initialized_recursive): Always define using
14115 initializer. Modern compilers treat uninitialized (implicit zero) and
14116 explicit zero initializers the same (i.e. put the datum in bss).
14117
a849e800
AS
141182014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14119
14120 * nscd/nscd-client.h: Include <string.h>.
14121
5331255b
DM
141222014-05-01 David S. Miller <davem@davemloft.net>
14123
14124 [BZ #16885]
14125 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14126 multiple zero bytes exist at the end of a string.
14127 Reported by Aurelien Jarno <aurelien@aurel32.net>
14128
14129 * string/test-strcmp.c (check): Add explicit test for situations where
14130 there are multiple zero bytes after the first.
14131
4fdfe821
AS
141322014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14133
14134 [BZ #16890]
14135 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14136 when compiling wprintf.
14137 * stdio-common/tstdiomisc.c (t3): New function.
14138 (main): Call it.
14139
0cdddc25
SE
141402014-05-01 Steve Ellcey <sellcey@mips.com>
14141
14142 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14143 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14144 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14145 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14146
6426d77e
SE
141472014-05-01 Steve Ellcey <sellcey@mips.com>
14148
14149 * stdlib/longlong.h: Updated from GCC.
14150
6d96f5e4
WN
141512014-05-01 Will Newton <will.newton@linaro.org>
14152 Bernard Ogden <bernie.ogden@linaro.org>
14153
7470db0c
WN
14154 * NEWS: Update fixed bug list.
14155
6d96f5e4
WN
14156 [BZ #15119]
14157 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14158
211d653c
DM
141592014-04-30 David S. Miller <davem@davemloft.net>
14160
4fa262fa
DM
14161 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14162 (libc_feholdexcept_setround_sparc_ctx): New function.
14163 (libc_fesetenv_sparc_ctx): Likewise.
14164 (libc_feupdateenv_sparc_ctx): Likewise.
14165 (libc_feholdsetround_sparc_ctx): Likewise.
14166 (libc_feholdexcept_setround_ctx): Define.
14167 (libc_feholdexcept_setroundf_ctx): Likewise.
14168 (libc_feholdexcept_setroundl_ctx): Likewise.
14169 (libc_fesetenv_ctx): Likewise.
14170 (libc_fesetenvf_ctx): Likewise.
14171 (libc_fesetenvl_ctx): Likewise.
14172 (libc_feupdateenv_ctx): Likewise.
14173 (libc_feupdateenvf_ctx): Likewise.
14174 (libc_feupdateenvl_ctx): Likewise.
14175 (libc_feresetround_ctx): Likewise.
14176 (libc_feresetroundf_ctx): Likewise.
14177 (libc_feresetroundl_ctx): Likewise.
14178 (libc_feholdsetround_ctx): Likewise.
14179 (libc_feholdsetroundf_ctx): Likewise.
14180 (libc_feholdsetroundl_ctx): Likewise.
14181
1d3d93ef
DM
14182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14183 with __USE_GNU instead of XOPEN cpp guards.
14184
8aa583c3
DM
14185 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14186 0.
14187
211d653c
DM
14188 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14189 with XOPEN cpp guards.
14190
60c8f1f6
JB
141912014-04-30 Julian Brown <julian@codesourcery.com>
14192
14193 [BZ #16888]
14194 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14195 handling.
14196
9a461d46
JM
141972014-04-30 Joseph Myers <joseph@codesourcery.com>
14198
d0f5b3f8
JM
14199 [BZ #9894]
14200 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14201 Change to 2.6.32.
14202 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14203 * sysdeps/unix/sysv/linux/configure: Regenerated.
14204 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14205 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14206 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14207 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14208 * README: Update reference to required Linux kernel version.
14209 * manual/install.texi (Linux): Update reference to required Linux
14210 kernel headers version.
14211 * INSTALL: Regenerated.
14212
9a461d46
JM
14213 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14214 header inclusion.
14215 [POSIX] (limits.h): Likewise.
14216 [POSIX] (math.h): Likewise.
14217 [POSIX] (sys/wait.h): Likewise.
14218 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14219 function.
14220 [POSIX] (stddef.h): Do not allow header inclusion.
14221
1775babf
AZ
142222014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14223
57f41c40 14224 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14225
8f630cca
YY
142262014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14227
14228 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14229 Return immediately after lll_futex_wake.
14230
1cdeb237
SP
142312014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14232
bc8f194c
SP
14233 [BZ #16791]
14234 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14235 structure.
14236 (datahead_init_pos): Call datahead_init_common early.
14237 (datahead_init_neg): Likewise.
14238
1cdeb237
SP
14239 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14240 datahead_init_neg): New functions.
14241 * nscd/aicache.c (addhstaiX): Use them.
14242 * nscd/grpcache.c (cache_addgr): Likewise.
14243 * nscd/hstcache.c (cache_addhst): Likewise.
14244 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14245 * nscd/netgroupcache.c (do_notfound): Likewise.
14246 (addgetnetgrentX): Likewise.
14247 (addinnetgrX): Likewise.
14248 * nscd/pwdcache.c (cache_addpw): Likewise.
14249 * nscd/servicescache.c (cache_addserv): Likewise.
14250
16b293a7
SP
142512014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14252 Atsushi Onoe <atsushi@onoe.org>
14253
14254 [BZ #14308]
14255 [BZ #12994]
14256 [BZ #13651]
14257 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14258 one response is valid.
14259 * resolv/res_send.c (send_dg): Check for validity of other
14260 response if the current response is a referral.
14261
a28a9b94
SE
142622014-04-29 Steve Ellcey <sellcey@mips.com>
14263
14264 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14265
2ca180e9
SL
142662014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14267
14268 [BZ #16823]
14269 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14270 Always divide by positive zero when computing -Inf result.
14271 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14272 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14273
18f2945a
AZ
142742014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14275
14276 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14277 FPSCR if value do not change.
14278 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14279 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14280 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14281 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14282 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14283 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14284 function.
14285
5abebba4
CD
142862014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14287
14288 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14289 * sysdeps/unix/sysv/linux/hppa: Move directory from
14290 ports/systeps/unix/sysv/linux/hppa.
14291 * README: Update listing for hppa-*-linux-gnu.
14292
f7ed60c2
OB
142932014-04-28 Ondřej Bílka <neleai@seznam.cz>
14294
fff763a5
OB
14295 [BZ #16754]
14296 * manual/stdio.texi (Hook functions): Fix types of stream hook
14297 functions.
f7ed60c2
OB
14298 [BZ #16854]
14299 * socket/sys/socket.h: Fix typo in comment.
14300
df639d73
WD
143012014-04-28 Wilco <wdijkstr@arm.com>
14302
f7ed60c2 14303 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14304 * sysdeps/arm/math_private.h: New file.
14305 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14306
48332d82
L
143072014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14310 with __int128_t.
14311 (La_x86_64_retval): Likewise.
14312
e5e0d9a4
IB
143132014-04-24 Ian Bolton <ian.bolton@arm.com>
14314
14315 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14316 fpsr if value didn't change.
14317 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14318 to fpcr if value didn't change.
14319 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14320 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14321 fpsr or fpcr if value didn't change.
14322 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14323 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14324 fpcr if value didn't change.
14325 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14326 to fpsr if value didn't change.
14327
bacc75f7
SP
143282014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14329
14330 * nptl/tst-sem3.c: Use test-skeleton.c
14331 (main): Rename to do_test. Use return instead of
14332 exit.
14333 * nptl/tst-sem4.c: Use test-skeleton.c
14334 (main): Rename to do_test.
14335
a059d359
DM
143362014-04-22 David S. Miller <davem@davemloft.net>
14337
14338 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14339 (struct sigaction): New struct member __glibc_reserved0, change
14340 type of sa_flags to int.
14341
ea6c92f3
YZ
143422014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14343
14344 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14345 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14346
766c4a36
SP
143472014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14348
14349 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14350 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14351
140cc7ab
VK
143522014-04-22 Will Newton <will.newton@linaro.org>
14353 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14354
14355 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14356 (__longjmp): Add longjmp and longjmp_target SystemTap
14357 probes.
14358 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14359 (__sigsetjmp): Add setjmp SystemTap probe.
14360
c54e5cf7
CD
143612014-04-17 Carlos O'Donell <carlos@redhat.com>
14362
14363 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14364 match manual order.
14365
75ffb047
AZ
143662014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367
14368 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14369
2cd925f7
AZ
14370 * sysdeps/powerpc/fpu/fenv_private.h
14371 (libc_feholdexcept_setroundl_ctx): Define to
14372 libc_feholdexcept_setround_ppc_ctx.
14373 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14374 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14375 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14376 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14377
39e6cd8d
IB
143782014-04-17 Ian Bolton <ian.bolton@arm.com>
14379
14380 * sysdeps/aarch64/math-tests.h: New file.
14381
f9281df9
SY
143822014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14383
14384 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14385 New.
14386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14387 Check and set bit_AVX2_Usable.
14388 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14389 macro.
14390 (bit_AVX2): Likewise.
14391 (index_AVX2_Usable): Likewise.
14392 (CPUID_AVX2): Likewise.
14393 (HAS_AVX2): Likewise.
14394
37d35007
WN
143952014-04-17 Will Newton <will.newton@linaro.org>
14396
7c677662
WN
14397 * manual/setjmp.texi (System V contexts): Add note that
14398 calling setcontext on a context created by a call to a
14399 signal handler is undefined. Update text to note that
14400 setcontext from a signal handler is possible but not
14401 recommended.
14402
37d35007 14403 [BZ #16629]
e04a4e9d
WN
14404 * stdlib/tst-setcontext.c: Include signal.h.
14405 (main): Check that the signal stack before and
14406 after swapcontext is the same.
14407
37d35007
WN
14408 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14409 Re-implement to restore registers in user code and avoid
14410 rt_sigreturn system call.
14411
423a7160
W
144122014-04-17 Wilco <wdijkstr@arm.com>
14413
14414 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14415 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14416 * math/test-fenv.c: Skip exception trap tests on targets which only
14417 support non-stop mode.
14418
bc93ab29
IB
144192014-04-17 Ian Bolton <ian.bolton@arm.com>
14420 Wilco Dijkstra <wilco.dijkstra@arm.com>
14421
14422 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14423 (libc_feholdsetround_aarch64_ctx)
14424 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14425 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14426 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14427 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14428 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14429 (libc_feresetround_noexl_ctx): Define.
14430
95fc5fa3
RH
144312014-04-16 Richard Henderson <rth@redhat.com>
14432
ddb04724
RH
14433 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14434
d77c0899
RH
14435 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14436 unwind tables.
14437
a3df56fc
RH
14438 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14439 const from the non-libc, non-ldso copy.
14440
95fc5fa3
RH
14441 * sysdeps/alpha/libm-test-ulps: Regenerate.
14442
7e0b6763
IB
144432014-04-16 Ian Bolton <ian.bolton@arm.com>
14444 Wilco Dijkstra <wilco.dijkstra@arm.com>
14445
14446 * sysdeps/aarch64/fpu/math_private.h: New file.
14447
a9ea2e0c
MS
144482014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14449
14450 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14451
ea8ba7cd
IZ
144522014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14453
7e54fd04 14454 [BZ #16275]
ea8ba7cd
IZ
14455 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14456 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14458 Intel MPX bound registers before _dl_profile_fixup.
14459 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14460 registers after _dl_profile_fixup. Save and restore bound
14461 registers bnd0/bnd1 when calling _dl_call_pltexit.
14462 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14463 (LR_BND_OFFSET): Likewise.
14464 (LRV_BND0_OFFSET): Likewise.
14465 (LRV_BND1_OFFSET): Likewise.
14466
9f2a4fbc
ST
144672014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14468
14469 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14470 to...
14471 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14472 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14473 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14474 fields.
9f2a4fbc 14475
fd15a59b
ST
144762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14477
14478 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14479
f19dfa0a
SL
144802014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14481
14482 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14483
4fa8bc3b
SL
144842014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14485
14486 [BZ #14770]
14487 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14488 * sysdeps/s390/configure: Regenerate.
14489
8ea587db
SL
14490 [BZ #16824]
14491 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14492 Set round-to-nearest internally to reduce error accumulation.
14493
aa5f0ff1
AM
144942014-04-16 Alan Modra <amodra@gmail.com>
14495
14496 [BZ #16740]
14497 [BZ #16619]
14498 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14499 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14500 * NEWS: Update fixed bug list.
aa5f0ff1 14501
bb9c256f
SP
145022014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14503
14504 * benchtests/Makefile: Depend on libraries in build directory.
14505 (bench-math): Separate out math tests.
14506 (bench-pthread): Separate out pthread tests.
14507 (bench): Include math and pthread tests.
14508
f737dfd0
CD
145092014-04-14 Carlos O'Donell <carlos@redhat.com>
14510
14511 [BZ #16831]
14512 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14513 _dl_debug_initialize.
14514
0699f766
CD
14515 * configure.ac: Remove SELinux header check.
14516 * configure: Regenerate.
14517 * nscd/selinux.c (perms): Array of const char* to permission names.
14518 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14519 default policy. Call string_to_security_class and string_to_av_perm to
14520 translate strings. Enforce default policy and call avs_has_perm with
14521 results of translated strings.
14522
809bd45f
DM
145232014-04-13 David S. Miller <davem@davemloft.net>
14524
14525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14526
89e691f2
AM
145272014-04-12 Allan McRae <allan@archlinux.org>
14528
14529 [BZ #16838]
14530 * manual/string.texi (Collation Functions): Fix qsort argument
14531 order in example.
14532 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14533
9c9daaeb
CM
145342014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14535
14536 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14537 Make the test a no-op if there are no exceptions defined.
14538
95561fb9
PP
145392014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14540
fe8d072c 14541 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14542 enable-hardcoded-path-in-tests
14543
970c602a
WN
145442014-04-11 Will Newton <will.newton@linaro.org>
14545
14546 * benchtests/Makefile (extra-objs): Add json-lib.o.
14547 (bench-func): Tidy up JSON output.
14548 * benchtests/bench-skeleton.c: Include json-lib.h.
14549 (main): Use JSON library functions to do output of
14550 benchmark results.
14551 * benchtests/bench-timing-type.c (main): Output the
14552 timing type simply, leaving formatting to the user.
14553 * benchtests/json-lib.c: New file.
14554 * benchtests/json-lib.h: Likewise.
14555
36875b06
TR
145562014-04-11 Torvald Riegel <triegel@redhat.com>
14557
14558 [BZ #15215]
14559 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14560 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14561 memory barriers. Add comments.
14562 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14563 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14564 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14565 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14566 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14567 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14568
579db35a
SL
145692014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14570
14571 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14572 * sysdeps/s390/s390-64/configure.ac: ... this ...
14573 * sysdeps/s390/configure.ac: ... to here.
14574 * sysdeps/s390/s390-32/configure: Delete file.
14575 * sysdeps/s390/s390-64/configure: Delete file.
14576 * sysdeps/s390/configure: Regenerate.
14577
c12e9f37
JAPH
145782014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14579
14580 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14581
439bda32
WN
145822014-04-11 Will Newton <will.newton@linaro.org>
14583
14584 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14585 to zero if it is not defined elsewhere. (mtrim): Test
14586 the value of MALLOC_DEBUG with #if rather than #ifdef.
14587
6a5d6ea1
TR
145882014-04-10 Torvald Riegel <triegel@redhat.com>
14589
14590 * benchtests/pthread_once-inputs: New file.
14591 * benchtests/pthread_once-source.c: New file.
14592 * benchtests/README: Update documentation.
14593
a4c75cfd
IZ
145942014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14595 H.J. Lu <hongjiu.lu@intel.com>
14596
7e54fd04 14597 [BZ #16275]
a4c75cfd
IZ
14598 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14599 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14600 * sysdeps/x86_64/configure: Regenerated.
14601 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14602 macro.
14603 (REGISTER_SAVE_RAX): Likewise.
14604 (REGISTER_SAVE_RCX): Likewise.
14605 (REGISTER_SAVE_RDX): Likewise.
14606 (REGISTER_SAVE_RSI): Likewise.
14607 (REGISTER_SAVE_RDI): Likewise.
14608 (REGISTER_SAVE_R8): Likewise.
14609 (REGISTER_SAVE_R9): Likewise.
14610 (REGISTER_SAVE_BND0): Likewise.
14611 (REGISTER_SAVE_BND1): Likewise.
14612 (REGISTER_SAVE_BND2): Likewise.
14613 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14614 bound registers when calling _dl_fixup.
14615
27822ce6
AZ
146162014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14617
14618 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14619 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14620 of its definition.
27822ce6
AZ
14621 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14622 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14623 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14624 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14625 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14626 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14627 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14628
a88ddc90
PTB
146292014-04-09 Peter Brett <peter@peter-b.co.uk>
14630
14631 [BZ #15514]
14632 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14633 pathconf(_PC_NAME_MAX).
14634
01f8eac2
AZ
146352014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14636
14637 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14638 Remove macro usage.
14639 (__PTHREAD_SPINS): Move definition to ...
14640 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14641 (__PTHREAD_SPINS): ... here.
14642 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14643 (__PTHREAD_SPIN): Likewise.
14644 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14645 (__PTHREAD_SPIN): Likewise.
14646 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14647 (__PTHREAD_SPIN): Likewise.
14648 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14649 (__PTHREAD_SPIN): Likewise.
14650 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14651 (__PTHREAD_SPIN): Likewise.
14652 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14653 (__PTHREAD_SPIN): Likewise.
14654 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14655 (__PTHREAD_SPIN): Likewise.
14656 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14657 (__PTHREAD_SPIN): Likewise.
14658 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14659 (__PTHREAD_SPIN): Likewise.
14660 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14661 (__PTHREAD_SPIN): Likewise.
14662 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14663 (__PTHREAD_SPIN): Likewise.
14664 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14665 (__PTHREAD_SPIN): Likewise.
14666
de21c33c
AZ
14667 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14668 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14669 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14670 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14671 imply folder.
14672 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14673 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14674 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14675 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14676 correct imply path.
14677 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14678 strlen symbol for non multi-arch builds.
14679 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14680 missing hidden_def and weak_alias.
14681
862c472e
CD
146822014-04-08 Carlos O'Donell <carlos@redhat.com>
14683
14684 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14685
8667f90e
WN
146862014-04-07 Will Newton <will.newton@linaro.org>
14687
14688 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14689 and contents. [!_LIBC] Remove #ifndef and contents.
14690 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14691 * string/memccpy.c (__memccpy): Use ANSI prototype.
14692 * string/memfrob.c (memfrob): Likewise.
14693 * string/strcoll.c (STRCOLL): Likewise.
14694 * string/strlen.c (strlen): Likewise.
14695 * string/strtok.c (STRTOK): Likewise.
14696 * string/strcat.c: Remove unused #include of memcopy.h.
14697 (strcat): Use ANSI prototype.
14698 * string/strchr.c: Remove unused #include of memcopy.h.
14699 (strchr): Use ANSI prototype.
14700 * string/strcmp.c: Remove unused #include of memcopy.h.
14701 (strcmp): Use ANSI prototype.
14702 * string/strcpy.c: Remove unused #include of memcopy.h.
14703 (strcpy): Use ANSI prototype.
14704
7ffa9423
AZ
147052014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14706
14707 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14708 * config.make.in (config-extra-cppflags): Set it from
14709 libc_extra_cppflags.
14710 * configure.ac (libc_extra_cflags): Make it accumulate over
14711 configure fragments.
14712 (libc_extra_cppflags): New flag.
14713 * configure. Regenerate.
14714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14715 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14716 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14718
8bd70862
AZ
14719 [BZ #16815]
14720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14721 result for FE_DOWNWARD rounding mode.
14722 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14723 Likewise.
14724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14725
d42f3448
CM
147262014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14727
14728 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14729 in function argument name.
14730
1c21d115
DS
147312014-04-03 David Svoboda <svoboda@cert.org>
14732
14733 [BZ #5666]
14734 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14735 explicitly.
14736
fcccd512
RM
147372014-04-03 Roland McGrath <roland@hack.frob.com>
14738
14739 * elf/dl-unmap-segments.h: New file.
14740 * sysdeps/generic/ldsodefs.h
14741 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14742 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14743 * elf/dl-fptr.c: Likewise.
14744 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14745 * sysdeps/aarch64/tlsdesc.c: Likewise.
14746 * sysdeps/arm/tlsdesc.c: Likewise.
14747 * sysdeps/i386/tlsdesc.c: Likewise.
14748 * sysdeps/tile/dl-runtime.c: Likewise.
14749 * sysdeps/x86_64/tlsdesc.c: Likewise.
14750 * elf/dl-load.h: New file.
14751 * elf/dl-load.c: Include it.
14752 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14753 Macros moved to dl-load.h.
14754 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14755 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14756 Use _dl_unmap_segments in place of __munmap.
14757 Break out segment-mapping loop into ...
14758 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14759
f6488e2b
WN
147602014-04-03 Will Newton <will.newton@linaro.org>
14761
14762 * elf/dl-lookup.c (do_lookup_x): Remove comment
14763 referring to nested function and move variable
14764 declarations down to before first use.
14765
6f05bafe
JM
147662014-04-02 Joseph Myers <joseph@codesourcery.com>
14767
a84e78c8
JM
14768 [BZ #16799]
14769 [BZ #16800]
14770 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14771 with 0 numerator.
14772 * math/s_catanf.c (__catanf): Likewise.
14773 * math/s_catanh.c (__catanh): Likewise.
14774 * math/s_catanhf.c (__catanhf): Likewise.
14775 * math/s_catanhl.c (__catanhl): Likewise.
14776 * math/s_catanl.c (__catanl): Likewise.
14777 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14778 by positive zero when computing -Inf result.
14779 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14780 (catanh_test): Likewise.
14781 * sysdeps/i386/fpu/libm-test-ulps: Update.
14782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14783
6f05bafe
JM
14784 [BZ #16789]
14785 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14786 instead of using underflowing value in computing result.
14787 * math/s_clog10.c (__clog10): Likewise.
14788 * math/s_clog10f.c (__clog10f): Likewise.
14789 * math/s_clog10l.c (__clog10l): Likewise.
14790 * math/s_clogf.c (__clogf): Likewise.
14791 * math/s_clogl.c (__clogl): Likewise.
14792 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14793 (clog10_test): Likewise.
14794 * sysdeps/i386/fpu/libm-test-ulps: Update.
14795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796
b0abbc21
AM
147972014-04-02 Alan Modra <amodra@gmail.com>
14798
14799 [BZ #16739]
14800 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14801 output when value is near a power of two. Use int64_t for lx and
14802 remove casts. Use decimal rather than hex exponent constants.
14803 Don't use long double multiplication when double will suffice.
14804 * math/libm-test.inc (nextafter_test_data): Add tests.
14805 * NEWS: Add 16739 and 16786 to bug list.
14806
af6b1797
AM
14807 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14808
483818d7
AM
14809 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14810
f6c55796
WN
148112014-04-01 Will Newton <will.newton@linaro.org>
14812
14813 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14814 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14815
13f7fe35
FW
148162014-04-01 Florian Weimer <fweimer@redhat.com>
14817
14818 [BZ #13347]
14819 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14820 * nptl/tst-setuid2.c: New file.
14821 * nptl/Makefile (xtests): Add tst-setuid2.
14822
c859b32e
AM
148232014-04-01 Alan Modra <amodra@gmail.com>
14824
14825 [BZ #16786]
14826 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14827
54fa2475
JM
148282014-03-31 Joseph Myers <joseph@codesourcery.com>
14829
8795b4a4
JM
14830 [BZ #6803]
14831 [BZ #6804]
14832 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14833 set errno as appropriate.
14834 * math/w_scalbf.c (__scalbf): Likewise.
14835 * math/w_scalbl.c (__scalbl): Likewise.
14836 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14837 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14838 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14839 Add more NaN tests.
14840
54fa2475
JM
14841 [BZ #16349]
14842 * math/w_atan2.c: Include <errno.h>.
14843 (__atan2): Set errno for result underflowing to zero.
14844 * math/w_atan2f.c: Include <errno.h>.
14845 (__atan2f): Set errno for result underflowing to zero.
14846 * math/w_atan2l.c: Include <errno.h>.
14847 (__atan2l): Set errno for result underflowing to zero.
14848 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14849 tests.
14850 * math/auto-libm-test-out: Regenerated.
14851
757d9dd5
AZ
148522014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14853
14854 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14855 Encode instruction correctly in little endian.
14856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14857 Likewise.
14858 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14859 Likewise.
14860 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14861 Likewise.
14862 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14863 Likewise.
14864
d7a68734
JM
148652014-03-31 Joseph Myers <joseph@codesourcery.com>
14866
47c5adeb
JM
14867 [BZ #9894]
14868 * sysdeps/unix/sysv/linux/kernel-features.h
14869 [__sparc__ && !__arch64__ && !__sparc_v9__]
14870 (__ASSUME_SET_ROBUST_LIST): Do not define.
14871 [__sparc__ && !__arch64__ && !__sparc_v9__]
14872 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14873 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14874 Likewise.
14875 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14876 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14877 (__ASSUME_REQUEUE_PI): Likewise.
14878 (__ASSUME_SET_ROBUST_LIST): Likewise.
14879 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14880 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14881 Undefine.
14882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14883 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14884 Likewise.
14885 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14886 Likewise.
14887 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14888 Likewise.
14889 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14890 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14891 Undefine.
14892 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14893 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14894 Likewise.
14895
d7a68734
JM
14896 [BZ #16648]
14897 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14898 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14899 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14900
c760f5c2
WN
149012014-03-31 Will Newton <will.newton@linaro.org>
14902
14903 * benchtests/Makefile (bench): Add ffs and ffsll to list
14904 of tests.
14905 * benchtests/ffs-inputs: New file.
14906 * benchtests/ffsll-inputs: Likewise.
14907
ea6029b1
JM
149082014-03-29 Joseph Myers <joseph@codesourcery.com>
14909
14910 [BZ #16770]
14911 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14912 too large before casting to int.
14913 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14914 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14915 * math/libm-test.inc (scalb_test_data): Add more tests.
14916
cf806aff
SP
149172014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14918
56737508
SP
14919 * benchtests/Makefile (DETAILED_OPT): New make option.
14920 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14921 set.
14922 * benchtests/bench-skeleton.c: Include stdbool.h.
14923 (main): Store and print timings per input.
14924 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14925 member to each argument value.
14926 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14927 (_print_arg_data): Initialize per-input timing to 0.
14928
cb5e4aad
SP
14929 * benchtests/Makefile (timing-type): New binary.
14930 (bench-clean): Also remove bench-timing-type.
14931 (bench): New target for timing-type.
14932 (bench-func): Print output in JSON format.
14933 * benchtests/bench-skeleton.c (main): Print output in JSON
14934 format.
14935 * benchtests/bench-timing-type.c: New file.
14936 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14937 (TIMING_PRINT_STATS): Remove.
14938 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14939 name separately.
14940
cf806aff
SP
14941 * benchtests/bench-modf.c: Remove.
14942 * benchtests/modf-inputs: New inputs file.
14943
289e0779
JM
149442014-03-28 Joseph Myers <joseph@codesourcery.com>
14945
14946 [BZ #16362]
14947 * math/s_clog10.c (M_PI_LOG10E): New macro.
14948 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14949 imaginary parts are 0.
14950 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14951 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14952 imaginary parts are 0.
14953 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14954 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14955 imaginary parts are 0.
14956 * math/libm-test.inc (clog10_test_data): Update expected results
14957 for when real and imaginary parts are 0.
14958
277ae3f1
PP
149592014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14960
14961 * elf/dl-load.c: Finish conversion of __builtin_expect into
14962 __glibc_{un}likely.
14963
03a7091f
JM
149642014-03-27 Joseph Myers <joseph@codesourcery.com>
14965
14966 [BZ #16348]
14967 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14968 1+x for argument with exponent below -67.
14969 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14970 Likewise.
14971 * math/auto-libm-test-in: Add more tests of exp.
14972 * math/auto-libm-test-out: Regenerated.
14973
ea7d8b95
SP
149742014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14975
dd3022d7
SP
14976 [BZ #16759]
14977 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14978 (nscd_getnetgrent): Use it.
14979
ea7d8b95
SP
14980 [BZ #16760]
14981 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14982 of stpcpy.
14983
df5b85da
AK
149842014-03-27 Andi Kleen <ak@linux.intel.com>
14985
57f41c40
AS
14986 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14987 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14988 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14989 (lll_robust_unlock): Remove out of line section. Use cfi
14990 intrinsics.
df5b85da 14991 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14992 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14993 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14994 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14995 (lll_robust_unlock): Remove out of line section. Use cfi
14996 intrinsics.
df5b85da
AK
14997 (LLL_STUB_UNWIND_INFO*): Remove.
14998
fbd6b5a4
SP
149992014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15000
15001 [BZ #16758]
15002 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15003 blank values.
15004
1b26b855
PP
150052014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15006
15007 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15008
9be36fb8
JM
150092014-03-26 Joseph Myers <joseph@codesourcery.com>
15010
15011 [BZ #16198]
15012 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15013 fnstenv.
15014 * math/test-fenv-preserve.c: New file.
15015 * math/Makefile (tests): Add test-fenv-preserve.
15016
60a2f3c1
WN
150172014-03-26 Will Newton <will.newton@linaro.org>
15018
15019 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15020
a5e5f1e2
RM
150212014-03-25 Roland McGrath <roland@hack.frob.com>
15022
15023 * scripts/versionlist.awk: Partition the version sets and emit all
15024 GLIBC_* (sorted) before all others (sorted).
15025
00f4012a
JM
150262014-03-25 Joseph Myers <joseph@codesourcery.com>
15027
15028 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15029 GLIBC_2.2.5 version.
15030
7bc5a741
AZ
150312014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15032
15033 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15034 calls.
15035
7578473b
AZ
15036 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15037 previous change.
15038
f3f1dab3
AZ
15039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15040
6da36183
AS
150412014-03-25 Andreas Schwab <schwab@suse.de>
15042
15043 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15044 label to be used after in6ailist is initialized.
15045
f3f1dab3 150462014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15047
7578473b 15048 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15049 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15050
046651c1
JM
150512014-03-25 Joseph Myers <joseph@codesourcery.com>
15052
15053 [BZ #16357]
15054 [BZ #16599]
15055 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15056 min_plus_half.
15057 (fp_formats): Update initializers.
15058 (init_fp_formats): Initialize new field.
15059 (output_for_one_input_case): Allow underflow for results up to
15060 min_plus_half.
15061 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15062 * math/auto-libm-test-in: Don't mark some underflows from asin and
15063 atanh as spurious.
15064 * math/auto-libm-test-out: Regenerated.
15065 * sysdeps/i386/fpu/libm-test-ulps: Update.
15066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15067
003e49ed
AS
150682014-03-25 Andreas Schwab <schwab@suse.de>
15069
15070 * libio/Makefile (tst-ftell-partial-wide-ENV)
15071 (tst-ftell-active-handler-ENV): Define.
15072
de031874
SL
150732014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15074
15075 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15076
55a81e3b
PP
150772014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15078
15079 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15080
f3426898
JM
150812014-03-24 Joseph Myers <joseph@codesourcery.com>
15082
15083 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15084 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15085 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15086
a42faf59
PP
150872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15088
15089 [BZ #16634]
a42faf59 15090 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15091 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15092 (open_path): Change from boolean 'secure' to complete flag 'mode'
15093 (_dl_map_object): Adjust.
a42faf59
PP
15094 * elf/Makefile (tests): Add tst-dlopen-aout.
15095 * elf/tst-dlopen-aout.c: New test.
15096
50936127
SL
150972014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15098
15099 [BZ #16714]
15100 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15101 (struct stat): Rename member pad0 to __glibc_reserved0.
15102
26011b5c
SL
15103 [BZ #16712]
15104 * sysdeps/s390/s390-32/bits/wordsize.h
15105 (__WORDSIZE32_SIZE_ULONG): New define.
15106 * sysdeps/s390/s390-64/bits/wordsize.h
15107 (__WORDSIZE32_SIZE_ULONG): Likewise.
15108 * sysdeps/generic/stdint.h (SIZE_MAX):
15109 Define as UL if __WORDSIZE32_SIZE_ULONG.
15110
a2d86bf1
SL
15111 [BZ #16713]
15112 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15113 (__glibc_reserved0): New variable.
15114 (sa_flags): Change type to int.
15115
78b6eebc
SL
15116 * posix/Makefile (before-compile): Use += before-compile instead
15117 of a :=.
15118
f1399b5a
SL
15119 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15120 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15121
a071766e
AS
151222014-03-20 Andreas Schwab <schwab@suse.de>
15123
15124 [BZ #16743]
15125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15126 non-matching result from nscd.
15127
27c673b8
SP
151282014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15129
15130 * scripts/bench.py: Moved to ...
15131 * benchtests/scripts/bench.py: ... here.
15132 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15133
44152e4b
AS
151342014-03-24 Andreas Schwab <schwab@suse.de>
15135
15136 [BZ #16002]
15137 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15138 alloca_account and account alloca use for struct in6ailist.
15139
b376a11a
JM
151402014-03-24 Joseph Myers <joseph@codesourcery.com>
15141
15142 [BZ #16284]
15143 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15144 rounding mode to recompute results that overflow to infinity or
15145 underflow to zero.
15146 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15147 bug 16284.
15148 * math/auto-libm-test-out: Regenerated.
15149 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15150 (ccosh_test): Likewise.
15151 (csin_test_data): Use plus_oflow.
15152 (csin_test): Use ALL_RM_TEST.
15153 (csinh_test_data): Use plus_oflow.
15154 (csinh_test): Use ALL_RM_TEST.
15155 * sysdeps/i386/fpu/libm-test-ulps: Update.
15156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15157
f7be7376
JM
151582014-03-21 Joseph Myers <joseph@codesourcery.com>
15159
1ca2d03e
JM
15160 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15161 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15162 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15163
f7be7376
JM
15164 [BZ #16731]
15165 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15166 when x - 1 is zero.
15167 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15168 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15169 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15171 argument is 1.
15172 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15173 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15174 zero.
15175 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15176 * sysdeps/i386/fpu/libm-test-ulps: Update.
15177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15178
fdf4534d
SP
151792014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15180
df26ea53
SP
15181 * scripts/bench.pl: Remove file.
15182 * scripts/bench.py: New benchmark script.
15183 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15184 * benchtests/README: Mention python dependency.
15185 * scripts/pylintrc: New file.
15186 * scripts/pylint: New file.
15187
fdf4534d
SP
15188 * bits/mathdef.h: Use #ifdef instead of #if.
15189 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15190 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15191 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15192 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15193 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15194 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15195
6f23d093
AZ
151962014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15197 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15198
15199 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15201 and strpbrk-ppc64 objects.
15202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15203 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15204 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15205 multiarch strpbrk for POWER7.
15206 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15207 multiarch strpbrk for PPC64.
15208 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15209 ifunc selector.
15210 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15211 strpbrk for POWER7.
15212
8c92dfff
JM
152132014-03-20 Joseph Myers <joseph@codesourcery.com>
15214
15215 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15216 (atan_test): Likewise.
15217 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15218 (atanh_test): Use ALL_RM_TEST.
15219 (atan2_test_data): Likewise.
15220 (cabs_test): Likewise.
15221 (cacosh_test): Likewise.
15222 (carg_test): Likewise.
15223 (casin_test): Likewise.
15224 (casinh_test): Likewise.
15225 (cbrt_test): Likewise.
15226 (csqrt_test): Likewise.
15227 (erf_test): Likewise.
15228 (erfc_test): Likewise.
15229 (pow10_test): Likewise.
15230 (exp2_test): Likewise.
15231 (hypot_test): Likewise.
15232 (j0_test): Likewise.
15233 (j1_test): Likewise.
15234 (lgamma_test): Likewise.
15235 (gamma_test): Likewise.
15236 (sincos_test): Likewise.
15237 (tanh_test): Likewise.
15238 (y0_test): Likewise.
15239 (y1_test): Likewise.
15240 * sysdeps/i386/fpu/libm-test-ulps: Update.
15241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15242
6eaf95cb
AZ
152432014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15244
a387428c
SP
15245 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15247 and strcspn-ppc64 objects.
15248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15249 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15250 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15251 multiarch strcspn for POWER7.
15252 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15253 multiarch strcspn for PPC64.
15254 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15255 ifunc selector.
15256 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15257 strcspn for POWER7.
15258
ae3a5dff
JM
152592014-03-20 Joseph Myers <joseph@codesourcery.com>
15260
15261 * math/gen-libm-test.pl (generate_testfile): Expect only function
15262 name as argument to AUTO_TESTS_* and pass results for all rounding
15263 modes to parse_args.
15264 (parse_auto_input): Separate inputs of automatic tests from
15265 outputs before storing in %auto_tests.
15266 * math/libm-test.inc (acos_test_data): Update call to
15267 AUTO_TESTS_f_f.
15268 (acos_test): Use ALL_RM_TEST.
15269 (acos_tonearest_test_data): Remove.
15270 (acos_test_tonearest): Likewise.
15271 (acos_towardzero_test_data): Likewise.
15272 (acos_test_towardzero): Likewise.
15273 (acos_downward_test_data): Likewise.
15274 (acos_test_downward): Likewise.
15275 (acos_upward_test_data): Likewise.
15276 (acos_test_upward): Likewise.
15277 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15278 (asin_test_data): Likewise.
15279 (asin_test): Use ALL_RM_TEST.
15280 (asin_tonearest_test_data): Remove.
15281 (asin_test_tonearest): Likewise.
15282 (asin_towardzero_test_data): Likewise.
15283 (asin_test_towardzero): Likewise.
15284 (asin_downward_test_data): Likewise.
15285 (asin_test_downward): Likewise.
15286 (asin_upward_test_data): Likewise.
15287 (asin_test_upward): Likewise.
15288 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15289 (atan_test_data): Likewise.
15290 (atanh_test_data): Likewise.
15291 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15292 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15293 (carg_test_data): Likewise.
15294 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15295 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15296 (ccosh_test_data): Likewise.
15297 (cexp_test_data): Likewise.
15298 (clog_test_data): Likewise.
15299 (clog10_test_data): Likewise.
15300 (cos_test_data): Update call to AUTO_TESTS_f_f.
15301 (cos_test): Use ALL_RM_TEST.
15302 (cos_tonearest_test_data): Remove.
15303 (cos_test_tonearest): Likewise.
15304 (cos_towardzero_test_data): Likewise.
15305 (cos_test_towardzero): Likewise.
15306 (cos_downward_test_data): Likewise.
15307 (cos_test_downward): Likewise.
15308 (cos_upward_test_data): Likewise.
15309 (cos_test_upward): Likewise.
15310 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15311 (cosh_test): Use ALL_RM_TEST.
15312 (cosh_tonearest_test_data): Remove.
15313 (cosh_test_tonearest): Likewise.
15314 (cosh_towardzero_test_data): Likewise.
15315 (cosh_test_towardzero): Likewise.
15316 (cosh_downward_test_data): Likewise.
15317 (cosh_test_downward): Likewise.
15318 (cosh_upward_test_data): Likewise.
15319 (cosh_test_upward): Likewise.
15320 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15321 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15322 (ctan_test_data): Likewise.
15323 (ctan_test): Use ALL_RM_TEST.
15324 (ctan_tonearest_test_data): Remove.
15325 (ctan_test_tonearest): Likewise.
15326 (ctan_towardzero_test_data): Likewise.
15327 (ctan_test_towardzero): Likewise.
15328 (ctan_downward_test_data): Likewise.
15329 (ctan_test_downward): Likewise.
15330 (ctan_upward_test_data): Likewise.
15331 (ctan_test_upward): Likewise.
15332 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15333 (ctanh_test): Use ALL_RM_TEST.
15334 (ctanh_tonearest_test_data): Remove.
15335 (ctanh_test_tonearest): Likewise.
15336 (ctanh_towardzero_test_data): Likewise.
15337 (ctanh_test_towardzero): Likewise.
15338 (ctanh_downward_test_data): Likewise.
15339 (ctanh_test_downward): Likewise.
15340 (ctanh_upward_test_data): Likewise.
15341 (ctanh_test_upward): Likewise.
15342 (erf_test_data): Update call to AUTO_TESTS_f_f.
15343 (erfc_test_data): Likewise.
15344 (exp_test_data): Likewise.
15345 (exp_test): Use ALL_RM_TEST.
15346 (exp_tonearest_test_data): Remove.
15347 (exp_test_tonearest): Likewise.
15348 (exp_towardzero_test_data): Likewise.
15349 (exp_test_towardzero): Likewise.
15350 (exp_downward_test_data): Likewise.
15351 (exp_test_downward): Likewise.
15352 (exp_upward_test_data): Likewise.
15353 (exp_test_upward): Likewise.
15354 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15355 (exp10_test): Use ALL_RM_TEST.
15356 (exp10_tonearest_test_data): Remove.
15357 (exp10_test_tonearest): Likewise.
15358 (exp10_towardzero_test_data): Likewise.
15359 (exp10_test_towardzero): Likewise.
15360 (exp10_downward_test_data): Likewise.
15361 (exp10_test_downward): Likewise.
15362 (exp10_upward_test_data): Likewise.
15363 (exp10_test_upward): Likewise.
15364 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15365 (expm1_test_data): Likewise.
15366 (expm1_test): Use ALL_RM_TEST.
15367 (expm1_tonearest_test_data): Remove.
15368 (expm1_test_tonearest): Likewise.
15369 (expm1_towardzero_test_data): Likewise.
15370 (expm1_test_towardzero): Likewise.
15371 (expm1_downward_test_data): Likewise.
15372 (expm1_test_downward): Likewise.
15373 (expm1_upward_test_data): Likewise.
15374 (expm1_test_upward): Likewise.
15375 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15376 (fma_test): Use ALL_RM_TEST.
15377 (fma_towardzero_test_data): Remove.
15378 (fma_test_towardzero): Likewise.
15379 (fma_downward_test_data): Likewise.
15380 (fma_test_downward): Likewise.
15381 (fma_upward_test_data): Likewise.
15382 (fma_test_upward): Likewise.
15383 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15384 (j0_test_data): Update call to AUTO_TESTS_f_f.
15385 (j1_test_data): Likewise.
15386 (jn_test_data): Update call to AUTO_TESTS_if_f.
15387 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15388 (log_test_data): Update call to AUTO_TESTS_f_f.
15389 (log10_test_data): Likewise.
15390 (log1p_test_data): Likewise.
15391 (log2_test_data): Likewise.
15392 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15393 (pow_tonearest_test_data): Likewise.
15394 (sin_test_data): Update call to AUTO_TESTS_f_f.
15395 (sin_test): Use ALL_RM_TEST.
15396 (sin_tonearest_test_data): Remove.
15397 (sin_test_tonearest): Likewise.
15398 (sin_towardzero_test_data): Likewise.
15399 (sin_test_towardzero): Likewise.
15400 (sin_downward_test_data): Likewise.
15401 (sin_test_downward): Likewise.
15402 (sin_upward_test_data): Likewise.
15403 (sin_test_upward): Likewise.
15404 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15405 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15406 (sinh_test): Use ALL_RM_TEST.
15407 (sinh_tonearest_test_data): Remove.
15408 (sinh_test_tonearest): Likewise.
15409 (sinh_towardzero_test_data): Likewise.
15410 (sinh_test_towardzero): Likewise.
15411 (sinh_downward_test_data): Likewise.
15412 (sinh_test_downward): Likewise.
15413 (sinh_upward_test_data): Likewise.
15414 (sinh_test_upward): Likewise.
15415 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15416 (sqrt_test): Use ALL_RM_TEST.
15417 (sqrt_tonearest_test_data): Remove.
15418 (sqrt_test_tonearest): Likewise.
15419 (sqrt_towardzero_test_data): Likewise.
15420 (sqrt_test_towardzero): Likewise.
15421 (sqrt_downward_test_data): Likewise.
15422 (sqrt_test_downward): Likewise.
15423 (sqrt_upward_test_data): Likewise.
15424 (sqrt_test_upward): Likewise.
15425 (tan_test_data): Update call to AUTO_TESTS_f_f.
15426 (tan_test): Use ALL_RM_TEST.
15427 (tan_tonearest_test_data): Remove.
15428 (tan_test_tonearest): Likewise.
15429 (tan_towardzero_test_data): Likewise.
15430 (tan_test_towardzero): Likewise.
15431 (tan_downward_test_data): Likewise.
15432 (tan_test_downward): Likewise.
15433 (tan_upward_test_data): Likewise.
15434 (tan_test_upward): Likewise.
15435 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15436 (tgamma_test_data): Likewise.
15437 (y0_test_data): Likewise.
15438 (y1_test_data): Likewise.
15439 (yn_test_data): Update call to AUTO_TESTS_if_f.
15440 (main): Do not call removed functions.
15441
d71aeee8
JM
154422014-03-19 Joseph Myers <joseph@codesourcery.com>
15443
15444 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15445 (ldexp_test_data): Remove.
15446 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15447 scalbn_test_data.
15448 (scalb_test): Use ALL_RM_TEST.
15449
baaf1ded
AS
154502014-03-19 Andreas Schwab <schwab@suse.de>
15451
15452 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15453
b1115e91
JM
154542014-03-19 Joseph Myers <joseph@codesourcery.com>
15455
15456 [BZ #16649]
15457 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15458 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15459 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15460 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15461 (__ASSUME_PREADV): Undefine.
15462 (__ASSUME_PWRITEV): Likewise.
15463
0283ecca
RM
154642014-03-18 Roland McGrath <roland@hack.frob.com>
15465
7d375303
RM
15466 * bits/mman-linux.h: Add comment about non-Linux use.
15467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15468 bits/mman-linux.h resting place.
15469
0283ecca
RM
15470 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15471 * bits/mman-linux.h: ... here.
15472
aebe1003
AZ
154732014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15474
15475 * conform/conformtest.pl: Add standard definition when calling C
15476 preprocessor on data files.
15477 (checknamespace): Remove unused variable.
15478
b29b6bb8
JM
154792014-03-18 Joseph Myers <joseph@codesourcery.com>
15480
15481 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15482 minus_oflow, plus_uflow and minus_uflow in expected results.
15483 * math/libm-test.inc (scalbn_test_data): Add more tests of
15484 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15485 minus_uflow.
15486 (scalbn_test): Use ALL_RM_TEST.
15487 (scalbln_test_data): Add more tests of negative arguments. Use
15488 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15489 (scalbln_test): Use ALL_RM_TEST.
15490
c8f8fa15
RM
154912014-03-18 Roland McGrath <roland@hack.frob.com>
15492
15493 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15494
fede7a5f
WN
154952014-03-18 Will Newton <will.newton@linaro.org>
15496
15497 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15498 inaccurate comment.
15499
80cf0a58
JM
155002014-03-18 Joseph Myers <joseph@codesourcery.com>
15501
15502 * Makerules [!subdir] (check-abi): Exit with error status if a
15503 test failed.
15504
b3620862
JM
155052014-03-17 Joseph Myers <joseph@codesourcery.com>
15506
15507 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15508 for rint. Include results for all rounding modes.
15509 (nearbyint_test): Use ALL_RM_TEST.
15510 (rint_test_data): Include all tests used for nearbyint.
15511
788bba36
WN
155122014-03-17 Will Newton <will.newton@linaro.org>
15513
04ec140a
WN
15514 * nptl/sysdeps/pthread/pthread.h: Revert previous
15515 change.
15516
7579d8d5
WN
15517 * sysdeps/generic/ldsodefs.h: Revert previous
15518 change.
15519
c15cf13a
WN
15520 * libio/genops.c: Revert previous change.
15521 * libio/libioP.h: Likewise.
15522 * stdio-common/vfprintf.c: Likewise.
15523
d0ac1324
WN
15524 * sysdeps/generic/math_private.h: Revert previous
15525 change.
15526
9290130a
WN
15527 * sysdeps/generic/math_private.h: Check whether
15528 HAVE_RM_CTX is defined with #ifdef rather
15529 than #if.
15530
afb466fc
WN
15531 * argp/argp-fmtstream.h: Check whether
15532 __STRICT_ANSI__ is defined with #ifdef rather
15533 than #if.
15534 * argp/argp.h: Likewise.
15535
f7efd7c3
WN
15536 * libio/genops.c: Check whether
15537 _IO_JUMPS_OFFSET is defined with #ifdef rather
15538 than #if.
15539 * libio/libioP.h: Likewise.
15540 * stdio-common/vfprintf.c: Likewise.
15541
53f1bed3
WN
15542 * sysdeps/generic/ldsodefs.h: Check whether
15543 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15544 than #if.
15545
788bba36
WN
15546 * nptl/sysdeps/pthread/pthread.h: Check
15547 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15548 its value.
15549
fcd89ebe
SP
155502014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15551
ae42bbc5
SP
15552 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15553 setting O_APPEND.
15554 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15555 test case.
15556
ea33158c
SP
15557 [BZ #16680]
15558 * libio/fileops.c (_IO_file_open): Seek to end of file but
15559 don't cache the offset.
15560 (get_file_offset): Remove function.
15561 (do_ftell): Use cached offset when available.
15562 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15563 don't cache the offset.
15564 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15565 case.
15566 (do_one_test): Call it.
15567 (do_ftell_test): Fix up expected old offset for a+ mode.
15568 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15569 available.
15570
b1dbb426
SP
15571 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15572 up test status with function return status.
15573 (do_write_test): Likewise.
15574 (do_append_test): Likewise.
15575
fcd89ebe
SP
15576 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15577 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15578 Remove.
15579
9962a2d3
JM
155802014-03-17 Joseph Myers <joseph@codesourcery.com>
15581
15582 * math/gen-libm-test.pl (parse_args): Handle results specified for
15583 each rounding mode separately.
15584 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15585 tests and results from lrint_tonearest_test_data,
15586 lrint_towardzero_test_data, lrint_downward_test_data and
15587 lrint_upward_test_data.
15588 (lrint_test): Use ALL_RM_TEST.
15589 (lrint_tonearest_test_data): Remove.
15590 (lrint_test_tonearest): Likewise.
15591 (lrint_towardzero_test_data): Likewise.
15592 (lrint_test_towardzero): Likewise.
15593 (lrint_downward_test_data): Likewise.
15594 (lrint_test_downward): Likewise.
15595 (lrint_upward_test_data): Likewise.
15596 (lrint_test_upward): Likewise.
15597 (llrint_test_data): Merge in per-rounding-mode tests and results
15598 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15599 llrint_downward_test_data and llrint_upward_test_data.
15600 (llrint_test): Use ALL_RM_TEST.
15601 (llrint_tonearest_test_data): Remove.
15602 (llrint_test_tonearest): Likewise.
15603 (llrint_towardzero_test_data): Likewise.
15604 (llrint_test_towardzero): Likewise.
15605 (llrint_downward_test_data): Likewise.
15606 (llrint_test_downward): Likewise.
15607 (llrint_upward_test_data): Likewise.
15608 (llrint_test_upward): Likewise.
15609 (rint_test_data): Merge in per-rounding-mode tests and results
15610 from rint_tonearest_test_data, rint_towardzero_test_data,
15611 rint_downward_test_data and rint_upward_test_data. Add
15612 per-rounding-mode results for tests not in those arrays.
15613 (rint_test): Use ALL_RM_TEST.
15614 (rint_tonearest_test_data): Remove.
15615 (rint_test_tonearest): Likewise.
15616 (rint_towardzero_test_data): Likewise.
15617 (rint_test_towardzero): Likewise.
15618 (rint_downward_test_data): Likewise.
15619 (rint_test_downward): Likewise.
15620 (rint_upward_test_data): Likewise.
15621 (rint_test_upward): Likewise.
15622 (main): Don't call removed functions.
15623
5006148e
RM
156242014-03-14 Roland McGrath <roland@hack.frob.com>
15625
15626 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15627 "Compiled on ..." crapola. It is anti-useful.
15628
d6fe5e58
JM
156292014-03-14 Joseph Myers <joseph@codesourcery.com>
15630
15631 * scripts/evaluate-test.sh: Handle fourth argument to determine
15632 whether test run should stop on failure.
15633 * Makeconfig (stop-on-test-failure): New variable.
15634 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15635 $(stop-on-test-failure).
15636 * Makefile (tests): Give a summary of results from testing and
15637 exit with failure status if they include an ERROR or FAIL.
15638 (xtests): Likewise.
15639 * manual/install.texi (Configuring and compiling): Mention
15640 stop-on-test-failure=y.
15641 * INSTALL: Regenerated.
15642
498a2233
RM
156432014-03-14 Roland McGrath <roland@hack.frob.com>
15644
22dbc19d
RM
15645 * scripts/versionlist.awk: New file.
15646 * Makerules [$(build-shared) = yes]
15647 (postclean-generated): Add Versions.def, not Versions.def.v and
15648 Versions.def.v.i.
15649 ($(common-objpfx)Versions.def.v.i): Target removed.
15650 ($(common-objpfx)Versions.def): New target.
15651 ($(common-objpfx)Versions.all): Depend on that rather that
15652 $(common-objpfx)Versions.def.v.
15653 * Versions.def: File removed.
15654
498a2233
RM
15655 * Makeconfig (+gccwarn): Add -Wundef.
15656 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15657 a dl-sysdep.h breaking its contract.
15658 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15659 * include/stackinfo.h: New file.
15660 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15661 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15662 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15663 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15664 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15665 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15666 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15667 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15668 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15669 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15670 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15671 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15672 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15673 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15674 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15675
c7de5025
AZ
156762014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15677
15678 [BZ #16707]
15679 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15680 implementation.
15681 * math/libm-test.inc (round_test_data): Add more tests.
15682
98fb27a3
AZ
15683 [BZ #16706]
15684 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15685 implementation.
15686 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15687
374f7f61
AZ
15688 [BZ #16701]
15689 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15690 implementation.
15691 * math/libm-test.inc (ceil_test_data): Add more tests.
15692
4655c291
AZ
15693 * math/libm-test.inc (trunc_test_data): Add more tests related to
15694 BZ#16414.
15695
d7329d4b
RM
156962014-03-14 Roland McGrath <roland@hack.frob.com>
15697
15698 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15699 with #if rather than #ifdef.
15700 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15701
aa4de9ce
L
157022014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15703
15704 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15705 first. Disable AVX-512 GCC support if assembler doesn't support
15706 it.
15707 * sysdeps/x86_64/configure: Regenerated.
15708
2e03fae7
CD
157092014-03-13 Carlos O'Donell <carlos@redhat.com>
15710
15711 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15712 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15713 (__old_pthread_attr_setstack): Likewise.
15714 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15715 [!_STACK_GROWS_DOWN]: Likewise.
15716
43ca83ec
MF
157172014-03-13 Mike Frysinger <vapier@gentoo.org>
15718
15719 * config.make.in (have-bash2): Delete.
15720 * configure.ac (libc_cv_have_bash2): Delete.
15721 * configure: Regenerate.
15722 * elf/Makefile (common-ldd-rewrite): Rename to ...
15723 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15724 (sh-ldd-rewrite): Delete.
15725 (bash-ldd-rewrite): Delete.
15726 (have-bash2): Delete checks.
57f41c40
AS
15727 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15728 ldd-rewrite.
c66e48b4
MF
15729
15730 * config.make.in (have-ksh): Delete.
15731 (KSH): Delete.
15732 * configure.ac (libc_cv_have_ksh): Delete.
15733 * configure: Regenerate.
15734
b93834ef
MF
15735 * elf/Makefile: Delete $(have-ksh) check.
15736 ($(objpfx)sotruss): Change KSH to BASH.
15737 * elf/sotruss.ksh: Rename to ...
15738 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15739 function style to match POSIX. Drop ksh vim mode setting.
15740
f3a4632a
MF
15741 * manual/time.texi (Specifying the Time Zone with TZ): Change
15742 Tuesday to Thursday.
15743
5896c8bd
MF
15744 * debug/tst-longjmp_chk2.c: Update header comment.
15745 (stackoverflow_handler): Add comment. Call assert on pass value.
15746
2d63a517
IZ
157472014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15748
7e54fd04 15749 [BZ #16194]
2d63a517
IZ
15750 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15751 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15752 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15753 (La_x86_64_vector): Add zmm.
15754 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15755 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15756 ($(objpfx)tst-audit10): New target.
15757 ($(objpfx)tst-audit10.out): Likewise.
15758 (tst-audit10-ENV): New.
15759 (AVX512-CFLAGS): Likewise.
15760 (CFLAGS-tst-audit10.c): Likewise.
15761 (CFLAGS-tst-auditmod10a.c): Likewise.
15762 (CFLAGS-tst-auditmod10b.c): Likewise.
15763 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15764 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15765 * sysdeps/x86_64/configure: Regenerated.
15766 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15767 AVX-512 zmm register support.
15768 (_dl_x86_64_save_sse): Likewise.
15769 (_dl_x86_64_restore_sse): Likewise.
15770 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15771 size vector registers.
15772 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15773 (ZMM_SIZE): Likewise.
15774 * sysdeps/x86_64/tst-audit10.c: New file.
15775 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15776 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15777
44c4e5d5
RM
157782014-03-13 Roland McGrath <roland@hack.frob.com>
15779
15780 * configure.ac (HAVE_EHDR_START): New check.
15781 * configure: Regenerated.
15782 * config.h.in (HAVE_EHDR_START): New #undef.
15783 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15784 assuming the lowest-addressed segment maps the start of the file.
15785
acd6e389
JM
157862014-03-13 Joseph Myers <joseph@codesourcery.com>
15787
15788 * INSTALL: Regenerated.
15789
6f918f36
WN
157902014-03-13 Will Newton <will.newton@linaro.org>
15791
15792 * manual/setjmp.texi (System V contexts): Improve
15793 clarity and grammar of documentation.
15794
798212a0
PP
157952014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15796
15797 [BZ #16381]
798212a0 15798 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15799 (tests-pie): Add tst-pie2.
798212a0
PP
15800 * elf/tst-pie2.c: New file.
15801 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15802 for ET_EXEC.
15803 * elf/rtld.c (map_doit): Load executable as lt_executable.
15804 (dl_main): Likewise.
15805
abe6d90c
JM
158062014-03-12 Joseph Myers <joseph@codesourcery.com>
15807
15808 [BZ #16642]
15809 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15810 (__ASSUME_PSELECT): Undefine.
15811
dd3946c6
AZ
158122014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15813
15814 [BZ #16689]
15815 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15816 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15817 static build.
15818 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15819 selector for static builds.
15820
c44496df
SP
158212014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15822
15823 [BZ #16695]
15824 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15825 key in the buffer.
15826
27c7220a
AZ
158272014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15828
57f41c40
AS
15829 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15830 IFUNC selector for static builds.
27c7220a 15831
600fa361
JM
158322014-03-11 Joseph Myers <joseph@codesourcery.com>
15833
76c96cf7
JM
15834 * sysdeps/mips/math_private.h [__mips_hard_float]
15835 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15836 libc_feresetround_mips_ctx.
15837 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15838 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15839 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15840
600fa361
JM
15841 [BZ #16677]
15842 * math/s_nextafter.c (__nextafter): Do not return value from
15843 overflowing computation.
15844 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15845 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15846 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15847 Likewise.
15848 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15849 Likewise.
15850 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15851 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15852
d7706c32
RM
158532014-03-11 Roland McGrath <roland@hack.frob.com>
15854
15855 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15856 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15857 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15858 the new mov targetting sp.
15859
4facea47
AZ
158602014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15861
15862 [BZ #16683]
15863 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15864 Define it for static builds as well.
15865 (NO_BZERO_IMPL): Likewise.
15866
e65caf1f
VR
158672014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15868
15869 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15870 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15871 multiarch strspn for PPC64.
15872 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15873 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15875 (__libc_ifunc_impl_list): Likewise.
15876 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15877 multiarch optimizations
15878 * string/strspn.c (strspn): Using macro to redefine symbol name.
15879
ba9cc071
AZ
158802014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15881 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15882
15883 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15884 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15885 multiarch strncat for PPC64.
15886 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15887 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15889 (__libc_ifunc_impl_list): Likewise.
15890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15891 multiarch optimizations
15892
8b4ff974
SP
158932014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15894
15895 [BZ #16639]
15896 * nscd/nscd.service: Make service type forking.
15897
54b46a4b
AZ
158982014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15899
15900 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15901 sign in non default rounding modes.
15902 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15903
e9996ef7
JM
159042014-03-08 Joseph Myers <joseph@codesourcery.com>
15905
15906 * math/libm-test.inc (ALL_RM_TEST): New macro.
15907 (ceil_test): Use ALL_RM_TEST.
15908 (cimag_test): Likewise.
15909 (conj_test): Likewise.
15910 (copysign_test): Likewise.
15911 (cproj_test): Likewise.
15912 (creal_test): Likewise.
15913 (fabs_test): Likewise.
15914 (floor_test): Likewise.
15915 (fmax_test): Likewise.
15916 (fmin_test): Likewise.
15917 (fmod_test): Likewise.
15918 (fpclassify_test): Likewise.
15919 (frexp_test): Likewise.
15920 (ilogb_test): Likewise.
15921 (isfinite_test): Likewise.
15922 (finite_test): Likewise.
15923 (isgreater_test): Likewise.
15924 (isgreaterequal_test): Likewise.
15925 (isinf_test): Likewise.
15926 (isless_test): Likewise.
15927 (islessequal_test): Likewise.
15928 (islessgreater_test): Likewise.
15929 (isnan_test): Likewise.
15930 (isnormal_test): Likewise.
15931 (issignaling_test): Likewise.
15932 (isunordered_test): Likewise.
15933 (logb_test): Likewise.
15934 (logb_downward_test_data): Remove.
15935 (logb_test_downward): Likewise.
15936 (lround_test): Use ALL_RM_TEST.
15937 (llround_test): Likewise.
15938 (modf_test): Likewise.
15939 (nexttoward_test): Likewise.
15940 (remainder_test): Likewise.
15941 (drem_test): Likewise.
15942 (remainder_tonearest_test_data): Likewise.
15943 (remainder_test_tonearest): Likewise.
15944 (drem_test_tonearest): Likewise.
15945 (remainder_towardzero_test_data): Likewise.
15946 (remainder_test_towardzero): Likewise.
15947 (drem_test_towardzero): Likewise.
15948 (remainder_downward_test_data): Likewise.
15949 (remainder_test_downward): Likewise.
15950 (drem_test_downward): Likewise.
15951 (remainder_upward_test_data): Likewise.
15952 (remainder_test_upward): Likewise.
15953 (drem_test_upward): Likewise.
15954 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15955 (round_test): Use ALL_RM_TEST.
15956 (signbit_test): Likewise.
15957 (trunc_test): Likewise.
15958 (significand_test): Likewise.
15959 (main): Don't call removed functions.
15960
bc61d27c
JM
159612014-03-07 Joseph Myers <joseph@codesourcery.com>
15962
5c780849
JM
15963 [BZ #16674]
15964 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15965 || __USE_XOPEN2K8].
15966 (ILL_ILLOPN): Likewise.
15967 (ILL_ILLADR): Likewise.
15968 (ILL_ILLTRP): Likewise.
15969 (ILL_PRVOPC): Likewise.
15970 (ILL_PRVREG): Likewise.
15971 (ILL_COPROC): Likewise.
15972 (ILL_BADSTK): Likewise.
15973 (FPE_INTDIV): Likewise.
15974 (FPE_INTOVF): Likewise.
15975 (FPE_FLTDIV): Likewise.
15976 (FPE_FLTOVF): Likewise.
15977 (FPE_FLTUND): Likewise.
15978 (FPE_FLTRES): Likewise.
15979 (FPE_FLTINV): Likewise.
15980 (FPE_FLTSUB): Likewise.
15981 (SEGV_MAPERR): Likewise.
15982 (SEGV_ACCERR): Likewise.
15983 (BUS_ADRALN): Likewise.
15984 (BUS_ADRERR): Likewise.
15985 (BUS_OBJERR): Likewise.
15986 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15987 (TRAP_TRACE): Likewise.
15988 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15989 __USE_XOPEN2K8].
15990 (CLD_KILLED): Likewise.
15991 (CLD_DUMPED): Likewise.
15992 (CLD_TRAPPED): Likewise.
15993 (CLD_STOPPED): Likewise.
15994 (CLD_CONTINUED): Likewise.
15995 (POLL_IN): Likewise.
15996 (POLL_OUT): Likewise.
15997 (POLL_MSG): Likewise.
15998 (POLL_ERR): Likewise.
15999 (POLL_PRI): Likewise.
16000 (POLL_HUP): Likewise.
16001 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16002 Likewise.
16003 (ILL_ILLOPN): Likewise.
16004 (ILL_ILLADR): Likewise.
16005 (ILL_ILLTRP): Likewise.
16006 (ILL_PRVOPC): Likewise.
16007 (ILL_PRVREG): Likewise.
16008 (ILL_COPROC): Likewise.
16009 (ILL_BADSTK): Likewise.
16010 (FPE_INTDIV): Likewise.
16011 (FPE_INTOVF): Likewise.
16012 (FPE_FLTDIV): Likewise.
16013 (FPE_FLTOVF): Likewise.
16014 (FPE_FLTUND): Likewise.
16015 (FPE_FLTRES): Likewise.
16016 (FPE_FLTINV): Likewise.
16017 (FPE_FLTSUB): Likewise.
16018 (SEGV_MAPERR): Likewise.
16019 (SEGV_ACCERR): Likewise.
16020 (BUS_ADRALN): Likewise.
16021 (BUS_ADRERR): Likewise.
16022 (BUS_OBJERR): Likewise.
16023 (BUS_MCEERR_AR): Likewise.
16024 (BUS_MCEERR_AO): Likewise.
16025 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16026 (TRAP_TRACE): Likewise.
16027 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16028 __USE_XOPEN2K8].
16029 (CLD_KILLED): Likewise.
16030 (CLD_DUMPED): Likewise.
16031 (CLD_TRAPPED): Likewise.
16032 (CLD_STOPPED): Likewise.
16033 (CLD_CONTINUED): Likewise.
16034 (POLL_IN): Likewise.
16035 (POLL_OUT): Likewise.
16036 (POLL_MSG): Likewise.
16037 (POLL_ERR): Likewise.
16038 (POLL_PRI): Likewise.
16039 (POLL_HUP): Likewise.
16040 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16041 (ILL_ILLOPN): Likewise.
16042 (ILL_ILLADR): Likewise.
16043 (ILL_ILLTRP): Likewise.
16044 (ILL_PRVOPC): Likewise.
16045 (ILL_PRVREG): Likewise.
16046 (ILL_COPROC): Likewise.
16047 (ILL_BADSTK): Likewise.
16048 (FPE_INTDIV): Likewise.
16049 (FPE_INTOVF): Likewise.
16050 (FPE_FLTDIV): Likewise.
16051 (FPE_FLTOVF): Likewise.
16052 (FPE_FLTUND): Likewise.
16053 (FPE_FLTRES): Likewise.
16054 (FPE_FLTINV): Likewise.
16055 (FPE_FLTSUB): Likewise.
16056 (SEGV_MAPERR): Likewise.
16057 (SEGV_ACCERR): Likewise.
16058 (BUS_ADRALN): Likewise.
16059 (BUS_ADRERR): Likewise.
16060 (BUS_OBJERR): Likewise.
16061 (BUS_MCEERR_AR): Likewise.
16062 (BUS_MCEERR_AO): Likewise.
16063 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16064 (TRAP_TRACE): Likewise.
16065 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16066 __USE_XOPEN2K8].
16067 (CLD_KILLED): Likewise.
16068 (CLD_DUMPED): Likewise.
16069 (CLD_TRAPPED): Likewise.
16070 (CLD_STOPPED): Likewise.
16071 (CLD_CONTINUED): Likewise.
16072 (POLL_IN): Likewise.
16073 (POLL_OUT): Likewise.
16074 (POLL_MSG): Likewise.
16075 (POLL_ERR): Likewise.
16076 (POLL_PRI): Likewise.
16077 (POLL_HUP): Likewise.
16078 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16079 Likewise.
16080 (ILL_ILLOPN): Likewise.
16081 (ILL_ILLADR): Likewise.
16082 (ILL_ILLTRP): Likewise.
16083 (ILL_PRVOPC): Likewise.
16084 (ILL_PRVREG): Likewise.
16085 (ILL_COPROC): Likewise.
16086 (ILL_BADSTK): Likewise.
16087 (ILL_BADIADDR): Likewise.
16088 (ILL_BREAK): Likewise.
16089 (FPE_INTDIV): Likewise.
16090 (FPE_INTOVF): Likewise.
16091 (FPE_FLTDIV): Likewise.
16092 (FPE_FLTOVF): Likewise.
16093 (FPE_FLTUND): Likewise.
16094 (FPE_FLTRES): Likewise.
16095 (FPE_FLTINV): Likewise.
16096 (FPE_FLTSUB): Likewise.
16097 (FPE_DECOVF): Likewise.
16098 (FPE_DECDIV): Likewise.
16099 (FPE_DECERR): Likewise.
16100 (FPE_INVASC): Likewise.
16101 (FPE_INVDEC): Likewise.
16102 (SEGV_MAPERR): Likewise.
16103 (SEGV_ACCERR): Likewise.
16104 (SEGV_PSTKOVF): Likewise.
16105 (BUS_ADRALN): Likewise.
16106 (BUS_ADRERR): Likewise.
16107 (BUS_OBJERR): Likewise.
16108 (BUS_MCEERR_AR): Likewise.
16109 (BUS_MCEERR_AO): Likewise.
16110 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16111 (TRAP_TRACE): Likewise.
16112 (TRAP_BRANCH): Likewise.
16113 (TRAP_HWBKPT): Likewise.
16114 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16115 __USE_XOPEN2K8].
16116 (CLD_KILLED): Likewise.
16117 (CLD_DUMPED): Likewise.
16118 (CLD_TRAPPED): Likewise.
16119 (CLD_STOPPED): Likewise.
16120 (CLD_CONTINUED): Likewise.
16121 (POLL_IN): Likewise.
16122 (POLL_OUT): Likewise.
16123 (POLL_MSG): Likewise.
16124 (POLL_ERR): Likewise.
16125 (POLL_PRI): Likewise.
16126 (POLL_HUP): Likewise.
16127 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16128 (ILL_ILLOPN): Likewise.
16129 (ILL_ILLADR): Likewise.
16130 (ILL_ILLTRP): Likewise.
16131 (ILL_PRVOPC): Likewise.
16132 (ILL_PRVREG): Likewise.
16133 (ILL_COPROC): Likewise.
16134 (ILL_BADSTK): Likewise.
16135 (FPE_INTDIV): Likewise.
16136 (FPE_INTOVF): Likewise.
16137 (FPE_FLTDIV): Likewise.
16138 (FPE_FLTOVF): Likewise.
16139 (FPE_FLTUND): Likewise.
16140 (FPE_FLTRES): Likewise.
16141 (FPE_FLTINV): Likewise.
16142 (FPE_FLTSUB): Likewise.
16143 (SEGV_MAPERR): Likewise.
16144 (SEGV_ACCERR): Likewise.
16145 (BUS_ADRALN): Likewise.
16146 (BUS_ADRERR): Likewise.
16147 (BUS_OBJERR): Likewise.
16148 (BUS_MCEERR_AR): Likewise.
16149 (BUS_MCEERR_AO): Likewise.
16150 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16151 (TRAP_TRACE): Likewise.
16152 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16153 __USE_XOPEN2K8].
16154 (CLD_KILLED): Likewise.
16155 (CLD_DUMPED): Likewise.
16156 (CLD_TRAPPED): Likewise.
16157 (CLD_STOPPED): Likewise.
16158 (CLD_CONTINUED): Likewise.
16159 (POLL_IN): Likewise.
16160 (POLL_OUT): Likewise.
16161 (POLL_MSG): Likewise.
16162 (POLL_ERR): Likewise.
16163 (POLL_PRI): Likewise.
16164 (POLL_HUP): Likewise.
16165 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16166 (ILL_ILLOPN): Likewise.
16167 (ILL_ILLADR): Likewise.
16168 (ILL_ILLTRP): Likewise.
16169 (ILL_PRVOPC): Likewise.
16170 (ILL_PRVREG): Likewise.
16171 (ILL_COPROC): Likewise.
16172 (ILL_BADSTK): Likewise.
16173 (FPE_INTDIV): Likewise.
16174 (FPE_INTOVF): Likewise.
16175 (FPE_FLTDIV): Likewise.
16176 (FPE_FLTOVF): Likewise.
16177 (FPE_FLTUND): Likewise.
16178 (FPE_FLTRES): Likewise.
16179 (FPE_FLTINV): Likewise.
16180 (FPE_FLTSUB): Likewise.
16181 (SEGV_MAPERR): Likewise.
16182 (SEGV_ACCERR): Likewise.
16183 (BUS_ADRALN): Likewise.
16184 (BUS_ADRERR): Likewise.
16185 (BUS_OBJERR): Likewise.
16186 (BUS_MCEERR_AR): Likewise.
16187 (BUS_MCEERR_AO): Likewise.
16188 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16189 (TRAP_TRACE): Likewise.
16190 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16191 __USE_XOPEN2K8].
16192 (CLD_KILLED): Likewise.
16193 (CLD_DUMPED): Likewise.
16194 (CLD_TRAPPED): Likewise.
16195 (CLD_STOPPED): Likewise.
16196 (CLD_CONTINUED): Likewise.
16197 (POLL_IN): Likewise.
16198 (POLL_OUT): Likewise.
16199 (POLL_MSG): Likewise.
16200 (POLL_ERR): Likewise.
16201 (POLL_PRI): Likewise.
16202 (POLL_HUP): Likewise.
16203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16204 (ILL_ILLOPN): Likewise.
16205 (ILL_ILLADR): Likewise.
16206 (ILL_ILLTRP): Likewise.
16207 (ILL_PRVOPC): Likewise.
16208 (ILL_PRVREG): Likewise.
16209 (ILL_COPROC): Likewise.
16210 (ILL_BADSTK): Likewise.
16211 (FPE_INTDIV): Likewise.
16212 (FPE_INTOVF): Likewise.
16213 (FPE_FLTDIV): Likewise.
16214 (FPE_FLTOVF): Likewise.
16215 (FPE_FLTUND): Likewise.
16216 (FPE_FLTRES): Likewise.
16217 (FPE_FLTINV): Likewise.
16218 (FPE_FLTSUB): Likewise.
16219 (SEGV_MAPERR): Likewise.
16220 (SEGV_ACCERR): Likewise.
16221 (BUS_ADRALN): Likewise.
16222 (BUS_ADRERR): Likewise.
16223 (BUS_OBJERR): Likewise.
16224 (BUS_MCEERR_AR): Likewise.
16225 (BUS_MCEERR_AO): Likewise.
16226 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16227 (TRAP_TRACE): Likewise.
16228 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16229 __USE_XOPEN2K8].
16230 (CLD_KILLED): Likewise.
16231 (CLD_DUMPED): Likewise.
16232 (CLD_TRAPPED): Likewise.
16233 (CLD_STOPPED): Likewise.
16234 (CLD_CONTINUED): Likewise.
16235 (POLL_IN): Likewise.
16236 (POLL_OUT): Likewise.
16237 (POLL_MSG): Likewise.
16238 (POLL_ERR): Likewise.
16239 (POLL_PRI): Likewise.
16240 (POLL_HUP): Likewise.
16241 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16242 (ILL_ILLOPN): Likewise.
16243 (ILL_ILLADR): Likewise.
16244 (ILL_ILLTRP): Likewise.
16245 (ILL_PRVOPC): Likewise.
16246 (ILL_PRVREG): Likewise.
16247 (ILL_COPROC): Likewise.
16248 (ILL_BADSTK): Likewise.
16249 (ILL_DBLFLT): Likewise.
16250 (ILL_HARDWALL): Likewise.
16251 (FPE_INTDIV): Likewise.
16252 (FPE_INTOVF): Likewise.
16253 (FPE_FLTDIV): Likewise.
16254 (FPE_FLTOVF): Likewise.
16255 (FPE_FLTUND): Likewise.
16256 (FPE_FLTRES): Likewise.
16257 (FPE_FLTINV): Likewise.
16258 (FPE_FLTSUB): Likewise.
16259 (SEGV_MAPERR): Likewise.
16260 (SEGV_ACCERR): Likewise.
16261 (BUS_ADRALN): Likewise.
16262 (BUS_ADRERR): Likewise.
16263 (BUS_OBJERR): Likewise.
16264 (BUS_MCEERR_AR): Likewise.
16265 (BUS_MCEERR_AO): Likewise.
16266 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16267 (TRAP_TRACE): Likewise.
16268 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16269 __USE_XOPEN2K8].
16270 (CLD_KILLED): Likewise.
16271 (CLD_DUMPED): Likewise.
16272 (CLD_TRAPPED): Likewise.
16273 (CLD_STOPPED): Likewise.
16274 (CLD_CONTINUED): Likewise.
16275 (POLL_IN): Likewise.
16276 (POLL_OUT): Likewise.
16277 (POLL_MSG): Likewise.
16278 (POLL_ERR): Likewise.
16279 (POLL_PRI): Likewise.
16280 (POLL_HUP): Likewise.
16281 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16282 (ILL_ILLOPN): Likewise.
16283 (ILL_ILLADR): Likewise.
16284 (ILL_ILLTRP): Likewise.
16285 (ILL_PRVOPC): Likewise.
16286 (ILL_PRVREG): Likewise.
16287 (ILL_COPROC): Likewise.
16288 (ILL_BADSTK): Likewise.
16289 (FPE_INTDIV): Likewise.
16290 (FPE_INTOVF): Likewise.
16291 (FPE_FLTDIV): Likewise.
16292 (FPE_FLTOVF): Likewise.
16293 (FPE_FLTUND): Likewise.
16294 (FPE_FLTRES): Likewise.
16295 (FPE_FLTINV): Likewise.
16296 (FPE_FLTSUB): Likewise.
16297 (SEGV_MAPERR): Likewise.
16298 (SEGV_ACCERR): Likewise.
16299 (BUS_ADRALN): Likewise.
16300 (BUS_ADRERR): Likewise.
16301 (BUS_OBJERR): Likewise.
16302 (BUS_MCEERR_AR): Likewise.
16303 (BUS_MCEERR_AO): Likewise.
16304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16305 (TRAP_TRACE): Likewise.
16306 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16307 __USE_XOPEN2K8].
16308 (CLD_KILLED): Likewise.
16309 (CLD_DUMPED): Likewise.
16310 (CLD_TRAPPED): Likewise.
16311 (CLD_STOPPED): Likewise.
16312 (CLD_CONTINUED): Likewise.
16313 (POLL_IN): Likewise.
16314 (POLL_OUT): Likewise.
16315 (POLL_MSG): Likewise.
16316 (POLL_ERR): Likewise.
16317 (POLL_PRI): Likewise.
16318 (POLL_HUP): Likewise.
16319 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16320 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16321
bc61d27c
JM
16322 [BZ #16670]
16323 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16324 before #include of <time.h>.
16325 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16326 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16327 (test-xfail-UNIX98/sched.h/conform): Likewise.
16328
302949e2
MS
163292014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16330
16331 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16332 error absence of trapping exception support.
16333 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16334
a00f522a
JM
163352014-03-07 Joseph Myers <joseph@codesourcery.com>
16336
6f99f280
JM
16337 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16338 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16339 * timezone/Makefile (testdata): Move definition above include of
16340 Rules.
16341 (test-zones): New variable.
16342 (tests-special): Add zone files.
16343 (build-testdata): Use $(evaluate-test).
16344
0b20a9e8
JM
16345 * elf/Makefile (tests-special): Rename tests to end with .out.
16346 ($(objpfx)noload-mem): Likewise.
16347 ($(objpfx)tst-leaks1-mem): Likewise.
16348 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16349 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16350 $(objpfx)test-iconvconfig.out.
16351 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16352 set -e inside subshell and redirect output to file.
16353 * iconvdata/Makefile (generated): Rename tests to end with .out.
16354 Correct type.
16355 (tests-special): Rename tests to end with .out.
16356 ($(objpfx)mtrace-tst-loading): Likewise.
16357 * intl/Makefile (generated): Likewise.
16358 (tests-special): Likewise.
16359 ($(objpfx)mtrace-tst-gettext): Likewise.
16360 * misc/Makefile (generated): Likewise.
16361 (tests-special): Likewise.
16362 ($(objpfx)tst-error1-mem): Likewise.
16363 * nptl/Makefile (tests-special): Likewise.
16364 ($(objpfx)tst-stack3-mem): Likewise.
16365 (generated): Likewise.
16366 * posix/Makefile (generated): Likewise.
16367 (tests-special): Likewise.
16368 (xtests-special): Likewise.
16369 ($(objpfx)tst-fnmatch-mem): Likewise.
16370 ($(objpfx)bug-regex2-mem): Likewise.
16371 ($(objpfx)bug-regex14-mem): Likewise.
16372 ($(objpfx)bug-regex21-mem): Likewise.
16373 ($(objpfx)bug-regex31-mem): Likewise.
16374 ($(objpfx)tst-vfork3-mem): Likewise.
16375 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16376 ($(objpfx)tst-pcre-mem): Likewise.
16377 ($(objpfx)tst-boost-mem): Likewise.
16378 ($(objpfx)bug-ga2-mem): Likewise.
16379 ($(objpfx)bug-glob2-mem): Likewise.
16380 * resolv/Makefile (generate): Likewise.
16381 (tests-special): Likewise.
16382 (xtests-special): Likewise.
16383 (generated): Likewise.
16384 ($(objpfx)mtrace-tst-leaks): Likewise.
16385 ($(objpfx)mtrace-tst-leaks2): Likewise.
16386
265d52ab
JM
16387 * scripts/merge-test-results.sh: New file.
16388 * Makefile (tests-special-notdir): New variable.
16389 (tests): Run merge-test-results.sh.
16390 (xtests): Likewise.
16391 * Rules (tests-special-notdir): New variable.
16392 (xtests-special-notdir): Likewise.
16393 (tests): Run merge-test-results.sh
16394 (xtests): Likewise.
16395
54ee292d
JM
16396 * Makeconfig (test-xfail-name): New variable.
16397 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16398 compute variable name for expected failures.
16399 * conform/Makefile (conformtest-headers-data): New variable.
16400 (conformtest-standards): Likewise.
16401 (conformtest-headers-ISO): Likewise.
16402 (conformtest-headers-ISO99): Likewise.
16403 (conformtest-headers-ISO11): Likewise.
16404 (conformtest-headers-POSIX): Likewise.
16405 (conformtest-headers-XPG3): Likewise.
16406 (conformtest-headers-XPG4): Likewise.
16407 (conformtest-headers-UNIX98): Likewise.
16408 (conformtest-headers-XOPEN2K): Likewise.
16409 (conformtest-headers-POSIX2008): Likewise.
16410 (conformtest-headers-XOPEN2K8): Likewise.
16411 (conformtest-header-list-base): Likewise.
16412 (conformtest-header-list-tests): Likewise.
16413 (conformtest-header-base): Likewise.
16414 (conformtest-header-tests): Likewise.
16415 (tests-special): Add $(conformtest-header-list-tests). If
16416 [$(fast-check) && !$(cross-compiling)], add
16417 $(conformtest-header-tests) instead of
16418 $(objpfx)run-conformtest.out.
16419 (generated): Add $(conformtest-header-list-base). If
16420 [$(fast-check) && !$(cross-compiling)], add
16421 $(conformtest-header-base). Remove previous setting.
16422 ($(conformtest-header-list-tests)): New target.
16423 (test-xfail-run-conformtest): Remove variable.
16424 ($(objpfx)run-conformtest.out): Remove target.
16425 (test-xfail-ISO11/complex.h/conform): New variable.
16426 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16427 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16428 (test-xfail-XPG3/varargs.h/conform): Likewise.
16429 (test-xfail-XPG4/varargs.h/conform): Likewise.
16430 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16431 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16432 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16433 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16434 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16435 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16436 (test-xfail-XPG3/ftw.h/conform): Likewise.
16437 (test-xfail-XPG3/grp.h/conform): Likewise.
16438 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16439 (test-xfail-XPG3/limits.h/conform): Likewise.
16440 (test-xfail-XPG3/pwd.h/conform): Likewise.
16441 (test-xfail-XPG3/search.h/conform): Likewise.
16442 (test-xfail-XPG3/signal.h/conform): Likewise.
16443 (test-xfail-XPG3/stdio.h/conform): Likewise.
16444 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16445 (test-xfail-XPG3/string.h/conform): Likewise.
16446 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16447 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16448 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16449 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16450 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16451 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16452 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16453 (test-xfail-XPG3/termios.h/conform): Likewise.
16454 (test-xfail-XPG3/time.h/conform): Likewise.
16455 (test-xfail-XPG3/unistd.h/conform): Likewise.
16456 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16457 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16458 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16459 (test-xfail-XPG4/netdb.h/conform): Likewise.
16460 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16461 (test-xfail-XPG4/signal.h/conform): Likewise.
16462 (test-xfail-XPG4/stdio.h/conform): Likewise.
16463 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16464 (test-xfail-XPG4/stropts.h/conform): Likewise.
16465 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16466 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16467 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16468 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16469 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16470 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16471 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16472 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16473 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16474 (test-xfail-XPG4/termios.h/conform): Likewise.
16475 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16476 (test-xfail-XPG4/unistd.h/conform): Likewise.
16477 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16478 (test-xfail-POSIX/sched.h/conform): Likewise.
16479 (test-xfail-POSIX/signal.h/conform): Likewise.
16480 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16481 (test-xfail-POSIX/tar.h/conform): Likewise.
16482 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16483 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16484 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16485 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16486 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16487 (test-xfail-UNIX98/sched.h/conform): Likewise.
16488 (test-xfail-UNIX98/signal.h/conform): Likewise.
16489 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16490 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16491 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16492 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16493 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16494 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16495 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16496 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16497 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16498 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16499 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16500 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16501 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16502 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16503 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16504 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16505 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16506 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16507 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16508 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16509 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16510 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16511 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16512 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16513 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16514 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16515 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16516 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16517 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16518 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16519 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16520 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16521 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16522 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16523 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16524 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16525 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16526 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16527 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16528 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16529 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16530 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16531 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16532 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16533 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16534 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16535 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16536 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16537 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16538 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16539 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16540 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16541 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16542 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16543 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16544 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16545 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16546 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16547 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16548 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16549 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16550 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16551 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16552 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16553 (conformtest-cc-flags): Likewise.
16554 ($(conformtest-header-tests): New target.
16555 * conform/check-header-lists.sh: New file.
16556 * conform/run-conformtest.sh: Remove.
16557
a00f522a
JM
16558 * conform/conformtest.pl: Allow ' and \ in values given for
16559 constants.
16560 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16561 inclusion.
16562 [POSIX] (sys/types.h): Likewise.
16563 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16564 inclusion.
16565 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16566 inclusion.
16567 * conform/data/signal.h-data (SIGIO): Remove expectation.
16568 [XPG3] (SIGBUS): Do not expect.
16569 [POSIX || XPG3] (SIGPOLL): Likewise.
16570 [POSIX || XPG3] (SIGPROF): Likewise.
16571 [POSIX || XPG3] (SIGSYS): Likewise.
16572 [XPG3] (SIGTRAP): Likewise.
16573 [POSIX || XPG3] (SIGURG): Likewise.
16574 [POSIX || XPG3] (SIGVTALRM): Likewise.
16575 [POSIX || XPG3] (SIGXCPU): Likewise.
16576 [POSIX || XPG3] (SIGXFSZ): Likewise.
16577 [POSIX] (SA_SIGINFO): Expect.
16578 [XPG3] (siginfo_t): Do not expect type or contents.
16579 [POSIX] (si_pid): Do not expect element.
16580 [POSIX] (si_uid): Likewise.
16581 [POSIX] (si_addr): Likewise.
16582 [POSIX] (si_status): Likewise.
16583 [POSIX] (si_band): Likewise.
16584 [XPG4] (si_value): Likewise.
16585 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16586 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16587 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16588 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16589 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16590 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16591 [POSIX || XPG3] (ILL_COPROC): Likewise.
16592 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16593 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16594 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16595 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16596 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16597 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16598 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16599 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16600 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16601 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16602 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16603 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16604 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16605 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16606 [POSIX || XPG3] (CLD_EXITED): Likewise.
16607 [POSIX || XPG3] (CLD_KILLED): Likewise.
16608 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16609 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16610 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16611 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16612 [POSIX || XPG3] (POLL_IN): Likewise.
16613 [POSIX || XPG3] (POLL_OUT): Likewise.
16614 [POSIX || XPG3] (POLL_MSG): Likewise.
16615 [POSIX || XPG3] (POLL_ERR): Likewise.
16616 [POSIX || XPG3] (POLL_PRI): Likewise.
16617 [POSIX || XPG3] (POLL_HUP): Likewise.
16618 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16619 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16620 (SIG*): Do not allow.
16621 [XPG3] (si_*): Likewise.
16622 [XPG3] (SI_*): Likewise.
16623 [XPG3 || XPG4] (sigev_*): Likewise.
16624 [XPG3 || XPG4] (SIGEV_*): Likewise.
16625 [XPG3 || XPG4] (sival_*): Likewise.
16626 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16627 [POSIX || XPG3] (BUS_*): Likewise.
16628 [POSIX || XPG3] (CLD_*): Likewise.
16629 [POSIX || XPG3] (FPE_*): Likewise.
16630 [POSIX || XPG3] (ILL_*): Likewise.
16631 [POSIX || XPG3] (POLL_*): Likewise.
16632 [POSIX || XPG3] (SEGV_*): Likewise.
16633 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16634 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16635 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16636 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16637 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16638 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16639 Specify type and value.
16640 (TVERSLEN): Likewise.
16641 (REGTYPE): Likewise.
16642 (AREGTYPE): Likewise.
16643 (LNKTYPE): Likewise.
16644 (SYMTYPE): Likewise.
16645 (CHRTYPE): Likewise.
16646 (BLKTYPE): Likewise.
16647 (DIRTYPE): Likewise.
16648 (FIFOTYPE): Likewise.
16649 (CONTTYPE): Likewise.
16650 (TSUID): Likewise.
16651 (TSGID): Likewise.
16652 (TSVTX): Likewise.
16653 (TUREAD): Likewise.
16654 (TUWRITE): Likewise.
16655 (TUEXEC): Likewise.
16656 (TGREAD): Likewise.
16657 (TGWRITE): Likewise.
16658 (TGEXEC): Likewise.
16659 (TOREAD): Likewise.
16660 (TOWRITE): Likewise.
16661 (TOEXEC): Likewise.
16662 [POSIX] (TSVTX): Expect constant.
16663
aa97dee1
JM
166642014-03-06 Joseph Myers <joseph@codesourcery.com>
16665
f214606a
JM
16666 * Makefile (tests): Change dependencies to ....
16667 (tests-special): ... additions to this variable.
16668 (tests): Depend on $(tests-special).
16669 * Makerules (check-abi-list): New variable.
16670 (check-abi): Depend on $(check-abi-list).
16671 [$(subdir) = elf] (tests-special): Add
16672 $(objpfx)check-abi-libc.out.
16673 [$(build-shared) = yes && subdir] (tests-special): Add
16674 $(check-abi-list).
16675 [$(build-shared) = yes && subdir] (tests): Do not depend on
16676 check-abi.
16677 * Rules (tests): Depend on $(tests-special).
16678 (xtests): Depend on $(xtests-special).
16679 * catgets/Makefile (tests): Change dependencies to ....
16680 (tests-special): ... additions to this variable.
16681 * conform/Makefile (tests): Change dependencies to ....
16682 (tests-special): ... additions to this variable.
16683 * elf/Makefile (tests): Change dependencies to ....
16684 (tests-special): ... additions to this variable.
16685 * grp/Makefile (tests): Change dependencies to ....
16686 (tests-special): ... additions to this variable.
16687 * iconv/Makefile (xtests): Change dependencies to ....
16688 (xtests-special): ... additions to this variable.
16689 * iconvdata/Makefile (tests): Change dependencies to ....
16690 (tests-special): ... additions to this variable.
16691 * intl/Makefile (tests): Change dependencies to ....
16692 (tests-special): ... additions to this variable. Also add
16693 $(objpfx)tst-gettext.out.
16694 * io/Makefile (tests): Change dependencies to ....
16695 (tests-special): ... additions to this variable.
16696 * libio/Makefile (tests): Change dependencies to ....
16697 (tests-special): ... additions to this variable.
16698 * malloc/Makefile (tests): Change dependencies to ....
16699 (tests-special): ... additions to this variable.
16700 * misc/Makefile (tests): Change dependencies to ....
16701 (tests-special): ... additions to this variable.
16702 * nptl/Makefile (tests): Change dependencies to ....
16703 (tests-special): ... additions to this variable.
16704 * nptl_db/Makefile (tests): Change dependencies to ....
16705 (tests-special): ... additions to this variable.
16706 * posix/Makefile (tests): Change dependencies to ....
16707 (tests-special): ... additions to this variable.
16708 (xtests): Change dependencies to ....
16709 (xtests-special): ... additions to this variable.
16710 * resolv/Makefile (tests): Change dependencies to ....
16711 (tests-special): ... additions to this variable.
16712 (xtests): Change dependencies to ....
16713 (xtests-special): ... additions to this variable.
16714 * stdio-common/Makefile (tests): Change dependencies to ....
16715 (tests-special): ... additions to this variable.
16716 (do-tst-unbputc): Remove target.
16717 (do-tst-printf): Likewise.
16718 * stdlib/Makefile (tests): Change dependencies to ....
16719 (tests-special): ... additions to this variable.
16720 * string/Makefile (tests): Change dependencies to ....
16721 (tests-special): ... additions to this variable.
16722 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16723 (tests-special): ... additions to this variable.
16724
81700b53
JM
16725 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16726 whole file.
16727 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16728 whole file.
16729 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16730 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16731
2ea18461
JM
16732 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16733 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16734 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16735 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16736 * conform/data/libgen.h-data [XPG3]: Likewise.
16737 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16738 * conform/data/ndbm.h-data [XPG3]: Likewise.
16739 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16740 * conform/data/netdb.h-data [XPG3]: Likewise.
16741 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16742 * conform/data/poll.h-data [XPG3]: Likewise.
16743 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16744 * conform/data/strings.h-data [XPG3]: Likewise.
16745 * conform/data/stropts.h-data [XPG3]: Likewise.
16746 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16747 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16748 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16749 Likewise.
16750 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16751 * conform/data/sys/time.h-data [XPG3]: Likewise.
16752 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16753 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16754 * conform/data/sys/un.h-data [XPG3]: Likewise.
16755 * conform/data/syslog.h-data [XPG3]: Likewise.
16756 * conform/data/ucontext.h-data [XPG3]: Likewise.
16757 * conform/data/utmpx.h-data [XPG3]: Likewise.
16758 * conform/data/varargs.h-data [UNIX98]: Enable file.
16759
355bc986
JM
16760 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16761
215db402
JM
16762 * math/libm-test.inc (struct test_f_f_data): Move expected results
16763 into structure for each rounding mode.
16764 (struct test_ff_f_data): Likewise.
16765 (struct test_ff_f_data_nexttoward): Likewise.
16766 (struct test_fi_f_data): Likewise.
16767 (struct test_fl_f_data): Likewise.
16768 (struct test_if_f_data): Likewise.
16769 (struct test_fff_f_data): Likewise.
16770 (struct test_c_f_data): Likewise.
16771 (struct test_f_f1_data): Likewise.
16772 (struct test_fF_f1_data): Likewise.
16773 (struct test_ffI_f1_data): Likewise.
16774 (struct test_c_c_data): Likewise.
16775 (struct test_cc_c_data): Likewise.
16776 (struct test_f_i_data): Likewise.
16777 (struct test_ff_i_data): Likewise.
16778 (struct test_f_l_data): Likewise.
16779 (struct test_f_L_data): Likewise.
16780 (struct test_fFF_11_data): Likewise.
16781 (RM_): New macro.
16782 (RM_FE_DOWNWARD): Likewise.
16783 (RM_FE_TONEAREST): Likewise.
16784 (RM_FE_TOWARDZERO): Likewise.
16785 (RM_FE_UPWARD): Likewise.
16786 (RUN_TEST_LOOP_f_f): Update references to expected results.
16787 (RUN_TEST_LOOP_2_f): Likewise.
16788 (RUN_TEST_LOOP_fff_f): Likewise.
16789 (RUN_TEST_LOOP_c_f): Likewise.
16790 (RUN_TEST_LOOP_f_f1): Likewise.
16791 (RUN_TEST_LOOP_fF_f1): Likewise.
16792 (RUN_TEST_LOOP_fI_f1): Likewise.
16793 (RUN_TEST_LOOP_ffI_f1): Likewise.
16794 (RUN_TEST_LOOP_c_c): Likewise.
16795 (RUN_TEST_LOOP_cc_c): Likewise.
16796 (RUN_TEST_LOOP_f_i): Likewise.
16797 (RUN_TEST_LOOP_f_i_tg): Likewise.
16798 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16799 (RUN_TEST_LOOP_f_b): Likewise.
16800 (RUN_TEST_LOOP_f_b_tg): Likewise.
16801 (RUN_TEST_LOOP_f_l): Likewise.
16802 (RUN_TEST_LOOP_f_L): Likewise.
16803 (RUN_TEST_LOOP_fFF_11): Likewise.
16804 * math/gen-libm-test.pl (parse_args): Output four copies of
16805 expected results for each test.
16806
67737b8f
JM
16807 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16808 (__ASSUME_UTIMES): Remove.
16809 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16810 (__ASSUME_UTIMES): Likewise.
16811
aa97dee1
JM
16812 * math/gen-auto-libm-tests.c: Update comment on output format.
16813 (output_for_one_input_case): Generate before-rounding and
16814 after-rounding information as conditions on output flags not
16815 floating-point format.
16816 * math/auto-libm-test-out: Regenerated.
16817 * math/gen-libm-test.pl (cond_value): New function.
16818 (or_cond_value): Use cond_value.
16819 (generate_testfile): Handle conditional exceptions.
16820
e6b6a857
JM
168212014-03-05 Joseph Myers <joseph@codesourcery.com>
16822
2f0a0f44
JM
16823 * math/libm-test.inc (max_valid_error): New variable.
16824 (init_max_error): Take new argument specifying whether function
16825 results are exactly determined. Set max_valid_error and bound
16826 other variables for errors based on this argument.
16827 (set_max_error): Do not record results above max_valid_error.
16828 (check_float_internal): Only accept errors of up to 0.5ulps if
16829 also at most max_valid_error.
16830 (START): Take new argument EXACT and pass it to init_max_error.
16831 (acos_test): Update call to START.
16832 (acos_test_tonearest): Likewise.
16833 (acos_test_towardzero): Likewise.
16834 (acos_test_downward): Likewise.
16835 (acos_test_upward): Likewise.
16836 (acosh_test): Likewise.
16837 (asin_test): Likewise.
16838 (asin_test_tonearest): Likewise.
16839 (asin_test_towardzero): Likewise.
16840 (asin_test_downward): Likewise.
16841 (asin_test_upward): Likewise.
16842 (asinh_test): Likewise.
16843 (atan_test): Likewise.
16844 (atanh_test): Likewise.
16845 (atan2_test): Likewise.
16846 (cabs_test): Likewise.
16847 (cacos_test): Likewise.
16848 (cacosh_test): Likewise.
16849 (carg_test): Likewise.
16850 (casin_test): Likewise.
16851 (casinh_test): Likewise.
16852 (catan_test): Likewise.
16853 (catanh_test): Likewise.
16854 (cbrt_test): Likewise.
16855 (ccos_test): Likewise.
16856 (ccosh_test): Likewise.
16857 (ceil_test): Likewise.
16858 (cexp_test): Likewise.
16859 (cimag_test): Likewise.
16860 (clog_test): Likewise.
16861 (clog10_test): Likewise.
16862 (conj_test): Likewise.
16863 (copysign_test): Likewise.
16864 (cos_test): Likewise.
16865 (cos_test_tonearest): Likewise.
16866 (cos_test_towardzero): Likewise.
16867 (cos_test_downward): Likewise.
16868 (cos_test_upward): Likewise.
16869 (cosh_test): Likewise.
16870 (cosh_test_tonearest): Likewise.
16871 (cosh_test_towardzero): Likewise.
16872 (cosh_test_downward): Likewise.
16873 (cosh_test_upward): Likewise.
16874 (cpow_test): Likewise.
16875 (cproj_test): Likewise.
16876 (creal_test): Likewise.
16877 (csin_test): Likewise.
16878 (csinh_test): Likewise.
16879 (csqrt_test): Likewise.
16880 (ctan_test): Likewise.
16881 (ctan_test_tonearest): Likewise.
16882 (ctan_test_towardzero): Likewise.
16883 (ctan_test_downward): Likewise.
16884 (ctan_test_upward): Likewise.
16885 (ctanh_test): Likewise.
16886 (ctanh_test_tonearest): Likewise.
16887 (ctanh_test_towardzero): Likewise.
16888 (ctanh_test_downward): Likewise.
16889 (ctanh_test_upward): Likewise.
16890 (erf_test): Likewise.
16891 (erfc_test): Likewise.
16892 (exp_test): Likewise.
16893 (exp_test_tonearest): Likewise.
16894 (exp_test_towardzero): Likewise.
16895 (exp_test_downward): Likewise.
16896 (exp_test_upward): Likewise.
16897 (exp10_test): Likewise.
16898 (exp10_test_tonearest): Likewise.
16899 (exp10_test_towardzero): Likewise.
16900 (exp10_test_downward): Likewise.
16901 (exp10_test_upward): Likewise.
16902 (pow10_test): Likewise.
16903 (exp2_test): Likewise.
16904 (expm1_test): Likewise.
16905 (expm1_test_tonearest): Likewise.
16906 (expm1_test_towardzero): Likewise.
16907 (expm1_test_downward): Likewise.
16908 (expm1_test_upward): Likewise.
16909 (fabs_test): Likewise.
16910 (fdim_test): Likewise.
16911 (floor_test): Likewise.
16912 (fma_test): Likewise.
16913 (fma_test_towardzero): Likewise.
16914 (fma_test_downward): Likewise.
16915 (fma_test_upward): Likewise.
16916 (fmax_test): Likewise.
16917 (fmin_test): Likewise.
16918 (fmod_test): Likewise.
16919 (fpclassify_test): Likewise.
16920 (frexp_test): Likewise.
16921 (hypot_test): Likewise.
16922 (ilogb_test): Likewise.
16923 (isfinite_test): Likewise.
16924 (finite_test): Likewise.
16925 (isgreater_test): Likewise.
16926 (isgreaterequal_test): Likewise.
16927 (isinf_test): Likewise.
16928 (isless_test): Likewise.
16929 (islessequal_test): Likewise.
16930 (islessgreater_test): Likewise.
16931 (isnan_test): Likewise.
16932 (isnormal_test): Likewise.
16933 (issignaling_test): Likewise.
16934 (isunordered_test): Likewise.
16935 (j0_test): Likewise.
16936 (j1_test): Likewise.
16937 (jn_test): Likewise.
16938 (ldexp_test): Likewise.
16939 (lgamma_test): Likewise.
16940 (gamma_test): Likewise.
16941 (lrint_test): Likewise.
16942 (lrint_test_tonearest): Likewise.
16943 (lrint_test_towardzero): Likewise.
16944 (lrint_test_downward): Likewise.
16945 (lrint_test_upward): Likewise.
16946 (llrint_test): Likewise.
16947 (llrint_test_tonearest): Likewise.
16948 (llrint_test_towardzero): Likewise.
16949 (llrint_test_downward): Likewise.
16950 (llrint_test_upward): Likewise.
16951 (log_test): Likewise.
16952 (log10_test): Likewise.
16953 (log1p_test): Likewise.
16954 (log2_test): Likewise.
16955 (logb_test): Likewise.
16956 (logb_test_downward): Likewise.
16957 (lround_test): Likewise.
16958 (llround_test): Likewise.
16959 (modf_test): Likewise.
16960 (nearbyint_test): Likewise.
16961 (nextafter_test): Likewise.
16962 (nexttoward_test): Likewise.
16963 (pow_test): Likewise.
16964 (pow_test_tonearest): Likewise.
16965 (pow_test_towardzero): Likewise.
16966 (pow_test_downward): Likewise.
16967 (pow_test_upward): Likewise.
16968 (remainder_test): Likewise.
16969 (drem_test): Likewise.
16970 (remainder_test_tonearest): Likewise.
16971 (drem_test_tonearest): Likewise.
16972 (remainder_test_towardzero): Likewise.
16973 (drem_test_towardzero): Likewise.
16974 (remainder_test_downward): Likewise.
16975 (drem_test_downward): Likewise.
16976 (remainder_test_upward): Likewise.
16977 (drem_test_upward): Likewise.
16978 (remquo_test): Likewise.
16979 (rint_test): Likewise.
16980 (rint_test_tonearest): Likewise.
16981 (rint_test_towardzero): Likewise.
16982 (rint_test_downward): Likewise.
16983 (rint_test_upward): Likewise.
16984 (round_test): Likewise.
16985 (scalb_test): Likewise.
16986 (scalbn_test): Likewise.
16987 (scalbln_test): Likewise.
16988 (signbit_test): Likewise.
16989 (sin_test): Likewise.
16990 (sin_test_tonearest): Likewise.
16991 (sin_test_towardzero): Likewise.
16992 (sin_test_downward): Likewise.
16993 (sin_test_upward): Likewise.
16994 (sincos_test): Likewise.
16995 (sinh_test): Likewise.
16996 (sinh_test_tonearest): Likewise.
16997 (sinh_test_towardzero): Likewise.
16998 (sinh_test_downward): Likewise.
16999 (sinh_test_upward): Likewise.
17000 (sqrt_test): Likewise.
17001 (sqrt_test_tonearest): Likewise.
17002 (sqrt_test_towardzero): Likewise.
17003 (sqrt_test_downward): Likewise.
17004 (sqrt_test_upward): Likewise.
17005 (tan_test): Likewise.
17006 (tan_test_tonearest): Likewise.
17007 (tan_test_towardzero): Likewise.
17008 (tan_test_downward): Likewise.
17009 (tan_test_upward): Likewise.
17010 (tanh_test): Likewise.
17011 (tgamma_test): Likewise.
17012 (trunc_test): Likewise.
17013 (y0_test): Likewise.
17014 (y1_test): Likewise.
17015 (yn_test): Likewise.
17016 (significand_test): Likewise.
17017
e6b6a857
JM
17018 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17019 individual tests in comment.
17020 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17021 (prev_max_error): New variable.
17022 (prev_real_max_error): Likewise.
17023 (prev_imag_max_error): Likewise.
17024 (compare_ulp_data): Don't refer to test names in comment.
17025 (find_test_ulps): Remove function.
17026 (find_function_ulps): Likewise.
17027 (find_complex_function_ulps): Likewise.
17028 (init_max_error): Take function name as argument. Look up ulps
17029 for that function.
17030 (print_ulps): Remove function.
17031 (print_max_error): Use prev_max_error instead of calling
17032 find_function_ulps.
17033 (print_complex_max_error): Use prev_real_max_error and
17034 prev_imag_max_error instead of calling find_complex_function_ulps.
17035 (check_float_internal): Take max_ulp parameter instead of calling
17036 find_test_ulps. Don't call print_ulps.
17037 (check_float): Update call to check_float_internal.
17038 (check_complex): Update calls to check_float_internal.
17039 (START): Pass argument to init_max_error.
17040 * math/gen-libm-test.pl (%results): Don't include "kind"
17041 information.
17042 (parse_ulps): Don't handle ulps of individual tests.
17043 (print_ulps_file): Likewise.
17044 (output_ulps): Likewise.
17045 * math/README.libm-test: Update.
17046 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17047 individual tests.
17048 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17049 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17050 * sysdeps/arm/libm-test-ulps: Likewise.
17051 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17052 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17053 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17054 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17055 * sysdeps/microblaze/libm-test-ulps: Likewise.
17056 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17057 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17058 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17059 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17060 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17061 * sysdeps/sh/libm-test-ulps: Likewise.
17062 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17063 * sysdeps/tile/libm-test-ulps: Likewise.
17064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17065
45adef3c
JM
170662014-03-04 Joseph Myers <joseph@codesourcery.com>
17067
17068 * math/libm-test.inc (print_complex_max_error): Check separately
17069 whether real and imaginary errors are within allowed range and
17070 pass 0 to print_complex_function_ulps instead of value within
17071 allowed range.
17072
000232b9
SP
170732014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17074
d4b17258
SP
17075 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17076 formatting.
17077 (get_handles_fopen): Likewise.
17078 (do_write_test): Likewise.
17079
091eff71
SP
17080 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17081
fa3cd248
SP
17082 * libio/fileops.c (do_ftell): Use cached offset when
17083 available.
17084 * libio/iofwide.c (do_ftell_wide): Likewise.
17085 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17086 _IO_file_attach.
17087 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17088
000232b9
SP
17089 [BZ #16532]
17090 * libio/libioP.h (get_file_offset): New function.
17091 * libio/fileops.c (get_file_offset): Likewise.
17092 (do_ftell): Likewise.
17093 (_IO_new_file_seekoff): Split out ftell logic.
17094 * libio/wfileops.c (do_ftell_wide): Likewise.
17095 (_IO_wfile_seekoff): Split out ftell logic.
17096 * libio/tst-ftell-active-handler.c: New test case.
17097 * libio/Makefile (tests): Add it.
17098
116f4d1a
RM
170992014-03-03 Roland McGrath <roland@hack.frob.com>
17100
17101 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17102 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17103
532a6035
SP
171042014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17105
17106 [BZ #16639]
17107 * nscd/connections.c (nscd_init): Call do_exit.
17108 (start_threads): Call do_exit and notify_parent.
17109 (begin_drop_privileges): Call do_exit.
17110 (finish_drop_privileges): Likewise.
17111 * nscd/selinux.c (preserve_capabilities): Likewise.
17112 (install_real_capabilities): Likewise.
17113 (nscd_selinux_enabled): Likewise.
17114 (avc_create_thread): Likewise.
17115 (avc_alloc_lock): Likewise.
17116 (nscd_avc_init): Likewise.
17117 * nscd/nscd.c (parent_fd): New static variable.
17118 (main): Create a pipe between parent and child processes.
17119 Skip closing parent_fd.
17120 (monitor_child): New function.
17121 (do_exit): Likewise.
17122 (notify_parent): Likewise.
17123 * nscd/nscd.h (notify_parent): Likewise.
17124 (do_exit): Likewise.
17125
d6285c9f
CD
171262014-03-03 Carlos O'Donell <carlos@redhat.com>
17127
17128 * malloc/malloc.c (__libc_calloc): Revert last change.
17129
2b85d2a0
AZ
171302014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17131
17132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17133
c7debbdf
RS
171342014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17135
17136 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17138 implementation.
17139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17140 (__libc_ifunc_impl_list): Likewise.
17141 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17142 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17143 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17144 * string/strrchr.c: Define STRRCHR.
17145
235eed86
OB
171462014-02-28 Ondřej Bílka <neleai@seznam.cz>
17147
17148 * benchtest/bench-strtok.c (simple_strtok): Delete.
17149 (strtok_string): Use as benchmark.
17150 * string/strtok (STRTOK): New macro.
17151
8e25d1e7
CD
171522014-02-28 Carlos O'Donell <carlos@redhat.com>
17153
ef563f92
CD
17154 * manual/threads.texi: Add header and standard comments to all
17155 functions.
17156
8e25d1e7
CD
17157 * elf/dl-lookup.c (check_match): New function.
17158 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17159 (do_lookup_x): Remove nested function check_match. Use non-nested
17160 function check_match.
17161
ff71cc37
RM
171622014-02-28 Roland McGrath <roland@hack.frob.com>
17163
f08e9a26
RM
17164 * csu/Makefile (generated, before-compile): Use += rather than =.
17165 * catgets/Makefile (generated, generated-dirs): Likewise.
17166 * debug/Makefile (generated): Likewise.
17167 * dlfcn/Makefile (generated): Likewise.
17168 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17169 * iconvdata/Makefile (before-compile, generated): Likewise.
17170 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17171 * libio/Makefile (generated): Likewise.
17172 * malloc/Makefile (generated): Likewise.
17173 * manual/Makefile (generated, generated-dirs): Likewise.
17174 * misc/Makefile (generated): Likewise.
17175 * posix/Makefile (generated): Likewise.
17176 * resolv/Makefile (generated): Likewise.
17177 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17178 * timezone/Makefile (generated, generated-dirs): Likewise.
17179
ff71cc37
RM
17180 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17181
fe13a20c
AZ
171822014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17183
57f41c40
AS
17184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17185 power8 implementation.
17186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17187 file: POWER8 llround ifunc implementation.
17188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17189 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17190 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17191 POWER8 llround implementation.
17192
57f41c40
AS
17193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17194 power8 implementation.
17195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17196 file: POWER8 llrint ifunc implementation.
17197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17198 Add POWER8 implementation.
1ad8950a
AZ
17199 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17200 POWER8 llrint implementation.
17201
57f41c40
AS
17202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17203 power8 implementation.
17204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17205 file: POWER8 finite ifunc implementation.
17206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17207 Add POWER8 implementation.
cac626d6
AZ
17208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17209 Likewise.
17210 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17211 POWER8 finite implementation.
17212 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17213
57f41c40
AS
17214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17215 power8 implementation.
17216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17217 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17219 POWER8 implementation.
17220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17221 Likewise.
57f41c40
AS
17222 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17223 isinf implementation.
4393fc11
AZ
17224 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17225
57f41c40
AS
17226 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17227 (INIT_ARCH): Add hwcap2 initialization.
17228 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17229 power8 implementation.
17230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17231 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17233 POWER8 implementation.
17234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17235 Likewise.
57f41c40
AS
17236 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17237 isnan implementation.
487972ae
AZ
17238 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17239
7d92b787
JY
172402014-02-27 Joey Ye <joey.ye@arm.com>
17241
17242 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17243 (_FP_NANFRAC_Q): Set to zero.
17244
1cadc858
SP
172452014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17246
17247 [BZ #16623]
17248 * math/auto-libm-test-in: New test inputs.
17249 * math/auto-libm-test-out: Regenerate.
17250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17251 and DA.
17252 (__cos): Likewise.
17253 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17254
f8c17e79
JM
172552014-02-27 Joseph Myers <joseph@codesourcery.com>
17256
17257 * scripts/evaluate-test.sh: Take new argument indicating whether
17258 failure is expected.
17259 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17260 indicating whether failure is expected.
17261 * conform/Makefile (test-xfail-run-conformtest): New variable.
17262 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17263 level.
17264 * posix/Makefile (test-xfail-annexc): New variable.
17265 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17266
a5f891ac
JM
172672014-02-26 Joseph Myers <joseph@codesourcery.com>
17268
17269 * argp/Makefile: Include Makeconfig immediately after defining
17270 subdir.
17271 * assert/Makefile: Likewise.
17272 * benchtests/Makefile: Likewise.
17273 * catgets/Makefile: Likewise.
17274 * conform/Makefile: Likewise.
17275 * crypt/Makefile: Likewise.
17276 * csu/Makefile: Likewise.
17277 (all): Remove target.
17278 * ctype/Makefile: Include Makeconfig immediately after defining
17279 subdir.
17280 * debug/Makefile: Likewise.
17281 * dirent/Makefile: Likewise.
17282 * dlfcn/Makefile: Likewise.
17283 * gmon/Makefile: Likewise.
17284 * gnulib/Makefile: Likewise.
17285 * grp/Makefile: Likewise.
17286 * gshadow/Makefile: Likewise.
17287 * hesiod/Makefile: Likewise.
17288 * hurd/Makefile: Likewise.
17289 (all): Remove target.
17290 * iconvdata/Makefile: Include Makeconfig immediately after
17291 defining subdir.
17292 * inet/Makefile: Likewise.
17293 * intl/Makefile: Likewise.
17294 * io/Makefile: Likewise.
17295 * libio/Makefile: Likewise.
17296 (all): Remove target.
17297 * locale/Makefile: Include Makeconfig immediately after defining
17298 subdir.
17299 * login/Makefile: Likewise.
17300 * mach/Makefile: Likewise.
17301 (all): Remove target.
17302 * malloc/Makefile: Include Makeconfig immediately after defining
17303 subdir.
17304 (all): Remove target.
17305 * manual/Makefile: Include Makeconfig immediately after defining
17306 subdir.
17307 * math/Makefile: Likewise.
17308 * misc/Makefile: Likewise.
17309 * nis/Makefile: Likewise.
17310 * nss/Makefile: Likewise.
17311 * po/Makefile: Likewise.
17312 (all): Remove target.
17313 * posix/Makefile: Include Makeconfig immediately after defining
17314 subdir.
17315 * pwd/Makefile: Likewise.
17316 * resolv/Makefile: Likewise.
17317 * resource/Makefile: Likewise.
17318 * rt/Makefile: Likewise.
17319 * setjmp/Makefile: Likewise.
17320 * shadow/Makefile: Likewise.
17321 * signal/Makefile: Likewise.
17322 * socket/Makefile: Likewise.
17323 * soft-fp/Makefile: Likewise.
17324 * stdio-common/Makefile: Likewise.
17325 * stdlib/Makefile: Likewise.
17326 * streams/Makefile: Likewise.
17327 * string/Makefile: Likewise.
17328 * sunrpc/Makefile: Likewise.
17329 (all): Remove target.
17330 * sysvipc/Makefile: Include Makeconfig immediately after defining
17331 subdir.
17332 * termios/Makefile: Likewise.
17333 * time/Makefile: Likewise.
17334 * timezone/Makefile: Likewise.
17335 (all): Remove target.
17336 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17337 subdir.
17338 * wctype/Makefile: Likewise.
17339
5b456e9d
SE
173402014-02-26 Steve Ellcey <sellcey@mips.com>
17341
17342 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17343 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17344 (libc_feholdexcept_setround_mips): Ditto.
17345 (libc_feholdsetround): New.
17346 (libc_feholdsetroundf): New.
17347 (libc_feholdsetroundl): New.
17348 (libc_feupdateenv_test_mips): New.
17349 (libc_feupdateenv_test): New.
17350 (libc_feupdateenv_testf): New.
17351 (libc_feupdateenv_testl): New.
17352 (libc_feresetround): New.
17353 (libc_feresetroundf): New.
17354 (libc_feresetroundl): New.
17355 (libc_fetestexcept_mips): New.
17356 (libc_fetestexcept): New.
17357 (libc_fetestexceptf): New.
17358 (libc_fetestexceptl): New.
17359 (HAVE_RM_CTX): New.
17360 (libc_feholdexcept_setround_mips_ctx): New.
17361 (libc_feholdexcept_setround_ctx): New.
17362 (libc_feholdexcept_setroundf_ctx): New.
17363 (libc_feholdexcept_setroundl_ctx): New.
17364 (libc_fesetenv_mips_ctx): New.
17365 (libc_fesetenv_ctx): New.
17366 (libc_fesetenv_ctxf): New.
17367 (libc_fesetenv_ctxl): New.
17368 (libc_feupdateenv_mips_ctx): New.
17369 (libc_feupdateenv_ctx): New.
17370 (libc_feupdateenvf_ctx): New.
17371 (libc_feupdateenvl_ctx): New.
17372 (libc_feholdsetround_mips_ctx): New.
17373 (libc_feholdsetround_ctx): New.
17374 (libc_feholdsetroundf_ctx): New.
17375 (libc_feholdsetroundl_ctx): New.
17376 (libc_feresetround_mips_ctx): New.
17377 (libc_feresetround_ctx): New.
17378 (libc_feresetroundf_ctx): New.
17379 (libc_feresetroundl_ctx): New.
17380
085d0e35
CD
173812014-02-26 Carlos O'Donell <carlos@redhat.com>
17382
f067bf1f
CD
17383 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17384
085d0e35
CD
17385 * manual/ipc.texi: New file.
17386 * manual/Makefile (chapters): Add ipc.
17387 * manual/job.texi: Add "Inter-Process Communication" to next.
17388 * manual/process.texi: Add "Inter-Process Communication" to prev.
17389
86e58c08
AZ
173902014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17391
17392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17393
4248f0da
OB
173942014-02-26 Ondřej Bílka <neleai@seznam.cz>
17395
17396 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17397
cf822e3c
OB
17398 * manual/arith.texi: Fix spaces after sentences.
17399 * manual/charset.texi: Likewise.
17400 * manual/errno.texi: Likewise.
17401 * manual/install.texi: Likewise.
17402 * manual/llio.texi: Likewise.
17403 * manual/locale.texi: Likewise.
17404 * manual/maint.texi: Likewise.
17405 * manual/math.texi: Likewise.
17406 * manual/memory.texi: Likewise.
17407 * manual/message.texi: Likewise.
17408 * manual/probes.texi: Likewise.
17409 * manual/resource.texi: Likewise.
17410 * manual/signal.texi: Likewise.
17411 * manual/socket.texi: Likewise.
17412 * manual/stdio.texi: Likewise.
17413 * manual/string.texi: Likewise.
17414 * manual/time.texi: Likewise.
17415 * manual/users.texi: Likewise.
17416
ade40b10
CD
174172014-02-25 Carlos O'Donell <carlos@redhat.com>
17418
17419 [BZ #16632]
17420 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17421 _DEFAULT_SOURCE is defined.
17422
d0503676
CD
174232014-02-25 Ulrich Drepper <drepper@gmail.com>
17424 Carlos O'Donell <carlos@redhat.com>
17425
17426 [BZ #16613]
17427 * elf/dl-tls.c (_dl_count_modids): New function.
17428 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17429 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17430 audit library and increment generation counter.
17431 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17432 * elf/tst-audit9.c: New file.
17433 * elf/tst-auditmod9a.c: New file.
17434 * elf/tst-auditmod9b.c: New file.
17435 * elf/Makefile: Add rules to build and run tst-audit9.
17436
4cbf380c
FW
174372014-02-25 Florian Weimer <fweimer@redhat.com>
17438
17439 [BZ #15347]
17440 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17441
80a56cc3
WN
174422014-02-25 Will Newton <will.newton@linaro.org>
17443
17444 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17445 (__longjmp): Restore sp and lr before restoring callee
17446 saved registers. Add longjmp and longjmp_target
17447 SystemTap probe point.
17448 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17449 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17450 Define to zero to match jmpbuf layout.
17451 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17452 (__sigsetjmp): Save sp and lr before saving callee
17453 saved registers. Add setjmp SystemTap probe point.
17454
3ea0f74e
SL
174552014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17456
17457 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17458
b04acb26
AS
174592014-02-24 Andreas Schwab <schwab@suse.de>
17460
17461 [BZ #15804]
17462 * elf/pldd.c (wait_for_ptrace_stop): New function.
17463 (main): Call it after attaching.
17464
098ad55c
RM
174652014-02-22 Roland McGrath <roland@hack.frob.com>
17466
d4ec6ae1
RM
17467 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17468 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17469 Versions files is now verboten.
17470 * hurd/Versions (libc: GLIBC_2.0):
17471 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17472 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17473 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17474 * mach/Versions: Likewise.
17475
098ad55c
RM
17476 * csu/Versions: Remove unused %include.
17477 * resolv/Versions: Likewise.
17478
acd7f096
JM
174792014-02-21 Joseph Myers <joseph@codesourcery.com>
17480
f0881698
JM
17481 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17482 ($(objpfx)check-local-headers.out): Likewise.
17483 ($(objpfx)begin-end-check.out): Likewise.
17484 * Makerules (check-abi-%.out): Likewise.
17485 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17486 ($(objpfx)test2.cat): Likewise.
17487 ($(objpfx)de/libc.cat): Likewise.
17488 ($(objpfx)test-gencat.out): Likewise.
17489 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17490 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17491 ($(objpfx)noload-mem): Likewise.
17492 ($(objpfx)tst-pathopt.out): Likewise.
17493 ($(objpfx)tst-rtld-load-self.out): Likewise.
17494 ($(objpfx)tst-array1-cmp.out): Likewise.
17495 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17496 ($(objpfx)tst-array2-cmp.out): Likewise.
17497 ($(objpfx)tst-array3-cmp.out): Likewise.
17498 ($(objpfx)tst-array4-cmp.out): Likewise.
17499 ($(objpfx)tst-array5-cmp.out): Likewise.
17500 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17501 ($(objpfx)check-textrel.out): Likewise.
17502 ($(objpfx)check-execstack.out): Likewise.
17503 ($(objpfx)check-localplt.out): Likewise.
17504 ($(objpfx)order2-cmp.out): Likewise.
17505 ($(objpfx)tst-leaks1-mem): Likewise.
17506 ($(objpfx)tst-leaks1-static-mem): Likewise.
17507 ($(objpfx)tst-initorder-cmp.out): Likewise.
17508 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17509 ($(objpfx)tst-unused-dep.out): Likewise.
17510 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17511 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17512 * iconv/Makefile (test-iconvconfig): Likewise.
17513 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17514 ($(objpfx)iconv-test.out): Likewise.
17515 ($(objpfx)tst-tables.out): Likewise.
17516 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17517 ($(objpfx)tst-gettext.out): Likewise.
17518 ($(objpfx)tst-translit.out): Likewise.
17519 ($(objpfx)tst-gettext2.out): Likewise.
17520 ($(objpfx)tst-gettext4.out): Likewise.
17521 ($(objpfx)tst-gettext6.out): Likewise.
17522 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17523 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17524 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17525 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17526 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17527 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17528 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17529 ($(objpfx)wordexp-tst.out): Likewise.
17530 ($(objpfx)annexc.out): Likewise.
17531 ($(objpfx)tst-fnmatch-mem): Likewise.
17532 ($(objpfx)bug-regex2-mem): Likewise.
17533 ($(objpfx)bug-regex14-mem): Likewise.
17534 ($(objpfx)bug-regex21-mem): Likewise.
17535 ($(objpfx)bug-regex31-mem): Likewise.
17536 ($(objpfx)tst-vfork3-mem): Likewise.
17537 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17538 ($(objpfx)tst-pcre-mem): Likewise.
17539 ($(objpfx)tst-boost-mem): Likewise.
17540 ($(objpfx)tst-getconf.out): Likewise.
17541 ($(objpfx)bug-ga2-mem): Likewise.
17542 ($(objpfx)bug-glob2-mem): Likewise.
17543 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17544 ($(objpfx)mtrace-tst-leaks2): Likewise.
17545 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17546 ($(objpfx)tst-printf.out): Likewise.
17547 ($(objpfx)tst-setvbuf1.out): Likewise.
17548 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17549 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17550 ($(objpfx)tst-fmtmsg.out): Likewise.
17551 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17552 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17553
acd7f096
JM
17554 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17555 * bits/sigaction.h [__USE_MISC]: Likewise.
17556 * bits/waitstatus.h: Update #endif comments.
17557 * ctype/ctype.h: Likewise.
17558 * dirent/dirent.h: Likewise.
17559 [__USE_MISC]: Remove redundant conditionals.
17560 * grp/grp.h: Update #endif comments.
17561 [__USE_GNU]: Remove redundant conditionals.
17562 [__USE_MISC]: Likewise.
17563 * inet/netinet/in.h [__USE_GNU]: Likewise.
17564 * io/sys/stat.h [__USE_MISC]: Likewise.
17565 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17566 * libio/bits/stdio.h: Update #endif comments.
17567 [__USE_MISC]: Remove redundant conditionals.
17568 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17569 * libio/stdio.h: Update #endif comments.
17570 [__USE_MISC]: Remove redundant conditionals.
17571 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17572 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17573 * math/math.h: Update #else and #endif comments.
17574 [__USE_MISC]: Remove redundant conditionals.
17575 * misc/sys/uio.h: Update #endif comments.
17576 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17577 * posix/glob.h [__USE_MISC]: Likewise.
17578 * posix/sys/types.h: Update #endif comments.
17579 [__USE_MISC]: Remove redundant conditionals.
17580 * posix/sys/wait.h: Update #endif comments.
17581 [__USE_MISC]: Remove redundant conditionals.
17582 * posix/unistd.h: Update #endif comments.
17583 [__USE_MISC]: Remove redundant conditionals.
17584 * pwd/pwd.h [__USE_GNU]: Likewise.
17585 [__USE_MISC]: Likewise.
17586 * resolv/netdb.h [__USE_GNU]: Likewise.
17587 * signal/signal.h: Update #endif comments.
17588 [__USE_MISC]: Remove redundant conditionals.
17589 * stdlib/stdlib.h: Update #else and #endif comments.
17590 [__USE_MISC]: Remove redundant conditionals.
17591 [__USE_GNU]: Likewise.
17592 * string/bits/string2.h [__USE_MISC]: Likewise.
17593 * string/string.h: Update #endif comments.
17594 [__USE_MISC]: Remove redundant conditionals.
17595 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17596 Likewise.
17597 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17598 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17599 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17600 Likewise.
17601 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17602 Likewise.
17603 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17604 comments.
17605 [__USE_MISC]: Remove redundant conditionals.
17606 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17607 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17608 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17609 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17610 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17611 Likewise.
17612 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17613 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17614 Likewise.
17615 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17616 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17617 Likewise.
17618 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17619 Likewise.
17620 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17621 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17622 Likewise.
17623 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17624 Likewise.
17625 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17626 * sysdeps/x86/bits/string.h: Update #endif comments.
17627 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17628 conditionals.
17629 * time/sys/time.h: Update #endif comments.
17630 * time/time.h: Likewise.
17631 [__USE_MISC]: Remove redundant conditionals.
17632
a5d82e4e
YG
176332014-02-21 Yury Gribov <y.gribov@samsung.com>
17634
17635 [BZ #16600]
17636 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17637
9a80491d
AS
176382014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17639
17640 * Versions.def (librt): Add GLIBC_2.17.
17641
105fa381
AC
176422014-02-21 Adam Conrad <adconrad@0c3.net>
17643
17644 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17645 synonym for _SYS_AUXV_H to allow direct inclusion.
17646 * sysdeps/sparc/bits/hwcap.h: Likewise.
17647 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17648 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17649 * sysdeps/sparc/sysdep.h: Likewise.
17650
b8cd1c4e
SP
176512014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17652
17653 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17654
bd939d23
RS
176552014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17656
17657 * benchtests/bench-strrchr.c: Print length instead of position.
17658
5d7b57ca
JM
176592014-02-20 Joseph Myers <joseph@codesourcery.com>
17660
bc688c10
JM
17661 [BZ #16611]
17662 * sysdeps/unix/sysv/linux/kernel-features.h
17663 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17664 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17665 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17666 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17667 Likewise.
17668 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17669 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17670 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17671 (__ASSUME_SENDMMSG): Define instead of using previous
17672 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17673 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17674 (__ASSUME_SENDMMSG_SYSCALL): Define.
17675 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17676 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17677 Likewise.
17678 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17679 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17680 Likewise.
17681 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17682 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17683 Likewise.
17684 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17685 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17686 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17687 [__ASSUME_SENDMMSG]: Change conditionals to
17688 [__ASSUME_SENDMMSG_SOCKETCALL].
17689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17690 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17691 Define.
17692 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17693 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17694 Likewise.
17695 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17696 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17697 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17698 [!__ASSUME_SENDMMSG]: Change conditional to
17699 [!__ASSUME_SENDMMSG_SOCKETCALL].
17700 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17701 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17702 Define.
17703
0e31b18c
JM
17704 [BZ #16610]
17705 * sysdeps/unix/sysv/linux/kernel-features.h
17706 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17707 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17708 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17709 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17710 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17711 [__i386__ || __sparc__]
17712 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17713 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17714 (__ASSUME_RECVMMSG): Define instead of using previous
17715 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17716 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17717 (__ASSUME_RECVMMSG_SYSCALL): Define.
17718 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17719 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17720 Likewise.
17721 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17722 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17723 Likewise.
17724 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17725 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17726 Likewise.
17727 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17728 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17729 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17730 [__ASSUME_RECVMMSG]: Change condition to
17731 [__ASSUME_RECVMMSG_SOCKETCALL].
17732 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17733 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17734 Define.
17735 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17736 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17737 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17738 Likewise.
17739 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17740 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17741 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17742 [!__ASSUME_RECVMMSG]: Change condition to
17743 [!__ASSUME_RECVMMSG_SOCKETCALL].
17744 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17745 (__ASSUME_RECVMMSG_SYSCALL): Define.
17746
dd481ccf
JM
17747 [BZ #16609]
17748 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17749 __powerpc__ || __s390__ || __sh__ || __sparc__]
17750 (__ASSUME_SOCKETCALL): Define.
17751 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17752 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17753 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17754 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17755 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17756 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17757 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17758 (__ASSUME_ACCEPT4): Define instead of using previous
17759 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17760 __powerpc__ || __sparc__ || __s390__)] condition.
17761 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17762 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17763 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17764 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17765 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17766 [!__ASSUME_ACCEPT4]: Change condition to
17767 [!__ASSUME_ACCEPT4_SOCKETCALL].
17768 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17769 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17770 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17771 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17772 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17773 __ASSUME_ACCEPT4_SYSCALL.
17774 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17775 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17776 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17777 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17778 __ASSUME_ACCEPT4_SYSCALL.
17779 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17780 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17781 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17782 [__ASSUME_ACCEPT4]: Change condition to
17783 [__ASSUME_ACCEPT4_SOCKETCALL].
17784 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17785 (__ASSUME_SOCKETCALL): Define.
17786 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17787 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17788 (__ASSUME_SOCKETCALL): Define.
17789 (__ASSUME_ACCEPT4): Remove.
17790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17791 Define.
17792 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17793 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17794 Likewise.
17795 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17796 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17797
5d7b57ca
JM
17798 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17799 macro.
17800 (HWCAP_ARM_LPAE): Likewise.
17801 (HWCAP_ARM_EVTSTRM): Likewise.
17802 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17803 Add vpfd32, lpae and evtstrm.
17804 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17805 Increase to 22.
17806
63689d61
JM
178072014-02-19 Joseph Myers <joseph@codesourcery.com>
17808
17809 * math/auto-libm-test-in: Add tests of clog10.
17810 * math/auto-libm-test-out: Regenerated.
17811 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17812 * sysdeps/i386/fpu/libm-test-ulps: Update.
17813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17814
ab09bf61
AS
178152014-02-18 Andreas Schwab <schwab@suse.de>
17816
17817 [BZ #16574]
17818 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17819 Store non-zero if the second buffer was newly allocated.
17820 (send_dg): Likewise.
17821 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17822 to send_vc and send_dg.
17823 (res_nsend): Pass NULL for ansp2_malloced.
17824 * resolv/res_query.c (__libc_res_nquery): Add parameter
17825 answerp2_malloced and pass it down to __libc_res_nsend.
17826 (res_nquery): Pass additional NULL to __libc_res_nquery.
17827 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17828 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17829 second answer buffer if answerp2_malloced was set.
17830 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17831 (__libc_res_nquerydomain): Add parameter
17832 answerp2_malloced and pass it down to __libc_res_nquery.
17833 (res_nquerydomain): Pass additional NULL to
17834 __libc_res_nquerydomain.
17835 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17836 additional NULL to __libc_res_nsend and __libc_res_nquery.
17837 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17838 additional NULL to __libc_res_nsearch.
17839 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17840 parameter of __libc_res_nsearch to check for separately allocated
17841 second buffer.
17842 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17843 __libc_res_nquery.
17844 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17845 additional NULL to __libc_res_nquery.
17846 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17847 __libc_res_nsearch.
17848 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17849 * include/resolv.h: Update prototypes of __libc_res_nquery,
17850 __libc_res_nsearch, __libc_res_nsend.
17851
a4fb7861
JM
178522014-02-18 Joseph Myers <joseph@codesourcery.com>
17853
c6af2d89
JM
17854 * math/auto-libm-test-in: Add tests of fma.
17855 * math/auto-libm-test-out: Regenerated.
17856 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17857 (fma_towardzero_test_data): Likewise.
17858 (fma_downward_test_data): Likewise.
17859 (fma_upward_test_data): Likewise.
17860 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17861 mpc_mode.
17862 (rounding_modes): Add values for new field.
17863 (func_calc_method): Add value mpfr_fff_f.
17864 (func_calc_desc): Add mpfr_fff_f union field.
17865 (test_function): Add field exact_args.
17866 (FUNC): Add macro argument EXACT_ARGS.
17867 (FUNC_mpfr_f_f): Update call to FUNC.
17868 (FUNC_mpfr_f_f): Likewise.
17869 (FUNC_mpfr_ff_f): Likewise.
17870 (FUNC_mpfr_if_f): Likewise.
17871 (FUNC_mpc_c_f): Likewise.
17872 (FUNC_mpc_c_c): Likewise.
17873 (test_functions): Add fma. Update calls to FUNC.
17874 (handle_input_arg): Add argument exact_args.
17875 (add_test): Update call to handle_input_arg.
17876 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17877 (output_for_one_input_case): Update call to calc_generic_results.
17878 Recalculate exact zero results in each rounding mode.
17879
a4fb7861
JM
17880 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17881 non-negative before setting low bit.
17882 * math/auto-libm-test-in: Mark one asin test possibly having
17883 spurious underflow.
17884 * math/auto-libm-test-out: Regenerated.
17885 * sysdeps/i386/fpu/libm-test-ulps: Update.
17886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17887
ef114eaf
DH
178882014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17889
2b7f4f2c
SP
17890 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17891 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17892 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17893 * README: Add missing listing for microblaze*-*-linux-gnu.
17894
8125aedc
AM
178952014-02-16 Ondřej Bílka <neleai@seznam.cz>
17896
17897 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17898 duplicate code
17899
c70a4b1d
MF
179002014-02-16 Mike Frysinger <vapier@gentoo.org>
17901
17902 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17903 * sysdeps/unix/sysv/linux/ia64: Move directory from
17904 ports/sysdeps/unix/sysv/linux/ia64.
17905 * README: Update listing for ia64-*-linux-gnu.
17906
591aeaf7
TD
179072014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17908 Joseph Myers <joseph@codesourcery.com>
17909
17910 * Makeconfig (test-name): New variable.
17911 (evaluate-test): Likewise.
17912 * Makerules (do-test-clean): Remove .test-result files.
17913 (common-mostlyclean): Likewise.
17914 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17915 * scripts/evaluate-test.sh: New file.
17916
6e89caf1
JM
179172014-02-14 Joseph Myers <joseph@codesourcery.com>
17918
7f98f180
JM
17919 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17920 separate $(objpfx)tst-fopenloc-cmp.out and
17921 $(objpfx)tst-fopenloc-mem.out targets.
17922 (tests): Update dependencies.
17923 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17924 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17925 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17926 (tst-rxspencer-no-utf8-ARGS): New variable.
17927 (tst-rxspencer-no-utf8-ENV): Likewise.
17928 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17929 instead of $(objpfx)tst-rxspencer-mem.
17930 ($(objpfx)tst-rxspencer-mem): Change target to
17931 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17932 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17933 * posix/tst-rxspencer-no-utf8.c: New file.
17934
6e89caf1
JM
17935 * elf/Makefile ($(objpfx)order.out): Remove rule.
17936 [$(run-built-tests) = yes] (tests): Depend on
17937 $(objpfx)order-cmp.out.
17938 ($(objpfx)order-cmp.out): New rule.
17939 [$(run-built-tests) = yes] (tests): Depend on
17940 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17941 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17942 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17943 $(objpfx)tst-array5-static-cmp.out.
17944 ($(objpfx)tst-array1.out): Remove rule.
17945 ($(objpfx)tst-array1-cmp.out): New rule.
17946 ($(objpfx)tst-array1-static.out): Remove rule.
17947 ($(objpfx)tst-array1-static-cmp.out): New rule.
17948 ($(objpfx)tst-array2.out): Remove rule.
17949 ($(objpfx)tst-array2-cmp.out): New rule.
17950 ($(objpfx)tst-array3.out): Remove rule.
17951 ($(objpfx)tst-array3-cmp.out): New rule.
17952 ($(objpfx)tst-array4.out): Remove rule.
17953 ($(objpfx)tst-array4-cmp.out): New rule.
17954 ($(objpfx)tst-array5.out): Remove rule.
17955 ($(objpfx)tst-array5-cmp.out): New rule.
17956 ($(objpfx)tst-array5-static.out): Remove rule.
17957 ($(objpfx)tst-array5-static-cmp.out): New rule.
17958 [$(run-built-tests) = yes] (tests): Depend on
17959 $(objpfx)order2-cmp.out.
17960 ($(objpfx)order2.out): Remove rule.
17961 ($(objpfx)order2-cmp.out): New rule.
17962 ($(objpfx)tst-initorder.out): Remove rule.
17963 [$(run-built-tests) = yes] (tests): Depend on
17964 $(objpfx)tst-initorder-cmp.out.
17965 ($(objpfx)tst-initorder-cmp.out): New rule.
17966 ($(objpfx)tst-initorder2.out): Remove rule.
17967 [$(run-built-tests) = yes] (tests): Depend on
17968 $(objpfx)tst-initorder2-cmp.out.
17969 ($(objpfx)tst-initorder2-cmp.out): New rule.
17970 [$(run-built-tests) = yes] (tests): Depend on
17971 $(objpfx)tst-unused-dep-cmp.out.
17972 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17973 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17974 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17975 on $(objpfx)tst-setvbuf1-cmp.out.
17976 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17977 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17978 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17979 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17980 ($(objpfx)tst-svc.out): Remove rule.
17981 ($(objpfx)tst-svc-cmp.out): New rule.
17982
ed9a38e2
JM
179832014-02-13 Joseph Myers <joseph@codesourcery.com>
17984
17985 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17986 * ctype/ctype.h [__USE_MISC]: Likewise.
17987 * dirent/dirent.h [__USE_MISC]: Likewise.
17988 * grp/grp.h [__USE_MISC]: Likewise.
17989 * io/fcntl.h [__USE_MISC]: Likewise.
17990 * io/sys/stat.h [__USE_MISC]: Likewise.
17991 * libio/stdio.h [__USE_MISC]: Likewise.
17992 * posix/unistd.h [__USE_MISC]: Likewise.
17993 * pwd/pwd.h [__USE_MISC]: Likewise.
17994 * stdlib.h [__USE_MISC]: Likewise.
17995 * string/bits/string2.h [__USE_MISC]: Likewise.
17996 * string/string.h [__USE_MISC]: Likewise.
17997 * time/time.h [__USE_MISC]: Likewise.
17998
d6680619
AS
179992014-02-13 Andreas Schwab <schwab@suse.de>
18000
18001 [BZ #16574]
18002 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18003 second answer buffer if it was separately allocated.
18004
ace614b8
JM
180052014-02-12 Joseph Myers <joseph@codesourcery.com>
18006
743151ae
JM
18007 * sysdeps/mips/math-tests.h: Include <features.h>.
18008 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18009 (ROUNDING_TESTS_long_double): Do not define.
18010 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18011 (EXCEPTION_TESTS_long_double): Likewise.
18012 * sysdeps/mips/mips64/libm-test-ulps: Update.
18013
498afc54
JM
18014 * include/features.h (__USE_BSD): Remove macro definitions.
18015 (__USE_SVID): Likewise.
18016 (_BSD_SOURCE): Likewise.
18017 (_SVID_SOURCE): Likewise.
18018 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18019 from definition of _DEFAULT_SOURCE.
18020 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18021 [_DEFAULT_SOURCE].
18022 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18023 * bits/mman.h [__USE_BSD]: Likewise.
18024 * bits/termios.h [__USE_BSD]: Likewise.
18025 * bits/waitstatus.h [__USE_BSD]: Likewise.
18026 * ctype/ctype.h [__USE_SVID]: Likewise.
18027 * dirent/dirent.h [__USE_BSD]: Likewise.
18028 * grp/grp.h [__USE_SVID]: Likewise.
18029 [__USE_BSD]: Likewise.
18030 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18031 * io/fcntl.h [__USE_BSD]: Likewise.
18032 * io/ftw.h [__USE_BSD]: Likewise.
18033 * io/sys/stat.h [__USE_BSD]: Likewise.
18034 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18035 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18036 * libio/stdio.h [__USE_SVID]: Likewise.
18037 [__USE_BSD]: Likewise.
18038 * math/math.h [__USE_SVID]: Likewise.
18039 [__USE_BSD]: Likewise.
18040 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18041 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18042 * misc/search.h [__USE_SVID]: Likewise.
18043 * misc/sys/mman.h [__USE_BSD]: Likewise.
18044 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18045 * misc/sys/uio.h [__USE_BSD]: Likewise.
18046 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18047 * posix/glob.h [__USE_BSD]: Likewise.
18048 * posix/regex.h [__USE_BSD]: Likewise.
18049 * posix/sys/types.h [__USE_BSD]: Likewise.
18050 [__USE_SVID]: Likewise.
18051 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18052 * posix/sys/wait.h [__USE_BSD]: Likewise.
18053 [__USE_SVID]: Likewise.
18054 * posix/unistd.h [__USE_BSD]: Likewise.
18055 [__USE_SVID]: Likewise.
18056 * pwd/pwd.h [__USE_SVID]: Likewise.
18057 * resolv/netdb.h [__USE_BSD]: Likewise.
18058 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18059 * signal/signal.h [__USE_BSD]: Likewise.
18060 [__USE_SVID]: Likewise.
18061 * socket/sys/socket.h [__USE_BSD]: Likewise.
18062 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18063 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18064 [__USE_SVID]: Likewise.
18065 * string/bits/string2.h [__USE_BSD]: Likewise.
18066 [__USE_SVID]: Likewise.
18067 * string/bits/string3.h [__USE_BSD]: Likewise.
18068 * string/endian.h [__USE_BSD]: Likewise.
18069 * string/string.h [__USE_SVID]: Likewise.
18070 [__USE_BSD]: Likewise.
18071 * string/strings.h [__USE_BSD]: Likewise.
18072 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18073 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18074 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18075 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18076 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18077 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18078 Likewise.
18079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18082 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18083 Likewise.
18084 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18085 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18086 Likewise.
18087 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18088 Likewise.
18089 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18090 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18091 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18092 Likewise.
18093 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18094 Likewise.
18095 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18096 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18097 * termios/termios.h [__USE_BSD]: Likewise.
18098 * time/sys/time.h [__USE_BSD]: Likewise.
18099 * time/time.h [__USE_BSD]: Likewise.
18100 [__USE_SVID]: Likewise.
18101
dd7b064c
JM
18102 * Makefile (subdir_targets): Remove subdir_lint.out.
18103
a2c4c199
JM
18104 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18105 (do-tst-printf): Likewise.
18106 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18107 $(objpfx)tst-printf.out.
18108
8756f740
JM
18109 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18110
1b6dd3f1
JM
18111 * Makerules (check-abi-%): Change target to
18112 $(objpfx)check-abi-%.out.
18113 (check-abi target): Update dependencies.
18114 (check-abi-pattern variable): Redirect output of diff to $@.
18115 (check-abi variable): Likewise.
18116 * elf/Makefile (check-abi): Update dependencies.
18117
ace614b8
JM
18118 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18119 unused.
18120 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18121 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18122 subnormal range.
18123 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18124 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18125 value has largest subnormal exponent.
18126 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18127 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18128 * sysdeps/aarch64/soft-fp/sfp-machine.h
18129 (_FP_TININESS_AFTER_ROUNDING): New macro.
18130 * sysdeps/alpha/soft-fp/sfp-machine.h
18131 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18132 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18133 Likewise.
18134 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18135 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18136 * sysdeps/mips/soft-fp/sfp-machine.h
18137 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18138 * sysdeps/powerpc/soft-fp/sfp-machine.h
18139 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18140 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18141 Likewise.
18142 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18143 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18144 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18145 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18146 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18147 Likewise.
18148
fbfdf9cb
DAS
181492014-02-12 Dylan Alex Simon <dylan@dylex.net>
18150
18151 [BZ #16545]
18152 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18153 model 1.
18154
68b7efaa
RH
181552014-02-12 Richard Henderson <rth@redhat.com>
18156
c70a4b1d 18157 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18158 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18159 * sysdeps/unix/sysv/linux/alpha: Move directory from
18160 ports/sysdeps/unix/sysv/linux/alpha.
18161 * README: Update listing for alpha-*-linux-gnu.
18162
cb4a2928
JM
181632014-02-11 Joseph Myers <joseph@codesourcery.com>
18164
c941736c
JM
18165 * include/features.h: Update comment documenting feature test
18166 macros.
18167 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18168 _DEFAULT_SOURCE.
18169 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18170 (_SVID_SOURCE): Likewise.
18171 (_DEFAULT_SOURCE): Update description of default features.
18172 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18173 with _GNU_SOURCE.
18174 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18175 (S_ISVTX): Likewise.
18176 * manual/math.texi (Mathematical Constants): Likewise.
18177 * manual/signal.texi (Interrupted Primitives): Likewise.
18178 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18179 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18180 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18181 Don't refer to _SVID_SOURCE in warning text.
18182
e8d8d7ec
JM
18183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18184
cb4a2928
JM
18185 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18186 already defined.
18187 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18188 * sysdeps/mips/dl-lookup.c: Remove.
18189 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18190
7e6424e3
AK
181912014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18192
18193 [BZ #16447]
18194 * math/auto-libm-test-in: Add testcase for expl.
18195 * math/auto-libm-test-out: Regenerate.
18196 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18197 calculation of unsafe.
18198 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18199
75eff3fe
MS
182002014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18201
18202 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18203 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18204 ports/sysdeps/unix/sysv/linux/aarch64.
18205 * README: Update listing for aarch64*-*-linux-gnu.
18206
d35f1e80
WN
182072014-02-11 Will Newton <will.newton@linaro.org>
18208
18209 * manual/probes.texi (Mathematical Function Probes): Use
18210 "triggered" instead of "hit".
18211
7b3436d4
WN
18212 * manual/probes.texi (Internal Probes): Add documentation
18213 of setjmp, longjmp and longjmp_target probes.
18214
b4f12ca3
WN
18215 * include/stap-probe.h: Add comment about probe argument
18216 format.
18217
c13a72b7
WN
18218 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18219 definition. (tr_where, tr_freehook, tr_mallochook,
18220 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18221
195b8165
DM
182222014-02-11 David S. Miller <davem@davemloft.net>
18223
18224 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18225 processing int_tests.
18226
2ad7600b
JM
182272014-02-10 Joseph Myers <joseph@codesourcery.com>
18228
18229 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18230 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18231 * sysdeps/unix/sysv/linux/mips: Move directory from
18232 ports/sysdeps/unix/sysv/linux/mips.
18233 * README: Update listing for mips-*-linux-gnu and
18234 mips64-*-linux-gnu.
18235
73588a72
AS
182362014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18237
18238 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18239 * sysdeps/unix/sysv/linux/m68k: Move directory from
18240 ports/sysdeps/unix/sysv/linux/m68k.
18241 * README: Update listing for m68k-*-linux-gnu.
18242
4372980f
CM
182432014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18244
18245 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18246 * sysdeps/unix/sysv/linux/generic: Move directory from
18247 ports/sysdeps/unix/sysv/linux/generic.
18248 * sysdeps/unix/sysv/linux/tile: Move directory from
18249 ports/sysdeps/unix/sysv/linux/tile.
18250 * README: Update listing for tile*-*-linux-gnu.
18251
a1ffb40e
OB
182522014-02-10 Ondřej Bílka <neleai@seznam.cz>
18253
57f41c40
AS
18254 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18255 __builtin_expect.
a1ffb40e
OB
18256 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18257 * catgets/open_catalog.c (__open_catalog): Likewise.
18258 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18259 * debug/confstr_chk.c: Likewise.
18260 * debug/fread_chk.c (__fread_chk): Likewise.
18261 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18262 * debug/getgroups_chk.c: Likewise.
18263 * debug/mbsnrtowcs_chk.c: Likewise.
18264 * debug/mbsrtowcs_chk.c: Likewise.
18265 * debug/mbstowcs_chk.c: Likewise.
18266 * debug/memcpy_chk.c: Likewise.
18267 * debug/memmove_chk.c: Likewise.
18268 * debug/mempcpy_chk.c: Likewise.
18269 * debug/memset_chk.c: Likewise.
18270 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18271 * debug/strcat_chk.c (__strcat_chk): Likewise.
18272 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18273 * debug/strncat_chk.c (__strncat_chk): Likewise.
18274 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18275 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18276 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18277 * debug/wcpncpy_chk.c: Likewise.
18278 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18279 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18280 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18281 * debug/wcsncpy_chk.c: Likewise.
18282 * debug/wcsnrtombs_chk.c: Likewise.
18283 * debug/wcsrtombs_chk.c: Likewise.
18284 * debug/wcstombs_chk.c: Likewise.
18285 * debug/wmemcpy_chk.c: Likewise.
18286 * debug/wmemmove_chk.c: Likewise.
18287 * debug/wmempcpy_chk.c: Likewise.
18288 * debug/wmemset_chk.c: Likewise.
18289 * dirent/scandirat.c (SCANDIRAT): Likewise.
18290 * dlfcn/dladdr1.c (dladdr1): Likewise.
18291 * dlfcn/dladdr.c (dladdr): Likewise.
18292 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18293 * dlfcn/dlerror.c (__dlerror): Likewise.
18294 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18295 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18296 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18297 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18298 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18299 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18300 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18301 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18302 Likewise.
18303 * elf/dl-conflict.c: Likewise.
18304 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18305 * elf/dl-dst.h: Likewise.
18306 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18307 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18308 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18309 * elf/dl-init.c (call_init, _dl_init): Likewise.
18310 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18311 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18312 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18313 Likewise.
a1ffb40e
OB
18314 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18315 Likewise.
18316 * elf/dl-minimal.c (__libc_memalign): Likewise.
18317 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18318 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18319 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18320 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18321 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18322 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18323 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18324 * elf/dl-writev.h (_dl_writev): Likewise.
18325 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18326 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18327 (dl_main): Likewise.
a1ffb40e
OB
18328 * elf/setup-vdso.h (setup_vdso): Likewise.
18329 * grp/compat-initgroups.c (compat_call): Likewise.
18330 * grp/fgetgrent.c (fgetgrent): Likewise.
18331 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18332 * grp/putgrent.c (putgrent): Likewise.
18333 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18334 Likewise.
18335 * hurd/hurdinit.c: Likewise.
18336 * iconvdata/8bit-gap.c (struct): Likewise.
18337 * iconvdata/ansi_x3.110.c : Likewise.
18338 * iconvdata/big5.c : Likewise.
18339 * iconvdata/big5hkscs.c : Likewise.
18340 * iconvdata/cp1255.c: Likewise.
18341 * iconvdata/cp1258.c : Likewise.
18342 * iconvdata/cp932.c : Likewise.
18343 * iconvdata/euc-cn.c: Likewise.
18344 * iconvdata/euc-jisx0213.c : Likewise.
18345 * iconvdata/euc-jp.c: Likewise.
18346 * iconvdata/euc-jp-ms.c : Likewise.
18347 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18348 * iconvdata/gb18030.c : Likewise.
18349 * iconvdata/gbbig5.c (const): Likewise.
18350 * iconvdata/gbgbk.c: Likewise.
18351 * iconvdata/gbk.c : Likewise.
18352 * iconvdata/ibm1364.c : Likewise.
18353 * iconvdata/ibm930.c : Likewise.
18354 * iconvdata/ibm932.c: Likewise.
18355 * iconvdata/ibm933.c : Likewise.
18356 * iconvdata/ibm935.c : Likewise.
18357 * iconvdata/ibm937.c : Likewise.
18358 * iconvdata/ibm939.c : Likewise.
18359 * iconvdata/ibm943.c: Likewise.
18360 * iconvdata/iso_11548-1.c: Likewise.
18361 * iconvdata/iso-2022-cn.c : Likewise.
18362 * iconvdata/iso-2022-cn-ext.c : Likewise.
18363 * iconvdata/iso-2022-jp-3.c: Likewise.
18364 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18365 * iconvdata/iso-2022-kr.c : Likewise.
18366 * iconvdata/iso646.c (gconv_end): Likewise.
18367 * iconvdata/iso_6937-2.c : Likewise.
18368 * iconvdata/iso_6937.c : Likewise.
18369 * iconvdata/iso8859-1.c: Likewise.
18370 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18371 * iconvdata/shift_jisx0213.c : Likewise.
18372 * iconvdata/sjis.c : Likewise.
18373 * iconvdata/t.61.c : Likewise.
18374 * iconvdata/tcvn5712-1.c : Likewise.
18375 * iconvdata/tscii.c: Likewise.
18376 * iconvdata/uhc.c : Likewise.
18377 * iconvdata/unicode.c (gconv_end): Likewise.
18378 * iconvdata/utf-16.c (gconv_end): Likewise.
18379 * iconvdata/utf-32.c (gconv_end): Likewise.
18380 * iconvdata/utf-7.c (base64): Likewise.
18381 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18382 * iconv/gconv_close.c (__gconv_close): Likewise.
18383 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18384 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18385 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18386 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18387 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18388 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18389 * iconv/iconv.c (iconv): Likewise.
18390 * iconv/iconv_close.c: Likewise.
18391 * iconv/loop.c (SINGLE): Likewise.
18392 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18393 * include/atomic.h: Likewise.
18394 * inet/inet6_option.c (option_alloc): Likewise.
18395 * intl/bindtextdom.c (set_binding_values): Likewise.
18396 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18397 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18398 * intl/localealias.c (read_alias_file): Likewise.
18399 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18400 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18401 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18402 * libio/fmemopen.c (fmemopen): Likewise.
18403 * libio/iofgets.c (_IO_fgets): Likewise.
18404 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18405 * libio/iofgetws.c (fgetws): Likewise.
18406 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18407 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18408 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18409 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18410 * locale/findlocale.c (_nl_find_locale): Likewise.
18411 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18412 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18413 Likewise.
18414 * locale/setlocale.c (setlocale): Likewise.
18415 * login/programs/pt_chown.c (main): Likewise.
18416 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18417 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18418 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18419 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18420 * math/e_exp2l.c: Likewise.
18421 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18422 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18423 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18424 * math/s_catan.c (__catan): Likewise.
18425 * math/s_catanf.c (__catanf): Likewise.
18426 * math/s_catanh.c (__catanh): Likewise.
18427 * math/s_catanhf.c (__catanhf): Likewise.
18428 * math/s_catanhl.c (__catanhl): Likewise.
18429 * math/s_catanl.c (__catanl): Likewise.
18430 * math/s_ccosh.c (__ccosh): Likewise.
18431 * math/s_ccoshf.c (__ccoshf): Likewise.
18432 * math/s_ccoshl.c (__ccoshl): Likewise.
18433 * math/s_cexp.c (__cexp): Likewise.
18434 * math/s_cexpf.c (__cexpf): Likewise.
18435 * math/s_cexpl.c (__cexpl): Likewise.
18436 * math/s_clog10.c (__clog10): Likewise.
18437 * math/s_clog10f.c (__clog10f): Likewise.
18438 * math/s_clog10l.c (__clog10l): Likewise.
18439 * math/s_clog.c (__clog): Likewise.
18440 * math/s_clogf.c (__clogf): Likewise.
18441 * math/s_clogl.c (__clogl): Likewise.
18442 * math/s_csin.c (__csin): Likewise.
18443 * math/s_csinf.c (__csinf): Likewise.
18444 * math/s_csinh.c (__csinh): Likewise.
18445 * math/s_csinhf.c (__csinhf): Likewise.
18446 * math/s_csinhl.c (__csinhl): Likewise.
18447 * math/s_csinl.c (__csinl): Likewise.
18448 * math/s_csqrt.c (__csqrt): Likewise.
18449 * math/s_csqrtf.c (__csqrtf): Likewise.
18450 * math/s_csqrtl.c (__csqrtl): Likewise.
18451 * math/s_ctan.c (__ctan): Likewise.
18452 * math/s_ctanf.c (__ctanf): Likewise.
18453 * math/s_ctanh.c (__ctanh): Likewise.
18454 * math/s_ctanhf.c (__ctanhf): Likewise.
18455 * math/s_ctanhl.c (__ctanhl): Likewise.
18456 * math/s_ctanl.c (__ctanl): Likewise.
18457 * math/w_pow.c: Likewise.
18458 * math/w_powf.c: Likewise.
18459 * math/w_powl.c: Likewise.
18460 * math/w_scalb.c (sysv_scalb): Likewise.
18461 * math/w_scalbf.c (sysv_scalbf): Likewise.
18462 * math/w_scalbl.c (sysv_scalbl): Likewise.
18463 * misc/error.c (error_tail): Likewise.
18464 * misc/pselect.c (__pselect): Likewise.
18465 * nis/nis_callback.c (__nis_create_callback): Likewise.
18466 * nis/nis_call.c (__nisfind_server): Likewise.
18467 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18468 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18469 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18470 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18471 * nis/nis_lookup.c (nis_lookup): Likewise.
18472 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18473 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18474 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18475 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18476 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18477 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18478 * nis/nss_compat/compat-initgroups.c (add_group)
18479 (internal_getgrent_r): Likewise.
18480 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18481 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18482 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18483 (internal_getspnam_r): Likewise.
18484 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18485 (_nss_nis_getaliasbyname_r): Likewise.
18486 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18487 (_nss_nis_getntohost_r): Likewise.
18488 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18489 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18490 (_nss_nis_getgrgid_r): Likewise.
18491 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18492 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18493 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18494 (_nss_nis_gethostbyname4_r): Likewise.
18495 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18496 (initgroups_netid): Likewise.
a1ffb40e 18497 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18498 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18499 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18500 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18501 (_nss_nis_getprotobynumber_r): Likewise.
18502 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18503 (_nss_nis_getsecretkey): Likewise.
18504 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18505 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18506 (_nss_nis_getpwuid_r): Likewise.
18507 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18508 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18509 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18510 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18511 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18512 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18513 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18514 Likewise.
57f41c40
AS
18515 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18516 (_nss_nisplus_getntohost_r): Likewise.
18517 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18518 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18519 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18520 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18521 Likewise.
57f41c40
AS
18522 * nis/nss_nisplus/nisplus-initgroups.c
18523 (_nss_nisplus_initgroups_dyn): Likewise.
18524 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18525 (_nss_nisplus_getnetbyaddr_r): Likewise.
18526 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18527 (_nss_nisplus_getprotobynumber_r): Likewise.
18528 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18529 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18530 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18531 Likewise.
57f41c40
AS
18532 * nis/nss_nisplus/nisplus-service.c
18533 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18534 (_nss_nisplus_getservbyport_r): Likewise.
18535 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18536 (_nss_nisplus_getspnam_r): Likewise.
18537 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18538 Likewise.
a1ffb40e
OB
18539 * nscd/aicache.c (addhstaiX): Likewise.
18540 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18541 * nscd/connections.c (register_traced_file, send_ro_fd)
18542 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18543 (main_loop_epoll): Likewise.
a1ffb40e
OB
18544 * nscd/grpcache.c (addgrbyX): Likewise.
18545 * nscd/hstcache.c (addhstbyX): Likewise.
18546 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18547 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18548 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18549 (addinnetgrX): Likewise.
18550 * nscd/nscd-client.h (__nscd_acquire_maplock)
18551 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18552 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18553 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18554 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18555 Likewise.
18556 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18557 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18558 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18559 (__nscd_get_map_ref): Likewise.
a1ffb40e 18560 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18561 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18562 Likewise.
a1ffb40e
OB
18563 * nscd/pwdcache.c (addpwbyX): Likewise.
18564 * nscd/selinux.c (preserve_capabilities): Likewise.
18565 * nscd/servicescache.c (addservbyX): Likewise.
18566 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18567 * posix/fnmatch.c (fnmatch): Likewise.
18568 * posix/getopt.c (_getopt_internal_r): Likewise.
18569 * posix/glob.c (glob, glob_in_dir): Likewise.
18570 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18571 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18572 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18573 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18574 * resolv/res_init.c: Likewise.
18575 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18576 * resolv/res_query.c (__libc_res_nquery): Likewise.
18577 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18578 Likewise.
18579 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18580 * stdio-common/perror.c (perror): Likewise.
18581 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18582 * stdio-common/tmpnam.c (tmpnam): Likewise.
18583 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18584 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18585 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18586 Likewise.
a1ffb40e
OB
18587 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18588 * stdlib/putenv.c (putenv): Likewise.
18589 * stdlib/setenv.c (__add_to_environ): Likewise.
18590 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18591 * stdlib/strtol_l.c (INTERNAL): Likewise.
18592 * string/memmem.c (memmem): Likewise.
18593 * string/strerror.c (strerror): Likewise.
18594 * string/strnlen.c (__strnlen): Likewise.
18595 * string/test-memmem.c (simple_memmem): Likewise.
18596 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18597 * sunrpc/pm_getport.c (__get_socket): Likewise.
18598 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18599 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18600 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18601 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18602 Likewise.
18603 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18604 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18605 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18606 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18607 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18608 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18609 Likewise.
18610 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18611 Likewise.
a1ffb40e
OB
18612 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18613 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18614 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18615 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18616 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18618 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18619 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18620 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18621 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18622 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18623 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18624 Likewise.
18625 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18626 Likewise.
18627 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18628 Likewise.
18629 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18631 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18633 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18634 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18635 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18638 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18639 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18640 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18641 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18642 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18645 Likewise.
a1ffb40e
OB
18646 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18647 Likewise.
18648 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18649 Likewise.
18650 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18651 Likewise.
18652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18654 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18655 Likewise.
18656 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18657 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18658 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18659 * sysdeps/posix/sleep.c: Likewise.
18660 * sysdeps/posix/tempname.c: Likewise.
18661 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18662 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18663 Likewise.
57f41c40
AS
18664 * sysdeps/powerpc/powerpc32/dl-machine.h
18665 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18666 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18668 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18669 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18670 Likewise.
18671 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18672 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18673 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18674 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18675 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18676 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18677 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18678 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18679 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18680 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18681 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18682 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18683 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18684 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18685 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18686 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18687 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18688 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18689 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18690 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18691 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18692 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18693 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18694 Likewise.
18695 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18696 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18697 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18698 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18699 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18700 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18701 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18702 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18703 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18704 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18705 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18706 Likewise.
18707 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18708 (__posix_fallocate64_l64): Likewise.
18709 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18710 (posix_fallocate): Likewise.
57f41c40
AS
18711 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18712 Likewise.
a1ffb40e 18713 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18714 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18715 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18716 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18717 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18718 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18719 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18720 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18721 (__posix_fallocate64_l64): Likewise.
18722 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18723 Likewise.
18724 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18725 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18726 (__get_clockfreq): Likewise.
a1ffb40e
OB
18727 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18728 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18729 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18732 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18733 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18734 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18735 Likewise.
18736 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18737 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18738 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18739 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18740 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18741 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18742 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18743 Likewise.
18744 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18745 (posix_fallocate): Likewise.
18746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18747 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18748 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18749 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18750 (elf_machine_rela, elf_machine_rela_relative)
18751 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18752 * time/asctime.c (asctime_internal): Likewise.
18753 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18754 * time/tzset.c (__tzset_parse_tz): Likewise.
18755 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18756 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18757 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18758 * wcsmbs/wcsmbsload.h: Likewise.
18759
f3d338c9
OB
18760 [BZ #15894]
18761 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18762
57f41c40
AS
18763 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18764 (arena_get2): Remove THREAD_STATS conditionals.
18765 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18766 (__malloc_stats, int): Likewise.
bdfe308a 18767
d674667c
MF
187682014-02-08 Mike Frysinger <vapier@gentoo.org>
18769
18770 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18771 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18772
6349768c
MF
18773 * manual/setjmp.texi: Fix typos/grammar errors.
18774
0b7c7473
MF
18775 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18776 Only return early when n is <= 0. Delete unused return statement.
18777
ac8cc9e3
MF
18778 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18779 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18780 * debug/tst-longjmp_chk3.c: New file.
18781
c5bb8e23
MF
18782 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18783 (test_main): Replace code with set_fortify_handler call.
18784 * debug/test-strcpy_chk.c: Likewise.
18785 * debug/tst-chk1.c: Likewise.
18786 * debug/tst-longjmp_chk.c: Likewise.
18787 * test-skeleton.c: Include fcntl.h & paths.h
18788 (set_fortify_handler): Define.
18789
10444e42
MF
18790 * debug/tst-longjmp_chk.c: Add header comment and include
18791 ../test-skeleton.c.
18792 (do_test): Mark static.
18793 (TEST_FUNCTION): Define.
18794
1e805e8d
MF
18795 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18796 (IP_PMTUDISC_INTERFACE): Likewise.
18797 (IP_MULTICAST_IF): Likewise.
18798 (IP_MULTICAST_TTL): Likewise.
18799 (IP_MULTICAST_LOOP): Likewise.
18800 (IP_ADD_MEMBERSHIP): Likewise.
18801 (IP_DROP_MEMBERSHIP): Likewise.
18802 (IP_UNBLOCK_SOURCE): Likewise.
18803 (IP_BLOCK_SOURCE): Likewise.
18804 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18805 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18806 (IP_MSFILTER): Likewise.
18807 (MCAST_JOIN_GROUP): Likewise.
18808 (MCAST_BLOCK_SOURCE): Likewise.
18809 (MCAST_UNBLOCK_SOURCE): Likewise.
18810 (MCAST_LEAVE_GROUP): Likewise.
18811 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18812 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18813 (MCAST_MSFILTER): Likewise.
18814 (IP_MULTICAST_ALL): Likewise.
18815 (IP_UNICAST_IF): Likewise.
18816
73f79bb7
MF
18817 * timezone/Makefile: Delete $(have-ksh) check.
18818 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18819 * timezone/tzselect.ksh: Add +x mode bits.
18820
8da79b60
MF
18821 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18822 (ANON_INODE_FS_MAGIC): Likewise.
18823 (BDEVFS_MAGIC): Likewise.
18824 (BINFMTFS_MAGIC): Likewise.
18825 (BTRFS_TEST_MAGIC): Likewise.
18826 (CRAMFS_MAGIC_WEND): Likewise.
18827 (DEBUGFS_MAGIC): Likewise.
18828 (ECRYPTFS_SUPER_MAGIC): Likewise.
18829 (EXT3_SUPER_MAGIC): Likewise.
18830 (EXT4_SUPER_MAGIC): Likewise.
18831 (FUTEXFS_SUPER_MAGIC): Likewise.
18832 (HOSTFS_SUPER_MAGIC): Likewise.
18833 (HUGETLBFS_MAGIC): Likewise.
18834 (MINIX3_SUPER_MAGIC): Likewise.
18835 (MTD_INODE_FS_MAGIC): Likewise.
18836 (NILFS_SUPER_MAGIC): Likewise.
18837 (OPENPROM_SUPER_MAGIC): Likewise.
18838 (PIPEFS_MAGIC): Likewise.
18839 (PSTOREFS_MAGIC): Likewise.
18840 (QNX6_SUPER_MAGIC): Likewise.
18841 (RAMFS_MAGIC): Likewise.
18842 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18843 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18844 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18845 (SECURITYFS_MAGIC): Likewise.
18846 (SELINUX_MAGIC): Likewise.
18847 (SMACK_MAGIC): Likewise.
18848 (SOCKFS_MAGIC): Likewise.
18849 (SQUASHFS_MAGIC): Likewise.
18850 (STACK_END_MAGIC): Likewise.
18851 (TMPFS_MAGIC): Likewise.
18852 (USBDEVICE_SUPER_MAGIC): Likewise.
18853 (V9FS_MAGIC): Likewise.
18854 (XENFS_SUPER_MAGIC): Likewise.
18855 (CRAMFS_MAGIC): Fix typo in comment.
18856 (EXT2_SUPER_MAGIC): Update comment.
18857 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18858
464263cc
JM
188592014-02-08 Joseph Myers <joseph@codesourcery.com>
18860
c6bfe5c4
JM
18861 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18862 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18863 * sysdeps/unix/sysv/linux/arm: Move directory from
18864 ports/sysdeps/unix/sysv/linux/arm.
18865 * README: Update listing for arm-*-linux-gnueabi.
18866
464263cc
JM
18867 * README: Remove mention of am33.
18868
32749f6c
RM
188692014-02-07 Roland McGrath <roland@hack.frob.com>
18870
18871 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18872 than the comma operator, to avoid "rhs of comma has no effect"
18873 compiler warnings.
18874 (__sigfillset, __sigandset, __sigorset): Likewise.
18875 * include/signal.h (__sigemptyset): Likewise.
18876 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18877
d5b396c1
AM
188782014-02-07 Allan McRae <allan@archlinux.org>
18879
18880 * version.h (RELEASE): Set to "development".
18881 (VERSION): Set to "2.19.90"
18882 * NEWS: Add 2.20 section.
18883
3bfff2ed
CD
188842014-02-06 Carlos O'Donell <carlos@redhat.com>
18885
18886 [BZ #16529]
18887 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18888
ee7cc385
SP
188892014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18890
18891 * manual/contrib.texi: Update entry for Carlos O'Donell,
18892 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18893
f877c4f2
CD
188942014-02-05 Carlos O'Donell <carlos@rehdat.com>
18895
27e839f6
CD
18896 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18897
f877c4f2
CD
18898 * sysdeps/unix/sysv/linux/kernel-features.h
18899 [__LINUX_KERNEL_VERSION >= 0x020621]
18900 (__ASSUME_PROC_PID_TASK_COMM): Define.
18901
68159946
SP
189022014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18903
ba17cdbd
SP
18904 [BZ #16398]
18905 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18906 conversion when destination buffer does not have enough space.
18907 * libio/tst-ftell-partial-wide.c: New test case.
18908 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18909
68159946
SP
18910 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18911 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18912 Leonard and Allan McRae.
18913
2b528732
DM
189142014-02-04 David S. Miller <davem@davemloft.net>
18915
18916 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18917 32-bit.
18918
0ff82463
AZ
189192014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18920
57f41c40
AS
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18922 New file
c01603f7
AZ
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18924 New file
57f41c40
AS
18925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18926 New file.
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18928 New file.
c01603f7
AZ
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18930 New file.
57f41c40
AS
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18932 New file.
18933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18934 New file.
c01603f7
AZ
18935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18936 New file.
18937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18938 New file.
18939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18940 New file.
18941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18942 New file.
18943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18944 New file.
18945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18946 New file.
18947
189482014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18949
0ff82463
AZ
18950 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18951 * shlib-versions: Likewise.
18952
1695c773
AZ
189532014-02-04 Roland McGrath <roland@hack.frob.com>
18954 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18955
18956 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18957 (abilist-pattern): New variable, set to %-le.abilist.
18958
18959 * Makerules (abilist-pattern): New variable.
18960 (vpath): Use $(abilist-pattern) in place of %.abilist.
18961 (check-abi-% pattern rule): Likewise.
18962 (check-abi, update-abi): Likewise.
18963
6c0ce4b4
EW
189642014-02-04 Eric Wong <normalperson@yhbt.net>
18965
18966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18967
481e3524
CD
189682014-02-03 Carlos O'Donell <carlos@redhat.com>
18969
18970 * manual/startup.texi: Add next, previous, and top entries for
18971 the `Program Arguments' and `Environment Variables' nodes.
18972
375592d3
AO
189732014-02-03 Alexandre Oliva <aoliva@redhat.com>
18974
18975 * manual/macros.texi: Add comments before MTASC-safety macros.
18976
f54838ba
AO
18977 * manual/users.texi: Document MTASC-safety properties.
18978
57f41c40
AS
18979 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18980 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18981 @deftypefun, and add @safety note.
18982 * manual/signal.texi: Move comments that analyze the above
18983 functions to their home place.
18984
fd3daba4
AM
189852014-02-03 Allan McRae <allan@archlinux.org>
18986
18987 * po/sl.po: Update Slovenian translation from translation project.
18988
597636d7
AO
189892014-02-02 Alexandre Oliva <aoliva@redhat.com>
18990
18991 * manual/time.texi (timegm): Add missing blank after @c.
18992 Reported by Joseph Myers <joseph@codesourcery.com>.
18993
ee196e3c
AO
189942014-02-01 Alexandre Oliva <aoliva@redhat.com>
18995
18996 * manual/check-safety.sh: New.
18997 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18998
f8d529d5
AO
18999 * manual/terminal.texi: Document MTASC-safety properties.
19000
de55fdf4
AO
19001 * manual/filesys.texi: Document MTASC-safety properties.
19002
c3299c08
AO
19003 * manual/errno.texi: Document MTASC-safety properties.
19004
06e90b14
AO
19005 * manual/intro.texi: Document safety identifiers and
19006 conditionals.
19007
1acd4371
AO
19008 * manual/string.texi (wcstok): Fix prototype.
19009 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19010
23e5b8cb
AO
19011 * manual/time.texi: Document MTASC-safety properties.
19012
11087373
AO
19013 * manual/string.texi: Document MTASC-safety properties.
19014
5da2c93d
AO
19015 * manual/threads.texi: Document MTASC-safety properties.
19016
171e9210
AO
19017 * manual/stdio.texi: Document MTASC-safety properties.
19018
d9e02532
AO
19019 * manual/syslog.texi: Document MTASC-safety properties.
19020
6af8bab7
AO
19021 * manual/sysinfo.texi: Document MTASC-safety properties.
19022
663b02d7
AO
19023 * manual/startup.texi: Document MTASC-safety properties.
19024
973f180b
AO
19025 * manual/socket.texi: Document MTASC-safety properties.
19026
8f3c25c8
AO
19027 * manual/signal.texi: Document MTASC-safety properties.
19028
542210fb
AO
190292014-01-31 Alexandre Oliva <aoliva@redhat.com>
19030
19031 * manual/setjmp.texi: Document MTASC-safety properties.
19032
433c45a2
AO
19033 * manual/search.texi: Document MTASC-safety properties.
19034
c8ce789c
AO
19035 * manual/resource.texi: Document MTASC-safety properties.
19036
19f5d29c
AO
19037 * manual/process.texi: Document MTASC-safety properties.
19038
e2dfb7f4
AO
19039 * manual/platform.texi: Document MTASC-safety properties.
19040
8c1413f5
AO
19041 * manual/pipe.texi: Document MTASC-safety properties.
19042
03483ada
AO
19043 * manual/pattern.texi: Document MTASC-safety properties.
19044
29e7e2df
AO
19045 * manual/message.texi: Document MTASC-safety properties.
19046
9f529d7c
AO
19047 [BZ #12751]
19048 * manual/memory.texi: Document MTASC-safety properties.
19049
27aaa791
AO
19050 * manual/math.texi: Document MTASC-safety properties.
19051
f2d58726
AO
19052 * manual/locale.texi: Document MTASC-safety properties.
19053
2cc3615c
AO
19054 * manual/llio.texi: Document MTASC-safety properties.
19055
d9f0ec97
AO
19056 * manual/libdl.texi: New.
19057
e7c4409a
AO
19058 * manual/lang.texi: Document MTASC-safety properties.
19059
27bdc63c
AO
19060 * manual/job.texi: Document MTASC-safety properties.
19061
a7b90ea9
AO
19062 * manual/getopt.texi: Document MTASC-safety properties.
19063
c49130e3
AO
19064 * manual/ctype.texi: Document MTASC-safety properties.
19065
0d23a5c1
MR
190662014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19067
19068 [BZ #16046]
19069 * csu/libc-tls.c (static_map): Remove variable.
19070 (__libc_setup_tls): Use main executable's link map for TLS data.
19071 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19072 casing for LM_ID_BASE and GL(dl_nns).
19073 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19074 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19075 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19076 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19077 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19078 member.
19079 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19080 l_phnum members.
19081
0037bb60
AO
190822014-01-30 Alexandre Oliva <aoliva@redhat.com>
19083
19084 * manual/debug.texi: Document MTASC-safety properties.
19085
409e00bd
L
190862014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19087
19088 [BZ #16510]
19089 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19090 of __x86_64__ when disabling x87 inline functions.
19091
86e60666
AO
190922014-01-29 Alexandre Oliva <aoliva@redhat.com>
19093
19094 * manual/charset.texi: Document MTASC-safety properties.
19095
76167637
AO
19096 * manual/crypt.texi: Document MTASC-safety properties.
19097
e567f2a0
AO
19098 * manual/conf.texi: Document MTASC-safety properties.
19099
b719dafd
AO
19100 * manual/arith.texi: Document MTASC-safety properties.
19101
4a16c662
AO
19102 * manual/argp.texi: Document MTASC-safety properties.
19103
0a57b83e
AO
19104 * manual/macros.texi: Introduce macros to document multi
19105 thread, asynchronous signal and asynchronous cancellation
19106 safety properties.
19107 * manual/intro.texi: Introduce the properties themselves.
19108
feab2397
KK
191092014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19110
19111 * sysdeps/sh/sh4/Makefile: New file.
19112
1c0d11bc
AS
191132014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19114
19115 * math/gen-libm-test.pl ($srcdir): New variable.
19116 ($auto_input): Use it.
19117
af37a8a3
SP
191182014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19119
d7b00f98
SP
19120 [BZ #16506]
19121 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19122 access beyond array bounds when parsing netgroups file.
19123
af37a8a3
SP
19124 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19125 the old buffer before realloc.
19126
0c00f062
AM
191272014-01-27 Allan McRae <allan@archlinux.org>
19128
19129 * po/fr.po: Update French translation from translation project.
19130
7d69a1b0
KK
191312014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19132
19133 * sysdeps/sh/libm-test-ulps: Regenerate.
19134
6e697ff7
DM
191352014-01-24 David S. Miller <davem@davemloft.net>
19136
19137 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19138
9cadb35c
KK
191392014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19140
19141 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19142 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19143
5d41dadf
SP
191442013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19145
19146 [BZ #16474]
19147 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19148 string pointers after reallocation.
19149
0bad441c
KK
191502014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19151
19152 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19153 __SH4A__ instead of __SH_FPU_ANY__.
19154
7007c661
KK
191552014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19156
19157 * sysdeps/sh/fpu_control.h: New file.
19158 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19159 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19160 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19161 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19162 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19163 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19164 * sysdeps/sh/sys/ucontext.h: Remove.
19165 * sysdeps/sh/sys: Remove directory.
19166
0f0c35e4
AK
191672014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19168
19169 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19170 s390/sys/ucontext.h.
19171 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19172 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19173
4959e284
L
191742014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19175
19176 [BZ #15605]
19177 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19178
d98720e0
AZ
191792014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19180
19181 [BZ#16431]
19182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19183 Adjust the vDSO correctly for internal calls.
19184 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19185
91cbd0bc
AM
191862014-01-20 Allan McRae <allan@archlinux.org>
19187
19188 * po/ca.po: Update Catalan translation from translation project.
19189
7a02cfad
MF
191902014-01-16 Mike Frysinger <vapier@gentoo.org>
19191
19192 * sysdeps/s390/sotruss-lib.c: New file.
19193
736c304a
AZ
191942014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19195
19196 [BZ#16430]
6e077ee5 19197 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19198 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19199 local calls issues by not having a PLT stub required for IFUNC calls.
19200 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19201
94d0cea0
JM
192022014-01-16 Joseph Myers <joseph@codesourcery.com>
19203
19204 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19205 * math/test-fpucw-static.c: Likewise.
19206
980cb518
SP
192072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19208
19209 [BZ #16453]
19210 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19211
2393fc01
AZ
192122014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19213
19214 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19215 implementation for powerpc.
19216
d359bcc2
OB
192172014-01-15 Ondřej Bílka <neleai@seznam.cz>
19218
19219 [BZ #14782]
19220 * sysdeps/posix/system.c (__libc_system): Do not enable
19221 asynchronous cancellation.
19222
7beb48cb
AK
192232014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19224
19225 [BZ #16427]
19226 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19227 handling only for numbers special also in the IEEE case.
19228
c20d5bf5
AK
192292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19230
19231 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19232
e83bd4ee
AM
192332014-01-11 Allan McRae <allan@archlinux.org>
19234
76d0ea69
AM
19235 * po/bg.po: Update Bulgarian translation from translation project.
19236
e83bd4ee
AM
19237 * po/de.po: Update German translation from translation project.
19238
bc2ba20a
RM
192392014-01-10 Roland McGrath <roland@hack.frob.com>
19240
19241 * sysdeps/generic/gcc-compat.h: New file.
19242
649ecea2
SP
192432014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19244
19245 * benchtests/asin-inputs: Correct slow inputs.
19246 * benchtests/acos-inputs: Likewise.
19247
1b19c006
AM
192482014-01-10 Allan McRae <allan@archlinux.org>
19249
a46dab08
AM
19250 * po:sv.po: Update Swedish translation from translation project.
19251
421df74a
AM
19252 * po/vi.po: Update Vietnamese translation from translation project.
19253
d61c51a7
AM
19254 * po/eo.po: Update Esperanto translation from translation project.
19255
0339a319
AM
19256 * po/cs.po: Update Czech translation from translation project.
19257
94ad3e99
AM
19258 * po/nl.po: Update Dutch translation from translation project.
19259
e349ca71
AM
19260 * po/pl.po: Update Polish translation from translation project.
19261
ddf930c1
AM
19262 * po/ru.po: Update Russian translation from translation project.
19263
1b19c006
AM
19264 * po/uk.po: Update Ukrainian translation from translation project.
19265
9f236c49
BM
192662014-01-08 Brooks Moses <bmoses@google.com>
19267
19268 * elf/dl-load.c: Fix comment typo.
19269
cd6701cf
CD
192702014-01-08 Carlos O'Donell <carlos@redhat.com>
19271
19272 * po/header.pot: Rename to...
19273 * po/pot.header: ... this.
19274 * po/Makefile: Use pot.header.
19275
66671c84
YK
192762014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19277 Maxim Kuvyrkov <maxim@kugelworks.com>
19278
19279 [BZ #16394]
cd6701cf
CD
19280 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19281 SRC and DEST against LEN.
66671c84 19282
38f34581
AZ
192832014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19284
19285 [BZ #16414]
19286 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19287 implementation.
19288 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19289
192902014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19291
19292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19293
4c327f2a
JM
192942014-01-08 Joseph Myers <joseph@codesourcery.com>
19295
19296 [BZ #16408]
19297 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19298 for large positive arguments.
19299
b821f414
JM
193002014-01-07 Joseph Myers <joseph@codesourcery.com>
19301
1f0f2067
JM
19302 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19303
a5a326f6
JM
19304 * math/auto-libm-test-in: Mark various tests with
19305 xfail-rounding:ldbl-128ibm.
19306 * math/auto-libm-test-out: Regenerated.
19307
b821f414
JM
19308 [BZ #16407]
19309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19310 Increase overflow threshold.
19311
94c8a4bc
OB
193122014-01-07 Ondřej Bílka <neleai@seznam.cz>
19313
19314 [BZ #14286]
19315 * stdio-common/vfprintf.c: Check for integer overflow.
19316
87ded0c3
AK
193172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19318
19319 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19320 the first argument and return value of __tls_get_addr_internal.
19321
c5eebdd0
AK
193222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19323
19324 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19325 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19326
05d138ef
AK
193272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19328
19329 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19330 * sysdeps/s390/rtld-global-offsets.sym: New file.
19331 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19332 GLIBC_2.19 symbol.
19333 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19334 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19335 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19336 ... this.
19337 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19338 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19339 ... this.
19340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19341 Regenerate.
19342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19343 Regenerate.
19344 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19345 halfs of GPRs for high_gprs contexts.
19346 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19347 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19348 field.
19349 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19350 uc_flags field.
19351 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19352 64 bit versions:
19353 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19354 for high GPRs (uc_high_gprs) and for future extensions
19355 (__reserved).
19356 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19357 for future extensions (__reserved).
19358 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19359 64 bit versions:
19360 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19361 SC_HIGHGPRS offset definition.
19362 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19363 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19364
93a45ff1
AK
19365 * Versions.def: Add GLIBC_2.19 for libpthread.
19366 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19367 siglongjmp for libpthread with GLIBC_2.19 symver.
19368 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19369 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19370 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19371 * sysdeps/s390/__longjmp.c: New file.
19372 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19373 * sysdeps/s390/longjmp.c: New file.
19374 * sysdeps/s390/setjmp.S: New file.
19375 * sysdeps/s390/sigjmp.S: New file.
19376 * sysdeps/s390/v1-longjmp.c: New file.
19377 * sysdeps/s390/v1-setjmp.h: New file.
19378 * sysdeps/s390/v1-sigjmp.c: New file.
19379 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19380 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19381 GLIBC_2.19 version.
19382 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19383 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19384 versioned symbols for ____longjmp_chk.
19385 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19386 Likewise.
19387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19388 Regenerate.
19389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19390 Regenerate.
19391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19392 Regenerate.
19393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19394 Regenerate.
19395 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19396 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19397 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19398 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19399 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19400 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19401 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19402 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19403 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19404 * sysdeps/s390/rtld-__longjmp.c: New file.
19405 * sysdeps/s390/rtld-setjmp.S: New file.
19406
eb3fc44b
JM
194072014-01-06 Joseph Myers <joseph@codesourcery.com>
19408
19409 [BZ #16400]
19410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19411 Return -__logl (x) for small positive arguments without evaluating
19412 a polynomial.
19413
9341dde4
MF
194142014-01-06 Mike Frysinger <vapier@gentoo.org>
19415
19416 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19417 Rename to ...
19418 (__ptrace_peeksiginfo_args): ... this.
19419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19421 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19422
4cff0293
AM
194232014-01-06 Allan McRae <allan@archlinux.org>
19424
19425 * inet/netinet/in.h: Fix typo in comment.
19426
75595dcf
AJ
194272014-01-05 Andreas Jaeger <aj@suse.de>
19428
19429 * sysdeps/i386/fpu/libm-test-ulps: Update.
19430
79c1e109
AM
194312014-01-05 Allan McRae <allan@archlinux.org>
19432
dd804818
AM
19433 * po/libc.pot: Regenerated.
19434
79c1e109
AM
19435 * malloc/memusagestat.c: Fix gettext call formatting.
19436
0c813d1f
SK
194372014-01-04 Sami Kerola <kerolasa@iki.fi>
19438
19439 * nscd/nscd.c: Improve usage() output.
19440
20f4a8d9
MF
194412014-01-04 Mike Frysinger <vapier@gentoo.org>
19442
19443 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19444 * sysdeps/unix/sysv/linux/configure: Regenerated.
19445 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19446 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19447
22562bb2
JM
194482014-01-03 Joseph Myers <joseph@codesourcery.com>
19449
19450 [BZ #16390]
19451 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19452 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19453
d7ad2d9b
AZ
194542014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19455
19456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19457 extra tokens at end of #undef directive.
19458 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19459 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19460 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19461
7dd009d8
JM
194622014-01-03 Joseph Myers <joseph@codesourcery.com>
19463
24db925a
JM
19464 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19465
7dd009d8
JM
19466 * math/auto-libm-test-in: Mark various tests with
19467 xfail-rounding:ldbl-128ibm.
19468 * math/auto-libm-test-out: Regenerated.
19469
396e3ecf
JM
194702014-01-02 Joseph Myers <joseph@codesourcery.com>
19471
819e5d50
JM
19472 [BZ #16386]
19473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19474 numbers with subnormal high part when calculating exponent.
19475
90b6a1e5
JM
19476 [BZ #16385]
19477 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19478 fabs.
19479
396e3ecf
JM
19480 [BZ #16384]
19481 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19482 M_LN2l.
19483 (__ieee754_acoshl): Use __log1pl not __log1p.
19484
6c8dbf00
OB
194852013-01-02 Ondřej Bílka <neleai@seznam.cz>
19486
57f41c40
AS
19487 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19488 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19489 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19490 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19491 (reused_arena, arena_get2): Convert to GNU style.
19492 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19493 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19494 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19495 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19496 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19497 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19498 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19499 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19500 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19501 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19502 * malloc/malloc.h: Likewise.
57f41c40
AS
19503 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19504 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19505 * malloc/mcheck.h: Likewise.
57f41c40
AS
19506 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19507 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19508 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19509 * malloc/morecore.c (__default_morecore): Likewise.
19510 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19511 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19512 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19513 (print_and_abort): Likewise.
6c8dbf00
OB
19514 * malloc/obstack.h: Likewise.
19515 * malloc/set-freeres.c (__libc_freeres): Likewise.
19516 * malloc/tst-mallocstate.c (main): Likewise.
19517 * malloc/tst-mtrace.c (main): Likewise.
19518 * malloc/tst-realloc.c (do_test): Likewise.
19519
d4124212
SP
195202013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19521
9a3c6a6f
SP
19522 [BZ #16366]
19523 * nscd/netgroupcache.c (do_notfound): New function.
19524 (addgetnetgrentX): Use it.
19525
d4124212
SP
19526 [BZ # 16365]
19527 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19528 NSS_STATUS_NOTFOUND.
19529
97b9a009
JM
195302014-01-01 Joseph Myers <joseph@codesourcery.com>
19531
19532 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19534
d4697bc9
AM
195352014-01-01 Allan McRae <allan@archlinux.org>
19536
ddb3687f
AM
19537 * scripts/update-copyrights: Update configure input file suffix.
19538
88726d48
AM
19539 * NEWS: Update copyright year.
19540 * catgets/gencat.c: Likewise.
19541 * csu/version.c: Likewise.
19542 * debug/catchsegv.sh: Likewise.
19543 * debug/pcprofiledump.c: Likewise.
19544 * debug/xtrace.sh: Likewise.
19545 * elf/ldconfig.c: Likewise.
19546 * elf/ldd.bash.in: Likewise.
19547 * elf/pldd.c: Likewise.
19548 * elf/sotruss.ksh: Likewise.
19549 * elf/sprof.c: Likewise.
19550 * iconv/iconv_prog.c: Likewise.
19551 * iconv/iconvconfig.c: Likewise.
19552 * locale/programs/locale.c: Likewise.
19553 * locale/programs/localedef.c: Likewise.
19554 * login/programs/pt_chown.c: Likewise.
19555 * malloc/memusage.sh: Likewise.
19556 * malloc/memusagestat.c: Likewise.
19557 * malloc/mtrace.pl: Likewise.
19558 * manual/libc.texinfo: Likewise.
19559 * nscd/nscd.c: Likewise.
19560 * nss/getent.c: Likewise.
19561 * nss/makedb.c: Likewise.
19562 * posix/getconf.c: Likewise.
19563 * scripts/test-installation.pl: Likewise.
19564
d4697bc9
AM
19565 * All files with FSF copyright notices: Update copyright dates
19566 using scripts/update-copyrights.
19567 * intl/plural.c: Regenerated.
19568 * locale/programs/charmap-kw.h: Likewise.
19569 * locale/programs/locfile-kw.h: Likewise.
19570
c8590f9d
MF
195712013-12-31 Mike Frysinger <vapier@gentoo.org>
19572
19573 * sysdeps/unix/sysv/linux/configure: Regenerated.
19574 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19575 the linux/fanotify.h header.
19576 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19577 HAVE_LINUX_FANOTIFY_H is defined.
19578
b19221b9
SP
195792013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19580
dd1d85e5
SP
19581 * benchtests/cos-inputs: New inputs.
19582 * benchtests/sin-inputs: Likewise.
19583
1acbb90f
SP
19584 * benchtests/atan-inputs: New inputs. Fix name of multiple
19585 precision fallback inputs.
19586
4c012ed3
SP
19587 * benchtests/atanh-inputs: New inputs.
19588 * benchtests/tanh-inputs: Likewise.
19589
eff98324
SP
19590 * benchtests/acosh-inputs: New inputs.
19591 * benchtests/asinh-inputs: Likewise.
19592
ce641152
SP
19593 * benchtests/cosh-inputs: New inputs.
19594 * benchtests/sinh-inputs: Likewise.
19595
b19221b9
SP
19596 * benchtests/acos-inputs: Add more inputs.
19597 * benchtests/asin-inputs: Likewise.
19598
030a4976 195992013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19600
030a4976 19601 [BZ #16375]
9dcc8f11
VS
19602 * manual/arith.texi: Fix spelling.
19603 * manual/charset.texi: Likewise.
19604 * manual/errno.texi: Likewise.
19605 * manual/filesys.texi: Likewise.
19606 * manual/lang.texi: Likewise.
19607 * manual/llio.texi: Likewise.
19608 * manual/locale.texi: Likewise.
19609 * manual/message.texi: Likewise.
19610 * manual/resource.texi: Likewise.
19611 * manual/search.texi: Likewise.
19612 * manual/setjmp.texi: Likewise.
19613 * manual/stdio.texi: Likewise.
19614 * manual/string.texi: Likewise.
19615 * manual/sysinfo.texi: Likewise.
19616 * manual/time.texi: Likewise.
19617
11520a57
CD
196182013-12-27 Carlos O'Donell <carlos@redhat.com>
19619
19620 * po/sl.po: New file.
19621
471103ae
MF
196222013-12-27 Mike Frysinger <vapier@gentoo.org>
19623
19624 * .gitignore: Add core/.gdbinit/.gdb_history.
19625
6c9642ed
AM
196262013-12-27 Allan McRae <allan@archlinux.org>
19627
19628 [BZ #16369]
19629 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19630 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19631
3f637079
BM
196322013-12-24 Brooks Moses <bmoses@google.com>
19633
19634 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19635 all compilers that claim C++98 compliance, not just GCC.
19636 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19637 Likewise.
19638
abc26e99
MK
196392013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19640
19641 * NEWS: Restore accidentally deleted bug-fix entries.
19642
362b47fe
MK
196432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19644 Ondřej Bílka <neleai@seznam.cz>
19645
19646 [BZ #15073]
19647 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19648 have_lock.
362b47fe 19649
b9bcbbcb
OB
196502013-12-23 Ondřej Bílka <neleai@seznam.cz>
19651
19652 [BZ #12986]
19653 * manual/stdio.texi (String Input Conversions): Clarify that character
19654 classes are not supported.
19655
fb55fcd2
AZ
196562013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19657
19658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19659
ef7344f0
JM
196602013-12-22 Joseph Myers <joseph@codesourcery.com>
19661
4f40e4b3
JM
19662 [BZ #16337]
19663 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19664 Calculate results for small negative arguments directly rather
19665 than using reflection formula with special underflow handling.
19666
ef7344f0
JM
19667 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19668 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19669 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19670 (fchflags): Likewise.
19671 (revoke): Likewise.
19672 (setlogin): Likewise.
19673 (sigaltstack): Likewise.
19674 (wait4): Likewise.
19675 (sigblock): Remove.
19676 (sigsetmask): Likewise.
19677 (wait3): Likewise.
19678 (waitpid): Likewise.
19679 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19680 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19681 file.
19682 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19683 * sysdeps/unix/bsd/Makefile: ... here.
19684 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19685 * sysdeps/unix/bsd/Versions: ... here.
19686 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19687 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19688 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19689 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19690 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19691 * sysdeps/unix/bsd/sigblock.c: ... here.
19692 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19693 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19694 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19695 * sysdeps/unix/bsd/sigvec.c: ... here.
19696 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19697 * sysdeps/unix/bsd/tcdrain.c: ... here.
19698 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19699 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19700 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19701 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19702 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19703 * sysdeps/unix/bsd/wait.c: ... here.
19704 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19705 * sysdeps/unix/bsd/wait3.c: ... here.
19706 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19707 * sysdeps/unix/bsd/waitpid.c: ... here.
19708
5b0626b9
JM
197092013-12-21 Joseph Myers <joseph@codesourcery.com>
19710
19711 [BZ #16356]
19712 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19713 round-to-nearest for [!USE_AS_EXPM1L].
19714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19715 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19716 more tests of exp and exp10. Expect some exp10 tests to miss
19717 exceptions or fail in directed rounding modes.
19718 * math/auto-libm-test-out: Regenerated.
19719 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19720 (exp10_test_tonearest): New function.
19721 (exp10_towardzero_test_data): New array.
19722 (exp10_test_towardzero): New function.
19723 (exp10_downward_test_data): New array.
19724 (exp10_test_downward): New function.
19725 (exp10_upward_test_data): New array.
19726 (exp10_test_upward): New function.
19727 (main): Call the new functions.
19728 * sysdeps/i386/fpu/libm-test-ulps: Update.
19729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19730
7fda5682
JM
197312013-12-20 Joseph Myers <joseph@codesourcery.com>
19732
31e3a405
JM
19733 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19734 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19735 * math/auto-libm-test-out: Regenerated.
19736 * math/libm-test.inc (acosh_test_data): Add more tests.
19737 (atanh_test_data): Likewise.
19738 (ceil_test_data): Likewise.
19739 (copysign_test_data): Likewise.
19740 * sysdeps/i386/fpu/libm-test-ulps: Update.
19741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19742
85bff96a
JM
19743 * timezone/checktab.awk: Update from tzcode 2013i.
19744 * timezone/private.h: Likewise.
19745 * timezone/scheck.c: Likewise.
19746 * timezone/tzfile.h: Likewise.
19747 * timezone/tzselect.ksh: Likewise.
19748 * timezone/zdump.c: Likewise.
19749 * timezone/zic.c: Likewise.
19750
b7867a3b
JM
19751 * math/auto-libm-test-in: Add tests of cpow.
19752 * math/auto-libm-test-out: Regenerated.
19753 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19755 mpc_cc_c.
19756 (func_calc_desc): Add mpc_cc_c union field.
19757 (test_functions): Add cpow.
19758 (special_fill_2pi): New function.
19759 (special_real_inputs): Add 2pi.
19760 (calc_generic_results): Handle mpc_cc_c.
19761 * sysdeps/i386/fpu/libm-test-ulps: Update.
19762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19763
7fda5682
JM
19764 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19765 csqrt, ctan and ctanh.
19766 * math/auto-libm-test-out: Regenerated.
19767 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19768 (TEST_COND_x86): Likewise.
19769 (ccos_test_data): Use AUTO_TESTS_c_c.
19770 (ccosh_test_data): Likewise.
19771 (cexp_test_data): Likewise.
19772 (clog_test_data): Likewise.
19773 (csqrt_test_data): Likewise.
19774 (ctan_test_data): Likewise.
19775 (ctan_tonearest_test_data): Likewise.
19776 (ctan_towardzero_test_data): Likewise.
19777 (ctan_downward_test_data): Likewise.
19778 (ctan_upward_test_data): Likewise.
19779 (ctanh_test_data): Likewise.
19780 (ctanh_tonearest_test_data): Likewise.
19781 (ctanh_towardzero_test_data): Likewise.
19782 (ctanh_downward_test_data): Likewise.
19783 (ctanh_upward_test_data): Likewise.
19784 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19785 mpc_c_c.
19786 (func_calc_desc): Add mpc_c_c union field.
19787 (FUNC_mpc_c_c): New macro.
19788 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19789 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19790 ctanh.
19791 (special_fill_min_subnorm_p120): New function.
19792 (special_real_inputs): Add min_subnorm_p120.
19793 (calc_generic_results): Handle mpc_c_c.
19794 * sysdeps/i386/fpu/libm-test-ulps: Update.
19795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19796
5ff8d60e
SP
197972013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19798
57f41c40
AS
19799 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19800 (do_sin_slow): New functions.
19801 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19802 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19803
84ba214c
SP
19804 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19805 Use M to change sign of result instead of X. Assume X is
19806 positive.
19807 (csloww1): Likewise.
19808 (__sin): Adjust.
19809 (__cos): Adjust.
19810
975195e4
SP
19811 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19812 arguments A and DA.
19813 (__sin): Adjust.
19814 (__cos): Likewise.
19815
5ff8d60e
SP
19816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19817 (__cos): Likewise.
19818 (sloww1): Don't adjust sign of DX.
19819 (csloww1): Likewise.
19820 (sloww2): Use X directly and don't adjust sign of DX.
19821 (csloww2): Likewise.
19822
eb983568
JM
198232013-12-19 Joseph Myers <joseph@codesourcery.com>
19824
64a17f1a
JM
19825 * math/auto-libm-test-in: Add tests of cabs and carg.
19826 * math/auto-libm-test-out: Regenerated.
19827 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19828 (carg_test_data): Likewise.
19829 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19830 mpc_c_f.
19831 (func_calc_desc): Add mpc_c_f union field.
19832 (test_functions): Add cabs and carg.
19833 (calc_generic_results): Handle mpc_c_f.
19834
eb983568
JM
19835 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19836 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19837 as a macro and a compat symbol.
19838 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19839 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19840 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19841 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19842 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19843 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19844 not use .hidden.
19845 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19846 Likewise.
19847 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19848 Likewise.
19849 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19850 Likewise.
19851 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19852 Likewise.
19853 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19854 Likewise.
19855 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19856 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19857 from GLIBC_2.3.2.
19858
6eeb678a
AZ
198592013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19860
19861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19862
6f6fc482
JM
198632013-12-19 Joseph Myers <joseph@codesourcery.com>
19864
21fea2e2
JM
19865 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19866 trailing whitespace removed.
19867 * scripts/config.guess: Update to version 2013-11-29.
19868 * scripts/config.sub: Update to version 2013-10-01.
19869
6f6fc482
JM
19870 * math/auto-libm-test-in: Add tests of sincos.
19871 * math/auto-libm-test-out: Regenerated.
19872 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19873 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19874 mpfr_f_11.
19875 (func_calc_desc): Add mpfr_f_11 union field.
19876 (test_functions): Add sincos.
19877 (calc_generic_results): Handle mpfr_f_11.
19878 * sysdeps/i386/fpu/libm-test-ulps: Update.
19879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19880
83f5c32d
AS
198812013-12-19 Andreas Schwab <schwab@suse.de>
19882
19883 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19884 CALL_MCOUNT.
19885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19886 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19887 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19888
c688b419
JM
198892013-12-19 Joseph Myers <joseph@codesourcery.com>
19890
335ee092
JM
19891 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19892 * sysdeps/i386/fpu/libm-test-ulps: Update.
19893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19894
f88acd39
JM
19895 [BZ #16293]
19896 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19897 round-to-nearest mode when using frndint.
19898 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19899 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19900 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19901 Likewise.
19902 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19903 sinh test to fail.
19904 * math/auto-libm-test-out: Regenerated.
19905 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19906 (TEST_COND_x86): Likewise.
19907 (expm1_tonearest_test_data): New array.
19908 (expm1_test_tonearest): New function.
19909 (expm1_towardzero_test_data): New array.
19910 (expm1_test_towardzero): New function.
19911 (expm1_downward_test_data): New array.
19912 (expm1_test_downward): New function.
19913 (expm1_upward_test_data): New array.
19914 (expm1_test_upward): New function.
19915 (main): Run the new test functions.
19916 * sysdeps/i386/fpu/libm-test-ulps: Update.
19917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19918
c688b419
JM
19919 * include/features.h: Update comment documenting feature test
19920 macros. Mention _DEFAULT_SOURCE in comment.
19921 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19922 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19923 _BSD_SOURCE and _SVID_SOURCE.
19924 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19925 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19926 !_SVID_SOURCE]: Likewise.
19927 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19928 (__USE_POSIX_IMPLICITLY): Define.
19929 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19930 (_POSIX_SOURCE): Undefine and redefine.
19931 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19932 (_POSIX_C_SOURCE): Likewise.
19933 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19934 (Feature Test Macros): Update documentation of default features.
19935
9f6e964c
RS
199362013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19937
19938 * benchtests/Makefile: Add bench-strtok.
19939 * benchtests/bench-strtok.c: New file: strtok benchtest.
19940
ee0a148a
AM
199412013-12-19 Allan McRae <allan@archlinux.org>
19942
19943 * manual/install.texi: Suppress menu for plain text output.
19944 * INSTALL: Regenerated.
19945
b9ab448f
BM
199462013-12-18 Brooks Moses <bmoses@google.com>
19947
19948 [BZ #15846]
19949 * misc/getauxval.c: Include errno.h.
19950 (__getauxval): Set errno to ENOENT if the requested type is not
19951 found.
19952 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19953 don't declare with __attribute_const__.
19954 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19955 * manual/startup.texi: Document that getauxval sets errno.
19956
23776487
JM
199572013-12-18 Joseph Myers <joseph@codesourcery.com>
19958
f889953b
JM
19959 * math/auto-libm-test-in: Add tests of jn and yn.
19960 * math/auto-libm-test-out: Regenerated.
19961 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19962 (yn_test_data): Likewise.
19963 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19964 mpfr_if_f.
19965 (func_calc_desc): Add mpfr_if_f union field.
19966 (FUNC_mpfr_if_f): New macro.
19967 (test_functions): Add jn and yn.
19968 (calc_generic_results): Assert type of second input for
19969 mpfr_ff_f. Handle mpfr_if_f.
19970 (output_for_one_input_case): Disable all checking for arguments
19971 fitting floating-point types in case of an integer argument.
19972 * sysdeps/i386/fpu/libm-test-ulps: Update.
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19974
23776487
JM
19975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19976 Don't expect fegetround reference in libm.so.
19977
cb756c6d
MS
199782013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19979
19980 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19981 $(config-cflags-nofma).
19982
2dec468f
JM
199832013-12-18 Joseph Myers <joseph@codesourcery.com>
19984
5953eb3a
JM
19985 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19986 * math/auto-libm-test-out: Regenerated.
19987
2dec468f
JM
19988 [BZ #16338]
19989 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19990 to determine exponent and adjust argument to have exponent of -1.
19991 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19992 log2.
19993 * math/auto-libm-test-out: Regenerated.
19994 * sysdeps/i386/fpu/libm-test-ulps: Update.
19995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19996
4d84e6ad
OB
199972013-12-18 Ondřej Bílka <neleai@seznam.cz>
19998
19999 * manual/probes.texi: Remove cases when per-thread arenas are
20000 disabled.
20001
1818483b
AS
200022013-12-18 Andreas Schwab <schwab@suse.de>
20003
20004 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20005 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20006 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20007 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20008 * sysdeps/i386/i686/multiarch/Makefile: Update.
20009 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20010
25de95bf
JM
200112013-12-17 Joseph Myers <joseph@codesourcery.com>
20012
20013 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20014 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20015
674762d9
PE
200162013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20017
ed27ed83 20018 [BZ #15968]
0748546f
PE
20019 Support TZ transition times < 00:00:00.
20020 This is needed for version-3 tz-format files; it supports time
20021 stamps past 2037 for America/Godthab (the only entry in the tz
20022 database for which this change is relevant).
20023 * manual/time.texi (TZ Variable): Document transition times
20024 from -167:59:59 through -00:00:01.
20025 * time/tzset.c (tz_rule): Time of day is now signed.
20026 (__tzset_parse_tz): Parse negative time of day.
20027
4480e934
PE
20028 Document TZ transition times >= 25:00:00.
20029 * manual/time.texi (TZ Variable): Document transition times from
20030 25:00:00 through 167:59:59. These are already supported, and this
20031 support will help with version-3 tz-format files.
20032
69947401
PE
20033 * manual/time.texi (TZ Variable): Modernize North America example
20034 to reflect current (i.e., 2007-and-later) daylight saving rules.
20035
674762d9
PE
20036 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20037
7011c262
JM
200382013-12-17 Joseph Myers <joseph@codesourcery.com>
20039
2fc6557e
JM
20040 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20041 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20042 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20044 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20045 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20046 * sysdeps/unix/bsd/clock.c: Likewise.
20047 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20048 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20049 * sysdeps/unix/bsd/init-posix.c: Likewise.
20050 * sysdeps/unix/bsd/poll.c: Likewise.
20051 * sysdeps/unix/bsd/ptsname.c: Likewise.
20052 * sysdeps/unix/bsd/seekdir.c: Likewise.
20053 * sysdeps/unix/bsd/setegid.c: Likewise.
20054 * sysdeps/unix/bsd/seteuid.c: Likewise.
20055 * sysdeps/unix/bsd/setgid.c: Likewise.
20056 * sysdeps/unix/bsd/setrgid.c: Likewise.
20057 * sysdeps/unix/bsd/setruid.c: Likewise.
20058 * sysdeps/unix/bsd/setsid.c: Likewise.
20059 * sysdeps/unix/bsd/setuid.c: Likewise.
20060 * sysdeps/unix/bsd/sigaction.c: Likewise.
20061 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20062 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20063 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20064 * sysdeps/unix/bsd/telldir.c: Likewise.
20065 * sysdeps/unix/bsd/times.c: Likewise.
20066 * sysdeps/unix/bsd/usleep.c: Likewise.
20067
029c7b25
JM
20068 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20069 ($(objpfx)libbsd-compat.a): Remove rule.
20070
7011c262
JM
20071 * include/features.h (__FAVOR_BSD): Do not define.
20072 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20073 features conflicting with POSIX.
20074 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20075 (_BSD_SOURCE): Remove description of not being a subset of other
20076 feature test macros.
20077 * manual/job.texi (getpgrp): Do not document BSD version.
20078 (getpgid): Do not document by reference to BSD getpgrp.
20079 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20080 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20081 * signal/signal.h [__FAVOR_BSD]: Likewise.
20082 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20083 instead of making contents conditional on [__FAVOR_BSD].
20084 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20085
affb6f78
AZ
200862013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20087
20088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20089
c88769dd
JM
200902013-12-17 Joseph Myers <joseph@codesourcery.com>
20091
6432a540
JM
20092 [BZ #16314]
20093 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20094 values below 2**-450, not 2**-500.
20095 * math/auto-libm-test-in: Don't allow spurious underflow from
20096 hypot.
20097 * math/auto-libm-test-out: Regenerated.
20098
c88769dd
JM
20099 [BZ #16316]
20100 [BZ #16330]
20101 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20102 values of ha and hb and sort them after adjusting subnormal
20103 arguments.
20104 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20105 Likewise.
20106 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20107 values of ea and eb and sort them after adjusting subnormal
20108 arguments.
20109 * math/auto-libm-test-in: Do not expect some hypot tests of
20110 subnormals to fail. Add more hypot tests.
20111 * math/auto-libm-test-out: Regenerated.
20112
29618f6b
KK
201132013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20114
20115 [BZ #13304]
20116 * sysdeps/sh/s_fma.c: New file.
20117 * sysdeps/sh/s_fmaf.c: New file.
20118 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20119 version.
20120 * sysdeps/sh/Implies: Add sh/soft-fp.
20121
eacfdfbf
RM
201222013-12-16 Roland McGrath <roland@hack.frob.com>
20123
20124 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20125 level of indirection to members `objname', `errstring', `malloced'.
20126 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20127 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20128 it as the __longjmp argument (just pass 1 instead).
20129 (_dl_catch_error): Initialize C with argument pointers and address of
20130 volatile local ERRCODE rather than copying values out of C at return.
20131
ff362e5b
JM
201322013-12-16 Joseph Myers <joseph@codesourcery.com>
20133
20134 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20135 * math/auto-libm-test-out: Regenerated.
20136 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20137 (hypot_test_data): Likewise.
20138 (pow_test_data): Likewise.
20139 (pow_tonearest_test_data): Likewise.
20140 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20141 mpfr_ff_f.
20142 (func_calc_desc): Add mpfr_ff_f union field.
20143 (FUNC_mpfr_ff_f): New macro.
20144 (test_functions): Add atan2, hypot and pow.
20145 (special_fill_min): New function.
20146 (special_fill_minus_min): Likewise.
20147 (special_fill_min_subnorm): Likewise.
20148 (special_fill_minus_min_subnorm): Likewise.
20149 (special_real_inputs): Add min, -min, min_subnorm and
20150 -min_subnorm.
20151 (calc_generic_results): Handle mpfr_ff_f.
20152 * sysdeps/i386/fpu/libm-test-ulps: Update.
20153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20154
5764c27f
WN
201552013-12-16 Will Newton <will.newton@linaro.org>
20156
20157 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20158 (Aligned Memory Blocks): Add documentation for aligned_alloc
20159 and suggest it as an alternative to posix_memalign.
20160 (Hooks for Malloc): Document __memalign_hook is also called
20161 for aligned_alloc. (Summary of Malloc): Add summary for
20162 aligned alloc. Document __memalign_hook is also called
20163 for aligned_alloc.
20164
0a096e44
WN
201652013-12-16 Will Newton <will.newton@linaro.org>
20166
20167 * manual/memory.texi (Malloc Examples): Clarify default
20168 alignment documentation. Suggest posix_memalign rather
20169 than memalign or valloc.
20170 (Aligned Memory Blocks): Remove suggestion to use memalign
20171 or valloc. Remove obsolete comment about BSD.
20172 Document memalign errno values and mark the function obsolete.
20173 Document posix_memalign returned error codes. Mark valloc
20174 as obsolete. (Hooks for Malloc): __memalign_hook is also
20175 called for posix_memalign and valloc.
20176 (Summary of Malloc): Add posix_memalign to function summary.
20177 __memalign_hook is also called for posix_memalign and valloc.
20178
8d561986
SP
201792013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20180
20181 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20182 TAYLOR_SIN.
20183 (__sin): Adjust.
20184 (__cos): Likewise.
20185 (sloww): Use mynumber union. Expand ternary operator into
20186 if-else statements.
20187 (cslow): use mynumber union.
20188
73616a74
AM
201892013-12-16 Allan McRae <allan@archlinux.org>
20190
9e8ac24b
AM
20191 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20192 * configure: Regenerated.
20193
6f8e37eb
AM
20194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20195
8894bad3
AM
20196 [BZ #14120]
20197 * configure.ac: Added --enable-maintainer-mode. Check for
20198 autoconf when enabled.
20199 * configure: Regenerated.
20200
73616a74
AM
20201 * nscd/nscd.service: New file.
20202 * nscd/nscd.tmpfiles: New file.
20203
584b18eb
OB
202042013-12-14 Ondřej Bílka <neleai@seznam.cz>
20205
20206 [BZ #12100]
20207 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20208 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20209 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20210 (strstr): Add __strstr_sse2_unaligned ifunc.
20211 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20212 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20213 (strcasestr): Remove __strcasestr_sse42 ifunc.
20214 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20217
8a5c7897
KK
202182013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20219
20220 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20221 * sysdeps/sh/bits/fenv.h: ... here.
20222 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20223
fd712ef3
AZ
202242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20225
20226 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20227
42fcb46c
AZ
20228 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20229 hypotf multiarch implementations.
20230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20232 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20233 multiarch hypot for PPC64.
20234 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20237 multiarch hypotf for PPC64.
20238
83efded4
AZ
20239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20240 modff multiarch implementations.
20241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20244 multiarch modf for PPC64.
20245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20248 multiarch modff for PPC64.
20249
43e246d2
AZ
20250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20251 and logl multiarch implementations.
20252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20255 multiarch logb for PPC64.
20256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20259 multiarch logb for PPC64.
20260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20263 multiarch logb for PPC64.
20264
8fdad123
AZ
20265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20266 isinff multiarch implementation.
20267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20268 file.
20269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20271 multiarch isinf for PPC64.
20272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20273 file.
20274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20275 multiarch isinff for PPC64.
20276
1481d706
AZ
20277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20278 finitef multiarch implementation.
20279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20280 file.
20281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20283 multiarch finite for PPC64.
20284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20285 file.
20286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20287 multiarch finitef for PPC64.
20288
5ccd5fc8
AZ
20289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20290 lrint multiarch implementation.
20291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20292 file.
20293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20295 multiarch llrint for PPC64.
20296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20297 multiarch lrint for PPC64.
20298
2568f3fa
AZ
20299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20300 copysignf multiarch implementation.
20301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20302 file.
20303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20304 file.
20305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20306 multiarch copysign for PPC64.
20307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20308 multiarch copysignf for PPC64.
20309
1cb341fd
AZ
20310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20311 multiarch implementation.
20312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20313 file.
20314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20315 file.
20316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20317 file.
20318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20319 file.
20320 multiarch llround for PPC64.
20321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20322 multiarch trunc for PPC64.
20323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20324 multiarch truncf for PPC64.
20325
59a3e194
AZ
20326 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20327 multiarch implementation.
20328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20329 file.
20330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20331 file.
20332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20333 file.
20334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20335 file.
20336 multiarch llround for PPC64.
20337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20338 multiarch round for PPC64.
20339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20340 multiarch roundf for PPC64.
20341
357fd3b4
AZ
20342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20343 multiarch implementation.
20344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20345 file.
20346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20347 file.
20348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20349 file.
20350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20351 file.
20352 multiarch llround for PPC64.
20353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20354 multiarch floor for PPC64.
20355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20356 multiarch floorf for PPC64.
20357
96770f12
AZ
20358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20359 multiarch implementation.
20360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20361 file.
20362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20363 file.
20364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20365 file.
20366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20367 file.
20368 multiarch llround for PPC64.
20369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20370 multiarch ceil for PPC64.
20371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20372 multiarch ceilf for PPC64.
20373
c3627f6e
AZ
20374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20375 multiarch implementation.
20376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20377 file.
20378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20379 file.
20380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20381 file.
20382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20383 multiarch llround for PPC64.
20384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20385 multiarch lround for PPC64.
20386
b2284ad7
AZ
20387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20388 multiarch implementation.
20389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20392 file.
20393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20396 multiarch isnan for PPC64.
20397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20398 multiarch isnanf for PPC64.
20399
69bbc63d
AZ
20400 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20401 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20402 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20403 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20404 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20406
c24517c9
AZ
20407 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20411
a52374e8
AZ
20412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20413 multiarch implementations.
20414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20415 (__libc_ifunc_impl_list): Likewise.
20416 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20417 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20418 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20419 multiarch stpcpy for PPC64.
20420
7f5ec113
AZ
20421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20422 multiarch implementations.
20423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20424 (__libc_ifunc_impl_list): Likewise.
20425 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20426 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20427 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20428 multiarch strcpy for PPC64.
20429
e28bcd42
AZ
20430 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20431 redefine function name.
20432 (_wordcopy_fwd_dest_aligned): Likewise.
20433 (_wordcopy_bwd_aligned): Likewise.
20434 (_wordcopy_bwd_dest_aligned): Likewise.
20435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20436 multiarch implementations.
20437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20438 (__libc_ifunc_impl_list): Likewise.
20439 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20440 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20441 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20442 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20443 multiarch wcscpy for PPC64.
20444
92cacfce
AZ
20445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20446 multiarch implementations.
20447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20448 (__libc_ifunc_impl_list): Likewise.
20449 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20450 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20451 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20452 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20453 multiarch wcscpy for PPC64.
20454
7b714620
AZ
20455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20456 multiarch implementations.
20457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20458 (__libc_ifunc_impl_list): Likewise.
20459 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20460 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20461 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20462 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20463 multiarch wcsrchr for PPC64.
20464
16fd2ae3
AZ
20465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20466 multiarch implementations.
20467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20468 (__libc_ifunc_impl_list): Likewise.
20469 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20470 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20471 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20472 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20473 multiarch wcschr for PPC64.
20474
9ee2969b
AZ
20475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20476 multiarch implementations.
20477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20478 (__libc_ifunc_impl_list): Likewise.
20479 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20480 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20481 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20482 multiarch strchrnul for PPC64.
20483
372dc060
AZ
20484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20485 implementations.
20486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20487 (__libc_ifunc_impl_list): Likewise.
20488 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20489 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20490 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20491 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20492 strchr for PPC64.
20493
24c2c3b9
AZ
20494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20495 implementations.
20496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20497 (__libc_ifunc_impl_list): Likewise.
20498 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20499 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20500 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20501 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20502 strncmp for PPC64.
20503
1c92d9a0
AZ
20504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20505 multiarch implementations.
20506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20507 (__libc_ifunc_impl_list): Likewise.
20508 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20509 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20510 strncasecmp for PPC64.
20511 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20512 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20513 multiarch strncasecmp_l for PPC64.
20514
17de3ee3
AZ
20515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20516 multiarch implementations.
20517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20518 (__libc_ifunc_impl_list): Likewise.
20519 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20520 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20521 multiarch strcasecmp for PPC64.
20522 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20523 file.
20524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20525 multiarch strcasecmp_l for PPC64.
20526
62982bf9
AZ
20527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20528 implementations.
20529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20530 (__libc_ifunc_impl_list): Likewise.
20531 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20532 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20533 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20534 strnlen for PPC64.
20535
a65f4904
AZ
20536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20537 implementations.
20538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20539 (__libc_ifunc_impl_list): Likewise.
20540 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20541 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20542 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20543 strlen for PPC64.
20544
1fd005ad
AZ
20545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20546 implementations.
20547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20548 (__libc_ifunc_impl_list): Likewise.
20549 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20550 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20551 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20552 rawmemrchr for PPC64.
20553
cd05ba91
AZ
20554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20555 implementation.
20556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20557 (__libc_ifunc_impl_list): Likewise.
20558 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20559 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20560 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20561 memrchr for PPC64.
20562
870f8676
AZ
20563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20564 implementation.
20565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20566 (__libc_ifunc_impl_list): Likewise.
20567 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20568 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20569 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20570 memchr for PPC64.
20571
f00be62b
AZ
20572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20573 implementation.
20574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20575 (__libc_ifunc_impl_list): Likewise.
20576 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20577 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20578 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20579 mempcpy for PPC64.
20580
8a29a3d0
AZ
20581 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20582 avoid cretion of __bzero symbol.
20583 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20584 Likewise.
20585 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20586 Likewise.
20587 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20588 Likewise.
20589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20590 multiarch implementations.
20591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20592 (__libc_ifunc_impl_list): Likewise.
20593 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20594 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20595 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20596 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20597 bzero for PPC32.
20598 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20599 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20600 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20601 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20602 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20603 memset for PPC64.
20604 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20605
07253fcf
AZ
20606 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20608 implementations.
20609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20610 (__libc_ifunc_impl_list): Likewise.
20611 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20612 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20613 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20614 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20615 memcmp for PPC64.
20616
b5beafbc
AZ
20617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20618 multiarch for POWER/PPC64.
20619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20620 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20621 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20622 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20623 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20625 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20627 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20628 memcpy for PPC64.
20629
5e6a4d4b
AZ
20630 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20631 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20632 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20633 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20634 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20635 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20636 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20637 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20638 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20639 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20640 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20641 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20642 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20643 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20644 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20652
ddfab6dc
KK
206532013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20654
20655 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20656
19b5525e
SP
206572013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20658
20659 * benchtests/Makefile (bench): Add exp2 and log2.
20660 (LDLIBS-bench-exp2): Add -lm.
20661 (LDLIBS-bench-log2): Likewise.
20662 * benchtests/exp2-inputs: New inputs file.
20663 * benchtests/log2-inputs: New inputs file.
20664 * benchtests/log-inputs: Add new inputs.
20665 * benchtests/tan-inputs: Likewise.
20666
196f7f5d
SP
206672013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20668
7a74607f
SP
20669 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20670 definition...
57f41c40
AS
20671 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20672 (csloww2): ... from here.
7a74607f 20673
196f7f5d
SP
20674 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20675 instead of structures.
20676 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20677 (POLYNOMIAL): Likewise.
20678 (TAYLOR_SLOW): Likewise.
20679 (__sin): Likewise.
20680 (__cos): Likewise.
20681 (slow1): Likewise.
20682 (slow2): Likewise.
20683 (sloww): Likewise.
20684 (sloww1); Likewise.
20685 (sloww2): Likewise.
20686 (bsloww1): Likewise.
20687 (bsloww2): Likewise.
20688 (cslow2): Likewise.
20689 (csloww): Likewise.
20690 (csloww1): Likewise.
20691 (csloww2): Likewise.
20692
0dfa665c
OB
206932013-12-10 Ondřej Bílka <neleai@seznam.cz>
20694
20695 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20696 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20697 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20698 * malloc/hooks.c (realloc_check): Likewise.
20699
5782a80f
OB
20700 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20701 * malloc/arena.c: Remove PER_THREAD conditional.
20702 [!PER_THREAD]: Remove code.
20703 (ptmalloc_unlock_all2): Likewise.
20704 (ptmalloc_init): Likewise.
20705 (_int_new_arena): Likewise.
20706 (arena_get2): Likewise.
20707 * malloc/hooks.c (__malloc_get_state): Likewise.
20708 (__malloc_set_state): Likewise.
20709 * malloc/malloc.c: Likewise.
20710 (struct malloc_state): Likewise.
20711 (struct malloc_par): Likewise.
20712 (__libc_realloc): Likewise.
20713 (__libc_mallopt): Likewise.
20714
aeb95445
AZ
207152013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20716
20717 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20718
e8349efd
OB
207192013-12-09 Ondřej Bílka <neleai@seznam.cz>
20720
20721 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20722 macro to a function. Check for zero perturb_byte.
20723 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20724
f3eeb3fc 20725 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20726 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20727 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20728 force_reg by atomic_forced_read.
20729 * malloc/arena.c (ptmalloc_init): Likewise.
20730 * malloc/hooks.c (top_check): Likewise.
20731
be2f9009
AZ
207322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20733
20734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20735
e7b914bd
MT
207362013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20737
20738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20739
9f0be4f8
JM
207402013-12-08 Joseph Myers <joseph@codesourcery.com>
20741
20742 * math/auto-libm-test-in: Add tests of lgamma.
20743 * math/auto-libm-test-out: Regenerated.
20744 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20745 (M_LOG_2_SQRT_PIl): Likewise.
20746 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20747 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20748 mpfr_f_f1.
20749 (func_calc_desc): Add mpfr_f_f1 union field.
20750 (ARGS1): New macro.
20751 (ARGS2): Likewise.
20752 (ARGS3): Likewise.
20753 (ARGS4): Likewise.
20754 (RET1): Likewise.
20755 (RET2): Likewise.
20756 (CALC): Likewise.
20757 (FUNC): Likewise.
20758 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20759 (test_functions): Add lgamma.
20760 (calc_generic_results): Handle mpfr_f_f1.
20761 * sysdeps/i386/fpu/libm-test-ulps: Update.
20762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20763
24eeafdb
AZ
207642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20765
20766 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20767 __mpn_add_n for PowerPC64/POWER7.
20768 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20769 __mpn_sub_n for PowerPC64/POWER7.
20770
4a2c0fd4
AZ
20771 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20772 __mpn_addmul_1 for PowerPC64.
20773 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20774 __mpn_submul_1 for PowerPC64.
20775 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20776 for PowerPC64.
20777 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20778 for PowerPC64.
20779
4b5b548c
FS
207802013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20781
20782 [BZ #15089]
20783 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20784
0a3ac0aa
AZ
207852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20786
20787 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20788
ccdc8438
AZ
20789 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20790 add multiarch folders.
20791 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20792 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20793 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20794 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20795 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20796 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20797 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20798 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20799 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20800 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20801 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20808
2e973d99
AZ
20809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20810 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20812 New file.
20813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20814 New file.
20815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20816 multiarch __ieee754_hypot for PowerPC32.
20817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20818 New file.
20819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20820 New file.
20821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20822 multiarch __ieee754_hypotf for PowerPC32.
20823
2d9470b2
AZ
20824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20825 long_double_symbol only if __logbl is defined.
20826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20827 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20829 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20831 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20833 path for implementation.
20834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20835 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20837 logb, and logbl multiarch implementations for PowerPC32.
20838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20839 file.
20840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20841 file.
20842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20843 multiarch logb for PowerPC32.
20844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20845 file.
20846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20847 file.
20848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20849 multiarch logbf for PowerPC32.
20850 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20852 file.
20853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20854 multiarch logbl implementation for PowerPC32.
20855
5212ffce
AZ
20856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20857 and modff multiarch implementations.
20858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20859 New file.
20860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20861 New file.
20862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20863 multiarch modf for PowerPC32.
20864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20865 New file.
20866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20867 New file.
20868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20869 multiarch modff for PowerPC32.
20870
79dccf31
AZ
20871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20872 and lrintf multiarch implementations.
20873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20874 New file.
20875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20876 New file.
20877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20878 multiarch lrint for PowerPC32.
20879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20880 file: multiarch lrintf for PowerPC32.
20881
deb66480
AZ
20882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20883 and lroundf multiarch implementations.
20884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20885 New file.
20886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20887 New file.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20889 New file.
20890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20891 multiarch lround for PowerPC32.
20892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20893 file: multiarch lroundf for PowerPC32.
20894
264b036b
AZ
20895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20896 copysign and copysignf multiarch implementations.
20897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20898 New file.
20899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20900 New file.
20901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20902 file: multiarch copysign for PowerPC32.
20903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20904 file: multiarch copysignf for PowerPC32.
20905
d47db6c9
AZ
20906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20907 and truncf multiarch implementations.
20908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20909 New file.
20910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20911 file.
20912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20913 multiarch trunc for PowerPC32.
20914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20915 New file.
20916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20917 New file.
20918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20919 multiarch truncf for PowerPC32.
20920
ddb60b5a
AZ
20921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20922 and roundf multiarch implementations.
20923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20924 New file.
20925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20926 file.
20927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20928 multiarch round for PowerPC32.
20929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20930 New file.
20931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20932 New file.
20933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20934 multiarch roundf for PowerPC32.
20935
bedcf49b
AZ
20936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20937 and floorf multiarch implementations.
20938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20939 New file.
20940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20941 file.
20942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20943 multiarch floor for PowerPC32.
20944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20945 New file.
20946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20947 New file.
20948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20949 multiarch floorf for PowerPC32.
20950
35ae5b40
AZ
20951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20952 and ceilf multiarch implementations.
20953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20954 New file.
20955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20956 file.
20957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20958 multiarch ceil for PowerPC32.
20959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20960 New file.
20961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20962 file.
20963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20964 multiarch ceilf for PowerPC32.
20965
ae1a4cd9
AZ
20966 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20967 is defined.
20968 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20969 FINITEF is defined.
20970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20971 and finitef multiarch implementations.
20972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20973 New file.
20974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20975 file.
20976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20977 multiarch finite for PowerPC32.
20978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20979 New file.
20980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20981 file: multiarch finitef for PowerPC32.
20982
64fffd65
AZ
20983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20984 and isinff multiarch implementations.
20985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20986 file.
20987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20988 file.
20989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20990 multiarch isinf for PowerPC32.
20991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20992 New file.
20993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20994 multiarch isinff for PowerPC32.
20995
8e4e7ba2
AZ
20996 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20997 alias when __isnan is defined.
20998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20999 and isnanf multiarch implementations.
21000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21001 file.
21002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21003 file.
21004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21005 file.
21006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21007 file.
21008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21009 multiarch isnan for PowerPC32.
21010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21011 New file.
21012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21013 New file.
21014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21015 multiarch isnanf for PowerPC32.
21016
ddba588e
AZ
21017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21018 and sqrtf multiarch implementations.
21019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21020 file.
21021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21022 file.
21023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21024 multiarch sqrt for PowerPC32.
21025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21026 file.
21027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21028 file.
21029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21030 multiarch sqrtf for PowerPC32.
21031
0f96a2f0
AZ
21032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21033 and llroundf multiarch implementations.
21034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21035 New file.
21036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21037 New file.
21038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21039 New file.
21040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21041 file: multiarch llround for PowerPC32.
21042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21043 file: multiarch llroundf for PowerPC32.
21044
c9b5d79e
AZ
21045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21046 multiarch PowerPC32 fpu implementations.
21047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21048 New file.
21049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21050 New file.
21051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21052 multiarch llrint for PowerPC32.
21053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21054 New file.
21055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21056 New file.
21057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21058 file.
21059
9cbb3aab
AZ
21060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21061
ea5a72f8
AZ
21062 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21063 file.
21064 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21065 file.
21066 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21067 file.
21068 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21069 multiarch wordcopy for PPC32.
21070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21071 wordcopy objects.
21072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21073 (__libc_ifunc_impl_list): Likewise.
21074 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21075 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21076 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21077 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21078 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21079 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21080
93be09e7
AZ
21081 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21083 file.
21084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21085 file.
21086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21087 file.
21088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21089 multiarch wcscpy for PPC32.
21090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21091 multiarch objects.
21092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21093 (__libc_ifunc_impl_list): Likewise.
21094 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21095 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21096 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21097 sysdeps/powerpc/power6/wcscpy.c.
21098
bb04e529
AZ
21099 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21101 file.
21102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21103 file.
21104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21105 file.
21106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21107 multiarch wcsrchr for PPC32.
21108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21109 multiarch objects.
21110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21111 (__libc_ifunc_impl_list): Likewise.
21112 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21113 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21114 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21115 sysdeps/powerpc/power6/wcsrchr.c.
21116
05b5cd1c
AZ
21117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21118 file.
21119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21120 file.
21121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21123 multiarch wcschr for PPc32.
21124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21125 multiarch objects.
21126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21127 (__libc_ifunc_impl_list): Likewise.
21128 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21129 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21130 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21131 sysdeps/powerpc/power6/wcschr.c.
21132
ba964147
AZ
21133 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21134 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21135 file.
21136 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21137 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21138 file: multiarch strchr for PPC32.
21139 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21140 multiarch objects.
21141 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21142 (__libc_ifunc_impl_list): Likewise.
21143
31c81aaa
AZ
21144 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21145 name.
21146 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21147 file.
21148 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21149 file.
21150 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21151 multiarch strchrnul for PPC32.
21152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21153 multiarch objects.
21154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21155 (__libc_ifunc_impl_list): Likewise.
21156
0d0607d9
AZ
21157 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21158 file.
21159 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21160 multiarch strncasecmp for PPC32.
21161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21162 file.
21163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21164 multiarch strncasecmp_l for PPC32.
21165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21166 strncasecmp multiarch objects.
21167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21168 (__libc_ifunc_impl_list): Likewise.
21169
4dfd5c86
AZ
21170 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21171 file.
21172 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21173 multiarch strncasecmp for PPC32.
21174 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21175 New file.
21176 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21177 multiarch strcasecmp_l for PPC32.
21178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21179 multiarch objects.
21180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21181 (__libc_ifunc_impl_list): Likewise.
21182
a19e01a3
AZ
21183 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21184 file.
21185 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21186 file.
21187 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21188 multiarch strncmp for PPC32.
21189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21190 multiarch objects.
21191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21192 (__libc_ifunc_impl_list): Likewise.
21193
ae9cf7a2
AZ
21194 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21195 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21196 file.
21197 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21198 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21200 multiarch objects.
21201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21202 (__libc_ifunc_impl_list): Likewise.
21203
3148bb7d
AZ
21204 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21205 file.
21206 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21207 file.
21208 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21210 multiarch objects.
21211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21212 (__libc_ifunc_impl_list): Likewise.
21213
7af8b946
AZ
21214 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21215 file.
21216 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21217 file.
21218 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21219 multiarch rawmemchr for PPC32.
21220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21221 multiarch objects.
21222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21223 (__libc_ifunc_impl_list): Likewise.
21224
03a6aa6a
AZ
21225 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21226 file.
21227 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21228 file.
21229 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21230 file: memrchr multiarch for PPC32.
21231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21232 multiarch objects.
21233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21234 (__libc_ifunc_impl_list): Likewise.
21235
1c62e6d9
AZ
21236 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21237 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21238 file.
21239 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21240 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21241 multiarch memchr for PPC32.
21242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21243 multiarch objects.
21244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21245 (__libc_ifunc_impl_list): Likewise.
21246
87da8bdb
AZ
21247 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21248 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21249 file.
21250 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21251 file.
21252 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21253 file: multiarch mempcpy for PPC32.
21254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21255 multiarch objects.
21256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21257 (__libc_ifunc_impl_list): Likewise.
21258
20ed4714
AZ
21259 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21260 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21261 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21262 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21263 multiarch bzero for PPC32.
21264 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21265 file.
21266 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21267 file.
21268 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21269 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21270 file: multiarch memset for PPC32.
21271 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21273 memset multiarch objects.
21274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21275 (__libc_ifunc_impl_list): Likewise.
21276
ab3e3a46
AZ
21277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21278 file.
21279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21281 memcmp for PPC32.
21282 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21284 multiarch objects.
21285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21286 (__libc_ifunc_impl_list): Likewise.
21287
930de6f0
AZ
21288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21291 file.
21292 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21293 file.
21294 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21295 file.
21296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21297 multiarch memcpy for PPC32.
21298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21299 multiarch objects.
21300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21301 (__libc_ifunc_impl_list): Likewise.
21302
4c628e00
AZ
21303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21304 support multiarch for POWER/PPC32.
21305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21306 Likewise.
21307 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21309 Implies file to make multiarch folder appers before the fpu and
21310 default folder for power4 configuration.
21311
f4479220
SP
213122013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21313
21314 * scripts/bench.pl: Append volatile keyword to type.
21315
8517800f
KK
213162013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21317
21318 * sysdeps/sh/sotruss-lib.c: New file.
21319 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21320
180138f1
AZ
213212013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21322
21323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21324
bbf37bdc
JM
213252013-12-05 Joseph Myers <joseph@codesourcery.com>
21326
e47cc4e0
JM
21327 [BZ #6810]
21328 * math/w_tgamma.c: Include <errno.h>.
21329 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21330 * math/w_tgammaf.c: Include <errno.h>.
21331 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21332 * math/w_tgammal.c: Include <errno.h>.
21333 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21334 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21335 underflow. Add more tgamma tests.
21336 * math/auto-libm-test-out: Regenerated.
21337 * sysdeps/i386/fpu/libm-test-ulps: Update.
21338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21339
bbf37bdc
JM
21340 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21341 sin, sinh, tan, tanh, tgamma, y0 and y1.
21342 * math/auto-libm-test-out: Regenerated.
21343 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21344 (TEST_COND_x86): Likewise.
21345 (M_E2l): Remove macro.
21346 (M_E3l): Likewise.
21347 (M_2_SQRT_PIl): Likewise.
21348 (M_SQRT_PIl): Likewise.
21349 (M_1_DIV_El): Likewise.
21350 (log_test_data): Use AUTO_TESTS_f_f.
21351 (log10_test_data): Likewise.
21352 (log1p_test_data): Likewise.
21353 (log2_test_data): Likewise.
21354 (sin_test_data): Likewise.
21355 (sin_tonearest_test_data): Likewise.
21356 (sin_towardzero_test_data): Likewise.
21357 (sin_downward_test_data): Likewise.
21358 (sin_upward_test_data): Likewise.
21359 (sinh_test_data): Likewise.
21360 (sinh_tonearest_test_data): Likewise.
21361 (sinh_towardzero_test_data): Likewise.
21362 (sinh_downward_test_data): Likewise.
21363 (sinh_upward_test_data): Likewise.
21364 (tan_test_data): Likewise.
21365 (tan_tonearest_test_data): Likewise.
21366 (tan_towardzero_test_data): Likewise.
21367 (tan_downward_test_data): Likewise.
21368 (tan_upward_test_data): Likewise.
21369 (tanh_test_data): Likewise.
21370 (tgamma_test_data): Likewise.
21371 (y0_test_data): Likewise.
21372 (y1_test_data): Likewise.
21373 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21374 (special_real_inputs): Add pi/4.
21375 * sysdeps/i386/fpu/libm-test-ulps: Update.
21376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21377
eb5ad6b9
AZ
213782013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21379
21380 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21381 "longjmp_target" static probes.
21382 (__longjmp): Rename to __longjmp_symbol.
21383 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21384 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21385 on which longjmp to generate.
21386 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21387 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21388 probe.
21389 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21390 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21391 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21392 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21393 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21394 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21396 __longjmp_symbol based on which __longjmp to generate.
21397 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21398 probe.
21399 (setjmp): Rename to setjmp_symbol.
21400 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21401 (_setjmp): Rename to _setjmp_symbol.
21402 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21403 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21404 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21405 which setjmp to generate.
21406 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21407 "longjmp_target" static probes.
21408
d136c6dc
SP
214092013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21410
9298ecba
SP
21411 * benchtests/README: Add note about output arguments.
21412 * benchtests/bench-sincos.c: Remove file.
21413 * benchtests/sincos-inputs: New file.
21414 * scripts/bench.pl: Identify output arguments and define
21415 static variables for them.
21416
232983e9
SP
21417 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21418
d136c6dc
SP
21419 [BZ #15941]
21420 * Makefile (INSTALL): Add install-plain.texi as the primary
21421 dependency.
21422 * manual/install-plain.texi: New file.
21423 * manual/install.texi: Include node directive only for
21424 non-plaintext output.
21425
699ff837
JM
214262013-12-04 Joseph Myers <joseph@codesourcery.com>
21427
ab07cea8
JM
21428 * stdlib/longlong.h: Update from GCC.
21429
699ff837
JM
21430 [BZ #6807]
21431 [BZ #15901]
21432 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21433 * math/w_j0f.c (y0f): Likewise.
21434 * math/w_j0l.c (__y0l): Likewise.
21435 * math/w_j1.c (y1): Likewise.
21436 * math/w_j1f.c (y1f): Likewise.
21437 * math/w_j1l.c (__y1l): Likewise
21438 * math/w_jn.c (yn): Likewise.
21439 * math/w_jnf.c (ynf): Likewise.
21440 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21441 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21442 value for Bessel function domain errors outside _SVID_ mode.
21443 Adjust sign of return value for yn (negative integer, 0).
21444 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21445 by zero in return for negative x and set sign appropriately for
21446 negative n.
21447 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21448 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21449 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21450 expectations in error cases.
21451 (y1_test_data): Likewise.
21452 (yn_test_data): Likewise.
21453 * sysdeps/i386/fpu/libm-test-ulps: Update.
21454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21455
5b118558
UW
214562013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21457
21458 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21459 "64" to "64-v1". Add "64-v2".
21460 (abi-64-options): Rename to ...
21461 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21462 (abi-64-condition): Rename to ...
21463 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21464 (abi-64-ld-soname): Rename to ...
21465 (abi-64-v1-ld-soname): ... this.
21466 (abi-64-v2-options): Define.
21467 (abi-64-v2-condition): Likewise.
21468 (abi-64-v2-ld-soname): Likewise.
21469 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21470 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21474
61cd8fe4
UW
214752013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21476 Alan Modra <amodra@gmail.com>
21477
21478 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21479 New versions for use with the ELFv2 ABI.
21480 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21481 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21482 declaration.
21483 (struct La_ppc64v2_retval): Likewise.
21484 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21485 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21486 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21487 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21488 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21490 Do not save or restore CR.
21491 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21492 (_dl_profile_resolve): Do no save or restore CR. Support extended
21493 return values for ELFv2 ABI. Fix location of FPR return registers.
21494 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21495 updated values for _CALL_ELF == 2.
21496 (La_regs, La_retval, int_retval): Likewise.
21497
8b8a692c
UW
214982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21499
21500 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21501 (FRAME_MIN_SIZE_PARM): Likewise.
21502 (FRAME_BACKCHAIN): Likewise.
21503 (FRAME_CR_SAVE): Likewise.
21504 (FRAME_LR_SAVE): Likewise.
21505 (FRAME_TOC_SAVE): Likewise.
21506 (FRAME_PARM_SAVE): Likewise.
21507 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21508 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21509 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21510 (call_mcount_parm_offset): New macro.
21511 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21512 (PROF): Use symbolic stack frame offsets.
21513 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21514 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21515 Redefine in terms of FRAME_MIN_SIZE.
21516 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21517 (_dl_profile_resolve): Likewise. Update comment.
21518 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21519 symbols stack frame offsets.
21520 (__sigsetjmp): Likewise.
21521 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21522 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21523 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21524 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21525
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21527 (FRAME_BACKCHAIN): Remove.
21528 (FRAME_CR_SAVE): Likewise.
21529 (FRAME_LR_SAVE): Likewise.
21530 (FRAME_COMPILER_DW): Likewise.
21531 (FRAME_LINKER_DW): Likewise.
21532 (FRAME_TOC_SAVE): Likewise.
21533 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21534 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21535 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21536 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21538 (CHECK_SP): Use symbolic stack frame offsets.
21539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21540 zone" instead of caller's parameter save area for temp storage.
21541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21542 Likewise. Also, use symbolic stack frame offsets.
21543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21544 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21545 our own stack frame instead of the caller's.
21546 (__socket): Use symbolic stack frame offsets.
21547
122b66de
UW
215482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21549 Alan Modra <amodra@gmail.com>
21550
21551 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21552 Define.
57f41c40
AS
21553 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21554 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21555 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21556 New function.
21557 (elf_machine_fixup_plt): Call it.
21558 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21559 reloc arguments.
21560 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21561 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21562 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21563 r2 before calling target.
21564
696caf1d
UW
215652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21566 Alan Modra <amodra@gmail.com>
21567
21568 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21569 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21570 versions of macros to support ELFv2 ABI.
21571 (LOCALENTRY): New macro.
21572 (ENTRY, EALIGN): Use it.
21573 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21574 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21575 fall through into ENTRY entry point.
21576 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21577 Only define if _CALL_ELF != 2.
21578
21579 (elf_machine_matches_host): Verify ABI version matches.
21580 (RTLD_START): Use LOCALENTRY.
21581 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21582 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21583 (PLT_ENTRY_WORDS): New macro.
21584 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21585 (elf_machine_runtime_setup): Support ELFv2 ABI.
21586 (elf_machine_fixup_plt): Likewise.
21587 (elf_machine_plt_conflict): Likewise.
21588 (resolve_ifunc): Likewise.
21589 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21590 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21591 Likewise.
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21593 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21595 (makecontext): Support ELFv2 ABI.
21596 * elf/elf.h (EF_PPC64_ABI): Define.
21597
d31beafa
UW
215982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21599
57f41c40
AS
21600 * sysdeps/powerpc/powerpc64/sysdep.h
21601 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21602 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21603 (ENTRY) [ASSEMBLER]: ... but instead here ...
21604 (EALIGN) [ASSEMBLER]: ... and here.
21605 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21606 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21607 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21608 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21609 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21610 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21611 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21612 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21614 Use PPC64_LOAD_FUNCPTR.
21615
b525166b
UW
21616 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21617
7ec07d9a
AM
216182013-12-04 Alan Modra <amodra@gmail.com>
21619
21620 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21621 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21622 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21623 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21624
21625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21626 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21627 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21628 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21629 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21630 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21631
5162e7dd
UW
216322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21633
21634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21635 (__makecontext): Fix incorrect CFI when backtracing out of
21636 context created via makecontext.
21637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21638 (__setcontext): Fix incorrect CFI during switch to new context.
21639 (__novec_setcontext): Likewise.
21640
19e3372b
OB
216412013-12-04 Ondřej Bílka <neleai@seznam.cz>
21642
21643 [BZ #4772]
21644 * time/strptime_l.c (__strptime_internal): Allow modifiers
21645 in strptime.
21646 * time/tst-strptime.c (day_tests): Add testcase.
21647
ecaf142d
SP
216482013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21649
21650 * scripts/bench.pl: Skip over blank lines.
21651
fbf964ae
PE
216522013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21653
21654 [BZ #926]
21655 * manual/time.texi (Calendar Time): Clarify what timezone functions
21656 use.
21657
fa60a674
AZ
216582013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21659
21660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21661
d674f0ef
OB
216622013-12-04 Ondřej Bílka <neleai@seznam.cz>
21663
21664 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21665 implementation.
21666 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21667 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21668 * debug/memset_chk.c (__memset_chk): Likewise.
21669 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21670 * debug/strncpy_chk.c: Likewise.
21671
17dea188
JM
216722013-12-03 Joseph Myers <joseph@codesourcery.com>
21673
749008ff
JM
21674 [BZ #15268]
21675 [BZ #15425]
21676 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21677 (__ieee754_exp): For possibly underflowing results, check size of
21678 result and force underflow exception if required.
21679 * math/auto-libm-test-in: Add more tests of exp.
21680 * math/auto-libm-test-out: Regenerated.
21681 * sysdeps/i386/fpu/libm-test-ulps: Update.
21682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21683
17dea188
JM
21684 [BZ #16283]
21685 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21686 * math/w_exp2f.c (__exp2f): Likewise.
21687 * math/w_exp2l.c (__exp2l): Likewise.
21688 * math/auto-libm-test-in: Do not allow missing errno on exp2
21689 underflow.
21690 * math/auto-libm-test-out: Regenerated.
21691
b20de2c3
OB
216922013-12-03 Ondřej Bílka <neleai@seznam.cz>
21693
21694 [BZ #16274]
21695 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21696 handle filename validation.
21697 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21698 (do_open): Delete.
21699
d8e2dbe3
JM
217002013-12-03 Joseph Myers <joseph@codesourcery.com>
21701
34e16df5
JM
21702 [BZ #6786]
21703 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21704 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21705 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21706 <float.h>.
21707 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21708 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21709 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21711 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21712 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21713 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21714 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21715 Add more erfc tests.
21716 * math/auto-libm-test-out: Regenerated.
21717 * sysdeps/i386/fpu/libm-test-ulps: Update.
21718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21719
d8e2dbe3
JM
21720 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21721 exp2, expm1, j0 and j1.
21722 * math/auto-libm-test-out: Regenerated.
21723 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21724 (erfc_test_data): Likewise.
21725 (exp_test_data): Likewise.
21726 (exp_tonearest_test_data): Likewise.
21727 (exp_towardzero_test_data): Likewise.
21728 (exp_downward_test_data): Likewise.
21729 (exp_upward_test_data): Likewise.
21730 (exp10_test_data): Likewise.
21731 (exp2_test_data): Likewise.
21732 (expm1_test_data): Likewise.
21733 (j0_test_data): Likewise.
21734 (j1_test_data): Likewise.
21735 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21736 (input_flag_type): Add flag_xfail_rounding.
21737 (input_flags): Add xfail-rounding.
21738 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21739 (output_for_one_input_case): Handle flag_xfail_rounding.
21740 * sysdeps/i386/fpu/libm-test-ulps: Update.
21741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21742
18d14251
AJ
217432013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21744
3d2e6075 21745 [BZ #16289]
18d14251
AJ
21746 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21747 division by 0.
21748
520d437b
SP
217492013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21750
21751 [BZ #16195]
21752 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21753 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21754 (STAP_PROBE0): New macro.
21755 (STAP_PROBE1): Likewise.
21756 (STAP_PROBE2): Likewise.
21757 (STAP_PROBE3): Likewise.
21758 (STAP_PROBE4): Likewise.
21759
416e0145
OB
217602013-12-02 Ondřej Bílka <neleai@seznam.cz>
21761
21762 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21763
9d17796a
SE
217642013-12-02 Steve Ellcey <sellcey@mips.com>
21765
21766 * benchtests/Makefile (bench): Add sqrt.
21767 (LDLIBS-bench-sqrt): New.
21768 * benchtests/sqrt-input: New.
21769
f524d6a8
PS
217702013-12-02 Pavel Simerda <psimerda@redhat.com>
21771
639a0ef8
PS
21772 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21773 (GAIH_EAI): Likewise.
21774 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21775 (gaih_inet): Likewise.
21776 (getaddrinfo): Don't use GAIH_EAI.
21777
f524d6a8
PS
21778 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21779 (struct gaih): Remove definition.
21780
df3aedaf
SP
217812013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21782
21783 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21784 Use HERRNOP directly.
21785
1ab19dec
AZ
217862013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21787
b42ad38d 21788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21789
176b0c79
JM
217902013-11-30 Joseph Myers <joseph@codesourcery.com>
21791
21792 * math/gen-auto-libm-tests.c (test_functions): Add more
21793 single-argument functions.
21794 (special_fill_pi_2): New function.
21795 (special_fill_minus_pi_2): Likewise.
21796 (special_fill_pi_6): Likewise.
21797 (special_fill_minus_pi_6): Likewise.
21798 (special_fill_pi_3): Likewise.
21799 (special_fill_2pi_3): Likewise.
21800 (special_fill_e): Likewise.
21801 (special_fill_1_e): Likewise.
21802 (special_fill_e_minus_1): Likewise.
21803 (special_real_inputs): Add more special inputs.
21804 (output_for_one_input_case): Do not require ERANGE on underflow to
21805 zero if round-to-nearest result does not underflow to zero, unless
21806 exact results required.
21807 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21808 atan, atanh, cbrt, cos and cosh.
21809 * math/auto-libm-test-out: Regenerated.
21810 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21811 (acos_tonearest_test_data): Likewise.
21812 (acos_towardzero_test_data): Likewise.
21813 (acos_downward_test_data): Likewise.
21814 (acos_upward_test_data): Likewise.
21815 (acosh_test_data): Likewise.
21816 (asin_test_data): Likewise.
21817 (asin_tonearest_test_data): Likewise.
21818 (asin_towardzero_test_data): Likewise.
21819 (asin_upward_test_data): Likewise.
21820 (asinh_test_data): Likewise.
21821 (atan_test_data): Likewise.
21822 (atanh_test_data): Likewise.
21823 (cbrt_test_data): Likewise.
21824 (cos_test_data): Likewise.
21825 (cos_tonearest_test_data): Likewise.
21826 (cos_towardzero_test_data): Likewise.
21827 (cos_downward_test_data): Likewise.
21828 (cos_upward_test_data): Likewise.
21829 (cosh_test_data): Likewise.
21830 (cosh_tonearest_test_data): Likewise.
21831 (cosh_towardzero_test_data): Likewise.
21832 (cosh_downward_test_data): Likewise.
21833 (cosh_upward_test_data): Likewise.
21834 * sysdeps/i386/fpu/libm-test-ulps: Update.
21835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836
ffb536d0
JM
218372013-11-29 Joseph Myers <joseph@codesourcery.com>
21838
2a77a467
JM
21839 [BZ #6787]
21840 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21841 * math/w_exp10f.c (__exp10f): Likewise.
21842 * math/w_exp10l.c (__exp10l): Likewise.
21843 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21844 errno settings in existing tests.
21845
ea3bc4e8
JM
21846 [BZ #14032]
21847 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21848 precision control set to double precision.
21849 * sysdeps/i386/fpu/w_sqrt.c: New file.
21850 * math/auto-libm-test-in: Add more tests.
21851 * math/auto-libm-test-out: Update.
21852
0712c9d8
JM
21853 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21854 (sqrt_test_tonearest): New function.
21855 (sqrt_towardzero_test_data): New variable.
21856 (sqrt_test_towardzero): New function.
21857 (sqrt_downward_test_data): New variable.
21858 (sqrt_test_downward): New function.
21859 (sqrt_upward_test_data): New variable.
21860 (sqrt_test_upward): New function.
21861 (main): Call the new functions.
21862
ffb536d0
JM
21863 * math/gen-auto-libm-tests.c: New file.
21864 * math/auto-libm-test-in: Likewise.
21865 * math/auto-libm-test-out: New generated file.
21866 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21867 variables.
21868 (%beautify): Add generated representations of zero.
21869 (top level): Set $auto_input and call parse_auto_input.
21870 (beautify): Remove trailing "f" from hex float constants.
21871 (parse_args): Handle XFAIL_TEST.
21872 (convert_condition): New function.
21873 (or_value): Likewise.
21874 (or_cond_value): Likewise.
21875 (generate_testfile): Handle AUTO_TESTS_* lines.
21876 (parse_auto_input): New function.
21877 * math/libm-test.inc (XFAIL_TEST): New macro.
21878 (ERRNO_UNCHANGED): Update value.
21879 (ERRNO_EDOM): Likewise.
21880 (ERRNO_ERANGE): Likewise.
21881 (IGNORE_RESULT): Likewise.
21882 (TEST_COND_flt_32): New macro.
21883 (TEST_COND_dbl_64): Likewise.
21884 (TEST_COND_ldbl_96_intel): Likewise.
21885 (TEST_COND_ldbl_96_m68k): Likewise.
21886 (TEST_COND_ldbl_128): Likewise.
21887 (TEST_COND_ldbl_128ibm): Likewise.
21888 (TEST_COND_long32): Likewise.
21889 (TEST_COND_long64): Likewise.
21890 (TEST_COND_before_rounding): Likewise.
21891 (TEST_COND_after_rounding): Likewise.
21892 (enable_test): Handle XFAIL_TEST flag.
21893 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21894 with finite results.
21895 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21896 auto-libm-test-out.
21897
acd98a8e
AK
218982013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21899 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21900
21901 [BZ #16214]
21902 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21903 __tls_get_addr_internal instead of __tls_get_offset in order to
21904 avoid GOT pointer dependency. Make rtld export
21905 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21906 __tls_get_addr since we are a __tls_get_offset platform.
21907 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21908 GOT pointer being set up before.
21909 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21910
3c1c46a6
JM
219112013-11-28 Joseph Myers <joseph@codesourcery.com>
21912
7475aef5
JM
21913 * manual/math.texi (Errors in Math Functions): Document accuracy
21914 goals.
21915
8bca7cd8
JM
21916 [BZ #15004]
21917 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21918 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21919 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21920 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21921 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21922 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21923 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21924 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21925 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21926 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21927 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21930 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21932 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21933
91a1f3fe
JM
21934 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21935 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21936 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21937 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21938 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21939 Likewise.
21940 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21941 Likewise.
21942 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21943 Likewise.
21944 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21945 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21946 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21947 atomic-feupdateenv and flt-rounds.
21948 * sysdeps/powerpc/nofpu/Versions (libc): Add
21949 __atomic_feholdexcept, __atomic_feclearexcept,
21950 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21951 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21952 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21953 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21954 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21955 here.
21956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21957 Update.
21958
c5df7609
JM
21959 * manual/arith.texi (FP Exceptions): Document that exceptions may
21960 not be raised when matherr is used.
21961 (Math Error Reporting): Document overflow in directed rounding
21962 modes. Document that errno may not be set when finite values are
21963 returned on overflow. Document intent to set errno on underflow
21964 only for underflow to zero.
21965
3c1c46a6
JM
21966 [BZ #16271]
21967 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21968 round-to-nearest then adjust result for other rounding modes.
21969 * include/fenv.h (fegetround): Use libm_hidden_proto.
21970 * math/fegetround.c (fegetround): Use libm_hidden_def.
21971 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21972 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21973 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21974 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21975 Likewise.
21976 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21977 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21978 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21979 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21980
5a4c6d53
SP
219812013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21982
21983 [BZ #16077]
21984 * nss/Versions (libnss_files): Add
21985 _nss_files_gethostbyname3_r.
21986 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21987 New function.
21988 (HOST_DB_LOOKUP): Remove macro.
21989 (_nss_files_gethostbyname_r): Implement function without the
21990 HOST_DB_LOOKUP macro.
21991 (_nss_files_gethostbyname2_r): Likewise.
21992
897b98ba
OB
219932013-11-28 Ondřej Bílka <neleai@seznam.cz>
21994
21995 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21996
6f476861
UB
219972013-11-26 Uros Bizjak <ubizjak@gmail.com>
21998
21999 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22000 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22001 warning.
22002
bd12ab55
AZ
220032013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22004
22005 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22006 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22007 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22008 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22009 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22010 __fe_nomask_env_priv and attribute_hidden.
22011 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22012 (libc_feupdateenv_test_ppc): Likewise.
22013 (libc_feresetround_ppc): Likewise.
22014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22015 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22016 compat_symbol macro.
22017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22018 (__fe_nomask_env): Likewise.
22019 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22020
52bb6543
OB
220212013-11-26 Ondřej Bílka <neleai@seznam.cz>
22022
22023 * string/Makefile: Remove ifunc tests.
22024 * string/test-string.h: Define TEST_IFUNC.
22025 * string/test-bcopy-ifunc.c: Remove.
22026 * string/test-bzero-ifunc.c: Likewise.
22027 * string/test-memccpy-ifunc.c: Likewise.
22028 * string/test-memchr-ifunc.c: Likewise.
22029 * string/test-memcmp-ifunc.c: Likewise.
22030 * string/test-memcpy-ifunc.c: Likewise.
22031 * string/test-memmem-ifunc.c: Likewise.
22032 * string/test-memmove-ifunc.c: Likewise.
22033 * string/test-mempcpy-ifunc.c: Likewise.
22034 * string/test-memrchr-ifunc.c: Likewise.
22035 * string/test-memset-ifunc.c: Likewise.
22036 * string/test-rawmemchr-ifunc.c: Likewise.
22037 * string/test-stpcpy-ifunc.c: Likewise.
22038 * string/test-stpncpy-ifunc.c: Likewise.
22039 * string/test-strcasecmp-ifunc.c: Likewise.
22040 * string/test-strcasestr-ifunc.c: Likewise.
22041 * string/test-strcat-ifunc.c: Likewise.
22042 * string/test-strchr-ifunc.c: Likewise.
22043 * string/test-strchrnul-ifunc.c: Likewise.
22044 * string/test-strcmp-ifunc.c: Likewise.
22045 * string/test-strcpy-ifunc.c: Likewise.
22046 * string/test-strcspn-ifunc.c: Likewise.
22047 * string/test-strlen-ifunc.c: Likewise.
22048 * string/test-strncasecmp-ifunc.c: Likewise.
22049 * string/test-strncat-ifunc.c: Likewise.
22050 * string/test-strncmp-ifunc.c: Likewise.
22051 * string/test-strncpy-ifunc.c: Likewise.
22052 * string/test-strnlen-ifunc.c: Likewise.
22053 * string/test-strpbrk-ifunc.c: Likewise.
22054 * string/test-strrchr-ifunc.c: Likewise.
22055 * string/test-strspn-ifunc.c: Likewise.
22056 * string/test-strstr-ifunc.c: Likewise.
22057
ab260039 220582013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22059
22060 * benchtests/Makefile: Remove ifunc tests.
22061 * benchtests/bench-string.h: Define TEST_IFUNC.
22062 * benchtests/bench-bcopy-ifunc.c: Remove.
22063 * benchtests/bench-bzero-ifunc.c: Likewise.
22064 * benchtests/bench-memccpy-ifunc.c: Likewise.
22065 * benchtests/bench-memchr-ifunc.c: Likewise.
22066 * benchtests/bench-memcmp-ifunc.c: Likewise.
22067 * benchtests/bench-memcpy-ifunc.c: Likewise.
22068 * benchtests/bench-memmem-ifunc.c: Likewise.
22069 * benchtests/bench-memmove-ifunc.c: Likewise.
22070 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22071 * benchtests/bench-memrchr-ifunc.c: Likewise.
22072 * benchtests/bench-memset-ifunc.c: Likewise.
22073 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22074 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22075 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22076 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22077 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22078 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22079 * benchtests/bench-strcat-ifunc.c: Likewise.
22080 * benchtests/bench-strchr-ifunc.c: Likewise.
22081 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22082 * benchtests/bench-strcmp-ifunc.c: Likewise.
22083 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22084 * benchtests/bench-strcpy-ifunc.c: Likewise.
22085 * benchtests/bench-strcspn-ifunc.c: Likewise.
22086 * benchtests/bench-strlen-ifunc.c: Likewise.
22087 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22088 * benchtests/bench-strncat-ifunc.c: Likewise.
22089 * benchtests/bench-strncmp-ifunc.c: Likewise.
22090 * benchtests/bench-strncpy-ifunc.c: Likewise.
22091 * benchtests/bench-strnlen-ifunc.c: Likewise.
22092 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22093 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22094 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22095 * benchtests/bench-strspn-ifunc.c: Likewise.
22096 * benchtests/bench-strstr-ifunc.c: Likewise.
22097
220982013-11-26 Ondřej Bílka <neleai@seznam.cz>
22099
ab260039
OB
22100 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22101
d1d9eaf4 221022013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22103
d1d9eaf4
OB
22104 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22105 * rt/aio.h: Likewise.
22106 * sysdeps/gnu/bits/utmp.h: Likewise.
22107 * sysdeps/gnu/bits/utmpx.h: Likewise.
22108 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22109 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22110 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22111 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22112 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22113 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22114 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22115 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22116 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22117 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22118 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22119 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22120 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22122 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22123 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22124 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22125 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22126 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22127 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22128 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22129 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22130 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22131 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22132 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22134 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22135 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22136 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22137 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22138 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22139 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22140 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22141 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22142 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22143 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22144 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22145 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22146 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22147 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22148 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22149 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22150
a7624ed9
CD
221512013-11-25 Carlos O'Donell <carlos@redhat.com>
22152
22153 [BZ #16245]
22154 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22155 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22156
63cfe52b
JM
221572013-11-25 Joseph Myers <joseph@codesourcery.com>
22158
22159 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22160 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22161 Likewise.
22162
41e8926a
AZ
221632013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22164
22165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22166 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22167 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22168 (__fesetround): Remove define.
22169 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22170 rounding and exceptions handling.
22171 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22172 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22173 (__fe_nomask_env): Likewise.
22174 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22175 __fegetround instead of fegetround.
22176 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22177 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22178
6851bd4d
RM
221792013-11-21 Roland McGrath <roland@hack.frob.com>
22180
070906ff
RM
22181 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22182 it's there.
22183
6851bd4d
RM
22184 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22185
84ae135d
MI
221862013-11-21 Meador Inge <meadori@codesourcery.com>
22187
22188 [BZ #11157]
22189 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22190 (encrypt_r): Likewise.
22191 * malloc/obstack.h (obstack_free): Likewise.
22192 * posix/unistd.h (encrypt): Likewise.
22193
daf75146
GM
221942013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22195
22196 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22197 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22198 DL_CALL_DT_FINI() that call the functions directly.
22199 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22200 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22201 * elf/dl-fini.c: Likewise.
22202
10ad46bc
OB
222032013-11-20 Ondřej Bílka <neleai@seznam.cz>
22204
22205 * malloc/hooks.c (memalign_check): Add alignment rounding.
22206 * malloc/malloc.c (_mid_memalign): New function.
22207 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22208 Implement by calling _mid_memalign.
22209 * manual/probes.texi (Memory Allocation Probes): Remove
22210 memory_valloc_retry and memory_pvalloc_retry.
22211
f3fd2628
SP
222122013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22213
4712799f
SP
22214 * locale/programs/locarchive.c (open_archive): Add const
22215 qualifier to ARCHIVEFNAME and copy default fname to
22216 DEFAULT_FNAME.
22217
0417b20f
SP
22218 [BZ #15601]
22219 * libio/tst-widetext.input: Rename Oriya to Odia.
22220 * locale/iso-639.def: Likewise.
22221
f3fd2628
SP
22222 * manual/probes.texi (Mathematical Function Probes): Add
22223 documentation for sin, cos, asin and acos probes.
22224 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22225 (__sin32): Add slowasin probe.
22226 (__cos32): Add slowacos probe.
22227 (__mpsin): Add slowsin probe.
22228 (__mpcos): Add slowcos probe.
22229
73c1ce4f
JM
222302013-11-19 Joseph Myers <joseph@codesourcery.com>
22231
22232 [BZ #15483]
22233 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22234 thread-local __sim_exceptions_thread and global
22235 __sim_exceptions_global.
22236 (__sim_disabled_exceptions): Change to thread-local
22237 __sim_disabled_exceptions_thread and global
22238 __sim_disabled_exceptions_global.
22239 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22240 and global __sim_round_mode_global.
22241 (__simulate_exceptions): Use thread-local floating-point state and
22242 set global state from it as needed.
22243 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22244 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22245 __sim_round_mode_thread.
22246 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22247 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22248 and global __sim_exceptions_global.
22249 (__sim_disabled_exceptions): Change to thread-local
22250 __sim_disabled_exceptions_thread and global
22251 __sim_disabled_exceptions_global.
22252 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22253 and global __sim_round_mode_global.
22254 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22255 (SIM_SET_GLOBAL): Likewise.
22256 * sysdeps/powerpc/soft-fp/sfp-machine.h
22257 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22258 __sim_round_mode_thread.
22259 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22260 __sim_disabled_exceptions_thread.
22261 (__sim_exceptions): Change to __sim_exceptions_thread.
22262 (__sim_disabled_exceptions): Change to
22263 __sim_disabled_exceptions_thread.
22264 (__sim_round_mode): Change to __sim_round_mode_thread.
22265 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22266 thread-local floating-point state and set global state from it as
22267 needed.
22268 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22269 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22270 (__sim_disabled_exceptions): Remove extern declaration.
22271 (feenableexcept): Use thread-local floating-point state and set
22272 global state from it as needed.
22273 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22274 extern declaration.
22275 (__sim_disabled_exceptions): Likewise.
22276 (__sim_round_mode): Likewise.
22277 (__fegetenv): Use thread-local floating-point state.
22278 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22279 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22280 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22281 floating-point state and set global state from it as needed.
22282 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22283 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22284 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22285 Likewise.
22286 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22287 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22288 Likewise.
22289 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22290 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22291 Use __sim_round_mode_thread.
22292 * math/test-fenv-tls.c: New file.
22293 * math/Makefile (tests): Add test-fenv-tls.
22294 ($(objpfx)test-fenv-tls): Depend on
22295 $(common-objpfx)nptl/libpthread.so.
22296
b5449b12
AS
222972013-11-19 Andreas Schwab <schwab@suse.de>
22298
22299 * locale/programs/locale.c (show_info): Decode wordarray elements.
22300 * locale/categories.def (LC_MONETARY): Add element for
22301 _NL_MONETARY_CRNCYSTR.
22302 * locale/C-monetary.c (conversion_rate): New variable.
22303 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22304 element.
22305
e186536b
CM
223062013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22307
22308 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22309 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22310
5c349950
PP
223112013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22312
22313 * elf/Makefile (tst-auxv): New test.
22314 * elf/tst-auxv.c: New
22315 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22316
699df45b
JM
223172013-11-18 Joseph Myers <joseph@codesourcery.com>
22318
22319 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22320 (hidden_proto): Caller changed.
22321 (hidden_tls_proto): New macro.
22322 (libc_hidden_tls_proto): Likewise.
22323 (rtld_hidden_tls_proto): Likewise.
22324 (libm_hidden_tls_proto): Likewise.
22325 (libresolv_hidden_tls_proto): Likewise.
22326 (librt_hidden_tls_proto): Likewise.
22327 (libdl_hidden_tls_proto): Likewise.
22328 (libnss_files_hidden_tls_proto): Likewise.
22329 (libnsl_hidden_tls_proto): Likewise.
22330 (libnss_nisplus_hidden_tls_proto): Likewise.
22331 (libutil_hidden_tls_proto): Likewise.
22332
b7589107
OB
223332013-11-18 Ondřej Bílka <neleai@seznam.cz>
22334
22335 [BZ #10253]
22336 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22337 (decompose_rpath): Defer expansion to fillin_rpath.
22338 (_dl_init_paths): Pass linkmap to fillin_rpath.
22339
250c23bd
RS
223402013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22341
22342 * benchtests/Makefile: Add strsep.
22343 * benchtests/bench-strsep.c: New file: strsep benchtest.
22344 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22345
a7931fcf
AS
223462013-11-18 Andreas Schwab <schwab@suse.de>
22347
22348 * locale/programs/locale.c (show_info) [case byte]: Check for
22349 '\377' instead of '\177'.
22350 * locale/C-monetary.c (not_available): Always use "\377".
22351 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22352 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22353 detect unavailable sign_posn locale elements.
22354 * locale/localeconv.c (__localeconv): For grouping and
22355 mon_grouping handle "\177" and "\377" like no grouping.
22356 (INT_ELEM): New macro. Use it to set all numeric members.
22357 * locale/programs/ld-monetary.c (monetary_read)
22358 <tok_mon_grouping>: Normalize single -1 to the empty string.
22359 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22360 Likewise.
22361
728dab0e
OB
223622013-11-07 Ondřej Bílka <neleai@seznam.cz>
22363
22364 [BZ #16055]
22365 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22366 when we match (nil).
22367 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22368
66294491
JM
223692013-11-16 Joseph Myers <joseph@codesourcery.com>
22370
ce665817
JM
22371 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22372 (NO_TEST_INLINE): Update value.
22373 (ERRNO_UNCHANGED): Likewise.
22374 (ERRNO_EDOM): Likewise.
22375 (ERRNO_ERANGE): Likewise.
22376 (IGNORE_RESULT): Likewise.
22377 (check_float_internal): Check signs of NaN results if
22378 TEST_NAN_SIGN used.
22379 (check_complex): Pass TEST_NAN_SIGN flag through to second
22380 check_float_internal call.
22381 (copysign_test_data): Add tests with quiet NaNs as second
22382 argument. Use TEST_NAN_SIGN.
22383 (fabs_test_data): Add test of negative quiet NaN argument. Use
22384 TEST_NAN_SIGN.
22385 (signbit_test_data): Add tests of quiet NaN argument.
22386 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22387
ee1466a9
JM
22388 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22389 $ignore_result.
22390 (parse_args): Handle function results specified as IGNORE.
22391 * math/libm-test.inc (IGNORE_RESULT): New macro.
22392 (check_float_internal): Do not check numerical result if flag
22393 IGNORE_RESULT set.
22394 (check_complex): Pass through IGNORE_RESULT to second
22395 check_float_internal call.
22396 (check_int): Do not check numerical result if flag IGNORE_RESULT
22397 set.
22398 (check_long): Likewise.
22399 (check_bool): Likewise.
22400 (check_longlong): Likewise.
22401 (lrint_test_data): Add tests of infinite and NaN arguments.
22402 (lrint_tonearest_test_data): Likewise.
22403 (lrint_towardzero_test_data): Likewise.
22404 (lrint_downward_test_data): Likewise.
22405 (lrint_upward_test_data): Likewise.
22406 (llrint_test_data): Likewise.
22407 (llrint_tonearest_test_data): Likewise.
22408 (llrint_towardzero_test_data): Likewise.
22409 (llrint_downward_test_data): Likewise.
22410 (llrint_upward_test_data): Likewise.
22411 (lround_test_data): Likewise.
22412 (llround_test_data): Likewise.
22413
14407b7e
JM
22414 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22415 (ERRNO_UNCHANGED): Update value.
22416 (ERRNO_EDOM): Likewise.
22417 (ERRNO_ERANGE): Likewise.
22418 (NO_TEST_INLINE_FLOAT): New macro.
22419 (NO_TEST_INLINE_DOUBLE): Likewise.
22420 (enable_test): New function.
22421 (RUN_TEST_f_f): Check enable_test before running test.
22422 (RUN_TEST_2_f): Likewise.
22423 (RUN_TEST_fff_f): Likewise.
22424 (RUN_TEST_c_f): Likewise.
22425 (RUN_TEST_f_f1): Likewise.
22426 (RUN_TEST_fF_f1): Likewise.
22427 (RUN_TEST_fI_f1): Likewise.
22428 (RUN_TEST_ffI_f1): Likewise.
22429 (RUN_TEST_c_c): Likewise.
22430 (RUN_TEST_cc_c): Likewise.
22431 (RUN_TEST_f_i): Likewise.
22432 (RUN_TEST_f_i_tg): Likewise.
22433 (RUN_TEST_ff_i_tg): Likewise.
22434 (RUN_TEST_f_b): Likewise.
22435 (RUN_TEST_f_b_tg): Likewise.
22436 (RUN_TEST_f_l): Likewise.
22437 (RUN_TEST_f_L): Likewise.
22438 (RUN_TEST_fFF_11): Likewise.
22439 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22440 conditionals.
22441 (cosh_test_data): Likewise.
22442 (exp_test_data): Likewise.
22443 (expm1_test_data): Likewise.
22444 (hypot_test_data): Likewise.
22445 (pow_test_data): Likewise.
22446 (sinh_test_data): Likewise.
22447 (tanh_test_data): Likewise.
22448 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22449 flags argument.
22450
ca07f197
JM
22451 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22452 tests with quiet NaN input and output.
22453 (acosh_test_data): Likewise.
22454 (asin_test_data): Likewise.
22455 (asinh_test_data): Likewise.
22456 (atan_test_data): Likewise.
22457 (atanh_test_data): Likewise.
22458 (atan2_test_data): Likewise.
22459 (cbrt_test_data): Likewise.
22460 (cos_test_data): Likewise.
22461 (cosh_test_data): Likewise.
22462 (erf_test_data): Likewise.
22463 (erfc_test_data): Likewise.
22464 (exp_test_data): Likewise.
22465 (exp10_test_data): Likewise.
22466 (exp2_test_data): Likewise.
22467 (expm1_test_data): Likewise.
22468 (hypot_test_data): Likewise.
22469 (j0_test_data): Likewise.
22470 (j1_test_data): Likewise.
22471 (jn_test_data): Likewise.
22472 (lgamma_test_data): Likewise.
22473 (log_test_data): Likewise.
22474 (log10_test_data): Likewise.
22475 (log1p_test_data): Likewise.
22476 (log2_test_data): Likewise.
22477 (pow_test_data): Likewise.
22478 (scalb_test_data): Likewise.
22479 (sin_test_data): Likewise.
22480 (sincos_test_data): Likewise.
22481 (sinh_test_data): Likewise.
22482 (tan_test_data): Likewise.
22483 (tanh_test_data): Likewise.
22484 (tgamma_test_data): Likewise.
22485 (y0_test_data): Likewise.
22486 (y1_test_data): Likewise.
22487 (yn_test_data): Likewise.
22488
66294491
JM
22489 [BZ #16167]
22490 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22491 argument being NaN and avoid computations with second argument in
22492 that case.
22493 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22494 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22495 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22496
1820b143
CL
224972013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22498
22499 * locale/iso-639.def: Add Chitwani Tharu (the).
22500
714bd261
AS
225012013-11-14 Andreas Schwab <schwab@suse.de>
22502
22503 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22504 word instead of empty string.
22505
7ab44563
AZ
225062013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22507
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22509 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22511 (__fe_nomask_env): Likewise.
22512
e8470ea2
SE
225132013-11-13 Steve Ellcey <sellcey@mips.com>
22514
22515 * benchtests/bench-timing.h: Include time.h.
22516
17c1d9f0
L
225172013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22518
22519 [BZ #15997]
22520 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22521 to 3.4.0 for x32.
22522 * sysdeps/unix/sysv/linux/configure: Regenerated.
22523
9310c284
JM
225242013-11-13 Joseph Myers <joseph@codesourcery.com>
22525
22526 [BZ #16151]
22527 * stdlib/strtod_l.c (round_and_return): Do not consider
22528 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22529 exponent one less than half the least subnormal exponent.
22530 * stdlib/test-strtod-round-data: Add more tests.
22531 * stdlib/tst-strtod-round.c (tests): Regenerated.
22532
7a2ad8cf
AZ
225332013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22534
22535 [BZ #14143]
22536 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22537 (__fe_mask_env): Likewise.
22538 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22539 libm_hidden_proto and add function prototype.
22540 (__fe_mask_env): Add function prototype.
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22542 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22544 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22546 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22547
50727aa7
MS
225482013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22549
b2f386c1 22550 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22551 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22552
a615be46
MS
225532013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22554
22555 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22556 of htab_find_slot().
22557
7ddace62
DM
225582013-11-11 David S. Miller <davem@davemloft.net>
22559
22560 [BZ #16150]
22561 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22562 symbol in the non-vis3 case in static builds.
22563 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22564 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22565 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22566 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22567
9182aa67
JK
225682013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22569
22570 [BZ #387]
22571 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22572 it is empty.
22573
450a2e2d
AZ
225742013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22575
b2f386c1
SP
22576 * benchtests/Makefile: Add bench-strtod.
22577 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22578
8ec3f656
AS
225792013-11-11 Andreas Schwab <schwab@suse.de>
22580
22581 [BZ #16153]
22582 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22583 terminating NUL in key length.
22584
76a9b998
AZ
225852013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22586
22587 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22588 Add artificial ODP entry for vDSO symbol for PPC64.
22589 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22590 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22591
e4368156
OB
225922013-11-07 Ondřej Bílka <neleai@seznam.cz>
22593
22594 [BZ #15374]
22595 * nss/getent.c (services_keys): Recognize services starting with digit.
22596
8d6bb57c
DM
225972013-11-06 David S. Miller <davem@davemloft.net>
22598
22599 [BZ #15985]
22600 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22601 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22602
e256c421
WN
226032013-11-06 Will Newton <will.newton@linaro.org>
22604
22605 * manual/memory.texi (Malloc Examples): Remove register
22606 keyword from examples.
22607
f6e12daa 226082013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22609
f6e12daa 22610 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22611
9d880655
AS
226122013-11-04 Joseph Myers <joseph@codesourcery.com>
22613
fd2f9486 22614 [BZ #6981]
9d880655
AS
22615 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22616 depending on [__GCC_IEC_559 > 0].
22617 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22618 depending on [__GCC_IEC_559_COMPLEX > 0].
22619
ae129d3c
CL
226202013-11-03 Chris Leonard <cjl@sugarlabs.org>
22621
22622 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22623 to iso-639.def.
22624
4a15c2a4 226252013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22626
22627 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22628
8b35e35d
OB
226292013-11-01 Ondřej Bílka <neleai@seznam.cz>
22630
22631 [BZ #16112]
22632 * malloc/malloc (malloc_info): Do not handle first bin as
22633 special case.
22634
1d70fd6c
CL
226352013-11-01 Chris Leonard <cjl@sugarlabs.org>
22636
22637 * locale/iso-639.def: Add Central Nahuatl (nhn).
22638
8c5c2600
BH
226392013-11-01 Bruno Haible <bruno@clisp.org>
22640
22641 [BZ #7003]
22642 * manual/math.texi (BSD Random): Specify range upper bound as
22643 in POSIX.
22644
da5579c2
CL
226452013-10-31 Chris Leonard <cjl@sugarlabs.org>
22646
22647 * locale/iso-639.def: Add Meadow Mari (mhr).
22648
5d30d853
OB
226492013-10-31 Ondřej Bílka <neleai@seznam.cz>
22650
22651 [BZ #14752], [BZ #15763]
22652 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22653 Validate name.
22654 * rt/tst_shm.c: Add test for escaping directory.
22655
a4966c61
AS
226562013-10-31 Andreas Schwab <schwab@suse.de>
22657
8a43e768 22658 [BZ #15917]
a4966c61
AS
22659 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22660 followed by 'x' as part of digit sequence.
22661 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22662
28d708c4
MAP
226632013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22664
22665 [BZ #16037]
22666 * configure.ac: allow GNU Make 4.0 and greater.
22667 * configure: Regenerated.
22668
a56ee40b
WN
226692013-10-30 Will Newton <will.newton@linaro.org>
22670
22671 [BZ #16038]
22672 * malloc/hooks.c (memalign_check): Limit alignment to the
22673 maximum representable power of two.
22674 * malloc/malloc.c (__libc_memalign): Likewise.
22675 * malloc/tst-memalign.c (do_test): Add test for very
22676 large alignment values.
22677 * malloc/tst-posix_memalign.c (do_test): Likewise.
22678
c6e4925d
OB
226792013-10-30 Ondřej Bílka <neleai@seznam.cz>
22680
22681 [BZ #11087]
22682 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22683 (munmap_chunk): Likewise.
22684 (mremap_chunk): Likewise.
22685
226862013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22687
8a43e768 22688 [BZ #15799]
bbea82f7
OB
22689 * stdlib/div.c (div): Remove obsolete code.
22690 * stdlib/ldiv.c (ldiv): Likewise.
22691 * stdlib/lldiv.c (lldiv): Likewise.
22692
977f4b31
SP
226932013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22694
22695 [BZ #16071]
22696 * nss/nss_files/files-XXX.c (get_contents_ret): New
22697 enumerator.
22698 (get_contents): New function.
22699 (internal_getent): Use it. Expand size of LINEBUFLEN.
22700
cb8a6dbd
MF
227012013-10-30 Mike Frysinger <vapier@gentoo.org>
22702
22703 * configure.in: Moved to ...
22704 * configure.ac: ... here. Change reference to configure.in
22705 to configure.ac.
22706 * sysdeps/arm/preconfigure.ac: ... here.
22707 configure.in to configure.ac.
22708 * sysdeps/gnu/configure.in: Moved to ...
22709 * sysdeps/gnu/configure.ac: ... here.
22710 * sysdeps/i386/configure.in: Moved to ...
22711 * sysdeps/i386/configure.ac: ... here.
22712 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22713 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22714 * sysdeps/mach/configure.in: Moved to ...
22715 * sysdeps/mach/configure.ac: ... here.
22716 * sysdeps/mach/hurd/configure.in: Moved to ...
22717 * sysdeps/mach/hurd/configure.ac: ... here.
22718 * sysdeps/powerpc/configure.in: Moved to ...
22719 * sysdeps/powerpc/configure.ac: ... here.
22720 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22721 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22722 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22723 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22724 * sysdeps/s390/s390-32/configure.in: Moved to ...
22725 * sysdeps/s390/s390-32/configure.ac: ... here.
22726 * sysdeps/s390/s390-64/configure.in: Moved to ...
22727 * sysdeps/s390/s390-64/configure.ac: ... here.
22728 * sysdeps/sh/configure.in: Moved to ...
22729 * sysdeps/sh/configure.ac: ... here.
22730 * sysdeps/sparc/configure.in: Moved to ...
22731 * sysdeps/sparc/configure.ac: ... here.
22732 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22733 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22734 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22735 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22736 * sysdeps/x86_64/configure.in: Moved to ...
22737 * sysdeps/x86_64/configure.ac: ... here.
22738 * sysdeps/x86_64/preconfigure.in: Moved to ...
22739 * sysdeps/x86_64/preconfigure.ac: ... here.
22740 * aclocal.m4: Change reference to configure.in to configure.ac.
22741 * config.h.in: Likewise.
22742 * manual/install.texi: Likewise.
22743 * manual/maint.texi: Likewise.
22744 * Makefile: Likewise.
22745 * malloc/Makefile: Likewise.
22746 * nscd/Makefile: Likewise.
22747 * Makeconfig: Change reference to configure.in and
22748 preconfigure.in to configure.ac and preconfigure.ac
22749 respectively.
22750 * INSTALL: Regenerated.
22751 * configure: Likewise.
22752 * sysdeps/gnu/configure: Likewise.
22753 * sysdeps/i386/configure: Likewise.
22754 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22755 * sysdeps/mach/configure: Likewise.
22756 * sysdeps/mach/hurd/configure: Likewise.
22757 * sysdeps/powerpc/configure: Likewise.
22758 * sysdeps/powerpc/powerpc32/configure: Likewise.
22759 * sysdeps/powerpc/powerpc64/configure: Likewise.
22760 * sysdeps/s390/s390-32/configure: Likewise.
22761 * sysdeps/s390/s390-64/configure: Likewise.
22762 * sysdeps/sh/configure: Likewise.
22763 * sysdeps/sparc/configure: Likewise.
22764 * sysdeps/unix/sysv/linux/configure: Likewise.
22765 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22766 * sysdeps/x86_64/configure: Likewise.
22767 * sysdeps/x86_64/preconfigure: Likewise.
22768
36a4953a
AS
227692013-10-29 Andreas Schwab <schwab@suse.de>
22770
22771 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22772
c79a1204
SP
227732013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22774
dfa1b402
SP
22775 * benchtests/pow-inputs: Add new inputs.
22776
54f73d9c
SP
22777 * benchtests/exp-inputs: Add new inputs.
22778
c79a1204
SP
22779 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22780 conditional check for return value.
22781 (__cos32): Likewise.
22782
67beb545 227832013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22784
22785 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22786 to provide a boost for large inputs with word alignment.
22787 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22788 implementation based on optimized PPC64 strcpy.
22789 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22790 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22791 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22792 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22793
151659f6
OB
227942013-10-25 Ondřej Bílka <neleai@seznam.cz>
22795
482a077e 22796 [BZ #2801]
151659f6
OB
22797 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22798
10b0f26b
OB
227992013-10-25 Ondřej Bílka <neleai@seznam.cz>
22800
22801 [BZ #14876]
22802 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22803 * time/tst-strptime.c (day_tests): Add testcase.
22804
ca42d35e
OB
228052013-10-25 Ondřej Bílka <neleai@seznam.cz>
22806
482a077e 22807 [BZ #14029]
ca42d35e
OB
22808 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22809
52e6d801
FB
228102013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22811
22812 [BZ #16074]
22813 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22814 MAP_FAILED on error.
22815
7cbcdb36
SP
228162013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22817
22818 [BZ #16072]
22819 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22820 heap for large requests.
22821
894f3f10
AM
228222013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22823
22824 [BZ #9954]
22825 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22826 result if the result has no associated interface.
22827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22828 interface for all 127.X.Y.Z addresses.
22829
b85545a6
CL
228302013-10-24 Chris Leonard <cjl@sugarlabs.org>
22831
22832 * locale/iso-639.def: Add Ligurian (lij)
22833
d1f23d46
OB
228342013-10-21 Ondřej Bílka <neleai@seznam.cz>
22835
22836 [BZ #15825]
22837 * sunrpc/rpc_main.c: Document rpcgen -5.
22838
4db5b08f
MS
228392013-10-19 Michael Stahl <mstahl@redhat.com>
22840
22841 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22842
a471e96a
OB
228432013-10-19 Ondřej Bílka <neleai@seznam.cz>
22844
d1f23d46 22845 [BZ #10278]
a471e96a
OB
22846 * posix/glob.c: Match only directories when trailing slash is present.
22847 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22848 (main): Add testcase.
22849
45c30c61
OB
228502013-10-19 Ondřej Bílka <neleai@seznam.cz>
22851
22852 [BZ #15670]
22853 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22854
484c12fb
CD
228552013-10-18 Carlos O'Donell <carlos@redhat.com>
22856
3d7dc513
CD
22857 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22858 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22859 AUTH_DES and cindex for FIPS 140-2.
22860 (DES Encryption): Add cindex FIPS 46-3.
22861
484c12fb
CD
22862 * locale/locarchive.h (struct locarhandle): Add fname.
22863 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22864 if an optional argument was specified to --list-archive,
22865 otherwise NULL.
22866 * locale/programs/locarchive.c (show_archive_content): Take new
22867 argument fname and pass it via ah.fname to open_archive.
22868 * locale/programs/localedef.h: Update decl.
22869 (open_archive): If AH->fname is non-null, open that file
22870 rather than the default file name, and don't ignore ENOENT.
22871 (create_archive): Set AH.fname to NULL.
22872 (delete_locales_from_archive): Likewise.
22873 (add_locales_to_archive): Likewise.
22874 * locale/programs/locfile.c (write_all_categories): Likewise.
22875
3c8325fb
JM
228762013-10-18 Joseph Myers <joseph@codesourcery.com>
22877 Aldy Hernandez <aldyh@redhat.com>
22878
22879 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22880 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22881 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22882 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22883 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22884 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22885 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22886 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22887 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22888 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22889 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22890 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22891 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22892 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22893 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22894 Likewise.
22895 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22896 Likewise.
22897 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22898 Likewise.
22899 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22900 Likewise.
22901 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22902 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22903 Likewise.
22904 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22905 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22906 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22907 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22908 Likewise.
22909 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22910 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22911 * sysdeps/powerpc/preconfigure: Likewise.
22912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22913 Likewise.
22914 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22915 Replace contents of file by #include of <fenv_libc.h>.
22916 * sysdeps/powerpc/soft-fp/sfp-machine.h
22917 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22918 and <sys/prctl.h>.
22919 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22921 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22922 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22923 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22924 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22926 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22927 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22928 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22929 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22932 Allow copysignl PLT reference to be missing.
22933
5abe0682
RS
229342013-10-18 Richard Sandiford <richard@codesourcery.com>
22935 Joseph Myers <joseph@codesourcery.com
22936
22937 [BZ #15948]
22938 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22939 single character.
22940 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22941
c7738d08
SP
229422013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22943
22944 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22945 * elf/tst-tls1.c: Likewise.
22946 * elf/tst-tls10.h: Likewise.
22947 * elf/tst-tls14.c: Likewise.
22948 * elf/tst-tls2.c: Likewise.
22949 * elf/tst-tls3.c: Likewise.
22950 * elf/tst-tls4.c: Likewise.
22951 * elf/tst-tls5.c: Likewise.
22952 * elf/tst-tls6.c: Likewise.
22953 * elf/tst-tls7.c: Likewise.
22954 * elf/tst-tls8.c: Likewise.
22955 * elf/tst-tls9.c: Likewise.
22956 * elf/tst-tlsmod1.c: Likewise.
22957 * elf/tst-tlsmod13.c: Likewise.
22958 * elf/tst-tlsmod13a.c: Likewise.
22959 * elf/tst-tlsmod14a.c: Likewise.
22960 * elf/tst-tlsmod16a.c: Likewise.
22961 * elf/tst-tlsmod16b.c: Likewise.
22962 * elf/tst-tlsmod2.c: Likewise.
22963 * elf/tst-tlsmod3.c: Likewise.
22964 * elf/tst-tlsmod4.c: Likewise.
22965 * elf/tst-tlsmod5.c: Likewise.
22966 * elf/tst-tlsmod6.c: Likewise.
22967
0bfcf2c7
OB
229682013-10-18 Ondřej Bílka <neleai@seznam.cz>
22969
22970 [BZ #12486]
22971 * malloc/malloc.c: remove checks for statistics.
22972
264aad1e
OB
229732013-10-17 Ondřej Bílka <neleai@seznam.cz>
22974
22975 [BZ #15277]
22976 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22977 * inet/tst-network.c: Add testcase.
22978
b957ced8
AS
229792013-10-17 Andreas Schwab <schwab@suse.de>
22980
22981 [BZ #15218]
22982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22983 to determine canonical name.
22984
c5d5d574
OB
229852013-10-17 Ondřej Bílka <neleai@seznam.cz>
22986
22987 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22988 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22990 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22992 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22994 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22997 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23004 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23011 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23012 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23013 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23016 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23017 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23018 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23019 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23020 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23021 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23022 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23023 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23024 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23025 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23026 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23027 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23028 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23029 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23038 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23039 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23041 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23042 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23044 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23045
e5c2c2d0
JM
230462013-10-17 Joseph Myers <joseph@codesourcery.com>
23047
23048 [BZ #16041]
23049 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23050 make result into a quiet NaN.
23051
51ca9e29
JM
230522013-10-16 Joseph Myers <joseph@codesourcery.com>
23053
23054 * soft-fp/adddf3.c: Fix horizontal whitespace.
23055 * soft-fp/addsf3.c: Likewise.
23056 * soft-fp/addtf3.c: Likewise.
23057 * soft-fp/divdf3.c: Likewise.
23058 * soft-fp/divsf3.c: Likewise.
23059 * soft-fp/divtf3.c: Likewise.
23060 * soft-fp/double.h: Likewise.
23061 * soft-fp/eqdf2.c: Likewise.
23062 * soft-fp/eqsf2.c: Likewise.
23063 * soft-fp/eqtf2.c: Likewise.
23064 * soft-fp/extenddftf2.c: Likewise.
23065 * soft-fp/extended.h: Likewise.
23066 * soft-fp/extendsfdf2.c: Likewise.
23067 * soft-fp/extendsftf2.c: Likewise.
23068 * soft-fp/extendxftf2.c: Likewise.
23069 * soft-fp/fixdfdi.c: Likewise.
23070 * soft-fp/fixdfsi.c: Likewise.
23071 * soft-fp/fixdfti.c: Likewise.
23072 * soft-fp/fixsfdi.c: Likewise.
23073 * soft-fp/fixsfsi.c: Likewise.
23074 * soft-fp/fixsfti.c: Likewise.
23075 * soft-fp/fixtfdi.c: Likewise.
23076 * soft-fp/fixtfsi.c: Likewise.
23077 * soft-fp/fixtfti.c: Likewise.
23078 * soft-fp/fixunsdfdi.c: Likewise.
23079 * soft-fp/fixunsdfsi.c: Likewise.
23080 * soft-fp/fixunsdfti.c: Likewise.
23081 * soft-fp/fixunssfdi.c: Likewise.
23082 * soft-fp/fixunssfsi.c: Likewise.
23083 * soft-fp/fixunssfti.c: Likewise.
23084 * soft-fp/fixunstfdi.c: Likewise.
23085 * soft-fp/fixunstfsi.c: Likewise.
23086 * soft-fp/fixunstfti.c: Likewise.
23087 * soft-fp/floatdidf.c: Likewise.
23088 * soft-fp/floatdisf.c: Likewise.
23089 * soft-fp/floatditf.c: Likewise.
23090 * soft-fp/floatsidf.c: Likewise.
23091 * soft-fp/floatsisf.c: Likewise.
23092 * soft-fp/floatsitf.c: Likewise.
23093 * soft-fp/floattidf.c: Likewise.
23094 * soft-fp/floattisf.c: Likewise.
23095 * soft-fp/floattitf.c: Likewise.
23096 * soft-fp/floatundidf.c: Likewise.
23097 * soft-fp/floatundisf.c: Likewise.
23098 * soft-fp/floatunditf.c: Likewise.
23099 * soft-fp/floatunsidf.c: Likewise.
23100 * soft-fp/floatunsisf.c: Likewise.
23101 * soft-fp/floatunsitf.c: Likewise.
23102 * soft-fp/floatuntidf.c: Likewise.
23103 * soft-fp/floatuntisf.c: Likewise.
23104 * soft-fp/floatuntitf.c: Likewise.
23105 * soft-fp/fmadf4.c: Likewise.
23106 * soft-fp/fmasf4.c: Likewise.
23107 * soft-fp/fmatf4.c: Likewise.
23108 * soft-fp/gedf2.c: Likewise.
23109 * soft-fp/gesf2.c: Likewise.
23110 * soft-fp/getf2.c: Likewise.
23111 * soft-fp/ledf2.c: Likewise.
23112 * soft-fp/lesf2.c: Likewise.
23113 * soft-fp/letf2.c: Likewise.
23114 * soft-fp/muldf3.c: Likewise.
23115 * soft-fp/mulsf3.c: Likewise.
23116 * soft-fp/multf3.c: Likewise.
23117 * soft-fp/negdf2.c: Likewise.
23118 * soft-fp/negsf2.c: Likewise.
23119 * soft-fp/negtf2.c: Likewise.
23120 * soft-fp/op-1.h: Likewise.
23121 * soft-fp/op-2.h: Likewise.
23122 * soft-fp/op-4.h: Likewise.
23123 * soft-fp/op-8.h: Likewise.
23124 * soft-fp/op-common.h: Likewise.
23125 * soft-fp/quad.h: Likewise.
23126 * soft-fp/single.h: Likewise.
23127 * soft-fp/soft-fp.h: Likewise.
23128 * soft-fp/sqrtdf2.c: Likewise.
23129 * soft-fp/sqrtsf2.c: Likewise.
23130 * soft-fp/sqrttf2.c: Likewise.
23131 * soft-fp/subdf3.c: Likewise.
23132 * soft-fp/subsf3.c: Likewise.
23133 * soft-fp/subtf3.c: Likewise.
23134 * soft-fp/truncdfsf2.c: Likewise.
23135 * soft-fp/trunctfdf2.c: Likewise.
23136 * soft-fp/trunctfsf2.c: Likewise.
23137 * soft-fp/trunctfxf2.c: Likewise.
23138 * soft-fp/unorddf2.c: Likewise.
23139 * soft-fp/unordsf2.c: Likewise.
23140 * soft-fp/unordtf2.c: Likewise.
23141
9ebb0332
JM
231422013-10-15 Joseph Myers <joseph@codesourcery.com>
23143
23144 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23145 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23146
4b1a6d8b
OB
231472013-10-15 Ondřej Bílka <neleai@seznam.cz>
23148
23149 * elf/dl-libc.c: Clear initfini list after freeing.
23150
1e145589
JM
231512013-10-14 Joseph Myers <joseph@codesourcery.com>
23152
23153 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23154 * soft-fp/addsf3.c: Likewise.
23155 * soft-fp/addtf3.c: Likewise.
23156 * soft-fp/divdf3.c: Likewise.
23157 * soft-fp/divsf3.c: Likewise.
23158 * soft-fp/divtf3.c: Likewise.
23159 * soft-fp/double.h: Likewise.
23160 * soft-fp/eqdf2.c: Likewise.
23161 * soft-fp/eqsf2.c: Likewise.
23162 * soft-fp/eqtf2.c: Likewise.
23163 * soft-fp/extenddftf2.c: Likewise.
23164 * soft-fp/extended.h: Likewise.
23165 * soft-fp/extendsfdf2.c: Likewise.
23166 * soft-fp/extendsftf2.c: Likewise.
23167 * soft-fp/extendxftf2.c: Likewise.
23168 * soft-fp/fixdfdi.c: Likewise.
23169 * soft-fp/fixdfsi.c: Likewise.
23170 * soft-fp/fixdfti.c: Likewise.
23171 * soft-fp/fixsfdi.c: Likewise.
23172 * soft-fp/fixsfsi.c: Likewise.
23173 * soft-fp/fixsfti.c: Likewise.
23174 * soft-fp/fixtfdi.c: Likewise.
23175 * soft-fp/fixtfsi.c: Likewise.
23176 * soft-fp/fixtfti.c: Likewise.
23177 * soft-fp/fixunsdfdi.c: Likewise.
23178 * soft-fp/fixunsdfsi.c: Likewise.
23179 * soft-fp/fixunsdfti.c: Likewise.
23180 * soft-fp/fixunssfdi.c: Likewise.
23181 * soft-fp/fixunssfsi.c: Likewise.
23182 * soft-fp/fixunssfti.c: Likewise.
23183 * soft-fp/fixunstfdi.c: Likewise.
23184 * soft-fp/fixunstfsi.c: Likewise.
23185 * soft-fp/fixunstfti.c: Likewise.
23186 * soft-fp/floatdidf.c: Likewise.
23187 * soft-fp/floatdisf.c: Likewise.
23188 * soft-fp/floatditf.c: Likewise.
23189 * soft-fp/floatsidf.c: Likewise.
23190 * soft-fp/floatsisf.c: Likewise.
23191 * soft-fp/floatsitf.c: Likewise.
23192 * soft-fp/floattidf.c: Likewise.
23193 * soft-fp/floattisf.c: Likewise.
23194 * soft-fp/floattitf.c: Likewise.
23195 * soft-fp/floatundidf.c: Likewise.
23196 * soft-fp/floatundisf.c: Likewise.
23197 * soft-fp/floatunsidf.c: Likewise.
23198 * soft-fp/floatunsisf.c: Likewise.
23199 * soft-fp/floatuntidf.c: Likewise.
23200 * soft-fp/floatuntisf.c: Likewise.
23201 * soft-fp/floatuntitf.c: Likewise.
23202 * soft-fp/fmadf4.c: Likewise.
23203 * soft-fp/fmasf4.c: Likewise.
23204 * soft-fp/fmatf4.c: Likewise.
23205 * soft-fp/gedf2.c: Likewise.
23206 * soft-fp/gesf2.c: Likewise.
23207 * soft-fp/getf2.c: Likewise.
23208 * soft-fp/ledf2.c: Likewise.
23209 * soft-fp/lesf2.c: Likewise.
23210 * soft-fp/letf2.c: Likewise.
23211 * soft-fp/muldf3.c: Likewise.
23212 * soft-fp/mulsf3.c: Likewise.
23213 * soft-fp/multf3.c: Likewise.
23214 * soft-fp/negdf2.c: Likewise.
23215 * soft-fp/negsf2.c: Likewise.
23216 * soft-fp/negtf2.c: Likewise.
23217 * soft-fp/op-1.h: Likewise.
23218 * soft-fp/op-2.h: Likewise.
23219 * soft-fp/op-4.h: Likewise.
23220 * soft-fp/op-8.h: Likewise.
23221 * soft-fp/op-common.h: Likewise.
23222 * soft-fp/quad.h: Likewise.
23223 * soft-fp/single.h: Likewise.
23224 * soft-fp/soft-fp.h: Likewise.
23225 * soft-fp/sqrtdf2.c: Likewise.
23226 * soft-fp/sqrtsf2.c: Likewise.
23227 * soft-fp/sqrttf2.c: Likewise.
23228 * soft-fp/subdf3.c: Likewise.
23229 * soft-fp/subsf3.c: Likewise.
23230 * soft-fp/subtf3.c: Likewise.
23231 * soft-fp/truncdfsf2.c: Likewise.
23232 * soft-fp/trunctfdf2.c: Likewise.
23233 * soft-fp/trunctfsf2.c: Likewise.
23234 * soft-fp/trunctfxf2.c: Likewise.
23235 * soft-fp/unorddf2.c: Likewise.
23236 * soft-fp/unordsf2.c: Likewise.
23237 * soft-fp/unordtf2.c: Likewise.
23238
17c48a60
OB
232392013-10-14 Ondřej Bílka <neleai@seznam.cz>
23240
23241 [BZ #15672]
23242 * misc/error.c (error_tail): Fix possible buffer overflow.
23243
cabba934
OB
232442013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23245
23246 [BZ #13028]
23247 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23248 address.
23249
94bf958a
PM
232502013-10-14 P. J. McDermott <pj@pehjota.net>
23251
23252 [BZ #832]
23253 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23254 testing pipefail option.
23255
71b4dea7
JM
232562013-10-12 Joseph Myers <joseph@codesourcery.com>
23257
23258 * soft-fp/double.h: Indent preprocessor directives inside #if.
23259 * soft-fp/extended.h: Likewise.
23260 * soft-fp/op-2.h: Likewise.
23261 * soft-fp/op-4.h: Likewise.
23262 * soft-fp/op-common.h: Likewise.
23263 * soft-fp/quad.h: Likewise.
23264 * soft-fp/single.h: Likewise.
23265 * soft-fp/soft-fp.h: Likewise.
23266
55602758
YC
232672013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23268
23269 * iconv/iconv_prog.c: Fix typos.
23270 * stdio-common/psiginfo-data.h: Likewise.
23271
9cd83302
RT
232722013-10-12 Reuben Thomas <rrt@sc3d.org>
23273
23274 [BZ #15764]
23275 * locale/setlocale.c: Fix typo.
23276
99fd9f47
JM
232772013-10-12 Joseph Myers <joseph@codesourcery.com>
23278
b7ea74f0
JM
23279 [BZ #16036]
23280 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23281 signaling NaN arguments.
23282 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23283 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23284
8a509447
JM
23285 [BZ #14910]
23286 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23287 unordered operands.
23288 * soft-fp/gesf2.c (__gesf2): Likewise.
23289 * soft-fp/getf2.c (__getf2): Likewise.
23290 * soft-fp/ledf2.c (__ledf2): Likewise.
23291 * soft-fp/lesf2.c (__lesf2): Likewise.
23292 * soft-fp/letf2.c (__letf2): Likewise.
23293
98998e9f
JM
23294 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23295 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23296 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23297 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23298 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23299 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23300 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23301 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23302 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23303 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23304 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23305 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23306 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23307 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23308 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23309 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23310 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23311 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23312 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23313 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23314 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23315 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23316 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23317 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23318 * soft-fp/floattidf.c (__floattidf): Likewise.
23319 * soft-fp/floattisf.c (__floattisf): Likewise.
23320 * soft-fp/floattitf.c (__floattitf): Likewise.
23321 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23322 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23323 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23324 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23325 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23326 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23327 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23328 * soft-fp/gesf2.c (__gesf2): Likewise.
23329 * soft-fp/getf2.c (__getf2): Likewise.
23330 * soft-fp/ledf2.c (__ledf2): Likewise.
23331 * soft-fp/lesf2.c (__lesf2): Likewise.
23332 * soft-fp/letf2.c (__letf2): Likewise.
23333
8edc4a11
JM
23334 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23335 Undefine and redefine.
23336 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23337 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23338 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23339 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23340 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23341 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23342 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23343 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23344 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23345 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23346 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23347 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23348 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23349 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23350 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23351
8399acaf
JM
23352 [BZ #16032]
23353 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23354 without decrementing exponent if mantissa >= that for the
23355 denominator, not >.
23356 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23357 denominator, not >. Decrement exponent in < case instead of
23358 incrementing in >= case.
23359 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23360 without decrementing exponent if mantissa >= that for the
23361 denominator, not >.
23362
99fd9f47
JM
23363 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23364 computing saturated result for unsigned overflow.
23365
10e1cf6b
SP
233662013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23367 Jeff Law <law@redhat.com>
23368
23369 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23370 (atan2Mp): Add systemtap probe marker.
23371 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23372 (__ieee754_log): Add systemtap probe marker.
23373 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23374 (atanMp): Add systemtap probe marker.
23375 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23376 (tanMp): Add systemtap probe marker.
23377 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23378 (__slowexp): Add systemtap probe marker.
23379 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23380 (__slowpow): Add systemtap probe marker.
23381 * manual/probes.texi: Document probes.
23382
3d110c7c
EB
233832013-10-11 Eric Biggers <ebiggers3@gmail.com>
23384
23385 [BZ #15362]
23386 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23387 written.
23388 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23389 written.
23390 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23391 written to buffer but not flushed.
23392 * libio/iofwrite_u.c: Likewise.
23393 * libio/iopadn.c: Return bytes returned even if EOF was
23394 encountered.
23395 * libio/iowpadn.c: Likewise.
23396 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23397 if _IO_padn does not write the whole buffer.
23398 [!COMPILE_WPRINTF] (PAD): Likewise.
23399
75b4202a
DM
234002013-10-10 David S. Miller <davem@davemloft.net>
23401
23402 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23403 directory block.
23404
6c6352e6
JM
234052013-10-10 Joseph Myers <joseph@codesourcery.com>
23406
33b853c3
JM
23407 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23408 instead of FSF address.
23409 * soft-fp/fixdfti.c: Likewise.
23410 * soft-fp/fixsfti.c: Likewise.
23411 * soft-fp/fixtfti.c: Likewise.
23412 * soft-fp/fixunsdfti.c: Likewise.
23413 * soft-fp/fixunssfti.c: Likewise.
23414 * soft-fp/fixunstfti.c: Likewise.
23415 * soft-fp/floattidf.c: Likewise.
23416 * soft-fp/floattisf.c: Likewise.
23417 * soft-fp/floattitf.c: Likewise.
23418 * soft-fp/floatuntidf.c: Likewise.
23419 * soft-fp/floatuntisf.c: Likewise.
23420 * soft-fp/floatuntitf.c: Likewise.
23421 * soft-fp/trunctfxf2.c: Likewise.
23422
6c6352e6
JM
23423 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23424 * soft-fp/fixdfti.c: Likewise.
23425 * soft-fp/fixsfti.c: Likewise.
23426 * soft-fp/fixtfti.c: Likewise.
23427 * soft-fp/fixunsdfti.c: Likewise.
23428 * soft-fp/fixunssfti.c: Likewise.
23429 * soft-fp/fixunstfti.c: Likewise.
23430 * soft-fp/floattidf.c: Likewise.
23431 * soft-fp/floattisf.c: Likewise.
23432 * soft-fp/floattitf.c: Likewise.
23433 * soft-fp/floatuntidf.c: Likewise.
23434 * soft-fp/floatuntisf.c: Likewise.
23435 * soft-fp/floatuntitf.c: Likewise.
23436 * soft-fp/trunctfxf2.c: Likewise.
23437
3bf78b71
DM
234382013-10-10 David S. Miller <davem@davemloft.net>
23439
23440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23441
6f10289e
JM
234422013-10-10 Joseph Myers <joseph@codsourcery.com>
23443
bd878fc0
JM
23444 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23445 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23446 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23447 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23448 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23449 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23450 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23451
6f10289e
JM
23452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23453 for NaNs before doing comparisons on argument.
23454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23455 Likewise.
23456
321e2684
WN
234572013-10-10 Will Newton <will.newton@linaro.org>
23458
23459 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23460 passed to _int_memalign does not overflow.
23461
40fefba1
TR
234622013-10-10 Torvald Riegel <triegel@redhat.com>
23463
23464 * scripts/bench.pl: Add include-sources directive.
23465 * benchtests/README: Update documentation.
23466
2ae21ed2
JM
234672013-10-10 Joseph Myers <joseph@codesourcery.com>
23468
dcc2dd3f
JM
23469 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23470 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23471 instead of FP_INIT_ROUNDMODE.
23472 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23473 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23474
2ae21ed2
JM
23475 [BZ #16034]
23476 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23477 copy class of input value.
23478 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23479 not handle exceptions.
23480 * soft-fp/negsf2.c (__negsf2): Likewise.
23481 * soft-fp/negtf2.c (__negtf2): Likewise.
23482 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23483
cb8f9562
JM
234842013-10-09 Joseph Myers <joseph@codesourcery.com>
23485
23486 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23487 semicolon. From Linux kernel.
23488
5b60c59d
AB
234892013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23490
23491 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23492
b86835ca
YC
234932013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23494
23495 [BZ #156]
23496 * manual/socket.texi: Added statement about buffer
23497 for gethostbyname2_r.
23498
e7044ea7
OB
234992013-10-08 Ondřej Bílka <neleai@seznam.cz>
23500
23501 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23502 Use .p2align directive instead, throughout.
23503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23504 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23505 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23508 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23509 * sysdeps/x86_64/strchr.S: Likewise.
23510 * sysdeps/x86_64/strrchr.S: Likewise.
23511
09544cbc
SP
235122013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23513
88576635
SP
23514 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23515
e7b2d1dd
SP
23516 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23517
09544cbc
SP
23518 * sysdeps/generic/math_private.h (__mpsin1): Remove
23519 declaration.
23520 (__mpcos1): Likewise.
23521 (__mpsin): New argument __range_reduce.
23522 (__mpcos): Likewise.
23523 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23524 (slow): Use __mpsin and __mpcos.
23525 (slow1): Likewise.
23526 (slow2): Likewise.
23527 (sloww): Likewise.
23528 (sloww1): Likewise.
23529 (sloww2): Likewise.
23530 (bsloww): Likewise.
23531 (bsloww1): Likewise.
23532 (bsloww2): Likewise.
23533 (cslow2): Likewise.
23534 (csloww): Likewise.
23535 (csloww1): Likewise.
23536 (csloww2): Likewise.
23537 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23538 range_reduce. Merge in __mpsin1.
23539 (__mpcos): Likewise.
23540 (__mpsin1): Remove.
23541 (__mpcos1): Likewise.
23542
7602d070
JM
235432013-10-07 Joseph Myers <joseph@codesourcery.com>
23544
23545 * locale/loadlocale.c (_nl_intern_locale_data): Use
23546 LOCFILE_ALIGNED_P.
23547 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23548 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23549 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23550 obstack data is appropriately aligned.
23551 (obstack_int32_grow_fast): Likewise.
23552 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23553 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23554 (add_locale_uint32_array): Likewise.
23555
a357259b
SP
235562013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23557
23558 * benchtests/Makefile: Remove ARGLIST and RET variables.
23559 ($(objpfx)bench-%.c): Pass only function name to the script.
23560 * benchtests/README: Update documentation.
23561 * benchtests/acos-inputs: Add new directives.
23562 * benchtests/acosh-inputs: Likewise.
23563 * benchtests/asin-inputs: Likewise.
23564 * benchtests/asinh-inputs: Likewise.
23565 * benchtests/atan-inputs: Likewise.
23566 * benchtests/atanh-inputs: Likewise.
23567 * benchtests/cos-inputs: Likewise.
23568 * benchtests/cosh-inputs: Likewise.
23569 * benchtests/exp-inputs: Likewise.
23570 * benchtests/log-inputs: Likewise.
23571 * benchtests/pow-inputs: Likewise.
23572 * benchtests/rint-inputs: Likewise.
23573 * benchtests/sin-inputs: Likewise.
23574 * benchtests/sinh-inputs: Likewise.
23575 * benchtests/tan-inputs: Likewise.
23576 * benchtests/tanh-inputs: Likewise.
23577 * scripts/bench.pl: Add support for new directives.
23578
9ec1b13d
AM
235792013-10-07 Alan Modra <amodra@gmail.com>
23580
23581 * README: Fix careless merge.
23582
8b7d57cd
AM
235832013-10-05 Alan Modra <amodra@gmail.com>
23584
23585 * NEWS: Mention powerpc64le support and bugs fixed.
23586 * README: Both big-endian and little-endian powerpc64 supported.
23587
7b7bab13
ST
235882013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23589
57f41c40
AS
23590 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23591 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23592 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23593 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23594
d39baad1
RA
235952013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23596
23597 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23598 match prototype.
23599
cd78f7e7
JM
236002013-10-04 Joseph Myers <joseph@codesourcery.com>
23601
29d73d86
JM
23602 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23603 Move -mhard-float appending from
23604 ports/sysdeps/powerpc/powerpc32/Makefile.
23605 [$(with-fp) = yes] (ASFLAGS): Likewise.
23606 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23607 * sysdeps/powerpc/nofpu: Move directory from
23608 ports/sysdeps/powerpc/nofpu.
23609 * sysdeps/powerpc/soft-fp: Move directory from
23610 ports/sysdeps/powerpc/soft-fp.
23611 * sysdeps/powerpc/powerpc32/405: Move directory from
23612 ports/sysdeps/powerpc/powerpc32/405.
23613 * sysdeps/powerpc/powerpc32/440: Move directory from
23614 ports/sysdeps/powerpc/powerpc32/440.
23615 * sysdeps/powerpc/powerpc32/464: Move directory from
23616 ports/sysdeps/powerpc/powerpc32/464.
23617 * sysdeps/powerpc/powerpc32/476: Move directory from
23618 ports/sysdeps/powerpc/powerpc32/476.
23619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23620 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23622 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23624 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23626 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23628 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23629 * README: Update for powerpc-*-linux-gnu software floating point
23630 support in libc.
23631
e246b347
JM
23632 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23633 case to powerpc/powerpc32*.
23634 * sysdeps/unix/sysv/linux/configure: Regenerated.
23635
89c2003e
JM
23636 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23637 (_FPU_MASK_OM): Define as 0x04.
23638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23640 0x00c10080.
23641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23642 0x0000003c.
23643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23644
cd78f7e7
JM
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23646 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23647 getcontext_e500.
23648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23649 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23650 setcontext_e500.
23651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23652 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23653 and setcontext_e500.
23654
c755294d
CL
236552013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23656
23657 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23658
e16d221c
SP
236592013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23660
23661 * manual/threads.texi (Default Thread Attributes): Fix typo.
23662
215c7d43
WN
236632013-10-04 Will Newton <will.newton@linaro.org>
23664
23665 * malloc/Makefile: Add tst-memalign.
23666 * malloc/tst-memalign.c: New file.
23667
27d0461b
WN
23668 * malloc/tst-posix_memalign.c: Add comments.
23669 (do_test): Add comments and call free on all potentially
23670 allocated pointers. Add space after cast.
23671
1bc92709
WN
23672 * malloc/tst-pvalloc.c: Add comments.
23673 (do_test): Add comments and call free on all potentially
23674 allocated pointers. Remove duplicate check for NULL pointer.
23675 Add space after cast.
23676
66a9be9d
WN
23677 * malloc/tst-valloc.c: Add comments.
23678 (do_test): Add comments and call free on all potentially
23679 allocated pointers. Remove duplicate check for NULL pointer.
23680 Add space after cast.
23681
4cb81307
AM
236822013-10-04 Alan Modra <amodra@gmail.com>
23683
23684 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23685 Use stdint types in rather than __attribute__((mode())).
23686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23687
f8e3e9f3
AM
236882013-10-04 Alan Modra <amodra@gmail.com>
23689
23690 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23691 Correct handling of unaligned relocs for little-endian.
23692 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23693
8f9ebb08
AM
236942013-10-04 Alan Modra <amodra@gmail.com>
23695
23696 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23697 * configure: Regenerate.
23698 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23699 * shlib-versions: Likewise.
23700
0edf96c2
AM
237012013-10-04 Alan Modra <amodra@gmail.com>
23702
23703 * string/tester.c (test_memrchr): Increment reported test cycle.
23704
e0f7a380
AM
237052013-10-04 Alan Modra <amodra@gmail.com>
23706
23707 * string/test-memcpy.c (do_one_test): When reporting errors, print
23708 string address and don't overrun end of string.
23709
466b0393
AM
237102013-10-04 Alan Modra <amodra@gmail.com>
23711
23712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23713 insrdi. Make better use of reg selection to speed exit slightly.
23714 Schedule entry path a little better. Remove useless "are we done"
23715 checks on entry to main loop. Handle wrapping around zero address.
23716 Correct main loop count. Handle single left-over word from main
23717 loop inline rather than by using loop_small. Remove extra word
23718 case in loop_small caused by wrong loop count. Add little-endian
23719 support.
23720 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23721 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23722 cache hint.
23723 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23724 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23725 support. Avoid rlwimi.
23726 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23727
3be87c77
AM
237282013-10-04 Alan Modra <amodra@gmail.com>
23729
23730 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23731 insrdi. Formatting.
3be87c77
AM
23732 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23733 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23734 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23735 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23736 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23737 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23738
759cfef3
AM
237392013-10-04 Alan Modra <amodra@gmail.com>
23740
23741 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23742 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23743 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23744 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23745 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23746 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23747 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23748 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23749 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23750 use of regs. Use power7 mtocrf. Tidy function tails.
23751
fe6e95d7
AM
237522013-10-04 Alan Modra <amodra@gmail.com>
23753
23754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23755 Formatting. Consistently use rXXX register defines or rN defines.
23756 Use early exit labels that avoid restoring unused non-volatile regs.
23757 Make cr field use more consistent with rWORDn compares. Rename
23758 regs used as shift registers for unaligned loop, using rN defines
23759 for short lifetime/multiple use regs.
23760 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23762 addi 1,1,64 to pop stack frame. Simplify return value code.
23763 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23764
664318c3
AM
237652013-10-04 Alan Modra <amodra@gmail.com>
23766
23767 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23768 support. Correct typos, formatting. Optimize tail. Use insrdi
23769 rather than rlwimi.
23770 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23771 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23772 little-endian support. Correct typos.
23773 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23774 rather than rlwimi.
23775 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23776 in loop and entry code to keep "and." results.
23777 (strchr): Add little-endian support. Comment. Move cntlzd
23778 earlier in tail.
23779 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23780
43b84013
AM
237812013-10-04 Alan Modra <amodra@gmail.com>
23782
23783 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23784 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23785 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23786 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23787
8a7413f9
AM
237882013-10-04 Alan Modra <amodra@gmail.com>
23789
23790 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23791 (rTMP): Define as r11.
23792 (strcmp): Add little-endian support. Optimise tail.
23793 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23794 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23795 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23796 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23797 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23798 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23800
33ee81de
AM
238012013-10-04 Alan Modra <amodra@gmail.com>
23802
23803 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23804 little-endian support. Remove unnecessary "are we done" tests.
23805 Handle "s" wrapping around zero and extremely large "size".
23806 Correct main loop count. Handle single left-over word from main
23807 loop inline rather than by using small_loop. Correct comments.
23808 Delete "zero" tail, use "end_max" instead.
23809 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23810
db9b4570
AM
238112013-10-04 Alan Modra <amodra@gmail.com>
23812
23813 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23814 support. Don't branch over align.
23815 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23816 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23817 support. Rearrange tmp reg use to suit. Comment.
23818 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23819
f7c399cf
AM
238202013-10-04 Alan Modra <amodra@gmail.com>
23821
23822 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23823
0b2c2ace
AM
238242013-10-04 Alan Modra <amodra@gmail.com>
23825
23826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23827 conditional form of branch and link when obtaining pc.
23828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23829
02f04a6c
AM
238302013-10-04 Alan Modra <amodra@gmail.com>
23831
23832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23833 HIWORD/LOWORD.
23834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23836
9b874b2f
AM
238372013-10-04 Alan Modra <amodra@gmail.com>
23838
23839 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23840 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23841 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23842 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23843 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23844 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23845 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23846 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23847 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23848 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23849
be1e5d31
AB
238502013-10-04 Anton Blanchard <anton@au1.ibm.com>
23851 Alistair Popple <alistair@ozlabs.au.ibm.com>
23852 Alan Modra <amodra@gmail.com>
23853
23854 [BZ #15723]
23855 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23856 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23857 _dl_hwcap access for little-endian.
23858 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23859 destroy vmx regs when saving unaligned.
23860 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23861 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23862 destroy vmx regs when saving unaligned.
23863
fef13a78
AM
238642013-10-04 Alan Modra <amodra@gmail.com>
23865
23866 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23867 Don't use a union to pack hi/low value.
23868
76a66d51
AB
238692013-10-04 Anton Blanchard <anton@au1.ibm.com>
23870
23871 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23872 for little-endian.
23873 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23875 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23876 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23877 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23878
6a31fe7f
AM
238792013-10-04 Alan Modra <amodra@gmail.com>
23880
23881 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23882 constants to usual value for .cst8 section, and remove redundant
23883 high address load.
23884 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23885 constant for 0x1p52. Load little-endian words of double from
23886 correct stack offsets.
23887
7b88401f
AM
238882013-10-04 Alan Modra <amodra@gmail.com>
23889
23890 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23891 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23892 words of double from correct stack offsets.
23893 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23894 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23895 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23898 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23900 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23901 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23902 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23905 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23906 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23907 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23908 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23909 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23910
9c008155
AM
239112013-10-04 Alan Modra <amodra@gmail.com>
23912
23913 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23914 64-bit int/double union.
23915 (_FPU_SETCW): Likewise.
23916 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23917 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23918
da13146d
AM
239192013-10-04 Alan Modra <amodra@gmail.com>
23920
23921 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23922 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23923
603e8410
AM
239242013-10-04 Alan Modra <amodra@gmail.com>
23925
23926 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23927 use vector int constants.
23928 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23929
4a28b3ca
AB
239302013-10-04 Anton Blanchard <anton@au1.ibm.com>
23931
23932 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23933 array with long long.
23934 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23935 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23936 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23937 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23938 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23939 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23940 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23941 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23942 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23943 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23944 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23945 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23946 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23947
2ca85d2b
AB
239482013-10-04 Anton Blanchard <anton@au1.ibm.com>
23949
23950 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23951 (__signbit): Likewise. Correct for little-endian.
23952 (__signbitl): Call __signbit.
23953 (lrint): Correct for little-endian.
23954 (lrintf): Call lrint.
23955
62a728ae
AM
239562013-10-04 Alan Modra <amodra@gmail.com>
23957
23958 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23959 union 32-bit int array member with 64-bit int array.
23960 (t515, tm256): Double rather than long double.
23961 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23962
32c301df
AM
239632013-10-04 Alan Modra <amodra@gmail.com>
23964
23965 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23966 Delete.
23967 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23968 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23969 version of math_ldbl.h.
23970
650ef4bd
AM
239712013-10-04 Alan Modra <amodra@gmail.com>
23972
23973 [BZ #15734], [BZ #15735]
23974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23975 all uses of ieee875 long double macros and unions. Simplify test
23976 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23977 ldbl_extract_mantissa value for ix,iy exponents. Properly
23978 normalize after ldbl_extract_mantissa, and don't add hidden bit
23979 already handled. Don't treat low word of ieee854 mantissa like
23980 low word of IBM long double and mask off bit when testing for
23981 zero.
23982 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23983 all uses of ieee875 long double macros and unions. Simplify tests
23984 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23985 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23986 two1022, instead use their values. Recognise that tests for large
23987 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23989 Rewrite all uses of ieee875 long double macros and unions. Simplify
23990 test for 0.0L and nan. Correct negation.
23991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23992 ieee875 long double macros and unions. Correct output for large
23993 magnitude x. Correct absolute value calculation.
23994 (__erfcl): Likewise.
23995 * math/libm-test.inc: Add tests for errors discovered in IBM long
23996 double versions of fmodl, remainderl, erfl and erfcl.
23997
765714ca
AM
239982013-10-04 Alan Modra <amodra@gmail.com>
23999
24000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24001 all uses of ieee854 long double macros and unions. Simplify tests
24002 for long doubles that are fully specified by the high double.
24003 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24004 Likewise.
24005 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24006 Remove dead code too.
24007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24008 (__ieee754_ynl): Likewise.
24009 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24010 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24011 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24012 Remove dead code too.
24013 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24014 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24015 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24017 Simplify.
24018 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24019 Simplify.
24020 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24022 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24023 Comment on variable precision.
24024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24026 Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24031 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24032
4ebd120c
AM
240332013-10-04 Alan Modra <amodra@gmail.com>
24034
24035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24037 all uses of ieee854 long double macros and unions.
24038 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24040 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24044 Likewise.
24045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24046 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24047 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24048 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24049 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24050 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24051 Simplify sign and nan test too.
24052 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24053 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24054 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24055 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24056 Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24059 Likewise.
24060 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24061 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24065 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24066
1b6adf88
AM
240672013-10-04 Alan Modra <amodra@gmail.com>
24068
24069 * stdio-common/printf_size.c (__printf_size): Don't use
24070 union ieee854_long_double in fpnum union.
24071 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24072 signbit macro to retrieve sign from long double.
24073 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24074 retrieve sign from long double.
24075 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24076 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24077 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24078 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24079 * math/test-misc.c (main): Don't use union ieee854_long_double.
24080
4cf69995
AM
240812013-10-04 Alan Modra <amodra@gmail.com>
24082
24083 [BZ #15680]
24084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24085 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24086 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24087 calculation. Remove unnecessary test for denormal exponent.
24088 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24089 Correct handling of denormals. Avoid undefined shift behaviour.
24090 Correct normalisation of low mantissa when low double is denormal.
24091 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24092 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24093 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24094 Correct normalisation of low mantissa. Test for overflow of high
24095 mantissa and normalise.
24096 (ldbl_nearbyint): Use more readable constant for two52.
24097 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24098 (__mpn_construct_long_double): Fix test for overflow of high
24099 mantissa and correct normalisation. Avoid undefined shift.
24100
9605ca6c
AM
241012013-10-04 Alan Modra <amodra@gmail.com>
24102
24103 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24104 (union ibm_extended_long_double): Define as an array of ieee754_double.
24105 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24106 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24107 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24108 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24112 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24116
975569d0
JM
241172013-10-03 Joseph Myers <joseph@codesourcery.com>
24118
d3d23756
JM
24119 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24120 page size instead of calling getpagesize.
24121
975569d0
JM
24122 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24123 (LOCFILE_ALIGN_MASK): Likewise.
24124 (LOCFILE_ALIGN_UP): Likewise.
24125 (LOCFILE_ALIGNED_P): Likewise.
24126 * locale/programs/ld-collate.c (collate_output): Use the new
24127 macros instead of __alignof__ (int32_t).
24128 * locale/weight.h (findidx): Likewise.
24129
b1fe1f2b
OB
241302013-10-03 Ondřej Bílka <neleai@seznam.cz>
24131
24132 [BZ #431]
24133 * manual/string.texi: Fix strncat and wcsncat.
24134
5f855e35
BM
241352013-10-03 Brooks Moses <bmoses@google.com>
24136
24137 [BZ #15915]
24138 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24139 * Makerules: ...here, and adjust associated comments.
24140
3cef6009
WN
241412013-10-02 Will Newton <will.newton@linaro.org>
24142
24143 * malloc/Makefile: Add tst-pvalloc.
24144 * malloc/tst-pvalloc.c: New file.
24145
7815420b
WN
241462013-10-02 Will Newton <will.newton@linaro.org>
24147
24148 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24149 improve test coverage.
24150
4868b204
WN
241512013-10-02 Will Newton <will.newton@linaro.org>
24152
24153 * malloc/Makefile: Add tst-posix_memalign.
24154 * malloc/tst-posix_memalign.c: New file.
24155
29c793b3
EB
241562013-10-01 Eric Blake <eblake@redhat.com>
24157
24158 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24159 Use __THROWNL rather than __THROW on static functions.
24160
fd967522
PM
241612013-09-30 Petr Machata <pmachata@redhat.com>
24162
24163 * elf/elf.h (R_AARCH64_ABS16): New macro.
24164 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24165 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24166 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24167 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24168 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24169 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24170 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24171 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24172 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24173 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24174 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24175 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24176 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24177 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24178 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24179 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24180 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24181 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24182 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24183 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24184 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24185 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24186 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24187 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24188 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24189 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24190 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24191 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24192 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24193 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24194 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24195 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24196 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24197 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24198 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24199 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24200 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24201 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24202 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24203 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24204 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24205 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24206 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24207 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24208 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24209 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24210 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24211 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24212 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24213 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24214 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24215 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24216 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24217 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24218 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24219 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24220 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24221 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24222 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24223 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24224 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24225 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24226 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24227 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24228 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24229 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24230 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24231 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24232 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24233 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24234 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24235 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24236 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24237 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24238 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24239 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24240 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24241 (R_AARCH64_TLSDESC_LDR): Likewise.
24242 (R_AARCH64_TLSDESC_ADD): Likewise.
24243 (R_AARCH64_TLSDESC_CALL): Likewise.
24244
b2179107
AS
242452013-09-30 Andreas Schwab <schwab@suse.de>
24246
24247 [BZ #15048]
24248 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24249 the nss database lookup.
24250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24251 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24252
47f28d0a
MF
242532013-09-28 Mike Frysinger <vapier@gentoo.org>
24254
24255 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24256
242572013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24258
24259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24260 ${Bash-specific parameter/pattern/string} parameter expansion.
24261 * sysdeps/unix/make-syscalls.sh: Likewise.
24262
f4518a17
KK
242632013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24264
24265 * sysdeps/sh/stackguard-macros.h: New file.
24266
dc1a95c7
OB
242672013-09-26 Ondřej Bílka <neleai@seznam.cz>
24268
24269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24271 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24272 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24274 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24275
5ebbff8f
AZ
242762013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24277
24278 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24279 Fix thread ID register.
24280
4fd2cf9f
JM
242812013-09-25 Joseph Myers <joseph@codesourcery.com>
24282
24283 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24284 [POSIX || UNIX98]: Require rather than permitting all symbols from
24285 <time.h>.
24286 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24287 element of struct sched_param.
24288 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24289 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24290 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24291 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24292 constant.
24293
12c22bc4
OL
242942013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24295
24296 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24297 argument calculation.
24298
a03d8ea7
JM
242992013-09-24 Joseph Myers <joseph@codesourcery.com>
24300
24301 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24302 Expect macro.
24303 [POSIX] (pthread_attr_t): Do not require type.
24304 [POSIX] (pthread_cond_t): Likewise.
24305 [POSIX] (pthread_condattr_t): Likewise.
24306 [POSIX] (pthread_key_t): Likewise.
24307 [POSIX] (pthread_mutex_t): Likewise.
24308 [POSIX] (pthread_mutexattr_t): Likewise.
24309 [POSIX] (pthread_once_t): Likewise.
24310 [POSIX] (pthread_t): Likewise.
24311 [POSIX-based standards] (pthread_atfork): Expect function.
24312
6055173a
JM
243132013-09-24 Joseph Myers <joseph@codesourcery.com>
24314 Richard Sandiford <richard@codesourcery.com>
24315
24316 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24317 (swap_endianness_p): New extern variable.
24318 (set_big_endian): New inline function.
24319 (maybe_swap_uint32): Likewise.
24320 (maybe_swap_uint32_array): Likewise.
24321 (maybe_swap_uint32_obstack): Likewise.
24322 * locale/programs/locfile.c: Include <stdbool.h>.
24323 (swap_endianness_p): New variable.
24324 (add_locale_uint32): Call maybe_swap_uint32.
24325 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24326 (write_locale_data): Call maybe_swap_uint32_array.
24327 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24328 maybe_swap_uint32.
24329 (obstack_int32_grow_fast): Likewise.
24330 (output_weightwc): Call maybe_swap_uint32_obstack.
24331 (collate_output): Likewise.
24332 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24333 (OPT_LITTLE_ENDIAN): Likewise.
24334 (options): Add --little-endian and --big-endian options.
24335 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24336 * locale/programs/locarchive.c: Include "locfile.h".
24337 (GET): New macro.
24338 (SET): Likewise.
24339 (INC): Likewise.
24340 (create_archive): Use the new macros to access fields of
24341 structures directly mapped from or written to locale archives.
24342 (oldlocrecentcmp): Likewise.
24343 (enlarge_archive): Likewise.
24344 (insert_name): Likewise.
24345 (add_alias): Likewise.
24346 (add_locale): Likewise.
24347 (delete_locales_from_archive): Likewise.
24348 (show_archive_content): Likewise.
24349 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24350 locale data.
24351
39bf0bb4
RM
243522013-09-24 Roland McGrath <roland@hack.frob.com>
24353
24354 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24355 http://www.gnu.org/doc/freemanuals.texi.
24356 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24357
f02eed10
WN
243582013-09-24 Will Newton <will.newton@linaro.org>
24359
24360 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24361 macro.
24362
a3a6c312
JM
243632013-09-23 Joseph Myers <joseph@codesourcery.com>
24364
24365 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24366 unsigned char.
24367
107375ac
MR
243682013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24369
24370 * manual/threads.texi (POSIX Threads): Fix a typo.
24371
141f3a77
SP
243722013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24373
303e567a
SP
24374 [BZ #14547]
24375 * string/tst-strcoll-overflow.c: New test case.
24376 * string/Makefile (xtests): Add tst-strcoll-overflow.
24377 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24378 cache if string sizes may cause integer overflow.
24379
141f3a77
SP
24380 [BZ #14547]
24381 * string/strcoll_l.c (coll_seq): New members rule, idx,
24382 save_idx and back_us.
24383 (get_next_seq_nocache): New function.
24384 (do_compare_nocache): New function.
24385 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24386 when malloc fails.
24387
c61b4d41
CD
243882013-09-23 Carlos O'Donell <carlos@redhat.com>
24389
0b1f8e35
CD
24390 [BZ #15754]
24391 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24392 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24393 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24394
c61b4d41
CD
24395 [BZ #15754]
24396 * elf/Makefile (tests): Add tst-ptrguard1.
24397 (tests-static): Add tst-ptrguard1-static.
24398 (tst-ptrguard1-ARGS): Define.
24399 (tst-ptrguard1-static-ARGS): Define.
24400 * elf/tst-ptrguard1.c: New file.
24401 * elf/tst-ptrguard1-static.c: New file.
24402 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24403 * sysdeps/i386/stackguard-macros.h: Likewise.
24404 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24405 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24406 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24407 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24408 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24409 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24410
244112013-09-23 Hector Marco <hecmargi@upv.es>
24412 Ismael Ripoll <iripoll@disca.upv.es>
24413 Carlos O'Donell <carlos@redhat.com>
24414
24415 [BZ #15754]
24416 * sysdeps/generic/stackguard-macros.h: Define
24417 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24418 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24419 Define __pointer_chk_guard_local.
24420 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24421 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24422
f5f4e7b4
VV
244232013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24424
24425 [BZ #15859]
24426 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24427
5bb43a43
AS
244282013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24429
24430 * include/string.h (__ffs): Declare as hidden.
24431 * string/ffs.c (__ffs): Define as hidden.
24432 * sysdeps/i386/ffs.c (__ffs): Likewise.
24433 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24434 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24435 * sysdeps/s390/ffs.c (__ffs): Likewise.
24436 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24437
3ea5be54
AO
244382013-09-20 Alexandre Oliva <aoliva@redhat.com>
24439
ffb89e53
AO
24440 * NEWS: Mention malloc probes.
24441
322dea08
AO
24442 * malloc/arena.c (new_heap): New memory_heap_new probe.
24443 (grow_heap): New memory_heap_more probe.
24444 (shrink_heap): New memory_heap_less probe.
24445 (heap_trim): New memory_heap_free probe.
24446 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24447 (systrim): New memory_sbrk_less probe.
24448 * manual/probes.texi: Document them.
24449
655673f3
AO
24450 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24451 * manual/probes.texi: Document it.
24452
35fed6f1
AO
24453 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24454 (__libc_realloc): Add memory_realloc_retry probe.
24455 (__libc_memalign): Add memory_memalign_retry probe.
24456 (__libc_valloc): Add memory_valloc_retry probe.
24457 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24458 (__libc_calloc): Add memory_calloc_retry probe.
24459 * manual/probes.texi: Document them.
24460
6999d38c
AO
24461 * malloc/arena.c (get_free_list): Add probe
24462 memory_arena_reuse_free_list.
24463 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24464 and memory_arena_reuse.
24465 (arena_get2) [!PER_THREAD]: Likewise.
24466 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24467 memory_arena_reuse_realloc.
24468 * manual/probes.texi: Document them.
24469
0653427f
AO
24470 * malloc/malloc.c (__libc_free): Add
24471 memory_mallopt_free_dyn_thresholds probe.
24472 (__libc_mallopt): Add multiple memory_mallopt probes.
24473 * manual/probes.texi: Document them.
24474
3ea5be54
AO
24475 * malloc/malloc.c: Include stap-probe.h.
24476 (__libc_mallopt): Add memory_mallopt probe.
24477 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24478 * manual/probes.texi: New.
24479 * manual/Makefile (chapters): Add probes.
24480 * manual/threads.texi: Set next node.
24481
e35696c3 244822013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24483
e35696c3
CL
24484 [BZ #15963, #13985]
24485 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24486 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24487 Add `Chinese' to `nan' entry name.
24488
4aafb73c
SP
244892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24490
24491 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24492 (POLYNOMIAL): Likewise.
24493 (TAYLOR_SINCOS): Likewise.
24494 (TAYLOR_SLOW): Likewise.
24495 (__sin): Use TAYLOR_SINCOS.
24496 (__cos): Likewise.
24497 (slow): Use TAYLOR_SLOW.
24498 (sloww): Likewise.
24499 (bsloww): Likewise.
24500 (csloww): Likewise.
24501
d84f25c7
LD
245022013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24503
24504 * stdlib/strtod_l.c: Fix buffer overrun.
24505
5eea0404
SP
245062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24507
7849ff93
SP
24508 * benchtests/Makefile (bench): Add sincos.
24509 * benchtests/bench-sincos.c: New file.
24510
cfa3c886
SP
24511 * math/libm-test.inc (cos_test_data): New test inputs.
24512 (sin_test_data): Likewise.
24513
b348e1e3
SP
24514 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24515 macro.
24516 (__sin): Use it.
24517 (__cos): Likewise.
24518 (slow1): Likewise.
24519 (slow2): Likewise.
24520 (sloww1): Likewise.
24521 (sloww2): Likewise.
24522 (bsloww1): Likewise.
24523 (bsloww2): Likewise.
24524 (cslow2): Likewise.
24525 (csloww1): Likewise.
24526 (csloww2): Likewise.
24527
6cce25f8
SP
24528 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24529 function.
24530 (__sin): Use it.
24531 (__cos): Likewise.
24532
5eea0404
SP
24533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24534 gotos.
24535 (__cos): Likewise.
24536
9c21573c
MR
245372013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24538
24539 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24540 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24541 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24542 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24543 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24544 * elf/cache.c (print_entry): Handle the new cache flags.
24545
24d22e65
JM
245462013-09-18 Joseph Myers <joseph@codesourcery.com>
24547 Aldy Hernandez <aldyh@redhat.com>
24548
24549 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24550 Change condition to [_SOFT_FLOAT].
24551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24557 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24559 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24563 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24566 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24567 declaration.
24568
d13ef066
JM
245692013-09-18 Joseph Myers <joseph@codesourcery.com>
24570
2e071de0
JM
24571 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24572 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24573 (__longjmp): Use LOAD_GP to load saved GPRs.
24574 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24575 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24576 (__sigsetjmp): Use SAVE_GP to save GPRs.
24577
d13ef066
JM
24578 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24579 Do not append -msoft-float.
24580 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24581
97a0650b
SP
245822013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24583
24584 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24585
11ca09e9
JM
245862013-09-17 Joseph Myers <joseph@codesourcery.com>
24587
24588 [BZ #15966]
24589 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24590 (_FPU_GETCW): Use initial "__" on variable and field names but not
24591 on macro parameter name.
24592 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24593 parentheses around reference to macro parameter.
24594
08ffcf34
RS
245952013-09-13 Richard Sandiford <richard@codesourcery.com>
24596
24597 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24598 prototype.
24599 (ctype_startup): Use uint32_t in cast and sizeof for
24600 ctype->charnames.
24601
ae7080d3
JL
246022013-09-11 Jia Liu <proljc@gmail.com>
24603
24604 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24605 __daddr_t_defined.
24606 [__FreeBSD__]: Likewise.
24607
5905e7b3
OB
246082013-09-11 Ondřej Bílka <neleai@seznam.cz>
24609
24610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24611 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24612 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24613 (strchr): Remove __strchr_sse42 ifunc selection.
24614 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24615 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24616
b987c776
WN
246172013-09-11 Will Newton <will.newton@linaro.org>
24618
24619 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24620 parameter to RES. Remove hardcoded 1000 value.
24621 * benchtests/bench-skeleton.c (main): Pass RES parameter
24622 to TIMING_INIT and multiply result by 1000.
24623
ddf985af
AZ
246242013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24625
24626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24627
ffdd3181
AS
246282013-09-11 Andreas Schwab <schwab@suse.de>
24629
24630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24631 if not defined.
24632 (O_TMPFILE) [__USE_GNU]: Define.
24633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24634 Define.
24635
b73ed247
WN
246362013-09-11 Will Newton <will.newton@linaro.org>
24637
24638 [BZ #15857]
24639 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24640 does not overflow.
24641
55e17aad
WN
246422013-09-11 Will Newton <will.newton@linaro.org>
24643
24644 [BZ #15856]
24645 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24646 does not overflow.
24647
1159a193
WN
246482013-09-11 Will Newton <will.newton@linaro.org>
24649
24650 [BZ #15855]
24651 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24652 does not overflow.
24653
5905e7b3 246542013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24655
24656 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24657 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24658 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24659 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24660 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24661
cdfc721b
AM
246622013-09-10 Allan McRae <allan@archlinux.org>
24663
aa04af00
AM
24664 [BZ #15748]
24665 * manual/arith.texi (Parsing of Floats): Clarify
24666 cross-reference.
24667
cdfc721b
AM
24668 [BZ #15849]
24669 * manual/install.texi (Running make install): Mention
24670 --enable-pt-chown.
24671 * INSTALL: Regenerated.
24672
95e7cf29
MR
246732013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24674
24675 * csu/init-first.c (_init): Remove the !SHARED condition around
24676 FPU control word initialization.
24677 * elf/dl-support.c (_dl_fpu_control): New variable.
24678 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24679 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24680 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24681 * math/test-fpucw-static.c: New file.
24682 * math/test-fpucw-ieee.c: New file.
24683 * math/test-fpucw-ieee-static.c: New file.
24684 * math/Makefile (tests): Add `test-fpucw-ieee' and
24685 `$(tests-static)'.
24686 (tests-static): New variable.
24687 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24688 dependency to...
24689 [($(build-shared),yes)]
24690 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24691 ... this.
24692 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24693 New dependency.
24694
83e43bf0
AM
246952013-09-09 Allan McRae <allan@archlinux.org>
24696
a9f5ce09
AM
24697 [BZ #15939]
24698 * manual/string.texi (Collation Functions): Fix typo in
24699 strcoll example.
24700 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24701
34829bc2
AM
24702 [BZ #15893]
24703 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24704
3932737d
AM
24705 [BZ #15892]
24706 * libio/memstream.c (open_memstream): Fix memory leak.
24707 * libio/wmemstream.c (open_wmemstream): Likewise.
24708
83e43bf0
AM
24709 [BZ #15895]
24710 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24711
0c66b8e9
WN
247122013-09-09 Will Newton <will.newton@linaro.org>
24713
24714 * malloc/Makefile: Add tst-realloc to tests.
24715 * malloc/tst-realloc.c: New file.
24716
f6b00fd1
AM
247172013-09-09 Allan McRae <allan@archlinux.org>
24718
24719 [BZ #15844]
24720 * COPYING: Update from GNU website to fix FSF address.
24721 * COPYING.LIB: Likewise.
24722
eec55e16
DM
247232013-09-06 David S. Miller <davem@davemloft.net>
24724
24725 * po/zh_TW.po: Update Chinese (traditional) translation from
24726 translation project.
24727
1ecbb381
RS
247282013-09-06 Richard Sandiford <richard@codesourcery.com>
24729 Joseph Myers <joseph@codesourcery.com>
24730
24731 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24732 "localeinfo.h".
24733 (obstack_chunk_alloc): New macro.
24734 (obstack_chunk_free): Likewise.
24735 (record_offset): New function.
24736 (init_locale_data): Likewise.
24737 (align_locale_data): Likewise.
24738 (add_locale_empty): Likewise.
24739 (add_locale_raw_data): Likewise.
24740 (add_locale_raw_obstack): Likewise.
24741 (add_locale_string): Likewise.
24742 (add_locale_wstring): Likewise.
24743 (add_locale_uint32): Likewise.
24744 (add_locale_uint32_array): Likewise.
24745 (add_locale_char): Likewise.
24746 (start_locale_structure): Likewise.
24747 (end_locale_structure): Likewise.
24748 (start_locale_prelude): Likewise.
24749 (end_locale_prelude): Likewise.
24750 (write_locale_data): Take locale_file structure rather than an
24751 iovec.
24752 * locale/programs/locfile.h: Include "obstack.h".
24753 (struct locale_file): Change to store locale file contents instead
24754 of header.
24755 (init_locale_data): New prototype.
24756 (align_locale_data): Likewise.
24757 (add_locale_empty): Likewise.
24758 (add_locale_raw_data): Likewise.
24759 (add_locale_raw_obstack): Likewise.
24760 (add_locale_string): Likewise.
24761 (add_locale_wstring): Likewise.
24762 (add_locale_uint32): Likewise.
24763 (add_locale_uint32_array): Likewise.
24764 (add_locale_char): Likewise.
24765 (start_locale_structure): Likewise.
24766 (end_locale_structure): Likewise.
24767 (start_locale_prelude): Likewise.
24768 (end_locale_prelude): Likewise.
24769 (write_locale_data): Update prototype.
24770 * locale/programs/3level.h (struct TABLE): Remove result field.
24771 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24772 Use new locale_file interface.
24773 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24774 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24775 * locale/programs/ld-address.c (address_output): Use new
24776 locale_file interface.
24777 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24778 NO_ADD_LOCALE.
24779 (collate_finish): Don't call collseq_table_finalize.
24780 (collate_output): Use new locale_file interface.
24781 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24782 in file.
24783 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24784 (TABLE): Move defines earlier in file.
24785 (ELEMENT): Likewise.
24786 (DEFAULT): Likewise.
24787 (wctrans_table_add): Move macro and inline function earlier in
24788 file.
24789 (struct wctype_table): Move type earlier in file.
24790 (add_locale_wctype_table): New static prototype.
24791 (struct locale_ctype_t): Use logical types instead of struct iovec
24792 pointers for members.
24793 (ctype_output): Use new locale_file interface.
24794 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24795 new locale_file interface.
24796 (allocate_arrays): Update for use of new locale_file interface.
24797 * locale/programs/ld-identification.c (identification_output): Use
24798 new locale_file interface.
24799 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24800 * locale/programs/ld-messages.c (messages_output): Likewise.
24801 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24802 * locale/programs/ld-name.c (name_output): Likewise.
24803 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24804 * locale/programs/ld-paper.c (paper_output): Likewise.
24805 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24806 * locale/programs/ld-time.c (time_output): Likewise.
24807
e029e2e5
AZ
248082013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24809
24810 * benchtests/Makefile: Add memrchr benchmark.
24811 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24812 benchmark as memrchr.
24813 * benchtests/bench-memrchr-ifunc.c: New file.
24814 * benchtests/bench-memrchr.c: New file.
24815
bbf6e8e4
WN
248162013-09-06 Will Newton <will.newton@linaro.org>
24817
24818 * benchtests/Makefile (string-bench): Add memcpy.
24819
6c82a2f8
CD
248202013-09-05 Carlos O'Donell <carlos@redhat.com>
24821 Cong Wang <amwang@redhat.com>
24822
e732c5f0 24823 [BZ #15850]
6c82a2f8
CD
24824 * sysdeps/unix/sysv/linux/bits/in.h
24825 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24826 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24827 before __USE_KERNEL_IPV6_DEFS uses.
24828 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24829 IPPROTO_BEETPH.
24830 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24831 sockaddr_in6, or ipv6_mreq.
24832
5430fc65
AZ
248332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24834
24835 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24836 memory access for final bytes in some large inputs.
24837 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24838
4660856c
AZ
248392013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24840
24841 * string/test-memrchr.c: New file.
24842 * string/test-memrchr-ifunc.c: New file.
24843 * string/Makefile: Add new memrchr testcase.
24844
bb8ea713
MF
248452013-09-05 Mike Frysinger <vapier@gentoo.org>
24846
24847 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24848 fanotify_init returns EPERM.
24849
b92a20b5
JM
248502013-09-04 Joseph Myers <joseph@codesourcery.com>
24851
24852 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24853 errors.
24854 (top level): Treat second token from macro or constant entries for
24855 allowed headers as allowed.
24856 * include/complex.h: Condition internal declarations on
24857 [!_ISOMAC].
24858 * include/fenv.h: Condition include of <stdbool.h> and internal
24859 declarations on [!_ISOMAC].
7447ccd9
CL
24860
248612013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24862
3e181dda 24863 [BZ #15923]
7447ccd9
CL
24864 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24865
3f2e46a4
JM
248662013-09-04 Joseph Myers <joseph@codesourcery.com>
24867
24868 * configure.in (--enable-versioning): Remove configure option.
24869 (libc_cv_asm_symver_directive): Remove configure test.
24870 (libc_cv_ld_version_script_option): Likewise.
24871 (VERSIONING): Remove variable and AC_SUBST.
24872 (DO_VERSIONING): Remove AC_DEFINE.
24873 * configure: Regenerated.
24874 * config.h.in (DO_VERSIONING): Remove macro.
24875 * Makerules [$(versioning) = yes]: Change conditionals to
24876 [$(build-shared) = yes].
24877 * config.make.in (versioning): Remove variable.
24878 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24879 [$(build-shared) = yes].
24880 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24881 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24882 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24883 [$(build-shared) = yes].
24884 * extra-lib.mk [$(versioning) = yes]: Likewise.
24885 * hurd/Makefile [$(versioning) = yes]: Likewise.
24886 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24887 [SHARED].
24888 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24889 [SHARED].
24890 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24891 [SHARED && !NO_HIDDEN].
24892 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24893 [SHARED].
24894 [SHARED && DO_VERSIONING]: Likewise..
24895 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24896 [$(build-shared) = yes].
24897 * manual/install.texi (--disable-versioning): Remove
24898 documentation.
24899 * INSTALL: Regenerated.
24900 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24901 to [SHARED].
24902 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24903 [$(build-shared) = yes].
24904 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24905 * sysdeps/i386/i686/multiarch/strstr-c.c
24906 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24907 [SHARED && !NO_HIDDEN].
24908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24909 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24910 * sysdeps/powerpc/powerpc32/dl-machine.c
24911 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24912 * sysdeps/powerpc/powerpc32/sysdep.h
24913 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24914 to [SHARED && PIC && !NO_HIDDEN].
24915 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24916 conditional to [SHARED].
24917
44558701
WN
249182013-09-04 Will Newton <will.newton@linaro.org>
24919
24920 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24921 * benchtests/bench-string.h: Include bench-timing.h instead
24922 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24923 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24924 call to HP_TIMING_DIFF_INIT.
24925 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24926 instead of hp-timing.h macros.
24927 * benchtests/bench-memchr.c: Likewise.
24928 * benchtests/bench-memcmp.c: Likewise.
24929 * benchtests/bench-memcpy.c: Likewise.
24930 * benchtests/bench-memmem.c: Likewise.
24931 * benchtests/bench-memmove.c: Likewise.
24932 * benchtests/bench-memset.c: Likewise.
24933 * benchtests/bench-rawmemchr.c: Likewise.
24934 * benchtests/bench-strcasecmp.c: Likewise.
24935 * benchtests/bench-strcasestr.c: Likewise.
24936 * benchtests/bench-strcat.c: Likewise.
24937 * benchtests/bench-strchr.c: Likewise.
24938 * benchtests/bench-strcmp.c: Likewise.
24939 * benchtests/bench-strcpy.c: Likewise.
24940 * benchtests/bench-strcpy_chk.c: Likewise.
24941 * benchtests/bench-strlen.c: Likewise.
24942 * benchtests/bench-strncasecmp.c: Likewise.
24943 * benchtests/bench-strncat.c: Likewise.
24944 * benchtests/bench-strncmp.c: Likewise.
24945 * benchtests/bench-strncpy.c: Likewise.
24946 * benchtests/bench-strnlen.c: Likewise.
24947 * benchtests/bench-strpbrk.c: Likewise.
24948 * benchtests/bench-strrchr.c: Likewise.
24949 * benchtests/bench-strspn.c: Likewise.
24950 * benchtests/bench-strstr.c: Likewise.
24951
cae16d66
WN
249522013-09-04 Will Newton <will.newton@linaro.org>
24953
24954 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24955
ffa3cd7f
JM
249562013-09-03 Joseph Myers <joseph@codesourcery.com>
24957
24958 [BZ #15427]
24959 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24960 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24961 * math/libm-test.inc (lgamma_test_data): Add more tests.
24962 * sysdeps/i386/fpu/libm-test-ulps: Update.
24963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24964
8f02859f
OB
249652013-09-03 Ondřej Bílka <neleai@seznam.cz>
24966
24967 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24969 Add ifunc.
24970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24971 Add strcmp-sse2-unaligned
24972 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24973
18d43716
MF
249742013-09-02 Mike Frysinger <vapier@gentoo.org>
24975
24976 * Versions.def (libc): Add GLIBC_2.19.
24977
ac444012
MF
249782013-09-02 Mike Frysinger <vapier@gentoo.org>
24979
24980 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24981 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24982
b7835e32
JM
249832013-09-02 Joseph Myers <joseph@codesourcery.com>
24984
24985 [BZ #14155]
24986 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24987 intermediate calculations in recurrence.
24988 (__ieee754_ynf): Likewise.
24989 * math/libm-test.inc (jn_test_data): Do not allow spurious
24990 underflow exception. Add more tests.
24991 (yn_test_data): Add more tests.
24992 * sysdeps/i386/fpu/libm-test-ulps: Update.
24993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24994
8220f4f0
OB
249952013-09-02 Ondřej Bílka <neleai@seznam.cz>
24996
24997 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24998
f24a6d08
OB
249992013-08-30 Ondřej Bílka <neleai@seznam.cz>
25000
25001 * csu/init-first.c: Fix then/than typos.
25002 * locale/programs/ld-collate.c: Likewise.
25003 * locale/programs/linereader.h: Likewise.
25004 * manual/charset.texi: Likewise.
25005 * manual/filesys.texi: Likewise.
25006 * manual/stdio.texi: Likewise.
25007 * manual/string.texi: Likewise.
25008 * stdlib/fmtmsg.c: Likewise.
25009 * sysdeps/i386/stpncpy.S: Likewise.
25010 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25011 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25012 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25013 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25014
382466e0
OB
250152013-08-30 Ondřej Bílka <neleai@seznam.cz>
25016
25017 * elf/dl-open.c: Fix typos.
25018 * iconvdata/gbbig5.c: Likewise.
25019 * iconvdata/iso-2022-jp.c: Likewise.
25020 * iconv/gconv_int.h: Likewise.
25021 * iconv/loop.c: Likewise.
25022 * nis/rpcsvc/nis.h: Likewise.
25023 * resolv/ns_name.c: Likewise.
25024 * stdio-common/vfscanf.c: Likewise.
25025 * streams/stropts.h: Likewise.
25026 * sunrpc/rpc_thread.c: Likewise.
25027 * sysdeps/i386/strpbrk.S: Likewise.
25028 * sysdeps/ieee754/k_standard.c: Likewise.
25029 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25030 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25031 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25032 * sysdeps/mach/hurd/profil.c: Likewise.
25033 * sysdeps/s390/dl-procinfo.h: Likewise.
25034 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25035 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25036 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25037 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25038 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25039
0186c6e9
OB
250402013-08-30 Ondřej Bílka <neleai@seznam.cz>
25041
25042 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25044
d4e16af1
OB
250452013-08-29 Ondřej Bílka <neleai@seznam.cz>
25046
25047 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25048 aix specific files.
25049 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25050 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25051 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25052 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25053 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25054 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25055 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25056 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25057
88335980
TS
250582013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25059 Roland McGrath <roland@hack.frob.com>
25060
25061 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25062 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25063
ed479b02
ST
250642013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25065
25066 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25067 __executable_start symbol instead of _start.
25068
f1cc4c86
TS
250692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25070
d821f07c
TS
25071 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25072 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25073 Move macros to...
25074 * sysdeps/gnu/ldsodefs.h: ... this new file.
25075
c54290cf
TS
25076 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25077 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25078 instead of ELFOSABI_LINUX.
25079
0007fc9b 25080 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25081 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25082 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25083 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25084 Likewise.
25085 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25086 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25087 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25088 Likewise.
25089 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25090 (ibm_extended_long_double): Add ieee_nan member.
25091 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25092 (do_test): New function.
25093
f1cc4c86
TS
25094 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25095 TEST_TRUNC.
25096 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25097 functions, renamed from truncdfsf_test, trunctfsf_test,
25098 trunctfdf_test.
25099 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25100 functions.
25101 (do_test): Run all these.
25102
6f65e668
OB
251032013-08-29 Ondřej Bílka <neleai@seznam.cz>
25104
25105 * argp/argp-help.c: Fix typos.
25106 * argp/argp-parse.c: Likewise.
25107 * debug/backtracesyms.c: Likewise.
25108 * elf/elf.h: Likewise.
25109 * malloc/malloc.c: Likewise.
25110 * nis/nis_print.c: Likewise.
25111 * resolv/res_comp.c: Likewise.
25112 * stdlib/stdlib.h: Likewise.
25113 * sunrpc/clnt_tcp.c: Likewise.
25114 * sunrpc/clnt_udp.c: Likewise.
25115 * sunrpc/clnt_unix.c: Likewise.
25116 * sysdeps/unix/bsd/ptsname.c: Likewise.
25117 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25120 Likewise.
25121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25122 Likewise.
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25124 Likewise.
6f65e668
OB
25125 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25126
3a309239
SP
251272013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25128
25129 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25131
3b813b29
MF
251322013-08-27 Mike Frysinger <vapier@gentoo.org>
25133
25134 [BZ #15897]
25135 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25136 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25137 ($(objpfx)bug-dl-leaf): New rule.
25138 ($(objpfx)bug-dl-leaf.so): Likewise.
25139 ($(objpfx)bug-dl-leaf.out): Likewise.
25140 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25141 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25142 * dlfcn/bug-dl-leaf.c: New test.
25143 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25144 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25145 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25146 (dlclose): Likewise.
25147 (dlmopen): Likewise.
25148
8cc3269f
RM
251492013-08-27 Roland McGrath <roland@hack.frob.com>
25150
7f9d0034
RM
25151 * include/netdb.h [!_ISOMAC]:
25152 Don't include <tls.h>.
25153 (h_errno, __libc_h_errno): Move declaration and macros out of
25154 [_LIBC_REENTRANT].
25155
fb431262
RM
25156 * include/resolv.h [_RESOLV_H_]:
25157 Don't include <tls.h>.
25158 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25159 * resolv/res_libc.c: Don't include <tls.h>.
25160 (_res): Use __attribute__ ((nocommon)) in place of
25161 __attribute__ ((section (".bss"))).
25162
bd81123a
RM
25163 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25164 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25165
c4e42566
RM
25166 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25167
f890a59b
RM
25168 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25169 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25170
25171 * resolv/res_mkquery.c: Include <sys/time.h>.
25172
5d1f0a09
RM
25173 * inet/ifreq.c: Moved to ...
25174 * sysdeps/unix/ifreq.c: ... here.
25175 * inet/ifreq.c: New file, true stub version.
25176
6fcf28b3
RM
25177 * socket/sa_len.c: New file.
25178 * socket/Makefile (aux): Add it.
25179 * sysdeps/unix/sysv/linux/Makefile
25180 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25181 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25182 and #include <socket/sa_len.c>.
25183 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25184 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25185
e041fb8b
RM
25186 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25187 * bits/socket.h: ... here.
25188
8cc3269f
RM
25189 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25190 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25191 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25192
5d228a43
AS
251932013-08-27 Andreas Schwab <schwab@suse.de>
25194
45b8accc
AS
25195 [BZ #15736]
25196 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25197 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25198 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25199 * string/test-strcasecmp.c (test_main): Run tests in several
25200 locales.
25201 * string/test-strncasecmp.c (test_main): Likewise.
25202
5d228a43
AS
25203 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25204 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25205 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25207 (__strncasecmp_ssse3) [PIC]: Likewise.
25208
59d112a4
RM
252092013-08-26 Roland McGrath <roland@hack.frob.com>
25210
53234cc3
RM
25211 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25212
59d112a4
RM
25213 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25214 instead of explicitly declaring xdecrypt.
25215 * nis/nss_nis/nis-publickey.c: Likewise.
25216
595aba70
SP
252172013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25218
25219 [BZ #15890]
25220 * nscd/aicache.c: Include res_hconf.h.
25221 (addhstaiX): Initialize res_hconf.
25222
ffabd393
AS
252232013-08-26 Andreas Schwab <schwab@suse.de>
25224
25225 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25226 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25227
e0a69f5c
SP
252282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25229
25230 * nscd/aicache.c (addhstaiX): Fix indentation.
25231
8c12f01d
MF
252322013-08-25 Mike Frysinger <vapier@gentoo.org>
25233
25234 * configure.ac: Quote $build_pt_chown test.
25235 * configure: Regenerated.
25236
8fe89494
JM
252372013-08-23 Joseph Myers <joseph@codesourcery.com>
25238
25239 [BZ #15532]
25240 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25241 * math/s_cexpf.c (__cexpf): Likewise.
25242 * math/s_cexpl.c (__cexpl): Likewise.
25243 * math/libm-test.inc (cexp_test_data): Correct expected return
25244 value for NaN + i0. Add another test.
25245
75b181d6
DM
252462013-08-22 David S. Miller <davem@davemloft.net>
25247
25248 * po/ca.po: Update Catalan translation from translation project.
936241e4 25249 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25250
acd06bb1
JM
252512013-08-21 Joseph Myers <joseph@codesourcery.com>
25252
25253 [BZ #15797]
25254 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25255 is infinite, not alongside NaN test.
25256 * math/s_fdimf.c (__fdimf): Likewise.
25257 * math/s_fdiml.c (__fdiml): Likewise.
25258 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25259 errno is unchanged.
25260
c0c3f78a
OB
252612013-08-21 Ondřej Bílka <neleai@seznam.cz>
25262
25263 * argp/argp-help.c: Fix typos.
25264 * crypt/speeds.c: Likewise.
25265 * csu/check_fds.c: Likewise.
25266 * elf/dl-load.c: Likewise.
25267 * elf/dl-open.c: Likewise.
25268 * elf/reldep3.c: Likewise.
25269 * elf/reldep.c: Likewise.
25270 * elf/sprof.c: Likewise.
25271 * iconv/iconv_charmap.c: Likewise.
25272 * iconv/skeleton.c: Likewise.
25273 * iconv/strtab.c: Likewise.
25274 * io/lockf64.c: Likewise.
25275 * libio/libioP.h: Likewise.
25276 * resolv/gai_notify.c: Likewise.
25277 * resolv/ns_name.c: Likewise.
25278 * resolv/ns_samedomain.c: Likewise.
25279 * resolv/res_send.c: Likewise.
25280 * stdlib/random.c: Likewise.
25281 * sunrpc/rpc/xdr.h: Likewise.
25282 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25284 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25285 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25286 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25287 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25290 * sysdeps/mach/hurd/check_fds.c: Likewise.
25291 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25292 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25293 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25294 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25295 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25296 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25297 * sysdeps/pthread/aio_notify.c: Likewise.
25298 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25299 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25300 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25302 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25303
46ed1038
LD
253042013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25305
25306 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25307 version if bit_Slow_SSE4_2 is set.
25308 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25309 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25310
d400dcac
AZ
253112013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25312
25313 [BZ #15867]
25314 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25315 trampoline stack frame information.
25316 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25317 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25318 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25319 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25320 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25321 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25322 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25323 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25324 sa_flags value.
25325 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25326 interrupting a syscall and set with option SA_SIGINFO.
25327
42c8fdd8
JM
253282013-08-20 Joseph Myers <joseph@codesourcery.com>
25329
c980f2f4
JM
25330 [BZ #15531]
25331 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25332 argument is infinite.
25333 * math/s_cprojf.c (__cprojf): Likewise.
25334 * math/s_cprojl.c (__cprojl): Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25336 * math/libm-test.inc (cproj_test_data): Add more tests.
25337
0716c4fc
JM
25338 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25339
42c8fdd8
JM
25340 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25341 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25342 size. Use __ffs to determine corresponding shift.
25343
b31469d0
JM
253442013-08-20 Joseph Myers <joseph@codesourcery.com>
25345 Roland McGrath <roland@hack.frob.com>
25346
25347 * Makefile (INSTALL): Remove trailing blank lines from output of
25348 makeinfo.
25349
4e39af6e
AK
253502013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25351
25352 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25353 Align 32 bit compat elf_greg to 8 bytes.
25354
f315524e
AA
253552013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25356
25357 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25358
1326ba1a
SP
253592013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25360
25361 * string/strcoll_l.c (coll_seq): New structure.
25362 (get_next_seq_cached): New function.
25363 (get_next_seq): New function.
25364 (do_compare): New function.
25365 (STRCOLL): Use GNU style definition. Simplify implementation
25366 by using get_next_seq, get_next_seq_cached and do_compare.
25367
91ce4085
FW
253682013-08-16 Florian Weimer <fweimer@redhat.com>
25369
25370 [BZ #14699]
25371 CVE-2013-4237
25372 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25373 member.
25374 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25375 member.
25376 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25377 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25378 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25379 conditional.
25380 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25381 GETDENTS_64BIT_ALIGNED.
25382 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25383 * manual/filesys.texi (Reading/Closing Directory): Document
25384 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25385 strongly.
25386 * manual/conf.texi (Limits for Files): Add portability note to
25387 NAME_MAX, PATH_MAX.
25388 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25389
ca0a6bc4
AS
253902013-08-13 Andreas Schwab <schwab@suse.de>
25391
25392 [BZ #15749]
25393 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25394 of fabs.
25395 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25396 LDBL_MAX_EXP >= 16384]: Add tests for it.
25397
6c1fd795
DM
253982013-08-12 David S. Miller <davem@davemloft.net>
25399
25400 * version.h (RELEASE): Set to "development".
25401 (VERSION): Set to "2.18.90".
25402 * NEWS: Add 2.19 section.
25403
31ad488d
DM
254042013-08-03 David S. Miller <davem@davemloft.net>
25405
25406 * po/ko.po: Update Korean translation from translation project.
25407
db24e684
DM
254082013-08-01 David S. Miller <davem@davemloft.net>
25409
25410 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25411 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25412 Bilka.
25413
f723285b
DM
254142013-07-30 David S. Miller <davem@davemloft.net>
25415
25416 * po/fr.po: Update French translation from translation project.
25417
3cbc52db
DM
254182013-07-28 David S. Miller <davem@davemloft.net>
25419
30bbc0cc
DM
25420 * po/cs.po: Update Czech translation from translation project.
25421
3cbc52db
DM
25422 * po/sv.po: Update Swedish translation from translation project.
25423
d492e6d0
DM
254242013-07-27 David S. Miller <davem@davemloft.net>
25425
f1a7f492
DM
25426 * po/eo.po: Update Esperanto translation from translation project.
25427
90e62a4a
DM
25428 * po/vi.po: Update Vietnamese translation from translation project.
25429
d492e6d0
DM
25430 * po/de.po: Update German translation from translation project.
25431
d4baa62d
DM
254322013-07-26 David S. Miller <davem@davemloft.net>
25433
641aa7b4
DM
25434 * po/bg.po: Update Bulgarian translation from translation project.
25435
d4baa62d
DM
25436 * po/nl.po: Update Dutch translation from translation project.
25437 * po/pl.po: Update Polish translation from translation project.
25438 * po/ru.po: Update Russian translation from translation project.
25439
61a9dcb9
DM
254402013-07-24 David S. Miller <davem@davemloft.net>
25441
25442 * po/libc.pot: Update.
25443
7b1f8b58
AZ
254442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25445
25446 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25447 variable page size.
25448 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25449 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25450 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25451
a8fc7a03
AK
254522013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25453
25454 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25455
e4608715
CD
254562013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25457 Andreas Schwab <schwab@suse.de>
25458 Roland McGrath <roland@hack.frob.com>
25459 Joseph Myers <joseph@codesourcery.com>
25460 Carlos O'Donell <carlos@redhat.com>
25461
25462 [BZ #15755]
25463 * config.h.in: Define HAVE_PT_CHOWN.
25464 * config.make.in (build-pt-chown): New variable.
25465 * configure.in (--enable-pt_chown): New configure option.
25466 * configure: Regenerate.
25467 * login/Makefile: Include Makeconfig. Build pt_chown only if
25468 build-pt-chown is enabled.
25469 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25470 pt_chown to fix pty ownership.
25471 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25472 CLOSE_ALL_FDS.
25473 * manual/install.texi (Configuring and compiling): Mention
25474 --enable-pt_chown. Add @findex for grantpt.
25475 * INSTALL: Regenerate.
25476
da2d62df
DM
254772013-07-20 David S. Miller <davem@davemloft.net>
25478
25479 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25480 difference between 32-bit and 64-bit.
25481
d7e06450
CD
254822013-07-15 Carlos O'Donell <carlos@redhat.com>
25483
25484 [BZ #15711]
25485 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25486 Avoid system header dependency with -ffreestanding.
25487 ($(objpfx)bits/syscall%d): Likewise.
25488
f959cfd7
DM
254892013-07-13 David S. Miller <davem@davemloft.net>
25490
25491 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25492 underflows from atanl/atan2l due to bug 15319.
25493 (casinh_test_data): Likewise.
25494
c61f8513
DM
254952013-07-07 David S. Miller <davem@davemloft.net>
25496
25497 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25498
72c90ed0
JA
254992013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25500
25501 * sysdeps/i386/fpu/libm-test-ulps: Update.
25502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25503
52dfbe13
SP
255042013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25505
25506 * configure.in (--enable-lock-elision): Fix message text.
25507 * INSTALL: Regenerate.
25508 * configure: Regenerate.
25509
3f169543
AZ
255102013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25511
25512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25513
521c6785
AJ
255142013-07-03 Andreas Jaeger <aj@suse.de>
25515
25516 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25517 define.
25518 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25519 (ptrace_peeksiginfo_args): Add.
25520 (__ptrace_peeksiginfo_flags): Add.
25521 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25524
d2cc15cb
AM
255252013-07-03 Allan McRae <allan@archlinux.org>
25526
25527 * sysdeps/i386/fpu/libm-test-ulps: Update.
25528
3aaeeca7
DM
255292013-07-02 David S. Miller <davem@davemloft.net>
25530
25531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25532
5314ed1a
MT
255332013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25534
25535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25536
67338156
JM
255372013-07-02 Joseph Myers <joseph@codesourcery.com>
25538
25539 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25541
1717da59
AK
255422013-07-02 Andi Kleen <ak@linux.intel.com>
25543
25544 * config.h.in (ENABLE_LOCK_ELISION): Add.
25545 * configure.in (--enable-lock-elision): Add option.
25546 * manual/install.texi: Document --enable lock elision.
25547 * configure: Regenerate
25548 * INSTALL: Regenerate.
25549
1c81621c
L
255502013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25551
25552 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25553 SSE4.2 strcasecmp for libc.a.
25554 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25555
77f01ab5
JM
255562013-07-02 Joseph Myers <joseph@codesourcery.com>
25557
25558 [BZ #13304]
25559 * soft-fp/op-common.h (_FP_FMA): New macro.
25560 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25561 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25562 (_FP_MUL_MEAT_1_imm): ... here.
25563 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25564 (_FP_MUL_MEAT_1_wide): ... here.
25565 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25566 (_FP_MUL_MEAT_1_hard): ... here.
25567 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25568 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25569 (_FP_MUL_MEAT_2_wide): ... here.
25570 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25571 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25572 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25573 (_FP_MUL_MEAT_2_gmp): ... here.
25574 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25575 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25576 (_FP_MUL_MEAT_4_wide): ... here.
25577 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25578 (_FP_MUL_MEAT_4_gmp): ... here.
25579 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25580 (_FP_WFRACBITS_DW_S): Likewise.
25581 (_FP_WFRACXBITS_DW_S): Likewise.
25582 (_FP_HIGHBIT_DW_S): Likewise.
25583 (FP_FMA_S): Likewise.
25584 (_FP_FRAC_HIGH_DW_S): Likewise.
25585 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25586 (_FP_WFRACBITS_DW_D): Likewise.
25587 (_FP_WFRACXBITS_DW_D): Likewise.
25588 (_FP_HIGHBIT_DW_D): Likewise.
25589 (FP_FMA_D): Likewise.
25590 (_FP_FRAC_HIGH_DW_D): Likewise.
25591 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25592 (_FP_WFRACBITS_DW_E): Likewise.
25593 (_FP_WFRACXBITS_DW_E): Likewise.
25594 (_FP_HIGHBIT_DW_E): Likewise.
25595 (FP_FMA_E): Likewise.
25596 (_FP_FRAC_HIGH_DW_E): Likewise.
25597 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25598 (_FP_WFRACBITS_DW_Q): Likewise.
25599 (_FP_WFRACXBITS_DW_Q): Likewise.
25600 (_FP_HIGHBIT_DW_Q): Likewise.
25601 (FP_FMA_Q): Likewise.
25602 (_FP_FRAC_HIGH_DW_Q): Likewise.
25603 * soft-fp/fmasf4.c: New file.
25604 * soft-fp/fmadf4.c: Likewise.
25605 * soft-fp/fmatf4.c: Likewise.
25606
6308fd9a
LD
256072013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25608
25609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25610 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25611 Silvermont.
25612 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25613 macro.
25614 (index_Slow_SSE4_2): Likewise.
25615 (index_Prefer_PMINUB_for_stringop): Likewise.
25616 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25617 bit_Slow_SSE4_2 is set.
25618 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25619 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25620
89cd9569
RA
256212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25622
25623 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25624 rtld_global._dl_hwcap2.
25625 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25626 POWER8.
25627 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25628 POWER8 feature descriptions defined in _dl_hwcap2.
25629 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25630 string handling for POWER8 feature bits.
25631 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25632 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25633 _dl_powerpc_cap_flags.
25634 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25635 * sysdeps/powerpc/rtld-global-offsets.sym
25636 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25637 _dl_hwcap2 in the rtld_global_ro structure.
25638
1ae8bfe0
RA
256392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25640
25641 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25642 hardware capabilities in support of AT_HWCAP2.
25643 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25644 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25645 GLRO(dl_hwcap2).
25646 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25647 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25648 explicitly the unknown a_type display mechanism is used.
25649 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25650 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25651 struct member.
25652 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25653 to macro prototype for AT_HWCAP2 support.
25654 * sysdeps/i386/dl-procinfo.h: Likewise.
25655 * sysdeps/s390/dl-procinfo.h: Likewise.
25656 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25657 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25658 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25659 return -1 for unknown a_type display fallback.
25660 * sysdeps/sparc/dl-procinfo.h: Likewise.
25661 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25662 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25663
8fbec010
JM
256642013-06-28 Joseph Myers <joseph@codesourcery.com>
25665
25666 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25667 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25668
0432680e
PY
256692013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25670
25671 [BZ #12492]
25672 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25673 mprotect making __stack_prot writable.
25674
ce61a2ad
NF
256752013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25676 Joseph Myers <joseph@codesourcery.com>
25677
25678 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25679 as being properly aligned.
25680
f91f1c0f
MR
256812013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25682
3d0f5d0c
MR
25683 * dlfcn/modstatic5.c: New file.
25684 * dlfcn/tststatic5.c: New file.
25685 * dlfcn/Makefile (tests): Add tststatic5.
25686 (tests-static): Likewise.
25687 (modules-names): Add modstatic5.
25688 (tststatic5-ENV): New variable.
25689 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25690
f91f1c0f
MR
25691 [BZ #15022]
25692 * elf/dl-support.c (_dl_main_map): New variable.
25693 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25694 (_dl_nns, _dl_load_adds): Set to 1.
25695 (_dl_initial_searchlist): Refer to _dl_main_map.
25696 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25697 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25698 call to _dl_get_origin.
25699 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25700 around call_map.
25701 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25702 * dlfcn/modstatic3.c: New file.
25703 * dlfcn/tststatic3.c: New file.
25704 * dlfcn/tststatic4.c: New file.
25705 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25706 (tests-static): Likewise.
25707 (modules-names): Add modstatic3.
25708 (tststatic3-ENV, tststatic4-ENV): New variables.
25709 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25710 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25711
cbe7d24b
JM
257122013-06-26 Joseph Myers <joseph@codesourcery.com>
25713
25714 * configure.in (CC): Require GCC version 4.4 or later.
25715 * configure: Regenerated.
25716 * manual/install.texi (Tools for Compilation): Update GCC version
25717 requirement.
25718 * INSTALL: Regenerated.
25719
11b8a0e1
LD
257202013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25721
25722 [BZ #15674]
bb5bb87c
L
25723 * string/test-memcmp.c (check2): New.
25724 (main): Call check2.
25725
11b8a0e1
LD
25726 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25727
b0037103
MR
257282013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25729
25730 [BZ #15022]
25731 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25732 over to...
25733 (dl_open_worker) [!SHARED]: ... here.
25734
c18c701d
RA
257352013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25736
25737 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25738
1d17fa5f
RH
257392013-06-25 Richard Henderson <rth@redhat.com>
25740
25741 * locale/programs/locarchive.c: Include <libc-internal.h>
25742
8fcb833a
JM
257432013-06-25 Joseph Myers <joseph@codesourcery.com>
25744
25745 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25746 trailing whitespace removed.
25747
17db6e8d
MF
257482013-06-24 Mike Frysinger <vapier@gentoo.org>
25749
25750 [BZ #10283]
17db6e8d
MF
25751 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25752 * locale/programs/locarchive.c: Include libc-mmap.h.
25753 (prepare_address_space): Take two new outputs (the mmap base and len).
25754 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25755 values.
25756 (create_archive): Declare new mmap base and len values for
25757 prepare_address_space, and store the result in ah.
25758 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25759 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25760 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25761 Declare new mmap base and len values for
25762 prepare_address_space, and store the result in new_ah.
25763 (open_archive): Declare new mmap base and len values for
25764 prepare_address_space, and store the result in ah.
25765 (close_archive): If ah->mmap_base is not NULL, use that and
25766 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25767 * sysdeps/generic/libc-mmap.h: New file.
25768
d605071e
MF
257692013-06-24 Mike Frysinger <vapier@gentoo.org>
25770
25771 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25772 (ALIGN_UP): Likewise.
25773 (PTR_ALIGN_DOWN): Likewise.
25774 (PTR_ALIGN_UP): Likewise.
25775
2f063a6e
RA
257762013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25777
25778 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25779 entry mapped to PPC_PLATFORM_POWER8.
25780 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25781 POWER8.
25782 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25783 (_dl_string_platform): Add case for exporting platform position for
25784 POWER8.
25785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25786 search path to sysdeps/powerpc/powerpc32/power8 directory.
25787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25788 search path to sysdeps/powerpc/powerpc64/power8 directory.
25789 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25790 power7 directories.
25791 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25792 power7 directories.
25793
a31ee4b3
SP
257942013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25795
a74ca98f
SP
25796 * INSTALL: Regenerate.
25797
a31ee4b3
SP
25798 * nscd/connections.c (nscd_init): Fix comment.
25799
695c378f
JM
258002013-06-22 Joseph Myers <joseph@codesourcery.com>
25801
d8412221
JM
25802 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25803
695c378f
JM
25804 [BZ #15667]
25805 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25806 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25807
d1d54715
MR
258082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25809
25810 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25811 DL_DST_REQ_STATIC.
25812 (DL_DST_REQ_STATIC): Remove macro.
25813
8fdda7af
JM
258142013-06-21 Joseph Myers <joseph@codesourcery.com>
25815
25816 [BZ #7006]
25817 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25818 with a shift of 0 bits.
25819
f3bc5e5a
MR
258202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25821
25822 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25823 $(tststatic-ENV).
25824
be09e8c9
KK
258252013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25826
25827 [BZ #15655]
25828 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25829
85c2e611
AZ
258302013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25831
25832 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25833 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25834 accepts -fno-tree-loop-distribute-patterns.
25835 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25836 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25837 recursive call.
25838 * string/memset.c (memset): Likewise.
25839 * string/test-memmove.c (simple_memmove): Disable loop transformation
25840 to library calls.
25841 * string/test-memset.c (simple_memset): Likewise.
25842 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25843 * benchtests/bench-memset.c (simple_memset): Likewise.
25844 * configure: Regenerated.
25845
c91e0825
JM
258462013-06-20 Joseph Myers <joseph@codesourcery.com>
25847
b8c792af
JM
25848 * math/test-misc.c (main): Ignore fesetround failure when failures
25849 of subsequent rounding tests would be ignored.
25850
c91e0825
JM
25851 [BZ #15654]
25852 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25853 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25854 * math/fegetenv.c (__fegetenv): Return 0.
25855 * math/fegetexcept.c (fegetexcept): Return 0.
25856 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25857 FE_TONEAREST.
25858 * math/feholdexcpt.c (feholdexcept): Return 0.
25859 * math/fesetenv.c (__fesetenv): Return 0.
25860 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25861 argument FE_TONEAREST.
25862 * math/feupdateenv.c (__feupdateenv): Return 0.
25863 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25864
bfcacbde
RM
258652013-06-18 Roland McGrath <roland@hack.frob.com>
25866
25867 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25868 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25869 ($(objpfx)rtld-%.os rules): Use them.
25870
e55a9b25
AZ
258712013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25872
25873 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25874 fields.
25875
346d65b3
RM
258762013-06-17 Roland McGrath <roland@hack.frob.com>
25877
12086fb4
RM
25878 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25879 length of target pattern, then descending length of dependency pattern.
25880 * configure.in (AWK): Require gawk 3.1.2 or newer.
25881 * manual/install.texi (Tools for Compilation): Say that we do.
25882 * configure: Regenerated.
25883
346d65b3
RM
25884 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25885 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25886 * scripts/sysd-rules.awk: ... this new script.
25887 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25888 than a glob-style pattern.
25889
1a846317
JM
258902013-06-17 Joseph Myers <joseph@codesourcery.com>
25891
25892 * math/test-misc.c (main): Do not treat incorrectly rounded
25893 conversions as failure unless ROUNDING_TESTS passes.
25894
8fc75e6f
JM
258952013-06-15 Joseph Myers <joseph@codesourcery.com>
25896
3711a167
JM
25897 [BZ #15631]
25898 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25899 restore exception state around main square root computation, then
25900 check for inexactness explicitly.
25901
8fc75e6f
JM
25902 * math/libm-test.inc (fma_test_data): Add another test.
25903
61dd6208
SP
259042013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25905
adf23d2c
SP
25906 * manual/threads.texi (Non-POSIX Extensions): New document
25907 node. Document pthread_getattr_default_np and
25908 pthread_setattr_default_np.
25909
61dd6208
SP
25910 * Versions.def (libpthread): Add GLIBC_2.18.
25911 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25913 Likewise.
25914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25915 Likewise.
25916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25917 Likewise.
25918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25919 Likewise.
25920 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25921 Likewise.
25922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25923 Likewise.
25924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25925 Likewise.
25926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25927 Likewise.
25928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25929 Likewise.
25930
d086fc7b
LD
259312013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25932
25933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25934 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25935
747ef469
SP
259362013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25937 H.J. Lu <hjl.tools@gmail.com>
25938
25939 [BZ #15627]
25940 * sysdeps/x86_64/rtld-memset.c: Remove file.
25941 * sysdeps/x86_64/rtld-memset.S: New file.
25942
1b2feed2
JM
259432013-06-14 Joseph Myers <joseph@codesourcery.com>
25944
25945 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25946 (test_in_one_mode): Take arguments for whether the rounding mode
25947 is supported for each floating-point type.
25948 (do_test): Pass new arguments to test_in_one_mode using
25949 ROUNDING_TESTS.
25950
a58ad3f8
RM
259512013-06-13 Roland McGrath <roland@hack.frob.com>
25952
25953 * posix/tst-waitid.c (do_test): Distinguish different instances of
25954 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25955 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25956 before entering the kernel for waitpid.
25957
c204ab28
SP
259582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25959
25960 * NEWS: Fix note on clock function precision. Text by Roland
25961 McGrath.
25962
f4a29fba
RM
259632013-06-13 Roland McGrath <roland@hack.frob.com>
25964
25965 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25966 it into place only when and if the sanity check passes.
25967
1f24b9ad
JM
259682013-06-13 Joseph Myers <joseph@codesourcery.com>
25969
25970 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25971 output for whether conversion result is exact. Take argument
25972 indicating whether type is IBM long double.
25973 (round_for_all): Change need_exact field to ibm_ld.
25974 * stdlib/tst-strtod-round.c (struct exactness): New type.
25975 (struct test): Change bool ld_ok field to struct exactness exact.
25976 (TEST): Update all definitions for change to field.
25977 (tests): Regenerate array contents.
25978 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25979 field value. Check for IBM long double here.
25980 (do_test): Update calls to test_in_one_mode.
25981
58206c68
SP
259822013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25983
25984 [BZ #12515]
25985 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25986 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25987
2d6f4c5b 259882013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25989
25990 [BZ #15605]
25991 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25992 generated by the compiler on loop optimizations.
25993 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25994 general definitions.
25995
94f2c076
JM
259962013-06-12 Joseph Myers <joseph@codesourcery.com>
25997
25998 * math/bug-nextafter.c: Include <math-tests.h>.
25999 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26000 the relevant type.
26001 * math/bug-nexttoward.c: Include <math-tests.h>.
26002 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26003 the relevant type.
26004 * math/test-misc.c: Include <math-tests.h>.
26005 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26006 the relevant type.
26007
e0e50a0a
AJ
260082013-06-12 Andreas Jaeger <aj@suse.de>
26009
26010 * po/ia.po: Update Interlingua translation from translation
26011 project.
26012
25061094
SP
260132013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26014
26015 * include/fenv.h: Include stdbool.h.
26016 (struct rm_ctx): New structure.
26017 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26018 Define macro.
26019 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26020 (SET_RESTORE_ROUNDF): Likewise.
26021 (SET_RESTORE_ROUNDL): Likewise.
26022 (SET_RESTORE_ROUND_NOEX): Likewise.
26023 (SET_RESTORE_ROUND_NOEXF): Likewise.
26024 (SET_RESTORE_ROUND_NOEXL): Likewise.
26025 (SET_RESTORE_ROUND_53BIT): Likewise.
26026 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26027 (libc_feresetround_noexf_ctx): Likewise.
26028 (libc_feresetround_noexl_ctx): Likewise.
26029 (libc_feholdsetround_53bit_ctx): Likewise.
26030 (libc_feresetround_53bit_ctx): Likewise.
26031 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26032 (libc_feholdexcept_setround_sse_ctx): New function.
26033 (libc_fesetenv_sse_ctx): Likewise.
26034 (libc_feupdateenv_sse_ctx): Likewise.
26035 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26036 (libc_feholdexcept_setround_387_ctx): Likewise.
26037 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26038 (libc_feholdsetround_387_prec_ctx): Likewise.
26039 (libc_feholdsetround_387_ctx): Likewise.
26040 (libc_feholdsetround_387_53bit_ctx): Likewise.
26041 (libc_feholdsetround_sse_ctx): Likewise.
26042 (libc_feresetround_sse_ctx): Likewise.
26043 (libc_feresetround_387_ctx): Likewise.
26044 (libc_feupdateenv_387_ctx): Likewise.
26045 (libc_feholdexcept_setroundf_ctx): Define macro.
26046 (libc_fesetenvf_ctx): Likewise.
26047 (libc_feupdateenvf_ctx): Likewise.
26048 (libc_feholdsetroundf_ctx): Likewise.
26049 (libc_feresetroundf_ctx): Likewise.
26050 (libc_feholdexcept_setround_ctx): Likewise.
26051 (libc_fesetenv_ctx): Likewise.
26052 (libc_feupdateenv_ctx): Likewise.
26053 (libc_feholdsetround_ctx): Likewise.
26054 (libc_feresetround_ctx): Likewise.
26055 (libc_feholdexcept_setroundl_ctx): Likewise.
26056 (libc_feupdateenvl_ctx): Likewise.
26057 (libc_feholdsetroundl_ctx): Likewise.
26058 (libc_feresetroundl_ctx): Likewise.
26059 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26060 (libc_feresetround_53bit_ctx): Likewise.
26061
59b30555
SP
260622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26063
26064 * locale/iso-639.def: Convert to UTF-8.
26065
f1d73d30
JM
260662013-06-11 Joseph Myers <joseph@codesourcery.com>
26067
26068 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26069 (EXCEPTION_TESTS_double): Likewise.
26070 (EXCEPTION_TESTS_long_double): Likewise.
26071 (EXCEPTION_TESTS): Likewise.
26072 * math/libm-test.inc (test_exceptions): Only test exceptions if
26073 EXCEPTION_TESTS (FLOAT).
26074
94aca5e7
SP
260752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26076
26077 * benchtests/Makefile (string-bench): Add strcpy_chk and
26078 stpcpy_chk.
26079 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26080 * benchtests/bench-stpcpy_chk.c: New file.
26081 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26082 * benchtests/bench-strcpy_chk.c: New file.
26083 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26084 code.
26085 (do_test): Likewise.
26086
fac0c5f2
RA
260872013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26088
26089 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26090 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26091 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26092 with tabs where appropriate.
26093 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26094 dl-procinfo.h.
26095 [PPC_PLATFORM_PPC440]: Likewise.
26096 [PPC_PLATFORM_PPC464]: Likewise.
26097 [PPC_PLATFORM_PPC476]: Likewise.
26098 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26099 ppc464, and ppc476 platform strings merging from ports/
26100 dl-procinfo.h.
26101
f22bc486
AS
261022013-06-11 Andreas Schwab <schwab@suse.de>
26103
26104 [BZ #14991]
26105 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26106 (from_ucs4_idx): Regenerate.
26107 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26108 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26109 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26110 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26111 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26112 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26113 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26114 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26115 from FROM_LOOP and TO_LOOP specific macros.
26116 (BODY): Handle combining characters.
26117 * iconvdata/BIG5HKSCS.irreversible: Update.
26118 * iconvdata/BIG5HKSCS.precomposed: New file.
26119 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26120 characters.
26121 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26122
c1f75dc3
SP
261232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26124
4eacded2
SP
26125 * include/sys/time.h: Fix indentation and add copyright header.
26126
fec799f8
SP
26127 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26128 (do_test): Likewise.
26129 * string/test-memchr.c (do_one_test): Likewise.
26130 (do_test): Likewise.
26131 * string/test-memcmp.c (do_one_test): Likewise.
26132 (do_test): Likewise.
26133 * string/test-memcpy.c (do_one_test): Likewise.
26134 (do_test): Likewise.
26135 * string/test-memmem.c (do_one_test): Likewise.
26136 (do_test): Likewise.
26137 (do_random_tests): Likewise.
26138 * string/test-memmove.c (do_one_test): Likewise.
26139 (do_test): Likewise.
26140 * string/test-memset.c (do_one_test): Likewise.
26141 (do_test): Likewise.
26142 * string/test-rawmemchr.c (do_one_test): Likewise.
26143 (do_test): Likewise.
26144 * string/test-strcasecmp.c (do_one_test): Likewise.
26145 (do_test): Likewise.
26146 * string/test-strcasestr.c (do_one_test): Likewise.
26147 (do_test): Likewise.
26148 * string/test-strcat.c (do_one_test): Likewise.
26149 (do_test): Likewise.
26150 * string/test-strchr.c (do_one_test): Likewise.
26151 (do_test): Likewise.
26152 * string/test-strcmp.c (do_one_test): Likewise.
26153 (do_test): Likewise.
26154 * string/test-strcpy.c (do_one_test): Likewise.
26155 (do_test): Likewise.
26156 * string/test-string.h: Likewise.
26157 (test_init): Likewise.
26158 * string/test-strlen.c (do_one_test): Likewise.
26159 (do_test): Likewise.
26160 * string/test-strncasecmp.c (do_one_test): Likewise.
26161 (do_test): Likewise.
26162 * string/test-strncat.c (do_one_test): Likewise.
26163 (do_test): Likewise.
26164 * string/test-strncmp.c (do_one_test): Likewise.
26165 (do_test_limit): Likewise.
26166 (do_test): Likewise.
26167 * string/test-strncpy.c (do_one_test): Likewise.
26168 (do_test): Likewise.
26169 * string/test-strnlen.c (do_one_test): Likewise.
26170 (do_test): Likewise.
26171 * string/test-strpbrk.c (do_one_test): Likewise.
26172 (do_test): Likewise.
26173 * string/test-strrchr.c (do_one_test): Likewise.
26174 (do_test): Likewise.
26175 * string/test-strspn.c (do_one_test): Likewise.
26176 (do_test): Likewise.
26177 * string/test-strstr.c (do_one_test): Likewise.
26178 (do_test): Likewise.
26179
97020474
SP
26180 * benchtests/Makefile (string-bench): Add string benchmarks.
26181 * benchtests/bench-bcopy-ifunc.c: New file.
26182 * benchtests/bench-bcopy.c: New file.
26183 * benchtests/bench-bzero-ifunc.c: New file.
26184 * benchtests/bench-bzero.c: New file.
26185 * benchtests/bench-memccpy-ifunc.c: New file.
26186 * benchtests/bench-memccpy.c: New file.
26187 * benchtests/bench-memchr-ifunc.c: New file.
26188 * benchtests/bench-memchr.c: New file.
26189 * benchtests/bench-memcmp-ifunc.c: New file.
26190 * benchtests/bench-memcmp.c: New file.
26191 * benchtests/bench-memmem-ifunc.c: New file.
26192 * benchtests/bench-memmem.c: New file.
26193 * benchtests/bench-memmove-ifunc.c: New file.
26194 * benchtests/bench-memmove.c: New file.
26195 * benchtests/bench-mempcpy-ifunc.c: New file.
26196 * benchtests/bench-mempcpy.c: New file.
26197 * benchtests/bench-memset-ifunc.c: New file.
26198 * benchtests/bench-memset.c: New file.
26199 * benchtests/bench-rawmemchr-ifunc.c: New file.
26200 * benchtests/bench-rawmemchr.c: New file.
26201 * benchtests/bench-stpcpy-ifunc.c: New file.
26202 * benchtests/bench-stpcpy.c: New file.
26203 * benchtests/bench-stpncpy-ifunc.c: New file.
26204 * benchtests/bench-stpncpy.c: New file.
26205 * benchtests/bench-strcasecmp-ifunc.c: New file.
26206 * benchtests/bench-strcasecmp.c: New file.
26207 * benchtests/bench-strcasestr-ifunc.c: New file.
26208 * benchtests/bench-strcasestr.c: New file.
26209 * benchtests/bench-strcat-ifunc.c: New file.
26210 * benchtests/bench-strcat.c: New file.
26211 * benchtests/bench-strchr-ifunc.c: New file.
26212 * benchtests/bench-strchr.c: New file.
26213 * benchtests/bench-strchrnul-ifunc.c: New file.
26214 * benchtests/bench-strchrnul.c: New file.
26215 * benchtests/bench-strcmp-ifunc.c: New file.
26216 * benchtests/bench-strcmp.c: New file.
26217 * benchtests/bench-strcpy-ifunc.c: New file.
26218 * benchtests/bench-strcpy.c: New file.
26219 * benchtests/bench-strcspn-ifunc.c: New file.
26220 * benchtests/bench-strcspn.c: New file.
26221 * benchtests/bench-strlen-ifunc.c: New file.
26222 * benchtests/bench-strlen.c: New file.
26223 * benchtests/bench-strncasecmp-ifunc.c: New file.
26224 * benchtests/bench-strncasecmp.c: New file.
26225 * benchtests/bench-strncat-ifunc.c: New file.
26226 * benchtests/bench-strncat.c: New file.
26227 * benchtests/bench-strncmp-ifunc.c: New file.
26228 * benchtests/bench-strncmp.c: New file.
26229 * benchtests/bench-strncpy-ifunc.c: New file.
26230 * benchtests/bench-strncpy.c: New file.
26231 * benchtests/bench-strnlen-ifunc.c: New file.
26232 * benchtests/bench-strnlen.c: New file.
26233 * benchtests/bench-strpbrk-ifunc.c: New file.
26234 * benchtests/bench-strpbrk.c: New file.
26235 * benchtests/bench-strrchr-ifunc.c: New file.
26236 * benchtests/bench-strrchr.c: New file.
26237 * benchtests/bench-strspn-ifunc.c: New file.
26238 * benchtests/bench-strspn.c: New file.
26239 * benchtests/bench-strstr-ifunc.c: New file.
26240 * benchtests/bench-strstr.c: New file.
26241
c1f75dc3
SP
26242 * benchtests/Makefile: Disable parallel execution of targets.
26243 (string-bench): Add memcpy.
26244 (benchset): New variable to store a list of benchmark sets.
26245 (bench-func): Renamed from bench.
26246 (bench-set): New target.
26247 (bench): Depend on bench-func and bench-set.
26248 * benchtests/README: Add section on benchmark sets.
26249 * benchtests/bench-memcpy-ifunc.c: New file.
26250 * benchtests/bench-memcpy.c: New file.
26251 * benchtests/bench-string.h: New file.
26252
50fd745b
AS
262532013-06-11 Andreas Schwab <schwab@suse.de>
26254
26255 [BZ #15577]
26256 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26257 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26258 values in the triple.
26259 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26260 terminator in the group key.
26261
3ee7e9fe
AJ
262622013-06-11 Andreas Jaeger <aj@suse.de>
26263
26264 * po/zh_TW.po: Update Chinese (traditional) translation from
26265 translation project.
26266
89fb6835
SP
262672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26268
26269 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26270 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26271 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26272 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26273 (clock_getcpuclockid): Likewise.
26274 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26275 Add weak_alias and libc_hidden_def.
26276 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26277 * rt/clock_gettime.c (clock_gettime): Rename to
26278 __clock_gettime. Add weak_alias and libc_hidden_def.
26279 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26280 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26281 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26282 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26283 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26284 Likewise.
26285 * rt/clock_settime.c (clock_settime): Rename to
26286 __clock_settime. Add weak_alias and libc_hidden_def.
26287 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26288
0efa6f8b
JM
262892013-06-10 Joseph Myers <joseph@codesourcery.com>
26290
b8c61b4b
JM
26291 * mach/err_boot.sub: Remove trailing whitespace.
26292 * mach/err_ipc.sub: Likewise.
26293 * mach/err_mach.sub: Likewise.
26294
0efa6f8b
JM
26295 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26296 (ROUNDING_TESTS_double): Likewise.
26297 (ROUNDING_TESTS_long_double): Likewise.
26298 (ROUNDING_TESTS): Likewise.
26299 * math/libm-test.inc: Include <math-tests.h>.
26300 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26301 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26302 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26303 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26304
50b818bf
SP
263052013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26306
26307 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26308 of assigning.
26309
60d2f8f3
JM
263102013-06-08 Joseph Myers <joseph@codesourcery.com>
26311
4902d2c3
JM
26312 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26313 otherwise empty TRANS lines.
26314 * sysdeps/gnu/errlist.c: Regenerated.
26315
60d2f8f3
JM
26316 * catgets/gencat.c (error_print): Use (void) in function
26317 definition.
26318 * crypt/crypt_util.c (__init_des): Likewise.
26319 * crypt/speeds.c (Stop): Likewise.
26320 (main): Likewise.
26321 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26322 * inet/ruserpass.c (token): Likewise.
26323 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26324 * intl/localealias.c (extend_alias_table): Likewise.
26325 * intl/plural-exp.c (init_germanic_plural): Likewise.
26326 * libio/fcloseall.c (__fcloseall): Likewise.
26327 * libio/genops.c (_IO_flush_all): Likewise.
26328 (_IO_flush_all_linebuffered): Likewise.
26329 (_IO_cleanup): Likewise.
26330 (_IO_iter_begin): Likewise.
26331 (_IO_iter_end): Likewise.
26332 (_IO_list_lock): Likewise.
26333 (_IO_list_unlock): Likewise.
26334 (_IO_list_resetlock): Likewise.
26335 * libio/getchar.c (getchar): Likewise.
26336 * libio/getchar_u.c (getchar_unlocked): Likewise.
26337 * libio/getwchar.c (getwchar): Likewise.
26338 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26339 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26340 * login/getpt.c (__getpt): Likewise.
26341 * login/tst-utmp.c (main): Likewise.
26342 * malloc/hooks.c (__malloc_check_init): Likewise.
26343 * malloc/malloc.c (__malloc_stats): Likewise.
26344 * malloc/mtrace.c (tr_break): Likewise.
26345 (mtrace): Likewise.
26346 (muntrace): Likewise.
26347 * misc/fstab.c (endfsent): Likewise.
26348 * misc/getclktck.c (__getclktck): Likewise.
26349 * misc/getdtsz.c (__getdtablesize): Likewise.
26350 * misc/gethostid.c (gethostid): Likewise.
26351 * misc/getpagesize.c (__getpagesize): Likewise.
26352 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26353 (__get_nprocs): Likewise.
26354 (__get_phys_pages): Likewise.
26355 (__get_avphys_pages): Likewise.
26356 * misc/getttyent.c (getttyent): Likewise.
26357 (setttyent): Likewise.
26358 (endttyent): Likewise.
26359 * misc/getusershell.c (getusershell): Likewise.
26360 (endusershell): Likewise.
26361 (setusershell): Likewise.
26362 (initshells): Likewise.
26363 * misc/hsearch.c (__hdestroy): Likewise.
26364 * misc/sync.c (sync): Likewise.
26365 * misc/syslog.c (closelog_internal): Likewise.
26366 (closelog): Likewise.
26367 * misc/ttyslot.c (ttyslot): Likewise.
26368 * misc/vhangup.c (vhangup): Likewise.
26369 * posix/fork.c (__fork): Likewise.
26370 * posix/getegid.c (__getegid): Likewise.
26371 * posix/geteuid.c (__geteuid): Likewise.
26372 * posix/getgid.c (__getgid): Likewise.
26373 * posix/getpid.c (__getpid): Likewise.
26374 * posix/getppid.c (__getppid): Likewise.
26375 * posix/getuid.c (__getuid): Likewise.
26376 * posix/pause.c (pause): Likewise.
26377 * posix/setpgrp.c (setpgrp): Likewise.
26378 * posix/setsid.c (__setsid): Likewise.
26379 * posix/test-vfork.c (noop): Likewise.
26380 * resolv/gethnamaddr.c (_endhtent): Likewise.
26381 (_gethtent): Likewise.
26382 (ht_endhostent): Likewise.
26383 (gethostent): Likewise.
26384 (dns_service): Likewise.
26385 * stdlib/drand48.c (drand48): Likewise.
26386 * stdlib/lrand48.c (lrand48): Likewise.
26387 * stdlib/mrand48.c (mrand48): Likewise.
26388 * stdlib/rand.c (rand): Likewise.
26389 * stdlib/random.c (__random): Likewise.
26390 * stdlib/setenv.c (clearenv): Likewise.
26391 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26392 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26393 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26394 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26395 (__get_nprocs): Likewise.
26396 (__get_phys_pages): Likewise.
26397 (__get_avphys_pages): Likewise.
26398 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26399 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26400 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26401 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26402 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26403 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26404 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26405 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26406 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26407 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26408 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26409 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26410 * sysdeps/posix/clock.c (clock): Likewise.
26411 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26412 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26413 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26414 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26415 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26417 (__get_nprocs_conf): Likewise.
26418 (__get_phys_pages): Likewise.
26419 (__get_avphys_pages): Likewise.
26420 * time/clock.c (clock): Likewise.
26421 * time/tzset.c (__tzname_max): Likewise.
26422
2e09a79a
JM
264232013-06-07 Joseph Myers <joseph@codesourcery.com>
26424
26425 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26426 (__bswap_32): Do not use "register".
26427 * crypt/crypt.c (_ufc_doit_r): Likewise.
26428 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26429 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26430 * gmon/gmon.c (__monstartup): Likewise.
26431 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26432 * hurd/hurdmalloc.c (more_memory): Likewise.
26433 (malloc): Likewise.
26434 (free): Likewise.
26435 (realloc): Likewise.
26436 (malloc_fork_prepare): Likewise.
26437 (malloc_fork_parent): Likewise.
26438 (malloc_fork_child): Likewise.
26439 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26440 (_svcauth_des): Likewise.
26441 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26442 * inet/inet_net.c (inet_network): Likewise.
26443 * inet/inet_netof.c (inet_netof): Likewise.
26444 * inet/rcmd.c (__validuser2_sa): Likewise.
26445 * io/fts.c (fts_open): Likewise.
26446 (fts_load): Likewise.
26447 (fts_close): Likewise.
26448 (fts_read): Likewise.
26449 (fts_children): Likewise.
26450 (fts_build): Likewise.
26451 (fts_stat): Likewise.
26452 (fts_sort): Likewise.
26453 (fts_alloc): Likewise.
26454 (fts_lfree): Likewise.
26455 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26456 (_IO_file_xsgetn): Likewise.
26457 (_IO_file_xsgetn_mmap): Likewise.
26458 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26459 (_IO_cookie_write): Likewise.
26460 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26461 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26462 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26463 * malloc/obstack.c (_obstack_begin): Likewise.
26464 (_obstack_begin_1): Likewise.
26465 (_obstack_newchunk): Likewise.
26466 (_obstack_allocated_p): Likewise.
26467 (obstack_free): Likewise.
26468 (_obstack_memory_used): Likewise.
26469 * misc/getttyent.c (getttynam): Likewise.
26470 (getttyent): Likewise.
26471 (skip): Likewise.
26472 (value): Likewise.
26473 * misc/getusershell.c (initshells): Likewise.
26474 * misc/syslog.c (__vsyslog_chk): Likewise.
26475 * misc/ttyslot.c (ttyslot): Likewise.
26476 * nis/nis_hash.c (__nis_hash): Likewise.
26477 * posix/fnmatch_loop.c (FCT): Likewise.
26478 * posix/getconf.c (print_all): Likewise.
26479 (main): Likewise.
26480 * posix/getopt.c (exchange): Likewise.
26481 * posix/glob.c (globfree): Likewise.
26482 (prefix_array): Likewise.
26483 (__glob_pattern_type): Likewise.
26484 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26485 (NS_GET32): Likewise.
26486 (NS_PUT16): Likewise.
26487 (NS_PUT32): Likewise.
26488 * resolv/gethnamaddr.c (getanswer): Likewise.
26489 (gethostbyname2): Likewise.
26490 (gethostbyaddr): Likewise.
26491 (_gethtent): Likewise.
26492 (_gethtbyname2): Likewise.
26493 (_gethtbyaddr): Likewise.
26494 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26495 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26496 * resolv/res_init.c (__res_vinit): Likewise.
26497 (net_mask): Likewise.
26498 * resolv/res_mkquery.c (outchar): Likewise.
26499 (PRINT): Likewise.
26500 * stdio-common/printf_fp.c (outchar): Likewise.
26501 (PRINT): Likewise.
26502 * stdio-common/printf_fphex.c (outchar): Likewise.
26503 (PRINT): Likewise.
26504 * stdio-common/printf_size.c (outchar): Likewise.
26505 (PRINT): Likewise.
26506 * stdio-common/test_rdwr.c (main): Likewise.
26507 * stdio-common/tfformat.c (matches): Likewise.
26508 * stdio-common/vfprintf.c (outchar): Likewise.
26509 (printf_unknown): Likewise.
26510 (buffered_vfprintf): Likewise.
26511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26512 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26513 (ReadFile): Likewise.
26514 * stdlib/qsort.c (SWAP): Likewise.
26515 (_quicksort): Likewise.
26516 * stdlib/setenv.c (__add_to_environ): Likewise.
26517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26518 * stdlib/strtol_l.c (__strtol_l): Likewise.
26519 * stdlib/tst-strtod.c (main): Likewise.
26520 * stdlib/tst-strtol.c (main): Likewise.
26521 * stdlib/tst-strtoll.c (main): Likewise.
26522 * string/bits/string2.h (__strcmp_cc): Likewise.
26523 (__strcmp_cg): Likewise.
26524 (__strcspn_c1): Likewise.
26525 (__strcspn_c2): Likewise.
26526 (__strcspn_c3): Likewise.
26527 (__strspn_c1): Likewise.
26528 (__strspn_c2): Likewise.
26529 (__strspn_c3): Likewise.
26530 (__strsep_1c): Likewise.
26531 (__strsep_2c): Likewise.
26532 (__strsep_3c): Likewise.
26533 * string/memccpy.c (__memccpy): Likewise.
26534 * string/stpcpy.c (__stpcpy): Likewise.
26535 * string/strcmp.c (strcmp): Likewise.
26536 * string/strrchr.c (strrchr): Likewise.
26537 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26538 Likewise.
26539 * sysdeps/mach/hurd/getcwd.c
26540 (_hurd_canonicalize_directory_name_internal): Likewise.
26541 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26542 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26543 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26544 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26545 Likewise, in both definitions.
26546 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26547 definitions.
26548 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26549 64] (__bswap_64): Likewise.
26550 * time/test_time.c (main): Likewise.
26551 * time/tzfile.c (__tzfile_read): Likewise.
26552 (__tzfile_compute): Likewise.
26553 * time/tzset.c (__tzset_parse_tz): Likewise.
26554 (tzset_internal): Likewise.
26555 (compute_change): Likewise.
26556 * wcsmbs/wcscat.c (__wcscat): Likewise.
26557 * wcsmbs/wcschr.c (wcschr): Likewise.
26558 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26559 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26560 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26561 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26562 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26563 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26564 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26565 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26566 * wcsmbs/wmemset.c (wmemset): Likewise.
26567
9e54314b
JM
265682013-06-06 Joseph Myers <joseph@codesourcery.com>
26569
26570 * scripts/config.guess: Update to version 2013-05-16.
26571 * scripts/config.sub: Update to version 2013-04-24.
26572 * scripts/install-sh: Update to version 2011-11-20.07.
26573 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26574 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26575
350635a5
OB
265762013-06-06 Ondřej Bílka <neleai@seznam.cz>
26577
26578 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26579 * elf/sln.c: Likewise.
26580 * hurd/hurd/ioctl.h: Likewise.
26581 * hurd/hurdmalloc.c: Likewise.
26582 * hurd/xattr.c: Likewise.
26583 * include/shlib-compat.h: Likewise.
26584 * inet/ruserpass.c: Likewise.
26585 * libio/iofgets_u.c: Likewise.
26586 * libio/iofgetws_u.c: Likewise.
26587 * locale/programs/ld-identification.c: Likewise.
26588 * locale/programs/ld-time.c: Likewise.
26589 * mach/msg-destroy.c: Likewise.
26590 * nss/nss_files/files-netgrp.c: Likewise.
26591 * resolv/res_data.c: Likewise.
26592 * soft-fp/op-1.h: Likewise.
26593 * soft-fp/op-2.h: Likewise.
26594 * soft-fp/op-4.h: Likewise.
26595 * soft-fp/op-common.h: Likewise.
26596 * stdio-common/printf_fphex.c: Likewise.
26597 * stdlib/strtod_l.c: Likewise.
26598 * sunrpc/rpc/clnt.h: Likewise.
26599 * sysdeps/generic/framestate.c: Likewise.
26600 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26601 * sysdeps/i386/bsd-setjmp.S: Likewise.
26602 * sysdeps/i386/__longjmp.S: Likewise.
26603 * sysdeps/i386/setjmp.S: Likewise.
26604 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26605 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26606 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26622 * sysdeps/ieee754/support.c: Likewise.
26623 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26624 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26625 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26626 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26627 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26628 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26629 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26630 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26631 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26632 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26633 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26634 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26635 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26636 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26637 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26638 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26639 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26641
44a988af
OB
266422013-06-05 Ondřej Bílka <neleai@seznam.cz>
26643
25506f09 26644 * posix/transbug.c: Remove executable mode.
44a988af 26645
9c84384c
JM
266462013-06-05 Joseph Myers <joseph@codesourcery.com>
26647
26648 * crypt/speeds.c: Remove trailing whitespace.
26649 * dlfcn/default.c: Likewise.
26650 * elf/ifuncdep2.c: Likewise.
26651 * elf/ifuncmain1.c: Likewise.
26652 * elf/ifuncmain1vis.c: Likewise.
26653 * elf/testobj.h: Likewise.
26654 * elf/tst-stackguard1.c: Likewise.
26655 * gmon/sys/gmon.h: Likewise.
26656 * hurd/hurdmsg.c: Likewise.
26657 * hurd/new-fd.c: Likewise.
26658 * hurd/ports-get.c: Likewise.
26659 * iconvdata/ibm1008_420.c: Likewise.
26660 * inet/tst-getni1.c: Likewise.
26661 * inet/tst-getni2.c: Likewise.
26662 * libio/ioungetc.c: Likewise.
26663 * libio/wfiledoalloc.c: Likewise.
26664 * manual/libm-err-tab.pl: Likewise.
26665 * math/w_dremf.c: Likewise.
26666 * misc/ftruncate.c: Likewise.
26667 * posix/bug-glob2.c: Likewise.
26668 * posix/tst-pcre.c: Likewise.
26669 * posix/wait4.c: Likewise.
26670 * resolv/README: Likewise.
26671 * resolv/res_debug.h: Likewise.
26672 * resolv/tst-inet_ntop.c: Likewise.
26673 * setjmp/bug269-setjmp.c: Likewise.
26674 * soft-fp/extended.h: Likewise.
26675 * soft-fp/op-1.h: Likewise.
26676 * soft-fp/op-2.h: Likewise.
26677 * soft-fp/op-4.h: Likewise.
26678 * soft-fp/op-8.h: Likewise.
26679 * soft-fp/testit.c: Likewise.
26680 * stdio-common/bug16.c: Likewise.
26681 * stdlib/random.c: Likewise.
26682 * sunrpc/rpcsvc/rquota.x: Likewise.
26683 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26684 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26685 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26686 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26687 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26688 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26689 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26690 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26691 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26692 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26693 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26694 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26695 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26699 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26701 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26710 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26711 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26712 * sysdeps/ieee754/s_lib_version.c: Likewise.
26713 * sysdeps/mach/hurd/check_fds.c: Likewise.
26714 * sysdeps/mach/hurd/getsockname.c: Likewise.
26715 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26716 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26717 * sysdeps/powerpc/bits/link.h: Likewise.
26718 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26719 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26720 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26721 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26722 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26723 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26724 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26725 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26726 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26727 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26728 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26729 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26730 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26731 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26732 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26733 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26734 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26735 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26736 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26737 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26738 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26739 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26741 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26742 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26743 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26744 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26745 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26746 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26747 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26748 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26749 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26752 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26753 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26754 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26755 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26756 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26757 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26758 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26759 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26760 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26761 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26762 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26763 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26764 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26765 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26766 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26767 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26770 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26771 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26772 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26773 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26774 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26775 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26776 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26777 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26778 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26779 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26780 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26781 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26782 * sysdeps/powerpc/sysdep.h: Likewise.
26783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26784 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26785 * sysdeps/sh/dl-trampoline.S: Likewise.
26786 * sysdeps/sh/memset.S: Likewise.
26787 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26788 * sysdeps/sh/strlen.S: Likewise.
26789 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26790 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26791 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26792 * sysdeps/sparc/sparc32/rem.S: Likewise.
26793 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26794 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26795 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26796 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26797 * sysdeps/sparc/sparc32/urem.S: Likewise.
26798 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26799 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26800 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26801 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26802 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26803 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26804 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26805 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26806 * sysdeps/unix/bsd/times.c: Likewise.
26807 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26808 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26812 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26813 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26814 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26815 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26816 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26817 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26818 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26819 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26820 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26821 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26822 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26823 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26824 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26825 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26826 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26827 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26828 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26829 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26830 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26831 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26832 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26833 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26834 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26835 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26836 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26837 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26838 * sysdeps/x86_64/strcspn.S: Likewise.
26839
869378a5
RA
268402013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26841
26842 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26843 generated file. Regenerate properly from gen-translit.pl.
26844 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26845 locale/C-translit.h.
26846
840e2943
AS
268472013-06-05 Andreas Schwab <schwab@suse.de>
26848
26849 [BZ #15100]
26850 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26851 week as 6 instead of -1.
26852 * time/tst-strptime.c (day_tests): Add test case.
26853
4c60cb0c
SP
268542013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26855
26856 * sysdeps/generic/math_private.h
26857 (libc_feholdexcept_setround_53bit): Replace with
26858 libc_feholdsetround_53bit.
26859 (libc_feupdateenv_53bit): Replace with
26860 libc_feresetround_53bit.
26861 (SET_RESTORE_ROUND_53BIT): Adjust.
26862
d180203e
SP
268632013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26864
96df079a
SP
26865 * string/test-strchrnul.c: Add copyright header.
26866
d180203e
SP
26867 * posix/tst-getaddrinfo4.c: Increase test timeout.
26868
8b0ccb2d
CD
268692013-06-03 Carlos O'Donell <carlos@redhat.com>
26870
26871 [BZ #15536]
26872 * math/libm-test.inc (MAX_EXP): Remove
26873 (MIN_EXP): Define.
26874 (ulp): Use MIN_EXP - MANT_DIG.
26875 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26876
3b3c4d40
CD
268772013-05-31 Carlos O'Donell <carlos@redhat.com>
26878
26879 * po/be.po: Revert last change.
26880 * po/zh_CN.po: Likewise.
26881 * po/header.pot: Likewise.
26882
fab7ce3f
JM
268832013-05-31 Joseph Myers <joseph@codesourcery.com>
26884
26885 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26886 link-libc-deps to empty as target-specific variable.
26887 * Makerules (link-libc-args): New variable.
26888 (libc-for-link): Likewise.
26889 (link-libc-deps): Likewise.
26890 (lib%.so): Depend on $(link-libc-deps). Link with
26891 $(link-libc-args).
26892 (build-module): Link with $(link-libc-args).
26893 (build-module-asneeded): Likewise.
26894 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26895 list of objects.
26896 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26897 target-specific variable.
26898 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26899 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26900 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26901 libc.
26902 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26903 libc and ld.so.
26904 ($(objpfx)libpcprofile.so): Likewise.
26905 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26906 libc_nonshared.a.
26907 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26908 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26909 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26910 $(link-libc-deps).
26911 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26912 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26913 * login/Makefile ($(objpfx)libutil.so): Likewise.
26914 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26915 * math/Makefile ($(objpfx)libm.so): Likewise.
26916 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26917 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26918 variable instead of depending directly on libc.
26919 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26920 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26921 $(link-libc-deps).
26922 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26923 libc.
26924 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26925 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26926 ($(objpfx)libanl.so): Likewise.
26927 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26928 ld.so.
26929 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26930 $(link-libc-deps).
26931 * sysdeps/i386/fpu/Makefile: Remove file.
26932 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26933 ($(objpfx)libm.so): Remove dependency on ld.so.
26934
eca5920c
PF
269352013-05-30 Patsy Franklin <pfrankli@redhat.com>
26936
26937 [BZ # 15553]
26938 * nis/yp_xdr.c (XDRMAXNAME): Define.
26939 (XDRMAXRECORD): Define.
26940 (xdr_domainname): Use XDRMAXNAME.
26941 (xdr_mapname): Likewise.
26942 (xdr_peername): Likewise.
26943 (xdr_keydat): Use XDRMAXRECORD.
26944 (xdr_valdat): Likewise.
26945
269462013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26947
26948 [BZ #14256]
26949 * manual/errno.texi (ESTALE): Update to account for more than
26950 just NFS file systems.
26951 * sysdeps/gnu/errlist.c: Regenerated.
26952
b9375348
SP
269532013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26954
26955 [BZ #15465]
26956 * elf/Makefile (tests): Add tst-null-argv.
26957 (modules-names): Add tst-null-argv-lib.
26958 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26959 (tst-null-argv-ENV): Set environment for tst-null-argv.
26960 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26961 (RTLD_PROGNAME): New macro.
26962 * elf/tst-null-argv.c: New test case.
26963 * elf/tst-null-argv-lib.c: Library for test case.
26964 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26965 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26966 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26967 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26968 * elf/dl-init.c (call_init): Likewise.
26969 (_dl_init): Likewise.
26970 * elf/dl-load.c (print_search_path): Likewise.
26971 (_dl_map_object): Likewise.
26972 * elf/dl-lookup.c (do_lookup_x): Likewise.
26973 (add_dependency): Likewise.
26974 (_dl_lookup_symbol_x): Likewise.
26975 (_dl_debug_bindings): Likewise.
26976 * elf/dl-open.c (_dl_show_scope): Likewise.
26977 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26978 * elf/dl-version.c (match_symbol): Likewise.
26979 (_dl_check_map_versions): Likewise.
26980 * elf/rtld.c (dl_main): Likewise.
26981 (print_unresolved): Use RTLD_PROGNAME.
26982 (print_missing_version): Likewise.
26983 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26984 (elf_machine_rela): Likewise.
26985 * sysdeps/powerpc/powerpc32/dl-machine.c
26986 (__process_machine_rela): Likewise.
26987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26988 Likewise.
26989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26990 Likewise.
26991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26992 Likewise.
26993 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26994 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26995 Likewise.
26996 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26997 Likewise.
26998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26999
8a9f20c8
CD
270002013-05-28 Carlos O'Donell <carlos@redhat.com>
27001
27002 * po/be.po: Add descriptive title.
27003 * po/zh_CN.po: Likewise.
27004 * po/header.pot: Likewise.
27005
0e60d68e
MF
270062013-05-28 Mike Frysinger <vapier@gentoo.org>
27007
27008 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27009 error message.
27010 (enlarge_archive): Likewise.
27011
56b672e9
BN
270122013-05-28 Ben North <ben@redfrontdoor.org>
27013
27014 * manual/arith.texi (frexp): It is the magnitude of the return
27015 value which lies in [0.5, 1), not the return value itself.
27016
5e056687
AZ
270172013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27018
27019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27020
2b66ef5d
TS
270212013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27022
528c2405
TS
27023 * stdio-common/bug26.c (main): Correct fscanf template.
27024
07b4c13d
TS
27025 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27026 declare _dl_skip_args.
27027
ec9dd97c
TS
27028 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27029 Don't declare.
27030
2b66ef5d
TS
27031 * manual/platform.texi: Add missing @end deftypefun.
27032
4f8dfe27
JM
270332013-05-24 Joseph Myers <joseph@codesourcery.com>
27034
0323d086
JM
27035 [BZ #15529]
27036 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27037 bit of mantissa of 2^16382.
27038 * math/libm-test.inc (hypot_test_data): Add more tests.
27039
dd4259b9
JM
27040 * math/libm-test.inc: Add drem and pow10 to list of tested
27041 functions.
27042 (pow10_test): New function.
27043 (drem_test): Likewise.
27044 (drem_test_tonearest): Likewise.
27045 (drem_test_towardzero): Likewise.
27046 (drem_test_downward): Likewise.
27047 (drem_test_upward): Likewise.
27048 (main): Call the new functions.
27049
4f8dfe27
JM
27050 * math/libm-test.inc (finite_test_data): Remove.
27051 (finite_test): Run tests from isfinite_test_data.
27052 (gamma_test_data): Remove.
27053 (gamma_test): Run tests from lgamma_test_data.
27054 * sysdeps/i386/fpu/libm-test-ulps: Update.
27055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27056
d116b7c4
AZ
270572013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27058
27059 * manual/platform.texi: Add PowerPC PPR function set documentation.
27060 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27061 implementation.
27062
e96e3767
CD
270632013-05-24 Carlos O'Donell <carlos@redhat.com>
27064
27065 * math/libm-test.inc (MAX_EXP): Define.
27066 (ULPDIFF): Define.
27067 (ulp): New function.
27068 (check_float_internal): Use ULPDIFF.
27069 (cpow_test): Disable failing test.
27070 (check_ulp): Test ulp() implemetnation.
27071 (main): Call check_ulp before starting tests.
27072
b679a606
JM
270732013-05-24 Joseph Myers <joseph@codesourcery.com>
27074
e8bdba36
JM
27075 * math/gen-libm-test.pl (generate_testfile): Do not handle
27076 START_DATA and END_DATA.
27077 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27078 END_DATA.
27079 (acos_tonearest_test_data): Likewise.
27080 (acos_towardzero_test_data): Likewise.
27081 (acos_downward_test_data): Likewise.
27082 (acos_upward_test_data): Likewise.
27083 (acosh_test_data): Likewise.
27084 (asin_test_data): Likewise.
27085 (asin_tonearest_test_data): Likewise.
27086 (asin_towardzero_test_data): Likewise.
27087 (asin_downward_test_data): Likewise.
27088 (asin_upward_test_data): Likewise.
27089 (asinh_test_data): Likewise.
27090 (atan_test_data): Likewise.
27091 (atanh_test_data): Likewise.
27092 (atan2_test_data): Likewise.
27093 (cabs_test_data): Likewise.
27094 (cacos_test_data): Likewise.
27095 (cacosh_test_data): Likewise.
27096 (carg_test_data): Likewise.
27097 (casin_test_data): Likewise.
27098 (casinh_test_data): Likewise.
27099 (catan_test_data): Likewise.
27100 (catanh_test_data): Likewise.
27101 (cbrt_test_data): Likewise.
27102 (ccos_test_data): Likewise.
27103 (ccosh_test_data): Likewise.
27104 (ceil_test_data): Likewise.
27105 (cexp_test_data): Likewise.
27106 (cimag_test_data): Likewise.
27107 (clog_test_data): Likewise.
27108 (clog10_test_data): Likewise.
27109 (conj_test_data): Likewise.
27110 (copysign_test_data): Likewise.
27111 (cos_test_data): Likewise.
27112 (cos_tonearest_test_data): Likewise.
27113 (cos_towardzero_test_data): Likewise.
27114 (cos_downward_test_data): Likewise.
27115 (cos_upward_test_data): Likewise.
27116 (cosh_test_data): Likewise.
27117 (cosh_tonearest_test_data): Likewise.
27118 (cosh_towardzero_test_data): Likewise.
27119 (cosh_downward_test_data): Likewise.
27120 (cosh_upward_test_data): Likewise.
27121 (cpow_test_data): Likewise.
27122 (cproj_test_data): Likewise.
27123 (creal_test_data): Likewise.
27124 (csin_test_data): Likewise.
27125 (csinh_test_data): Likewise.
27126 (csqrt_test_data): Likewise.
27127 (ctan_test_data): Likewise.
27128 (ctan_tonearest_test_data): Likewise.
27129 (ctan_towardzero_test_data): Likewise.
27130 (ctan_downward_test_data): Likewise.
27131 (ctan_upward_test_data): Likewise.
27132 (ctanh_test_data): Likewise.
27133 (ctanh_tonearest_test_data): Likewise.
27134 (ctanh_towardzero_test_data): Likewise.
27135 (ctanh_downward_test_data): Likewise.
27136 (ctanh_upward_test_data): Likewise.
27137 (erf_test_data): Likewise.
27138 (erfc_test_data): Likewise.
27139 (exp_test_data): Likewise.
27140 (exp_tonearest_test_data): Likewise.
27141 (exp_towardzero_test_data): Likewise.
27142 (exp_downward_test_data): Likewise.
27143 (exp_upward_test_data): Likewise.
27144 (exp10_test_data): Likewise.
27145 (exp2_test_data): Likewise.
27146 (expm1_test_data): Likewise.
27147 (fabs_test_data): Likewise.
27148 (fdim_test_data): Likewise.
27149 (finite_test_data): Likewise.
27150 (floor_test_data): Likewise.
27151 (fma_test_data): Likewise.
27152 (fma_towardzero_test_data): Likewise.
27153 (fma_downward_test_data): Likewise.
27154 (fma_upward_test_data): Likewise.
27155 (fmax_test_data): Likewise.
27156 (fmin_test_data): Likewise.
27157 (fmod_test_data): Likewise.
27158 (fpclassify_test_data): Likewise.
27159 (frexp_test_data): Likewise.
27160 (gamma_test_data): Likewise.
27161 (hypot_test_data): Likewise.
27162 (ilogb_test_data): Likewise.
27163 (isfinite_test_data): Likewise.
27164 (isgreater_test_data): Likewise.
27165 (isgreaterequal_test_data): Likewise.
27166 (isinf_test_data): Likewise.
27167 (isless_test_data): Likewise.
27168 (islessequal_test_data): Likewise.
27169 (islessgreater_test_data): Likewise.
27170 (isnan_test_data): Likewise.
27171 (isnormal_test_data): Likewise.
27172 (issignaling_test_data): Likewise.
27173 (isunordered_test_data): Likewise.
27174 (j0_test_data): Likewise.
27175 (j1_test_data): Likewise.
27176 (jn_test_data): Likewise.
27177 (ldexp_test_data): Likewise.
27178 (lgamma_test_data): Likewise.
27179 (lrint_test_data): Likewise.
27180 (lrint_tonearest_test_data): Likewise.
27181 (lrint_towardzero_test_data): Likewise.
27182 (lrint_downward_test_data): Likewise.
27183 (lrint_upward_test_data): Likewise.
27184 (llrint_test_data): Likewise.
27185 (llrint_tonearest_test_data): Likewise.
27186 (llrint_towardzero_test_data): Likewise.
27187 (llrint_downward_test_data): Likewise.
27188 (llrint_upward_test_data): Likewise.
27189 (log_test_data): Likewise.
27190 (log10_test_data): Likewise.
27191 (log1p_test_data): Likewise.
27192 (log2_test_data): Likewise.
27193 (logb_test_data): Likewise.
27194 (logb_downward_test_data): Likewise.
27195 (lround_test_data): Likewise.
27196 (llround_test_data): Likewise.
27197 (modf_test_data): Likewise.
27198 (nearbyint_test_data): Likewise.
27199 (nextafter_test_data): Likewise.
27200 (nexttoward_test_data): Likewise.
27201 (pow_test_data): Likewise.
27202 (pow_tonearest_test_data): Likewise.
27203 (pow_towardzero_test_data): Likewise.
27204 (pow_downward_test_data): Likewise.
27205 (pow_upward_test_data): Likewise.
27206 (remainder_test_data): Likewise.
27207 (remainder_tonearest_test_data): Likewise.
27208 (remainder_towardzero_test_data): Likewise.
27209 (remainder_downward_test_data): Likewise.
27210 (remainder_upward_test_data): Likewise.
27211 (remquo_test_data): Likewise.
27212 (rint_test_data): Likewise.
27213 (rint_tonearest_test_data): Likewise.
27214 (rint_towardzero_test_data): Likewise.
27215 (rint_downward_test_data): Likewise.
27216 (rint_upward_test_data): Likewise.
27217 (round_test_data): Likewise.
27218 (scalb_test_data): Likewise.
27219 (scalbn_test_data): Likewise.
27220 (scalbln_test_data): Likewise.
27221 (signbit_test_data): Likewise.
27222 (sin_test_data): Likewise.
27223 (sin_tonearest_test_data): Likewise.
27224 (sin_towardzero_test_data): Likewise.
27225 (sin_downward_test_data): Likewise.
27226 (sin_upward_test_data): Likewise.
27227 (sincos_test_data): Likewise.
27228 (sinh_test_data): Likewise.
27229 (sinh_tonearest_test_data): Likewise.
27230 (sinh_towardzero_test_data): Likewise.
27231 (sinh_downward_test_data): Likewise.
27232 (sinh_upward_test_data): Likewise.
27233 (sqrt_test_data): Likewise.
27234 (tan_test_data): Likewise.
27235 (tan_tonearest_test_data): Likewise.
27236 (tan_towardzero_test_data): Likewise.
27237 (tan_downward_test_data): Likewise.
27238 (tan_upward_test_data): Likewise.
27239 (tanh_test_data): Likewise.
27240 (tgamma_test_data): Likewise.
27241 (trunc_test_data): Likewise.
27242 (y0_test_data): Likewise.
27243 (y1_test_data): Likewise.
27244 (yn_test_data): Likewise.
27245 (significand_test_data): Likewise.
27246
b679a606
JM
27247 * math/gen-libm-test.pl (@functions): Remove variable.
27248 (generate_testfile): Don't handle START and END lines.
27249 * math/libm-test.inc (START): New macro.
27250 (END): Likewise.
27251 (END_COMPLEX): Likewise.
27252 (acos_test): Use END macro without arguments.
27253 (acos_test_tonearest): Likewise.
27254 (acos_test_towardzero): Likewise.
27255 (acos_test_downward): Likewise.
27256 (acos_test_upward): Likewise.
27257 (acosh_test): Likewise.
27258 (asin_test): Likewise.
27259 (asin_test_tonearest): Likewise.
27260 (asin_test_towardzero): Likewise.
27261 (asin_test_downward): Likewise.
27262 (asin_test_upward): Likewise.
27263 (asinh_test): Likewise.
27264 (atan_test): Likewise.
27265 (atanh_test): Likewise.
27266 (atan2_test): Likewise.
27267 (cabs_test): Likewise.
27268 (cacos_test): Use END_COMPLEX macro without arguments.
27269 (cacosh_test): Likewise.
27270 (carg_test): Use END macro without arguments.
27271 (casin_test): Use END_COMPLEX macro without arguments.
27272 (casinh_test): Likewise.
27273 (catan_test): Likewise.
27274 (catanh_test): Likewise.
27275 (cbrt_test): Use END macro without arguments.
27276 (ccos_test): Use END_COMPLEX macro without arguments.
27277 (ccosh_test): Likewise.
27278 (ceil_test): Use END macro without arguments.
27279 (cexp_test): Use END_COMPLEX macro without arguments.
27280 (cimag_test): Use END macro without arguments.
27281 (clog_test): Use END_COMPLEX macro without arguments.
27282 (clog10_test): Likewise.
27283 (conj_test): Likewise.
27284 (copysign_test): Use END macro without arguments.
27285 (cos_test): Likewise.
27286 (cos_test_tonearest): Likewise.
27287 (cos_test_towardzero): Likewise.
27288 (cos_test_downward): Likewise.
27289 (cos_test_upward): Likewise.
27290 (cosh_test): Likewise.
27291 (cosh_test_tonearest): Likewise.
27292 (cosh_test_towardzero): Likewise.
27293 (cosh_test_downward): Likewise.
27294 (cosh_test_upward): Likewise.
27295 (cpow_test): Use END_COMPLEX macro without arguments.
27296 (cproj_test): Likewise.
27297 (creal_test): Use END macro without arguments.
27298 (csin_test): Use END_COMPLEX macro without arguments.
27299 (csinh_test): Likewise.
27300 (csqrt_test): Likewise.
27301 (ctan_test): Likewise.
27302 (ctan_test_tonearest): Likewise.
27303 (ctan_test_towardzero): Likewise.
27304 (ctan_test_downward): Likewise.
27305 (ctan_test_upward): Likewise.
27306 (ctanh_test): Likewise.
27307 (ctanh_test_tonearest): Likewise.
27308 (ctanh_test_towardzero): Likewise.
27309 (ctanh_test_downward): Likewise.
27310 (ctanh_test_upward): Likewise.
27311 (erf_test): Use END macro without arguments.
27312 (erfc_test): Likewise.
27313 (exp_test): Likewise.
27314 (exp_test_tonearest): Likewise.
27315 (exp_test_towardzero): Likewise.
27316 (exp_test_downward): Likewise.
27317 (exp_test_upward): Likewise.
27318 (exp10_test): Likewise.
27319 (exp2_test): Likewise.
27320 (expm1_test): Likewise.
27321 (fabs_test): Likewise.
27322 (fdim_test): Likewise.
27323 (finite_test): Likewise.
27324 (floor_test): Likewise.
27325 (fma_test): Likewise.
27326 (fma_test_towardzero): Likewise.
27327 (fma_test_downward): Likewise.
27328 (fma_test_upward): Likewise.
27329 (fmax_test): Likewise.
27330 (fmin_test): Likewise.
27331 (fmod_test): Likewise.
27332 (fpclassify_test): Likewise.
27333 (frexp_test): Likewise.
27334 (gamma_test): Likewise.
27335 (hypot_test): Likewise.
27336 (ilogb_test): Likewise.
27337 (isfinite_test): Likewise.
27338 (isgreater_test): Likewise.
27339 (isgreaterequal_test): Likewise.
27340 (isinf_test): Likewise.
27341 (isless_test): Likewise.
27342 (islessequal_test): Likewise.
27343 (islessgreater_test): Likewise.
27344 (isnan_test): Likewise.
27345 (isnormal_test): Likewise.
27346 (issignaling_test): Likewise.
27347 (isunordered_test): Likewise.
27348 (j0_test): Likewise.
27349 (j1_test): Likewise.
27350 (jn_test): Likewise.
27351 (ldexp_test): Likewise.
27352 (lgamma_test): Likewise.
27353 (lrint_test): Likewise.
27354 (lrint_test_tonearest): Likewise.
27355 (lrint_test_towardzero): Likewise.
27356 (lrint_test_downward): Likewise.
27357 (lrint_test_upward): Likewise.
27358 (llrint_test): Likewise.
27359 (llrint_test_tonearest): Likewise.
27360 (llrint_test_towardzero): Likewise.
27361 (llrint_test_downward): Likewise.
27362 (llrint_test_upward): Likewise.
27363 (log_test): Likewise.
27364 (log10_test): Likewise.
27365 (log1p_test): Likewise.
27366 (log2_test): Likewise.
27367 (logb_test): Likewise.
27368 (logb_test_downward): Likewise.
27369 (lround_test): Likewise.
27370 (llround_test): Likewise.
27371 (modf_test): Likewise.
27372 (nearbyint_test): Likewise.
27373 (nextafter_test): Likewise.
27374 (nexttoward_test): Likewise.
27375 (pow_test): Likewise.
27376 (pow_test_tonearest): Likewise.
27377 (pow_test_towardzero): Likewise.
27378 (pow_test_downward): Likewise.
27379 (pow_test_upward): Likewise.
27380 (remainder_test): Likewise.
27381 (remainder_test_tonearest): Likewise.
27382 (remainder_test_towardzero): Likewise.
27383 (remainder_test_downward): Likewise.
27384 (remainder_test_upward): Likewise.
27385 (remquo_test): Likewise.
27386 (rint_test): Likewise.
27387 (rint_test_tonearest): Likewise.
27388 (rint_test_towardzero): Likewise.
27389 (rint_test_downward): Likewise.
27390 (rint_test_upward): Likewise.
27391 (round_test): Likewise.
27392 (scalb_test): Likewise.
27393 (scalbn_test): Likewise.
27394 (scalbln_test): Likewise.
27395 (signbit_test): Likewise.
27396 (sin_test): Likewise.
27397 (sin_test_tonearest): Likewise.
27398 (sin_test_towardzero): Likewise.
27399 (sin_test_downward): Likewise.
27400 (sin_test_upward): Likewise.
27401 (sincos_test): Likewise.
27402 (sinh_test): Likewise.
27403 (sinh_test_tonearest): Likewise.
27404 (sinh_test_towardzero): Likewise.
27405 (sinh_test_downward): Likewise.
27406 (sinh_test_upward): Likewise.
27407 (sqrt_test): Likewise.
27408 (tan_test): Likewise.
27409 (tan_test_tonearest): Likewise.
27410 (tan_test_towardzero): Likewise.
27411 (tan_test_downward): Likewise.
27412 (tan_test_upward): Likewise.
27413 (tanh_test): Likewise.
27414 (tgamma_test): Likewise.
27415 (trunc_test): Likewise.
27416 (y0_test): Likewise.
27417 (y1_test): Likewise.
27418 (yn_test): Likewise.
27419 (significand_test): Likewise.
27420
bae143d2
OB
274212013-05-24 Ondřej Bílka <neleai@seznam.cz>
27422
27423 [BZ #15381]
27424 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27425
9323d39b
EM
274262013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27427
d4ea44a0 27428 [BZ #14894]
9323d39b
EM
27429 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27430 __ppc_mdoio and __ppc_mdoom.
27431 * manual/platform.texi: Document new functions __ppc_yield,
27432 __ppc_mdoio and __ppc_mdoom.
27433
13e23af7
CD
274342013-05-22 Carlos O'Donell <carlos@redhat.com>
27435
27436 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27437 (main): Mention "tls" pseudo-hwcap is legacy.
27438 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27439
351fe550
JM
274402013-05-22 Joseph Myers <joseph@codesourcery.com>
27441
27442 * math/gen-libm-test.pl (parse_args): Output only string of
27443 arguments as text for test name, not full call or descriptions of
27444 tests for extra outputs.
27445 (generate_testfile): Do not pass function name to parse_args.
27446 Generate this_func variable from START.
27447 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27448 field to arg_str.
27449 (struct test_ff_f_data): Likewise.
27450 (test_ff_f_data_nexttoward): Likewise.
27451 (struct test_fi_f_data): Likewise.
27452 (struct test_fl_f_data): Likewise.
27453 (struct test_if_f_data): Likewise.
27454 (struct test_fff_f_data): Likewise.
27455 (struct test_c_f_data): Likewise.
27456 (struct test_f_f1_data): Likewise. Remove field extra_name.
27457 (struct test_fF_f1_data): Likewise.
27458 (struct test_ffI_f1_data): Likewise.
27459 (struct test_c_c_data): Rename test_name field to arg_str.
27460 (struct test_cc_c_data): Likewise.
27461 (struct test_f_i_data): Likewise.
27462 (struct test_ff_i_data): Likewise.
27463 (struct test_f_l_data): Likewise.
27464 (struct test_f_L_data): Likewise.
27465 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27466 and extra2_name.
27467 (COMMON_TEST_SETUP): New macro.
27468 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27469 (COMMON_TEST_CLEANUP): Likewise.
27470 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27471 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27472 macros.
27473 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27474 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27475 macros.
27476 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27477 (RUN_TEST_fff_f): Take argument string. Call new setup and
27478 cleanup macros.
27479 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27480 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27481 macros.
27482 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27483 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27484 macros.
27485 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27486 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27487 cleanup macros.
27488 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27489 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27490 cleanup macros.
27491 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27492 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27493 cleanup macros.
27494 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27495 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27496 macros.
27497 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27498 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27499 macros.
27500 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27501 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27502 macros.
27503 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27504 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27505 cleanup macros.
27506 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27507 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27508 cleanup macros.
27509 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27510 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27511 macros.
27512 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27513 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27514 cleanup macros.
27515 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27516 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27517 macros.
27518 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27519 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27520 macros.
27521 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27522 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27523 cleanup macros.
27524 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27525
85118d4d
EBM
275262013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27527
27528 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27529 to _sifields.sigfault.
27530 (si_addr_lsb): Define new macro.
27531 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27532 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27533 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27534
7a44c18f
CD
275352013-05-03 Carlos O'Donell <carlos at redhat.com>
27536
27537 [BZ #15441]
27538 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27539 returns -1.
27540 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27541 null return -1.
27542 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27543 loading the domain.
27544
b50a7181
JM
275452013-05-22 Joseph Myers <joseph@codesourcery.com>
27546
27547 * math/gen-libm-test.pl (parse_args): Do not include expected
27548 result in test name.
27549 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27551 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27552 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27553 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27555
051063c8
SP
275562013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27557
3ce9e010
SP
27558 * benchtests/Makefile: Sort function entries.
27559
051063c8
SP
27560 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27561 tanh, asinh, acosh, atanh.
27562 * benchtests/acos-inputs: New file.
27563 * benchtests/acosh-inputs: New file.
27564 * benchtests/asin-inputs: New file.
27565 * benchtests/asinh-inputs: New file.
27566 * benchtests/atanh-inputs: New file.
27567 * benchtests/cosh-inputs: New file.
27568 * benchtests/log-inputs: New file.
27569 * benchtests/sinh-inputs: New file.
27570 * benchtests/tanh-inputs: New file.
27571
47c22455
DL
275722013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27573
27574 [BZ #15339]
27575 * posix/tst-getaddrinfo4.c: New test.
27576 * posix/Makefile (tests): Add it.
27577
3d04f5db
SP
275782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27579
27580 [BZ #15339]
27581 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27582 when no services were used.
27583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27584 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27585
d5dd6189
AS
275862013-05-21 Andreas Schwab <schwab@suse.de>
27587
27588 [BZ #15014]
27589 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27590 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27591 successful.
27592 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27593 redundant variable declarations and reallocation of buffer when
27594 parsing as IPv6 address. Always set NSS status when called from
27595 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27596 buffer too small. Correct computation of needed size.
27597 * nss/Makefile (tests): Add test-digits-dots.
27598 * nss/test-digits-dots.c: New test.
27599
fef94eab
SP
276002013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27601
27602 * benchtests/Makefile: Remove instructions for adding
27603 benchmark tests.
27604 * benchtests/README: New file to explain how to execute and
27605 enhance the benchmark tests.
27606
e39adf43
AS
276072013-05-21 Andreas Schwab <schwab@suse.de>
27608
27609 [BZ #15493]
27610 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27611 * setjmp/tst-sigsetjmp.c: New test.
27612
b2b671b6
OB
276132013-05-20 Ondřej Bílka <neleai@seznam.cz>
27614
27615 * sysdeps/x86_64/memset.S (memset): New implementation.
27616 (__bzero): Likewise.
27617 (__memset_tail): New function.
27618
2d48b41c
OB
276192013-05-20 Ondřej Bílka <neleai@seznam.cz>
27620
27621 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27622 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27623 __memcpy_sse2_unaligned ifunc selection.
27624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27625 Add memcpy-sse2-unaligned.S.
27626 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27627 Add: __memcpy_sse2_unaligned.
27628
f16cc3eb
JM
276292013-05-19 Joseph Myers <joseph@codesourcery.com>
27630
3e694268
JM
27631 [BZ #15490]
27632 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27633 math_force_eval before restoring floating-point envrionment.
27634 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27635 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27636 Likewise.
27637 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27638 <math_private.h>.
27639 (__nearbyintl): Use math_force_eval before restoring
27640 floating-point environment.
27641 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27642
db62a907
JM
27643 * math/gen-libm-test.pl (special_functions): Remove.
27644 (parse_args): Don't handle TEST_extra. Handle functions with no
27645 return value.
27646 * math/libm-test.inc (struct test_sincos_data): Replace with
27647 struct test_fFF_11_data.
27648 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27649 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27650 (sincos_test_data): Change element type to struct
27651 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27652 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27653 RUN_TEST_LOOP_sincos.
27654 * math/README.libm-test: Don't mention special handling of
27655 individual functions.
27656 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27657 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27658 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27659 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27660 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27662
f16cc3eb
JM
27663 * math/gen-libm-test.pl (get_variable): Remove function.
27664 (parse_args): Don't show pointer parameters to call in test
27665 names. Use "extra output N" in test names for extra outputs
27666 rather than naming variables.
27667
3779b5b6
JM
276682013-05-18 Joseph Myers <joseph@codesourcery.com>
27669
2ee094ff
JM
27670 [BZ #15488]
27671 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27672 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27673 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27674 double tests.
27675 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27676 disable.
27677 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27678 check_long_double.
27679
3779b5b6
JM
27680 * math/gen-libm-test.pl (@tests): Remove variable.
27681 ($count): Likewise.
27682 (new_test): Remove function.
27683 (show_exceptions): New function.
27684 (special_functions): Use show_exceptions instead of new_test.
27685 (parse_args): Likewise.
27686 (generate_testfile): Pass only function name in generated call to
27687 print_max_error or print_complex_max_error.
27688 (get_ulps): Do not handle complex tests specially.
27689 (output_test): Rename to ...
27690 (get_all_ulps_for_test): ... this. Return a string rather than
27691 printing to a file. Require ulps to be present.
27692 (output_ulps): Generate arrays rather than #defines.
27693 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27694 (struct ulp_data): New type.
27695 (BUILD_COMPLEX_ULP): Remove macro.
27696 (compare_ulp_data): New function.
27697 (find_ulps): Likewise.
27698 (find_test_ulps): Likewise.
27699 (find_function_ulps): Likewise.
27700 (find_complex_function_ulps): Likewise.
27701 (print_max_error): Determine allowed ulps using
27702 find_function_ulps.
27703 (print_complex_max_error): Determine allowed ulps using
27704 find_complex_function_ulps.
27705 (check_float_internal): Determine max ulps using find_test_ulps.
27706 (check_float): Do not take max_ulp parameter. Update call to
27707 check_float_internal.
27708 (check_complex): Likewise.
27709 (check_int): Do not take max_ulp parameter.
27710 (check_long): Likewise.
27711 (check_bool): Likewise.
27712 (check_longlong): Likewise.
27713 (struct test_f_f_data): Remove max_ulp field.
27714 (struct test_ff_f_data): Likewise.
27715 (struct test_ff_f_data_nexttoward): Likewise.
27716 (struct test_fi_f_data): Likewise.
27717 (struct test_fl_f_data): Likewise.
27718 (struct test_if_f_data): Likewise.
27719 (struct test_fff_f_data): Likewise.
27720 (struct test_c_f_data): Likewise.
27721 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27722 (struct test_fF_f1_data): Likewise.
27723 (struct test_ffI_f1_data): Likewise.
27724 (struct test_c_c_data): Remove max_ulp field.
27725 (struct test_cc_c_data): Likewise.
27726 (struct test_f_i_data): Likewise.
27727 (struct test_ff_i_data): Likewise.
27728 (struct test_f_l_data): Likewise.
27729 (struct test_f_L_data): Likewise.
27730 (struct test_sincos_data): Likewise.
27731 (RUN_TEST_f_f): Do not handle ulps.
27732 (RUN_TEST_LOOP_f_f): Likewise.
27733 (RUN_TEST_2_f): Likewise.
27734 (RUN_TEST_LOOP_2_f): Likewise.
27735 (RUN_TEST_fff_f): Likewise.
27736 (RUN_TEST_LOOP_fff_f): Likewise.
27737 (RUN_TEST_c_f): Likewise.
27738 (RUN_TEST_LOOP_c_f): Likewise.
27739 (RUN_TEST_f_f1): Likewise.
27740 (RUN_TEST_LOOP_f_f1): Likewise.
27741 (RUN_TEST_fF_f1): Likewise.
27742 (RUN_TEST_LOOP_fF_f1): Likewise.
27743 (RUN_TEST_fI_f1): Likewise.
27744 (RUN_TEST_LOOP_fI_f1): Likewise.
27745 (RUN_TEST_ffI_f1): Likewise.
27746 (RUN_TEST_LOOP_ffI_f1): Likewise.
27747 (RUN_TEST_c_c): Likewise.
27748 (RUN_TEST_LOOP_c_c): Likewise.
27749 (RUN_TEST_cc_c): Likewise.
27750 (RUN_TEST_LOOP_cc_c): Likewise.
27751 (RUN_TEST_f_i): Likewise.
27752 (RUN_TEST_LOOP_f_i): Likewise.
27753 (RUN_TEST_f_i_tg): Likewise.
27754 (RUN_TEST_LOOP_f_i_tg): Likewise.
27755 (RUN_TEST_ff_i_tg): Likewise.
27756 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27757 (RUN_TEST_f_b): Likewise.
27758 (RUN_TEST_LOOP_f_b): Likewise.
27759 (RUN_TEST_f_b_tg): Likewise.
27760 (RUN_TEST_LOOP_f_b_tg): Likewise.
27761 (RUN_TEST_f_l): Likewise.
27762 (RUN_TEST_LOOP_f_l): Likewise.
27763 (RUN_TEST_f_L): Likewise.
27764 (RUN_TEST_LOOP_f_L): Likewise.
27765 (RUN_TEST_sincos): Likewise.
27766 (RUN_TEST_LOOP_sincos): Likewise.
27767
8269107f
JM
277682013-05-17 Joseph Myers <joseph@codesourcery.com>
27769
bb38759d
JM
27770 [BZ #15480]
27771 [BZ #15485]
27772 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27773 main case of finite arguments, set rounding mode to FE_TONEAREST
27774 and discard exceptions.
27775 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27776 exceptions.
27777 (remainder_tonearest_test_data): New variable.
27778 (remainder_test_tonearest): New function.
27779 (remainder_towardzero_test_data): New variable.
27780 (remainder_test_towardzero): New function.
27781 (remainder_downward_test_data): New variable.
27782 (remainder_test_downward): New function.
27783 (remainder_upward_test_data): New variable.
27784 (remainder_test_upward): New function.
27785 (main): Call the new test functions.
27786
a00bdcf0
JM
27787 * math/libm-test.inc (struct test_f_f1_data): Remove field
27788 extra_init.
27789 (struct test_fF_f1_data): Likewise.
27790 (struct test_ffI_f1_data): Likewise.
27791 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27792 based on value of EXTRA_EXPECTED.
27793 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27794 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27795 EXTRA_VAR based on value of EXTRA_EXPECTED.
27796 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27797 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27798 EXTRA_VAR based on value of EXTRA_EXPECTED.
27799 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27800 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27801 EXTRA_VAR based on value of EXTRA_EXPECTED.
27802 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27803 * math/gen-libm-test.pl (parse_args): Don't output initializers
27804 for extra output values.
27805
de407f79
JM
27806 * math/libm-test.inc (check_int): Expect result to be exactly
27807 equal to expected value and do not handle ulps.
27808 (check_long): Likewise.
27809 (check_longlong): Likewise.
27810
8269107f
JM
27811 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27812 exceptions.
27813 (cimag_test_data): Likewise.
27814 (conj_test_data): Likewise.
27815 (copysign_test_data): Likewise.
27816 (cproj_test_data): Likewise.
27817 (creal_test_data): Likewise.
27818 (fabs_test_data): Likewise.
27819 (fdim_test_data): Likewise.
27820 (finite_test_data): Likewise.
27821 (floor_test_data): Likewise.
27822 (fmax_test_data): Likewise.
27823 (fmin_test_data): Likewise.
27824 (fmod_test_data): Likewise.
27825 (fpclassify_test_data): Likewise.
27826 (frexp_test_data): Likewise.
27827 (ilogb_test_data): Likewise.
27828 (isfinite_test_data): Likewise.
27829 (isgreater_test_data): Likewise.
27830 (isgreaterequal_test_data): Likewise.
27831 (isinf_test_data): Likewise.
27832 (isless_test_data): Likewise.
27833 (islessequal_test_data): Likewise.
27834 (islessgreater_test_data): Likewise.
27835 (isnan_test_data): Likewise.
27836 (isnormal_test_data): Likewise.
27837 (issignaling_test_data): Likewise.
27838 (isunordered_test_data): Likewise.
27839 (ldexp_test_data): Likewise.
27840 (lrint_test_data): Likewise.
27841 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27842 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27843 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27844 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27845 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27846 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27847 test input.
27848 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27849 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27850 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27851 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27852 that test input.
27853 (lrint_downward_test_data): Test for "inexact" exceptions.
27854 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27855 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27856 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27857 test input.
27858 (lrint_upward_test_data): Test for "inexact" exceptions.
27859 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27860 test input.
27861 (llrint_test_data): Test for "inexact" exceptions.
27862 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27863 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27864 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27865 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27866 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27867 (llrint_downward_test_data): Test for "inexact" exceptions.
27868 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27869 (llrint_upward_test_data): Test for "inexact" exceptions.
27870 (logb_test_data): Likewise.
27871 (logb_downward_test_data): Likewise.
27872 (nextafter_test_data): Likewise.
27873 (nexttoward_test_data): Likewise.
27874 (remainder_test_data): Likewise.
27875 (remquo_test_data): Likewise.
27876 (scalbn_test_data): Likewise.
27877 (scalbln_test_data): Likewise.
27878 (signbit_test_data): Likewise.
27879 (sqrt_test_data): Likewise.
27880 (significand_test_data): Likewise.
27881
48a18de1
SP
278822013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27883
27884 [BZ #15424]
27885 * benchtests/bench-modf.c (struct args): Mark arg0 as
27886 volatile.
27887 * scripts/bench.pl: Mark members of struct args as volatile.
27888
13d3b41a
AZ
278892013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27890
68191c1d 27891 [BZ # 15497]
13d3b41a
AZ
27892 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27893 negative infinity on POWER6 or lower.
27894 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27895
2848b105
MR
278962013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27897
27898 [BZ #15442]
27899 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27900 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27901 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27902 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27903 (_FP_SETQNAN): New macro.
27904 (_FP_SETQNAN_SEMIRAW): Likewise.
27905 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27906 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27907 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27908 (FP_EXTEND): Use _FP_FRAC_SNANP.
27909 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27910 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27911 into account.
27912 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27913 New macro.
27914 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27915 Likewise.
27916
323e5cb7
JM
279172013-05-16 Joseph Myers <joseph@codesourcery.com>
27918
c58b274f
JM
27919 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27920 with DIVIDE_BY_ZERO_EXCEPTION.
27921 (gamma_test_data): Likewise.
27922 (lgamma_test_data): Likewise.
27923 (log_test_data): Likewise.
27924 (log10_test_data): Likewise.
27925 (log2_test_data): Likewise.
27926 (tgamma_test_data): Likewise.
27927
0ab34904
JM
27928 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27929 (acos_test_tonearest): Likewise.
27930 (acos_test_towardzero): Likewise.
27931 (acos_test_downward): Likewise.
27932 (acos_test_upward): Likewise.
27933 (acosh_test): Likewise.
27934 (asin_test): Likewise.
27935 (asin_test_tonearest): Likewise.
27936 (asin_test_towardzero): Likewise.
27937 (asin_test_downward): Likewise.
27938 (asin_test_upward): Likewise.
27939 (asinh_test): Likewise.
27940 (atan_test): Likewise.
27941 (atanh_test): Likewise.
27942 (atan2_test): Likewise.
27943 (cabs_test): Likewise.
27944 (cacos_test): Likewise.
27945 (cacosh_test): Likewise.
27946 (casin_test): Likewise.
27947 (casinh_test): Likewise.
27948 (catan_test): Likewise.
27949 (catanh_test): Likewise.
27950 (cbrt_test): Likewise.
27951 (ccos_test): Likewise.
27952 (ccosh_test): Likewise.
27953 (cexp_test): Likewise.
27954 (clog_test): Likewise.
27955 (clog10_test): Likewise.
27956 (cos_test): Likewise.
27957 (cos_test_tonearest): Likewise.
27958 (cos_test_towardzero): Likewise.
27959 (cos_test_downward): Likewise.
27960 (cos_test_upward): Likewise.
27961 (cosh_test): Likewise.
27962 (cosh_test_tonearest): Likewise.
27963 (cosh_test_towardzero): Likewise.
27964 (cosh_test_downward): Likewise.
27965 (cosh_test_upward): Likewise.
27966 (cpow_test): Likewise.
27967 (csin_test): Likewise.
27968 (csinh_test): Likewise.
27969 (csqrt_test): Likewise.
27970 (ctan_test): Likewise.
27971 (ctan_test_tonearest): Likewise.
27972 (ctan_test_towardzero): Likewise.
27973 (ctan_test_downward): Likewise.
27974 (ctan_test_upward): Likewise.
27975 (ctanh_test): Likewise.
27976 (ctanh_test_tonearest): Likewise.
27977 (ctanh_test_towardzero): Likewise.
27978 (ctanh_test_downward): Likewise.
27979 (ctanh_test_upward): Likewise.
27980 (erf_test): Likewise.
27981 (erfc_test): Likewise.
27982 (exp_test): Likewise.
27983 (exp_test_tonearest): Likewise.
27984 (exp_test_towardzero): Likewise.
27985 (exp_test_downward): Likewise.
27986 (exp_test_upward): Likewise.
27987 (exp10_test): Likewise.
27988 (exp2_test): Likewise.
27989 (expm1_test): Likewise.
27990 (fmod_test): Likewise.
27991 (gamma_test): Likewise.
27992 (hypot_test): Likewise.
27993 (j0_test): Likewise.
27994 (j1_test): Likewise.
27995 (jn_test): Likewise.
27996 (lgamma_test): Likewise.
27997 (log_test): Likewise.
27998 (log10_test): Likewise.
27999 (log1p_test): Likewise.
28000 (log2_test): Likewise.
28001 (logb_test_downward): Likewise.
28002 (pow_test): Likewise.
28003 (pow_test_tonearest): Likewise.
28004 (pow_test_towardzero): Likewise.
28005 (pow_test_downward): Likewise.
28006 (pow_test_upward): Likewise.
28007 (remainder_test): Likewise.
28008 (remquo_test): Likewise.
28009 (sin_test): Likewise.
28010 (sin_test_tonearest): Likewise.
28011 (sin_test_towardzero): Likewise.
28012 (sin_test_downward): Likewise.
28013 (sin_test_upward): Likewise.
28014 (sincos_test): Likewise.
28015 (sinh_test): Likewise.
28016 (sinh_test_tonearest): Likewise.
28017 (sinh_test_towardzero): Likewise.
28018 (sinh_test_downward): Likewise.
28019 (sinh_test_upward): Likewise.
28020 (sqrt_test): Likewise.
28021 (tan_test): Likewise.
28022 (tan_test_tonearest): Likewise.
28023 (tan_test_towardzero): Likewise.
28024 (tan_test_downward): Likewise.
28025 (tan_test_upward): Likewise.
28026 (tanh_test): Likewise.
28027 (tgamma_test): Likewise.
28028 (y0_test): Likewise.
28029 (y1_test): Likewise.
28030 (yn_test): Likewise.
28031
323e5cb7
JM
28032 * math/gen-libm-test.pl (adjust_arg): Remove function.
28033 (special_function): Remove argument $in_func. Only handle
28034 generating output for tables of tests, not inside functions.
28035 (parse_args): Likewise.
28036 (generate_testfile): Remove variable $in_func. Update call to
28037 parse_args.
28038 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28039 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28040 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28041 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28042 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28043 (MAX_VALUE_INIT): Rename macro to max_value.
28044 (MIN_VALUE_INIT): Rename macro to min_value.
28045 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28046 (plus_zero): Remove variable.
28047 (minus_zero): Likewise.
28048 (plus_infty): Likewise.
28049 (minus_infty): Likewise.
28050 (qnan_value): Likewise.
28051 (max_value): Likewise.
28052 (min_value): Likewise.
28053 (min_subnorm_value): Likewise.
28054
e054f494
RA
280552013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28056
28057 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28058 uint64_t or uint32_t usage.
28059 * crypt/sha256-block.c: Likewise.
28060 * crypt/sha256-crypt.c: Likewise.
28061 * crypt/sha256.c: Likewise.
28062 * crypt/sha512-block.c: Likewise.
28063 * crypt/sha512-crypt.c: Likewise.
28064 * crypt/sha512.c: Likewise.
28065 * debug/backtrace-tst.c: Likewise.
28066 * debug/pcprofiledump.c: Likewise.
28067 * elf/cache.c: Likewise.
28068 * elf/dl-cache.c: Likewise.
28069 * elf/dl-misc.c: Likewise.
28070 * elf/dl-profile.c: Likewise.
28071 * elf/dl-support.c: Likewise.
28072 * elf/ldconfig.c: Likewise.
28073 * elf/sprof.c: Likewise.
28074 * iconv/dummy-repertoire.c: Likewise.
28075 * iconv/iconv_charmap.c: Likewise.
28076 * iconv/skeleton.c: Likewise.
28077 * iconvdata/8bit-generic.c: Likewise.
28078 * iconvdata/cp737.h: Likewise.
28079 * iconvdata/cp775.h: Likewise.
28080 * iconvdata/ibm1008.h: Likewise.
28081 * iconvdata/ibm1025.h: Likewise.
28082 * iconvdata/ibm1046.h: Likewise.
28083 * iconvdata/ibm1097.h: Likewise.
28084 * iconvdata/ibm1112.h: Likewise.
28085 * iconvdata/ibm1122.h: Likewise.
28086 * iconvdata/ibm1123.h: Likewise.
28087 * iconvdata/ibm1124.h: Likewise.
28088 * iconvdata/ibm1129.h: Likewise.
28089 * iconvdata/ibm1130.h: Likewise.
28090 * iconvdata/ibm1132.h: Likewise.
28091 * iconvdata/ibm1133.h: Likewise.
28092 * iconvdata/ibm1137.h: Likewise.
28093 * iconvdata/ibm1140.h: Likewise.
28094 * iconvdata/ibm1141.h: Likewise.
28095 * iconvdata/ibm1142.h: Likewise.
28096 * iconvdata/ibm1143.h: Likewise.
28097 * iconvdata/ibm1144.h: Likewise.
28098 * iconvdata/ibm1145.h: Likewise.
28099 * iconvdata/ibm1146.h: Likewise.
28100 * iconvdata/ibm1147.h: Likewise.
28101 * iconvdata/ibm1148.h: Likewise.
28102 * iconvdata/ibm1149.h: Likewise.
28103 * iconvdata/ibm1153.h: Likewise.
28104 * iconvdata/ibm1154.h: Likewise.
28105 * iconvdata/ibm1155.h: Likewise.
28106 * iconvdata/ibm1156.h: Likewise.
28107 * iconvdata/ibm1157.h: Likewise.
28108 * iconvdata/ibm1158.h: Likewise.
28109 * iconvdata/ibm1160.h: Likewise.
28110 * iconvdata/ibm1161.h: Likewise.
28111 * iconvdata/ibm1162.h: Likewise.
28112 * iconvdata/ibm1163.h: Likewise.
28113 * iconvdata/ibm1164.h: Likewise.
28114 * iconvdata/ibm1166.h: Likewise.
28115 * iconvdata/ibm1167.h: Likewise.
28116 * iconvdata/ibm12712.h: Likewise.
28117 * iconvdata/ibm1390.h: Likewise.
28118 * iconvdata/ibm1399.h: Likewise.
28119 * iconvdata/ibm16804.h: Likewise.
28120 * iconvdata/ibm4517.h: Likewise.
28121 * iconvdata/ibm4899.h: Likewise.
28122 * iconvdata/ibm4909.h: Likewise.
28123 * iconvdata/ibm4971.h: Likewise.
28124 * iconvdata/ibm5347.h: Likewise.
28125 * iconvdata/ibm803.h: Likewise.
28126 * iconvdata/ibm856.h: Likewise.
28127 * iconvdata/ibm901.h: Likewise.
28128 * iconvdata/ibm902.h: Likewise.
28129 * iconvdata/ibm9030.h: Likewise.
28130 * iconvdata/ibm9066.h: Likewise.
28131 * iconvdata/ibm921.h: Likewise.
28132 * iconvdata/ibm922.h: Likewise.
28133 * iconvdata/ibm9448.h: Likewise.
28134 * iconvdata/isiri-3342.h: Likewise.
28135 * iconvdata/jis0201.h: Likewise.
28136 * include/link.h: Likewise.
28137 * include/netdb.h: Likewise.
28138 * inet/check_native.c: Likewise.
28139 * inet/check_pf.c: Likewise.
28140 * inet/getipv4sourcefilter.c: Likewise.
28141 * inet/getnameinfo.c: Likewise.
28142 * inet/getsourcefilter.c: Likewise.
28143 * inet/htonl.c: Likewise.
28144 * inet/setipv4sourcefilter.c: Likewise.
28145 * inet/setsourcefilter.c: Likewise.
28146 * inet/test-inet6_opt.c: Likewise.
28147 * inet/tst-network.c: Likewise.
28148 * locale/C-collate.c: Likewise.
28149 * locale/C-ctype.c: Likewise.
28150 * locale/C-time.c: Likewise.
28151 * locale/C-translit.h: Likewise.
28152 * locale/loadarchive.c: Likewise.
28153 * locale/programs/3level.h: Likewise.
28154 * locale/programs/charmap.c: Likewise.
28155 * locale/programs/charmap.h: Likewise.
28156 * locale/programs/ld-address.c: Likewise.
28157 * locale/programs/ld-collate.c: Likewise.
28158 * locale/programs/ld-ctype.c: Likewise.
28159 * locale/programs/ld-identification.c: Likewise.
28160 * locale/programs/ld-measurement.c: Likewise.
28161 * locale/programs/ld-messages.c: Likewise.
28162 * locale/programs/ld-monetary.c: Likewise.
28163 * locale/programs/ld-name.c: Likewise.
28164 * locale/programs/ld-numeric.c: Likewise.
28165 * locale/programs/ld-paper.c: Likewise.
28166 * locale/programs/ld-telephone.c: Likewise.
28167 * locale/programs/ld-time.c: Likewise.
28168 * locale/programs/linereader.c: Likewise.
28169 * locale/programs/locale.c: Likewise.
28170 * locale/programs/locarchive.c: Likewise.
28171 * locale/programs/locfile.h: Likewise.
28172 * locale/programs/repertoire.c: Likewise.
28173 * locale/programs/simple-hash.c: Likewise.
28174 * locale/programs/simple-hash.h: Likewise.
28175 * malloc/memusage.c: Likewise.
28176 * malloc/memusagestat.c: Likewise.
28177 * nis/nis_defaults.c: Likewise.
28178 * nis/nis_hash.c: Likewise.
28179 * nis/nis_print.c: Likewise.
28180 * nis/nis_xdr.c: Likewise.
28181 * nscd/connections.c: Likewise.
28182 * nscd/hstcache.c: Likewise.
28183 * nscd/nscd_gethst_r.c: Likewise.
28184 * nscd/nscd_getserv_r.c: Likewise.
28185 * nscd/nscd_helper.c: Likewise.
28186 * nscd/servicescache.c: Likewise.
28187 * nss/makedb.c: Likewise.
28188 * nss/nss_db/db-XXX.c: Likewise.
28189 * nss/nss_db/db-initgroups.c: Likewise.
28190 * nss/nss_db/db-netgrp.c: Likewise.
28191 * nss/nss_files/files-network.c: Likewise.
28192 * nss/nss_files/files-parse.c: Likewise.
28193 * posix/bug-regex5.c: Likewise.
28194 * posix/fnmatch_loop.c: Likewise.
28195 * posix/regcomp.c: Likewise.
28196 * posix/regexec.c: Likewise.
28197 * posix/tst-rfc3484-2.c: Likewise.
28198 * posix/tst-rfc3484-3.c: Likewise.
28199 * posix/tst-rfc3484.c: Likewise.
28200 * resolv/nss_dns/dns-canon.c: Likewise.
28201 * resolv/nss_dns/dns-network.c: Likewise.
28202 * resolv/res_init.c: Likewise.
28203 * resolv/res_mkquery.c: Likewise.
28204 * resolv/tst-aton.c: Likewise.
28205 * stdlib/cxa_atexit.c: Likewise.
28206 * stdlib/cxa_finalize.c: Likewise.
28207 * stdlib/gen-fpioconst.c: Likewise.
28208 * stdlib/strtol_l.c: Likewise.
28209 * string/tst-endian.c: Likewise.
28210 * sunrpc/auth_des.c: Likewise.
28211 * sunrpc/clnt_udp.c: Likewise.
28212 * sunrpc/rtime.c: Likewise.
28213 * sunrpc/svcauth_des.c: Likewise.
28214 * sunrpc/xdr.c: Likewise.
28215 * sunrpc/xdr_intXX_t.c: Likewise.
28216 * sunrpc/xdr_rec.c: Likewise.
28217 * sysdeps/generic/ldconfig.h: Likewise.
28218 * sysdeps/generic/ldsodefs.h: Likewise.
28219 * sysdeps/generic/memusage.h: Likewise.
28220 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28222 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28223 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28226 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28227 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28228 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28229 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28230 * sysdeps/posix/getaddrinfo.c: Likewise.
28231 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28232 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28233 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28235 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28236 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28237 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28238 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28239 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28240 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28241 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28242 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28243 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28244 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28245 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28246 * sysdeps/x86_64/dl-tls.h: Likewise.
28247 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28248 * time/alt_digit.c: Likewise.
28249 * time/era.c: Likewise.
28250 * wcsmbs/tst-c16c32-1.c: Likewise.
28251
8c75f674
JM
282522013-05-16 Joseph Myers <joseph@codesourcery.com>
28253
28254 * math/libm-test.inc (struct test_sincos_data): New type.
28255 (RUN_TEST_LOOP_sincos): New macro.
28256 (sincos_test_data): New variable.
28257 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28258
e6e49e59
RH
282592013-05-16 Richard Henderson <rth@redhat.com>
28260
28261 * math/atest-exp2.c (LIMB64): New macro.
28262 (CONSTSZ): New macro.
28263 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28264 (hexdig): Move ...
28265 (print_mpn_fp): ... to function scope.
28266 (read_mpn_hex): Remove.
28267 (get_log2): Remove.
28268 (exp2_mpn): Use mp_log2.
28269 (main): Use mp_exp1.
28270
15c7c18d
JM
282712013-05-16 Joseph Myers <joseph@codesourcery.com>
28272
105a07df
JM
28273 * math/libm-test.inc: Remove comment about not testing "inexact"
28274 exceptions.
28275 (INEXACT_EXCEPTION): New macro.
28276 (NO_INEXACT_EXCEPTION): Likewise.
28277 (INVALID_EXCEPTION_OK): Update value.
28278 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28279 (OVERFLOW_EXCEPTION_OK): Likewise.
28280 (UNDERFLOW_EXCEPTION_OK): Likewise.
28281 (IGNORE_ZERO_INF_SIGN): Likewise.
28282 (ERRNO_UNCHANGED): Likewise.
28283 (ERRNO_EDOM): Likewise.
28284 (ERRNO_ERANGE): Likewise.
28285 (test_exceptions): Handle testing "inexact" exceptions.
28286 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28287 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28288 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28289 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28290 INEXACT_EXCEPTION.
28291 (rint_towardzero_test_data): Likewise.
28292 (rint_downward_test_data): Likewise.
28293 (rint_upward_test_data): Likewise.
28294
e9eee333
JM
28295 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28296 with OVERFLOW_EXCEPTION.
28297 (exp10_test_data): Likewise.
28298 (exp2_test_data): Likewise.
28299 (expm1_test_data): Likewise.
28300 (lgamma_test_data): Likewise.
28301 (pow_test_data): Likewise.
28302 (tgamma_test_data): Likewise.
28303 (yn_test_data): Remove duplicate test of overflow.
28304
1c38ff73
JM
28305 * math/libm-test.inc (struct test_cc_c_data): New type.
28306 (RUN_TEST_LOOP_cc_c): New macro.
28307 (cpow_test_data): New variable.
28308 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28309
15c7c18d
JM
28310 * math/libm-test.inc (struct test_f_L_data): New type.
28311 (RUN_TEST_LOOP_f_L): New macro.
28312 (llrint_test_data): New variable.
28313 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28314 (llrint_tonearest_test_data): New variable.
28315 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28316 (llrint_towardzero_test_data): New variable.
28317 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28318 (llrint_downward_test_data): New variable.
28319 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28320 (llrint_upward_test_data): New variable.
28321 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28322 (llround_test_data): New variable.
28323 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28324
f137ff13
PC
283252013-05-13 Peter Collingbourne <pcc@google.com>
28326
28327 * math/atest-exp2.c (get_log2): Remove const attribute.
28328
3608cb24
JM
283292013-05-15 Joseph Myers <joseph@codesourcery.com>
28330
28331 * math/libm-test.inc (struct test_f_l_data): New type.
28332 (RUN_TEST_LOOP_f_l): New macro.
28333 (lrint_test_data): New variable.
28334 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28335 (lrint_tonearest_test_data): New variable.
28336 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28337 (lrint_towardzero_test_data): New variable.
28338 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28339 (lrint_downward_test_data): New variable.
28340 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28341 (lrint_upward_test_data): New variable.
28342 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28343 (lround_test_data): New variable.
28344 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28345
39b1f617
PC
283462013-05-15 Peter Collingbourne <pcc@google.com>
28347
1deff3dc
PC
28348 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28349 (EXTRACT_WORDS64) Use where appropriate.
28350 (INSERT_WORDS64) Likewise.
28351
791f3ba0
PC
28352 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28353 constraints with x constraints.
28354 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28355
39b1f617
PC
28356 * malloc/obstack.c (_obstack_compat): Add initializer.
28357
12fba011
EM
283582013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28359
28360 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28361 si_trapno and add si_addr_lsb to _sifields.sigfault.
28362 (si_trapno): Remove macro.
28363 (si_addr_lsb): Define new macro.
28364 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28365
d369f531
JM
283662013-05-15 Joseph Myers <joseph@codesourcery.com>
28367
b861c6c4
JM
28368 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28369 instead of TEST_f_l.
28370 (llrint_test_tonearest): Likewise.
28371 (llrint_test_towardzero): Likewise.
28372 (llrint_test_downward): Likewise.
28373 (llrint_test_upward): Likewise.
28374 (llround_test): Likewise.
28375
7abeee12
JM
28376 * math/libm-test.inc (struct test_f_i_data): Add comment.
28377 (RUN_TEST_LOOP_f_b): New macro.
28378 (RUN_TEST_LOOP_f_b_tg): Likewise.
28379 (finite_test_data): New variable.
28380 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28381 (isfinite_test_data): New variable.
28382 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28383 (isinf_test_data): New variable.
28384 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28385 (isnan_test_data): New variable.
28386 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28387 (isnormal_test_data): New variable.
28388 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28389 (issignaling_test_data): New variable.
28390 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28391 (signbit_test_data): New variable.
28392 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28393
cbe8c4d3
JM
28394 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28395 with INVALID_EXCEPTION.
28396 (acosh_test_data): Likewise.
28397 (asin_test_data): Likewise.
28398 (atanh_test_data): Likewise.
28399 (fmod_test_data): Likewise.
28400 (log_test_data): Likewise.
28401 (log10_test_data): Likewise.
28402 (log2_test_data): Likewise.
28403 (pow_test_data): Likewise.
28404 (sqrt_test_data): Likewise.
28405 (y0_test_data): Likewise.
28406 (y1_test_data): Likewise.
28407 (yn_test_data): Likewise.
28408
5575c0e5
JM
28409 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28410 function contents.
28411
d369f531
JM
28412 * math/libm-test.inc (struct test_ff_i_data): New type.
28413 (RUN_TEST_LOOP_ff_i_tg): New macro.
28414 (isgreater_test_data): New variable.
28415 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28416 (isgreaterequal_test_data): New variable.
28417 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28418 (isless_test_data): New variable.
28419 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28420 (islessequal_test_data): New variable.
28421 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28422 (islessgreater_test_data): New variable.
28423 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28424 (isunordered_test_data): New variable.
28425 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28426
781fd748
DM
284272013-05-14 David S. Miller <davem@davemloft.net>
28428
28429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28430
87aa21df
JM
284312013-05-14 Joseph Myers <joseph@codesourcery.com>
28432
5e908270
JM
28433 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28434
f71172e5
JM
28435 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28436 extra_test to int.
28437 (struct test_f_i_data): Change type of max_ulp to int.
28438
8cfa635a
JM
28439 * math/libm-test.inc (test_ffI_f1_data): New type.
28440 (RUN_TEST_LOOP_ffI_f1): New macro.
28441 (remquo_test_data): New variable.
28442 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28443
2bcb36b2
JM
28444 * setjmp/tst-setjmp-fp.c: New file.
28445 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28446 (link-libm): New variable.
28447 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28448
acbd839a
JM
28449 * math/libm-test.inc (struct test_f_i_data): New type.
28450 (RUN_TEST_LOOP_f_i): New macro.
28451 (RUN_TEST_LOOP_f_i_tg): Likewise.
28452 (fpclassify_test_data): New variable.
28453 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28454 (ilogb_test_data): New variable.
28455 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28456
e414d745
JM
28457 * math/libm-test.inc (scalbln_test): Correct function name in END
28458 call.
28459
d9c2a0fd
JM
28460 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28461 (RUN_TEST_LOOP_fI_f1): New macro.
28462 (frexp_test_data): New variable.
28463 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28464
9dc9095d
JM
28465 * math/libm-test.inc (struct test_fF_f1_data): New type.
28466 (RUN_TEST_LOOP_fF_f1): New macro.
28467 (modf_test_data): New variable.
28468 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28469
87aa21df
JM
28470 * math/libm-test.inc (struct test_f_f1_data): New type.
28471 (RUN_TEST_LOOP_f_f1): New macro.
28472 (gamma_test_data): New variable.
28473 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28474 (lgamma_test_data): New variable.
28475 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28476
141af660
CD
284772013-05-13 Carlos O'Donell <carlos@redhat.com>
28478
28479 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28480 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28481 (main): Comment "tls" pseudo-hwcap.
28482
6d33265c
JM
284832013-05-13 Joseph Myers <joseph@codesourcery.com>
28484
68fc074c
JM
28485 * math/libm-test.inc (struct test_fl_f_data): New type.
28486 (RUN_TEST_LOOP_fl_f): New variable.
28487 (scalbln_test_data): New variable.
28488 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28489
243216e1
JM
28490 * math/libm-test.inc (struct test_fi_f_data): New type.
28491 (RUN_TEST_LOOP_fi_f): New macro.
28492 (ldexp_test_data): New variable.
28493 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28494 (scalbn_test_data): New variable.
28495 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28496
6a1992e2
JM
28497 * math/libm-test.inc (struct test_c_f_data): New type.
28498 (RUN_TEST_LOOP_c_f): New macro.
28499 (cabs_test_data): New variable.
28500 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28501 (carg_test_data): New variable.
28502 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28503 (cimag_test_data): New variable.
28504 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28505 (creal_test_data): New variable.
28506 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28507
0e400df5
JM
28508 * math/libm-test.inc (struct test_if_f_data): New type.
28509 (RUN_TEST_LOOP_if_f): New macro.
28510 (jn_test_data): New variable.
28511 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28512 (yn_test_data): New variable.
28513 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28514
6d33265c
JM
28515 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28516
f98ece5f
AZ
285172013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28518
28519 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28520 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28521
0f7d347b
SP
285222013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28523
43fe811b
SP
28524 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28525 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28526 (bench-deps): Add bench-timing.h.
28527 * benchtests-bench-skeleton.c: Include bench-timing.h.
28528 (main): Use TIMING_* macros instead of clock_gettime.
28529 * benchtests/bench-timing.h: New file.
28530
0f7d347b
SP
28531 [BZ #14582]
28532 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28533 Renamed from _LIB_VERSION.
28534 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28535
601a3a5f
JM
285362013-05-12 Joseph Myers <joseph@codesourcery.com>
28537
4f184d30
JM
28538 * math/libm-test.inc (struct test_fff_f_data): New type.
28539 (RUN_TEST_LOOP_fff_f): New macro.
28540 (fma_test_data): New variable.
28541 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28542 (fma_towardzero_test_data): New variable.
28543 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28544 (fma_downward_test_data): New variable.
28545 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28546 (fma_upward_test_data): New variable.
28547 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28548
08198877
JM
28549 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28550 (struct test_c_c_data): New type.
28551 (RUN_TEST_LOOP_c_c): New macro.
28552 (cacos_test_data): New variable.
28553 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28554 (cacosh_test_data): New variable.
28555 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28556 (casin_test_data): New variable.
28557 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28558 (casinh_test_data): New variable.
28559 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28560 (catan_test_data): New variable.
28561 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28562 (catanh_test_data): New variable.
28563 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28564 (ccos_test_data): New variable.
28565 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28566 (ccosh_test_data): New variable.
28567 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28568 (cexp_test_data): New variable.
28569 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28570 (clog_test_data): New variable.
28571 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28572 (clog10_test_data): New variable.
28573 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28574 (conj_test_data): New variable.
28575 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28576 (cproj_test_data): New variable.
28577 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28578 (csin_test_data): New variable.
28579 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28580 (csinh_test_data): New variable.
28581 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28582 (csqrt_test_data): New variable.
28583 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28584 (ctan_test_data): New variable.
28585 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28586 (ctan_tonearest_test_data): New variable.
28587 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28588 (ctan_towardzero_test_data): New variable.
28589 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28590 (ctan_downward_test_data): New variable.
28591 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28592 (ctan_upward_test_data): New variable.
28593 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28594 (ctanh_test_data): New variable.
28595 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28596 (ctanh_tonearest_test_data): New variable.
28597 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28598 (ctanh_towardzero_test_data): New variable.
28599 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28600 (ctanh_downward_test_data): New variable.
28601 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28602 (ctanh_upward_test_data): New variable.
28603 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28604 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28605 of BUILD_COMPLEX.
28606
601a3a5f
JM
28607 * math/libm-test.inc (struct test_ff_f_data): New type.
28608 (struct test_ff_f_data_nexttoward): Likewise.
28609 (RUN_TEST_LOOP_2_f): New macro.
28610 (RUN_TEST_LOOP_ff_f): Likewise.
28611 (atan2_test_data): New variable.
28612 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28613 (copysign_test_data): New variable.
28614 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28615 (fdim_test_data): New variable.
28616 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28617 (fmax_test_data): New variable.
28618 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28619 (fmin_test_data): New variable.
28620 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28621 (fmod_test_data): New variable.
28622 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28623 (hypot_test_data): New variable.
28624 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28625 (nextafter_test_data): New variable.
28626 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28627 (nexttoward_test_data): New variable.
28628 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28629 (pow_test_data): New variable.
28630 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28631 (pow_tonearest_test_data): New variable.
28632 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28633 (pow_towardzero_test_data): New variable.
28634 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28635 (pow_downward_test_data): New variable.
28636 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28637 (pow_upward_test_data): New variable.
28638 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28639 (remainder_test_data): New variable.
28640 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28641 (scalb_test_data): New variable.
28642 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28643 * sysdeps/i386/fpu/libm-test-ulps: Update.
28644
74c57478
JM
286452013-05-11 Joseph Myers <joseph@codesourcery.com>
28646
8329e4da
JM
28647 * math/libm-test.inc (fma_test): Use max_value instead of local
28648 variable fltmax.
28649 (nextafter_test): Likewise.
28650
74c57478
JM
28651 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28652 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28653 (acos_downward_test_data): New variable.
28654 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28655 (acos_upward_test_data): New variable.
28656 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28657 (acosh_test_data): New variable.
28658 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28659 (asin_test_data): New variable.
28660 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28661 (asin_tonearest_test_data): New variable.
28662 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28663 (asin_towardzero_test_data): New variable.
28664 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28665 (asin_downward_test_data): New variable.
28666 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28667 (asin_upward_test_data): New variable.
28668 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28669 (asinh_test_data): New variable.
28670 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28671 (atan_test_data): New variable.
28672 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28673 (atanh_test_data): New variable.
28674 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28675 (cbrt_test_data): New variable.
28676 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28677 (ceil_test_data): New variable.
28678 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28679 (cos_test_data): New variable.
28680 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28681 (cos_tonearest_test_data): New variable.
28682 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28683 (cos_towardzero_test_data): New variable.
28684 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28685 (cos_downward_test_data): New variable.
28686 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28687 (cos_upward_test_data): New variable.
28688 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28689 (cosh_test_data): New variable.
28690 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28691 (cosh_tonearest_test_data): New variable.
28692 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28693 (cosh_towardzero_test_data): New variable.
28694 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28695 (cosh_downward_test_data): New variable.
28696 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28697 (cosh_upward_test_data): New variable.
28698 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28699 (erf_test_data): New variable.
28700 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28701 (erfc_test_data): New variable.
28702 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28703 (exp_test_data): New variable.
28704 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28705 (exp_tonearest_test_data): New variable.
28706 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28707 (exp_towardzero_test_data): New variable.
28708 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28709 (exp_downward_test_data): New variable.
28710 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28711 (exp_upward_test_data): New variable.
28712 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28713 (exp10_test_data): New variable.
28714 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28715 (exp2_test_data): New variable.
28716 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28717 (expm1_test_data): New variable.
28718 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28719 (fabs_test_data): New variable.
28720 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28721 (floor_test_data): New variable.
28722 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28723 (j0_test_data): New variable.
28724 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28725 (j1_test_data): New variable.
28726 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28727 (log_test_data): New variable.
28728 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28729 (log10_test_data): New variable.
28730 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28731 (log1p_test_data): New variable.
28732 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28733 (log2_test_data): New variable.
28734 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28735 (logb_test_data): New variable.
28736 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28737 (logb_downward_test_data): New variable.
28738 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28739 (nearbyint_test_data): New variable.
28740 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28741 (rint_test_data): New variable.
28742 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28743 (rint_tonearest_test_data): New variable.
28744 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28745 (rint_towardzero_test_data): New variable.
28746 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28747 (rint_downward_test_data): New variable.
28748 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28749 (rint_upward_test_data): New variable.
28750 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28751 (round_test_data): New variable.
28752 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28753 (sin_test_data): New variable.
28754 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28755 (sin_tonearest_test_data): New variable.
28756 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28757 (sin_towardzero_test_data): New variable.
28758 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28759 (sin_downward_test_data): New variable.
28760 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28761 (sin_upward_test_data): New variable.
28762 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28763 (sinh_test_data): New variable.
28764 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28765 (sinh_tonearest_test_data): New variable.
28766 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28767 (sinh_towardzero_test_data): New variable.
28768 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28769 (sinh_downward_test_data): New variable.
28770 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28771 (sinh_upward_test_data): New variable.
28772 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28773 (sqrt_test_data): New variable.
28774 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28775 (tan_test_data): New variable.
28776 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28777 (tan_tonearest_test_data): New variable.
28778 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28779 (tan_towardzero_test_data): New variable.
28780 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28781 (tan_downward_test_data): New variable.
28782 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28783 (tan_upward_test_data): New variable.
28784 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28785 (tanh_test_data): New variable.
28786 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28787 (tgamma_test_data): New variable.
28788 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28789 (trunc_test_data): New variable.
28790 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28791 (y0_test_data): New variable.
28792 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28793 (y1_test_data): New variable.
28794 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28795 (significand_test_data): New variable.
28796 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28797
7187d844
CG
287982013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28799
28800 [BZ #12387]
28801 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28802
f63fae73
PT
288032013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28804
28805 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28806
8a67a4b3
AJ
288072013-05-10 Andreas Jaeger <aj@suse.de>
28808
28809 [BZ #15448]
28810 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28811 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28812
51df539d
JM
288132013-05-10 Joseph Myers <joseph@codesourcery.com>
28814
28815 * math/gen-libm-test.pl (adjust_arg): New function.
28816 (special_functions): Handle generating output in both functions
28817 and arrays.
28818 (parse_args): Likewise.
28819 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28820 $in_func argument to parse_args.
28821 * math/libm-test.inc (struct test_f_f_data): New type.
28822 (IF_ROUND_INIT_): New macro.
28823 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28824 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28825 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28826 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28827 (ROUND_RESTORE_): Likewise.
28828 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28829 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28830 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28831 (ROUND_RESTORE_FE_UPWARD): Likewise.
28832 (RUN_TEST_LOOP_f_f): New macro.
28833 (acos_test_data): New variable.
28834 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28835 (acos_tonearest_test_data): New variable.
28836 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28837
5c637fe5
SP
288382013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28839
28840 * benchtests/bench-skeleton.c (startup): Fix coding style.
28841
ab2b9461
JM
288422013-05-10 Joseph Myers <joseph@codesourcery.com>
28843
28844 [BZ #6809]
28845 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28846 negative infinity argument.
28847 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28848 negative infinity argument.
28849 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28850 negative infinity argument.
28851 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28852 domain errors.
28853
4c0fe6fe
FW
288542013-05-10 Florian Weimer <fweimer@redhat.com>
28855
28856 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28857 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28858 * iconv/iconv_prog.c (main): Likewise.
28859 * locale/programs/charmap-dir.c (charmap_readdir)
28860 (fopen_uncompressed): Likewise.
28861 * locale/programs/locfile.c (siblings_uncached)
28862 (write_locale_data): Use lstat64 instead of lstat.
28863 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28864 stat.
28865
a3375d29
AJ
288662013-05-10 Andreas Jaeger <aj@suse.de>
28867
28868 [BZ #15395]
28869 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28870 localization.
28871 Include <locale.h>.
28872
36129722
CD
288732013-05-09 Carlos O'Donell <carlos@redhat.com>
28874
28875 * elf/dl-close.c (_dl_close_worker): Add comments.
28876
faa7f811
JM
288772013-05-09 Joseph Myers <joseph@codesourcery.com>
28878
ed41ffef
JM
28879 [BZ #15359]
28880 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28881 high part of pi/2.
28882 (__ieee754_rem_pio2l): Update comments.
28883
d0213cd0
JM
28884 [BZ #15429]
28885 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28886 high part of pi/2.
28887 (__ieee754_rem_pio2l): Update comments.
28888
0d3e777a
JM
28889 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28890 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28891
24f56066
JM
28892 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28893 M_PI_4l.
28894
faa7f811
JM
28895 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28896 (M_PI_34_LOG10El): Likewise.
28897 (M_PI2_LOG10El): Likewise.
28898 (M_PI4_LOG10El): Likewise.
28899 (M_PI_LOG10El): Likewise.
28900
e9a5e0fd
AZ
289012013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28902
28903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28904
d8cd06db
JM
289052013-05-08 Joseph Myers <joseph@codesourcery.com>
28906
a0d9f9d7
JM
28907 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28908 (MINUS_ZERO_INIT): Likewise.
28909 (PLUS_INFTY_INIT): Likewise.
28910 (MINUS_INFTY_INIT): Likewise.
28911 (QNAN_VALUE_INIT): Likewise.
28912 (MAX_VALUE_INIT): Likewise.
28913 (MIN_VALUE_INIT): Likewise.
28914 (MIN_SUBNORM_VALUE_INIT): Likewise.
28915 (plus_zero): Initialize with PLUS_ZERO_INIT.
28916 (minus_zero): Initialize with MINUS_ZERO_INIT.
28917 (plus_infty): Initialize with PLUS_INFTY_INIT.
28918 (minus_infty): Initialize with MINUS_INFTY_INIT.
28919 (qnan_value): Initialize with QNAN_VALUE_INIT.
28920 (max_value): Initialize with MAX_VALUE_INIT.
28921 (min_value): Initialize with MIN_VALUE_INIT.
28922 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28923
ae08db3b
JM
28924 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28925 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28926 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28927 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28928
f44bf14a
JM
28929 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28930 (RUN_TEST_2_f): Likewise.
28931 (RUN_TEST_ff_f): Likewise.
28932 (RUN_TEST_fi_f): Likewise.
28933 (RUN_TEST_fl_f): Likewise.
28934 (RUN_TEST_fff_f): Likewise.
28935 (RUN_TEST_c_f): Likewise.
28936 (RUN_TEST_f_f1): Likewise.
28937 (RUN_TEST_fF_f1): Likewise.
28938 (RUN_TEST_fI_f1): Likewise.
28939 (RUN_TEST_ffI_f1): Likewise.
28940 (RUN_TEST_c_c): Likewise.
28941 (RUN_TEST_cc_c): Likewise.
28942 (RUN_TEST_f_i): Likewise.
28943 (RUN_TEST_f_i_tg): Likewise.
28944 (RUN_TEST_ff_i_tg): Likewise.
28945 (RUN_TEST_f_b): Likewise.
28946 (RUN_TEST_f_b_tg): Likewise.
28947 (RUN_TEST_f_l): Likewise.
28948 (RUN_TEST_f_L): Likewise.
28949 (RUN_TEST_sincos): Likewise.
28950 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28951 whether to show exceptions. Do not include ");\n" in return
28952 value.
28953 (special_functions): Output call to RUN_TEST_sincos instead of
28954 check_float calls. Update calls to new_test.
28955 (parse_args): Output call to single RUN_TEST_* macro instead of
28956 check_* calls and other assignments. Update calls to new_test.
28957
d8cd06db
JM
28958 [BZ #2546]
28959 [BZ #2560]
28960 [BZ #5159]
28961 [BZ #15426]
28962 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28963 input to result for tgamma overflow.
28964 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28965 (gamma_coeff): New variable.
28966 (NCOEFF): New macro.
28967 (gamma_positive): New function.
28968 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28969 underflow here. Use gamma_positive instead of exp (lgamma) for
28970 other arguments.
28971 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28972 (gamma_coeff): New variable.
28973 (NCOEFF): New macro.
28974 (gammaf_positive): New function.
28975 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28976 underflow here. Use gamma_positive instead of exp (lgamma) for
28977 other arguments.
28978 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28979 (gamma_coeff): New variable.
28980 (NCOEFF): New macro.
28981 (gammal_positive): New function.
28982 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28983 underflow here. Use gamma_positive instead of exp (lgamma) for
28984 other arguments.
28985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28986 (gamma_coeff): New variable.
28987 (NCOEFF): New macro.
28988 (gammal_positive): New function.
28989 (__ieee754_gammal_r): Handle positive infinity, overflow and
28990 underflow here. Handle NaN the same as positive infinity. Remove
28991 check x < 0xffffffff for negative integers. Use gamma_positive
28992 instead of exp (lgamma) for other arguments.
28993 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28994 (gamma_coeff): New variable.
28995 (NCOEFF): New macro.
28996 (gammal_positive): New function.
28997 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28998 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29002 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29003 * sysdeps/generic/math_private.h (__gamma_productf): New
29004 prototype.
29005 (__gamma_product): Likewise.
29006 (__gamma_productl): Likewise.
29007 * math/Makefile (libm-calls): Add gamma_product.
29008 * math/libm-test.inc (tgamma_test): Add more tests.
29009 * sysdeps/i386/fpu/libm-test-ulps: Update.
29010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29011
bb7cf681
OB
290122013-05-08 Ondřej Bílka <neleai@seznam.cz>
29013
29014 * benchtests/bench-skeleton.c (main): Preheat CPU.
29015
ba853947
AJ
290162013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29017
29018 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29019
8347c74c
RM
290202013-05-07 Roland McGrath <roland@hack.frob.com>
29021
29022 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29023 and _dl_skip_args_internal.
29024
e8dd4791
CD
290252013-05-07 Carlos O'Donell <carlos@redhat.com>
29026
29027 * manual/message.texi (Message Translation): Talk about users.
29028 Message to key mapping impacts design.
29029
c7405830
RM
290302013-05-06 Roland McGrath <roland@hack.frob.com>
29031
a9173057
RM
29032 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29033
976e2f03
RM
29034 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29035
9723ffc5
RM
29036 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29037 * sysdeps/wordsize-64/glob64.c: ... here.
29038
962e6658
RM
29039 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29040 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29041 New macros.
29042
ee586a6d
RM
29043 * debug/getlogin_r_chk.c: Moved to ...
29044 * login/getlogin_r_chk.c: ... here.
29045 * debug/Makefile (routines): Move getlogin_r_chk to ...
29046 * login/Makefile (routines): ... here.
29047 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29048 * login/Versions (libc: GLIBC_2.4): ... here.
29049
355f9165
RM
29050 * io/poll.c (__poll): Renamed from poll.
29051 Add libc_hidden_def.
29052 (poll): Define as weak alias.
29053
bd9ffde6
RM
29054 * debug/ptsname_r_chk.c: Moved to ...
29055 * login/ptsname_r_chk.c: ... here.
29056 * debug/Makefile (routines): Move ptsname_r_chk to ...
29057 * login/Makefile (routines): ... here.
29058 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29059 * login/Versions (libc: GLIBC_2.4): ... here.
29060
8fb16a04
RM
29061 * posix/getlogin.c: Moved to ...
29062 * login/getlogin.c: ... here.
29063 * posix/getlogin_r.c: Moved to ...
29064 * login/getlogin_r.c: ... here.
29065 * posix/getlogin_r.c: Moved to ...
29066 * login/getlogin_r.c: ... here.
29067 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29068 * login/Makefile (routines): ... here.
29069 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29070 * login/Versions (libc: GLIBC_2.0): ... here.
29071
b99b892f
RM
29072 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29073 (setrlimit): Define as weak alias.
29074
c7405830
RM
29075 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29076 Call __ names for open, ftruncate, and close.
29077 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29078 (truncate): Define as weak alias.
29079
5bf96de5
JM
290802013-05-06 Joseph Myers <joseph@codesourcery.com>
29081
9ea3513c
JM
29082 * math/gen-libm-test.pl (parse_args): Initialize x before each
29083 test of frexp, modf and remquo.
29084
5bf96de5
JM
29085 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29086 test signgam value.
29087
16e616a7
AZ
290882013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29089
29090 [BZ #15418]
29091 [BZ #15419]
29092 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29093 internal tests.
29094 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29095
d5e82754
RM
290962013-05-06 Roland McGrath <roland@hack.frob.com>
29097
29098 * elf/dl-writev.h: New file.
29099 * elf/dl-misc.c: Include it.
29100 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29101 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29102
a7548d41
JM
291032013-05-04 Joseph Myers <joseph@codesourcery.com>
29104
b7dab1e4
JM
29105 * math/libm-test.inc (noXFails): Remove variable.
29106 (noXPasses): Likewise.
29107 (BUILD_COMPLEX_INT): Remove macro.
29108 (print_screen): Remove xfail argument.
29109 (print_screen_max_error): Likewise.
29110 (update_stats): Likewise.
29111 (print_max_error): Likewise. Update calls to other affected
29112 functions.
29113 (print_complex_max_error): Likewise.
29114 (test_single_exception): Update calls to print_screen.
29115 (test_single_errno): Likewise.
29116 (check_float_internal): Remove xfail argument. Update calls to
29117 other affected functions.
29118 (check_float): Likewise.
29119 (check_complex): Likewise.
29120 (check_int): Likewise.
29121 (check_long): Likewise.
29122 (check_bool): Likewise.
29123 (check_longlong): Likewise.
29124 (main): Don't print noXFails and noXPasses.
29125 * math/gen-libm-test.pl (top level): Don't mention expected
29126 failure handling in comment.
29127 (new_test): Don't handle expected failures.
29128 (parse_args): Don't mention expected failure handling in comment.
29129 (generate_testfile): Don't handle expected failures.
29130 (parse_ulps): Likewise.
29131 (print_ulps_file): Likewise.
29132 (get_failure): Remove function.
29133 (output_test): Don't handle expected failures.
29134 * make/README.libm-test: Don't mention expected failure handling.
29135
a7548d41
JM
29136 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29137 (minus_zero): Likewise.
29138 (plus_infty): Likewise.
29139 (minus_infty): Likewise.
29140 (qnan_value): Likewise.
29141 (max_value): Likewise.
29142 (min_value): Likewise.
29143 (min_subnorm_value): Likewise.
29144 (initialize): Do not initialize those variables dynamically.
29145
60bfd54c
RM
291462013-05-03 Roland McGrath <roland@hack.frob.com>
29147
cc0e6ed8
RM
29148 * io/open.c (__open_2): Moved to ...
29149 * io/open_2.c: ... this new file.
29150 * io/open64.c (__open64_2): Moved to ...
29151 * io/open64_2.c: ... this new file.
29152 * io/openat.c (__openat_2): Moved to ...
29153 * io/openat_2.c: ... this new file.
29154 * io/openat64.c (__openat64_2): Moved to ...
29155 * io/openat64_2.c: ... this new file.
29156 * io/Makefile (routines): Add them.
29157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29158 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29159 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29160 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29161 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29162 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29163 (__openat64): Add hidden_ver.
29164 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29165 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29166
60bfd54c
RM
29167 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29168 Separately conditionalize setting of GLRO(dl_sysinfo) so
29169 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29170 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29171
83e7640f
AZ
291722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29173
29174 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29176 definition.
29177 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29178 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29179 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29180 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29181 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29182
d5dc2af3
JM
291832013-05-03 Joseph Myers <joseph@codesourcery.com>
29184
c31a5b1e
JM
29185 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29186 test signgam value.
29187
d5dc2af3
JM
29188 * math/libm-test.inc (hypot_test): Do not use
29189 IGNORE_ZERO_INF_SIGN.
29190
164fd39d
AJ
291912013-05-03 Andreas Jaeger <aj@suse.de>
29192
29193 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29194 Linux 3.9.
29195 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29196 (PF_MAX): Adjust for VSOCK change.
29197
8237f48c
AZ
291982013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29199
29200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29201
9df02941
CD
292022013-05-02 Carlos O'Donell <carlos@redhat.com>
29203
29204 [BZ #15264]
29205 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29206 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29207 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29208
d422395e
DM
292092013-05-02 David S. Miller <davem@davemloft.net>
29210
29211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29212
a07c5731
OB
292132013-05-01 Ondřej Bílka <neleai@seznam.cz>
29214
29215 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29216
1324e37f
RM
292172013-05-01 Roland McGrath <roland@hack.frob.com>
29218
29219 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29220
0695940b
RS
292212013-05-01 Richard Smith <richard@metafoo.co.uk>
29222
bb5f27ad 29223 [BZ #14952]
0695940b
RS
29224 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29225 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29226 Use __attribute__ ((__gnu_inline__)).
29227 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29228 Don't use __attribute__ ((__gnu_inline__)).
29229
10de07f5
JM
292302013-05-01 Joseph Myers <joseph@codesourcery.com>
29231
29232 [BZ #15423]
29233 * math/s_catan.c (__catan): Handle small real or imaginary part of
29234 input specially to avoid spurious underflow.
29235 * math/s_catanf.c (__catanf): Likewise.
29236 * math/s_catanh.c (__catanh): Likewise.
29237 * math/s_catanhf.c (__catanhf): Likewise.
29238 * math/s_catanhl.c (__catanhl): Likewise.
29239 * math/s_catanl.c (__catanl): Likewise.
29240 * math/libm-test.inc (catan_test): Add more tests.
29241 (catanh_test): Likewise.
29242 * sysdeps/i386/fpu/libm-test-ulps: Update.
29243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29244
cb4d5414
AZ
292452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29246
29247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29248
caf84319
JM
292492013-04-30 Joseph Myers <joseph@codesourcery.com>
29250
29251 [BZ #15416]
29252 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29253 accurately for denominator in atan2.
29254 * math/s_catanf.c (__catanf): Likewise.
29255 * math/s_catanh.c (__catanh): Likewise.
29256 * math/s_catanhf.c (__catanhf): Likewise.
29257 * math/s_catanhl.c (__catanhl): Likewise.
29258 * math/s_catanl.c (__catanl): Likewise.
29259 * math/libm-test.inc (catan_test): Add more tests.
29260 (catanh_test): Likewise.
29261 * sysdeps/i386/fpu/libm-test-ulps: Update.
29262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29263
d569c6ee
SP
292642013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29265
6dbe713d
SP
29266 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29267
f0ee064b
SP
29268 * benchtests/Makefile (bench): Remove slow benchmarks.
29269 * benchtests/atan-inputs: Add slow benchmark inputs.
29270 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29271 (BENCH_FUNC): Accept variant offset.
29272 (VARIANT): Define.
29273 * benchtests/bench-skeleton.c (main): Run benchmark for each
29274 variant.
29275 * benchtests/cos-inputs: Add slow benchmark inputs.
29276 * benchtests/exp-inputs: Likewise.
29277 * benchtests/pow-inputs: Likewise.
29278 * benchtests/sin-inputs: Likewise.
29279 * benchtests/slowatan-inputs: Remove.
29280 * benchtests/slowatan.c: Remove.
29281 * benchtests/slowcos-inputs: Remove.
29282 * benchtests/slowcos.c: Remove.
29283 * benchtests/slowexp-inputs: Remove.
29284 * benchtests/slowexp.c: Remove.
29285 * benchtests/slowpow-inputs: Remove.
29286 * benchtests/slowpow.c: Remove.
29287 * benchtests/slowsin-inputs: Remove.
29288 * benchtests/slowsin.c: Remove.
29289 * benchtests/slowtan-inputs: Remove.
29290 * benchtests/slowtan.c: Remove.
29291 * benchtests/tan-inputs: Add slow benchmark inputs.
29292 * scripts/bench.pl: Parse comments and directives.
29293
d569c6ee
SP
29294 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29295 in CPPFLAGS.
29296 ($(objpfx)bench-%.c): Remove *-ITER.
29297 * benchtests/bench-modf.c: Remove definition of ITER.
29298 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29299 (main): Loop for DURATION seconds instead of fixed number of
29300 iterations.
29301 * scripts/bench.pl: Don't expect iterations in parameters.
29302
a6a242fe
RM
293032013-04-29 Roland McGrath <roland@hack.frob.com>
29304
29305 * io/fchdir.c (__fchdir): Renamed from fchdir.
29306 (fchdir): Define as weak alias.
29307
f2da7793
JM
293082013-04-29 Joseph Myers <joseph@codesourcery.com>
29309
29310 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29311 (ERRNO_EDOM): Likewise.
29312 (ERRNO_ERANGE): Likewise.
29313 (noErrnoTests): New variable.
29314 (init_max_error): Set errno to 0.
29315 (test_single_errno): New function.
29316 (test_errno): Likewise.
29317 (check_float_internal): Call test_errno. Set errno to 0.
29318 (check_complex): Refer to errno tests in comment.
29319 (check_int): Call test_errno. Set errno to 0.
29320 (check_long): Likewise.
29321 (check_bool): Likewise.
29322 (check_longlong): Likewise.
29323 (cos_test): Use ERRNO_* flags for errno tests instead of
29324 check_int.
29325 (expm1_test): Likewise.
29326 (fmod_test): Likewise.
29327 (ilogb_test): Likewise.
29328 (lgamma_test): Likewise.
29329 (pow_test): Likewise.
29330 (remainder_test): Likewise.
29331 (sin_test): Likewise.
29332 (tan_test): Likewise.
29333 (yn_test): Likewise.
29334 (initialize): Set errno to 0.
29335 (main): Print number of errno tests.
29336 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29337
b1a36ceb
AJ
293382013-04-29 Andreas Jaeger <aj@suse.de>
29339
c3ed8088
AJ
29340 [BZ #15084]
29341 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29342 and RES_USEVC.
29343
f1a24198
AJ
29344 [BZ #15085]
29345 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29346 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29347 unimplemented.
29348
9ce3b2cb
AJ
29349 [BZ #15380]
29350 * stdlib/random.c (__initstate): Return NULL if
29351 __initstate fails.
29352
f1a24198 29353 [BZ #15086]
b1a36ceb
AJ
29354 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29355 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29356 RES_SNGLKUPREOP.
29357
7e7b6f36
AZ
293582013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29359
29360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29361
4d14f449
JM
293622013-04-29 Joseph Myers <joseph@codesourcery.com>
29363
29364 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29365 of individual tests.
29366 (casin_test): Likewise.
29367 (casinh_test): Likewise.
29368
5b4217d7
JM
293692013-04-27 Joseph Myers <joseph@codesourcery.com>
29370
29371 [BZ #15409]
29372 * math/s_catan.c (__catan): Handle arguments with large real or
29373 imaginary part separately without squaring.
29374 * math/s_catanf.c (__catanf): Likewise.
29375 * math/s_catanh.c (__catanh): Likewise.
29376 * math/s_catanhf.c (__catanhf): Likewise.
29377 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29378 and redefine.
29379 (__catanhl): Handle arguments with large real or imaginary part
29380 separately without squaring.
29381 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29382 and redefine.
29383 (__catanl): Handle arguments with large real or imaginary part
29384 separately without squaring.
29385 * math/libm-test.inc (catan_test): Add more tests.
29386 (catanh_test): Likewise.
29387 * sysdeps/i386/fpu/libm-test-ulps: Update.
29388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29389
4220c3ef
AJ
293902013-04-27 Andreas Jaeger <aj@suse.de>
29391
29392 [BZ #15007]
29393 * stdlib/stdlib.h: Update guards for qecvt.
29394 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29395 <stdlib.h>.
29396
4721b2d1
AM
293972013-04-27 Allan McRae <allan@archlinux.org>
29398
29399 * sysdeps/i386/fpu/libm-test-ulps: Update.
29400
f0302940
JM
294012013-04-26 Joseph Myers <joseph@codesourcery.com>
29402
9457fd95
JM
29403 [BZ #15406]
29404 * math/s_catan.c: Include <float.h>.
29405 (__catan): Ensure underflow exception occurs for underflowed
29406 result.
29407 * math/s_catanf.c: Include <float.h>.
29408 (__catanf): Ensure underflow exception occurs for underflowed
29409 result.
29410 * math/s_catanh.c: Include <float.h>.
29411 (__catanh): Ensure underflow exception occurs for underflowed
29412 result.
29413 * math/s_catanhf.c: Include <float.h>.
29414 (__catanhf): Ensure underflow exception occurs for underflowed
29415 result.
29416 * math/s_catanhl.c: Include <float.h>.
29417 (__catanhl): Ensure underflow exception occurs for underflowed
29418 result.
29419 * math/s_catanl.c: Include <float.h>.
29420 (__catanl): Ensure underflow exception occurs for underflowed
29421 result.
29422 * math/libm-test.inc (catan_test): Add more tests.
29423 (catanh_test): Likewise.
29424
f0302940
JM
29425 [BZ #15405]
29426 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29427 underflowed result.
29428 * math/s_ccoshf.c (__ccoshf): Likewise.
29429 * math/s_ccoshl.c (__ccoshl): Likewise.
29430 * math/s_csin.c (__csin): Likewise.
29431 * math/s_csinf.c (__csinf): Likewise.
29432 * math/s_csinh.c (__csinh): Likewise.
29433 * math/s_csinhf.c (__csinhf): Likewise.
29434 * math/s_csinhl.c (__csinhl): Likewise.
29435 * math/s_csinl.c (__csinl): Likewise.
29436 * math/libm-test.inc (ccos_test): Add more tests.
29437 (ccosh_test): Likewise.
29438 (csin_test): Likewise.
29439 (csinh_test): Likewise.
29440
aa630f59
AZ
294412013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29442
29443 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29444 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29445 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29446 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29447 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29448 powerpc/power5+/fpu folders.
29449 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29450
29451
1b835983
MT
294522013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29453
29454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29455
73709b26
JM
294562013-04-25 Joseph Myers <joseph@codesourcery.com>
29457
29458 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29459 additions to variable.
29460 [$(config-machine) = x86_64] (modules-names): Likewise.
29461 ($(objpfx)tst-audit3): Remove dependency.
29462 ($(objpfx)tst-audit3.out): Likewise.
29463 ($(objpfx)tst-audit4): Likewise.
29464 ($(objpfx)tst-audit4.out): Likewise.
29465 ($(objpfx)tst-audit5): Likewise.
29466 ($(objpfx)tst-audit5.out): Likewise.
29467 ($(objpfx)tst-audit6): Likewise.
29468 ($(objpfx)tst-audit6.out): Likewise.
29469 ($(objpfx)tst-audit7): Likewise.
29470 ($(objpfx)tst-audit7.out): Likewise.
29471 (tst-audit3-ENV): Remove variable.
29472 (tst-audit4-ENV): Likewise.
29473 (tst-audit5-ENV): Likewise.
29474 (tst-audit6-ENV): Likewise.
29475 (tst-audit7-ENV): Likewise.
29476 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29477 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29478 addition to variable.
29479 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29480 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29481 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29482 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29483 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29484 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29485 tst-audit3, tst-audit4 and tst-audit5.
29486 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29487 tst-audit6 and tst-audit7.
29488 [$(subdir) = elf] (modules-names): Add audit modules for those
29489 tests.
29490 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29491 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29492 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29493 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29494 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29495 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29496 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29497 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29498 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29499 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29500 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29501 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29502 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29503 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29504 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29505 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29506 Likewise.
29507 [$(subdir) = elf && $(config-cflags-avx) = yes]
29508 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29509 [$(subdir) = elf && $(config-cflags-avx) = yes]
29510 (CFLAGS-tst-auditmod4a.c): Likewise.
29511 [$(subdir) = elf && $(config-cflags-avx) = yes]
29512 (CFLAGS-tst-auditmod4b.c): Likewise.
29513 [$(subdir) = elf && $(config-cflags-avx) = yes]
29514 (CFLAGS-tst-auditmod6b.c): Likewise.
29515 [$(subdir) = elf && $(config-cflags-avx) = yes]
29516 (CFLAGS-tst-auditmod6c.c): Likewise.
29517 [$(subdir) = elf && $(config-cflags-avx) = yes]
29518 (CFLAGS-tst-auditmod7b.c): Likewise.
29519 * elf/tst-audit3.c: Move to ...
29520 * sysdeps/x86_64/tst-audit3.c: ... here.
29521 * elf/tst-audit4.c: Move to ...
29522 * sysdeps/x86_64/tst-audit4.c: ... here.
29523 * elf/tst-audit5.c: Move to ...
29524 * sysdeps/x86_64/tst-audit5.c: ... here.
29525 * elf/tst-audit6.c: Move to ...
29526 * sysdeps/x86_64/tst-audit6.c: ... here.
29527 * elf/tst-audit7.c: Move to ...
29528 * sysdeps/x86_64/tst-audit7.c: ... here.
29529 * elf/tst-auditmod3a.c: Move to ...
29530 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29531 * elf/tst-auditmod3b.c: Move to ...
29532 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29533 * elf/tst-auditmod4a.c: Move to ...
29534 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29535 * elf/tst-auditmod4b.c: Move to ...
29536 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29537 * elf/tst-auditmod5a.c: Move to ...
29538 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29539 * elf/tst-auditmod5b.c: Move to ...
29540 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29541 * elf/tst-auditmod6a.c: Move to ...
29542 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29543 * elf/tst-auditmod6b.c: Move to ...
29544 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29545 * elf/tst-auditmod6c.c: Move to ...
29546 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29547 * elf/tst-auditmod7a.c: Move to ...
29548 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29549 * elf/tst-auditmod7b.c: Move to ...
29550 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29551
1ef74943
PP
295522013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29553
29554 [BZ #15366]
29555 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29556 define unconditionally.
29557 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29558 define unconditionally.
29559 (INT8_C, INT16_C, etc.): Likewise.
29560
93fd48c5
MR
295612013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29562
ae9552cf
MR
29563 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29564 __ehdr_start with hidden visibility.
29565
93fd48c5
MR
29566 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29567
418601aa
CD
295682013-04-24 Carlos O'Donell <carlos@redhat.com>
29569
29570 * math/libm-test.inc (cos_test): Use accurate hex constants.
29571 (sincost_test): Likewise.
29572
2f38fbfe
JM
295732013-04-24 Joseph Myers <joseph@codesourcery.com>
29574
5e221800
JM
29575 * math/libm-test.inc (catan_test): Add more tests.
29576 (catanh_test): Likewise.
29577
77f143fd
JM
29578 * math/s_catanf.c (__catanf): Use suffixed floating-point
29579 constants.
29580 * math/s_catanhf.c (__catanhf): Likewise.
29581 * math/s_catanhl.c (__catanhl): Likewise.
29582 * math/s_catanl.c (__catanl): Likewise.
29583
2f38fbfe
JM
29584 [BZ #15394]
29585 * math/s_catan.c (__catan): Calculate imaginary part of result
29586 with log1p not log unless computing log of number close to 0.
29587 * math/s_catanf.c (__catanf): Likewise.
29588 * math/s_catanl.c (__catanl): Likewise.
29589 * math/s_catanh.c (__catanh): Calculate real part of result with
29590 log1p not log unless computing log of number close to 0.
29591 * math/s_catanhf.c (__catanhf): Likewise.
29592 * math/s_catanhl.c (__catanhl): Likewise.
29593 * math/libm-test.inc (catan_test): Add more tests.
29594 (catanh_test): Likewise.
29595 * sysdeps/i386/fpu/libm-test-ulps: Update.
29596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29597
45d69176
SP
295982013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29599
29600 * benchtests/Makefile: Mention files in which fast and slow
29601 paths of math functions are implemented.
29602
87f51853
RM
296032013-04-23 Roland McGrath <roland@hack.frob.com>
29604
29605 * sysdeps/posix/timespec_get.c: New file.
29606
3c026539
AZ
296072013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29608
29609 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29610 POWER.
29611 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29612 for POWER.
29613 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29614 powerpc/power5/fpu folders.
29615 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29616 * benchtests/Makefile: Add modf testcase.
29617 * benchtests/bench-modf.c: New file: Benchmark test for mo
29618
ff491d14
SP
296192013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29620
29621 [BZ #14888]
29622 * time/Makefile (tests): Add tst-strptime-whitespace.
29623 * time/strptime_l.c (get_number): Use ISSPACE.
29624 (__strptime_internal): Likewise.
29625 * time/tst-strptime-whitespace.c: New test case.
29626
7ed3f4e8
AS
296272013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29628
29629 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29630 member.
29631 (_nss_files_init): Set it here.
29632
5c95f7b6
HC
296332013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29634
29635 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29636 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29637 unsigned.
29638
d34c9158
JBG
296392013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29640
29641 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29642
2169712d
SP
296432013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29644
29645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29646 size just once.
29647
29c5de99
DM
296482013-04-21 David S. Miller <davem@davemloft.net>
29649
29650 * po/ru.po: Update Russion translation from translation project.
29651
ccdad15d
AC
296522013-04-17 Adam Conrad <adconrad@0c3.net>
29653
29654 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29655 and setfsgid.
29656
0f122b8d
CD
296572013-04-17 Carlos O'Donell <carlos@redhat.com>
29658
5c5b07da 29659 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29660 * configure: Regenerate.
5c5b07da 29661 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29662 Add example to error message.
29663 * sysdeps/i386/configure: Regenerate.
29664
037714dd
SP
296652013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29666
29667 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29668 slowtan.
29669 * benchtests/cos-inputs: New file.
29670 * benchtests/slowcos-inputs: New file.
29671 * benchtests/slowcos.c: New file.
29672 * benchtests/slowtan-inputs: New file.
29673 * benchtests/slowtan.c: New file.
29674 * benchtests/tan-inputs: New file.
29675
e913141d
RM
296762013-04-16 Roland McGrath <roland@hack.frob.com>
29677
29678 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29679 considered kosher.
29680
a2964074
SP
296812013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29682
4856bcd2
SP
29683 * benchtests/Makefile: Include cppflags-iterator.mk to add
29684 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29685
a2964074
SP
29686 * Makefile.in (bench-clean): New target.
29687 * benchtests/Makefile (bench-clean): Likewise.
29688
9fbf9aca
DH
296892013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29690
29691 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29692
207d1e2a
TS
296932013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29694
29695 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29696
306dfba9
AS
296972013-04-15 Andreas Schwab <schwab@suse.de>
29698
29699 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29700 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29701 * nscd/pwdcache.c (cache_addpw): Likewise.
29702 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29703 more than recsize.
29704
206a6699
SP
297052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29706
29707 * benchtests/Makefile (bench): Write all output to
29708 bench-out.tmp together.
29709
0582f6b3
AS
297102013-04-15 Andreas Schwab <schwab@suse.de>
29711
29712 * nscd/nscd.c (main): Don't fork again after closing files.
29713
acb4325f
SP
297142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29715
5cb26d0a
SP
29716 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29717
acb4325f
SP
29718 * benchtests/Rules (bench-deps): Collect dependencies into a
29719 single variable. Add Makefile to dependencies.
29720 ($(objpfx)bench-%.c): Depend on bench-deps.
29721
47792506
RM
297222013-04-12 Roland McGrath <roland@hack.frob.com>
29723 Xavier Roche <roche+kml2@exalead.com>
29724
29725 [BZ #15361]
29726 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29727 just that it's a file descriptor.
29728 * manual/llio.texi (Synchronizing AIO Operations): Update description
29729 for EBADF error from aio_fsync.
29730
8fc1bee5
SP
297312013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29732
29733 * Rules (bench): Move target definition...
29734 * benchtests/Makefile: ... here.
29735
aba5e333
CD
297362013-04-11 Carlos O'Donell <carlos@redhat.com>
29737
29738 * math/libm-test.inc (cos_test): Fix PI/2 test.
29739 (sincos_test): Likewise.
29740 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29741 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29742
273cdee8
AS
297432013-04-11 Andreas Schwab <schwab@suse.de>
29744
6ecec3b6
AS
29745 [BZ #13988]
29746 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29747 accept exponent character only when digits were seen.
29748 * stdio-common/Makefile (tests): Add bug26.
29749 * stdio-common/bug26.c: New file.
29750
273cdee8
AS
29751 [BZ #14293]
29752 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29753 non-freeable.
29754
8da491f5
SP
297552013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29756
01dc6df9
SP
29757 * Makeconfig (rtld-prefix): Define built linker prefix.
29758 * Rules (run-bench): Use it.
29759 * math/Makefile (run-regen-ulps): Likewise.
29760
8da491f5
SP
29761 * Rules (bench): Remove eval.
29762
abe7f530
SP
297632013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29764 Roland McGrath <roland@hack.frob.com>
29765 Ondrej Bilka <neleai@seznam.cz>
29766
29767 [BZ #15346]
29768 * time/getdate.c: Include ctype.h and alloca.h.
29769 (__getdate_r): Trim leading and trailing spaces of input.
29770 * time/tst-getdate.c (tests): Add tests with leading and
29771 trailing spaces.
29772
61c23e62
RM
297732013-04-08 Roland McGrath <roland@hack.frob.com>
29774
29775 [BZ #14280]
29776 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29777 when computing value.
29778
7208a313
CD
297792013-04-06 Carlos O'Donell <carlos@redhat.com>
29780
085b2d41
CD
29781 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29782 Use testrun.sh to run libm tests.
29783
7208a313
CD
29784 [BZ #15309]
29785 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29786
872c0acd
MM
297872013-04-06 Marko Myllynen <myllynen@redhat.com>
29788
29789 [BZ #15264]
29790 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29791
26510bdd
CD
297922013-04-06 Carlos O'Donell <carlos@redhat.com>
29793
29794 * Makefile.in (regen-ulps): New target.
29795 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29796 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29797 [ifneq (no,$(PERL)] (regen-ulps): New target.
29798 [ifeq (no,$(PERL)] (regen-ulps): New target.
29799 * math/libm-test.inc (ulps_file_name): Define.
29800 (output_dir): New variable.
29801 (options): Add "output-dir" option.
29802 (parse_opt): Handle 'o' case.
29803 (main): If output_dir is non-NULL use it as a prefix
29804 otherwise use "".
29805 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29806
a01f19c8
CD
298072013-04-06 Carlos O'Donell <carlos@redhat.com>
29808
29809 [BZ #10060, #10062]
29810 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29811 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29812 fail configure if __sync_val_compare_and_swap is not inlined.
29813 * sysdeps/i386/configure: Regenerate.
29814 * configure.in: Build for i686 when configured for i386.
29815 * configure: Regenerate.
29816 * README: Remove i386 reference.
29817
b7a329a5
CD
298182013-04-06 Carlos O'Donell <carlos@redhat.com>
29819
29820 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29821 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29822
bf0f50df
TS
298232013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29824
ee091edf
TS
29825 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29826 (lmsnanval): New variables.
29827 (F): Add conversion tests.
29828 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29829 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29830
a8b792d6
TS
29831 * stdio-common/tstdiomisc.c (F): Properly collect individual
29832 tests' results.
29833
a1cbf437
TS
29834 [BZ #14686, #15336]
29835 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29836 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29837 Instead, use input NaN values or generate a qNaN by arithmetic
29838 operation. Also fix bugs to comply with the standard.
29839 * math/libm-test.inc (remainder_test): Add more tests.
29840
8b43a0c9
TS
29841 [BZ #15335, #15342]
29842 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29844 input NaN values or generate a qNaN by arithmetic operation.
29845
d91da4ce
TS
29846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29847 unreachable code.
29848
bf0f50df
TS
29849 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29850 definitions.
29851
05e166c8
JM
298522013-04-03 Joseph Myers <joseph@codesourcery.com>
29853
29854 [BZ #14478]
29855 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29856 underflowed result.
29857 * math/s_cexpf.c (__cexpf): Likewise.
29858 * math/s_cexpl.c (__cexpl): Likewise.
29859 * math/libm-test.inc (cexp_test): Add more tests.
29860
1cef1b19
AS
298612013-04-03 Andreas Schwab <schwab@suse.de>
29862
29863 [BZ #15330]
29864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29865 order arrays from heap if bigger than alloca cutoff.
29866
74d87055
TS
298672013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29868
29869 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29870 (SNAN_TESTS_double): Refer to GCC PR56831.
29871 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29872 GCC PR56828.
29873
d755bba4
SP
298742013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29875
90d5d5bb
SP
29876 * Rules (bench): Move bench.out after the run is complete.
29877
73e0cd5d
SP
29878 * Rules (bench): Echo currently running benchmark.
29879
64aabd4b
SP
29880 * benchtests/Makefile (bench): Add atan and slowatan.
29881 * benchtests/atan-inputs: New file.
29882 * benchtests/slowatan-inputs: New file.
29883 * benchtests/slowatan.c: New file.
29884
c871eccd
SP
29885 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29887 its value.
29888
d755bba4
SP
29889 [BZ #15305]
29890 * sysdeps/unix/sysv/linux/kernel-features.h
29891 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29892 __ASSUME_XFS_RESTRICTED_CHOWN.
29893 * sysdeps/unix/sysv/linux/pathconf.c
29894 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29895 Save and restore errno.
29896
52ce4860
JM
298972013-04-02 Joseph Myers <joseph@codesourcery.com>
29898
29899 [BZ #15327]
29900 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29901 arguments using __kernel_casinh.
29902 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29903 arguments using __kernel_casinhf.
29904 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29905 arguments using __kernel_casinhl.
29906 * math/libm-test.inc (cacosh_test): Add more tests.
29907 * sysdeps/i386/fpu/libm-test-ulps: Update.
29908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29909
81f311c2
SP
299102013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29911
e7906a47
SP
29912 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29914
92e3664b
SP
29915 * bench/Makefile (bench): Add sin and slowsin.
29916 * benchtests/sin-inputs: New file.
29917 * benchtests/slowsin-inputs: New file.
29918 * benchtests/slowsin.c: New file.
29919
81f311c2
SP
29920 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29921 (bench): Add slowexp and slowpow.
29922 (exp-ITER): Increase iterations.
29923 (pow-ITER): Likewise.
29924 * benchtests/exp-inputs: Change input.
29925 * benchtests/pow-inputs: Likewise.
29926 * benchtests/slowexp-inputs: New file.
29927 * benchtests/slowexp.c: New file.
29928 * benchtests/slowpow-inputs: New file.
29929 * benchtests/slowpow.c: New file.
29930
ab0f1aa9
AZ
299312013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29932
29933 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29934 instructions.
29935 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29936 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29937 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29938 * benchtests/Makefile: Add rint benchtest.
29939 * benchtests/rint-inputs: Input for rint benchtest.
29940
57267616
TS
299412013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29942
29943 * Versions.def (libm): Add GLIBC_2.18.
29944 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29945 hidden libm prototypes.
29946 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29947 * math/Makefile (libm-calls): Add s_issignaling.
29948 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29949 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29950 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29951 declaration.
29952 * math/math.h [__USE_GNU] (issignaling): New macro.
29953 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29954 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29955 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29956 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29959 * manual/arith.texi (issignaling): New section.
29960 * manual/libm-err-tab.pl (@all_functions): Update comment.
29961 * math/gen-libm-test.pl (parse_args): Apply special handling for
29962 issignaling.
29963 * math/libm-test.inc (print_float, issignaling_test): New
29964 functions.
29965 (check_float_internal): Add issignaling checks.
29966 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29967 default definition.
29968 * sysdeps/powerpc/math-tests.h: New file.
29969 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29970 tests.
29971 * math/test-snan.c (TEST_FUNC): Likewise.
29972
6142896d
DM
299732013-03-30 David S. Miller <davem@davemloft.net>
29974
29975 * po/de.po: Update from translation team.
29976
ccc8cadf
JM
299772013-03-30 Joseph Myers <joseph@codesourcery.com>
29978
29979 [BZ #10357]
29980 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29981 imaginary part less than 1.0 and real part less than 0.5
29982 specially.
29983 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29984 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29985 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29986 (cacos_test): Add more tests.
29987 (casin_test): Likewise.
29988 (casinh_test): Likewise.
29989 * sysdeps/i386/fpu/libm-test-ulps: Update.
29990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29991
0f6a8d4b
SP
299922013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29993
0d1029de
SP
29994 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29995 ONE with its value.
29996
c2d94018
SP
29997 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29998 (__pow_mp): Replace ONE and MONE with their values.
29999 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30001 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30002 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30003 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30004 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30005
27ec37f1
SP
30006 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30007
a64d7e0e
SP
30008 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30009 (__pow_mp): Replace ZERO and MZERO with their values.
30010 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30012 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30014 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30015 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30016 (__sqr): Likewise.
30017
d26dd3eb
SP
30018 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30019
0f6a8d4b
SP
30020 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30021
e57b0c61
RM
300222013-03-28 Roland McGrath <roland@hack.frob.com>
30023
30024 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30025 Declare with __attribute__ ((weak)).
30026 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30027 Call __call_tls_dtors only if it's not NULL.
30028
356b3480
RM
300292013-03-28 Roland McGrath <roland@hack.frob.com>
30030
288f7d79
RM
30031 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30032 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30033 magic __ehdr_start linker symbol if it's defined.
30034 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30035 them up here if it was already done.
30036
dc0a0263
RM
30037 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30038 (_dl_aux_init): Use const in cast when setting it.
30039 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30040 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30041 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30042
3d3436ae
RM
30043 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30044 Declare them here.
30045 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30046 * csu/libc-tls.c: Nor here.
30047 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30048
356b3480
RM
30049 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30050 (__libc_message): Never call vsyslog.
30051
b0f1246a
AM
300522013-03-28 Alan Modra <amodra@gmail.com>
30053
30054 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30055 Define as empty.
30056 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30057 Likewise.
30058
fbbe2b9a
AZ
300592013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30060
30061 [BZ #15214]
30062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30063 underflow.
30064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30065
1728ab37
SP
300662013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30067
7a86be6e
SP
30068 [BZ #15304]
30069 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30070 Don't add gid passed as argument.
30071
1728ab37
SP
30072 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30073
3a7182a1
JM
300742013-03-27 Joseph Myers <joseph@codesourcery.com>
30075
30076 [BZ #15307]
30077 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30078 imaginary part between 1.0 and 1.5 and real part less than 0.5
30079 specially.
30080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30082 * math/libm-test.inc (cacos_test): Add more tests.
30083 (casin_test): Likewise.
30084 (casinh_test): Likewise.
30085 * sysdeps/i386/fpu/libm-test-ulps: Update.
30086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30087
6f2e90e7
SP
300882013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30089
5739f705
SP
30090 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30091 constants.
30092 (norm): Likewise.
30093 (denorm): Likewise.
30094 (__dbl_mp): Likewise.
30095 (add_magnitudes): Likewise.
30096 (sub_magnitudes): Likewise.
30097 (__add): Likewise.
30098 (__sub): Likewise.
30099 (__mul): Likewise.
30100 (__sqr): Likewise.
30101 (__inv): Likewise.
30102 (__dvd): Likewise.
30103
e375e83d
SP
30104 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30105 commented code.
30106 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30107 (__dubcos): Likewise.
30108 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30109 (__ieee754_acos): Likewise.
30110 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30111 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30112 (__exp1): Likewise.
30113 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30115 (log1): Likewise.
30116 (my_log2): Likewise.
30117 (checkint): Likewise.
30118 * sysdeps/ieee754/dbl-64/e_remainder.c
30119 (__ieee754_remainder): Likewise.
30120 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30122 (bsloww): Likewise.
30123 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30124
6f2e90e7
SP
30125 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30127 MANTISSA_STORE_T to store computations on mantissa. Use
30128 macros for rounding and division.
30129 (denorm): Likewise.
30130 (__dbl_mp): Likewise.
30131 (add_magnitudes): Likewise.
30132 (sub_magnitudes): Likewise.
30133 (__mul): Likewise.
30134 (__sqr): Likewise.
30135 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30136 powers of two in terms of TWOPOW macro.
30137 (mp_no): Make type of mantissa as MANTISSA_T.
30138 [!RADIXI]: Define RADIXI.
30139 [!TWO52]: Define TWO52.
30140 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30141
fce14d4e
AZ
301422013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30143
30144 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30145 llroundl symbol when building for PPC32.
30146
9ad027fb
MW
301472013-03-24 Mark H Weaver <mhw@netris.org>
30148
30149 * manual/arith.texi (Normalization Functions): Fix prototypes for
30150 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30151
e42a38dd
AZ
301522013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30153
30154 [BZ #13889]
30155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30156 high value to check if expl overflow.
30157 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30158 to check for underflow and overflow.
30159 * math/libm-test.inc: Add exp test.
30160
2e0fb521
DL
301612013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30162
30163 [BZ #11120]
30164 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30165 with NOT_IN_libc.
30166
b5784d95
AZ
301672013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30168
30169 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30170 symbol.
30171
5aa4a1a1
TS
301722013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30173
bdef0be7
TS
30174 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30175 wrap blocks consisting of several statements.
30176
5aa4a1a1
TS
30177 * sysdeps/generic/math-tests.h: New file.
30178 * sysdeps/i386/fpu/math-tests.h: Likewise.
30179 * math/test-snan.c: Include it.
30180 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30181
98c48fe5
JM
301822013-03-21 Joseph Myers <joseph@codesourcery.com>
30183
30184 [BZ #15285]
30185 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30186 (__ieee754_j0l): Do not improve calculations using cos of twice
30187 input for inputs above LDBL_MAX / 2.0L.
30188 (__ieee754_y0l): Likewise.
30189 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30190 (__ieee754_j1l): Do not improve calculations using cos of twice
30191 input for inputs above LDBL_MAX / 2.0L.
30192 (__ieee754_y1l): Likewise.
30193 * math/libm-test.inc (j0_test): Add another test.
30194 (j1_test): Likewise.
30195 (y0_test): Likewise.
30196 (y1_test): Likewise.
30197 * sysdeps/i386/fpu/libm-test-ulps: Update.
30198
3775a8bc
SP
301992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30200
30201 * Rules ($(objpfx)bench-%.c): Include code from a C source
30202 file.
30203
0a1b2ae6
JM
302042013-03-21 Joseph Myers <joseph@codesourcery.com>
30205
30206 [BZ #15287]
30207 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30208 imaginary part 1.0 and real part less than 0.5 specially.
30209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30211 * math/libm-test.inc (cacos_test): Add more tests.
30212 (casin_test): Likewise.
30213 (casinh_test): Likewise.
30214 * sysdeps/i386/fpu/libm-test-ulps: Update.
30215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30216
b33d4ce4
SP
302172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30218
30219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30220 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30221
bef0b507
JM
302222013-03-20 Joseph Myers <joseph@codesourcery.com>
30223
30224 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30225 * config.make.in (config-cflags-sse4): Remove variable.
30226 (config-cflags-avx): Likewise.
30227 (config-cflags-sse2avx): Likewise.
30228 (config-cflags-novzeroupper): Likewise.
30229 (config-asflags-i686): Likewise.
30230 (have-mfma4): Likewise.
30231 (have-as-vis3): Likewise.
30232 (MIG): Likewise.
30233 * configure.in (MIG): Do not AC_SUBST.
30234 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30235 (libc_cv_cc_sse4): Do not AC_SUBST.
30236 (libc_cv_cc_avx): Likewise.
30237 (libc_cv_cc_sse2avx): Likewise.
30238 (libc_cv_cc_novzeroupper): Likewise.
30239 (libc_cv_cc_fma4): Likewise.
30240 (libc_cv_as_i686): Likewise.
30241 (libc_cv_sparc_as_vis3): Likewise.
30242 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30243 LIBC_CONFIG_VAR.
30244 (config-asflags-i686): Likewise.
30245 (config-cflags-avx): Likewise.
30246 (config-cflags-sse2avx): Likewise.
30247 (have-mfma4): Likewise.
30248 (config-cflags-novzeroupper): Likewise.
30249 * sysdeps/mach/configure.in (MIG): Likewise.
30250 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30251 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30252 LIBC_CONFIG_VAR.
30253 (config-cflags-avx): Likewise.
30254 (config-cflags-sse2avx): Likewise.
30255 (have-mfma4): Likewise.
30256 (config-cflags-novzeroupper): Likewise.
30257 * configure: Regenerated.
30258 * sysdeps/i386/configure: Likewise.
30259 * sysdeps/mach/configure: Likewise.
30260 * sysdeps/sparc/configure: Likewise.
30261 * sysdeps/x86_64/configure: Likewise.
30262
912cc4b3
RM
302632013-03-20 Roland McGrath <roland@hack.frob.com>
30264
30265 [BZ #14812]
30266 * locale/programs/localedef.c (options): Put N_ translation marker
30267 on argument names, not just descriptions.
30268
04eed2b0
MS
302692013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30270
30271 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30272
a065ceff
OB
302732013-03-20 Ondřej Bílka <neleai@seznam.cz>
30274
9bb2a810 30275 [BZ #14176]
a065ceff
OB
30276 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30277
a600e5ce
RM
302782013-03-19 Roland McGrath <roland@hack.frob.com>
30279
30280 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30281 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30282 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30283 [!BEFORE_ABORT] (before_abort): New function.
30284 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30285 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30286 (writev_for_fatal): New function.
30287 (WRITEV_FOR_FATAL): New macro; call that.
30288 (backtrace_and_maps): New function.
30289 (BEFORE_ABORT): New macro; call that.
30290 (struct str_list): Type removed.
30291 (__libc_message, __libc_fatal): Functions removed.
30292 Include <sysdeps/posix/libc_fatal.c> instead.
30293
6b18bea6
JM
302942013-03-19 Joseph Myers <joseph@codesourcery.com>
30295
30296 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30297 constants.
30298 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30299 double constants.
30300
aaa8cb4b
AS
303012013-03-19 Andreas Schwab <schwab@suse.de>
30302
44673770
AS
30303 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30304 * sysdeps/gnu/configure: Regenerate.
30305
aaa8cb4b
AS
30306 * configure.in: Substitute libc_cv_rtlddir.
30307 * configure: Regenerate.
30308 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30309 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30310 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30311 * elf/Makefile (install-others, CFLAGS-interp.c)
30312 (ldso_install, common-ldd-rewrite): Likewise.
30313 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30314 $(inst_slibdir)/$(rtld-installed-name).
30315 * scripts/rellns-sh: Add -p option.
30316 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30317 for source.
30318
d3cfc668
SP
303192013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30320
30321 * manual/nptl.texi: Renamed to ...
30322 * manual/threads.texi: ... this.
30323 * manual/Makefile (chapters): Update.
30324
0e2b9cdd
RM
303252013-03-18 Roland McGrath <roland@hack.frob.com>
30326
30327 [BZ #14812]
30328 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30329 on argument names, not just descriptions.
0e2b9cdd
RM
30330 * malloc/memusagestat.c (options): Likewise.
30331 * nss/getent.c (options): Likewise.
63270c24
RM
30332
303332013-03-18 Benno Schulenberg <bensberg@justemail.net>
30334
30335 [BZ #14812]
30336 * iconv/iconv_prog.c (options): Put N_ translation marker
30337 on argument names, not just descriptions.
30338 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30339
b2e1393c
OB
303402013-03-18 Ondrej Bilka <neleai@seznam.cz>
30341
30342 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30343 implementation which is faster on all x86_64 architectures.
30344 Tested on AMD, Intel Nehalem, SNB, IVB.
30345 * sysdeps/x86_64/strnlen.S: Likewise.
30346
30347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30348 Remove all multiarch strlen and strnlen versions.
30349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30350 Remove strlen and strnlen related parts.
30351
30352 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30353 Inline strlen part.
30354 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30355
30356 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30357 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30358 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30359 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30360 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30361 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30362
ec4ff04d
CD
303632013-03-17 Carlos O'Donell <carlos@redhat.com>
30364
30365 * manual/memory.texi (Malloc Tunable Parameters):
30366 Sort parameters alphabetically. Add comments for missing entries.
30367
cd18e90a
DM
303682013-03-17 David S. Miller <davem@davemloft.net>
30369
30370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30371
2a185d32
JM
303722013-03-16 Joseph Myers <joseph@codesourcery.com>
30373
d2f9799e
JM
30374 [BZ #15283]
30375 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30376 for arguments at most half maximum finite value.
30377 * math/libm-test.inc (j0_test): Add more tests.
30378 (j1_test): Likewise.
30379 (y0_test): Likewise.
30380 (y1_test): Likewise.
30381 * sysdeps/i386/fpu/libm-test-ulps: Update.
30382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30383
2a185d32
JM
30384 [BZ #14155]
30385 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30386 1 / x and functions P and Q for arguments above 0x1p256L.
30387 (__ieee754_y0l): Likewise.
30388 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30389 (__ieee754_y1l): Likewise.
30390 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30391 (j1_test): Likewise.
30392 (y0_test): Likewise.
30393 (y1_test): Likewise.
30394
6cbec759
TS
303952013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30396
30397 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30398 variable.
30399
bc16e260
RM
304002013-03-15 Roland McGrath <roland@hack.frob.com>
30401
aefc9b8c
RM
30402 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30403 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30404 zero since it's initialized to EXEC_PAGESIZE.
30405
bc16e260
RM
30406 * sysdeps/unix/sysv/linux/ldsodefs.h
30407 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30408 * sysdeps/generic/ldsodefs.h: ... here.
30409
a57da955
TS
304102013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30411
af00a34d
TS
30412 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30413
495ded2c
TS
30414 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30415 math/test-snan.c.
30416 * math/test-snan.c: Renamed from
30417 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30418 * math/Makefile (tests): Add test-snan.
30419 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30420 test-powerpc-snan.
30421
777b0332
TS
30422 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30423 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30424 functions.
30425 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30426 __builtin_nan family of functions.
30427 * math/libm-test.inc (initialize): Initialize qnan_value with
30428 __builtin_nan family of functions.
30429 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30430 Remove variables.
30431 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30432 Remove functions.
30433 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30434 storage class. Initialize qNaN_var and sNaN_var with
30435 __builtin_nan and __builtin_nans families of functions,
30436 respectively.
30437
64d063b8
TS
30438 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30439 (sqrt_test): Remove duplicate test with qNaN input.
30440 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30441 (round_test, signbit_test, significand_test): Note missing +/-Inf
30442 as well as qNaN tests.
30443
67e971f1
TS
30444 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30445 qNaN_var. Fix a few strings, too.
30446 * math/libm-test.inc (nan_value): Rename to qnan_value.
30447 * math/gen-libm-test.pl (%beautify): Adjust to that.
30448 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30449 * math/test-misc.c (main): Likewise.
30450 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30451 to __qnan_bytes, and __qnan_union, respectively.
30452 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30453 Likewise.
30454 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30455 and lqnanval, respectively.
30456 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30457 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30458 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30459 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30460
64487e12
TS
30461 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30462 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30463 doubles.
30464
e015e27b
TS
30465 * math/test-misc.c (main): Fix copy'n'pastos.
30466 * misc/tst-efgcvt.c (special): Likewise.
30467
a57da955
TS
30468 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30469 Remove declarations.
30470
1e380345
SP
304712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30472
30473 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30474 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30475 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30476 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30477
ef26eece
AZ
304782013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30479
30480 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30481 macro to return vdso values correctly in IFUNC implementations.
30482 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30483 Optimization by using IFUNC.
30484
8cfdb7e0
SP
304852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30486 Richard Henderson <rth@redhat.com>
30487 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30488
30489 * Makefile.in (bench): New target.
30490 * NEWS: Mention the benchmark framework.
30491 * Rules (bench): Likewise.
30492 (binaries-bench): Generate binaries for functions to
30493 benchmark.
30494 * benchtests/Makefile: New makefile for benchmark tests.
30495 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30496 programs.
30497 * benchtests/exp-inputs: New input file for EXP function.
30498 * benchtests/pow-inputs: New input file for POW function.
30499 * scripts/bench.pl: New script to generate source files for
30500 benchmark programs.
30501
bcda9880
SP
305022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30503
d22ca8cd
SP
30504 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30505 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30506 computations on mantissa. Use macros for rounding and
30507 division.
30508 (denorm): Likewise.
30509 (__dbl_mp): Likewise.
30510 (add_magnitudes): Likewise.
30511 (sub_magnitudes): Likewise.
30512 (__mul): Likewise.
30513 (__sqr): Likewise.
30514 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30515 powers of two in terms of TWOPOW macro.
30516 (mp_no): Make type of mantissa as MANTISSA_T.
30517 [!RADIXI]: Define RADIXI.
30518 [!TWO52]: Define TWO52.
30519 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30520
bcda9880
SP
30521 * manual/nptl.texi (cindex): Modify threads to pthreads.
30522
06d5adfb
JM
305232013-03-15 Joseph Myers <joseph@codesourcery.com>
30524
30525 * sysdeps/x86_64/preconfigure: Regenerated.
30526
41c7328e
JM
305272013-03-14 Joseph Myers <joseph@codesourcery.com>
30528
30529 [BZ #14155]
30530 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30531 0x1p28 and above.
30532 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30533 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30534 0x1p28 and above.
30535 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30536 * math/libm-test.inc (j0_test): Do not allow one spurious
30537 underflow exception.
30538 (y1_test): Likewise.
30539
e25cfa60
SP
305402013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30541
0409959c
SP
30542 * manual/Makefile (chapters): Add nptl.
30543 * manual/debug.texi (Debugging Support): Add link to Threads
30544 chapter.
30545 * manual/nptl.texi: New file.
30546
e25cfa60
SP
30547 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30548
58a1335e
PB
305492013-03-14 Petr Baudis <pasky@ucw.cz>
30550
30551 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30552 for non-NULL pointer before the memory validity test. Pointed
30553 out by Holger Brunck <holger.brunck@keymile.com>.
30554
9dc7c64f
AS
305552013-03-13 Andreas Schwab <schwab@suse.de>
30556
30557 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30558 instead of .os.
30559
54206aa6
JM
305602013-03-13 Joseph Myers <joseph@codesourcery.com>
30561
30562 * timezone/zic.c: Update from tzcode 2013b.
30563
e98cdb38
CD
305642013-03-12 Carlos O'Donell <carlos@redhat.com>
30565
30566 * manual/install.texi (Configuring and compiling):
30567 Mention i686 and i586.
30568 * INSTALL: Regenerate.
30569
9967e003
RM
305702013-03-12 Roland McGrath <roland@hack.frob.com>
30571
30572 * sysdeps/init_array/elf-init.c: New file.
30573 * csu/elf-init.c
30574 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30575 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30576
30577 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30578 __gmon_start__ as global, but as static with a .preinit_array pointer.
30579 * sysdeps/init_array/gmon-start.c: New file. Use that.
30580 * sysdeps/init_array/crti.S: New file, empty except for comments.
30581 * sysdeps/init_array/crtn.S: Likewise.
30582
e6b5a293 305832013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30584
30585 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30586 definining bcopy.
80f844c9
OB
30587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30588 Remove Prefer_SSE_for_memop.
30589 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30590 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30591 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30593 memset-x86-64.
80f844c9 30594 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30595 Remove bzero, memset ifunc support.
80f844c9
OB
30596 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30597 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30598 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30599 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30600
fb6b0fcb
AS
306012013-03-11 Andreas Schwab <schwab@suse.de>
30602
30603 [BZ #15234]
30604 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30605 by SHLIB_COMPAT.
30606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30607 (GLIBC_2.16): Remove pthread_atfork.
30608
3e6bd4b1
PP
306092013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30610
30611 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30612 (ptestcases.h): Likewise.
30613
222d7f00
RM
306142013-03-08 Roland McGrath <roland@hack.frob.com>
30615
30616 * Makeconfig ($(common-objpfx)config.status): Depend on
30617 sysdeps/*/preconfigure{,.in} too.
30618
1ba4f030
JM
306192013-03-08 Joseph Myers <joseph@codesourcery.com>
30620
a222d91a
JM
30621 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30622 (__free_hook): Use void * instead of __malloc_ptr_t.
30623 (__malloc_hook): Likewise.
30624 (__realloc_hook): Likewise.
30625 (__memalign_hook): Likewise.
30626 (__after_morecore_hook): Likewise.
30627 * malloc/arena.c (save_malloc_hook): Likewise.
30628 (save_free_hook): Likewise.
30629 * malloc/hooks.c (malloc_hook_ini): Likewise.
30630 (realloc_hook_ini): Likewise.
30631 (memalign_hook_ini): Likewise.
30632 * malloc/malloc.c (malloc_hook_ini): Likewise.
30633 (realloc_hook_ini): Likewise.
30634 (memalign_hook_ini): Likewise.
30635 (__free_hook): Likewise.
30636 (__malloc_hook): Likewise.
30637 (__realloc_hook): Likewise.
30638 (__memalign_hook): Likewise.
30639 (__libc_malloc): Likewise.
30640 (__libc_free): Likewise.
30641 (__libc_realloc): Likewise.
30642 (__libc_memalign): Likewise.
30643 (__libc_valloc): Likewise.
30644 (__libc_pvalloc): Likewise.
30645 (__libc_calloc): Likewise.
30646 (__posix_memalign): Likewise.
30647 * malloc/morecore.c (__sbrk): Likewise.
30648 (__default_morecore): Likewise.
30649
5cc45e10
JM
30650 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30651
dd54b864
JM
30652 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30653 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30654 __malloc_ptrdiff_t.
30655
1ba4f030
JM
30656 * malloc/malloc.h (__malloc_size_t): Remove macro.
30657 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30658 __malloc_size_t.
30659 (old_memalign_hook): Likewise.
30660 (old_realloc_hook): Likewise.
30661 (struct hdr): Likewise.
30662 (flood): Likewise.
30663 (mallochook): Likewise.
30664 (memalignhook): Likewise.
30665 (reallochook): Likewise.
30666 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30667 (tr_old_realloc_hook): Likewise.
30668 (tr_old_memalign_hook): Likewise.
30669 (tr_mallochook): Likewise.
30670 (tr_reallochook): Likewise.
30671 (tr_memalignhook): Likewise.
30672
edf66e57
AZ
306732013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30674
30675 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30676 default_ldbl_pack and using as default implementation.
30677 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30678 implementation.
30679 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30680 redundant definition.
30681 (ldbl_insert_mantissa): Likewise.
30682 (ldbl_canonicalize): Likewise.
30683 (ldbl_nearbyint): Likewise.
30684 (ldbl_pack): Rename to ldbl_pack_ppc.
30685 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30686 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30687 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30688
6d9145d8
SP
306892013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30690
30691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30692 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30693 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30694 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30696 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30697 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30698 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30699
4dd4e157
AJ
307002013-03-07 Andreas Jaeger <aj@suse.de>
30701
30702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30703 bits/mman-linux.h.
30704
adbb8027
SP
307052013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30706
ce544b5b
SP
30707 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30708 Include mpa.h and declare __MPEXP.
30709 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30710 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30711 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30712 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30714 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30715 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30716
4cc149fd
SP
30717 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30718 (__slowpow): Use long double EXPL and LOGL functions to
30719 compute POW.
30720 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30721 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30722 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30723 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30724 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30725 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30726
e6ebd4a7
SP
30727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30728 intermediate variable to calculate exponent.
30729 (__sqr): Likewise.
30730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30731 Likewise.
30732 (__sqr): Likewise.
30733
82a9811d
SP
30734 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30735 [!NO__SQR]: Define __sqr.
30736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30737 and NO__SQR. Remove all code except __mul and __sqr. Include
30738 sysdeps/ieee754/dbl-64/mpa.c.
30739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30740
adbb8027
SP
30741 [BZ #12723]
30742 * posix/Makefile (tests): Add tst-pathconf.
30743 * posix/tst-pathconf.c: New test case.
30744 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30745 _PC_PIPE_BUF.
30746 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30747
39120df9
PF
307482013-03-06 Patsy Franklin <pfrankli@redhat.com>
30749
30750 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30751
67525cb8
AJ
307522013-03-06 Andreas Jaeger <aj@suse.de>
30753
664a9ce4
AJ
30754 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30755 definition via __MAP_ANONYMOUS.
30756
8e39047d
AJ
30757 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30758 it's not part of Linux headers.
30759
67525cb8
AJ
30760 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30761 (MAP_HUGE_MASK): Define.
30762
30763 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30764 Define.
30765 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30766 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30767 Define.
30768 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30769 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30770 Define.
30771 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30772 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30773 Define.
30774 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30775
30776 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30777 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30778 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30779 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30780 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30781 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30782
30783 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30784 Handle f2fs.
30785
30786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30787 Handle f2fs and efivarfs.
30788
30789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30790 f2fs.
30791
30792 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30793 (EFIVARFS_MAGIC): Add.
30794 (F2FS_LINK_MAX): Add.
30795
e1b42695
PP
307962013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30797
30798 * stdio-common/vfprintf.c: Replace __builtin_expect with
30799 __glibc_unlikely.
30800
2d67d91a
JM
308012013-03-06 Joseph Myers <joseph@codesourcery.com>
30802
30803 [BZ #13550]
30804 * sysdeps/generic/bp-sym.h: Remove file.
30805 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30806 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30807 <bp-sym.h> and <bp-asm.h>.
30808 (__longjmp): Don't use BP_SYM.
30809 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30810 and <bp-asm.h>.
30811 (memcpy): Don't use BP_SYM.
30812 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30813 <bp-sym.h> and <bp-asm.h>.
30814 (memcpy): Don't use BP_SYM.
30815 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30816 <bp-asm.h>.
30817 (memcpy): Don't use BP_SYM.
30818 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30819 <bp-asm.h>.
30820 (memset): Don't use BP_SYM.
30821 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30822 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30823 (__bzero): Don't use BP_SYM.
30824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30826 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30827 <bp-sym.h> and <bp-asm.h>.
30828 (memcmp): Don't use BP_SYM. Remove comment about bounded
30829 pointers.
30830 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30831 <bp-sym.h> and <bp-asm.h>.
30832 (memcpy): Don't use BP_SYM.
30833 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30834 <bp-sym.h> and <bp-asm.h>.
30835 (memset): Don't use BP_SYM.
30836 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30837 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30838 (__bzero): Don't use BP_SYM.
30839 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30840 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30841 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30842 <bp-sym.h> and <bp-asm.h>.
30843 (strncmp): Don't use BP_SYM. Remove comment about bounded
30844 pointers.
30845 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30846 <bp-sym.h> and <bp-asm.h>.
30847 (memcpy): Don't use BP_SYM.
30848 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30849 <bp-sym.h> and <bp-asm.h>.
30850 (memset): Don't use BP_SYM.
30851 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30852 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30853 (__bzero): Don't use BP_SYM.
30854 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30855 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30856 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30857 <bp-sym.h> and <bp-asm.h>.
30858 (__memchr): Don't use BP_SYM.
30859 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30860 <bp-sym.h> and <bp-asm.h>.
30861 (memcmp): Don't use BP_SYM. Remove comment about bounded
30862 pointers.
30863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30864 <bp-sym.h> and <bp-asm.h>.
30865 (memcpy): Don't use BP_SYM.
30866 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30867 <bp-sym.h> and <bp-asm.h>.
30868 (__mempcpy): Don't use BP_SYM.
30869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30870 <bp-sym.h> and <bp-asm.h>.
30871 (__memrchr): Don't use BP_SYM.
30872 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30873 <bp-sym.h> and <bp-asm.h>.
30874 (memset): Don't use BP_SYM.
30875 (__bzero): Likewise.
30876 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30877 <bp-sym.h> and <bp-asm.h>.
30878 (__rawmemchr): Don't use BP_SYM.
30879 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30880 <bp-sym.h> and <bp-asm.h>.
30881 (__STRCMP): Don't use BP_SYM.
30882 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30883 <bp-sym.h> and <bp-asm.h>.
30884 (strchr): Don't use BP_SYM.
30885 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30886 <bp-sym.h> and <bp-asm.h>.
30887 (__strchrnul): Don't use BP_SYM.
30888 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30889 <bp-sym.h> and <bp-asm.h>.
30890 (strlen): Don't use BP_SYM.
30891 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30892 <bp-sym.h> and <bp-asm.h>.
30893 (strncmp): Don't use BP_SYM. Remove comment about bounded
30894 pointers.
30895 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30896 <bp-sym.h> and <bp-asm.h>.
30897 (__strnlen): Don't use BP_SYM.
30898 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30899 <bp-sym.h> and <bp-asm.h>.
30900 (__GI__setjmp): Don't use BP_SYM.
30901 (_setjmp): Likewise.
30902 (__sigsetjmp): Likewise.
30903 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30904 (L(start_addresses)): Don't use BP_SYM.
30905 (_start): Likewise.
30906 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30907 <bp-asm.h>.
30908 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30909 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30910 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30911 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30912 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30913 <bp-asm.h>.
30914 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30915 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30916 about bounded pointers.
30917 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30918 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30919 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30920 <bp-asm.h>.
30921 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30922 about bounded pointers. Remove GKM FIXME comments.
30923 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30924 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30925 <bp-asm.h>.
30926 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30927 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30928 Remove GKM FIXME comments.
30929 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30930 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30931 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30932 <bp-asm.h>.
30933 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30934 about bounded pointers. Remove GKM FIXME comment.
30935 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30936 and <bp-asm.h>.
30937 (strncmp): Don't use BP_SYM. Remove comment about bounded
30938 pointers.
30939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30940 <bp-sym.h> and <bp-asm.h>.
30941 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30943 <bp-sym.h> and <bp-asm.h>.
30944 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30945 comment.
30946
cdcf361f
PP
309472013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30948
30949 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30950 call free(NULL).
30951
3c4a2b15
DM
309522013-03-05 David S. Miller <davem@davemloft.net>
30953
30954 * po/es.po: Update from translation team.
30955
cdcf361f 309562013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30957
30958 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30959 <bits/mman-linux.h>.
30960 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30961 is fine.
30962 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30963 <bits/mman-linux.h> to end of file.
30964 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30965 is fine.
30966 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30967 <bits/mman-linux.h> to end of file.
30968 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30969 is fine.
30970 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30971 <bits/mman-linux.h> to end of file.
30972
30973 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30974 (MCL_CURRENT, MCL_FUTURE): Define here.
30975
5f67c04f
AK
309762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30977
8a4473cc 30978 [BZ #15232]
5f67c04f
AK
30979 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30980 attribute_hidden.
30981 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30982
c3e94a95
AK
309832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30984
30985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30986 fourth parameter needed for rt_sigprocmask syscall.
30987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30988 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30989 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30990 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30991 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30992 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30993
cfb6382a
JM
309942013-03-04 Joseph Myers <joseph@codesourcery.com>
30995
30996 [BZ #13550]
30997 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30998 comment about bounded pointers.
30999 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31000 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31001
539d8e01
AJ
310022013-03-04 Andreas Jaeger <aj@suse.de>
31003
31004 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31005 common definitions.
31006
31007 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31008 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31009 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31013
2e167a70 310142013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31015
31016 [BZ #15055]
31017 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31018 __ieee754_sqrl instead of __sqrl.
31019
68508633
JM
310202013-03-01 Joseph Myers <joseph@codesourcery.com>
31021
31022 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31023 * sysdeps/powerpc/fpu_control.h: ... here.
31024 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31025 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31026 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31027 * sysdeps/powerpc/bits/mathinline.h: ... here.
31028
7775448e
RM
310292013-03-01 Roland McGrath <roland@hack.frob.com>
31030
31031 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31032 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31033 to just [NEED_DL_SYSINFO_DSO].
31034 * elf/dl-support.c: Likewise.
31035 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31036 * elf/rtld.c (dl_main): Likewise.
31037 * elf/setup-vdso.h (setup_vdso): Likewise.
31038 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31039 * sysdeps/unix/sysv/linux/dl-sysdep.c
31040 (_dl_discover_osversion): Likewise.
31041
4e9b5995
CD
310422013-03-01 Carlos O'Donell <carlos@redhat.com>
31043
31044 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31045 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31046
e23872c8
SP
310472013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31048
e5c74c63
SP
31049 * NEWS: Mention libm performance improvements and non-x86 PI
31050 futex support.
31051
e23872c8
SP
31052 * csu/libc-start.c (__pthread_initialize_minimal): Change
31053 function arguments.
31054 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31055
b5510883
JM
310562013-02-28 Joseph Myers <joseph@codesourcery.com>
31057
31058 [BZ #13550]
31059 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31060 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31061 <bp-sym.h> and <bp-asm.h>.
31062 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31063 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31064 and <bp-asm.h>.
31065 (memcpy): Don't use BP_SYM.
31066 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31067 <bp-asm.h>.
31068 (__mpn_add_n): Don't use BP_SYM.
31069 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31070 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31071 and <bp-asm.h>.
31072 (__mpn_addmul_1): Don't use BP_SYM.
31073 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31074 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31075 <bp-sym.h>.
31076 (_setjmp): Don't use BP_SYM.
31077 (__novmx_setjmp): Likewise.
31078 (__GI__setjmp): Likewise.
31079 (__vmx_setjmp): Likewise.
31080 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31081 <bp-sym.h>.
31082 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31083 (__bzero): Don't use BP_SYM.
31084 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31085 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31086 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31087 <bp-sym.h> and <bp-asm.h>.
31088 (memcpy): Don't use BP_SYM.
31089 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31090 <bp-sym.h> and <bp-asm.h>.
31091 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31092 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31093 <bp-sym.h> and <bp-asm.h>.
31094 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31095 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31096 <bp-asm.h>.
31097 (__mpn_lshift): Don't use BP_SYM.
31098 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31099 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31100 <bp-asm.h>.
31101 (memset): Don't use BP_SYM.
31102 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31103 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31104 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31105 <bp-asm.h>.
31106 (__mpn_mul_1): Don't use BP_SYM.
31107 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31108 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31109 <bp-sym.h> and <bp-asm.h>.
31110 (memcmp): Don't use BP_SYM.
31111 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31112 <bp-sym.h> and <bp-asm.h>.
31113 (memcpy): Don't use BP_SYM.
31114 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31115 <bp-sym.h> and <bp-asm.h>.
31116 (memset): Don't use BP_SYM.
31117 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31118 <bp-sym.h> and <bp-asm.h>.
31119 (strncmp): Don't use BP_SYM.
31120 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31121 <bp-sym.h> and <bp-asm.h>.
31122 (memcpy): Don't use BP_SYM.
31123 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31124 <bp-sym.h> and <bp-asm.h>.
31125 (memset): Don't use BP_SYM.
31126 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31127 <bp-sym.h> and <bp-asm.h>.
31128 (__memchr): Don't use BP_SYM.
31129 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31130 <bp-sym.h> and <bp-asm.h>.
31131 (memcmp): Don't use BP_SYM.
31132 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31133 <bp-sym.h> and <bp-asm.h>.
31134 (memcpy): Don't use BP_SYM.
31135 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31136 <bp-sym.h> and <bp-asm.h>.
31137 (__mempcpy): Don't use BP_SYM.
31138 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31139 <bp-sym.h> and <bp-asm.h>.
31140 (__memrchr): Don't use BP_SYM.
31141 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31142 <bp-sym.h> and <bp-asm.h>.
31143 (memset): Don't use BP_SYM.
31144 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31145 <bp-sym.h> and <bp-asm.h>.
31146 (__rawmemchr): Don't use BP_SYM.
31147 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31148 <bp-sym.h> and <bp-asm.h>.
31149 (__STRCMP): Don't use BP_SYM.
31150 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31151 <bp-sym.h> and <bp-asm.h>.
31152 (strchr): Don't use BP_SYM.
31153 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31154 <bp-sym.h> and <bp-asm.h>.
31155 (__strchrnul): Don't use BP_SYM.
31156 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31157 <bp-sym.h> and <bp-asm.h>.
31158 (strlen): Don't use BP_SYM.
31159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31160 <bp-sym.h> and <bp-asm.h>.
31161 (strncmp): Don't use BP_SYM.
31162 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31163 <bp-sym.h> and <bp-asm.h>.
31164 (__strnlen): Don't use BP_SYM.
31165 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31166 <bp-asm.h>.
31167 (__mpn_rshift): Don't use BP_SYM.
31168 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31169 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31170 <bp-sym.h> and <bp-asm.h>.
31171 (__sigsetjmp): Don't use BP_SYM.
31172 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31173 (L(start_addresses)): Don't use BP_SYM.
31174 (_start): Likewise.
31175 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31176 <bp-asm.h>.
31177 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31178 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31179 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31180 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31181 <bp-asm.h>.
31182 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31183 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31184 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31185 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31186 <bp-asm.h>.
31187 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31188 comments.
31189 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31190 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31191 <bp-asm.h>.
31192 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31193 FIXME comments.
31194 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31195 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31196 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31197 <bp-asm.h>.
31198 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31199 comment.
31200 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31201 and <bp-asm.h>.
31202 (strncmp): Don't use BP_SYM,
31203 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31204 <bp-asm.h>.
31205 (__mpn_sub_n): Don't use BP_SYM.
31206 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31207 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31208 and <bp-asm.h>.
31209 (__mpn_submul_1): Don't use BP_SYM.
31210 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31212 <bp-sym.h> and <bp-asm.h>.
31213 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31215 <bp-sym.h> and <bp-asm.h>.
31216 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31217 comment.
31218
8d19fe64
SP
312192013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31220
31221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31222 Use ZK to minimize writes to Z.
31223 (sub_magnitudes): Simplify code a bit.
31224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31225 Use ZK to minimize writes to Z.
31226 (sub_magnitudes): Simplify code a bit.
31227
85bd816a
RM
312282013-02-27 Roland McGrath <roland@hack.frob.com>
31229
31230 * csu/gmon-start.c: Add special exception to license text.
31231
b5977bf2
RH
312322013-02-27 Richard Henderson <rth@redhat.com>
31233
31234 * scripts/config.guess: Update from config.git.
31235 * scripts/config.sub: Likewise.
31236
11d6e2f2
SP
312372013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31238
09c14ed2
SP
31239 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31240
a688864e
SP
31241 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31242
6295157a
SP
31243 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31244
b8de2202
SP
31245 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31246
11d6e2f2
SP
31247 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31248
7e80ddb8
RM
312492013-02-26 Roland McGrath <roland@hack.frob.com>
31250
31251 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31252 [$(build-shared = yes].
7e80ddb8 31253
7da6d9ed
SP
312542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31255
45f05884
SP
31256 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31257 (__mul): Reduce iterations for calculating mantissa.
31258
2236d359
SP
31259 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31260 MPTWO.
31261 (__mpranred): Likewise.
31262
7da6d9ed
SP
31263 [BZ #15160]
31264 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31265 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31266
b7688c42
PE
312672013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31268
31269 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31270 Define __attribute__.
31271
53a5c423
SP
312722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31273
31274 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31275 unused.
31276 * posix/regex_internal.h (__attribute): Remove.
31277 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31278 (re_string_context_at): Likewise.
31279 (bitset_not): Use __attribute__ and mark function as possibly
31280 unused.
31281 (bitset_merge): Likewise.
31282 (bitset_mask): Likewise.
31283 (re_string_char_size_at): Likewise.
31284 (re_string_wchar_at): Likewise.
31285 (re_string_elem_size_at): Likewise.
31286
60f5a8b5
SP
312872013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31288
2a983a2e
SP
31289 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31290 code.
31291 (cc32): Likewise.
31292
e69804d1
SP
31293 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31294 (__acr): Likewise.
31295 (__cpy): Likewise.
31296 (norm): Likewise.
31297 (denorm): Likewise.
31298 (__dbl_mp): Likewise.
31299 (add_magnitudes): Likewise.
31300 (sub_magnitudes): Likewise.
31301 (__mul): Likewise.
31302 (__inv): Likewise.
31303
2f22a1e8
SP
31304 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31305 style.
31306
8930ddc7
SP
31307 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31308 style.
31309
dc60cb11
SP
31310 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31311 code.
31312
60f5a8b5
SP
31313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31314 up changes with default code.
31315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31316 Likewise.
31317
b4d1fd33
AM
313182013-02-24 Allan McRae <allan@archlinux.org>
31319
faf6f8bc
AM
31320 * manual/socket.texi (The Internet Namespace): Order menu items
31321 to match that in the file.
31322
b4d1fd33
AM
31323 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31324 node listing of the info page menu.
31325
2366713d
JM
313262013-02-21 Joseph Myers <joseph@codesourcery.com>
31327
31328 [BZ #13550]
31329 * sysdeps/i386/bp-asm.h: Remove file.
31330 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31331 (PARMS): Do not use macros from bp-asm.h.
31332 (S1): Likewise.
31333 (S2): Likewise.
31334 (SIZE): Likewise.
31335 (__mpn_add_n): Do not use BP_SYM
31336 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31337 "bp-asm.h".
31338 (PARMS): Do not use macros from bp-asm.h.
31339 (S1): Likewise.
31340 (SIZE): Likewise.
31341 (__mpn_addmul_1): Do not use BP_SYM
31342 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31343 "bp-asm.h".
31344 (PARMS): Do not use macros from bp-asm.h.
31345 (SIGMSK): Likewise.
31346 (_setjmp): Likewise. Do not use BP_SYM.
31347 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31348 "bp-asm.h".
31349 (PARMS): Do not use macros from bp-asm.h.
31350 (SIGMSK): Likewise.
31351 (setjmp): Likewise. Do not use BP_SYM.
31352 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31353 "bp-asm.h".
31354 (PARMS): Do not use macros from bp-asm.h.
31355 (__frexp): Do not use BP_SYM.
31356 (frexp): Likewise.
31357 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31358 "bp-asm.h".
31359 (PARMS): Do not use macros from bp-asm.h.
31360 (__frexpf): Do not use BP_SYM.
31361 (frexpf): Likewise.
31362 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31363 "bp-asm.h".
31364 (PARMS): Do not use macros from bp-asm.h.
31365 (__frexpl): Do not use BP_SYM.
31366 (frexpl): Likewise.
31367 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31368 "bp-asm.h".
31369 (PARMS): Do not use macros from bp-asm.h.
31370 (__remquo): Do not use BP_SYM.
31371 (remquo): Likewise.
31372 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31373 "bp-asm.h".
31374 (PARMS): Do not use macros from bp-asm.h.
31375 (__remquof): Do not use BP_SYM.
31376 (remquof): Likewise.
31377 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31378 "bp-asm.h".
31379 (PARMS): Do not use macros from bp-asm.h.
31380 (__remquol): Do not use BP_SYM.
31381 (remquol): Likewise.
31382 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31383 "bp-asm.h".
31384 (PARMS): Do not use macros from bp-asm.h.
31385 (DEST): Likewise.
31386 (SRC): Likewise.
31387 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31388 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31389 "bp-asm.h".
31390 (PARMS): Do not use macros from bp-asm.h.
31391 (strlen): Do not use BP_SYM.
31392 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31393 "bp-asm.h".
31394 (PARMS): Do not use macros from bp-asm.h.
31395 (S1): Likewise.
31396 (S2): Likewise.
31397 (SIZE): Likewise.
31398 (__mpn_add_n): Do not use BP_SYM.
31399 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31400 "bp-asm.h".
31401 (PARMS): Do not use macros from bp-asm.h.
31402 (S1): Likewise.
31403 (SIZE): Likewise.
31404 (__mpn_addmul_1): Do not use BP_SYM.
31405 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31406 weak_alias.
31407 (bzero): Likewise.
31408 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31409 "bp-asm.h".
31410 (PARMS): Do not use macros from bp-asm.h.
31411 (S): Likewise.
31412 (SIZE): Likewise.
31413 (__mpn_lshift): Do not use BP_SYM.
31414 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31415 "bp-asm.h".
31416 (PARMS): Do not use macros from bp-asm.h.
31417 (DEST): Likewise.
31418 (SRC): Likewise.
31419 (LEN): Likewise.
31420 (memcpy): Likewise. Do not use BP_SYM.
31421 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31422 libc_hidden_def and weak_alias.
31423 (mempcpy): Do not use BP_SYM in weak_alias.
31424 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31425 "bp-asm.h".
31426 (PARMS): Do not use macros from bp-asm.h.
31427 (DEST): Likewise.
31428 (LEN): Likewise.
31429 [!BZERO_P] (CHR): Likewise.
31430 (memset): Likewise. Do not use BP_SYM.
31431 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31432 "bp-asm.h".
31433 (PARMS): Do not use macros from bp-asm.h.
31434 (S1): Likewise.
31435 (SIZE): Likewise.
31436 (__mpn_mul_1): Do not use BP_SYM.
31437 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31438 "bp-asm.h".
31439 (PARMS): Do not use macros from bp-asm.h.
31440 (S): Likewise.
31441 (SIZE): Likewise.
31442 (__mpn_rshift): Do not use BP_SYM.
31443 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31444 "bp-asm.h".
31445 (PARMS): Do not use macros from bp-asm.h.
31446 (STR): Likewise.
31447 (CHR): Likewise.
31448 (strchr): Likewise. Do not use BP_SYM.
31449 (index): Do not use BP_SYM in weak_alias.
31450 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31451 "bp-asm.h".
31452 (PARMS): Do not use macros from bp-asm.h.
31453 (DEST): Likewise.
31454 (SRC): Likewise.
31455 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31456 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31457 "bp-asm.h".
31458 (PARMS): Do not use macros from bp-asm.h.
31459 (strlen): Do not use BP_SYM.
31460 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31461 "bp-asm.h".
31462 (PARMS): Do not use macros from bp-asm.h.
31463 (S1): Likewise.
31464 (S2): Likewise.
31465 (SIZE): Likewise.
31466 (__mpn_sub_n): Do not use BP_SYM.
31467 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31468 "bp-asm.h".
31469 (PARMS): Do not use macros from bp-asm.h.
31470 (S1): Likewise.
31471 (SIZE): Likewise.
31472 (__mpn_submul_1): Do not use BP_SYM.
31473 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31474 "bp-asm.h".
31475 (PARMS): Do not use macros from bp-asm.h.
31476 (S1): Likewise.
31477 (S2): Likewise.
31478 (SIZE): Likewise.
31479 (__mpn_add_n): Do not use BP_SYM.
31480 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31481 weak_alias.
31482 (bzero): Likewise.
31483 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31484 "bp-asm.h".
31485 (PARMS): Do not use macros from bp-asm.h.
31486 (BLK2): Likewise.
31487 (LEN): Likewise.
31488 (memcmp): Do not use BP_SYM.
31489 (bcmp): Do not use BP_SYM in weak_alias.
31490 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31491 "bp-asm.h".
31492 (PARMS): Do not use macros from bp-asm.h.
31493 (DEST): Likewise.
31494 (SRC): Likewise.
31495 (LEN): Likewise.
31496 (memcpy): Likewise. Do not use BP_SYM.
31497 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31498 "bp-asm.h".
31499 (PARMS): Do not use macros from bp-asm.h.
31500 (DEST): Likewise.
31501 (SRC): Likewise.
31502 (LEN): Likewise.
31503 (memmove): Likewise. Do not use BP_SYM.
31504 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31505 "bp-asm.h".
31506 (PARMS): Do not use macros from bp-asm.h.
31507 (DEST): Likewise.
31508 (SRC): Likewise.
31509 (LEN): Likewise.
31510 (__mempcpy): Likewise. Do not use BP_SYM.
31511 (mempcpy): Do not use BP_SYM in weak_alias.
31512 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31513 "bp-asm.h".
31514 (PARMS): Do not use macros from bp-asm.h.
31515 (DEST): Likewise.
31516 (LEN): Likewise.
31517 [!BZERO_P] (CHR): Likewise.
31518 (memset): Likewise. Do not use BP_SYM.
31519 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31520 "bp-asm.h".
31521 (PARMS): Do not use macros from bp-asm.h.
31522 (STR2): Likewise.
31523 (strcmp): Do not use BP_SYM.
31524 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31525 "bp-asm.h".
31526 (PARMS): Do not use macros from bp-asm.h.
31527 (STR): Likewise.
31528 (DELIM): Likewise.
31529 [USE_AS_STRTOK_R] (SAVE): Likewise.
31530 (FUNCTION): Likewise. Do not use BP_SYM.
31531 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31532 aliases.
31533 (strtok_r): Likewise.
31534 (__GI___strtok_r): Likewise.
31535 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31536 (PARMS): Do not use macros from bp-asm.h.
31537 (S): Likewise.
31538 (SIZE): Likewise.
31539 (__mpn_lshift): Do not use BP_SYM.
31540 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31541 (PARMS): Do not use macros from bp-asm.h.
31542 (STR): Likewise.
31543 (CHR): Likewise.
31544 (__memchr): Do not use BP_SYM.
31545 (memchr): Do not use BP_SYM in weak_alias.
31546 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31547 (PARMS): Do not use macros from bp-asm.h.
31548 (BLK2): Likewise.
31549 (LEN): Likewise.
31550 (memcmp): Do not use BP_SYM.
31551 (bcmp): Do not use BP_SYM in weak_alias.
31552 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31553 (PARMS): Do not use macros from bp-asm.h.
31554 (S1): Likewise.
31555 (SIZE): Likewise.
31556 (__mpn_mul_1): Do not use BP_SYM.
31557 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31558 "bp-asm.h".
31559 (PARMS): Do not use macros from bp-asm.h.
31560 (STR): Likewise.
31561 (CHR): Likewise.
31562 (__rawmemchr): Do not use BP_SYM.
31563 (rawmemchr): Do not use BP_SYM in weak_alias.
31564 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31565 (PARMS): Do not use macros from bp-asm.h.
31566 (S): Likewise.
31567 (SIZE): Likewise.
31568 (__mpn_rshift): Do not use BP_SYM.
31569 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31570 (PARMS): Do not use macros from bp-asm.h.
31571 (SIGMSK): Likewise.
31572 (__sigsetjmp): Likewise. Do not use BP_SYM.
31573 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31574 (_start): Do not use BP_SYM.
31575 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31576 (PARMS): Do not use macros from bp-asm.h.
31577 (DEST): Likewise.
31578 (SRC): Likewise.
31579 (__stpcpy): Likewise. Do not use BP_SYM.
31580 (stpcpy): Do not use BP_SYM in weak_alias.
31581 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31582 "bp-asm.h".
31583 (PARMS): Do not use macros from bp-asm.h.
31584 (DEST): Likewise.
31585 (SRC): Likewise.
31586 (LEN): Likewise.
31587 (__stpncpy): Likewise. Do not use BP_SYM.
31588 (stpncpy): Do not use BP_SYM in weak_alias.
31589 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31590 (PARMS): Do not use macros from bp-asm.h.
31591 (STR): Likewise.
31592 (CHR): Likewise.
31593 (strchr): Likewise. Do not use BP_SYM.
31594 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31595 "bp-asm.h".
31596 (PARMS): Do not use macros from bp-asm.h.
31597 (STR): Likewise.
31598 (CHR): Likewise.
31599 (__strchrnul): Likewise. Do not use BP_SYM.
31600 (strchrnul): Do not use BP_SYM in weak_alias.
31601 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31602 "bp-asm.h".
31603 (PARMS): Do not use macros from bp-asm.h.
31604 (STOP): Likewise.
31605 (strcspn): Do not use BP_SYM.
31606 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31607 "bp-asm.h".
31608 (PARMS): Do not use macros from bp-asm.h.
31609 (STR): Likewise.
31610 (STOP): Likewise.
31611 (strpbrk): Likewise. Do not use BP_SYM.
31612 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31613 "bp-asm.h".
31614 (PARMS): Do not use macros from bp-asm.h.
31615 (STR): Likewise.
31616 (CHR): Likewise.
31617 (strrchr): Likewise. Do not use BP_SYM.
31618 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31619 (PARMS): Do not use macros from bp-asm.h.
31620 (SKIP): Likewise.
31621 (strspn): Do not use BP_SYM.
31622 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31623 (PARMS): Do not use macros from bp-asm.h.
31624 (STR): Likewise.
31625 (DELIM): Likewise.
31626 (SAVE): Likewise.
31627 (FUNCTION): Likewise. Do not use BP_SYM.
31628 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31629 aliases.
31630 (strtok_r): Likewise.
31631 (__GI___strtok_r): Likewise.
31632 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31633 (PARMS): Do not use macros from bp-asm.h.
31634 (S1): Likewise.
31635 (S2): Likewise.
31636 (SIZE): Likewise.
31637 (__mpn_sub_n): Do not use BP_SYM.
31638 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31639 "bp-asm.h".
31640 (PARMS): Do not use macros from bp-asm.h.
31641 (S1): Likewise.
31642 (SIZE): Likewise.
31643 (__mpn_submul_1): Do not use BP_SYM.
31644 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31645 <bp-sym.h>.
31646 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31647 and <bp-asm.h>.
31648 (PARMS): Do not use macros from bp-asm.h.
31649 (FLAGS): Likewise.
31650 (PTID): Likewise.
31651 (TLS): Likewise.
31652 (CTID): Likewise.
31653 (__clone): Do not use BP_SYM.
31654 (clone): Do not use BP_SYM in weak_alias.
31655 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31656 and <bp-asm.h>.
31657 (PARMS): Do not use macros from bp-asm.h.
31658 (LEN): Likewise.
31659 (__mmap64): Do not use BP_SYM.
31660 (mmap64): Do not use BP_SYM in weak_alias.
31661 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31662 <bp-sym.h> and <bp-asm.h>.
31663 (PARMS): Do not use macros from bp-asm.h.
31664 (__posix_fadvise64_l64): Do not use BP_SYM.
31665 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31666 (PARMS): Do not use macros from bp-asm.h.
31667 (NSOPS): Likewise.
31668 (semtimedop): Do not use BP_SYM.
31669 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31670 and <bp-asm.h>.
31671
582a3cff
AM
316722013-02-21 Allan McRae <allan@archlinux.org>
31673
31674 * manual/message.texi (Charset conversion in gettext):
31675 Move @end statement to beginning of line.
31676
bab8a695
SP
316772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31678
80945231
SP
31679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31680 static.
31681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31682 Likewise.
31683
bab8a695
SP
31684 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31685 (denorm): Likewise.
31686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31688
e21d7aa7
AK
316892013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31690
31691 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31692 tail-call to the resolved function if pltexit isn't needed.
31693
4c7a4263
SP
316942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31695
31696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31697 or Y being zero as being unlikely.
31698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31699 Likewise.
31700
41f49342
CD
317012013-02-20 Carlos O'Donell <carlos@redhat.com>
31702
31703 * manual/nss.texi (System Databases and Name Service Switch):
31704 Remove frobnicate @pxref.
31705
50022a93
TS
317062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31707
31708 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31709 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31710
08cbd996
PM
317112013-02-20 Petr Machata <pmachata@redhat.com>
31712
31713 * elf/elf.h (R_ARM_TARGET1): New macro.
31714 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31715 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31716 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31717 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31718 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31719 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31720 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31721 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31722 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31723 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31724 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31725 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31726 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31727 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31728 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31729 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31730 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31731 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31732 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31733 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31734 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31735 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31736 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31737 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31738 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31739 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31740 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31741 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31742 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31743 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31744 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31745 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31746 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31747 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31748 (R_ARM_THM_GOT_BREL12): Likewise.
31749 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31750 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31751 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31752 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31753 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31754 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31755 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31756 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31757 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31758
c7b275d6
TS
317592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31760
31761 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31762 __attribute_used__ to __attribute__ ((unused)).
31763
20cd7fb3
SP
317642013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31765
31766 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31767 powerpc mpa.c.
31768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31769 comment formatting.
31770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31771
92945b52
JM
317722013-02-19 Joseph Myers <joseph@codesourcery.com>
31773
31774 [BZ #13550]
31775 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31776 Remove macro.
31777 (ENTER): Remove both macro definitions.
31778 (LEAVE): Likewise.
31779 (CHECK_BOUNDS_LOW): Likewise.
31780 (CHECK_BOUNDS_HIGH): Likewise.
31781 (CHECK_BOUNDS_BOTH): Likewise.
31782 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31783 (RETURN_BOUNDED_POINTER): Likewise.
31784 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31785 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31786 (POP_ERRNO_LOCATION_RETURN): Likewise.
31787 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31788 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31789 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31790 macros.
31791 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31792 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31793 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31794 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31795 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31796 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31797 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31798 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31799 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31800 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31801 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31802 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31803 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31804 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31805 removed macros.
31806 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31807 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31808 macros.
31809 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31810 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31811 * sysdeps/i386/i586/memset.S (memset): Likewise.
31812 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31813 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31814 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31815 macros.
31816 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31817 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31818 Change uses of L(2) to L(out).
31819 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31820 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31821 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31822 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31823 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31824 removed macros.
31825 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31826 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31827 macros.
31828 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31829 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31830 (RETURN): Do not use macro LEAVE.
31831 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31832 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31833 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31834 * sysdeps/i386/i686/memset.S (memset): Likewise.
31835 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31836 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31837 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31838 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31839 Likewise.
31840 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31841 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31842 L(1_2) and L(1_3) into L(1).
31843 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31844 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31845 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31846 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31847 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31848 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31849 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31850 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31851 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31852 macros.
31853 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31854 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31855 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31856 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31857 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31858 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31859 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31860 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31861 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31862 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31863 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31864 * sysdeps/i386/strspn.S (strspn): Likewise.
31865 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31866 conditional code.
31867 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31868 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31869 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31870 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31871 L(1_3) into L(1_1).
31872 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31873 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31874 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31875 macros.
31876 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31877
2389741a
JJ
318782013-02-19 Jakub Jelinek <jakub@redhat.com>
31879
31880 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31881 macro.
31882
2016b3cd
SP
318832013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31884
e4f22324
SP
31885 * math/atest-exp.c (exp_mpn): Remove ROUND.
31886 * math/atest-exp2.c (exp_mpn): Likewise.
31887 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31888
2016b3cd
SP
31889 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31890 * stdlib/tst-tls-atexit-lib.c: Likewise.
31891 * stdlib/tst-tls-atexit.c: Likewise.
31892
4be9b544
MF
318932013-02-18 Mike Frysinger <vapier@gentoo.org>
31894
31895 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31896 and __attribute_alloc_size__.
31897
2f62b9ee
MF
318982013-02-18 Mike Frysinger <vapier@gentoo.org>
31899
31900 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31901 __attribute_alloc_size__.
31902 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31903 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31904
6ff444c4
MF
319052013-02-18 Mike Frysinger <vapier@gentoo.org>
31906
31907 * include/programs/xmalloc.h: New file.
31908 * catgets/gencat.c: Include it.
31909 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31910 * elf/pldd.c: Likewise.
31911 * iconv/iconv_charmap.c: Likewise.
31912 * iconv/iconvconfig.c: Likewise.
31913 * iconv/strtab.c: Likewise.
31914 * locale/programs/locale.c: Likewise.
31915 * locale/programs/localedef.h: Likewise.
31916 * locale/programs/simple-hash.c: Likewise.
31917 * nscd/nscd.h: Likewise.
31918 * nss/makedb.c: Likewise.
31919 * sysdeps/generic/ldconfig.h: Likewise.
31920
be179c8a
SP
319212013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31922
ba384f6e
SP
31923 * Versions.def: Add GLIBC_2.18.
31924 * include/link.h (struct link_map): New member l_tls_dtor_count.
31925 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31926 (__call_tls_dtors): Likewise.
31927 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31928 __cxa_thread_atexit_impl.
31929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31930 Likewise.
31931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31932 Likewise.
31933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31934 Likewise.
31935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31936 Likewise.
31937 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31939 Likewise.
31940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31941 Likewise.
31942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31944 Likewise.
31945 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31946 (tests): Add test case tst-tls-atexit.
31947 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31948 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31949 (GLIBC_PRIVATE): Add __call_tls_dtors.
31950 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31951 for libstdc++.
31952 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31953 * stdlib/tst-tls-atexit.c: New test case.
31954 * stdlib/tst-tls-atexit-lib.c: New test case.
31955
ffaa74cf 31956 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31957
be179c8a
SP
31958 * elf/Versions (ld): Add _dl_find_dso_for_object.
31959 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31960 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31961 (dl_open_worker): Use _dl_find_dso_for_object.
31962 * elf/dl-sym.c (do_sym): Likewise.
31963 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31964
f78b5caa
AK
319652013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31966
31967 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31968 Syntactic changes only.
31969 (_dl_runtime_profile): Do a tail-call to the resolved function.
31970
29691210
JM
319712013-02-17 Joseph Myers <joseph@codesourcery.com>
31972
31973 [BZ #13550]
31974 * sysdeps/x86_64/bp-asm.h: Remove file.
31975 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31976 <bp-sym.h> and <bp-asm.h>.
31977 (__clone): Do not use BP_SYM.
31978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31979 <bp-sym.h> and <bp-asm.h>.
31980 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31981 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31982 "bp-asm.h".
31983 (_setjmp): Do not use BP_SYM.
31984 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31985 "bp-asm.h".
31986 (setjmp): Do not use BP_SYM.
31987 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31988 libc_hidden_def.
31989 (mempcpy): Do not use BP_SYM in weak_alias.
31990 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31991 "bp-asm.h".
31992 (strchr): Do not use BP_SYM.
31993 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31994 "bp-asm.h".
31995 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31996 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31997 (_start): Do not use BP_SYM.
31998 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31999 "bp-asm.h".
32000 (strcat): Do not use BP_SYM.
32001 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32002 "bp-asm.h".
32003 (STRCMP): Do not use BP_SYM.
32004 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32005 "bp-asm.h".
32006 (STRCPY): Do not use BP_SYM.
32007 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32008 "bp-asm.h".
32009 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32010 "bp-asm.h".
32011 (FUNCTION): Do not use BP_SYM.
32012 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32013 weak_alias.
32014 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32015
f238fd19
AJ
320162013-02-17 Andreas Jaeger <aj@suse.de>
32017
32018 * time/Versions: Sort entries.
32019 * string/Versions: Likewise.
32020 * resolv/Versions: Likewise.
32021 * posix/Versions: Likewise.
32022 * iconv/Versions: Likewise.
32023 * elf/Versions: Likewise.
32024 * wcsmbs/Versions: Likewise.
32025
bd07f23c 320262013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32027
22af19f9
SP
32028 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32029 loop termination condition.
32030
4709fe76
SP
32031 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32032 variable to calculate EZ.
32033 (__sqr): Likewise.
2d0e0f29
SP
32034
32035 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32036 the lower precision input.
32037
daaa7713
JM
320382013-02-15 Joseph Myers <joseph@codesourcery.com>
32039
32040 [BZ #13550]
32041 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32042 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32043 (run-via-rtld-prefix): Do not handle %-bp tests.
32044 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32045 (all-object-suffixes): Remove .ob.
32046 (bppfx): Remove variable.
32047 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32048 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32049 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32050 [$(build-bounded) = yes] (libtype.ob): Likewise.
32051 * Makerules (elide-routines.ob): Remove variable.
32052 (do-tests-clean): Do not handle *-bp.out.
32053 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32054 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32055 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32056 (tests): Do not include $(tests-bp.out).
32057 (xtests): Do not include $(xtests-bp.out).
32058 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32059 [$(build-bounded) = yes] ($(addprefix
32060 $(objpfx),$(binaries-bounded))): Remove rule.
32061 ($(objpfx)%-bp.out): Remove rule.
32062 * config.make.in (build-bounded): Remove variable.
32063 * crypt/Makefile [$(build-bounded) = yes]
32064 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32065 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32066 append to variable.
32067 [$(build-bounded) = yes] (install-lib): Likewise.
32068 [$(build-bounded) = yes] (generated): Likewise.
32069 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32070 Remove rule.
32071 * intl/Makefile [$(build-bounded) = yes]
32072 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32073 * math/Makefile [$(build-bounded) = yes]
32074 ($(tests:%=$(objpfx)%-bp): Likewise.
32075 * misc/Makefile [$(build-bounded) = yes]
32076 ($(objpfx)tst-tsearch-bp): Likewise.
32077 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32078 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32079 Remove dependency.
32080 * string/Makefile (o-objects.ob): Remove variable.
32081 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32082 (CFLAGS-.ob): Remove variable.
32083 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32084 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32085 both definitions of variable.
32086 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32087 (ASFLAGS-.ob): Remove variable.
32088
e97ed6dd
JM
320892013-02-14 Joseph Myers <joseph@codesourcery.com>
32090
2bdd4ca6
JM
32091 [BZ #13550]
32092 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32093 Remove __BOUNDED_POINTERS__ from condition.
32094 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32095 * string/bits/string2.h [!__NO_STRING_INLINES &&
32096 !__BOUNDED_POINTERS__]: Likewise.
32097 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32098 Likewise.
32099 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32100 Remove conditional code.
32101 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32102 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32103 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32104 condition.
32105
e97ed6dd
JM
32106 [BZ #13550]
32107 * csu/libc-start.c: Do not include <bp-sym.h>.
32108 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32109 * elf/dl-open.c: Do not include <bp-sym.h>.
32110 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32111 * math/fegetenv.c: Do not include <bp-sym.h>.
32112 (fegetenv): Do not use BP_SYM in versioned symbols.
32113 * nptl/sysdeps/pthread/bits/libc-lockP.h
32114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32115 <bp-sym.h>.
32116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32117 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32119 (__pthread_mutex_destroy): Likewise.
32120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32121 (__pthread_mutex_lock): Likewise.
32122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32123 (__pthread_mutex_trylock): Likewise.
32124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32125 (__pthread_mutex_unlock): Likewise.
32126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32127 (__pthread_mutexattr_init): Likewise.
32128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32129 (__pthread_mutexattr_destroy): Likewise.
32130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32131 (__pthread_mutexattr_settype): Likewise.
32132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32133 (__pthread_rwlock_init): Likewise.
32134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32135 (__pthread_rwlock_destroy): Likewise.
32136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32137 (__pthread_rwlock_rdlock): Likewise.
32138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32139 (__pthread_rwlock_tryrdlock): Likewise.
32140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32141 (__pthread_rwlock_wrlock): Likewise.
32142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32143 (__pthread_rwlock_trywrlock): Likewise.
32144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32145 (__pthread_rwlock_unlock): Likewise.
32146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32147 (__pthread_key_create): Likewise.
32148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32149 (__pthread_setspecific): Likewise.
32150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32151 (__pthread_getspecific): Likewise.
32152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32153 Likewise.
32154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32155 (_pthread_cleanup_push_defer): Likewise.
32156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32157 (_pthread_cleanup_pop_restore): Likewise.
32158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32159 (pthread_setcancelstate): Likewise.
32160 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32161 <bp-sym.h>.
32162 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32163 (memchr): Do not use BP_SYM in weak_alias.
32164 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32165 (fegetenv): Do not use BP_SYM in versioned symbols.
32166 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32167 (fesetenv): Do not use BP_SYM in versioned symbols.
32168 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32169 (feupdateenv): Do not use BP_SYM in versioned symbols.
32170 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32171 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32172 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32173 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32174 (open64): Do not use BP_SYM in weak_alias.
32175 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32176 (fegetenv): Do not use BP_SYM in versioned symbols.
32177 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32178 (fesetenv): Do not use BP_SYM in versioned symbols.
32179 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32180 (feupdateenv): Do not use BP_SYM in versioned symbols.
32181 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32182 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32183 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32184 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32185 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32186 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32187 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32188 <bp-sym.h>.
32189 (__libc_start_main): Do not use BP_SYM.
32190
d6752ccd
SP
321912013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32192
cb57ce60
SP
32193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32194 redundant return line.
32195 (norm): Likewise.
32196 (denorm): Likewise.
32197 (dbl_mp): Likewise.
32198 (sub_magnitudes): Likewise.
32199 (__add): Likewise.
32200 (__sub): Likewise.
32201 (__mul): Likewise.
32202 (__inv): Likewise.
32203 (__dvd): Likewise.
32204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32205 (norm): Likewise.
32206 (denorm): Likewise.
32207 (dbl_mp): Likewise.
32208 (sub_magnitudes): Likewise.
32209 (__add): Likewise.
32210 (__sub): Likewise.
32211 (__mul): Likewise.
32212 (__inv): Likewise.
32213 (__dvd): Likewise.
32214
f414520d
SP
32215 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32216 instead of __mul.
32217 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32218 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32219 (cc32): Likewise.
32220
d6752ccd
SP
32221 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32222 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32224 of __mul for squares.
32225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32226 function
32227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32228 Likewise.
32229 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32230 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32231
70d9946a
JM
322322013-02-13 Joseph Myers <joseph@codesourcery.com>
32233
32234 [BZ #13550]
32235 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32236 code.
32237 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32238 prototype or function definition. Rename ubp_* variables and
32239 parameters. Remove argv definitions conditional on
32240 [__BOUNDED_POINTERS__].
32241 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32242 * elf/dl-runtime.c (_dl_fixup): Likewise.
32243 * include/set-hooks.h (RUN_HOOK): Likewise.
32244 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32245 definition.
32246 * string/strcpy.c (strcpy): Do not use __unbounded.
32247 * sysdeps/generic/frame.h (struct layout): Likewise.
32248 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32249 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32250 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32251 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32252 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32253 (__backtrace): Likewise.
32254 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32255 use __ptrvalue.
32256 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32257 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32258 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32259 Likewise.
32260 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32261 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32262 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32263 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32264 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32265 Do not use __unbounded.
32266 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32267 Rename __unboundedrlimits parameter to rlimits in prototype.
32268 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32269 Do not use __unbounded.
32270 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32271 not use __ptrvalue.
32272 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32273 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32274 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32275 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32276 __ptrvalue or __unbounded.
32277 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32278 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32279 use __unbounded.
32280 (__new_msgctl): Do not use __ptrvalue.
32281 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32282 __unbounded.
32283 (__libc_msgrcv): Do not use __ptrvalue.
32284 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32285 startup_info): Do not use __unbounded.
32286 (__libc_start_main): Likewise. Rename ubp_* variables and
32287 parameters. Remove argv definitions conditional on
32288 [__BOUNDED_POINTERS__].
32289 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32290 __ptrvalue.
32291 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32292 use __unbounded.
32293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32294 or __ptrvalue.
32295 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32296 use __unbounded.
32297 (__new_shmctl): Do not use __ptrvalue.
32298 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32299 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32300 Likewise.
32301 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32302 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32303 (__libc_sigaction): Likewise.
32304 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32305 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32306 Likewise.
32307 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32308
cc7834d6
OB
323092013-02-13 Ondřej Bílka <neleai@seznam.cz>
32310
ffb1ec7b 32311 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32312
32313 * string/mempcpy.c: Implement by calling memcpy.
32314
bdf02814
SP
323152013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32316
c2af38aa
SP
32317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32318
4e92d59e
SP
32319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32320 evaluation.
32321
909279a5
SP
32322 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32323 values in the mantissa.
32324
bdf02814
SP
32325 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32326 minimize writes to Z.
32327 (sub_magnitudes): Simplify code a bit.
32328
cd525923
RM
323292013-02-12 Roland McGrath <roland@hack.frob.com>
32330
32331 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32332 from the message. The linker prefixes all warnings with that already.
32333
7e2f0d2d
AS
323342013-02-12 Andreas Schwab <schwab@suse.de>
32335
a445af0b
AS
32336 [BZ #15078]
32337 * posix/regexec.c (extend_buffers): Add parameter min_len.
32338 (check_matching): Pass minimum needed length.
32339 (clean_state_log_if_needed): Likewise.
32340 (get_subexp): Likewise.
32341 * posix/Makefile (tests): Add bug-regex34.
32342 (bug-regex34-ENV): Define.
32343 * posix/bug-regex34.c: New file.
32344
7e2f0d2d
AS
32345 [BZ #11561]
32346 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32347 elements compare against the byte sequence of it, not its name.
32348 * posix/Makefile (tests): Add bug-regex35.
32349 (bug-regex35-ENV): Define.
32350 * posix/bug-regex35.c: New file.
32351
a175b684
TV
323522013-02-11 Tom de Vries <tom@codesourcery.com>
32353
32354 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32355 comment.
32356 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32357 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32358 (CHECK_EOL): Add undef.
32359
310998fe 323602013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32361
32362 * bits/stdlib-bsearch.h: New file.
32363 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32364 * stdlib/stdlib.h: Likewise.
41eda41d 32365
8ded91fb
RM
323662013-02-11 Roland McGrath <roland@hack.frob.com>
32367
32368 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32369 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32370 declaration.
32371 * manual/search.texi (Array Search Function): Add missing const in
32372 lfind prototype.
32373 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32374 declaration to use rlim_t.
32375 (Basic Scheduling Functions): Remove erroneous const from
32376 sched_getparam prototype. Remove erroneous * from
32377 sched_get_priority_max and sched_get_priority_min prototypes.
32378 (Resource Usage): Fix summary @comment on vtimes to refer to
32379 sys/vtimes.h rather than vtimes.h.
32380 Add missing *s in vtimes prototype.
32381 (Limits on Resources): Fix ulimit prototype to return long int.
32382 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32383 prototypes to use long int rather than double.
32384 (BSD Random): Fix initstate and setstate to use char *, not void *.
32385 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32386 prototype to make second argument 'struct aiocb64 *const[]'.
32387 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32388 (Status of AIO Operations): Remove erroneous const in aio_return and
32389 aio_return64 prototypes.
32390 (Synchronizing I/O): Fix sync prototype to return void.
32391 * manual/startup.texi (Suboptions): Remove an erroneous const in
32392 getsubopt prototype.
32393 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32394 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32395 use size_t rather than int.
32396 (Scanning All Users): Likewise for getpwent_r.
32397 (Setting Groups): Add missing const to setgroups prototype.
32398 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32399 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32400 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32401 'const void *' rather than 'const char *'.
32402 (Host Address Functions): Likewise for inet_ntop.
32403 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32404 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32405 ssize_t for return value.
32406 (Sending Data): Likewise for send, sendto, sendmsg.
32407 (Socket Option Functions): Add a missing const in setsockopt prototype.
32408 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32409 use wchar_t for the argument.
32410 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32411 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32412 take no arguments.
32413 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32414 double/float/long double for second argument.
32415 Fix return types of significand, significandf, significandl.
32416 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32417 argument in fchmod prototype.
32418 (File Owner): Use uid_t and gid_t in fchown prototype.
32419 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32420 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32421 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32422 use 'const struct dirent **' as argument types to CMP function pointer
32423 argument.
32424 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32425 (File Times): Fix summary magic @comment for struct utimbuf and utime
32426 to refer to utime.h, not time.h.
32427 * manual/string.texi (Argz Functions): Add missing const in
32428 argz_extract and argz_next prototypes.
32429 (Finding Tokens in a String): Likewise for basename.
32430 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32431 (Copying and Concatenation): Fix typo in wmemmove prototype.
32432 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32433 (Signal Stack): Remove erroneous const in sigstack prototype.
32434 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32435 prototype.
32436 (Simple Calendar Time): Likewise for stime.
32437 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32438 prototype.
32439 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32440 say sys/sysctl.h instead.
32441 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32442 and vsyslog prototypes.
32443
fe77fe6d
TV
324442013-02-11 Tom de Vries <tom@codesourcery.com>
32445
32446 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32447 Remove.
32448
3a09b620
RM
324492013-02-11 Roland McGrath <roland@hack.frob.com>
32450
32451 * misc/sys/mman.h: Fix typo in mremap comment.
32452
550a0b89
RM
324532013-02-08 Roland McGrath <roland@hack.frob.com>
32454
32455 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32456 the '\0' terminator.
32457
a2da1673
JM
324582013-02-08 Joseph Myers <joseph@codesourcery.com>
32459
32460 [BZ #13550]
32461 * debug/segfault.c: Don't include <bp-checks.h>.
32462 * sysdeps/generic/bp-checks.h: Remove file.
32463 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32464 (__GETDENTS): Don't use CHECK_N.
32465 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32466 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32467 (__getgroups): Don't use CHECK_N.
32468 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32469 (setgroups): Don't use CHECK_N.
32470 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32471 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32472 (__libc_msgrcv): Don't use CHECK_N.
32473 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32474 (__libc_msgsnd): Don't use CHECK_N.
32475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32476 <bp-checks.h>.
32477 (__libc_pread): Don't use CHECK_N.
32478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32479 include <bp-checks.h>.
32480 (__libc_pread64): Don't use CHECK_N.
32481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32482 include <bp-checks.h>.
32483 (__libc_pwrite): Don't use CHECK_N.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32485 include <bp-checks.h>.
32486 (__libc_pwrite64): Don't use CHECK_N.
32487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32488 <bp-checks.h>.
32489 (__libc_pread): Don't use CHECK_N.
32490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32491 include <bp-checks.h>.
32492 (__libc_pread64): Don't use CHECK_N.
32493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32494 include <bp-checks.h>.
32495 (__libc_pwrite): Don't use CHECK_N.
32496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32497 include <bp-checks.h>.
32498 (__libc_pwrite64): Don't use CHECK_N.
32499 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32500 (do_pread): Don't use CHECK_N.
32501 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32502 (do_pread64): Don't use CHECK_N.
32503 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32504 (do_pwrite): Don't use CHECK_N.
32505 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32506 (do_pwrite64): Don't use CHECK_N.
32507 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32508 (__libc_readv): Don't use CHECK_N.
32509 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32510 (semop): Don't use CHECK_N.
32511 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32512 <bp-checks.h>.
32513 (semtimedop): Don't use CHECK_N.
32514 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32515 (__libc_pread): Don't use CHECK_N.
32516 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32517 <bp-checks.h>.
32518 (__libc_pread64): Don't use CHECK_N.
32519 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32520 <bp-checks.h>.
32521 (__libc_pwrite): Don't use CHECK_N.
32522 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32523 <bp-checks.h>.
32524 (__libc_pwrite64): Don't use CHECK_N.
32525 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32526 <bp-checks.h>.
32527 (__libc_msgrcv): Don't use CHECK_N.
32528 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32529 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32530 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32531 (__libc_writev): Don't use CHECK_N.
32532
b84660a8
RM
325332013-02-08 Roland McGrath <roland@hack.frob.com>
32534
7f3e75f8
RM
32535 * string/strcpy.c: Removed unused variable.
32536
b84660a8
RM
32537 * Makeconfig (+sysdep-includes): Define with := rather than =.
32538 Use an existing include/ subdir of each sysdeps dir before it.
32539
471514d3
CD
325402013-02-08 Carlos O'Donell <carlos@redhat.com>
32541
32542 * nscd/connection.c (register_traced_file): Comment function.
32543 [HAVE_INOTIFY] (union __inev): Define.
32544 [HAVE_INOTIFY] (inotify_check_files): New function.
32545 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32546 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32547 clear_db_cache.
32548 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32549
b2d3c3be
CD
325502013-02-08 Carlos O'Donell <carlos@redhat.com>
32551
32552 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32553 loaded if not already and that a failure is permanent.
32554
b39949d2
CD
325552013-02-08 Carlos O'Donell <carlos@redhat.com>
32556
ddacd1db 32557 [BZ #15006]
b39949d2
CD
32558 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32559 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32560
b2c9eff4
JM
325612013-02-08 Joseph Myers <joseph@codesourcery.com>
32562
f3aae3f3
JM
32563 [BZ #13550]
32564 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32565 (CHECK_1_NULL_OK): Likewise.
32566 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32567 (__fxstat): Do not use CHECK_1.
32568 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32569 <bp-checks.h>.
32570 (___fxstat64): Do not use CHECK_1.
32571 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32572 <bp-checks.h>.
32573 (__fxstatat): Do not use CHECK_1.
32574 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32575 <bp-checks.h>.
32576 (__fxstatat64): Do not use CHECK_1.
32577 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32578 <bp-checks.h>.
32579 (__fxstat): Do not use CHECK_1.
32580 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32581 <bp-checks.h>.
32582 (__fxstatat): Do not use CHECK_1.
32583 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32584 <bp-checks.h>.
32585 (__getresgid): Do not use CHECK_1.
32586 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32587 <bp-checks.h>.
32588 (__getresuid): Do not use CHECK_1.
32589 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32590 <bp-checks.h>.
32591 (__lxstat): Do not use CHECK_1.
32592 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32593 <bp-checks.h>.
32594 (__old_msgctl): Do not use CHECK_1.
32595 (__new_msgctl): Likewise.
32596 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32597 <bp-checks.h>.
32598 (__new_setrlimit): Do not use CHECK_1.
32599 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32600 <bp-checks.h>.
32601 (__old_shmctl): Do not use CHECK_1.
32602 (__new_shmctl): Likewise.
32603 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32604 <bp-checks.h>.
32605 (__xstat): Do not use CHECK_1.
32606 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32607 (__lxstat): Do not use CHECK_1.
32608 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32609 <bp-checks.h>.
32610 (___lxstat64): Do not use CHECK_1.
32611 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32612 (__old_msgctl): Do not use CHECK_1.
32613 (__new_msgctl): Likewise.
32614 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32615 <bp-checks.h>.
32616 (__gettimeofday): Do not use CHECK_1.
32617 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32618 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32619 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32620 <bp-checks.h>.
32621 (__gettimeofday): Do not use CHECK_1.
32622 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32623 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32624 (__new_shmctl): Do not use CHECK_1.
32625 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32626 <bp-checks.h>.
32627 (do_sigtimedwait): Do not use CHECK_1.
32628 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32629 <bp-checks.h>.
32630 (do_sigwaitinfo): Do not use CHECK_1.
32631 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32632 <bp-checks.h>.
32633 (msgctl): Do not use CHECK_1.
32634 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32635 <bp-checks.h>.
32636 (shmctl): Do not use CHECK_1.
32637 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32638 (ustat): Do not use CHECK_1.
32639 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32640 <bp-checks.h>.
32641 (__fxstat): Do not use CHECK_1.
32642 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32643 <bp-checks.h>.
32644 (__fxstatat): Do not use CHECK_1.
32645 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32646 <bp-checks.h>.
32647 (__lxstat): Do not use CHECK_1.
32648 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32649 <bp-checks.h>.
32650 (__xstat): Do not use CHECK_1.
32651 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32652 (__xstat): Do not use CHECK_1.
32653 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32654 (___xstat64): Do not use CHECK_1.
32655
b2c9eff4
JM
32656 [BZ #13550]
32657 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32658 definitions.
32659 (CHECK_BOUNDS_HIGH): Likewise.
32660 * string/strcpy.c: Do not include <bp-checks.h>.
32661 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32662
f1d70dad
RM
326632013-02-07 Roland McGrath <roland@hack.frob.com>
32664
32665 * nscd/nscd-client.h (__nscd_drop_map_ref):
32666 Add __attribute__ ((unused)).
32667 * nis/nss-nisplus.h (niserr2nss): Likewise.
32668
32669 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32670 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32671
32672 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32673 Remove inline keyword.
32674 * include/rounding-mode.h (round_away): Likewise.
32675 * libio/wfileops.c (adjust_wide_data): Likewise.
32676 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32677 (__m128i_strloadu_tolower): Likewise.
32678 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32679 (__m128i_strloadu_tolower): Likewise.
32680 * time/mktime.c (ydhms_diff): Likewise.
32681 * locale/elem-hash.h (elem_hash): Likewise.
32682 * locale/setlocale.c (setdata): Likewise.
32683 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32684 (re_string_wchar_at): Likewise.
32685 (bitset_not, bitset_merge, bitset_mask): Likewise.
32686 [!(__GNUC__ > 3)] (inline): Remove macro.
32687 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32688 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32689 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32690 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32691 * string/memcmp.c (memcmp_bytes): Likewise.
32692 * locale/programs/locarchive.c (compute_hashval): Likewise.
32693 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32694 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32695 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32696 * nss/getent.c (print_rpc, print_protocols): Likewise.
32697 (print_passwd, print_group, print_aliases): Likewise.
32698 * nis/nss-nisplus.h (niserr2nss): Likewise.
32699 * nscd/connections.c (restart_p): Likewise.
32700 Change return type to bool.
32701
eab55bfb
RM
327022013-02-05 Roland McGrath <roland@hack.frob.com>
32703
7bd642f5
RM
32704 * Makeconfig (all-Depend-files): Add existing
32705 $(sorted-subdirs:=/Depend) files.
32706 (all-subdirs): Remove nss.
32707 * sysdeps/unix/inet/Subdirs: Add it here instead.
32708 * hesiod/Depend: New file.
32709
573c29b2
RM
32710 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32711 instead of calling alloca.
32712
b2e25af0
RM
32713 * io/lseek.c (__lseek): Rename to __libc_lseek.
32714 Define __lseek as an alias.
32715
eab55bfb
RM
32716 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32717
9a0d1941
CD
327182013-02-04 Carlos O'Donell <carlos@redhat.com>
32719
32720 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32721 else clause and remove check for non-standard endianness.
32722
b83bbec4
DM
327232013-02-04 David S. Miller <davem@davemloft.net>
32724
32725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32726
6277fdab
JM
327272013-02-04 Joseph Myers <joseph@codesourcery.com>
32728
32729 [BZ #13550]
32730 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32731 (__ubp_memchr): Remove prototype.
32732 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32733 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32734 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32735 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32736 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32737 Remove alias.
32738 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32739 (__ubp_memchr): Likewise.
32740 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32741 (__ubp_memchr): Likewise.
32742 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32743 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32744 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32745 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32746 CHECK_STRING.
32747 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32748 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32749 (__getcwd): Do not use CHECK_STRING.
32750 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32751 <bp-checks.h>.
32752 (__real_chown): Do not use CHECK_STRING.
32753 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32754 <bp-checks.h>.
32755 (fchownat): Do not use CHECK_STRING.
32756 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32757 CHECK_STRING.
32758 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32759 <bp-checks.h>.
32760 (__lchown): Do not use CHECK_STRING.
32761 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32762 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32763 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32764 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32766 include <bp-checks.h>.
32767 (truncate64): Do not use CHECK_STRING.
32768 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32769 <bp-checks.h>.
32770 (__real_chown): Do not use CHECK_STRING.
32771 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32772 <bp-checks.h>.
32773 (__lchown): Do not use CHECK_STRING.
32774 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32775 <bp-checks.h>.
32776 (__chown): Do not use CHECK_STRING.
32777 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32778 <bp-checks.h>.
32779 (truncate64): Do not use CHECK_STRING.
32780 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32781 Likewise.
32782 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32783 (__xmknod): Do not use CHECK_STRING.
32784 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32785 <bp-checks.h>.
32786 (__xmknodat): Do not use CHECK_STRING.
32787 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32788 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32789
903ae060
AS
327902013-02-04 Andreas Schwab <schwab@suse.de>
32791
32792 [BZ #14142]
32793 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32794 * include/netdb.h: Likewise for h_errno.
32795 * elf/tst-stackguard1.c: Include <tls.h>.
32796
542f9466
JK
327972013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32798
32799 * elf/link.h (struct link_map): Extend the l_addr comment.
32800 * include/link.h (struct link_map): Likewise.
32801
e782a927
JM
328022013-02-01 Joseph Myers <joseph@codesourcery.com>
32803
32804 [BZ #13550]
32805 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32806 (BOUNDED_1): Remove macro.
32807 * debug/backtrace.c: Don't include <bp-checks.h>.
32808 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32809 (__backtrace): Likewise.
32810 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32811 <bp-checks.h>.
32812 (__backtrace): Don't use BOUNDED_1.
32813 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32814 <bp-checks.h>.
32815 (__backtrace): Don't use BOUNDED_1.
32816 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32817 (__backtrace): Don't use BOUNDED_1.
32818 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32819 (shmat): Don't use BOUNDED_N.
32820
8cf28c5e
JM
328212013-01-31 Joseph Myers <joseph@codesourcery.com>
32822
3a7ac8a0
JM
32823 [BZ #13550]
32824 * sysdeps/generic/bp-start.h: Remove file.
32825 * csu/libc-start.c: Don't include <bp-start.h>.
32826 (LIBC_START_MAIN): Set up __environ directly instead of using
32827 INIT_ARGV_and_ENVIRON.
32828 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32829 <bp-start.h>.
32830
f3499f95
JM
32831 [BZ #13550]
32832 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32833 definitions.
32834 (CHECK_FCNTL): Likewise.
32835 (CHECK_N_PAGES): Likewise.
32836
32a45bea
JM
32837 [BZ #13550]
32838 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32839 definitions.
32840 (CHECK_SIGSET_NULL_OK): Likewise.
32841 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32842 <bp-checks.h>.
32843 (sigpending): Don't use CHECK_SIGSET.
32844 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32845 <bp-checks.h>.
32846 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32847 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32848 <bp-checks.h>.
32849 (do_sigsuspend): Don't use CHECK_SIGSET.
32850 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32851 use CHECK_SIGSET.
32852 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32853 (do_sigwait): Don't use CHECK_SIGSET.
32854 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32855 use CHECK_SIGSET.
32856 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32857 include <bp-checks.h>.
32858 (sigpending): Don't use CHECK_SIGSET.
32859 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32860 include <bp-checks.h>.
32861 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32862 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32863 <bp-checks.h>.
32864 (sigpending): Don't use CHECK_SIGSET.
32865 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32866 <bp-checks.h>.
32867 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32868
2e8a5c8c
JM
32869 [BZ #13550]
32870 * sysdeps/generic/bp-semctl.h: Remove file.
32871 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32872 <bp-checks.h> and <bp-semctl.h>.
32873 (__old_semctl): Don't use CHECK_SEMCTL.
32874 (__new_semctl): Likewise.
32875 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32876 and <bp-semctl.h>.
32877 (__old_semctl): Don't use CHECK_SEMCTL.
32878 (__new_semctl): Likewise.
32879 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32880 <bp-checks.h> and <bp-semctl.h>.
32881 (__old_semctl): Don't use CHECK_SEMCTL.
32882 (__new_semctl): Likewise.
32883 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32884 <bp-checks.h> and <bp-semctl.h>.
32885 (semctl): Don't use CHECK_SEMCTL.
32886
c2d54929
JM
32887 [BZ #13550]
32888 * Makerules (elide-bp-thunks): Remove variable.
32889 (elide-routines.oS): Don't use $(elide-bp-thunks).
32890 (elide-routines.os): Likewise.
32891 (elide-routines.o): Likewise.
32892 (elide-routines.op): Likewise.
32893 (elide-routines.og): Likewise.
32894 (objects): Don't use $(bp-thunks).
32895 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32896 include.
32897 (common-generated): Do not add s-proto-bp.d.
32898 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32899 (int): Likewise.
32900 (typ): Likewise.
32901 Do not generate makefile rules for bounded-pointer thunks.
32902 * sysdeps/generic/bp-thunks.h: Remove file.
32903 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32904 * sysdeps/unix/s-proto-bp.S: Likewise.
32905
8cf28c5e
JM
32906 [BZ #15062]
32907 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32908 parts of result separately when argument is not close to line from
32909 -i to i and one part of argument is small.
32910 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32911 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32912 * math/libm-test.inc (cacos_test): Add more tests.
32913 (casin_test): Likewise.
32914 (casinh_test): Likewise.
32915 * sysdeps/i386/fpu/libm-test-ulps: Update.
32916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32917
c4e33b8d
DM
329182013-01-31 David S. Miller <davem@davemloft.net>
32919
32920 * po/de.po: Update from translation team.
32921
3b60b421
MK
329222013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32923
32924 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32925
bb931195
TS
329262013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32927
b5a5da23
TS
32928 * configure.in (_AC_PROG_CC_C89): New definition.
32929 * configure: Regenerate.
32930
bb931195
TS
32931 * configure.in (AC_PROG_CPP): New definition.
32932 * configure: Regenerate.
32933
8c53a12c
JM
329342013-01-23 Joseph Myers <joseph@codesourcery.com>
32935
32936 * debug/tst-backtrace.h: New file.
32937 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32938 (ret): Remove variable.
32939 (x): Likewise.
32940 (FAIL): Remove macro.
32941 (NO_INLINE): Likewise.
32942 (fn1): Use match function instead of strstr.
32943 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32944 (ret): Remove variable.
32945 (x): Likewise.
32946 (FAIL): Remove macro.
32947 (NO_INLINE): Likewise.
32948 (fn): Use match function instead of strstr.
32949 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32950 (ret): Remove variable.
32951 (x): Likewise.
32952 (FAIL): Remove macro.
32953 (NO_INLINE): Likewise.
32954 (handle_signal): Use match function instead of strstr.
32955 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32956 (ret): Remove variable.
32957 (x): Likewise.
32958 (FAIL): Remove macro.
32959 (NO_INLINE): Likewise.
32960 (handle_signal): Use match function instead of strstr.
32961
4858fa2a
RM
329622013-01-23 Roland McGrath <roland@hack.frob.com>
32963
32964 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32965
bae8e7f5
DM
329662013-01-23 David S. Miller <davem@davemloft.net>
32967
32968 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32969 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32970 argument of CAS if possible.
32971 * sysdeps/sparc/sparc64/bits/atomic.h
32972 (__arch_compare_and_exchange_val_32_acq): Likewise.
32973 (__arch_compare_and_exchange_val_64_acq): Likewise.
32974
9cbbc4ae
PT
329752013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32976
32977 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32978 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32979 Include <limits.h>.
67b3f58c 32980 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32981
5655a0b5
AC
329822013-01-23 Adam Conrad <adconrad@0c3.net>
32983
32984 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32985 (LDFLAGS-tst-array5): Likewise.
32986
052aff95
JM
329872013-01-23 Joseph Myers <joseph@codesourcery.com>
32988
32989 [BZ #15036]
32990 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32991 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32992 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32993 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32994
7c1e01aa
DM
329952013-01-21 David S. Miller <davem@davemloft.net>
32996
32997 * sysdeps/sparc/backtrace.c: New file.
32998 * sysdeps/sparc/sparc32/backtrace.h: New file.
32999 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33000 * sysdeps/sparc/sparc64/backtrace.h: New file.
33001 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33002 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33003 -funwind-tables.
33004
ab087e0a
AS
330052013-01-21 Andreas Schwab <schwab@suse.de>
33006
33007 [BZ #15020]
33008 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33009 closed its stdout.
33010
ed689c2f
AS
330112013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33012
33013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33014 "mpa2.h".
33015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33016
31d470ac
JM
330172013-01-18 Joseph Myers <joseph@codesourcery.com>
33018 Mark Mitchell <mark@codesourcery.com>
33019 Tom de Vries <tom@codesourcery.com>
33020 Paul Pluzhnikov <ppluzhnikov@google.com>
33021
33022 * debug/tst-backtrace2.c: New file.
33023 * debug/tst-backtrace3.c: Likewise.
33024 * debug/tst-backtrace4.c: Likewise.
33025 * debug/tst-backtrace5.c: Likewise.
33026 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33027 (CFLAGS-tst-backtrace3.c): Likewise.
33028 (CFLAGS-tst-backtrace4.c): Likewise.
33029 (CFLAGS-tst-backtrace5.c): Likewise.
33030 (LDFLAGS-tst-backtrace2): Likewise.
33031 (LDFLAGS-tst-backtrace3): Likewise.
33032 (LDFLAGS-tst-backtrace4): Likewise.
33033 (LDFLAGS-tst-backtrace5): Likewise.
33034 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33035 tst-backtrace4 and tst-backtrace5.
33036
90567f30 330372013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33038 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33039
33040 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33041 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33042 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33043 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33045 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33046 "+r" and remove output regs list as redundant. Add explicit inline
33047 asm to specify register of return val to work around compiler codegen
33048 bug. Remove (int) cast on return value. Add return type parameter to
33049 use in macro so that this macro does not truncate return value for
33050 64-bit values.
33051 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33052 pass to INTERNAL_VSYSCALL_NCS.
33053 (INLINE_VSYSCALL): Add 'long int' as return type to
33054 INTERNAL_VSYSCALL_NCS macro invocation.
33055 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33056 INTERNAL_VSYSCALL_NCS macro invocation.
33057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33058
d3b9ea61
SP
330592013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33060
0b57daeb
SP
33061 [BZ #14496]
33062 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33063 Fix application of SIMD FP exception mask.
33064
caa99d06
SP
33065 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33066 mp_no from a power of two.
33067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33068 __mpexp_twomm1. Use __pow_mp.
33069
d3b9ea61
SP
33070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33071 multiplication.
33072
1dbaee3c
DM
330732013-01-17 David S. Miller <davem@davemloft.net>
33074
33075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33076
728d7b43
JM
330772013-01-17 Joseph Myers <joseph@codesourcery.com>
33078
33079 [BZ #15023]
33080 * include/complex.h: Condition contents on [!_COMPLEX_H].
33081 (__kernel_casinhf): New prototype.
33082 (__kernel_casinh): Likewise.
33083 (__kernel_casinhl): Likewise.
33084 * math/Makefile (libm_calls): Add k_casinh.
33085 * math/k_casinh.c: New file.
33086 * math/k_casinhf.c: Likewise.
33087 * math/k_casinhl.c: Likewise.
33088 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33089 finite nonzero arguments.
33090 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33091 finite nonzero arguments.
33092 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33093 finite nonzero arguments.
33094 * math/s_casinh.c: Do not include <float.h>.
33095 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33096 * math/s_casinhf.c: Do not include <float.h>.
33097 (__casinhf): Move code for finite nonzero arguments to
33098 k_casinhf.c.
33099 * math/s_casinhl.c: Do not include <float.h>.
33100 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33101 redefine.
33102 (__casinhl): Move code for finite nonzero arguments to
33103 k_casinhl.c.
33104 * math/libm-test.inc (cacos_test): Add more tests.
33105 * sysdeps/i386/fpu/libm-test-ulps: Update.
33106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33107
2a26ef3a
PT
331082013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33109
33110 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33111 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33112 [!HAVE_MREMAP]: Remove [defined linux] case.
33113 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33114
a897655d
SP
331152013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33116
33117 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33118
881ebe89 331192013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33120
33121 * elf/elf.h (R_386_SIZE32): New relocation.
33122 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33123 R_386_SIZE32.
33124 (elf_machine_rela): Likewise.
33125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33126 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33127
59981e9b
JM
331282013-01-17 Joseph Myers <joseph@codesourcery.com>
33129
33130 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33131 (FP_FAST_FMA): Do not define.
33132 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33133 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33134 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33135 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33136 !_SOFT_FLOAT]: Likewise.
33137 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33138 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33139 value.
33140 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33141 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33142 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33143 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33144 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33145 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33146 file.
33147
cfa8054f
AS
331482013-01-16 Andreas Schwab <schwab@suse.de>
33149
33150 [BZ #14327]
33151 * include/stdlib.h (__mktemp): Add declaration.
33152 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33153 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33154
dd930cc5
SP
331552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33156
881ebe89
SP
33157 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33158 definitions.
33159 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33160 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33161 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33162 definitions here.
33163 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33164 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33165 definitions.
33166 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33167 and ONE.
33168 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33169 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33170 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33171 definitions.
33172 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33173 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33174 definitions.
33175 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33176
dd930cc5
SP
33177 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33178
c19a9f89
DM
331792013-01-15 David S. Miller <davem@davemloft.net>
33180
1aa61767
DM
33181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33182 trunc{,f} to libm-sysdep_routes.
33183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33185 file.
33186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33188 file.
33189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33190 file.
33191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33193 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33194 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33195 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33196 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33197 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33198 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33199
c42d5e98
DM
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33201 nearbyint{,f} to libm-sysdep_routes.
33202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33204 New file.
33205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33206 file.
33207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33208 New file.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33210 file.
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33213 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33214 file.
33215 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33216 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33217 file.
33218 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33219 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33221
c19a9f89
DM
33222 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33223 libc_feholdexcept and libc_fesetenv.
33224
357679d2
MF
332252013-01-15 Mike Frysinger <vapier@gentoo.org>
33226
33227 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33228
65a82e3d
DM
332292013-01-14 David S. Miller <davem@davemloft.net>
33230
8b954ab9
DM
33231 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33232 (SPARC_ASM_VIS2_IFUNC): Likewise.
33233 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33235 use of 'siam' instruction.
33236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33237 Likewise.
33238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33239 Likewise.
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33241 Likewise.
33242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33247 file.
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33249 file.
33250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33251 file.
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33253 file.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33259 new VIS2 routines.
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33263 Likewise.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33269 routines to libm-sysdep_routines.
33270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33271
65a82e3d
DM
33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33273 fdim/fdimf to libm-sysdep_routines.
33274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33275 file.
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33278 file.
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33282 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33283 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33284 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33285 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33286
e34ab705
SP
332872013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33288
2a91b573
SP
33289 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33290 to optimize copies.
33291
1066a534
SP
33292 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33295
e34ab705
SP
33296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33297 local variable MPTWO.
33298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33299 Likewise.
33300
aba5e596
MF
333012013-01-13 Mike Frysinger <vapier@gentoo.org>
33302
33303 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33304 GLOB_NOESCAPE.
33305
e557e9e5
MF
333062013-01-13 Mike Frysinger <vapier@gentoo.org>
33307
33308 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33309
0428cec9
MF
333102013-01-13 Mike Frysinger <vapier@gentoo.org>
33311
33312 * manual/pattern.texi (glob_t): Document gl_flags.
33313 (glob64_t): Likewise.
33314
8794a964
DM
333152013-01-11 David S. Miller <davem@davemloft.net>
33316
66438c3f
RM
33317 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33318 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33319 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33320 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33321 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33322 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33323 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33324 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33325 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33326 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33327 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33328 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33329 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33330
4ae4244d
DM
33331 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33332 sparc V9 rather than using V8 code.
33333 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33334 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33335
8794a964
DM
33336 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33337 Move to...
33338 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33339 Here.
33340
6270516e
RM
333412013-01-11 Roland McGrath <roland@hack.frob.com>
33342
33343 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33344 not in the main loop.
33345 * configure: Regenerated.
33346
6a57d931
JM
333472013-01-11 Joseph Myers <joseph@codesourcery.com>
33348
33349 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33350 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33351 to just #else.
33352 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33353 [!__GLIBC_HAVE_LONG_LONG] case.
33354 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33355 condition to just #else.
33356 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33357 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33358 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33359 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33360 unconditional.
33361 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33362 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33363 #elif condition to just #else.
33364 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33365 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33366 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33367 #elif condition to just #else.
33368
0e8529e9
SE
333692013-01-11 Steve Ellcey <sellcey@mips.com>
33370
33371 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33372 (EF_MIPS_ARCH_64): Fix value.
33373 (EF_MIPS_ARCH_32R2): New.
33374 (EF_MIPS_ARCH_64R2): New.
33375
740b3dbe
L
333762013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33377
33378 * Makeconfig (+link-pie-before-libc): New.
33379 (+link-pie-after-libc): Likewise.
33380 (+link-pie-tests): Likewise.
33381 (+link-pie): Rewritten.
33382 (link-before-libc): Remove $(config-LDFLAGS).
33383 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33384 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33385 (config-LDFLAGS): Renamed to ...
33386 (rtld-LDFLAGS): This.
33387 (rtld-tests-LDFLAGS): New macro.
33388 (link-libc-rpath-link): Likewise.
33389 (link-libc-tests-rpath-link): Likewise.
33390 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33391 (link-libc): Prepand $(link-libc-rpath-link).
33392 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33393 (test-program-prefix): New macro.
33394 (test-via-rtld-prefix): Likewise.
33395 (test-program-cmd): Likewise.
33396 (host-test-program-cmd): Likewise.
33397 * Makefile ($(common-objpfx)testrun.sh): Replace
33398 $(run-program-prefix) with $(test-program-prefix).
33399 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33400 $(rtld-LDFLAGS).
33401 ($(common-objpfx)shlib.lds): Likewise.
33402 (build-module-helper): Likewise.
33403 ($(common-objpfx)format.lds): Likewise.
33404 * Rules (binaries-pie-tests): New.
33405 (binaries-pie-notests): Likewise.
33406 (binaries-pie): Rewritten.
33407 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33408 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33409 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33410 (make-test-out): Replace $(host-built-program-cmd) with
33411 $(host-test-program-cmd).
33412 * config.make.in (build-hardcoded-path-in-tests): New variable.
33413 * configure.in (--enable-hardcoded-path-in-tests): New configure
33414 option.
33415 (hardcoded_path_in_tests): New AC_SUBST.
33416 * configure: Regenerated.
33417 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33418 $(built-program-cmd) with $(test-program-cmd).
33419 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33420 (test_program_cmd): This.
33421 * elf/Makefile ($(objpfx)order.out): Run test with
33422 $(test-program-prefix).
33423 ($(objpfx)order2.out): Likewise.
33424 ($(objpfx)tst-initorder.out): Likewise.
33425 ($(objpfx)tst-initorder2.out): Likewise.
33426 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33427 $(test-program-cmd).
33428 ($(objpfx)tst-array1-static.out): Likewise.
33429 ($(objpfx)tst-array2.out): Likewise.
33430 ($(objpfx)tst-array3.out): Likewise.
33431 ($(objpfx)tst-array4.out): Likewise.
33432 ($(objpfx)tst-array5.out): Likewise.
33433 ($(objpfx)tst-array5-static.out): Likewise.
33434 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33435 $(test-program-cmd).
33436 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33437 $(run-program-prefix) with $(test-program-prefix).
33438 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33439 (test_program_prefix): This.
33440 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33441 $(run-program-prefix) with $(test-program-prefix).
33442 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33443 (test_program_prefix): This.
33444 * iconvdata/tst-tables.sh: Likewise.
33445 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33446 $(run-program-prefix) with $(test-program-prefix).
33447 ($(objpfx)tst-translit.out): Likewise.
33448 ($(objpfx)tst-gettext2.out): Likewise.
33449 ($(objpfx)tst-gettext4.out): Likewise.
33450 ($(objpfx)tst-gettext6.out): Likewise.
33451 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33452 (test_program_prefix): This.
33453 * intl/tst-gettext2.sh: Likewise.
33454 * intl/tst-gettext4.sh Likewise.
33455 * intl/tst-gettext6.sh: Likewise.
33456 * intl/tst-translit.sh: Likewise.
33457 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33458 with $(test-program-cmd).
33459 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33460 $(run-program-prefix) with $(test-program-prefix).
33461 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33462 (test_program_prefix): This.
33463 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33464 $(run-program-prefix) with $(test-program-prefix).
33465 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33466 (test_program_prefix): This.
33467 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33468 * posix/Makefile ($(objpfx)globtest.out): Replace
33469 $(run-via-rtld-prefix) and $(test-wrapper) with
33470 $(test-program-prefix) and $(test-via-rtld-prefix).
33471 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33472 $(test-program-prefix).
33473 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33474 $(host-test-program-cmd).
33475 (tst-spawn-ARGS): Likewise.
33476 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33477 $(test-program-prefix).
33478 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33479 (test_via_rtld_prefix): This.
33480 (test_wrapper): Renamed to ...
33481 (test_program_prefix): This.
33482 (run_program_prefix): Replaced by test_program_prefix.
33483 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33484 (test_program_prefix): This.
33485 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33486 with $(host-test-program-cmd).
33487 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33488 $(run-program-prefix) with $(test-program-prefix).
33489 ($(objpfx)tst-printf.out): Likewise.
33490 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33491 $(test-program-cmd).
33492 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33493 (test_program_prefix): This.
33494 * stdio-common/tst-unbputc.sh: Likewise.
33495 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33496 $(run-program-prefix) with $(test-program-prefix).
33497 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33498 (test_program_prefix): This.
33499 * string/Makefile ($(objpfx)tst-svc.out): Replace
33500 $(built-program-cmd) with $(test-program-cmd).
33501
c6fe55cf
AJ
335022013-01-11 Andreas Jaeger <aj@suse.de>
33503
33504 [BZ #15003]
33505 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33506 value. Sync with Linux 3.7.
33507
9e6919c8
DM
335082013-01-10 David S. Miller <davem@davemloft.net>
33509
33510 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33511 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33512 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33513
1c9f1a02
RM
335142013-01-10 Roland McGrath <roland@hack.frob.com>
33515
33516 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33517 never set.
33518 * configure: Regenerated.
33519
b9de2dde
DM
335202013-01-10 David S. Miller <davem@davemloft.net>
33521
33522 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33523 sparc V9 rather than using V8 code.
33524 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33525 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33526
e7f68ef4
RM
335272013-01-10 Roland McGrath <roland@hack.frob.com>
33528
33529 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33530 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33531 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33532 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33533 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33534 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33535 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33536 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33537 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33538 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33539 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33540 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33541 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33542 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33543 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33544 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33545 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33546 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33547 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33548 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33549 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33550 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33551 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33552 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33553 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33554 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33555 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33556
5a47cc9c
DM
335572013-01-10 David S. Miller <davem@davemloft.net>
33558
33559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33560
4cf8f209
L
335612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33562
33563 * posix/Makefile (tests-static): New variable.
33564 (tests): Add $(tests-static).
33565 (tst-exec-static-ARGS): New variable.
33566 (tst-spawn-static-ARGS): Likewise.
33567 * posix/tst-exec-static.c: New file.
33568 * posix/tst-spawn-static.c: Likewise.
33569 * posix/tst-exec.c: Support run directly.
33570 * posix/tst-spawn.c: Likewise.
33571
fed0faa1
JM
335722013-01-10 Joseph Myers <joseph@codesourcery.com>
33573
828beb13
JM
33574 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33575 long.
33576 * math/bits/mathcalls.h (llrint): Likewise.
33577 (llround): Likewise.
33578 * stdlib/stdlib.h (struct drand48_data): Likewise.
33579 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33580 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33581 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33582 Likewise.
33583 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33584 Likewise.
33585 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33586 (elf_greg_t): Likewise.
33587 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33588 (__jmp_buf): Likewise.
33589 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33590 definitions.
33591 (llrint): Likewise, for all definitions.
33592 (llrintl): Likewise.
33593
fed0faa1
JM
33594 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33595 Remove [__GNUC__] condition.
33596 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33597 condition to just [__USE_ISOC99].
33598 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33599
1a20cb20
L
336002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33601
33602 [BZ #14200]
33603 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33604 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33605 defined.
33606 (_POSIX_V6_ILP32_OFF32): Likewise.
33607 (_XBS5_ILP32_OFF32): Likewise.
33608 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33609 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33610
751b85f7
SP
336112013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33612
7490eb81
SP
33613 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33614
751b85f7
SP
33615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33616 doubles __mpexp_twomm1. Adjust usage.
33617 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33618 Remove.
33619
988197f0
AS
336202013-01-10 Andreas Schwab <schwab@suse.de>
33621
33622 [BZ #14964]
33623 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33624 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33625
e83d7298
DM
336262013-01-09 David S. Miller <davem@davemloft.net>
33627
034ed64b 33628 [BZ #15003]
57f41c40
AS
33629 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33630 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33631 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33632 (TCP_FASTOPEN): Define.
e83d7298
DM
33633 (tcp_repair_opt): New structure.
33634 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33635 enum values.
57f41c40
AS
33636 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33637 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33638 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33639 (tcp_cookie_transactions): New structure.
33640
d5e0b9bd
AB
336412013-01-09 Anton Blanchard <anton@samba.org>
33642
33643 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33644 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33646 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33647
0c07e3ea
JM
336482013-01-09 Joseph Myers <joseph@codesourcery.com>
33649
33650 * include/features.h (__USE_ANSI): Remove.
33651
232f7002
RM
336522013-01-09 Roland McGrath <roland@hack.frob.com>
33653
ad98e30c
RM
33654 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33655
232f7002
RM
33656 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33657
950c99ca
SP
336582013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33659
b5792741
SP
33660 * sysdeps/s390/fpu/libm-test-ulps: Update.
33661
47cf2278
SP
33662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33663
950c99ca
SP
33664 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33665 (__acr): Likewise.
33666 (__cpy): Likewise.
33667 (norm): Likewise.
33668 (denorm): Likewise.
33669 (__mp_dbl): Likewise.
33670 (__dbl_mp): Likewise.
33671 (add_magnitudes): Likewise.
33672 (sub_magnitudes): Likewise.
33673 (__add): Likewise.
33674 (__sub): Likewise.
33675 (__mul): Likewise.
33676 (__inv): Likewise.
33677 (__dvd): Likewise.
33678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33679 (__acr): Likewise.
33680 (__cpy): Likewise.
33681 (norm): Likewise.
33682 (denorm): Likewise.
33683 (__mp_dbl): Likewise.
33684 (__dbl_mp): Likewise.
33685 (add_magnitudes): Likewise.
33686 (sub_magnitudes): Likewise.
33687 (__add): Likewise.
33688 (__sub): Likewise.
33689 (__mul): Likewise.
33690 (__inv): Likewise.
33691 (__dvd): Likewise.
33692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33693 (__acr): Likewise.
33694 (__cpy): Likewise.
33695 (norm): Likewise.
33696 (denorm): Likewise.
33697 (__mp_dbl): Likewise.
33698 (__dbl_mp): Likewise.
33699 (add_magnitudes): Likewise.
33700 (sub_magnitudes): Likewise.
33701 (__add): Likewise.
33702 (__sub): Likewise.
33703 (__mul): Likewise.
33704 (__inv): Likewise.
33705 (__dvd): Likewise.
33706
eede9df9
JM
337072013-01-08 Joseph Myers <joseph@codesourcery.com>
33708
33709 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33710 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33711 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33712 2 && __USE_EXTERN_INLINES]: Likewise.
33713
c40ea3d9
AJ
337142013-01-08 Andreas Jaeger <aj@suse.de>
33715
33716 [BZ# 14985]
33717 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33718 Remove.
33719 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33720 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33721
2ccdea26
AB
337222013-01-07 Anton Blanchard <anton@samba.org>
33723
33724 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33725 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33726 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33727 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33728 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33729 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33730 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33731 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33733 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33734 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33735 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33736 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33737 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33738 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33739 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33740 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33742 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33743 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33744 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33745 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33747 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33748 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33749 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33750 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33751 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33753 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33754 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33756 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33757 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33758 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33759 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33760 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33761 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33762 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33763 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33764 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33766 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33767
a9708fed
JM
337682013-01-07 Joseph Myers <joseph@codesourcery.com>
33769
375607b9
JM
33770 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33771 (__MALLOC_PMT): Likewise.
33772 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33773 [__GNUC__], only on [_LIBC].
33774 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33775 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33776 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33777 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33778 forward declaration.
33779 (realloc_hook_ini): Likewise.
33780 (memalign_hook_ini): Likewise.
33781 (__libc_memalign): Do not use __MALLOC_PMT in variable
33782 declaration.
33783 (__libc_valloc): Likewise.
33784 (__libc_pvalloc): Likewise.
33785 (__libc_calloc): Likewise.
33786 (__posix_memalign): Likewise.
33787
a9708fed
JM
33788 [BZ #14996]
33789 * math/s_casinh.c: Include <float.h>.
33790 (__casinh): Do not do computation with squaring and square root
33791 for large arguments.
33792 * math/s_casinhf.c: Include <float.h>.
33793 (__casinhf): Do not do computation with squaring and square root
33794 for large arguments.
33795 * math/s_casinhl.c: Include <float.h>.
33796 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33797 (__casinhl): Do not do computation with squaring and square root
33798 for large arguments.
33799 * math/libm-test.inc (casin_test): Add more tests.
33800 (casinh_test): Likewise.
33801 * sysdeps/i386/fpu/libm-test-ulps: Update.
33802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33803
afec409a
L
338042013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33805
33806 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33807 (__x86_64_raw_data_cache_size): Likewise.
33808 (__x86_64_data_cache_size_half): Likewise.
33809 (__x86_64_raw_data_cache_size_half): Likewise.
33810 (__x86_64_shared_cache_size): Likewise.
33811 (__x86_64_raw_shared_cache_size): Likewise.
33812 (__x86_64_shared_cache_size_half): Likewise.
33813 (__x86_64_raw_shared_cache_size_half): Likewise.
33814 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33815 to ...
33816 (__x86_data_cache_size): This.
33817 (__x86_64_raw_data_cache_size): Renamed to ...
33818 (__x86_raw_data_cache_size): This.
33819 (__x86_64_data_cache_size_half): Renamed to ...
33820 (__x86_data_cache_size_half): This.
33821 (__x86_64_raw_data_cache_size_half): Renamed to ...
33822 (__x86_raw_data_cache_size_half): This.
33823 (__x86_64_shared_cache_size): Renamed to ...
33824 (__x86_shared_cache_size): This.
33825 (__x86_64_raw_shared_cache_size): Renamed to ...
33826 (__x86_raw_shared_cache_size): This.
33827 (__x86_64_shared_cache_size_half): Renamed to ...
33828 (__x86_shared_cache_size_half): This.
33829 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33830 (__x86_raw_shared_cache_size_half): This.
33831 * sysdeps/x86_64/memcpy.S: Updated.
33832 * sysdeps/x86_64/memset.S: Likewise.
33833 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33836
0b3986d0
DM
338372013-01-04 David S. Miller <davem@davemloft.net>
33838
33839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33840
e47686e9
AS
338412013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33842
d643bac1
AS
33843 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33844 1 to avoid redefinition warning.
33845 (__USE_GNU): Don't define.
33846 (init_signaling_nan): Protoize.
33847
e47686e9
AS
33848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33849
b18decba
SP
338502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33851
fffb407f
SP
33852 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33854 (__cpymn): Likewise.
33855 (norm): Remove commented code.
33856 (denorm): Likewise.
33857 (__mp_dbl): Likewise.
33858 (__inv): Likewise.
33859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33860 (__cpymn): Likewise.
33861 (norm): Remove commented code.
33862 (denorm): Likewise.
33863 (__mp_dbl): Likewise.
33864 (__inv): Likewise.
33865
b18decba
SP
33866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33867 mp_no value for 1.0 and 2.0.
33868 (norm): Use RADIXI instead of radixi.d.
33869 (denorm): Likewise.
33870 (__mul): Use 0.0 instead of zero.d.
33871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33872 mp_no value for 1.0 and 2.0.
33873 (norm): Use RADIXI instead of radixi.d.
33874 (denorm): Likewise.
33875 (__mul): Use 0.0 instead of zero.d.
33876
cdc1c96f
JM
338772013-01-04 Joseph Myers <joseph@codesourcery.com>
33878
33879 [BZ #14994]
33880 * math/s_casinh.c (__casinh): Reduce finite argument to first
33881 quadrant then set signs of results at the end.
33882 * math/s_casinhf.c (__casinhf): Likewise.
33883 * math/s_casinhl.c (__casinhl): Likewise.
33884 * math/libm-test.inc (casin_test): Add more tests.
33885 (casinh_test): Likewise.
33886 * sysdeps/i386/fpu/libm-test-ulps: Update.
33887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33888
302913e1
SP
338892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33890
6420d207
SP
33891 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33892
a9e48ab4
SP
33893 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33894
b7837264
SP
33895 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33896 declarations.
33897 (denorm): Likewise.
33898 (__mp_dbl): Likewise.
33899 (__inv): Likewise.
33900
f8af25d2
SP
33901 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33902 and adjust the header comment.
33903
302913e1
SP
33904 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33905 variable name from declaration.
33906
5d7dd1ca
L
339072013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33908
33909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33910 Initialize COMMON_CPUID_INDEX_7 element.
33911 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33912 (CPUID_RTM): Likewise.
33913 (HAS_RTM): Likewise.
33914 (COMMON_CPUID_INDEX_7): New enum.
33915
2f5f40f4
AS
339162013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33917
33918 [BZ #14981]
33919 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33920 size is zero, record memory as freed.
33921
4056f4a0
AJ
339222013-01-03 Andreas Jaeger <aj@suse.de>
33923
33924 * po/ia.po: Add new Interlingua translation.
33925
ab15736f 339262012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33927
33928 * locale/programs/localedef.c: Fix description of '--posix' flag.
33929
568035b7
JM
339302013-01-02 Joseph Myers <joseph@codesourcery.com>
33931
e6898b8d
JM
33932 * NEWS: Update dates in second copyright notice.
33933 * README: Update copyright dates in example.
33934 * manual/libc.texinfo: Update copyright dates.
33935 * scripts/test-installation.pl: Update copyright date in --version
33936 output.
33937
0e2f9562
JM
33938 * hurd/ctty-input.c: Fix copyright notice formatting.
33939 * hurd/ctty-output.c: Likewise.
33940 * hurd/dtable.c: Likewise.
33941 * hurd/hurd-raise.c: Likewise.
33942 * hurd/hurdprio.c: Likewise.
33943 * hurd/msgportdemux.c: Likewise.
33944 * misc/sys/file.h: Likewise.
33945 * misc/sys/ioctl.h: Likewise.
33946 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33947 * sysdeps/mach/hurd/chdir.c: Likewise.
33948 * sysdeps/mach/hurd/fchdir.c: Likewise.
33949 * sysdeps/mach/hurd/rename.c: Likewise.
33950 * sysdeps/mach/hurd/rmdir.c: Likewise.
33951 * sysdeps/mach/hurd/seekdir.c: Likewise.
33952 * sysdeps/mach/hurd/setsid.c: Likewise.
33953 * sysdeps/posix/wait3.c: Likewise.
33954
568035b7
JM
33955 * All files with FSF copyright notices: Update copyright dates
33956 using scripts/update-copyrights.
33957 * intl/plural.c: Regenerated.
33958 * locale/programs/charmap-kw.h: Likewise.
33959 * locale/programs/locfile-kw.h: Likewise.
33960
da08f647
SP
339612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33962
0f5477af
SP
33963 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33964 four values.
33965
44e0d4c2
SP
33966 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33967 calculation loop and add branch prediction.
33968
4d55b4e5
SP
33969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33970 check access beyond bounds of m1np.
33971
da08f647
SP
33972 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33973 MPTWO.
33974 (__inv): Remove local variable MPTWO to use the global
33975 constant.
33976 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33977 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33978 variable MPTWO.
33979 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33980 MP3HALFS static const.
33981
8e051029
DM
339822013-01-01 David S. Miller <davem@davemloft.net>
33983
33984 * po/ca.po: Update from translation team.
33985
f4cf5f2d
JM
339862013-01-01 Joseph Myers <joseph@codesourcery.com>
33987
33988 * scripts/update-copyrights: New file.
33989 * Makeconfig: Reformat copyright notice.
33990 * ctype/ctype.h: Likewise.
33991 * debug/swprintf_chk.c: Likewise.
33992 * elf/dl-cache.c: Likewise.
33993 * elf/dl-debug.c: Likewise.
33994 * elf/dl-object.c: Likewise.
33995 * grp/initgroups.c: Likewise.
33996 * hurd/Makefile: Likewise.
33997 * hurd/hurd/signal.h: Likewise.
33998 * hurd/hurdfault.c: Likewise.
33999 * hurd/hurdioctl.c: Likewise.
34000 * hurd/hurdlookup.c: Likewise.
34001 * hurd/intr-msg.c: Likewise.
34002 * iconv/gconv_open.c: Likewise.
34003 * libio/swprintf.c: Likewise.
34004 * locale/lc-ctype.c: Likewise.
34005 * locale/nl_langinfo.c: Likewise.
34006 * mach/Machrules: Likewise.
34007 * mach/Makefile: Likewise.
34008 * malloc/obstack.h: Likewise.
34009 * manual/Makefile: Likewise.
34010 * manual/tsort.awk: Likewise.
34011 * misc/bits/stab.def: Likewise.
34012 * nis/nis_print_group_entry.c: Likewise.
34013 * nis/nis_table.c: Likewise.
34014 * nis/nss_compat/compat-pwd.c: Likewise.
34015 * nis/nss_compat/compat-spwd.c: Likewise.
34016 * po/Makefile: Likewise.
34017 * posix/fnmatch.c: Likewise.
34018 * posix/regex.h: Likewise.
34019 * resolv/Makefile: Likewise.
34020 * resolv/nss_dns/dns-network.c: Likewise.
34021 * resolv/res_hconf.c: Likewise.
34022 * scripts/gen-sorted.awk: Likewise.
34023 * soft-fp/soft-fp.h: Likewise.
34024 * stdio-common/printf.h: Likewise.
34025 * stdlib/monetary.h: Likewise.
34026 * stdlib/random.c: Likewise.
34027 * stdlib/random_r.c: Likewise.
34028 * sysdeps/generic/Makefile: Likewise.
34029 * sysdeps/gnu/Makefile: Likewise.
34030 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34032 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34034 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34038 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34039 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34040 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34041 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34042 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34043 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34044 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34045 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34046 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34047 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34050 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34051 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34052 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34053 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34054 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34056 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34058 * sysdeps/mach/hurd/errnos.awk: Likewise.
34059 * sysdeps/mach/hurd/fork.c: Likewise.
34060 * sysdeps/mach/hurd/getcwd.c: Likewise.
34061 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34062 * sysdeps/mach/hurd/mmap.c: Likewise.
34063 * sysdeps/mach/hurd/utimes.c: Likewise.
34064 * sysdeps/mach/hurd/xmknod.c: Likewise.
34065 * sysdeps/posix/profil.c: Likewise.
34066 * sysdeps/posix/readdir_r.c: Likewise.
34067 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34068 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34069 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34070 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34072 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34073 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34074 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34076 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34077 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34078 * sysdeps/pthread/lio_listio.c: Likewise.
34079 * sysdeps/sparc/dl-procinfo.h: Likewise.
34080 * sysdeps/unix/i386/sysdep.S: Likewise.
34081 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34082 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34083 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34084 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34086 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34087 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34088 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34089 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34090 * sysdeps/wordsize-32/divdi3.c: Likewise.
34091 * time/sys/time.h: Likewise.
34092 * wcsmbs/Makefile: Likewise.
34093
0549fbba
DM
340942013-01-01 David S. Miller <davem@davemloft.net>
34095
a141f1a7
DM
34096 * po/fr.po: Update from translation team.
34097
0549fbba
DM
34098 * catgets/gencat.c: Update copyright year.
34099 * csu/version.c: Likewise.
34100 * debug/catchsegv.sh: Likewise.
34101 * debug/pcprofiledump.c: Likewise.
34102 * debug/xtrace.sh: Likewise.
34103 * elf/ldconfig.c: Likewise.
34104 * elf/ldd.bash.in: Likewise.
34105 * elf/pldd.c: Likewise.
34106 * elf/sotruss.ksh: Likewise.
34107 * elf/sprof.c: Likewise.
34108 * iconv/iconv_prog.c: Likewise.
34109 * iconv/iconvconfig.c: Likewise.
34110 * locale/programs/locale.c: Likewise.
34111 * locale/programs/localedef.c: Likewise.
34112 * login/programs/pt_chown.c: Likewise.
34113 * malloc/memusage.sh: Likewise.
34114 * malloc/memusagestat.c: Likewise.
34115 * malloc/mtrace.pl: Likewise.
34116 * nscd/nscd.c: Likewise.
34117 * nss/getent.c: Likewise.
34118 * nss/makedb.c: Likewise.
34119 * posix/getconf.c: Likewise.
34120
18ea052c
SP
341212012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34122
34123 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34124 numbers.
34125
9c89fca6
MF
341262012-12-30 Mike Frysinger <vapier@gentoo.org>
34127
34128 * math/bits/mathcalls.h (modf): Use __nonnull.
34129
085ec079
SP
341302012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34131
34132 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34133 (split): Use macro CN instead of the bare value.
34134 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34135 could be used.
34136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34137 instead of the bare value.
34138 (power1): Likewise.
34139
6d9f97e1
SP
341402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34141
d63f73be
SP
34142 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34143 __ATAN_TWOM.
34144 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34145
6d9f97e1
SP
34146 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34147 their values.
34148 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34149 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34150 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34151 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34152
4c4febf5
AJ
341532012-12-28 Andreas Jaeger <aj@suse.de>
34154
af5843ef
AJ
34155 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34156 values are from Linux 3.7.
34157
4c4febf5
AJ
34158 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34159 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34160
99136f82
SP
341612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34162
2f216c3c 34163 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34164 TRUE case.
34165
99136f82
SP
34166 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34167 (norm): Likewise.
34168 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34169 variables with preprocessor constants.
34170 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34171 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34172 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34173
7fffbdff
BH
341742012-12-27 Bruno Haible <bruno@clisp.org>
34175
34176 [BZ #14317]
34177 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34178 only if needed.
34179
b76eb5f0
SP
341802012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34181
31a7fe5c
SP
34182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34183 and use variable directly.
34184 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34185
b76eb5f0
SP
34186 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34187 MPONE.
34188 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34189 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34190 variable MPONE.
34191 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34193 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34194 include directive. Remove local variable MPONE.
34195 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34198
2c8bfe7d
DM
341992012-12-25 David S. Miller <davem@davemloft.net>
34200
34201 * version.h (RELEASE): Set to "development".
34202 (VERSION): Set to "2.17.90".
34203 * NEWS: Add 2.18 section.
34204
147d03b0
DM
342052012-12-21 David S. Miller <davem@davemloft.net>
34206
34207 * po/hr.po: Update from translation team.
34208
a8ebb2b9
AK
342092012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34210
34211 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34212
95b4f1b6
SE
342132012-12-19 Steve Ellcey <sellcey@mips.com>
34214
b2d94007 34215 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34216
cedb2a90
MS
342172012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34218
34219 * manual/contrib.texi (Contributors): Spelling correction.
34220
bbf527d6
DM
342212012-12-15 David S. Miller <davem@davemloft.net>
34222
34223 * po/ru.po: Update from translation team.
34224
bc38c906
DM
342252012-12-13 David S. Miller <davem@davemloft.net>
34226
85429b1a
DM
34227 * NEWS: Mention IFUNC testsuite enhancements.
34228
d283e353
DM
34229 * po/pl.po: Update from translation team.
34230 * po/bg.po: Likewise.
34231
bc38c906
DM
34232 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34233 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34234
a181b0d7
DM
342352012-12-11 David S. Miller <davem@davemloft.net>
34236
4641d57e
DM
34237 * po/sv.po: Update from translation team.
34238
f7bc6495
DM
34239 * po/vi.po: Update from translation team.
34240
6fc9048f
DM
34241 * po/cs.po: Update from translation team.
34242
a181b0d7
DM
34243 * po/de.po: Update from translation team.
34244 * po/eo.po: Likewise.
34245 * po/nl.po: Likewise.
34246
f70bfe80
SP
342472012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34248
3c8b4190
SP
34249 [BZ #14246]
34250 * manual/argp.texi (Argp Helper Functions): Move node to follow
34251 Argp Parsing State.
34252
f70bfe80
SP
34253 [BZ #14872]
34254 * manual/conf.texi (Limits on File System Capacity): Mention if
34255 terminating null is included in the max size.
34256
188f0adf
AJ
342572012-12-10 Andreas Jaeger <aj@suse.de>
34258
34259 * po/cs.po: Update from translation team.
34260
56e7d3ad
SP
342612012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34262
34263 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34264 void pointer and cast to uintptr_t.
34265 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34266 path.
34267 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34268 * sysdeps/s390/s390-64/memset.S: Likewise.
34269
76f2d2ea 342702012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34271
34272 [BZ #14833]
34273 * menual/message.texi (Message Translation): Fix typos.
34274 (Helper programs for gettext): Likewise.
34275
67cbf9a2
AS
342762012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34277
34278 [BZ #14898]
34279 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34280 Change to -1.
34281
682d0e9a
DM
342822012-12-07 David S. Miller <davem@davemloft.net>
34283
34284 * po/libc.pot: Update.
34285
573cd484
RH
342862012-12-07 Richard Henderson <rth@redhat.com>
34287
7e9da188 34288 [BZ #10114]
573cd484
RH
34289 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34290 normal/normal case to before the switch.
34291 (_FP_DIV): Likewise.
34292
e933a943
MF
342932012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34294 Mike Frysinger <vapier@gentoo.org>
34295
34296 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34297 check for __NR_fadvise64_64.
34298
82123268
CM
342992012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34300
34301 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34302 0, not just to plain "0" as a statement.
34303 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34304 with cw.
34305
d9814526
JM
343062012-12-06 Joseph Myers <joseph@codesourcery.com>
34307
34308 * NEWS: Use sourceware.org in Bugzilla URL.
34309
7728c574
SP
343102012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34311
f16946dd
SP
34312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34313 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34314
5704bbcb
SP
34315 * stdio-common/tst-put-error.c (do_test): Add newline to the
34316 padded test to ensure flush.
34317
17aa0516
JL
343182012-12-05 Jeff Law <law@redhat.com>
34319
34320 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34321
363313b5
JM
343222012-12-05 Joseph Myers <joseph@codesourcery.com>
34323
effbd42a
JM
34324 * README: Don't refer to ports add-on as distributed separately.
34325 Mention AArch64 in list of systems supported in the ports add-on.
34326
87600365
JM
34327 * LICENSES: Add more non-FSF copyright and license notices.
34328
a0d7066a
JM
34329 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34330 ((unused)).
34331
66ca5a5b
JM
34332 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34333
363313b5
JM
34334 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34335 10000 as width of padded output.
34336
b37984ad
JM
343372012-12-04 Joseph Myers <joseph@codesourcery.com>
34338
9003570a
JM
34339 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34340
b37984ad
JM
34341 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34342 variable LX with __attribute__ ((unused)).
34343 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34344 Likewise.
34345 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34348 with __attribute__ ((unused)).
34349
c8df52ec
DM
343502012-12-04 David S. Miller <davem@abraco.davemloft.net>
34351
34352 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34353
b3b099af
JM
343542012-12-04 Joseph Myers <joseph@codesourcery.com>
34355
c33aa6e3
JM
34356 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34357 (CFLAGS-nldbl-acos.c): New variable.
34358 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34359 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34360 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34361 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34362 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34363 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34364 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34365 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34366 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34367 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34368 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34369 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34370 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34371 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34372 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34373 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34374 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34375 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34376 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34377 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34378 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34379 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34380 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34381 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34382 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34383 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34384 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34385 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34386 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34387 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34388 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34389 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34390 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34391 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34392 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34393 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34394 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34395 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34396 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34397 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34398 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34399 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34400 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34401 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34402 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34403 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34404 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34405 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34406 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34407 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34408 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34409 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34410 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34411 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34412 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34413 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34414 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34415 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34416 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34417 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34418 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34419 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34420 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34421 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34422 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34423 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34424 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34425 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34426 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34427 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34428 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34429 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34430 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34431 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34432 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34433 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34434 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34435 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34436 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34437 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34438 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34439 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34440 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34441 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34442 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34443 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34444 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34445 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34446 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34447 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34448 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34449 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34450 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34451 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34452 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34453 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34454 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34455
20f0018d
JM
34456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34457 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34458
b3b099af
JM
34459 [BZ #14914]
34460 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34461 whole low double instead of just low 47 bits when splitting values
34462 into two parts.
34463
029264d1
AM
344642012-12-03 Allan McRae <allan@archlinux.org>
34465
34466 * manual/stdio.texi (Predefined Printf Handlers): Remove
34467 @hsep and @vsep usage.
34468
c9d6789e
MF
344692012-12-03 Mike Frysinger <vapier@gentoo.org>
34470
34471 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34472 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34473
4b7634a5
JL
344742012-12-03 Jeff Law <law@redhat.com>
34475
34476 * time/sys/time.h (settimeofday): Do not mark TV argument
34477 as __nonnull.
34478
eb6cbd24
MF
344792012-12-01 Mike Frysinger <vapier@gentoo.org>
34480
34481 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34482 when currently writing and seek to current position when not.
34483 * libio/Makefile (tests): Remove bug-fclose1.
34484 * libio/bug-fclose1.c: Delete.
34485
f638872a
JM
344862012-12-01 Joseph Myers <joseph@codesourcery.com>
34487
34488 * manual/arith.texi (feenableexcept): Fix typo.
34489 (fedisableexcept): Likewise.
34490
48085d14
RM
344912012-11-30 Roland McGrath <roland@hack.frob.com>
34492
34493 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34494 second, differently-typed declaration, rather than a cast.
34495
1a538b9f
SP
344962012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34497
34498 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34499 * include/rpc/svc.h: ... here.
34500
d07f2ff1 345012012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34502
34503 [BZ #13013]
34504 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34505 depending n and resplen2 to catch cases where answer
34506 equals answerp2.
34507
c93ec1f0
CD
345082012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34509
34510 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34511 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34512
37db69de
MF
345132012-11-29 Mike Frysinger <vapier@gentoo.org>
34514
34515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34516
e10c4e4f
RM
345172012-11-29 Roland McGrath <roland@hack.frob.com>
34518
34519 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34520
2af1b328
JL
345212012-11-28 Jeff Law <law@redhat.com>
34522
34523 [BZ #13761]
34524 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34525 dataset_temporary. Track alloca usage into alloca_used.
34526 If dataset is large allocate and release it via malloc/free.
34527
111db5b1
FW
345282012-06-04 Florian Weimer <fweimer@redhat.com>
34529
f06cc227 34530 [BZ #14197]
111db5b1
FW
34531 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34532
dd694abd
DM
345332012-11-28 David S. Miller <davem@davemloft.net>
34534
34535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34536
9984dd01
JM
345372012-11-28 Joseph Myers <joseph@codesourcery.com>
34538
34539 [BZ #14803]
34540 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34541 of pi/2 rounded to nearest to 64 bits.
34542 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34543 nearest to 64 bits.
34544 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34545 bits.
34546
14bc93a9
JL
345472012-11-28 Jeff Law <law@redhat.com>
34548 Martin Osvald <mosvald@redhat.com>
34549
34550 [BZ #14889]
34551 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34552 * sunrpc/svc.c: Include time.h.
34553 (__svc_accept_failed): New function.
34554 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34555 any reason other than EINTR, call __svc_accept_failed.
34556 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34557 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34558
e3c6aa3a
AS
345592012-11-28 Andreas Schwab <schwab@suse.de>
34560
34561 * scripts/abilist.awk: Also handle indirect functions in .opd
34562 section.
34563
1bead169
JM
345642012-11-28 Joseph Myers <joseph@codesourcery.com>
34565
34566 [BZ #13881]
34567 * sysdeps/x86/fpu/powl_helper.c: New file.
34568 * sysdeps/x86/fpu/Makefile: Likewise.
34569 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34570 (p3): New object.
34571 (__ieee754_powl): Use __powl_helper for finite arguments except
34572 integer exponents below 8.
34573 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34574 (p3): New object.
34575 (__ieee754_powl): Use __powl_helper for finite arguments except
34576 integer exponents below 8.
34577 * math/libm-test.inc (pow_test): Add more tests and enable some
34578 previously disabled tests.
34579 * sysdeps/i386/fpu/libm-test-ulps: Update.
34580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34581
0817d63d
SP
345822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34583 Carlos O'Donell <carlos_odonell@mentor.com>
34584
34585 * nss/makedb.c (is_prime): Assert that input is odd and greater
34586 than 4. Note that fact in a comment too.
34587 (next_prime): Add 4 to input.
34588
de2fd463
SP
345892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34590
34591 [BZ #11741]
34592 * libio/Makefile (tests): Add test case tst-fwrite-error.
34593 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34594 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34595 * libio/tst-fwrite-error.c: New test case.
34596
c515fb51
L
345972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34598
34599 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34600 before casting to void *.
34601 * include/libc-internal.h (__pointer_type): New macro.
34602 (__integer_if_pointer_type_sub): Likewise.
34603 (__integer_if_pointer_type): Likewise.
34604 (cast_to_integer): Likewise.
34605 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34606 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34607 before casting to atomic64_t.
34608 (atomic_exchange_acq): Likewise.
34609 (__arch_exchange_and_add_body): Likewise.
34610 (__arch_add_body): Likewise.
34611 (atomic_add_negative): Likewise.
34612 (atomic_add_zero): Likewise.
34613
4cf77aa9
JM
346142012-11-26 Joseph Myers <joseph@codesourcery.com>
34615
34616 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34617 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34618 (add_fdes): Likewise.
34619 (linear_search_fdes): Likewise.
34620 (binary_search_unencoded_fdes): Likewise.
34621
d260b3b4
AS
346222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34623
34624 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34625
67060746
AC
346262012-11-24 Adam Conrad <adconrad@0c3.net>
34627
34628 * configure.in: Autodetect C++ header directories.
34629 * configure: Regenerated.
34630
800938a1
MF
346312012-11-23 Mike Frysinger <vapier@gentoo.org>
34632
34633 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34634
4e6e34e6
AS
346352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34636
34637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34638
7c7feb47
JM
346392012-11-22 Joseph Myers <joseph@codesourcery.com>
34640
7184dcdf
JM
34641 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34642 LDBL_MANT_DIG == 106]: Disable some tests.
34643 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34644 Likewise.
34645 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34646 Likewise.
34647
0a42601f
JM
34648 [BZ #14871]
34649 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34650 input for small inputs. Return +/- pi/2 for large inputs.
34651 * math/libm-test.inc (atan_test): Add more tests.
34652
79c9b9fe
JM
34653 * sysdeps/generic/unwind-dw2-fde-glibc.c
34654 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34655 __attribute__ ((unused)).
34656
c60d3bf2
JM
34657 [BZ #14645]
34658 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34659 x * y if x and y are nonzero and z is zero.
34660
ef1e0867
JM
34661 [BZ #14811]
34662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34663 nonzero exponents with absolute value below 0x1p-117 to +/-
34664 0x1p-117.
34665
1468ded3
JM
34666 [BZ #14869]
34667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34668 up arguments below 2**-450, not just those below 2**-500.
34669 * math/libm-test.inc (hypot_test): Add another test.
34670
8e27e3cc
JM
34671 [BZ #14868]
34672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34673 Return a+b for ratio over 2**120, not 2**60.
34674 * math/libm-test.inc (hypot_test): Add another test.
34675
c9c0279b
JM
34676 * math/libm-test.inc (clog_test): Use
34677 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34678 (clog10_test): Likewise.
34679
7c7feb47
JM
34680 [BZ #6778]
34681 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34682
fff1530e
AS
346832012-11-22 Andreas Schwab <schwab@suse.de>
34684
34685 * sysdeps/i386/fpu/libm-test-ulps: Update.
34686
94558d30
PT
346872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34688
34689 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34690 printf output with newline.
34691
7e1be741
L
346922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34693
6bfea974
L
34694 [BZ #14865]
34695 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34696 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34697 -z nodlopen, -z initfirst and -z execstack support.
34698 * configure: Regenerated.
34699
7e1be741
L
34700 * elf/elf.h (DF_1_NODIRECT): New macro.
34701 (DF_1_IGNMULDEF): Likewise.
34702 (DF_1_NOKSYMS): Likewise.
34703 (DF_1_NOHDR): Likewise.
34704 (DF_1_EDITED): Likewise.
34705 (DF_1_NORELOC): Likewise.
34706 (DF_1_SYMINTPOSE): Likewise.
34707 (DF_1_GLOBAUDIT): Likewise.
34708 (DF_1_SINGLETON): Likewise.
34709 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34710 DT_1_SUPPORTED_MASK bits.
34711 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34712
105ce2ce
CD
347132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34714
34715 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34716
123be9de
TS
347172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34718
d072f3f7
TS
34719 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34720 macro.
34721
123be9de
TS
34722 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34723 (sendmmsg): Move declarations...
34724 * socket/sys/socket.h: ... here.
34725 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34726 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34727 include it from...
34728 * socket/recvmmsg.c: ... this new file.
34729 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34730 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34731 definition of __sendmmsg hidden.
34732 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34733 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34734 Move ENOSYS stub into and include it from...
34735 * socket/sendmmsg.c: ... this new file.
34736 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34737 (sysdep_routines): Move recvmmsg and sendmmsg...
34738 * socket/Makefile (routines): ... here.
34739 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34740 (GLIBC_PRIVATE): Add __sendmmsg.
34741 * include/sys/socket.h (__sendmmsg): Add declarations.
34742 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34743 sendmmsg.
34744
cf9a5d18
JM
347452012-11-20 Joseph Myers <joseph@codesourcery.com>
34746
34747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34748 variable I1 with __attribute__ ((unused)).
34749 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34750
ecd4caf9
JM
347512012-11-19 Joseph Myers <joseph@codesourcery.com>
34752
be14d48f
JM
34753 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34754 DUMMY variables with __attribute__ ((unused)).
34755
ecd4caf9
JM
34756 * bits/byteswap.h: Include <bits/types.h>.
34757 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34758
986cab95
PT
347592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34760
34761 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34762 string_t. Do not manually set errno.
34763 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34764 length with __strnlen. Make sure to both set errno and return it on
34765 failure.
34766
6d33cc9d
DM
347672012-11-19 David S. Miller <davem@davemloft.net>
34768
34769 With help from Joseph Myers.
34770 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34771 very large arguments properly.
34772 * math/libm-test.inc (atan_test): New tests.
34773 (atan2_test): New tests.
34774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34776
ee663277
JM
347772012-11-19 Joseph Myers <joseph@codesourcery.com>
34778
877f2d8e
JM
34779 [BZ #14856]
34780 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34781 Define to 3.
34782
116fc08a
JM
34783 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34784 [POSIX] (EADDRNOTAVAIL): Likewise.
34785 [POSIX] (EAFNOSUPPORT): Likewise.
34786 [POSIX] (EALREADY): Likewise.
34787 [POSIX] (ECONNABORTED): Likewise.
34788 [POSIX] (ECONNREFUSED): Likewise.
34789 [POSIX] (ECONNRESET): Likewise.
34790 [POSIX] (EDESTADDRREQ): Likewise.
34791 [POSIX] (EDQUOT): Likewise.
34792 [POSIX] (EHOSTUNREACH): Likewise.
34793 [POSIX] (EIDRM): Likewise.
34794 [POSIX] (EISCONN): Likewise.
34795 [POSIX] (ELOOP): Likewise.
34796 [POSIX] (EMULTIHOP): Likewise.
34797 [POSIX] (ENETDOWN): Likewise.
34798 [POSIX] (ENETUNREACH): Likewise.
34799 [POSIX] (ENOBUFS): Likewise.
34800 [POSIX] (ENODATA): Likewise.
34801 [POSIX] (ENOLINK): Likewise.
34802 [POSIX] (ENOMSG): Likewise.
34803 [POSIX] (ENOPROTOOPT): Likewise.
34804 [POSIX] (ENOSR): Likewise.
34805 [POSIX] (ENOSTR): Likewise.
34806 [POSIX] (ENOTCONN): Likewise.
34807 [POSIX] (ENOTSOCK): Likewise.
34808 [POSIX] (EOPNOTSUPP): Likewise.
34809 [POSIX] (EOVERFLOW): Likewise.
34810 [POSIX] (EPROTO): Likewise.
34811 [POSIX] (EPROTONOSUPPORT): Likewise.
34812 [POSIX] (EPROTOTYPE): Likewise.
34813 [POSIX] (ESTALE): Likewise.
34814 [POSIX] (ETIME): Likewise.
34815 [POSIX] (ETXTBSY): Likewise.
34816 [POSIX] (EWOULDBLOCK): Likewise.
34817 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34818 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34819 [POSIX] (SEEK_CUR): Likewise.
34820 [POSIX] (SEEK_END): Likewise.
34821 [POSIX || UNIX98] (mode_t): Do not require.
34822 [POSIX] (off_t): Likewise.
34823 [POSIX] (pid_t): Likewise.
34824 [POSIX] (sys/stat.h): Do not allow header.
34825 [POSIX] (unistd.h): Likewise.
34826 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34827 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34828 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34829 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34830 require.
34831 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34832 sigevent): Specify elements.
34833 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34834 entry.
34835 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34836 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34837
a483863f
JM
34838 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34839 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34840 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34841 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34842 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34843 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34844 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34845 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34846 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34847 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34848 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34849 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34850 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34851 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34852 Likewise.
34853 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34854 Likewise.
34855 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34856 Likewise.
34857 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34858 Likewise.
34859 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34860 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34861 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34862 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34863 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34864 Specify lower bound on value.
34865 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34866 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34867 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34868 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34869 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34870 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34871 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34872 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34873 value.
34874 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34875 as optional.
34876 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34877 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34878 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34879 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34880 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34881 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34882 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34883 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34884 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34885 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34886 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34887 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34888 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34889 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34890 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34891 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34892 entry.
34893 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34894 optional.
34895 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34896 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34897 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34898 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34899 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34900 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34901 Likewise.
34902 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34903 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34904 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34905 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34906 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34907 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34908 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34909 as optional.
34910 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34911 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34912 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34913 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34914 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34915 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34916 specify as optional.
34917 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34918 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34919 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34920 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34921 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34922 [XPG3] (NL_LANGMAX): Likewise.
34923 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34924 [POSIX || XPG3] (NL_NMAX): Likewise.
34925 [POSIX || XPG3] (NL_SETMAX): Likewise.
34926 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34927 [XPG3] (NZERO): Likewise.
34928 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34929 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34930 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34931 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34932 (REG_ERANGE): Expect.
34933 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34934 optional-constant.
34935 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34936 Use (void) in prototype.
34937 [POSIX] (*_t): Allow.
34938 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34939 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34940 (WRDE_BADVAL): Expect.
34941
5ba924e3
JM
34942 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34943 expect.
34944 [XPG3 || XPG4] (O_RSYNC): Likewise.
34945 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34946 Likewise.
34947 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34948 [XPG3 || XPG4] (sigqueue): Likewise.
34949 [XPG3 || XPG4] (sigtimedwait): Likewise.
34950 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34951 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34952 [XPG3 || XPG4] (vsnprintf): Likewise.
34953 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34954 Likewise.
34955 [XPG3 || XPG4] (blksize_t): Likewise.
34956 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34957 Likewise.
34958 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34959 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34960 [XPG3 || XPG4] (struct itimerspec): Likewise.
34961 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34962 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34963 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34964 [XPG3 || XPG4] (clockid_t): Likewise.
34965 [XPG3 || XPG4] (timer_t): Likewise.
34966 [XPG3 || XPG4] (clock_getres): Likewise.
34967 [XPG3 || XPG4] (clock_gettime): Likewise.
34968 [XPG3 || XPG4] (clock_settime): Likewise.
34969 [XPG3 || XPG4] (nanosleep): Likewise.
34970 [XPG3 || XPG4] (timer_create): Likewise.
34971 [XPG3 || XPG4] (timer_delete): Likewise.
34972 [XPG3 || XPG4] (timer_gettime): Likewise.
34973 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34974 [XPG3 || XPG4] (timer_settime): Likewise.
34975 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34976 [XPG3 || XPG4] (getlogin_r): Likewise.
34977 [XPG3 || XPG4] (pread): Likewise.
34978 [XPG3 || XPG4] (pthread_atfork): Likewise.
34979 [XPG3 || XPG4] (pwrite): Likewise.
34980
ee663277
JM
34981 [BZ #14835]
34982 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34983 <bits/siginfo.h>.
34984
942caa16
PT
349852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34986
e19af380
PT
34987 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34988 finalizing MALLSTREAM.
34989
942caa16
PT
34990 * sysdeps/mach/hurd/syncfs.c: New file.
34991
cfde9b46
SP
349922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34993
34994 [BZ #14719]
34995 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34996 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34997 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34998 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34999 (_nss_dns_gethostbyname4_r): Likewise.
35000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35001 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35002
f6da27e5
PH
350032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35004
35005 [BZ #13763]
35006 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35007
6665d4a2
SM
350082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35009
1f51ee92
SM
35010 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35011 * elf/cache.c (print_entry): Print ",AArch64" for
35012 FLAG_AARCH64_LIB64
35013
6665d4a2
SM
35014 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35015 * elf/cache.c (print_entry): Print ",hard-float" for
35016 FLAG_ARM_LIBHF.
35017
05b227bd
DM
350182012-11-18 David S. Miller <davem@davemloft.net>
35019
35020 With help from Joseph Myers.
35021 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35022 cutoff to 2**-13.
35023 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35024 cutoff to 2**-25.
35025 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35026 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35027 small.
35028 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35029 * math/libm-test.inc (y0_test): New tests.
35030 (y1_test): New tests.
35031 * sysdeps/i386/fpu/libm-test-ulps: Update.
35032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35034
786b0b67
AS
350352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35036
35037 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35038 64-bit targets.
35039 * configure: Regenerated.
35040
8e18b86d
DM
350412012-11-17 David S. Miller <davem@davemloft.net>
35042
35043 [BZ #14811]
35044 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35045 nonzero exponents with absolute value below 0x1p-128 to +/-
35046 0x1p-128.
35047
531f1ae0
JM
350482012-11-17 Joseph Myers <joseph@codesourcery.com>
35049
12df29e2
JM
35050 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35051
150dc1a0
JM
35052 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35053
531f1ae0
JM
35054 * posix/getconf-speclist.c: New file.
35055 * posix/posix-envs.def: Likewise.
35056 * posix/confstr.c (START_ENV_GROUP): New macro.
35057 (END_ENV_GROUP): Likewise.
35058 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35059 (KNOWN_PRESENT_ENV_STRING): Likewise.
35060 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35061 (UNKNOWN_ENVIRONMENT): Likewise.
35062 (confstr): Include posix-envs.def instead of handling
35063 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35064 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35065 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35066 (END_ENV_GROUP): Likewise.
35067 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35068 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35069 (UNKNOWN_ENVIRONMENT): Likewise.
35070 (__sysconf): Include posix-envs.def instead of handling associated
35071 cases directly here.
35072 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35073 preprocessing getconf-speclist.c rather than running getconf or
35074 generating empty file.
35075
a93f9cbc
PT
350762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35077
35078 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35079
d64d9f87
AL
350802012-11-16 Andrej Lajovic <natrij@gmail.com>
35081
35082 [BZ #14672]
35083 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35084
447885eb
DM
350852012-11-16 David S. Miller <davem@davemloft.net>
35086
35087 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35088 smaller than LDBL_EPSILON/2.0L, just return xm1.
35089
bcbf9830
L
350902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35091
35092 * elf/tst-array1.c (init): Set constructor priority to 1000.
35093 (fini): Set destructor priority to 1000.
35094 * elf/tst-array2dep.c: Likewise.
35095
2b766585
SP
350962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35097
35098 [BZ #11741]
35099 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35100 (_IO_new_file_xsputn): Also return EOF if none of the input
35101 data was written when overflow failed.
35102 * libio/iopadn.c (_IO_padn): Likewise.
35103 * libio/iowpadn.c (_IO_wpadn): Likewise.
35104 * stdio-common/tst-put-error.c: Add copyright notice.
35105 (do_test): Add case for printing padded string.
35106 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35107 _IO_padn returned error.
35108 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35109 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35110 return EOF.
35111
b1848fde
SP
351122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35113
35114 * libio/libioP.h: Add comment note that the references to C++
35115 bits are now obsolete.
35116
2fd89785
MS
351172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35118
35119 * math/libm-test.inc (check_complex): Use asprintf.
35120
e3ea5409
JM
351212012-11-14 Joseph Myers <joseph@codesourcery.com>
35122
35123 * debug/pcprofiledump.c (print_version): Update copyright year.
35124 * malloc/memusagestat.c (print_version): Likewise.
35125
2e64d265
L
351262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35127
35128 [BZ #14831]
35129 * elf/Makefile (tests): Add tst-audit8.
35130 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35131 ($(objpfx)tst-audit8.out): New target.
35132 (tst-audit8-ENV): New variable.
35133 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35134 audit if l_reloc_result is NULL.
35135 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35136 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35137 * elf/tst-audit8.c: New file.
35138
c485e4d2
MS
351392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35140
35141 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35142 * misc/Makefile (CFLAGS-select.c): Define.
35143 * posix/Makefile (CFLAGS-pause.c): Define.
35144
3a0d900a
DM
351452012-11-13 David S. Miller <davem@davemloft.net>
35146
35147 * crypt/Makefile: Move test targets after toplevel Rules
35148 inclusion. Grab any necessary sysdep routines when linking.
35149 * crypt/md5.c (md5_process_block): Remove define, we will always
35150 name it __md5_process_block.
35151 (md5_finish_ctx): Update md5_process_block call.
35152 (md5_stream): Likewise.
35153 (md5_process_bytes): Likewise.
35154 (md5_process_block): Rename to __md5_process_block and move to ...
35155 * crypt/md5-block.c: ... here.
35156 * crypt/sha256.c (sha256_process_block): Move to ...
35157 * crypt/sha256-block.c: ... here.
35158 * crypt/sha512.c (sha512_process_block): Move to ...
35159 * crypt/sha512-block.c: ... here.
35160 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35161 path.
35162 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35163 * sysdeps/sparc/sparc64/multiarch/Makefile
35164 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35165 crypt subdir.
35166 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35167 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35168 multiarch changes.
35169 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35170 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35171 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35172 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35173 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35174 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35175 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35176 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35177 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35178 file.
35179 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35180 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35181 file.
35182 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35183
8ca89318
JM
351842012-11-13 Joseph Myers <joseph@codesourcery.com>
35185
e27d476a
JM
35186 * timezone/tzselect.ksh: Update from tzcode git revision
35187 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35188 * timezone/zdump.c: Likewise.
35189 * timezone/zic.c: Likewise.
35190 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35191 in TZVERSION setting, not $(PKGVERSION).
35192 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35193 REPORT_BUGS_TO settings.
35194
8ca89318
JM
35195 [BZ #14838]
35196 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35197 macro.
35198
47594329
MS
351992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35200
35201 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35202 detection to immediately after _FP_ROUND().
35203 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35204 bits are 0.
35205
640ac3f1
DM
352062012-11-11 David S. Miller <davem@davemloft.net>
35207
35208 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35209 inttypes.h
35210 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35211 __close rather than their public counterparts.
35212
3d2577bb
JM
352132012-11-10 Joseph Myers <joseph@codesourcery.com>
35214
35215 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35216 file.
35217 [UNIX98] (sem_timedwait): Do not expect.
35218 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35219 [XPG4 || UNIX98] (sockatmark): Do not expect.
35220 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35221 (clock_getcpuclockid): Do not expect.
35222 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35223 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35224 Do not expect.
35225 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35226 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35227 [UNIX98] (vwscanf): Likewise.
35228 [UNIX98] (vswscanf): Likewise.
35229
fb1ae1ee
JM
352302012-11-09 Joseph Myers <joseph@codesourcery.com>
35231
9ec6f8bd
JM
35232 * timezone/version.h: Remove file.
35233 * timezone/README: Do not refer to version.h.
35234 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35235 $(objpfx)version.h.
35236 ($(objpfx)zdump.o): Likewise.
c3f81911 35237 ($(objpfx)version.h): New target.
9ec6f8bd 35238
0aa8f8a1
JM
35239 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35240 2012i.
35241 * timezone/README: Don't mention modification to tzselect.ksh.
35242 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35243 work on unmodified tzselect.ksh. Substitute version numbers in
35244 tzselect.ksh.
35245
4e87147f
JM
35246 * Makefile (format-me): Remove.
35247 (INSTALL): Adjust indentation. Use commands directly instead of
35248 using $(format-me).
35249
8b748aed
JM
35250 * aclocal.m4 (ACX_PKGVERSION): New macro.
35251 (ACX_BUGURL): Likewise.
35252 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35253 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35254 (REPORT_BUGS_TO): Likewise.
35255 * configure: Regenerated.
35256 * config.h.in (PKGVERSION): New macro.
35257 (REPORT_BUGS_TO): Likewise.
35258 * config.make.in (PKGVERSION): New variable.
35259 (PKGVERSION_TEXI): Likewise.
35260 (REPORT_BUGS_TO): Likewise.
35261 (REPORT_BUGS_TEXI): Likewise.
35262 * Makefile (format-me): Use -I$(common-objpfx)manual.
35263 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35264 ($(common-objpfx)manual/%): New target.
35265 (manual/%): Remove target.
35266 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35267 (print_version): Use PKGVERSION.
35268 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35269 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35270 and REPORT_BUGS_TO.
35271 ($(objpfx)xtrace): Likewise.
35272 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35273 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35274 (print_version): Use PKGVERSION.
35275 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35276 (do_version): Use PKGVERSION.
35277 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35278 REPORT_BUGS_TO.
35279 (common-ldd-rewrite): Likewise.
35280 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35281 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35282 (print_version): Use PKGVERSION.
35283 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35284 * elf/pldd.c (argp_program_bug_address): Remove variable.
35285 (more_help): New function.
35286 (argp): Use more_help.
35287 (print_version): Use PKGVERSION.
35288 * elf/sln.c (main): Use PKGVERSION.
35289 (usage): Use REPORT_BUGS_TO.
35290 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35291 (top level): Use PKGVERSION.
35292 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35293 (print_version): Use PKGVERSION.
35294 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35295 (print_version): Use PKGVERSION.
35296 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35297 (print_version): Use PKGVERSION.
35298 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35299 (print_version): Use PKGVERSION.
35300 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35301 (print_version): Use PKGVERSION.
35302 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35303 (print_version): Use PKGVERSION.
35304 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35305 and BUGURL.
35306 ($(objpfx)memusage): Likewise.
35307 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35308 (do_version): Use PKGVERSION.
35309 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35310 (print_version): Use PKGVERSION.
35311 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35312 ($PKGVERSION): New variable.
35313 ($REPORT_BUGS_TO): Likewise.
35314 (usage): Use $REPORT_BUGS_TO.
35315 (top level): Use $PKGVERSION.
35316 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35317 ($(objpfx)pkgvers.texi): New rule.
35318 ($(objpfx)stamp-pkgvers): Likewise.
35319 * manual/install.texi: Include pkgvers.texi.
35320 (--with-pkgversion): Document new configure option.
35321 (--with-bugurl): Likewise.
35322 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35323 than necessarily for this particular distribution. Use
35324 REPORT_BUGS_TO for where to report bugs.
35325 * INSTALL: Regenerated.
35326 * manual/libc.texinfo: Include pkgvers.texi.
35327 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35328 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35329 (print_version): Use PKGVERSION.
35330 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35331 (print_version): Use PKGVERSION.
35332 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35333 (print_version): Use PKGVERSION.
35334 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35335 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35336 macro.
35337 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35338 (print_version): Use PKGVERSION.
35339 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35340 (print_version): Use PKGVERSION.
35341 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35342 and PKGVERSION.
35343
92e4b6a9
JM
35344 * timezone/checktab.awk: Update from tzcode 2012i.
35345 * timezone/ialloc.c: Likewise.
35346 * timezone/private.h: Likewise.
35347 * timezone/scheck.c: Likewise.
35348 * timezone/tzfile.h: Likewise.
35349 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35350 (TZVERSION): Hardcode tzcode version number.
35351 * timezone/zdump.c: Update from tzcode 2012i.
35352 * timezone/zic.c: Likewise.
35353 * timezone/version.h: New file.
35354 * timezone/README: Describe version.h. Update upstream location.
35355
9bde902c
JM
35356 [BZ #14824]
35357 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35358 (mktemp): Enable declaration.
35359 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35361 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35363 Likewise.
35364 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35365 Likewise.
35366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35367 Likewise.
35368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35369 Likewise.
35370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35371 Likewise.
35372 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35373 Likewise.
35374
fb1ae1ee
JM
35375 [BZ #14821]
35376 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35377 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35378 for copies of such integer values.
35379 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35380 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35381
2c1adbcb
AJ
353822012-11-09 Andreas Jaeger <aj@suse.de>
35383
35384 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35385 definitions and declarations that are provided by
35386 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35387
d0f8457e
AK
353882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35389
3a235abb 35390 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35391 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35392 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35393 definition.
35394
57241e26
MS
353952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35396
35397 * elf/elf.h: Update comment before AArch64 relocations.
35398
60e8270d
DM
353992012-11-07 David S. Miller <davem@davemloft.net>
35400
35401 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35402 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35403 (__start_context): Declare.
35404 (__makecontext_ret): Delete.
35405 (__makecontext): Hook up __start_context instead of
35406 __makecontext_ret.
35407 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35408 (sysdep_routines): Add __start_context when in stdlib.
35409
0fbb0fbc
JM
354102012-11-07 Joseph Myers <joseph@codesourcery.com>
35411
35412 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35413 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35414 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35415 hardcoded "nm".
35416 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35417 (READELF): New variable. Use it instead of hardcoded "readelf".
35418
eb48db7e
L
354192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35420
35421 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35422 * sysdeps/x86/Makefile: Here.
35423 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35424 * sysdeps/x86/tst-xmmymm.sh: This.
35425
05bcf62a
JM
354262012-11-07 Joseph Myers <joseph@codesourcery.com>
35427
c4b6cf53
JM
35428 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35429 expectations.
35430 [UNIX98] (pthread_barrier_t): Do not expect.
35431 [UNIX98] (pthread_barrierattr_t): Likewise.
35432 [UNIX98] (pthread_spinlock_t): Likewise.
35433 [UNIX98] (pthread_barrier_destroy): Likewise.
35434 [UNIX98] (pthread_barrier_init): Likewise.
35435 [UNIX98] (pthread_barrier_wait): Likewise.
35436 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35437 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35438 [UNIX98] (pthread_barrierattr_init): Likewise.
35439 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35440 [UNIX98] (pthread_getcpuclockid): Likewise.
35441 [UNIX98] (pthread_mutex_timedlock): Likewise.
35442 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35443 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35444 [UNIX98] (pthread_sigmask): Likewise.
35445 [UNIX98] (pthread_spin_destroy): Likewise.
35446 [UNIX98] (pthread_spin_init): Likewise.
35447 [UNIX98] (pthread_spin_lock): Likewise.
35448 [UNIX98] (pthread_spin_trylock): Likewise.
35449 [UNIX98] (pthread_spin_unlock): Likewise.
35450 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35451 Do not expect.
35452 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35453 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35454 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35455 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35456 [XPG3 || XPG4] (pthread_key_t): Likewise.
35457 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35458 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35459 [XPG3 || XPG4] (pthread_once_t): Likewise.
35460 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35461 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35463 [XPG3 || XPG4] (pthread_t): Likewise.
35464
cbe6e120
JM
35465 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35466 not expect.
35467 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35468
1b126443
JM
35469 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35470 Change function return type to int.
35471
b961a573
JM
35472 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35473 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35474 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35475 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35476 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35477 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35478 [!POSIX] (posix_madvise): Likewise.
35479 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35480 && !UNIX98].
35481 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35482 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35483 (mode_t): Likewise.
35484 (posix_mem_offset): Likewise.
35485 (posix_typed_mem_get_info): Likewise.
35486 (posix_typed_mem_open): Likewise.
35487
9e188909
JM
35488 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35489 Change condition to [XOPEN2K8].
35490
05bcf62a
JM
35491 * conform/conformtest.pl: Preprocess allow-header data with -x c
35492 instead of from stdin.
35493 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35494 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35495 [C99-based standards] (cerfc): Likewise.
35496 [C99-based standards] (cexp2): Likewise.
35497 [C99-based standards] (cexpm1): Likewise.
35498 [C99-based standards] (clog10): Likewise.
35499 [C99-based standards] (clog1p): Likewise.
35500 [C99-based standards] (clog2): Likewise.
35501 [C99-based standards] (clgamma): Likewise.
35502 [C99-based standards] (ctgamma): Likewise.
35503 [C99-based standards] (cerff): Likewise.
35504 [C99-based standards] (cerfcf): Likewise.
35505 [C99-based standards] (cexp2f): Likewise.
35506 [C99-based standards] (cexpm1f): Likewise.
35507 [C99-based standards] (clog10f): Likewise.
35508 [C99-based standards] (clog1pf): Likewise.
35509 [C99-based standards] (clog2f): Likewise.
35510 [C99-based standards] (clgammaf): Likewise.
35511 [C99-based standards] (ctgammaf): Likewise.
35512 [C99-based standards] (cerfl): Likewise.
35513 [C99-based standards] (cerfcl): Likewise.
35514 [C99-based standards] (cexp2l): Likewise.
35515 [C99-based standards] (cexpm1l): Likewise.
35516 [C99-based standards] (clog10l): Likewise.
35517 [C99-based standards] (clog1pl): Likewise.
35518 [C99-based standards] (clog2l): Likewise.
35519 [C99-based standards] (clgammal): Likewise.
35520 [C99-based standards] (ctgammal): Likewise.
35521 * conform/data/inttypes.h-data [C99-based standards]: Include
35522 stdint.h-data. Remove all expectations for stdint.h contents.
35523 [C99-based standards] (PRI*): Do not allow.
35524 [C99-based standards] (SCN*): Likewise.
35525 [C99-based standards] (*_t): Likewise.
35526 [C99-based-standards] (PRId8): Expect macro.
35527 [C99-based-standards] (PRIi8): Likewise.
35528 [C99-based-standards] (PRIo8): Likewise.
35529 [C99-based-standards] (PRIu8): Likewise.
35530 [C99-based-standards] (PRIx8): Likewise.
35531 [C99-based-standards] (PRIX8): Likewise.
35532 [C99-based-standards] (SCNd8): Likewise.
35533 [C99-based-standards] (SCNi8): Likewise.
35534 [C99-based-standards] (SCNo8): Likewise.
35535 [C99-based-standards] (SCNu8): Likewise.
35536 [C99-based-standards] (SCNx8): Likewise.
35537 [C99-based-standards] (PRIdLEAST8): Likewise.
35538 [C99-based-standards] (PRIiLEAST8): Likewise.
35539 [C99-based-standards] (PRIoLEAST8): Likewise.
35540 [C99-based-standards] (PRIuLEAST8): Likewise.
35541 [C99-based-standards] (PRIxLEAST8): Likewise.
35542 [C99-based-standards] (PRIXLEAST8): Likewise.
35543 [C99-based-standards] (SCNdLEAST8): Likewise.
35544 [C99-based-standards] (SCNiLEAST8): Likewise.
35545 [C99-based-standards] (SCNoLEAST8): Likewise.
35546 [C99-based-standards] (SCNuLEAST8): Likewise.
35547 [C99-based-standards] (SCNxLEAST8): Likewise.
35548 [C99-based-standards] (PRIdFAST8): Likewise.
35549 [C99-based-standards] (PRIiFAST8): Likewise.
35550 [C99-based-standards] (PRIoFAST8): Likewise.
35551 [C99-based-standards] (PRIuFAST8): Likewise.
35552 [C99-based-standards] (PRIxFAST8): Likewise.
35553 [C99-based-standards] (PRIXFAST8): Likewise.
35554 [C99-based-standards] (SCNdFAST8): Likewise.
35555 [C99-based-standards] (SCNiFAST8): Likewise.
35556 [C99-based-standards] (SCNoFAST8): Likewise.
35557 [C99-based-standards] (SCNuFAST8): Likewise.
35558 [C99-based-standards] (SCNxFAST8): Likewise.
35559 [C99-based-standards] (PRId16): Likewise.
35560 [C99-based-standards] (PRIi16): Likewise.
35561 [C99-based-standards] (PRIo16): Likewise.
35562 [C99-based-standards] (PRIu16): Likewise.
35563 [C99-based-standards] (PRIx16): Likewise.
35564 [C99-based-standards] (PRIX16): Likewise.
35565 [C99-based-standards] (SCNd16): Likewise.
35566 [C99-based-standards] (SCNi16): Likewise.
35567 [C99-based-standards] (SCNo16): Likewise.
35568 [C99-based-standards] (SCNu16): Likewise.
35569 [C99-based-standards] (SCNx16): Likewise.
35570 [C99-based-standards] (PRIdLEAST16): Likewise.
35571 [C99-based-standards] (PRIiLEAST16): Likewise.
35572 [C99-based-standards] (PRIoLEAST16): Likewise.
35573 [C99-based-standards] (PRIuLEAST16): Likewise.
35574 [C99-based-standards] (PRIxLEAST16): Likewise.
35575 [C99-based-standards] (PRIXLEAST16): Likewise.
35576 [C99-based-standards] (SCNdLEAST16): Likewise.
35577 [C99-based-standards] (SCNiLEAST16): Likewise.
35578 [C99-based-standards] (SCNoLEAST16): Likewise.
35579 [C99-based-standards] (SCNuLEAST16): Likewise.
35580 [C99-based-standards] (SCNxLEAST16): Likewise.
35581 [C99-based-standards] (PRIdFAST16): Likewise.
35582 [C99-based-standards] (PRIiFAST16): Likewise.
35583 [C99-based-standards] (PRIoFAST16): Likewise.
35584 [C99-based-standards] (PRIuFAST16): Likewise.
35585 [C99-based-standards] (PRIxFAST16): Likewise.
35586 [C99-based-standards] (PRIXFAST16): Likewise.
35587 [C99-based-standards] (SCNdFAST16): Likewise.
35588 [C99-based-standards] (SCNiFAST16): Likewise.
35589 [C99-based-standards] (SCNoFAST16): Likewise.
35590 [C99-based-standards] (SCNuFAST16): Likewise.
35591 [C99-based-standards] (SCNxFAST16): Likewise.
35592 [C99-based-standards] (PRId32): Likewise.
35593 [C99-based-standards] (PRIi32): Likewise.
35594 [C99-based-standards] (PRIo32): Likewise.
35595 [C99-based-standards] (PRIu32): Likewise.
35596 [C99-based-standards] (PRIx32): Likewise.
35597 [C99-based-standards] (PRIX32): Likewise.
35598 [C99-based-standards] (SCNd32): Likewise.
35599 [C99-based-standards] (SCNi32): Likewise.
35600 [C99-based-standards] (SCNo32): Likewise.
35601 [C99-based-standards] (SCNu32): Likewise.
35602 [C99-based-standards] (SCNx32): Likewise.
35603 [C99-based-standards] (PRIdLEAST32): Likewise.
35604 [C99-based-standards] (PRIiLEAST32): Likewise.
35605 [C99-based-standards] (PRIoLEAST32): Likewise.
35606 [C99-based-standards] (PRIuLEAST32): Likewise.
35607 [C99-based-standards] (PRIxLEAST32): Likewise.
35608 [C99-based-standards] (PRIXLEAST32): Likewise.
35609 [C99-based-standards] (SCNdLEAST32): Likewise.
35610 [C99-based-standards] (SCNiLEAST32): Likewise.
35611 [C99-based-standards] (SCNoLEAST32): Likewise.
35612 [C99-based-standards] (SCNuLEAST32): Likewise.
35613 [C99-based-standards] (SCNxLEAST32): Likewise.
35614 [C99-based-standards] (PRIdFAST32): Likewise.
35615 [C99-based-standards] (PRIiFAST32): Likewise.
35616 [C99-based-standards] (PRIoFAST32): Likewise.
35617 [C99-based-standards] (PRIuFAST32): Likewise.
35618 [C99-based-standards] (PRIxFAST32): Likewise.
35619 [C99-based-standards] (PRIXFAST32): Likewise.
35620 [C99-based-standards] (SCNdFAST32): Likewise.
35621 [C99-based-standards] (SCNiFAST32): Likewise.
35622 [C99-based-standards] (SCNoFAST32): Likewise.
35623 [C99-based-standards] (SCNuFAST32): Likewise.
35624 [C99-based-standards] (SCNxFAST32): Likewise.
35625 [C99-based-standards] (PRId64): Likewise.
35626 [C99-based-standards] (PRIi64): Likewise.
35627 [C99-based-standards] (PRIo64): Likewise.
35628 [C99-based-standards] (PRIu64): Likewise.
35629 [C99-based-standards] (PRIx64): Likewise.
35630 [C99-based-standards] (PRIX64): Likewise.
35631 [C99-based-standards] (SCNd64): Likewise.
35632 [C99-based-standards] (SCNi64): Likewise.
35633 [C99-based-standards] (SCNo64): Likewise.
35634 [C99-based-standards] (SCNu64): Likewise.
35635 [C99-based-standards] (SCNx64): Likewise.
35636 [C99-based-standards] (PRIdLEAST64): Likewise.
35637 [C99-based-standards] (PRIiLEAST64): Likewise.
35638 [C99-based-standards] (PRIoLEAST64): Likewise.
35639 [C99-based-standards] (PRIuLEAST64): Likewise.
35640 [C99-based-standards] (PRIxLEAST64): Likewise.
35641 [C99-based-standards] (PRIXLEAST64): Likewise.
35642 [C99-based-standards] (SCNdLEAST64): Likewise.
35643 [C99-based-standards] (SCNiLEAST64): Likewise.
35644 [C99-based-standards] (SCNoLEAST64): Likewise.
35645 [C99-based-standards] (SCNuLEAST64): Likewise.
35646 [C99-based-standards] (SCNxLEAST64): Likewise.
35647 [C99-based-standards] (PRIdFAST64): Likewise.
35648 [C99-based-standards] (PRIiFAST64): Likewise.
35649 [C99-based-standards] (PRIoFAST64): Likewise.
35650 [C99-based-standards] (PRIuFAST64): Likewise.
35651 [C99-based-standards] (PRIxFAST64): Likewise.
35652 [C99-based-standards] (PRIXFAST64): Likewise.
35653 [C99-based-standards] (SCNdFAST64): Likewise.
35654 [C99-based-standards] (SCNiFAST64): Likewise.
35655 [C99-based-standards] (SCNoFAST64): Likewise.
35656 [C99-based-standards] (SCNuFAST64): Likewise.
35657 [C99-based-standards] (SCNxFAST64): Likewise.
35658 [C99-based-standards] (PRIdMAX): Likewise.
35659 [C99-based-standards] (PRIiMAX): Likewise.
35660 [C99-based-standards] (PRIoMAX): Likewise.
35661 [C99-based-standards] (PRIuMAX): Likewise.
35662 [C99-based-standards] (PRIxMAX): Likewise.
35663 [C99-based-standards] (PRIXMAX): Likewise.
35664 [C99-based-standards] (SCNdMAX): Likewise.
35665 [C99-based-standards] (SCNiMAX): Likewise.
35666 [C99-based-standards] (SCNoMAX): Likewise.
35667 [C99-based-standards] (SCNuMAX): Likewise.
35668 [C99-based-standards] (SCNxMAX): Likewise.
35669 [C99-based-standards] (PRIdPTR): Likewise.
35670 [C99-based-standards] (PRIiPTR): Likewise.
35671 [C99-based-standards] (PRIoPTR): Likewise.
35672 [C99-based-standards] (PRIuPTR): Likewise.
35673 [C99-based-standards] (PRIxPTR): Likewise.
35674 [C99-based-standards] (PRIXPTR): Likewise.
35675 [C99-based-standards] (SCNdPTR): Likewise.
35676 [C99-based-standards] (SCNiPTR): Likewise.
35677 [C99-based-standards] (SCNoPTR): Likewise.
35678 [C99-based-standards] (SCNuPTR): Likewise.
35679 [C99-based-standards] (SCNxPTR): Likewise.
35680 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35681 allow.
35682 * conform/data/stdint.h-data: Update comments to clarify
35683 requirements.
35684 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35685 type.
35686 [C99-based standards] (INT8_MAX): Likewise.
35687 [C99-based standards] (INT16_MIN): Likewise.
35688 [C99-based standards] (INT16_MAX): Likewise.
35689 [C99-based standards] (INT32_MIN): Likewise.
35690 [C99-based standards] (INT32_MAX): Likewise.
35691 [C99-based standards] (INT64_MIN): Likewise.
35692 [C99-based standards] (INT64_MAX): Likewise.
35693 [C99-based standards] (UINT8_MAX): Likewise.
35694 [C99-based standards] (UINT16_MAX): Likewise.
35695 [C99-based standards] (UINT32_MAX): Likewise.
35696 [C99-based standards] (UINT64_MAX): Likewise.
35697 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35698 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35699 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35700 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35701 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35702 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35703 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35704 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35705 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35706 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35707 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35708 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35709 [C99-based standards] (INT_FAST8_MIN): Likewise.
35710 [C99-based standards] (INT_FAST8_MAX): Likewise.
35711 [C99-based standards] (INT_FAST16_MIN): Likewise.
35712 [C99-based standards] (INT_FAST16_MAX): Likewise.
35713 [C99-based standards] (INT_FAST32_MIN): Likewise.
35714 [C99-based standards] (INT_FAST32_MAX): Likewise.
35715 [C99-based standards] (INT_FAST64_MIN): Likewise.
35716 [C99-based standards] (INT_FAST64_MAX): Likewise.
35717 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35718 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35719 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35720 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35721 [C99-based standards] (INTPTR_MIN): Likewise.
35722 [C99-based standards] (INTPTR_MAX): Likewise.
35723 [C99-based standards] (UINTPTR_MAX): Likewise.
35724 [C99-based standards] (INTMAX_MIN): Likewise.
35725 [C99-based standards] (INTMAX_MAX): Likewise.
35726 [C99-based standards] (UINTMAX_MAX): Likewise.
35727 [C99-based standards] (PTRDIFF_MIN): Likewise.
35728 [C99-based standards] (PTRDIFF_MAX): Likewise.
35729 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35730 [C99-based standards] (SIZE_MAX): Likewise.
35731 [C99-based standards] (WCHAR_MAX): Likewise.
35732 [C99-based standards] (WINT_MAX): Likewise.
35733 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35734 constraint on value.
35735 [C99-based standards] (WCHAR_MIN): Likewise.
35736 [C99-based standards] (WINT_MIN): Likewise.
35737 [C99-based standards] (*_t): Allow.
35738 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35739 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35740 Include math.h-data and complex.h-data. Remove all expectations
35741 of math.h and complex.h contents.
35742 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35743 at end of line.
35744 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35745 (struct tm): Expect tag.
35746 [C99-based-standards] (wcstof): Expect function.
35747 [C99-based-standards] (wcstold): Likewise.
35748 [C99-based-standards] (wcstoll): Likewise.
35749 [C99-based-standards] (wcstoull): Likewise.
35750 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35751 macro-int-constant. Specify type.
35752 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35753 constraint on value.
35754 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35755 Specify type.
35756 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35757 Specify value.
35758 [ISO C standards]: Do not allow headers.
35759 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35760 wcs[abcdefghijklmnopqrstuvwxyz]*.
35761 [ISO C standards] (*_t): Do not allow.
35762 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35763 Expect function.
35764 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35765 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35766 Specify type.
35767 [ISO C standards]: Do not allow headers.
35768 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35769 is[abcdefghijklmnopqrstuvwxyz]*.
35770 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35771 to[abcdefghijklmnopqrstuvwxyz]*.
35772 [ISO C standards] (*_t): Do not allow.
35773 * conform/data/stdalign.h-data: New file.
35774 * conform/data/stdbool.h-data: Likewise.
35775 * conform/data/stdnoreturn.h-data: Likewise.
35776
7514feb8
RM
357772012-11-07 Roland McGrath <roland@hack.frob.com>
35778
35779 [BZ #14815]
35780 * manual/filesys.texi (Directory Entries): Typo fix.
35781 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35782
19b2ecfc
MS
357832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35784
35785 * elf/elf.h (EM_AARCH64): New macro.
35786 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35787 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35788 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35789 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35790 (R_AARCH64_TLSDESC): Likewise.
35791 (NT_ARM_TLS): Likewise.
35792 (NT_ARM_HW_BREAK): Likewise.
35793 (NT_ARM_HW_WATCH): Likewise.
35794
60e235ee
JM
357952012-11-07 Joseph Myers <joseph@codesourcery.com>
35796
35797 [BZ #14811]
35798 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35799 (__ieee754_powl): Saturate nonzero exponents with absolute value
35800 below 0x1p-79 to +/- 0x1p-79.
35801 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35802 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35803 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35804 nonzero exponents with absolute value below 0x1p-32 to +/-
35805 0x1p-32.
35806 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35807 (__ieee754_powl): Saturate nonzero exponents with absolute value
35808 below 0x1p-79 to +/- 0x1p-79.
35809 * math/libm-test.inc (pow_test): Add more tests.
35810
0ab234b7
AK
358112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35812
35813 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35814 _dl_s390_cap_flags with kernel. Increase string length.
35815 (_dl_s390_platforms): Add z196 and zEC12.
35816
45832f74
JM
358172012-11-07 Joseph Myers <joseph@codesourcery.com>
35818
35819 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35820 Change XOPEN21K to XOPEN2K.
35821
19218757
MK
358222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35823
35824 * string/memmove.c: Use memcpy when possible.
35825
c5f45721
AJ
358262012-11-06 Andreas Jaeger <aj@suse.de>
35827
35828 * po/eo.po: Update from translation team.
35829
82477c28
JM
358302012-11-06 Joseph Myers <joseph@codesourcery.com>
35831
35832 [BZ #14793]
35833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35834 exponent and small x and y exponents, scale x or y up. Increase
35835 by 2 the exponent used in scaling up.
35836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35837 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35838 * math/libm-test.inc (fma_test): Add more tests.
35839 (fma_test_towardzero): Likewise.
35840 (fma_test_downward): Likewise.
35841 (fma_test_upward): Likewise.
35842
99252c8c
JM
358432012-11-05 Joseph Myers <joseph@codesourcery.com>
35844
acfa885f
JM
35845 [BZ #14805]
35846 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35847 fenv_t *.
35848
99252c8c
JM
35849 [BZ #14801]
35850 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35851 namespace for names of struct fields.
35852 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35853 fenv_t fields.
35854 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35855 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35856
d6d98dea
ST
358572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35858
35859 [BZ #3665]
35860 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35861
e10bb107
TS
358622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35863
35864 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35865 PTR_DEMANGLE.
35866
35867 [BZ #5246]
35868 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35869 PTR_DEMANGLE.
35870
a0c2940d
JM
358712012-11-04 Joseph Myers <joseph@codesourcery.com>
35872
35873 [BZ #14797]
35874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35875 definitely overflow as x * y not x * y + z.
35876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35878 * math/libm-test.inc (fma_test): Add more tests.
35879 (fma_test_towardzero): Likewise.
35880 (fma_test_downward): Likewise.
35881 (fma_test_upward): Likewise.
35882
b830319d
TS
358832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35884
35885 [BZ #157]
35886
35887 * include/stub-tag.h: Remove file.
35888 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35889 '#include' of it.
35890 * manual/maint.texi (Porting): Don't reference it.
35891 * Makerules ($(objpfx)stubs): Likewise.
35892 * dirent/closedir.c: Don't include <stub-tag.h>.
35893 * dirent/dirfd.c: Likewise.
35894 * dirent/fdopendir.c: Likewise.
35895 * dirent/getdents.c: Likewise.
35896 * dirent/getdents64.c: Likewise.
35897 * dirent/opendir.c: Likewise.
35898 * dirent/readdir.c: Likewise.
35899 * dirent/readdir64.c: Likewise.
35900 * dirent/readdir64_r.c: Likewise.
35901 * dirent/readdir_r.c: Likewise.
35902 * dirent/rewinddir.c: Likewise.
35903 * dirent/seekdir.c: Likewise.
35904 * dirent/telldir.c: Likewise.
35905 * gmon/profil.c: Likewise.
35906 * grp/setgroups.c: Likewise.
35907 * inet/if_index.c: Likewise.
35908 * io/access.c: Likewise.
35909 * io/chdir.c: Likewise.
35910 * io/chmod.c: Likewise.
35911 * io/chown.c: Likewise.
35912 * io/close.c: Likewise.
35913 * io/dup.c: Likewise.
35914 * io/dup2.c: Likewise.
35915 * io/dup3.c: Likewise.
35916 * io/euidaccess.c: Likewise.
35917 * io/faccessat.c: Likewise.
35918 * io/fchdir.c: Likewise.
35919 * io/fchmod.c: Likewise.
35920 * io/fchmodat.c: Likewise.
35921 * io/fchown.c: Likewise.
35922 * io/fchownat.c: Likewise.
35923 * io/fcntl.c: Likewise.
35924 * io/flock.c: Likewise.
35925 * io/fstatfs.c: Likewise.
35926 * io/fstatfs64.c: Likewise.
35927 * io/fstatvfs.c: Likewise.
35928 * io/fstatvfs64.c: Likewise.
35929 * io/futimens.c: Likewise.
35930 * io/fxstat.c: Likewise.
35931 * io/fxstat64.c: Likewise.
35932 * io/fxstatat.c: Likewise.
35933 * io/fxstatat64.c: Likewise.
35934 * io/getcwd.c: Likewise.
35935 * io/isatty.c: Likewise.
35936 * io/lchmod.c: Likewise.
35937 * io/lchown.c: Likewise.
35938 * io/link.c: Likewise.
35939 * io/linkat.c: Likewise.
35940 * io/lseek.c: Likewise.
35941 * io/lseek64.c: Likewise.
35942 * io/lxstat64.c: Likewise.
35943 * io/mkdir.c: Likewise.
35944 * io/mkdirat.c: Likewise.
35945 * io/mkfifo.c: Likewise.
35946 * io/mkfifoat.c: Likewise.
35947 * io/open.c: Likewise.
35948 * io/open64.c: Likewise.
35949 * io/openat.c: Likewise.
35950 * io/openat64.c: Likewise.
35951 * io/pipe.c: Likewise.
35952 * io/pipe2.c: Likewise.
35953 * io/poll.c: Likewise.
35954 * io/posix_fadvise.c: Likewise.
35955 * io/posix_fadvise64.c: Likewise.
35956 * io/posix_fallocate.c: Likewise.
35957 * io/posix_fallocate64.c: Likewise.
35958 * io/read.c: Likewise.
35959 * io/readlink.c: Likewise.
35960 * io/readlinkat.c: Likewise.
35961 * io/rmdir.c: Likewise.
35962 * io/sendfile.c: Likewise.
35963 * io/sendfile64.c: Likewise.
35964 * io/statfs.c: Likewise.
35965 * io/statfs64.c: Likewise.
35966 * io/statvfs.c: Likewise.
35967 * io/statvfs64.c: Likewise.
35968 * io/symlink.c: Likewise.
35969 * io/symlinkat.c: Likewise.
35970 * io/ttyname.c: Likewise.
35971 * io/ttyname_r.c: Likewise.
35972 * io/umask.c: Likewise.
35973 * io/unlink.c: Likewise.
35974 * io/unlinkat.c: Likewise.
35975 * io/utime.c: Likewise.
35976 * io/utimensat.c: Likewise.
35977 * io/write.c: Likewise.
35978 * io/xmknod.c: Likewise.
35979 * io/xmknodat.c: Likewise.
35980 * io/xstat.c: Likewise.
35981 * io/xstat64.c: Likewise.
35982 * login/getpt.c: Likewise.
35983 * login/grantpt.c: Likewise.
35984 * login/unlockpt.c: Likewise.
35985 * math/e_acoshl.c: Likewise.
35986 * math/e_acosl.c: Likewise.
35987 * math/e_asinl.c: Likewise.
35988 * math/e_atan2l.c: Likewise.
35989 * math/e_atanhl.c: Likewise.
35990 * math/e_coshl.c: Likewise.
35991 * math/e_expl.c: Likewise.
35992 * math/e_fmodl.c: Likewise.
35993 * math/e_gammal_r.c: Likewise.
35994 * math/e_hypotl.c: Likewise.
35995 * math/e_j0l.c: Likewise.
35996 * math/e_j1l.c: Likewise.
35997 * math/e_jnl.c: Likewise.
35998 * math/e_lgammal_r.c: Likewise.
35999 * math/e_log10l.c: Likewise.
36000 * math/e_log2l.c: Likewise.
36001 * math/e_logl.c: Likewise.
36002 * math/e_powl.c: Likewise.
36003 * math/e_rem_pio2l.c: Likewise.
36004 * math/e_sinhl.c: Likewise.
36005 * math/e_sqrtl.c: Likewise.
36006 * math/fclrexcpt.c: Likewise.
36007 * math/fedisblxcpt.c: Likewise.
36008 * math/feenablxcpt.c: Likewise.
36009 * math/fegetenv.c: Likewise.
36010 * math/fegetexcept.c: Likewise.
36011 * math/fegetround.c: Likewise.
36012 * math/feholdexcpt.c: Likewise.
36013 * math/fesetenv.c: Likewise.
36014 * math/fesetround.c: Likewise.
36015 * math/feupdateenv.c: Likewise.
36016 * math/fgetexcptflg.c: Likewise.
36017 * math/fraiseexcpt.c: Likewise.
36018 * math/fsetexcptflg.c: Likewise.
36019 * math/ftestexcept.c: Likewise.
36020 * math/k_cosl.c: Likewise.
36021 * math/k_rem_pio2l.c: Likewise.
36022 * math/k_sinl.c: Likewise.
36023 * math/k_tanl.c: Likewise.
36024 * math/s_asinhl.c: Likewise.
36025 * math/s_atanl.c: Likewise.
36026 * math/s_cbrtl.c: Likewise.
36027 * math/s_erfl.c: Likewise.
36028 * math/s_expm1l.c: Likewise.
36029 * math/s_log1pl.c: Likewise.
36030 * math/s_tanhl.c: Likewise.
36031 * misc/acct.c: Likewise.
36032 * misc/brk.c: Likewise.
36033 * misc/chflags.c: Likewise.
36034 * misc/chroot.c: Likewise.
36035 * misc/fchflags.c: Likewise.
36036 * misc/fgetxattr.c: Likewise.
36037 * misc/flistxattr.c: Likewise.
36038 * misc/fremovexattr.c: Likewise.
36039 * misc/fsetxattr.c: Likewise.
36040 * misc/fsync.c: Likewise.
36041 * misc/ftruncate.c: Likewise.
36042 * misc/futimes.c: Likewise.
36043 * misc/futimesat.c: Likewise.
36044 * misc/getdomain.c: Likewise.
36045 * misc/getdtsz.c: Likewise.
36046 * misc/gethostid.c: Likewise.
36047 * misc/gethostname.c: Likewise.
36048 * misc/getloadavg.c: Likewise.
36049 * misc/getpagesize.c: Likewise.
36050 * misc/getsysstats.c: Likewise.
36051 * misc/getxattr.c: Likewise.
36052 * misc/gtty.c: Likewise.
36053 * misc/ioctl.c: Likewise.
36054 * misc/lgetxattr.c: Likewise.
36055 * misc/listxattr.c: Likewise.
36056 * misc/llistxattr.c: Likewise.
36057 * misc/lremovexattr.c: Likewise.
36058 * misc/lsetxattr.c: Likewise.
36059 * misc/lutimes.c: Likewise.
36060 * misc/madvise.c: Likewise.
36061 * misc/mincore.c: Likewise.
36062 * misc/mlock.c: Likewise.
36063 * misc/mlockall.c: Likewise.
36064 * misc/mmap.c: Likewise.
36065 * misc/mprotect.c: Likewise.
36066 * misc/msync.c: Likewise.
36067 * misc/munlock.c: Likewise.
36068 * misc/munlockall.c: Likewise.
36069 * misc/munmap.c: Likewise.
36070 * misc/preadv.c: Likewise.
36071 * misc/preadv64.c: Likewise.
36072 * misc/ptrace.c: Likewise.
36073 * misc/pwritev.c: Likewise.
36074 * misc/pwritev64.c: Likewise.
36075 * misc/readv.c: Likewise.
36076 * misc/reboot.c: Likewise.
36077 * misc/remap_file_pages.c: Likewise.
36078 * misc/removexattr.c: Likewise.
36079 * misc/revoke.c: Likewise.
36080 * misc/select.c: Likewise.
36081 * misc/setdomain.c: Likewise.
36082 * misc/setegid.c: Likewise.
36083 * misc/seteuid.c: Likewise.
36084 * misc/sethostid.c: Likewise.
36085 * misc/sethostname.c: Likewise.
36086 * misc/setregid.c: Likewise.
36087 * misc/setreuid.c: Likewise.
36088 * misc/setxattr.c: Likewise.
36089 * misc/sstk.c: Likewise.
36090 * misc/stty.c: Likewise.
36091 * misc/swapoff.c: Likewise.
36092 * misc/swapon.c: Likewise.
36093 * misc/sync.c: Likewise.
36094 * misc/syncfs.c: Likewise.
36095 * misc/syscall.c: Likewise.
36096 * misc/truncate.c: Likewise.
36097 * misc/ualarm.c: Likewise.
36098 * misc/usleep.c: Likewise.
36099 * misc/ustat.c: Likewise.
36100 * misc/utimes.c: Likewise.
36101 * misc/vhangup.c: Likewise.
36102 * misc/writev.c: Likewise.
36103 * posix/_exit.c: Likewise.
36104 * posix/alarm.c: Likewise.
36105 * posix/execve.c: Likewise.
36106 * posix/fexecve.c: Likewise.
36107 * posix/fork.c: Likewise.
36108 * posix/fpathconf.c: Likewise.
36109 * posix/getaddrinfo.c: Likewise.
36110 * posix/getegid.c: Likewise.
36111 * posix/geteuid.c: Likewise.
36112 * posix/getgid.c: Likewise.
36113 * posix/getgroups.c: Likewise.
36114 * posix/getlogin.c: Likewise.
36115 * posix/getlogin_r.c: Likewise.
36116 * posix/getpgid.c: Likewise.
36117 * posix/getpid.c: Likewise.
36118 * posix/getppid.c: Likewise.
36119 * posix/getresgid.c: Likewise.
36120 * posix/getresuid.c: Likewise.
36121 * posix/getsid.c: Likewise.
36122 * posix/getuid.c: Likewise.
36123 * posix/glob64.c: Likewise.
36124 * posix/nanosleep.c: Likewise.
36125 * posix/pathconf.c: Likewise.
36126 * posix/pause.c: Likewise.
36127 * posix/posix_madvise.c: Likewise.
36128 * posix/pread.c: Likewise.
36129 * posix/pread64.c: Likewise.
36130 * posix/pwrite.c: Likewise.
36131 * posix/pwrite64.c: Likewise.
36132 * posix/sched_getaffinity.c: Likewise.
36133 * posix/sched_getp.c: Likewise.
36134 * posix/sched_gets.c: Likewise.
36135 * posix/sched_primax.c: Likewise.
36136 * posix/sched_primin.c: Likewise.
36137 * posix/sched_rr_gi.c: Likewise.
36138 * posix/sched_setaffinity.c: Likewise.
36139 * posix/sched_setp.c: Likewise.
36140 * posix/sched_sets.c: Likewise.
36141 * posix/sched_yield.c: Likewise.
36142 * posix/setgid.c: Likewise.
36143 * posix/setlogin.c: Likewise.
36144 * posix/setpgid.c: Likewise.
36145 * posix/setresgid.c: Likewise.
36146 * posix/setresuid.c: Likewise.
36147 * posix/setsid.c: Likewise.
36148 * posix/setuid.c: Likewise.
36149 * posix/sleep.c: Likewise.
36150 * posix/spawni.c: Likewise.
36151 * posix/sysconf.c: Likewise.
36152 * posix/times.c: Likewise.
36153 * posix/wait.c: Likewise.
36154 * posix/wait3.c: Likewise.
36155 * posix/wait4.c: Likewise.
36156 * posix/waitpid.c: Likewise.
36157 * resolv/gai_sigqueue.c: Likewise.
36158 * resource/getpriority.c: Likewise.
36159 * resource/getrlimit.c: Likewise.
36160 * resource/getrusage.c: Likewise.
36161 * resource/nice.c: Likewise.
36162 * resource/setpriority.c: Likewise.
36163 * resource/setrlimit.c: Likewise.
36164 * resource/ulimit.c: Likewise.
36165 * rt/aio_cancel.c: Likewise.
36166 * rt/aio_fsync.c: Likewise.
36167 * rt/aio_read.c: Likewise.
36168 * rt/aio_sigqueue.c: Likewise.
36169 * rt/aio_suspend.c: Likewise.
36170 * rt/aio_write.c: Likewise.
36171 * rt/clock_getres.c: Likewise.
36172 * rt/clock_gettime.c: Likewise.
36173 * rt/clock_nanosleep.c: Likewise.
36174 * rt/clock_settime.c: Likewise.
36175 * rt/lio_listio.c: Likewise.
36176 * rt/mq_close.c: Likewise.
36177 * rt/mq_getattr.c: Likewise.
36178 * rt/mq_notify.c: Likewise.
36179 * rt/mq_open.c: Likewise.
36180 * rt/mq_receive.c: Likewise.
36181 * rt/mq_send.c: Likewise.
36182 * rt/mq_setattr.c: Likewise.
36183 * rt/mq_timedreceive.c: Likewise.
36184 * rt/mq_timedsend.c: Likewise.
36185 * rt/mq_unlink.c: Likewise.
36186 * rt/shm_open.c: Likewise.
36187 * rt/shm_unlink.c: Likewise.
36188 * rt/timer_create.c: Likewise.
36189 * rt/timer_delete.c: Likewise.
36190 * rt/timer_getoverr.c: Likewise.
36191 * rt/timer_gettime.c: Likewise.
36192 * rt/timer_settime.c: Likewise.
36193 * setjmp/__longjmp.c: Likewise.
36194 * setjmp/setjmp.c: Likewise.
36195 * signal/kill.c: Likewise.
36196 * signal/killpg.c: Likewise.
36197 * signal/raise.c: Likewise.
36198 * signal/sigaction.c: Likewise.
36199 * signal/sigaltstack.c: Likewise.
36200 * signal/sigblock.c: Likewise.
36201 * signal/sigignore.c: Likewise.
36202 * signal/sigintr.c: Likewise.
36203 * signal/signal.c: Likewise.
36204 * signal/sigpause.c: Likewise.
36205 * signal/sigpending.c: Likewise.
36206 * signal/sigqueue.c: Likewise.
36207 * signal/sigreturn.c: Likewise.
36208 * signal/sigset.c: Likewise.
36209 * signal/sigsetmask.c: Likewise.
36210 * signal/sigstack.c: Likewise.
36211 * signal/sigsuspend.c: Likewise.
36212 * signal/sigtimedwait.c: Likewise.
36213 * signal/sigvec.c: Likewise.
36214 * signal/sigwait.c: Likewise.
36215 * signal/sigwaitinfo.c: Likewise.
36216 * signal/sysv_signal.c: Likewise.
36217 * socket/accept.c: Likewise.
36218 * socket/accept4.c: Likewise.
36219 * socket/bind.c: Likewise.
36220 * socket/connect.c: Likewise.
36221 * socket/getpeername.c: Likewise.
36222 * socket/getsockname.c: Likewise.
36223 * socket/getsockopt.c: Likewise.
36224 * socket/isfdtype.c: Likewise.
36225 * socket/listen.c: Likewise.
36226 * socket/recv.c: Likewise.
36227 * socket/recvfrom.c: Likewise.
36228 * socket/recvmsg.c: Likewise.
36229 * socket/send.c: Likewise.
36230 * socket/sendmsg.c: Likewise.
36231 * socket/sendto.c: Likewise.
36232 * socket/setsockopt.c: Likewise.
36233 * socket/shutdown.c: Likewise.
36234 * socket/sockatmark.c: Likewise.
36235 * socket/socket.c: Likewise.
36236 * socket/socketpair.c: Likewise.
36237 * stdio-common/ctermid.c: Likewise.
36238 * stdio-common/cuserid.c: Likewise.
36239 * stdio-common/remove.c: Likewise.
36240 * stdio-common/rename.c: Likewise.
36241 * stdio-common/renameat.c: Likewise.
36242 * stdio-common/tempname.c: Likewise.
36243 * stdlib/getcontext.c: Likewise.
36244 * stdlib/makecontext.c: Likewise.
36245 * stdlib/setcontext.c: Likewise.
36246 * stdlib/swapcontext.c: Likewise.
36247 * stdlib/system.c: Likewise.
36248 * streams/fattach.c: Likewise.
36249 * streams/fdetach.c: Likewise.
36250 * streams/getmsg.c: Likewise.
36251 * streams/getpmsg.c: Likewise.
36252 * streams/putmsg.c: Likewise.
36253 * streams/putpmsg.c: Likewise.
36254 * sysdeps/unix/bsd/getpt.c: Likewise.
36255 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36256 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36257 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36259 Likewise.
36260 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36261 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36262 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36263 * sysvipc/msgctl.c: Likewise.
36264 * sysvipc/msgget.c: Likewise.
36265 * sysvipc/msgrcv.c: Likewise.
36266 * sysvipc/msgsnd.c: Likewise.
36267 * sysvipc/semctl.c: Likewise.
36268 * sysvipc/semget.c: Likewise.
36269 * sysvipc/semop.c: Likewise.
36270 * sysvipc/semtimedop.c: Likewise.
36271 * sysvipc/shmat.c: Likewise.
36272 * sysvipc/shmctl.c: Likewise.
36273 * sysvipc/shmdt.c: Likewise.
36274 * sysvipc/shmget.c: Likewise.
36275 * termios/tcdrain.c: Likewise.
36276 * termios/tcflow.c: Likewise.
36277 * termios/tcflush.c: Likewise.
36278 * termios/tcgetattr.c: Likewise.
36279 * termios/tcgetpgrp.c: Likewise.
36280 * termios/tcsendbrk.c: Likewise.
36281 * termios/tcsetattr.c: Likewise.
36282 * termios/tcsetpgrp.c: Likewise.
36283 * time/adjtime.c: Likewise.
36284 * time/clock.c: Likewise.
36285 * time/getitimer.c: Likewise.
36286 * time/gettimeofday.c: Likewise.
36287 * time/setitimer.c: Likewise.
36288 * time/settimeofday.c: Likewise.
36289 * time/stime.c: Likewise.
36290 * time/time.c: Likewise.
36291
362922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36293
a20492cf
PT
36294 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36295 /usr/old/bin.
36296
72e182e3
PT
36297 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36298 instead of spaces.
36299 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36300
fbeafede
JM
363012012-11-03 Joseph Myers <joseph@codesourcery.com>
36302
5b5b04d6
JM
36303 [BZ #14796]
36304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36305 FE_TONEAREST before applying Dekker multiplication and Knuth
36306 addition. Clear inexact exceptions and check for exact zero
36307 results afterwards.
36308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36309 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36310 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36311 * math/libm-test.inc (fma_test): Add more tests.
36312 (fma_test_towardzero): Likewise.
36313 (fma_test_downward): Likewise.
36314 (fma_test_upward): Likewise.
36315 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36316 function.
36317 (libc_fesetround): New macro.
36318 (libc_fesetroundf): Likewise.
36319 (libc_fesetroundl): Likewise.
36320 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36321 function.
36322 (libc_fesetround_387): Likewise.
36323 (libc_fesetroundf): New macro.
36324 (libc_fesetround): Likewise.
36325 (libc_fesetroundl): Likewise.
36326 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36327 function.
36328 (libc_fesetroundf): New macro.
36329 (libc_fesetround): Likewise.
36330 (libc_fesetroundl): Likewise.
36331 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36332 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36333 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36334 libm_hidden_ver.
36335 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36336 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36337 libm_hidden_def.
36338 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36339 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36340 libm_hidden_ver.
36341 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36342 libm_hidden_def.
36343
fbeafede
JM
36344 [BZ #3439]
36345 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36346 integer constant usable in #if and use that to give value to enum
36347 constant.
36348 (FE_DIVBYZERO): Likewise.
36349 (FE_UNDERFLOW): Likewise.
36350 (FE_OVERFLOW): Likewise.
36351 (FE_INVALID): Likewise.
36352 (FE_INVALID_SNAN): Likewise.
36353 (FE_INVALID_ISI): Likewise.
36354 (FE_INVALID_IDI): Likewise.
36355 (FE_INVALID_ZDZ): Likewise.
36356 (FE_INVALID_IMZ): Likewise.
36357 (FE_INVALID_COMPARE): Likewise.
36358 (FE_INVALID_SOFTWARE): Likewise.
36359 (FE_INVALID_SQRT): Likewise.
36360 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36361 (FE_TONEAREST): Likewise.
36362 (FE_TOWARDZERO): Likewise.
36363 (FE_UPWARD): Likewise.
36364 (FE_DOWNWARD): Likewise.
36365 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36366 (FE_DIVBYZERO): Likewise.
36367 (FE_OVERFLOW): Likewise.
36368 (FE_UNDERFLOW): Likewise.
36369 (FE_INEXACT): Likewise.
36370 (FE_TONEAREST): Likewise.
36371 (FE_DOWNWARD): Likewise.
36372 (FE_UPWARD): Likewise.
36373 (FE_TOWARDZERO): Likewise.
36374 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36375 (FE_UNDERFLOW): Likewise.
36376 (FE_OVERFLOW): Likewise.
36377 (FE_DIVBYZERO): Likewise.
36378 (FE_INVALID): Likewise.
36379 (FE_TONEAREST): Likewise.
36380 (FE_TOWARDZERO): Likewise.
36381 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36382 (FE_OVERFLOW): Likewise.
36383 (FE_UNDERFLOW): Likewise.
36384 (FE_DIVBYZERO): Likewise.
36385 (FE_INEXACT): Likewise.
36386 (FE_TONEAREST): Likewise.
36387 (FE_TOWARDZERO): Likewise.
36388 (FE_UPWARD): Likewise.
36389 (FE_DOWNWARD): Likewise.
36390 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36391 (FE_DIVBYZERO): Likewise.
36392 (FE_OVERFLOW): Likewise.
36393 (FE_UNDERFLOW): Likewise.
36394 (FE_INEXACT): Likewise.
36395 (FE_TONEAREST): Likewise.
36396 (FE_DOWNWARD): Likewise.
36397 (FE_UPWARD): Likewise.
36398 (FE_TOWARDZERO): Likewise.
36399
105ca950
CM
364002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36401
36402 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36403
a542b389
AS
364042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36405
36406 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36407 commands. Quote $PWD.
36408 (blacklist_exports): Don't use remove_newlines. Replace "declare
36409 -x" by "export".
36410 (remove_newlines): Remove.
36411
f62c8abc
L
364122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36413
36414 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36415 * stdlib/stdlib.h (atof): Moved to ...
36416 * include/bits/stdlib-float.h: Here. New file.
36417 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36418 * stdlib/bits/stdlib-float.h: New file.
36419 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36420 -mno-sse -mno-mmx.
36421 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36422 <xmmintrin.h>.
36423
0155d5b2
JM
364242012-11-02 Joseph Myers <joseph@codesourcery.com>
36425
a68d0680
JM
36426 * conform/conformtest.pl (@headers): Add fenv.h.
36427 * conform/data/fenv.h-data: New file.
36428 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36429 include of <math/fenv.h>.
36430
caf7f573
JM
36431 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36432 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36433 && !UNIX98]. Enables tests for XOPEN2K8.
36434 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36435 POSIX2008]: Likewise.
36436
6c073ad6
JM
36437 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36438 (struct rusage): Do not expect type or its members.
36439
0155d5b2
JM
36440 [BZ #3439]
36441 * math/math.h (FP_NAN): Define macro to integer constant usable in
36442 #if and use that to give value to enum constant.
36443 (FP_INFINITE): Likewise.
36444 (FP_ZERO): Likewise.
36445 (FP_SUBNORMAL): Likewise.
36446 (FP_NORMAL): Likewise.
36447
b5dcacb4
AS
364482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36449
36450 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36451 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36452 arguments.
36453
f7934be8
RM
364542012-11-02 Roland McGrath <roland@hack.frob.com>
36455
36456 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36457 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36458 autoconf-time if not.
36459 * configure.in: Remove AC_PREREQ.
36460
d7d08bde
TMQMF
364612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36462
36463 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36464 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36465 of the internal implementation.
36466
dcdae19a
JM
364672012-11-02 Joseph Myers <joseph@codesourcery.com>
36468
36469 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36470 except include of <misc/sys/syslog.h>.
36471
d6cffd3e
AS
364722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36473
36474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36475 function returns with a NULL context exit with zero.
36476
b3563932
TMQMF
364772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36478
36479 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36480
b288a93d
L
364812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36482
36483 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36484 (run_program_cmd): This.
36485 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36486 (tst_langinfo): New variable. Use it.
36487
a2421a68
SAS
364882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36489
36490 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36491 floating point opcodes.
36492
6f796e1b
TS
364932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36494
7402596b
TS
36495 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36496 variable.
36497
d0d4f868
TS
36498 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36499
6f796e1b
TS
36500 * sysdeps/mach/hurd/powerpc: Remove directory.
36501 * sysdeps/mach/powerpc: Likewise.
36502
4da224a2
AS
365032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36504
36505 * scripts/check-local-headers.sh: Ignore c++ headers.
36506
341dd673
TS
365072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36508
36509 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36510 __libc_cleanup_region_start argument.
36511
473611b2
JM
365122012-11-01 Joseph Myers <joseph@codesourcery.com>
36513
36514 [BZ #14784]
36515 [BZ #14785]
36516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36517 x * y using scaling, not as x * y + z.
36518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36520 * math/libm-test.inc (fma_test): Add more tests.
36521 (fma_test_towardzero): Likewise.
36522 (fma_test_downward): Likewise.
36523 (fma_test_upward): Likewise.
36524
4078da3d
TS
365252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36526
36527 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36528
903252aa
JM
365292012-10-31 Joseph Myers <joseph@codesourcery.com>
36530
36531 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36532 New variable.
36533
cbc818d0
TS
365342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36535
36536 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36537
5a03cb1e
AS
365382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36539
36540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36541 Fix sort order.
36542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36543 Likewise.
36544
90aff2ff
TMQMF
365452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36546
36547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36548 Fix the order of the list for glibc 2.17.
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36550 Likewise.
36551
1818fcb7
AS
365522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36553
36554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36555
ef82f4da
JM
365562012-10-31 Joseph Myers <joseph@codesourcery.com>
36557
16a0e2ec
JM
36558 [BZ #14610]
36559 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36560 for low part of x being zero before using __atanl (y).
36561 * math/libm-test.inc (atan2_test): Add another test.
36562
0eb69512
JM
36563 * manual/install.texi (Configuring and compiling): Document
36564 general use of test-wrapper and test-wrapper-env.
36565 * INSTALL: Regenerated.
36566
ef82f4da
JM
36567 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36568 (__fma): Do not extract and scale down low bits on after-rounding
36569 systems when result rounded to normal precision would have normal
36570 exponent.
36571 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36572 (__fmal): Do not extract and scale down low bits on after-rounding
36573 systems when result rounded to normal precision would have normal
36574 exponent.
36575 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36576 (__fmal): Do not extract and scale down low bits on after-rounding
36577 systems when result rounded to normal precision would have normal
36578 exponent.
36579 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36580 macro.
36581 (fma_test): Add more tests.
36582 (fma_test_towardzero): Likewise.
36583 (fma_test_downward): Likewise.
36584 (fma_test_upward): Likewise.
36585
954ef0d9
L
365862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36587
36588 * sysdeps/i386/tininess.h: Renamed to ...
36589 * sysdeps/x86/tininess.h: This.
36590 * sysdeps/x86_64/tininess.h: Removed.
36591
df61ffb2
JM
365922012-10-30 Joseph Myers <joseph@codesourcery.com>
36593
36594 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36595 input. Use $(build-program-cmd).
36596 ($(objpfx)tst-array1-static.out): Likewise.
36597 ($(objpfx)tst-array2.out): Likewise.
36598 ($(objpfx)tst-array3.out): Likewise.
36599 ($(objpfx)tst-array4.out): Likewise.
36600 ($(objpfx)tst-array5.out): Likewise.
36601 ($(objpfx)tst-array5-static.out): Likewise.
36602
01767843
CM
366032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36604
47cc1490
CM
36605 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36606 if defined.
36607
01767843
CM
36608 * nss/nsswitch.h (nss_interface_function): Provide new
36609 macro for use with NSS functions.
36610 * grp/initgroups.c: Use new macro.
36611 * nss/getXXbyYY.c: Likewise.
36612 * nss/getXXbyYY_r.c: Likewise.
36613 * nss/getXXent.c: Likewise.
36614 * nss/getXXent_r.c: Likewise.
36615 * sysdeps/posix/getaddrinfo.c: Likewise.
36616
8321aa97
AJ
366172012-10-30 Andreas Jaeger <aj@suse.de>
36618
36619 * po/ru.po: Update Russion translation from translation project.
36620
2a27fd6d
JM
366212012-10-30 Joseph Myers <joseph@codesourcery.com>
36622
8627a232
JM
36623 [BZ #14152]
36624 [BZ #14783]
36625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36626 result and shift together with sticky bit instead of replicating
36627 round-to-nearest rounding.
36628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36630 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36631 missing underflow exceptions.
36632 (fma_test_towardzero): Add more tests.
36633 (fma_test_downward): Likewise.
36634 (fma_test_upward): Likewise.
36635
2a27fd6d
JM
36636 [BZ #14047]
36637 * sysdeps/generic/tininess.h: New file.
36638 * sysdeps/i386/tininess.h: Likewise.
36639 * sysdeps/sh/tininess.h: Likewise.
36640 * sysdeps/x86_64/tininess.h: Likewise.
36641 * stdlib/tst-strtod-underflow.c: Likewise.
36642 * stdlib/tst-tininess.c: Likewise.
36643 * stdlib/strtod_l.c: Include <tininess.h>.
36644 (round_and_return): Do not set errno for exact underflow cases.
36645 Force an underflow exception when setting errno for underflow.
36646 Determine underflow based on rounding to normal precision if
36647 TININESS_AFTER_ROUNDING.
36648 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36649 ERANGE for exact underflow cases.
36650 * stdlib/Makefile (tests): Add tst-tininess and
36651 tst-strtod-underflow.
36652 ($(objpfx)tst-tininess): Use $(link-libm).
36653 ($(objpfx)tst-strtod-underflow): Likewise.
36654
e7170363
AJ
366552012-10-30 Andreas Jaeger <aj@suse.de>
36656
e5088dc6
AJ
36657 [BZ#14767]
36658 * elf/Makefile (tests): Remove conditional for have-initfini-array
36659 since this is now always required and the variable does not exist
36660 anymore.
36661 (tests-static): Likewise.
36662 (modules-names): Likewise.
36663
e7170363 36664 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36665
36666 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36667 merged with constructor/destructor.
36668 (init_array): Likewise.
36669 * elf/tst-array2dep.c (fini_array): Likewise.
36670 (init_array): Likewise.
36671
60457d8a
MF
366722012-10-29 Mike Frysinger <vapier@gentoo.org>
36673
36674 * manual/message.texi: Delete @cartouche tags.
36675
8bece752
PT
366762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36677
94ce799f
PT
36678 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36679 EOPNOTSUPP.
36680 * sysdeps/mach/hurd/fsync.c: Likewise.
36681
8bece752
PT
36682 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36683 [_POSIX_REALTIME_SIGNALS]: Change condition to
36684 [_POSIX_REALTIME_SIGNALS > 0].
36685
86ebe6b1
AJ
366862012-10-27 Andreas Jaeger <aj@suse.de>
36687
36688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36689 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36691 [__WORDSIZE != 64]: Likewise.
36692
54399c08
L
366932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36694
36695 * iconvdata/tst-table.sh: Remove ${SHELL}.
36696 * iconvdata/tst-tables.sh: Likewise.
36697
e2211bed
DM
366982012-10-25 David S. Miller <davem@davemloft.net>
36699
36700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36701 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36702 of strtoull.
36703
f303f97c
DM
36704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36705 ifunc-impl-list.c
36706 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36707 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36708 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36709 file.
36710
1e9d84cd
RM
367112012-10-25 Roland McGrath <roland@hack.frob.com>
36712
36713 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36714 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36715 __getdirentries.
36716
df381762
JM
367172012-10-25 Joseph Myers <joseph@codesourcery.com>
36718 Jim Blandy <jimb@codesourcery.com>
36719
36720 * scripts/cross-test-ssh.sh: New file.
36721 * manual/install.texi (Configuring and compiling): Document use of
36722 cross-test-ssh.sh.
36723 * INSTALL: Regenerated.
36724
bff64913
PT
367252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36726
36727 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36728 EOPNOTSUPP.
36729
25fe8932
JM
367302012-10-25 Joseph Myers <joseph@codesourcery.com>
36731
36732 * Makeconfig (run-program-prefix): Fix comment.
36733
cc1290d0
JM
367342012-10-24 Joseph Myers <joseph@codesourcery.com>
36735 Jim Blandy <jimb@codesourcery.com>
36736
36737 * Makeconfig (test-wrapper): New variable,
36738 (test-wrapper-env): Likewise.
36739 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36740 (run-built-tests): Define to yes.
36741 (run-program-prefix): Use $(test-wrapper).
36742 (built-program-cmd): Likewise.
36743 * Rules (make-test-out): Use $(test-wrapper-env) and
36744 $(host-built-program-cmd).
36745 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36746 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36747 tst-pathopt.sh.
36748 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36749 $(test-wrapper-env) to tst-rtld-load-self.sh.
36750 ($(objpfx)order2.out): Use $(test-wrapper).
36751 ($(objpfx)tst-initorder.out): Likewise.
36752 ($(objpfx)tst-initorder2.out): Likewise.
36753 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36754 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36755 (test_wrapper_env): New variable. Use it to run ld.so.
36756 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36757 Use it to run ld.so.
36758 (test_wrapper_env): Likewise.
36759 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36760 $(test-wrapper) to run-iconv-test.sh.
36761 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36762 (ICONV): Use $test_wrapper.
36763 * posix/Makefile ($(objpfx)globtest.out): Pass
36764 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36765 globtest.sh, not $(run-program-prefix).
36766 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36767 (test_wrapper): Likewise.
36768 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36769 set together with run_via_rtld_prefix.
36770 (run_program_prefix): Define in terms of test_wrapper and
36771 run_via_rtld_prefix.
36772
6e6249d0
RM
367732012-10-24 Roland McGrath <roland@hack.frob.com>
36774
36775 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36776 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36777 Targets removed.
36778
36779 [BZ #14743]
36780 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36781 Declare __clock_getres, __clock_gettime, __clock_settime,
36782 __clock_nanosleep, and __clock_getcpuclockid.
36783 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36784 Remove librt_hidden_def (clock_gettime).
36785 * sysdeps/unix/clock_gettime.c: Likewise.
36786 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36787 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36788 * rt/clock_getres.c: Define __clock_getres as an alias.
36789 * sysdeps/posix/clock_getres.c: Likewise.
36790 * rt/clock_settime.c: Define __clock_settime as an alias.
36791 * sysdeps/unix/clock_settime.c: Likewise.
36792 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36793 * sysdeps/unix/clock_nanosleep.c: Likewise.
36794 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36795 * rt/clock-compat.c: New file.
36796 * rt/Makefile (librt-routines): Add clock-compat and move
36797 $(clock-routines) to ...
36798 (routines): ... here, new variable.
36799 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36800 Don't add get_clockfreq here.
36801 * rt/Versions (libc: GLIBC_2.17): New version set.
36802 Add clock_* symbols here.
36803 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36804 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36805 (GLIBC_2.17): Add clock_* symbols.
36806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36810 Likewise.
36811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36812 Likewise.
36813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36817 * NEWS: Mention the move.
36818
36819 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36820 Use __open, __read, __close rather than their public counterparts.
36821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36822 (__get_clockfreq_via_cpuinfo): Likewise.
36823 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36824 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36825
36826 * config.h.in (HAVE_IFUNC): New #undef.
36827 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36828 was successful.
36829 * configure: Regenerated.
36830
0cae3f4b
MF
368312012-10-24 Mike Frysinger <vapier@gentoo.org>
36832
36833 * configure.in: Move READELF check to start of file.
36834 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36835 libc_cv_asm_gnu_indirect_function in the process.
36836 * configure: Regenerated.
36837
8175a253
MF
368382012-10-24 Mike Frysinger <vapier@gentoo.org>
36839
36840 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36841 send the output to /dev/null.
36842 (libc_cv_cc_with_libunwind): Likewise.
36843 (libc_cv_as_noexecstack): Likewise.
36844 * configure: Regenerate.
36845
0708a7d1
JM
368462012-10-24 Joseph Myers <joseph@codesourcery.com>
36847
10b40d85
JM
36848 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36849
0708a7d1
JM
36850 * posix/globtest.sh (TMPDIR): Do not set.
36851 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36852 (testout): Likewise.
36853
9fddec1a
AJ
368542012-10-24 Andreas Jaeger <aj@suse.de>
36855
3a8db22f
AJ
36856 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36857 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36858 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36859 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36860 posix_fadvise64, posix_fallocate64.
36861
9fddec1a
AJ
36862 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36863 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36864 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36865 Likewise.
36866 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36867 Likewise.
36868 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36869
36870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36871 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36872 <bits/fcntl-linux.h>.
36873 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36874
36875 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36876 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36877 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36878 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36879 [__WORDSIZE != 64]: Likewise.
36880
ebfd1bbd
JM
368812012-10-23 Joseph Myers <joseph@codesourcery.com>
36882
03ac099f
JM
36883 * Makeconfig (run-built-tests): New variable.
36884 * Rules [$(cross-compiling) = yes]: Change condition to
36885 [$(run-built-tests) = no].
36886 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36887 to [$(run-built-tests) = yes].
36888 * elf/Makefile [$(cross-compiling) = no]: Likewise
36889 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36890 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36891 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36892 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36893 * io/Makefile [$(cross-compiling) = no]: Likewise.
36894 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36895 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36896 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36897 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36898 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36899 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36900 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36901 * string/Makefile [$(cross-compiling) = no]: Likewise.
36902
ebfd1bbd
JM
36903 * posix/Makefile ($(objpfx)globtest.out): Pass
36904 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36905 $(rtld-installed-name).
36906 * posix/globtest.sh (elf_objpfx): Remove variable.
36907 (rtld_installed_name): Likewise.
36908 (library_path): Likewise.
36909 (run_program_prefix): New variable. Use for running globtest
36910 binary.
36911
166bca24
JB
369122012-10-23 Jim Blandy <jimb@codesourcery.com>
36913 Joseph Myers <joseph@codesourcery.com>
36914
36915 * Makeconfig (host-built-program-cmd): New variable.
36916 * elf/Makefile (tst-stackguard1-ARGS): Use
36917 $(host-built-program-cmd).
36918 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36919 (tst-spawn-ARGS): Likewise.
36920 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36921
88866099
JM
369222012-10-23 Joseph Myers <joseph@codesourcery.com>
36923 Jim Blandy <jimb@codesourcery.com>
36924
36925 * Makeconfig (run-via-rtld-prefix): New variable.
36926 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36927 (built-program-cmd): Likewise.
36928
b4b4c296
AJ
369292012-10-22 Andreas Jaeger <aj@suse.de>
36930
36931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36932 __O_RSYNC if it exists, otherwise to O_SYNC.
36933
6fb54a22
JB
369342012-10-22 Jim Blandy <jimb@codesourcery.com>
36935 Joseph Myers <joseph@codesourcery.com>
36936
36937 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36938 /dev/null.
36939 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36940 from /dev/null
36941 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36942 /dev/null.
36943
481b90b9
AJ
369442012-10-22 Andreas Jaeger <aj@suse.de>
36945
2a0e2669
AJ
36946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36947 Define always.
36948 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36949
76e38f9a
AJ
36950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36951 bits/fcntl-linux.h.
36952
7cd37b43
AJ
36953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36954 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36955
481b90b9
AJ
36956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36957 to __O_LARGEFILE.
36958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36959 to __O_LARGEFILE.
36960
aba75984
JB
369612012-10-21 Jim Blandy <jimb@codesourcery.com>
36962 Joseph Myers <joseph@codesourcery.com>
36963
36964 * config.make.in (NM): New variable.
36965
88d4247f
AJ
369662012-10-21 Andreas Jaeger <aj@suse.de>
36967
36968 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36969 definitions and declarations that are provided by
36970 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36971
f2eed205
L
369722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36973
36974 [BZ #14683]
36975 * elf/Makefile (tests-static): Add tst-leaks1-static.
36976 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36977 ($(objpfx)tst-leaks1-static): New rule.
36978 ($(objpfx)tst-leaks1-static-mem): Likewise.
36979 (tst-leaks1-static-ENV): New macro.
36980 * elf/dl-open.c (dl_open_worker): Check the main application
36981 only if SHARED is defined.
36982 * elf/tst-leaks1-static.c: New file.
36983
335e6931
AJ
369842012-10-20 Andreas Jaeger <aj@suse.de>
36985
36986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36987 generic values for Linux.
36988 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36989 and declarations that are provided by <bits/fcntl-linux.h> and
36990 include <bits/fcntl-linux.h>.
36991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36993
ac5c94d3
RM
369942012-10-20 Roland McGrath <roland@hack.frob.com>
36995
36996 * io/fcntl.h: Move include of <bits/types.h> to the top and
36997 include it unconditionally.
36998
de54b33a
L
369992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37000
228cfb01
L
37001 * wcsmbs/Makefile (tests-ifunc): New variable.
37002 (tests): Add $(tests-ifunc).
37003 * wcsmbs/test-wcschr-ifunc.c: New file.
37004 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37005 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37006 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37007 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37008 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37009
69f07e5f
L
37010 * string/Makefile (tests-ifunc): New variable.
37011 (tests): Add $(tests-ifunc).
37012 * string/test-memccpy.c (TEST_NAME): New macro.
37013 * string/test-memchr.c (TEST_NAME): Likewise.
37014 * string/test-memcmp.c (TEST_NAME): Likewise.
37015 * string/test-memcpy.c (TEST_NAME): Likewise.
37016 * string/test-memmem.c (TEST_NAME): Likewise.
37017 * string/test-memmove.c (TEST_NAME): Likewise.
37018 * string/test-memset.c (TEST_NAME): Likewise.
37019 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37020 * string/test-stpcpy.c (TEST_NAME): Likewise.
37021 * string/test-stpncpy.c (TEST_NAME): Likewise.
37022 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37023 * string/test-strcasestr.c (TEST_NAME): Likewise.
37024 * string/test-strcat.c (TEST_NAME): Likewise.
37025 * string/test-strchr.c (TEST_NAME): Likewise.
37026 * string/test-strcmp.c(TEST_NAME): Likewise.
37027 * string/test-strcpy.c (TEST_NAME): Likewise.
37028 * string/test-strcspn.c (TEST_NAME): Likewise.
37029 * string/test-strlen.c (TEST_NAME): Likewise.
37030 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37031 * string/test-strncmp.c (TEST_NAME): Likewise.
37032 * string/test-strncpy.c (TEST_NAME): Likewise.
37033 * string/test-strnlen.c (TEST_NAME): Likewise.
37034 * string/test-strpbrk.c (TEST_NAME): Likewise.
37035 * string/test-strrchr.c (TEST_NAME): Likewise.
37036 * string/test-strspn.c (TEST_NAME): Likewise.
37037 * string/test-strstr.c (TEST_NAME): Likewise.
37038 * string/test-bcopy-ifunc.c: New file.
37039 * string/test-bzero-ifunc.c: Likewise.
37040 * string/test-memccpy-ifunc.c: Likewise.
37041 * string/test-memchr-ifunc.c: Likewise.
37042 * string/test-memcmp-ifunc.c: Likewise.
37043 * string/test-memcpy-ifunc.c: Likewise.
37044 * string/test-memmem-ifunc.c: Likewise.
37045 * string/test-memmove-ifunc.c: Likewise.
37046 * string/test-mempcpy-ifunc.c: Likewise.
37047 * string/test-memset-ifunc.c: Likewise.
37048 * string/test-rawmemchr-ifunc.c: Likewise.
37049 * string/test-stpcpy-ifunc.c: Likewise.
37050 * string/test-stpncpy-ifunc.c: Likewise.
37051 * string/test-strcasecmp-ifunc.c: Likewise.
37052 * string/test-strcasestr-ifunc.c: Likewise.
37053 * string/test-strcat-ifunc.c: Likewise.
37054 * string/test-strchr-ifunc.c: Likewise.
37055 * string/test-strchrnul-ifunc.c: Likewise.
37056 * string/test-strcmp-ifunc.c: Likewise.
37057 * string/test-strcpy-ifunc.c: Likewise.
37058 * string/test-strcspn-ifunc.c: Likewise.
37059 * string/test-strlen-ifunc.c: Likewise.
37060 * string/test-strncasecmp-ifunc.c: Likewise.
37061 * string/test-strncat-ifunc.c: Likewise.
37062 * string/test-strncmp-ifunc.c: Likewise.
37063 * string/test-strncpy-ifunc.c: Likewise.
37064 * string/test-strnlen-ifunc.c: Likewise.
37065 * string/test-strpbrk-ifunc.c: Likewise.
37066 * string/test-strrchr-ifunc.c: Likewise.
37067 * string/test-strspn-ifunc.c: Likewise.
37068 * string/test-strstr-ifunc.c: Likewise.
37069
de54b33a
L
37070 * debug/Makefile (tests-ifunc): New variable.
37071 (tests): Add $(tests-ifunc).
37072 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37073 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37074 * debug/test-stpcpy_chk-ifunc.c: New file.
37075 * debug/test-strcpy_chk-ifunc.c: Likewise.
37076
88481c16
SP
370772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37078
37079 [BZ #13601]
37080 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37081 header is not read in.
37082
135948bd
JM
370832012-10-19 Joseph Myers <joseph@codesourcery.com>
37084
89f1c388
JM
37085 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37086 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37087 directly. Pass built executable to script as
37088 $(built-program-cmd).
37089 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37090 $testprogram without using LD_LIBRARY_PATH and $ldso.
37091
e40a0d21
JM
37092 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37093 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37094 $(rtld-installed-name).
37095 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37096 (rtld_installed_name): Likewise.
37097 (library_path): Likewise.
37098 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37099 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37100 $(run-program-prefix) to tst-tables.sh.
37101 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37102 it to run tst-table-from and tst-table-to.
37103 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37104 Pass it to tst-table.sh.
37105 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37106 $(run-program-prefix) to tst-gettext.sh.
37107 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37108 tst-translit.sh.
37109 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37110 tst-gettext2.sh.
37111 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37112 to run tst-gettext.
37113 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37114 to run tst-gettext2.
37115 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37116 to run tst-translit.
37117 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37118 $(run-program-prefix) to tst-mtrace.sh.
37119 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37120 to run tst-mtrace.
37121 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37122 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37123 $(rtld-installed-name).
37124 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37125 (rtld_installed_name): Likewise.
37126 (run_program_prefix): New variable. Use it to run wordexp-test.
37127
728e272a
JM
37128 * Makeconfig (ARCH): Remove all definitions.
37129 (machine): Likewise.
37130 [ARCH]: Remove conditional code.
37131 [!objdir]: Give error.
37132 [!objdir] (objpfx): Remove.
37133 [!objdir] (common-objpfx): Likewise.
37134 [!objdir] (common-objdir): Likewise.
37135 * configure.in (config_makefile): Remove. Hardcode Makefile in
37136 AC_CONFIG_FILES call.
37137 * configure: Regenerated.
37138
d528cdcf
JM
37139 [BZ #13888]
37140 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37141 or TMPDIR.
37142 (testout): Likewise.
37143
135948bd
JM
37144 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37145 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37146 $(rtld-installed-name).
37147 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37148 (rtld_installed_name): Likwise.
37149 (runit): Remove function.
37150 (run_getconf): New variable, Use it for running getconf binary.
37151
38c78296
L
371522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37153
37154 [BZ #14716]
37155 * string/test-memmem.c (check_result): New function.
37156 (do_one_test): Use it.
37157 (check1): New function.
37158 (test_main): Use it.
37159
d077f65f
MT
371602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37161
37162 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37163
ced52c71
JM
371642012-10-18 Joseph Myers <joseph@codesourcery.com>
37165
37166 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37167 (_G_LSEEK64): Likewise.
37168 (_G_MMAP64): Likewise.
37169 (_G_FSTAT64): Likewise.
37170 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37171 (_G_LSEEK64): Likewise.
37172 (_G_MMAP64): Likewise.
37173 (_G_FSTAT64): Likewise.
37174 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37175 unconditional. Call __mmap64 directly.
37176 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37177 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37178 __lseek64 directly.
37179 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37180 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37181 __mmap64 directly.
37182 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37183 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37184 __lseek64 directly.
37185 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37186 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37187 __lseek64 directly.
37188 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37189 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37190 __lseek64 directly.
37191 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37192 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37193 __fxstat64 directly.
37194 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37195 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37196 unconditional.
37197 (freopen64) [!_G_OPEN64]: Remove conditional code.
37198 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37199 unconditional.
37200 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37201 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37202 unconditional.
37203 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37204 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37205 unconditional.
37206 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37207 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37208 unconditional.
37209 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37210 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37211 unconditional.
37212 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37213 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37214 unconditional.
37215 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37216 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37217 unconditional.
37218 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37219
b741de23
SP
372202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37221
37222 [BZ #12140]
37223 * manual/memory.texi (Malloc Tunable Parameters): Add note
37224 about free list pointers overwriting some perturb bytes.
37225 Wording suggested by Roland McGrath.
37226
f9b9d9c9
JM
372272012-10-17 Joseph Myers <joseph@codesourcery.com>
37228
37229 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37230 (lgamma_test): Likewise.
37231 (tgamma_test): Likewise.
37232
172a631a
FW
372332012-10-16 Florian Weimer <fweimer@redhat.com>
37234
37235 [BZ #14700]
37236 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37237 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37238
e9f37252
MK
372392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37240
37241 * NEWS: Mention BZ #14716.
37242 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37243 when removing AVAILABLE1_USES_J macro.
37244
d394eb74
L
372452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37246
37247 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37248 (__bswap_64): __uint64_t for unsigned 64-bit int.
37249
ca38dc17
AS
372502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37251
37252 * include/string.h (memmem): Declare libc hidden alias.
37253 * string/memmem.c (memmem): Define libc hidden alias.
37254 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37255 __read, __close instead of open, read, close.
37256
9a387d1f
L
372572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37258
ac49ecaf
L
37259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37260 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37261 global and hidden.
37262 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37263 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37264 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37265 Likewise.
37266 (__rawmemchr_sse2): Likewise.
37267 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37268 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37269 (__strchr_sse2): Likewise.
37270 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37271 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37272 (__strcasecmp_sse2): Likewise.
37273 (__strncasecmp_sse2): Likewise.
37274 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37275 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37276 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37277 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37278 (__strrchr_sse2): Likewise.
37279 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37280 ifunc-impl-list.c.
37281 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37282 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37283 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37284 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37285 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37286 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37287 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37288 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37289 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37290 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37291 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37292 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37293 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37294 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37295 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37296 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37297 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37298 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37299 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37300 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37301 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37302 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37303 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37304 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37305 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37307 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37308 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37309 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37310 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37311
b090e8ea
L
37312 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37313 global and hidden.
37314 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37315 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37316 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37317 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37318 Likewise.
37319 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37320 Likewise.
37321 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37322 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37323 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37324 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37325 ifunc-impl-list.c.
37326 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37327 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37328 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37329 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37330 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37331 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37332 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37333 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37334 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37335 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37336 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37337 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37338 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37339 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37340 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37342 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37343 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37344 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37345 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37346 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37347 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37348 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37349 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37350 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37351 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37352 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37353 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37354 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37355 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37356 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37357 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37358 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37359 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37360 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37361 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37362 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37363 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37364 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37365 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37366 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37367
11dd4af6
L
37368 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37369 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37370 * include/ifunc-impl-list.h: New file.
37371 * misc/ifunc-impl-list.c: Likewise.
37372 * misc/Makefile (routines): Add ifunc-impl-list.
37373 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37374 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37375 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37376 TEST_NAME]: New variables.
11dd4af6
L
37377 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37378 are defined.
37379 (test_init): Call __libc_ifunc_impl_list to initialize
37380 func_list if TEST_IFUNC and TEST_NAME are defined.
37381
9a387d1f
L
37382 * string/Makefile (strop-tests): Add bcopy and bzero.
37383 * string/test-bcopy.c: New file.
37384 * string/test-bzero.c: Likewise.
37385 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37386 defined.
37387 * string/test-memset.c: Support bzero test if TEST_BZERO is
37388 defined.
37389 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37390 __libc_memmove.
37391 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37392 __libc_memset.
37393 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37394 of memset.
37395
472371b9
JM
373962012-10-10 Joseph Myers <joseph@codesourcery.com>
37397
1e4a9536
JM
37398 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37399 * configure: Regenerated.
37400
d173d12e
JM
37401 * Makeconfig (+link-static-before-libc): Don't include
37402 $(link-static-libc).
37403
472371b9
JM
37404 * libio/libio.h (_IO_pos_t): Remove.
37405
89a3ad0b
AO
374062012-10-10 Alexandre Oliva <aoliva@redhat.com>
37407
37408 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37409 McGrath.
37410
e7451425
AO
374112012-10-10 Alexandre Oliva <aoliva@redhat.com>
37412
37413 * crypt/crypt-entry.c: Include fips-private.h.
37414 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37415 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37416 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37417 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37418
4ba74a35
AO
374192012-10-10 Alexandre Oliva <aoliva@redhat.com>
37420
37421 * crypt/crypt-private.h: Include stdbool.h.
37422 (_ufc_setup_salt_r): Return bool.
37423 * crypt/crypt-entry.c: Include errno.h.
37424 (__crypt_r): Return NULL with EINVAL for bad salt.
37425 * crypt/crypt_util.c (bad_for_salt): New.
37426 (_ufc_setup_salt_r): Check that salt is long enough and within
37427 the specified alphabet.
37428 * crypt/badsalttest.c: New file.
37429 * crypt/Makefile (tests): Add it.
37430 ($(objpfx)badsalttest): New.
37431
f96f1242
MK
374322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37433
37434 * NEWS: Add entry for BZ #14602.
37435
0e8e0c1c
JM
374362012-10-09 Joseph Myers <joseph@codesourcery.com>
37437
37438 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37439 type-generic.
37440 * math/libm-test.inc: Update comment listing what functions and
37441 macros are tested.
37442 (isgreater_test): New function.
37443 (isgreaterequal_test): Likewise.
37444 (isless_test): Likewise.
37445 (islessequal_test): Likewise.
37446 (islessgreater_test): Likewise.
37447 (isunordered_test): Likewise.
37448 (main): Call the new functions.
37449
273edc5e
RM
374502012-10-09 Roland McGrath <roland@hack.frob.com>
37451
b8493de0
RM
37452 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37453 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37454 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37455 * sysdeps/i386/configure: Regenerated.
37456 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37457 * sysdeps/mach/configure: Regenerated.
37458 * sysdeps/mach/hurd/configure: Regenerated.
37459 * sysdeps/powerpc/configure: Regenerated.
37460 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37461 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37462 * sysdeps/s390/s390-32/configure: Regenerated.
37463 * sysdeps/s390/s390-64/configure: Regenerated.
37464 * sysdeps/sh/configure: Regenerated.
37465 * sysdeps/sparc/configure: Regenerated.
37466 * sysdeps/unix/sysv/linux/configure: Regenerated.
37467 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37468 * sysdeps/x86_64/configure: Regenerated.
37469
273edc5e
RM
37470 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37471 defined. Don't check if MAP is NULL.
37472
c8450f70
JM
374732012-10-09 Joseph Myers <joseph@codesourcery.com>
37474
37475 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37476 (_G_stat64): Likewise.
37477 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37478 (_G_stat64): Likewise.
37479 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37480 instead of struct _G_stat64.
37481 * libio/fileops.c (mmap_remap_check): Likewise.
37482 (decide_maybe_mmap): Likewise.
37483 (_IO_new_file_seekoff): Likewise.
37484 (_IO_file_stat): Likewise.
37485 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37486 _G_off64_t.
37487 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37488 instead of struct _G_stat64.
37489 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37490
57e605ba
MK
374912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37492
37493 [BZ #14602]
37494 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37495 Replace with ...
37496 (CHECK_EOL): New macro.
37497 (two_way_short_needle): Check beginning of haystack for EOL. Use
37498 CHECK_EOL.
37499 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37500 Replace with CHECK_EOL.
37501 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37502 Replace with CHECK_EOL.
37503
ef1bb361
JM
375042012-10-08 Joseph Myers <joseph@codesourcery.com>
37505
37506 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37507 type-generic.
37508 * math/libm-test.inc: Update comment listing what functions and
37509 macros are tested.
37510 (finite_test): New function.
37511 (isinf_test): Likewise.
37512 (isnan_test): Likewise.
37513 (fpclassify_test): Test subnormal input.
37514 (isfinite_test): Likewise.
37515 (isnormal_test): Likewise.
37516 (main): Call the new functions.
37517
55f11534
JN
375182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37519
37520 [BZ #14660]
37521 * Makerules (%.dynsym): Force C locale when running
37522 $(OBJDUMP) --dynamic-syms.
37523
1ab29350
AS
375242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37525
37526 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37527 <stdint.h>.
37528
f1ecb7ef
DM
375292012-10-06 David S. Miller <davem@davemloft.net>
37530
37531 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37532 upper 32-bits of the length value in %o2 since we use branch-on-register
37533 tests which consider the entire 64-bit register.
37534
5d41d91a
L
375352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37536
37537 * string/test-strstr.c (check2): Add a test for page boundary.
37538
3baddb72
DM
375392012-10-05 David S. Miller <davem@davemloft.net>
37540
37541 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37542 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37543 file.
37544 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37545 sysdep_routines.
37546 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37547 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37548 and bzero when HWCAP_SPARC_CRYPTO is present.
37549
9cee5585
L
375502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37551
d7e0dab9
L
37552 [BZ #14602]
37553 * string/test-strstr.c (check2): New function.
37554 (test_main): Call check2.
37555
03759f47
L
37556 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37557 and bug-strchr1.
37558 * string/bug-strcasestr1.c (do_test): Moved to ...
37559 * string/test-strcasestr.c (check1): Here. New function.
37560 (do_one_test): Break out result checking code into ...
37561 (check_result): This. New function.
37562 (do_one_test): Call check_result.
37563 (test_main): Call check1.
37564 * string/bug-strchr1.c (do_test): Moved to ...
37565 * string/test-strchr.c (check1): Here. New function.
37566 (do_one_test): Break out result checking code into ...
37567 (check_result): This. New function.
37568 (do_one_test): Call check_result.
37569 (test_main): Call check1.
37570 * string/bug-strstr1.c (main): Moved to ...
046f153e 37571 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37572 (do_one_test): Break out result checking code into ...
37573 (check_result): This. New function.
37574 (do_one_test): Call check_result.
37575 (test_main): Call check1.
37576 * string/bug-strcasestr1.c: Removed.
37577 * string/bug-strchr1.c: Likewise.
37578 * string/bug-strstr1.c: Likewise.
37579
53cea63e
L
37580 * elf/Makefile (dl-routines): Add hwcaps.
37581 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37582 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37583 (_dl_important_hwcaps): Moved to ...
37584 * elf/dl-hwcaps.c: Here. New file.
37585 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37586
9cee5585 37587 [BZ #14557]
bb859b06
L
37588 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37589 if IS_IN_rtld isn't defined.
37590
9cee5585
L
37591 * elf/dl-support.c (_dl_sysinfo_map): New.
37592 Include "get-dynamic-info.h" and "setup-vdso.h".
37593 (_dl_non_dynamic_init): Call setup_vdso.
37594 * elf/dynamic-link.h: Don't include <assert.h>.
37595 (elf_get_dynamic_info): Moved to ...
37596 * elf/get-dynamic-info.h: Here. New file.
37597 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37598 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37599 * elf/setup-vdso.h: Here. New file.
37600 * elf/rtld.c: Include "setup-vdso.h".
37601 (dl_main): Call setup_vdso.
37602
23c31b76
JM
376032012-10-05 Joseph Myers <joseph@codesourcery.com>
37604
28234b07
JM
37605 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37606 creal in comment listing functions tested. List finite, isinf,
37607 isnan, isless, islessequal, isgreater, isgreaterequal,
37608 islessgreater, isunordered, lgamma_r and pow10 as functions and
37609 macros not tested. Mention which functions not tested are aliases
37610 for other functions. Fix typo. Note that signs of NaNs are not
37611 tested.
37612
23c31b76
JM
37613 * scripts/config.guess: Update from config.git.
37614 * scripts/config.sub: Likewise.
37615
9043e228
RM
376162012-10-04 Roland McGrath <roland@hack.frob.com>
37617
37618 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37619 * misc/madvise.c (madvise): Renamed to __madvise.
37620 Make madvise a weak alias.
37621 * include/sys/mman.h: Declare __madvise.
37622 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37623 * sysdeps/unix/syscalls.list
37624 (madvise): Make __madvise the strong name, and madvise a weak alias.
37625 * sysdeps/unix/sysv/linux/syscalls.list
37626 (madvise, mmap): Remove redundant entries.
37627 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37628 * malloc/malloc.c (mtrim): Likewise.
37629 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37630
f57f8055
RM
376312012-10-03 Roland McGrath <roland@hack.frob.com>
37632
37633 * sysdeps/mach/hurd/dl-cache.c: File removed.
37634 * config.h.in (USE_LDCONFIG): New #undef.
37635 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37636 * configure: Regenerated.
37637 * elf/Makefile (dl-routines): Add dl-cache only under
37638 [$(use-ldconfig) = yes].
37639 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37640 cache on [USE_LDCONFIG].
37641 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37642 [USE_LDCONFIG].
37643 * elf/rtld.c (dl_main): Likewise.
37644
5bb0c10a
PT
376452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37646
37647 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37648 _SC_LEVEL4_CACHE_LINESIZE.
37649
010188c6
RM
376502012-10-03 Roland McGrath <roland@hack.frob.com>
37651
37652 * sysdeps/unix/bsd/confstr.h: File removed.
37653
b6c5ec07
AO
376542012-10-02 Alexandre Oliva <aoliva@redhat.com>
37655
37656 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37657 sys/sdt-config.h.
37658
408223d4
RM
376592012-10-02 Roland McGrath <roland@hack.frob.com>
37660
37661 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37662 Make 'mapoff' field ElfW(Off) rather than off_t.
37663
bb9510dc
DL
376642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37665
fc997c6e
DL
37666 * nscd/Makefile: Remove nscd-cflags and all its users.
37667 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37668 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37669
bb9510dc
DL
37670 [BZ #10631]
37671 * malloc.c (malloc_printerr): Clarify error message.
37672
05699367
L
376732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37674
37675 [BZ #14648]
37676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37677 Set bit_FMA_Usable if FMA is supported.
37678 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37679 macro.
37680 (bit_FMA4_Usable): Updated.
37681 (index_FMA_Usable): New macro.
37682 (CPUID_FMA): Likewise
37683 (HAS_FMA): Defined with bit_FMA_Usable.
37684
51367701
RM
376852012-10-01 Roland McGrath <roland@hack.frob.com>
37686
37687 * bits/types.h (__swblk_t): Type removed.
37688 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37689 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37691 (__SWBLK_T_TYPE): Likewise.
37692 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37693 (__SWBLK_T_TYPE): Likewise.
37694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37695 (__SWBLK_T_TYPE): Likewise.
37696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37697 (__SWBLK_T_TYPE): Likewise.
37698
4d57bf63 376992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37700 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37701
37702 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37703 (xdr_mapname): Use YPMAXMAP as maxsize.
37704 (xdr_peername): Use YPMAXPEER as maxsize.
37705 (xdr_keydat): Use YPAXRECORD as maxsize.
37706 (xdr_valdat): Use YPMAXRECORD as maxsize.
37707
93c65d43
RM
377082012-10-01 Roland McGrath <roland@hack.frob.com>
37709
497a03d6
RM
37710 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37711
93c65d43
RM
37712 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37713 * csu/init-first.c: ... here.
37714 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37715 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37716 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37717 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37718 * sysdeps/i386/init-first.c: File removed.
37719 * sysdeps/sh/init-first.c: File removed.
37720
bec749fd
JM
377212012-10-01 Joseph Myers <joseph@codesourcery.com>
37722
37723 [BZ #14645]
37724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37725 if x * y might underflow to zero and z is zero.
37726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37728 * math/libm-test.inc (min_subnorm_value): New variable.
37729 (fma_test): Add more tests.
37730 (fma_test_towardzero): Likewise.
37731 (fma_test_downward): Likewise
37732 (fma_test_upward): Likewise.
37733 (initialize): Set min_subnorm_value.
37734
8ec5b013
JM
377352012-09-29 Joseph Myers <joseph@codesourcery.com>
37736
37737 [BZ #14638]
37738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37739 0 + 0.
37740 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37741 mode for addition resulting in exact zero.
37742 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37744 exact 0 + 0.
37745 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37747 * math/libm-test.inc (fma_test): Add more tests.
37748 (fma_test_towardzero): New function.
37749 (fma_test_downward): Likewise.
37750 (fma_test_upward): Likewise.
37751 (main): Call the new functions.
37752
b1fa802e
DM
377532012-09-28 David S. Miller <davem@davemloft.net>
37754
37755 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37756
d3b9fd9e
RM
377572012-09-28 Roland McGrath <roland@hack.frob.com>
37758
ea4d37b3
RM
37759 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37760 instead of SIGALRM.
37761
ac51c949
RM
37762 * sysdeps/gnu/_G_config.h: Moved to ...
37763 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37764 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37765 * sysdeps/generic/_G_config.h: ... here.
37766
28c195f7
RM
37767 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37768
848917f9
RM
37769 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37770
6bacf05b
RM
37771 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37772 Conditionalize target on [libnss_test1.so-version].
37773
91363dbb
RM
37774 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37775
cc87f7d8
RM
37776 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37777 (elfobjdir): Move out of conditionals.
37778
b1c608fe
RM
37779 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37780 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37781 (__nss_lookup_function): Conditionalize label remove_from_tree on
37782 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37783
1d9a6d96
DM
377842012-09-28 David S. Miller <davem@davemloft.net>
37785
37786 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37787 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37788 file.
37789 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37790 sysdep_routines.
37791 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37793 when HWCAP_SPARC_CRYPTO is present.
37794
72581615
PT
377952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37796
37797 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37798
715a900c
JL
377992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37800
37801 [BZ #6530]
37802 * stdio-common/vfprintf.c (process_string_arg): Revert
37803 2000-07-22 change.
37804
378052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37806
37807 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37808 for testcase.
37809 * stdio-common/tst-sprintf.c: Include <locale.h>
37810 (main): Test sprintf's handling of incomplete multibyte
37811 characters.
37812
9bac1d86
L
378132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37814
37815 * elf/dl-runtime.c (VERSYMIDX): Removed.
37816 * elf/dl-version.c (VERSYMIDX): Likewise.
37817 * elf/do-rel.h (VERSYMIDX): Likewise.
37818 (VALIDX): Likewise.
37819 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37820 * elf/rtld.c (VALIDX): Likewise.
37821 (ADDRIDX): Likewise.
9bac1d86
L
37822 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37823 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37824 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37825 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37826 (VALIDX): Likewise.
37827 (ADDRIDX): Likewise.
9bac1d86 37828
b31606c0
PT
378292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37830
37831 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37832
11541177
JL
378332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37834
37835 [BZ #11438]
37836 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37837 to global scope.
37838 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37839 addresses are in the same scope as 192.0.2/24.
37840 * posix/gai.conf: Document new scope table defaults.
37841
adb26fae
SP
378422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37843
37844 [BZ #5298]
37845 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37846 for ftell. Compute offsets from write pointers instead.
37847 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37848
4573c6b0
SP
378492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37850
37851 [BZ #14543]
37852 * libio/Makefile (tests): New test case tst-fseek.
37853 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37854 combination works in wide mode.
37855 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37856 state when the external buffer state changes.
37857
aa9bbfe6
DM
378582012-09-27 David S. Miller <davem@davemloft.net>
37859
37860 [BZ #14376]
37861 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37862 pass reloc->r_addend in as the 'high' argument to
37863 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37864
784421e7
DM
37865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37866
c39bc8b8
PT
378672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37868
37869 * rt/tst-aio2.c: Include <pthread.h>.
37870 * rt/tst-aio3.c: Likewise.
37871
1ccc2399
SE
378722012-09-27 Steve Ellcey <sellcey@mips.com>
37873
37874 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37875
31ed4153
L
378762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37877
25f5f885
L
37878 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37879 contents on [SHARED].
31ed4153 37880
b7bfe116
MP
378812012-09-26 Marek Polacek <polacek@redhat.com>
37882
37883 [BZ #14530]
37884 [BZ #13741]
37885 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37886 for C++ and GCC <4.3 as well as for non GCC compilers.
37887
43c4edba
MT
378882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37889
37890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37891
6a1bf82f
RM
378922012-09-25 Roland McGrath <roland@hack.frob.com>
37893
37894 * Makefile.in (all, install): Declare with .PHONY.
37895 Reported by Michael Hope <michael.hope@linaro.org>.
37896
8ad11b9a
TMQMF
378972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37898
37899 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37900 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37901 system header.
37902 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37903 Likewise.
37904 (sydep_routines): Add the new and the internal functions.
37905 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37906 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37908 (GLIBC_2.17): Add the new function.
37909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37910 (GLIBC_2.17): Likewise.
37911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37912 (GLIBC_2.17): Likewise.
37913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37914 (GLIBC_2.17): Likewise.
37915 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37916
7e2fca8d
AM
379172012-09-25 Alan Modra <amodra@gmail.com>
37918
37919 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37920 Add release barrier before setting once_control to say
37921 initialisation is done. Add hints on lwarx. Use macro in
37922 place of isync.
37923 (clear_once_control): Add release barrier.
37924
b87c4b24
JM
379252012-09-25 Joseph Myers <joseph@codesourcery.com>
37926
d032e0d2
JM
37927 [BZ #13629]
37928 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37929 specially.
37930 * math/s_clog10.c (__clog10): Likewise.
37931 * math/s_clog10f.c (__clog10f): Likewise.
37932 * math/s_clog10l.c (__clog10l): Likewise.
37933 * math/s_clogf.c (__clogf): Likewise.
37934 * math/s_clogl.c (__clogl): Likewise.
37935 * math/Makefile (libm-calls): Add x2y2m1.
37936 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37937 (__x2y2m1): Likewise.
37938 (__x2y2m1l): Likewise.
37939 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37940 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37941 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37942 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37943 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37944 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37945 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37946 * sysdeps/i386/fpu/libm-test-ulps: Update.
37947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37948
b87c4b24
JM
37949 [BZ #14621]
37950 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37951 int as type of variable DEPTH.
37952 (glob): Use size_t instead of int as type of variables NEWCOUNT
37953 and OLD_PATHC.
37954
6d3bf199
LD
379552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37956
22bf5c17
LD
37957 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37958 Add s_sincosf-sse2.
37959 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37960 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37961 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37962 macros for using routine as __sincosf_ia32.
37963 Use macro for function declaration and weak_alias.
37964 * sysdeps/i386/fpu/libm-test-ulps: Update.
37965
37966 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37968
37969 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37970 subnormal argument.
37971 * math/s_cexpf.c (__cexpf): Likewise.
37972 * math/s_csinf.c (__csinf): Likewise.
37973 * math/s_csinhf.c (__csinhf): Likewise.
37974 * math/s_ctanf.c (__ctanf): Likewise.
37975 * math/s_ctanhf.c (__ctanhf): Likewise.
37976 * math/s_ccosh.c (__ccoshf): Likewise.
37977 * math/s_cexp.c (__cexpl): Likewise.
37978 * math/s_csin.c (__csin): Likewise.
37979 * math/s_csinh.c (__csinh): Likewise.
37980 * math/s_ctan.c (__ctan): Likewise.
37981 * math/s_ctanh.c (ctanh): Likewise.
37982 * math/s_ccoshl.c (__ccoshl): Likewise.
37983 * math/s_cexpl.c (__cexpl): Likewise.
37984 * math/s_csinl.c (__csinl): Likewise.
37985 * math/s_csinhl.c (__csinhl): Likewise.
37986 * math/s_ctanl.c (__ctanl): Likewise.
37987 * math/s_ctanhl.c (__ctanhl): Likewise.
37988
203e5603
JM
379892012-09-25 Joseph Myers <joseph@codesourcery.com>
37990
37991 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37992 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37993 (_IO_off_t): Define to __off_t, not _G_off_t.
37994 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37995 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37996 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37997 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37998 type of __dummy and __dummy2 fields.
37999 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38000 (_G_ssize_t): Likewise.
38001 (_G_off_t): Likewise.
38002 (_G_pid_t): Likewise.
38003 (_G_uid_t): Likewise.
38004 (_G_wchar_t): Likewise.
38005 (_G_wint_t): Likewise.
38006 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38007 (_G_ssize_t): Likewise.
38008 (_G_off_t): Likewise.
38009 (_G_pid_t): Likewise.
38010 (_G_uid_t): Likewise.
38011 (_G_wchar_t): Likewise.
38012 (_G_wint_t): Likewise.
38013 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38014 (_G_ssize_t): Likewise.
38015 (_G_off_t): Likewise.
38016 (_G_pid_t): Likewise.
38017 (_G_uid_t): Likewise.
38018 (_G_wchar_t): Likewise.
38019 (_G_wint_t): Likewise.
38020
9fab36eb
SP
380212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38022
38023 * malloc/arena.c: Include malloc-sysdep.h.
38024 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38025 is sufficient to shrink the heap or an unmap is needed.
38026 * sysdeps/generic/malloc-sysdep.h: New file. Define
38027 new function check_may_shrink_heap.
38028 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38029 new function check_may_shrink_heap.
38030
2b4f00d1
SP
380312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38032
38033 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38034 comments.
38035
9a9028b1
DL
380362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38037
57c69bef
DL
38038 * catgets/test-gencat.sh: Add "set -e".
38039 * elf/tst-pathopt.sh: Likewise.
38040 * grp/tst_fgetgrent.sh: Likewise.
38041 * iconvdata/run-iconv-test.sh: Likewise.
38042 * intl/tst-gettext.sh: Likewise.
38043 * intl/tst-gettext2.sh: Likewise.
38044 * intl/tst-gettext4.sh: Likewise.
38045 * intl/tst-gettext6.sh: Likewise.
38046 * intl/tst-translit.sh: Likewise.
38047 * io/ftwtest-sh: Likewise.
38048 * libio/test-freopen.sh: Likewise.
38049 * malloc/tst-mtrace.sh: Likewise.
38050 * posix/globtest.sh: Likewise.
38051 * posix/tst-getconf.sh: Likewise.
38052 * posix/wordexp-tst.sh: Likewise.
38053 * stdio-common/tst-printf.sh: Likewise.
38054 * stdio-common/tst-unbputc.sh: Likewise.
38055 * stdlib/tst-fmtmsg.sh: Likewise.
38056 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38057 * catgets/Makefile: Do not specify -e option when running
38058 testsuite shell scripts.
38059 * elf/Makefile: Likewise.
38060 * grp/Makefile: Likewise.
38061 * iconvdata/Makefile: Likewise.
38062 * intl/Makefile: Likewise.
38063 * io/Makefile: Likewise.
38064 * libio/Makefile: Likewise.
38065 * malloc/Makefile: Likewise.
38066 * posix/Makefile: Likewise.
38067 * stdio-common/Makefile: Likewise.
38068 * stdlib/Makefile: Likewise.
38069 * sysdeps/x86_64/Makefile: Likewise.
38070
9a9028b1
DL
38071 * io/ftwtest-sh: Add copyright header.
38072 * posix/globtest.sh: Likewise.
38073 * posix/tst-getconf.sh: Likewise.
38074 * posix/wordexp-tst.sh: Likewise.
38075 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38076
ced6f16e
L
380772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38078
94b32c39
L
38079 [BZ #13679]
38080 * Makeconfig (+link): Defined as $(+link-static) if
38081 $(build-shared) isn't yes.
38082 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38083 isn't yes.
38084 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38085
189e935b
L
38086 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38087
ced6f16e
L
38088 [BZ #14562]
38089 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38090 new chunk size with MALLOC_ALIGN_MASK.
38091
a9f8e53a
JM
380922012-09-24 Joseph Myers <joseph@codesourcery.com>
38093
38094 [BZ #5044]
38095 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38096 <rounding-mode.h>.
38097 (__printf_fphex): Determine rounding using get_rounding_mode and
38098 round_away.
38099 * stdio-common/tst-printf-round.c (struct hex_test): New
38100 structure.
38101 (hex_tests): New variable.
38102 (test_hex_in_one_mode): New function.
38103 (do_test): Also run tests for hex float output.
38104
43153109
JM
381052012-09-21 Joseph Myers <joseph@codesourcery.com>
38106
38107 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38108 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38109 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38110 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38111 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38112 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38113 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38114 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38115
8a26625d
JM
381162012-09-20 Joseph Myers <joseph@codesourcery.com>
38117
38118 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38119 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38120 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38121 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38122
f3fd569c
DL
381232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38124
38125 [BZ #14579]
38126 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38127 mode only.
38128 * elf/tst-rtld-load-self.sh: New test.
38129 * elf/Makefile: Run it.
38130
63bbedd4
JM
381312012-09-18 Joseph Myers <joseph@codesourcery.com>
38132
38133 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38134 (tst-writev-ENV): Remove.
38135 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38136
626f8b6a
CM
381372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38138
38139 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38140
b7aaa4d6
JM
381412012-09-17 Joseph Myers <joseph@codesourcery.com>
38142
38143 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38144 unconditional.
38145 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38146 Likewise.
38147 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38148 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38149 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38150 Likewise.
38151
65513990
L
381522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38153
38154 [BZ #14587]
38155 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38156 * config.make.in (have-cpp-asm-debuginfo): Removed.
38157 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38158 * configure: Regenerated.
38159
784761be
JM
381602012-09-14 Joseph Myers <joseph@codesourcery.com>
38161
38162 [BZ #5044]
38163 * stdio-common/printf_fp.c: Include <stdbool.h> and
38164 <rounding-mode.h>.
38165 (___printf_fp): Determine rounding using get_rounding_mode and
38166 round_away.
38167 * stdio-common/tst-printf-round.c: New file.
38168 * stdio-common/Makefile (tests): Add tst-printf-round.
38169 (link-libm): New variable.
38170 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38171
9503345f
L
381722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38173
38174 [BZ #14576]
38175 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38176 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38177 Likewise.
38178 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38179 Likewise.
38180
ad35fc00
JM
381812012-09-13 Joseph Myers <joseph@codesourcery.com>
38182
38183 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38184 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38185 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38186 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38187
6c9b0f68
JM
381882012-09-12 Joseph Myers <joseph@codesourcery.com>
38189
38190 [BZ #14518]
38191 * include/rounding-mode.h: New file.
38192 * sysdeps/generic/get-rounding-mode.h: Likewise.
38193 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38194 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38195 (MAX_VALUE): New macro.
38196 (MIN_VALUE): Likewise.
38197 (overflow_value): New function.
38198 (underflow_value): Likewise.
38199 (round_and_return): Use overflow_value and underflow_value to
38200 determine return values in overflow and underflow cases. Use
38201 round_away to determine rounding depending on rounding mode.
38202 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38203 determine return values in overflow and underflow cases.
38204 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38205 (struct test_results): New structure.
38206 (struct test): Use struct test_results to store expected results
38207 for all rounding modes.
38208 (TEST): Include expected results for all rounding modes.
38209 (test_in_one_mode): New function.
38210 (do_test): Use test_in_one_mode to compute and check results.
38211 Check results for all rounding modes.
38212 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38213 $(link-libm).
38214
19fcedd5
AM
382152012-12-09 Allan McRae <allan@archlinux.org>
38216
1e9d84cd 38217 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38218
8bbfd2f1
JM
382192012-09-11 Joseph Myers <joseph@codesourcery.com>
38220
38221 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38222 (_G_int32_t): Likewise.
38223 (_G_uint16_t): Likewise.
38224 (_G_uint32_t): Likewise.
38225 (_G_HAVE_BOOL): Likewise.
38226 (_G_HAVE_ATEXIT): Likewise.
38227 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38228 (_G_HAVE_IO_FILE_OPEN): Likewise.
38229 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38230 (_G_int32_t): Likewise.
38231 (_G_uint16_t): Likewise.
38232 (_G_uint32_t): Likewise.
38233 (_G_HAVE_BOOL): Likewise.
38234 (_G_HAVE_ATEXIT): Likewise.
38235 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38236 (_G_HAVE_IO_FILE_OPEN): Likewise.
38237 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38238 (_G_int32_t): Likewise.
38239 (_G_uint16_t): Likewise.
38240 (_G_uint32_t): Likewise.
38241 (_G_HAVE_BOOL): Likewise.
38242 (_G_HAVE_ATEXIT): Likewise.
38243 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38244 (_G_HAVE_IO_FILE_OPEN): Likewise.
38245
b1dc5912
L
382462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38247
38248 * csu/libc-tls.c: Update copyright years.
38249
0e886ef9
JM
382502012-09-10 Joseph Myers <joseph@codesourcery.com>
38251
28361c5e
JM
38252 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38253 [!_G_USING_THUNKS]: Remove conditional code.
38254 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38255 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38256
0e886ef9
JM
38257 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38258 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38259 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38260 (_G_VTABLE_LABEL_PREFIX): Likewise.
38261 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38262 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38263 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38264 (_G_VTABLE_LABEL_PREFIX): Likewise.
38265 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38266 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38267 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38268 (_G_VTABLE_LABEL_PREFIX): Likewise.
38269 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38270
bcba7aa2
L
382712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38272
38273 * libio/Makefile: Include ../Makeconfig before tests.
38274 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38275 only if $(build-shared) is yes.
38276
06585ee8
L
38277 * iconv/gconv_db.c: Update copyright years.
38278
80ccd52c
LD
382792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38280
38281 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38282 unwind info if defined PIC. Fix special cases description.
38283 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38284
38285 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38286 DP_HI_MASK entry.
38287 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38288
691bc9c1
L
382892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38290
3d9b46b3
L
38291 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38292
de2139a9
L
38293 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38294 is NULL.
38295
5ca78dd0
L
38296 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38297 (LDLIBS-tst-chk4): This.
38298 (LDFLAGS-tst-chk5): Renamed to ...
38299 (LDLIBS-tst-chk5): This.
38300 (LDFLAGS-tst-chk6): Renamed to ...
38301 (LDLIBS-tst-chk6): This.
38302 (LDFLAGS-tst-lfschk4): Renamed to ...
38303 (LDLIBS-tst-lfschk4): This.
38304 (LDFLAGS-tst-lfschk5): Renamed to ...
38305 (LDLIBS-tst-lfschk5): This.
38306 (LDFLAGS-tst-lfschk6): Renamed to ...
38307 (LDLIBS-tst-lfschk6): This.
38308
691bc9c1
L
38309 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38310 on $(common-objpfx)soversions.mk.
38311
65cafb1c
JM
383122012-09-07 Joseph Myers <joseph@codesourcery.com>
38313
38314 [BZ #10014]
38315 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38316 example host name.
38317
c78ab094
SP
383182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38319
38320 * malloc/arena.c (arena_get_retry): New function that gets
38321 another arena for the caller to try its request on.
38322 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38323 current arena cannot fulfill the request.
38324 (__libc_memalign): Likewise.
38325 (__libc_memalign): Likewise.
38326 (__libc_pvalloc): Likewise.
38327 (__libc_calloc): Likewise.
38328
01f49f59
JT
383292012-09-05 John Tobey <john.tobey@gmail.com>
38330
38331 [BZ #13542]
38332 * manual/arith.texi (Operations on Complex): Fix description
38333 of carg branch cut.
38334
4c23fed5
JM
383352012-09-06 Joseph Myers <joseph@codesourcery.com>
38336
1d3c8572
JM
38337 [BZ #10014]
38338 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38339 host name.
38340
4c23fed5
JM
38341 [BZ #10038]
38342 * manual/memory.texi (Memory): Make order of menu items match
38343 order of sections.
38344
04570aaa
L
383452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38346
38347 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38348 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38349 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38350
b80af2f4
L
383512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38352
38353 * csu/libc-tls.c (static_dtv): Renamed to ...
38354 (_dl_static_dtv): This. Make it global.
38355 (_dl_initial_dtv): Removed.
38356 (__libc_setup_tls): Updated.
38357 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38358 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38359 DL_INITIAL_DTV.
38360
2abe9f15
PM
383612012-09-06 Petr Machata <pmachata@redhat.com>
38362
38363 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38364 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38365 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38366 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38367
0948c3af
L
383682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38369
38370 [BZ #14545]
38371 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38372 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38373 freeing dtv[-1].
38374
a5055ad1
L
383752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38376
38377 [BZ #14544]
38378 * Makeconfig (link-static-before-libc): Replace $(+prector)
38379 with $(+prectorT).
38380 (link-static-after-libc): Replace $(+postctor) with
38381 $(+postctorT).
38382 (link-bounded): Replace $(+prector)/$(+postctor) with
38383 $(+prectorT)/$(+postctorT).
38384 (+prectorT): New macro.
38385 (+postctorT): Likewise.
38386
ed8c2ecd
JM
383872012-09-06 Joseph Myers <joseph@codesourcery.com>
38388
38389 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38390 (round_str): Handle values above the maximum for IBM long double
38391 as inexact.
38392 * stdlib/tst-strtod-round.c (tests): Regenerated.
38393
14c996c8
AK
383942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38395
38396 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38397 assembler flag.
38398 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38399 zarch_nohighgprs around the zarch optimized routines.
38400 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38401 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38402 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38403 for zarch.
38404
430d6ce6
DM
384052012-09-05 David S. Miller <davem@davemloft.net>
38406
38407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38408
57f41c40
AS
38409 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38410 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38411 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38412 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38413 entries.
38414
24d4e01b
AO
384152012-09-05 Alexandre Oliva <aoliva@redhat.com>
38416
38417 * malloc/arena.c: Fold copyright years.
38418 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38419
61d58174
AO
384202012-09-05 Alexandre Oliva <aoliva@redhat.com>
38421
38422 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38423
20196a5e
AO
384242012-09-05 Alexandre Oliva <aoliva@redhat.com>
38425
38426 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38427
5c447383
AO
384282012-09-05 Alexandre Oliva <aoliva@redhat.com>
38429
38430 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38431 change internal state upon failure.
38432
fad64255
AO
384332012-09-05 Alexandre Oliva <aoliva@redhat.com>
38434
38435 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38436 * malloc/memusage.c (mmap): Likewise.
38437 (mmap64, mremap): Likewise. Adjust name in comment.
38438
1ffb8c90
SP
384392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38440
38441 * libio/fileops.c: Fix typos in comments.
38442 * libio/oldfileops.c: Likewise.
38443 * libio/wfileops.c: Likewise.
38444
6ef9cc37
SP
384452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38446
38447 [BZ #1349]
38448 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38449 (tst-malloc-usable-ENV): Set environment for test case.
38450 * malloc/hooks.c (malloc_check_get_size): New function to get
38451 requested size.
38452 * malloc/malloc.c (musable): Use malloc_check_get_size.
38453 * malloc/tst-malloc-usable.c: New test case.
38454
4d038ae3
AS
384552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38456
38457 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38458
c4e85184
AM
384592012-09-05 Allan McRae <allan@archlinux.org>
38460
b9dafc56 38461 [BZ #13966]
c4e85184
AM
38462 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38463 determine header location.
38464 * configure: Regenerated.
38465
e1343020
AS
384662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38467
38468 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38469 float format.
38470 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38471 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38472 format.
e1343020
AS
38473 (test): Regenerate.
38474
0a9f1987
DM
384752012-09-04 David S. Miller <davem@davemloft.net>
38476
38477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38479 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38480
29237804
FW
384812012-09-04 Florian Weimer <fweimer@redhat.com>
38482
38483 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38484 failures.
38485
edb3cb88
FW
38486 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38487
60160d83
JM
384882012-09-04 Joseph Myers <joseph@codesourcery.com>
38489
38490 [BZ #9914]
38491 * libio/iogetdelim.c: Include <limits.h>.
38492 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38493 + len + 1 would overflow.
38494
bcd6c8dc
AJ
384952012-09-03 Andreas Jaeger <aj@suse.de>
38496
38497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38498 * sysdeps/i386/fpu/libm-test-ulps: Update.
38499
4ffffbd2
LD
385002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38501
38502 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38503 Add s_sinf-sse2, s_conf-sse2.
38504
38505 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38506 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38507 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38508 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38509
38510 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38511 for using routine as __sinf_ia32.
38512 Use macro for function declaration and weak_alias.
38513 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38514 for using routine as __cosf_ia32.
38515 Use macro for function declaration and weak_alias.
38516
38517 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38518 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38519
38520 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38521 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38523
38524 * math/libm-test.inc (cos_test): Add more test cases.
38525 (sin_test): Likewise.
38526 (sincos_test): Likewise.
38527
511fa286
AK
385282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38529
38530 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38531 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38532 hidden.
38533 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38534
5f30cfec
L
385352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38536
38537 [BZ #14538]
38538 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38539 first element of the GOT.
38540 (elf_machine_load_address): Return the difference between
38541 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38542
0786794f
AM
385432012-09-01 Allan McRae <allan@archlinux.org>
38544
5f30cfec
L
38545 [BZ #13412]
38546 * configure.in (AWK): Require gawk version 3.0 or later.
38547 * configure: Regenerated.
0786794f 38548
26889eac
JM
385492012-09-01 Joseph Myers <joseph@codesourcery.com>
38550
38551 * sysdeps/unix/sysv/linux/kernel-features.h
38552 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38553 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38554 [__NR_clock_getres]: Make code unconditional.
38555 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38556 (clock_getcpuclockid): Remove code left unreachable by removal of
38557 conditionals.
38558 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38559 code unconditional.
38560 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38561 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38562 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38563 Make code unconditional.
38564 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38565 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38566 * sysdeps/unix/sysv/linux/clock_settime.c
38567 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38568 conditional code.
38569 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38570 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38571
d22e28b0
L
385722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38573
38574 [BZ #14476]
38575 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38576 scripts/test-installation.pl.
38577
38578 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38579 and $ld_so_version if it is set.
38580
050af9c4
SP
385812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38582
38583 [BZ #14516]
38584 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38585 failure if reading from procfs failed.
38586 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38587
ad845c0b
JM
385882012-08-27 Joseph Myers <joseph@codesourcery.com>
38589
38590 * sysdeps/unix/sysv/linux/kernel-features.h
38591 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38592 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38593 Remove conditional code.
38594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38595 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38596 Remove conditional code.
38597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38598 * sysdeps/unix/sysv/linux/i386/fxstat.c
38599 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38601 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38602 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38604 * sysdeps/unix/sysv/linux/i386/lxstat.c
38605 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38607 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38608 Remove conditional code.
38609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38610 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38611 Remove conditional code.
38612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38613 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38614 <kernel-features.h>.
38615 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38616 Remove.
38617 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38618 Remove conditional code.
38619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38620 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38621 Remove conditional.
38622
5dbf56af
MF
386232012-08-27 Mike Frysinger <vapier@gentoo.org>
38624
38625 [BZ #5400]
38626 * NEWS: Add fixed bug number.
38627
d6e70f43
JM
386282012-08-27 Joseph Myers <joseph@codesourcery.com>
38629
7efb4737
JM
38630 [BZ #14519]
38631 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38632 underflowing exponent in case of negative sign.
38633 * stdlib/tst-strtod-round-data: Add more tests.
38634 * stdlib/tst-strtod-round.c (tests): Regenerated.
38635
af92131a
JM
38636 [BZ #3479]
38637 * stdlib/strtod_l.c (NDIG): Remove.
38638 (HEXNDIG): Likewise.
38639 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38640 smallest representable value.
38641 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38642 lie within an exact representation of 1/2 ulp of the result.
38643 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38644 unconditionally.
38645 (TENS_P9_IDX): Define unconditionally.
38646 (TENS_P9_SIZE): Likewise.
38647 (TENS_P10_IDX): Likewise.
38648 (TENS_P10_SIZE): Likewise.
38649 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38650 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38651 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38652 entries for 10^2^13 and 10^2^14.
38653 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38654 (TENS_P13_IDX): Define.
38655 (TENS_P13_SIZE): Likewise.
38656 (TENS_P14_IDX): Likewise.
38657 (TENS_P14_SIZE): Likewise.
38658 (_fpioconst_pow10): Change array size to
38659 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38660 unconditional.
38661 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38662 1024]: Add entries for 10^2^13 and 10^2^14.
38663 [LAST_POW10 > _LAST_POW10]: Remove #error.
38664 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38665 (_fpioconst_pow10): Change array size to
38666 FPIOCONST_POW10_ARRAY_SIZE.
38667 * stdlib/gen-fpioconst.c: New file.
38668 * stdlib/gen-tst-strtod-round.c: Likewise.
38669 * stdlib/tst-strtod-round-data: Likewise.
38670 * stdlib/tst-strtod-round.c: Likewise.
38671 * stdlib/Makefile (tests): Add tst-strtod-round.
38672
d6e70f43
JM
38673 [BZ #14459]
38674 * stdlib/strtod_l.c: Include <stdint.h>.
38675 (NDEBUG): Do not define.
38676 (round_and_return): Change EXPONENT parameter to type intmax_t.
38677 Rearrange calculations to avoid internal overflow possibilities.
38678 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38679 Rearrange calculations to avoid internal overflow possibilities.
38680 Assert that number fits inside MPNSIZE limbs.
38681 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38682 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38683 calculations and add assertions to avoid internal overflow
38684 possibilities. Add casts to avoid signed/unsigned operations.
38685 * stdlib/tst-strtod-overflow.c: New file.
38686 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38687
1f529f7d
MP
386882012-08-25 Marek Polacek <polacek@redhat.com>
38689
38690 * time/time.h: Fix some typos in comments.
38691
59a629f1
RM
386922012-08-23 Roland McGrath <roland@hack.frob.com>
38693
38694 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38695 * posix/tst-rfc3484-2.c: Likewise.
38696 * posix/tst-rfc3484-3.c: Likewise.
38697
d3bafbc9
SM
386982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38699
38700 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38701 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38702
4efcc022
JM
387032012-08-23 Joseph Myers <joseph@codesourcery.com>
38704
38705 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38706 #include of fxstatat64.c.
38707
3cc3ef96
RM
387082012-08-22 Roland McGrath <roland@hack.frob.com>
38709
f04e2132
RM
38710 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38711 * shadow/getspent_r.c: Likewise.
38712 * shadow/getspnam.c: Likewise.
38713 * shadow/getspnam_r.c: Likewise.
38714 * gshadow/getsgent.c: Likewise.
38715 * gshadow/getsgent_r.c: Likewise.
38716 * gshadow/getsgnam.c: Likewise.
38717 * gshadow/getsgnam_r.c: Likewise.
38718 * inet/getnetbyad.c: Likewise.
38719 * inet/getnetbyad_r.c: Likewise.
38720 * inet/getnetbynm.c: Likewise.
38721 * inet/getnetbynm_r.c: Likewise.
38722 * inet/getnetent.c: Likewise.
38723 * inet/getnetent_r.c: Likewise.
38724 * inet/getproto.c: Likewise.
38725 * inet/getproto_r.c: Likewise.
38726 * inet/getprtent.c: Likewise.
38727 * inet/getprtent_r.c: Likewise.
38728 * inet/getprtname.c: Likewise.
38729 * inet/getprtname_r.c: Likewise.
38730 * inet/getrpcbyname.c: Likewise.
38731 * inet/getrpcbyname_r.c: Likewise.
38732 * inet/getrpcbynumber.c: Likewise.
38733 * inet/getrpcbynumber_r.c: Likewise.
38734 * inet/getrpcent.c: Likewise.
38735 * inet/getrpcent_r.c: Likewise.
38736 * inet/getaliasent.c: Likewise.
38737 * inet/getaliasent_r.c: Likewise.
38738 * inet/getaliasname.c: Likewise.
38739 * inet/getaliasname_r.c: Likewise.
38740 * nscd/getgrgid_r.c: Likewise.
38741 * nscd/getgrnam_r.c: Likewise.
38742 * nscd/gethstbyad_r.c: Likewise.
38743 * nscd/gethstbynm3_r.c: Likewise.
38744 * nscd/getpwnam_r.c: Likewise.
38745 * nscd/getpwuid_r.c: Likewise.
38746 * nscd/getsrvbynm_r.c: Likewise.
38747 * nscd/getsrvbypt_r.c: Likewise.
38748 * nscd/gai.c: Likewise.
38749
c53d909c
RM
38750 * configure.in (build_nscd): New substituted variable, set
38751 by --disable-build-nscd and defaults to $use_nscd.
38752 * configure: Regenerated.
38753 * config.make.in (build-nscd): New substituted variable.
38754 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38755 Change conditional to require [$(build-nscd) = yes] as well.
38756 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38757
3cc3ef96
RM
38758 [BZ# 13696]
38759 * configure.in (use_nscd): New substituted variable, set by
38760 --disable-nscd. If enabled, define USE_NSCD.
38761 * configure: Regenerated.
38762 * config.h.in: Add USE_NSCD.
38763 * config.make.in (use-nscd): New substituted variable.
38764 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38765 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38766 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38767 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38768 (CFLAGS-getgrnam_r.c): Likewise.
38769 (CFLAGS-initgroups.c): Likewise.
38770 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38771 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38772 Variables removed.
38773 * inet/getnetgrent_r.c
38774 (nscd_setnetgrent): New function, broken out of ...
38775 (setnetgrent): ... here. Call it.
38776 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38777 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38778 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38779 * nscd/Makefile (routines, aux): Move definitions after include of
38780 Makeconfig. Conditionalize on [$(use-nscd) != no].
38781 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38782 Conditionalize on [USE_NSCD].
38783 (is_nscd, nscd_init_cb): Likewise.
38784 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38785 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38786 * nss/nss_db/db-init.c: Likewise.
38787 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38788 [USE_NSCD].
38789 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38790 (make_request): Use it.
38791 (cache_valid_p): New function.
38792 (__check_pf): Use it.
38793 * NEWS: Add item for --disable-nscd.
38794
07e51550
DL
387952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38796
38797 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38798 to support sed >= 4.2.1-20-ga9bf076.
38799 * configure: Regenerated.
38800
35a5b08b
RM
388012012-08-22 Roland McGrath <roland@hack.frob.com>
38802
38803 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38804 Conditionalize whole body on [IREL].
38805
8479f23a
JL
388062012-08-22 Jeff Law <law@redhat.com>
38807
38808 [BZ #14505]
38809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38810 if the family is PF_UNSPEC.
38811
48da0b21
MF
388122012-08-22 Mike Frysinger <vapier@gentoo.org>
38813
38814 * Makerules (lib-version): Rename from V.
38815 (install-lib-nosubdir): Change V to lib-version.
38816
15d0da8c
WS
388172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38818
38819 [BZ #14252]
38820 * powerpc32/power6/wcschr.c: New file.
38821 * powerpc32/power6/wcscpy.c: New file.
38822 * powerpc32/power6/wcsrchr.c: New file.
38823 * powerpc64/power6/wcschr.c: New file.
38824 * powerpc64/power6/wcscpy.c: New file.
38825 * powerpc64/power6/wcsrchr.c: New file.
38826
bcca0895
MK
388272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38828
38829 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38830 (two_way_short_needle): Use it.
5a4aaa33
RM
38831 * string/strstr.c (AVAILABLE1_USES_J): Define.
38832 * string/strcasestr.c: Likewise.
99677e57
MK
38833
38834 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38835 array references.
38836 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38837
400726de
MK
38838 [BZ #11607]
38839 * NEWS: Add an entry.
38840 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38841 define their defaults.
38842 (two_way_short_needle): Detect end-of-string on-the-fly.
38843 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38844 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38845 * string/bug-strcasestr1.c: New test.
38846 * string/Makefile: Run it.
38847
20a71f2c
MK
388482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38849
38850 [BZ #11607]
38851 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38852 the first character.
38853
21ad0558
RM
388542012-08-21 Roland McGrath <roland@hack.frob.com>
38855
38856 * csu/elf-init.c (__libc_csu_irel): Function removed.
38857 * csu/libc-start.c (apply_irel): New function.
38858 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38859
0e1d9911
JM
388602012-08-21 Joseph Myers <joseph@codesourcery.com>
38861
38862 * sysdeps/unix/sysv/linux/kernel-features.h
38863 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38864 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38865 <kernel-features.h>.
38866 [__NR_fadvise64_64]: Make code unconditional.
38867 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38868 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38869 !__NR_fadvise64_64)]: Likewise.
38870 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38871 !__NR_fadvise64_64))]: Likewise.
38872 [__NR_fadvise64]: Make code unconditional.
38873 [!__NR_fadvise64]: Remove conditional code.
38874 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38875 <kernel-features.h>.
38876 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38877 unconditional.
38878 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38879 conditional code.
38880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38881 not include <kernel-features.h>.
38882 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38883 unconditional.
38884 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38885 conditional code.
38886 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38887 include <kernel-features.h>.
38888 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38889 unconditional.
38890 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38891 conditional code.
38892
14a50c9d
WS
388932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38894
38895 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38896 slight instruction rearrangements per scrollpipe analysis.
38897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38898
c0f4faf0
RM
388992012-08-20 Roland McGrath <roland@hack.frob.com>
38900
696da859
RM
38901 * manual/syslog.texi (syslog; vsyslog, closelog):
38902 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38903 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38904
c0f4faf0
RM
38905 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38906 DSOCAPS to match condition on defining it.
38907
348363b2
JM
389082012-08-20 Joseph Myers <joseph@codesourcery.com>
38909
a35cbf28
JM
38910 * sysdeps/unix/sysv/linux/kernel-features.h
38911 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38913 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38914 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38916 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38917 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38919 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38920 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38921
445f7ecd
JM
38922 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38923 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38924
348363b2
JM
38925 * sysdeps/unix/sysv/linux/kernel-features.h
38926 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38927 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38928 unconditional.
38929 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38930 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38931 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38932 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38933 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38934 Make code unconditional.
38935 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38936 (__mmap64) [!__NR_mmap2]: Likewise.
38937 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38938 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38939 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38940 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38941 [__NR_mmap2]: Make code unconditional.
38942 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38943 (__mmap64) [!__NR_mmap2]: Likewise.
38944
bc5bc0e5
AK
389452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38946
38947 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38948
88d506de
AJ
389492012-08-18 Andreas Jaeger <aj@suse.de>
38950
38951 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38952
493387d2
MF
389532012-08-18 Mike Frysinger <vapier@gentoo.org>
38954
38955 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38956 * include/unistd.h (__have_sock_cloexec): Likewise.
38957 (__have_pipe2): Likewise.
38958 (__have_dup3): Likewise.
38959
a277af22
MF
389602012-08-18 Mike Frysinger <vapier@gentoo.org>
38961
38962 [BZ #9685]
38963 * include/unistd.h (__have_pipe2): Change define into an extern int.
38964 (__have_dup3): Likewise.
38965 * socket/have_sock_cloexec.c: Include fcntl.h.
38966 (__have_pipe2): New variable.
38967 (__have_dup3): Likewise.
38968
fdab8fd3
MF
389692012-08-17 Mike Frysinger <vapier@gentoo.org>
38970
38971 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38972
31035e80
MP
389732012-08-17 Marek Polacek <polacek@redhat.com>
38974
38975 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38976 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38977
3bd9e993
RM
389782012-08-17 Roland McGrath <roland@hack.frob.com>
38979
c91c505f
RM
38980 * configure.in: Add AC_SUBST for sysheaders.
38981 * configure: Regenerated.
38982 * config.make.in (sysheaders): New substituted variable.
38983
7c6f9d53
RM
38984 * sysdeps/unix/mkfifo.c: Moved ...
38985 * sysdeps/posix/mkfifo.c: ... here.
38986 * sysdeps/unix/mkfifoat.c: Moved ...
38987 * sysdeps/posix/mkfifoat.c: ... here.
38988
38989 * sysdeps/unix/utime.c: Moved ...
38990 * sysdeps/posix/utime.c: ... here.
38991
38992 * sysdeps/unix/time.c: Moved ...
38993 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38994 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38995 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38996
38997 * sysdeps/unix/nice.c: Moved ...
38998 * sysdeps/posix/nice.c: ... here.
38999
39000 * sysdeps/unix/alarm.c: Moved ...
39001 * sysdeps/posix/alarm.c: ... here.
39002
3bd9e993
RM
39003 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39004
d1f09384
JL
390052012-08-17 Jeff Law <law@redhat.com>
39006
39007 * intl/Makefile (codeset_mo): New variable.
39008 ($(codeset_mo)): New target.
39009 (tst-codeset.out): Depend on that. Remove explicit rule.
39010 (tst-gettext3.out, tst-gettext5.out): Likewise.
39011 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39012 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39013 * intl/tst-codeset.sh: Remove.
39014 * intl/tst-gettext3.sh: Likewise.
39015 * intl/tst-gettext5.sh: Likewise.
39016
2ae1ae5c
RM
390172012-08-17 Roland McGrath <roland@hack.frob.com>
39018
c31fdb83
RM
39019 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39020 * sysdeps/unix/syscalls.list: ... here.
39021
a0844057
RM
39022 * sysdeps/posix/getaddrinfo.c
39023 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39024 (gaiconf_init, gaiconf_reload): Use them.
39025 [!_STATBUF_ST_NSEC]
39026 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39027 Define using time_t rather than struct timespec.
39028
750c1f2a
RM
39029 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39030 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39031 Macros removed.
39032 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39033 [!NO_THREADS].
39034 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39035 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39036 Likewise.
39037
2ae1ae5c
RM
39038 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39039 __libc_cleanup_push argument.
39040
e66a42f5
RM
39041 * bits/param.h: New file.
39042 * misc/sys/param.h: New file.
39043 * include/sys/param.h: New file.
39044 * misc/Makefile (headers): Add bits/param.h.
39045 * sysdeps/generic/sys/param.h: File removed.
39046 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39047 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39048 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39049 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39050
b7c08a66
RM
39051 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39052 last change.
39053
b2e1c562
RM
39054 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39055 [_IO_MTSAFE_IO].
39056 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39057 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39058 New macros.
39059
c75ccd4c
RM
39060 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39061 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39062 rather than -D_IO_MTSAFE_IO conditionally.
39063 * stdio-common/Makefile (CPPFLAGS): Likewise.
39064 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39065 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39066 Use $(libio-mtsafe).
39067 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39068 of -D_IO_MTSAFE_IO.
39069 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39070 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39071 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39072 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39073 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39074 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39075 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39076 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39077 (CFLAGS-fread_u_chk.c): Likewise.
39078 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39079 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39080 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39081 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39082 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39083 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39084 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39085 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39086 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39087
39088 * libio/Makefile: Test [$(libc-reentrant) = yes]
39089 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39090
39091 * Makeconfig
39092 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39093 * sysdeps/pthread/configure: File removed.
39094 * sysdeps/pthread/Makeconfig: New file.
39095 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39096 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39097
d9195db8
GB
390982012-08-16 Gary Benson <gbenson@redhat.com>
39099
39100 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39101 unmapping the first object in a namespace.
39102
86466cd9
RM
391032012-08-16 Roland McGrath <roland@hack.frob.com>
39104
39105 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39106 (__internal_setnetgrent): ... this. Add internal_function to
39107 definition. Add libc_hidden_def.
39108 (setnetgrent): Update caller.
39109 (internal_endnetgrent): Renamed to ...
39110 (__internal_endnetgrent): ... this. Add internal_function to
39111 definition. Add libc_hidden_def.
39112 (endnetgrent): Update caller.
39113 (internal_getnetgrent_r): Renamed to ...
39114 (__internal_getnetgrent_r): ... this. Add internal_function to
39115 definition. Add libc_hidden_def.
39116 (__getnetgrent_r): Update caller.
39117 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39118
c3c8283c
JM
391192012-08-16 Joseph Myers <joseph@codesourcery.com>
39120
39121 * stdlib/longlong.h: Update from GCC.
39122
db1ee0a8
RM
391232012-08-16 Roland McGrath <roland@hack.frob.com>
39124
39125 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39126 on _QL, which is set by umul_ppmm but never used.
39127 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39128 variables, which are set by GMP macros but never used.
39129 * stdio-common/_itowa.c (_itowa): Likewise.
39130 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39131 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39132
30f69637
CD
391332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39134
39135 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39136 struct La_sh_regs is not constant.
39137 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39138 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39139 and struct La_sparc64_regs are not constant.
39140
93a78ac4
JM
391412012-08-16 Joseph Myers <joseph@codesourcery.com>
39142
39143 * sysdeps/unix/sysv/linux/kernel-features.h
39144 (__ASSUME_POSIX_TIMERS): Remove.
39145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39146 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39147 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39148 Make code unconditional.
39149 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39150 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39151 Make code unconditional.
39152 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39153 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39154 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39155 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39156 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39157 Make code unconditional.
39158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39159 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39160 (__libc_missing_posix_timers): Remove.
39161
dd924cd7
RM
391622012-08-15 Roland McGrath <roland@hack.frob.com>
39163
4b4f2771
RM
39164 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39165 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39166
601c888b
RM
39167 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39168
176790a7
RM
39169 * elf/dl-sym.c: Include <stdlib.h>.
39170
329bc018
RM
39171 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39172 constants, which avoids warnings in 32-bit builds.
39173
e04e272d
RM
39174 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39175 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39176
952bf94a
RM
39177 * misc/lseek.c: File moved to ...
39178 * io/lseek.c: ... here.
39179
7c99b50a
RM
39180 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39181
dd924cd7
RM
39182 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39183 shifting LEN more than 31 bits at once.
39184
b3f479a8
LD
391852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39186
39187 [BZ #14195]
8c4ae0d4
RM
39188 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39189 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39190 * string/test-strncasecmp.c (check1): Renamed to...
39191 (bz12205): ...this.
39192 (bz14195): Add new testcase for two empty input strings and N > 0.
39193 (test_main): Call new testcase, adapt for renamed function.
39194
9c55864e
AJ
391952012-08-15 Andreas Jaeger <aj@suse.de>
39196
39197 [BZ #14090]
39198 * crypt/md5test2.c: New test, based on test supplied by Serge
39199 Belyshev <belyshev@depni.sinp.msu.ru>.
39200 * crypt/Makefile (xtests): Add md5test-giant..
39201 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39202
02dcb6c5
PE
392032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39204
39205 [BZ #14090]
39206 * crypt/md5.c (md5_process_block): Don't assume the buffer
39207 length is less than 2**32.
39208 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39209 length is less than 2**64.
39210
a3f95dcc
RM
392112012-08-15 Roland McGrath <roland@hack.frob.com>
39212
be75d758
RM
39213 * string/str-two-way.h: Include <sys/param.h>.
39214 (MAX): Macro removed.
39215
7312ca90
RM
39216 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39217 Move #define and #undef of memmove to just before and after
39218 including <string.h>.
39219
9a0a5486
RM
39220 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39221 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39222 and after including <string.h>. Move declarations of
39223 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39224 to before #include "string/memmove.c".
39225
67cc348d
RM
39226 * include/dirent.h: Declare __getdirentries.
39227
a3f95dcc
RM
39228 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39229 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39230
ca98e171
MF
392312012-08-14 Mike Frysinger <vapier@gentoo.org>
39232
39233 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39234 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39235 * sysdeps/i386/configure: Regenerated.
39236 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39237 STABS_CURRENT_FILE, and STABS_FUN.
39238 (END): Remove call to STABS_FUN_END.
39239 (STABS_CURRENT_FILE1): Delete.
39240 (STABS_CURRENT_FILE): Likewise.
39241 (STABS_FUN): Likewise.
39242 (STABS_FUN_END): Likewise.
39243 (STABS_FUN2): Likewise.
39244 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39245 * sysdeps/x86_64/configure: Regenerated.
39246
5908bf46
RM
392472012-08-14 Roland McGrath <roland@hack.frob.com>
39248
39249 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39250 * elf/dl-lookup.c: Likewise.
5908bf46 39251
f2c05b9e
JM
392522012-08-14 Joseph Myers <joseph@codesourcery.com>
39253
39254 * sysdeps/unix/sysv/linux/kernel-features.h
39255 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39256 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39257 unconditionally.
39258 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39259 unconditionally.
39260 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39261 condition on __ASSUME_CLONE_THREAD_FLAGS.
39262
e11f5155
AJ
392632012-08-14 Andreas Jaeger <aj@suse.de>
39264
39265 * sysdeps/i386/fpu/libm-test-ulps: Update.
39266
51a9ba86
MK
392672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39268
2fdd4f78
AJ
39269 * include/atomic.h (atomic_exchange_and_add): Split into ...
39270 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39271 New atomic macros.
51a9ba86 39272
ba6cba9e
MT
392732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39274
39275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39276
42443a47
JL
392772012-08-13 Jeff Law <law@redhat.com>
39278
39279 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39280 null byte in the output string.
39281
121dce05
JM
392822012-08-10 Joseph Myers <joseph@codesourcery.com>
39283
39284 * sysdeps/unix/sysv/linux/kernel-features.h
39285 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39286 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39287 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39288 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39289 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39290 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39291 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39292
bf51f568
JL
392932012-08-09 Jeff Law <law@redhat.com>
39294
39295 [BZ #13939]
39296 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39297 When avoid_arena is set, don't retry in the that arena. Pick the
39298 next one, whatever it might be.
39299 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39300 (arena_lock): Pass in new parameter to arena_get2.
39301 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39302 arena_get2.
39303 (__libc_malloc): Unify retrying after main arena failure with
39304 __libc_memalign version.
39305 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39306
f85fa270
L
393072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39308
39309 [BZ #14166]
39310 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39311 to __redirect_strstr.
39312 (__strstr_sse42): Use typeof __redirect_strstr.
39313 (__strstr_ia32): Likewise.
39314 (__libc_strstr): New prototype.
39315 (strstr): Renamed to ...
39316 (__libc_strstr): This.
39317 (strstr): New strong alias of __libc_strstr.
39318 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39319 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39320 __redirect_time.
39321 Include <time.h>.
39322 (__libc_time): New prototype.
39323 (time_ifunc): Replace time with __libc_time.
39324 (time): New strong alias and hidden definition of __libc_time.
39325 (__GI_time): Remove strong alias.
39326 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39327 Include <stddef.h>.
39328 (memmove): Redefined to __redirect_memmove.
39329 (__memmove_sse2): Use typeof __redirect_memmove.
39330 (__memmove_ssse3): Likewise.
39331 (__memmove_ssse3_back): Likewise.
39332 (__libc_memmove): New prototype.
39333 (memmove): Renamed to ...
39334 (__libc_memmove): This.
39335 (memmove): New strong alias of __libc_memmove.
39336
33b4a91e
MS
393372012-08-08 Mark Salter <msalter@redhat.com>
39338
39339 * elf/elf.h
39340 (R_MN10300_TLS_GD): Define.
39341 (R_MN10300_TLS_LD): Likewise.
39342 (R_MN10300_TLS_LDO): Likewise.
39343 (R_MN10300_TLS_GOTIE): Likewise.
39344 (R_MN10300_TLS_IE): Likewise.
39345 (R_MN10300_TLS_LE): Likewise.
39346 (R_MN10300_TLS_DTPMOD): Likewise.
39347 (R_MN10300_TLS_DTPOFF): Likewise.
39348 (R_MN10300_TLS_TPOFF): Likewise.
39349 (R_MN10300_SYM_DIFF): Likewise.
39350 (R_MN10300_ALIGN): Likewise.
39351 (R_MN10300_NUM): Update.
39352
b36137f1
JM
393532012-08-08 Joseph Myers <joseph@codesourcery.com>
39354
39355 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39356 Remove.
39357
cdd915fd
RM
393582012-08-08 Roland McGrath <roland@hack.frob.com>
39359
a2433aac
RM
39360 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39361
cdd915fd
RM
39362 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39363 sysdeps/unix -> sysdeps/posix move.
39364 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39365
bf9b740a
AM
393662012-08-07 Allan McRae <allan@archlinux.org>
39367
39368 [BZ #14303]
39369 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39370 (SUNOS_CPP): Likewise.
39371 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39372 not found.
39373 (open_input): Call CPP using execvp.
39374
93df14ee
JM
393752012-08-07 Joseph Myers <joseph@codesourcery.com>
39376
39377 * sysdeps/unix/sysv/linux/kernel-features.h
39378 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39379 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39380 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39381 (__ASSUME_WAITID_SYSCALL): Likewise.
39382 * sysdeps/unix/sysv/linux/dl-execstack.c
39383 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39384 code unconditional.
39385 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39386 conditional code.
39387 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39388 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39389 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39390 code.
39391 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39392 unconditional.
39393 [__ASSUME_WAITID_SYSCALL]: Likewise.
39394 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39395
d34689de
RM
393962012-08-07 Roland McGrath <roland@hack.frob.com>
39397
a281decc
RM
39398 * sysdeps/unix/closedir.c: Renamed to ...
39399 * sysdeps/posix/closedir.c: ... here.
39400 * sysdeps/unix/dirfd.c: Renamed to ...
39401 * sysdeps/posix/dirfd.c: ... here.
39402 * sysdeps/unix/dirstream.h: Renamed to ...
39403 * sysdeps/posix/dirstream.h: ... here.
39404 * sysdeps/unix/fdopendir.c: Renamed to ...
39405 * sysdeps/posix/fdopendir.c: ... here.
39406 * sysdeps/unix/opendir.c: Renamed to ...
39407 * sysdeps/posix/opendir.c: ... here.
39408 * sysdeps/unix/readdir.c: Renamed to ...
39409 * sysdeps/posix/readdir.c: ... here.
39410 * sysdeps/unix/readdir_r.c: Renamed to ...
39411 * sysdeps/posix/readdir_r.c: ... here.
39412 * sysdeps/unix/rewinddir.c: Renamed to ...
39413 * sysdeps/posix/rewinddir.c: ... here.
39414 * sysdeps/unix/seekdir.c: Renamed to ...
39415 * sysdeps/posix/seekdir.c: ... here.
39416 * sysdeps/unix/telldir.c: Renamed to ...
39417 * sysdeps/posix/telldir.c: ... here.
39418 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39419 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39420 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39421 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39422
22895b47
RM
39423 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39424 * bits/fcntl.h: ... here.
39425
707a53b6
RM
39426 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39427 not 0.
39428 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39429 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39430 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39431 (struct flock): Move l_start, l_len to the beginning.
39432 Use __pid_t for l_pid.
39433 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39434 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39435 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39436 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39437 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39438 [__USE_LARGEFILE64] (struct flock64): New type.
39439 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39440
f0bd3e25
RM
39441 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39442 * bits/dirent.h: ... here.
39443
d34689de
RM
39444 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39445 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39446
6dad2c06
JM
394472012-08-07 Joseph Myers <joseph@codesourcery.com>
39448
39449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39450 Change from 2.6.0 to 2.6.16.
39451 * sysdeps/unix/sysv/linux/configure: Regenerated.
39452 * sysdeps/unix/sysv/linux/kernel-features.h
39453 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39454 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39455 version.
39456 (__ASSUME_UTIMES): Likewise.
39457 (__ASSUME_CLONE_STOPPED): Remove.
39458 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39459 architectures, not kernel version.
39460 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39461 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39462 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39463 (__ASSUME_WAITID_SYSCALL): Likewise.
39464 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39465 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39466 * README: State 2.6.16 as minimum Linux kernel version. Do not
39467 refer to older versions.
39468
03af9520
RM
394692012-08-06 Roland McGrath <roland@hack.frob.com>
39470
8e49df1d
RM
39471 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39472 Define alphasort64 as an alias.
39473 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39474 Define versionsort64 as an alias.
39475 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39476 Define scandir64 as an alias.
39477 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39478 Define scandirat64 as an alias.
39479 * dirent/alphasort64.c (alphasort64):
39480 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39481 * dirent/versionsort64.c: Likewise.
39482 * dirent/scandir64.c: Likewise.
39483 * dirent/scandirat64.c: Likewise.
39484 * sysdeps/wordsize-64/alphasort.c: File removed.
39485 * sysdeps/wordsize-64/alphasort64.c: File removed.
39486 * sysdeps/wordsize-64/scandir.c: File removed.
39487 * sysdeps/wordsize-64/scandir64.c: File removed.
39488 * sysdeps/wordsize-64/scandirat.c: File removed.
39489 * sysdeps/wordsize-64/scandirat64.c: File removed.
39490 * sysdeps/wordsize-64/versionsort.c: File removed.
39491 * sysdeps/wordsize-64/versionsort64.c: File removed.
39492 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39493 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39494 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39495 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39496 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39497 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39498 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39500
39501 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39503 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39505 [defined __arch64__ || defined __sparcv9]
39506 (__INO_T_MATCHES_INO64_T): New macro.
39507 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39508 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39509 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39510 * sysdeps/unix/sysv/linux/bits/dirent.h
39511 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39512 (_DIRENT_MATCHES_DIRENT64): New macro.
39513
03af9520
RM
39514 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39515 Define lockf64 as an alias.
39516 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39517 Define fseeko64 as an alias.
39518 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39519 Define ftello64 as an alias.
39520 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39521 Define _IO_fgetpos64 and fgetpos64 as aliases.
39522 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39523 Define _IO_fsetpos64 and fsetpos64 as aliases.
39524 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39525 Conditionalize body on this.
39526 * libio/fseeko64.c: Likewise.
39527 * libio/ftello64.c: Likewise.
39528 * libio/iofgetpos64.c: Likewise.
39529 * libio/iofsetpos64.c: Likewise.
39530 * sysdeps/wordsize-64/lockf.c: File removed.
39531 * sysdeps/wordsize-64/lockf64.c: File removed.
39532 * sysdeps/wordsize-64/fseeko.c: File removed.
39533 * sysdeps/wordsize-64/fseeko64.c: File removed.
39534 * sysdeps/wordsize-64/ftello.c: File removed.
39535 * sysdeps/wordsize-64/ftello64.c: File removed.
39536 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39537 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39538 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39539 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39540 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39542 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39543 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39544 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39545 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39546 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39547 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39548 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39549 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39550
39551 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39553 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39555 [defined __arch64__ || defined __sparcv9]
39556 (__OFF_T_MATCHES_OFF64_T): New macro.
39557 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39558 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39560 (__OFF_T_MATCHES_OFF64_T): New macro.
39561
c5757acd
L
395622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39563
39564 * stdlib/secure-getenv.c (__secure_getenv): Replace
39565 GLIBC_2_16 with GLIBC_2_17.
39566
3a31811e
L
395672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39568
39569 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39570 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39571
faa2bccb
DM
395722012-08-03 David S. Miller <davem@davemloft.net>
39573
39574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39575
85fe1997
JM
395762012-08-03 Joseph Myers <joseph@codesourcery.com>
39577
39578 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39579 Remove.
39580 (__ASSUME_CORRECT_SI_PID): Likewise.
39581 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39582 (__ASSUME_TMPFS_NAME): Likewise.
39583 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39584 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39585 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39586 (HAVE_AUX_SECURE): Make definition unconditional.
39587 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39588 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39589
4f75b7a0
RM
395902012-08-03 Roland McGrath <roland@hack.frob.com>
39591
39592 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39593 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39594 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39595 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39596 __eloop_threshold instead of SYMLOOP_MAX.
39597
39598 * sysdeps/generic/eloop-threshold.h: New file.
39599 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39600 of MAXSYMLINKS.
39601 * elf/chroot_canon.c (chroot_canon): Likewise.
39602
7aab07e4
JM
396032012-08-03 Joseph Myers <joseph@codesourcery.com>
39604
39605 [BZ #13717]
39606 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39607 Change to 2.6.0 everywhere.
39608 * sysdeps/unix/sysv/linux/configure: Regenerated.
39609 * sysdeps/unix/sysv/linux/kernel-features.h
39610 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39611 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39612 kernel versions.
39613 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39614 (__ASSUME_FUTEX_REQUEUE): Remove.
39615 (__ASSUME_STATFS64): Define unconditionally.
39616 (__ASSUME_AT_SECURE): Likewise.
39617 (__ASSUME_CORRECT_SI_PID): Likewise.
39618 (__ASSUME_TGKILL): Define without depending on kernel version for
39619 i386.
39620 (__ASSUME_UTIMES): Likewise.
39621 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39622 kernel version.
39623 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39624 (__ASSUME_TMPFS_NAME): Likewise.
39625 * README: Update reference to Linux kernel versions.
39626
b67e9372
MP
396272012-08-02 Marek Polacek <polacek@redhat.com>
39628
1f529f7d 39629 [BZ# 14150]
b67e9372
MP
39630 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39631 libc_cv_asm_type_prefix with %.
39632 * configure: Regenerated.
d2441631
RM
39633 * include/libc-symbols.h: Remove comment about
39634 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39635 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39636 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39637 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39638 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39639 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39640 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39641 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39642 * elf/tst-unique2mod1.c: Likewise.
39643 * elf/tst-unique1mod2.c: Likewise.
39644 * elf/tst-unique1mod1.c: Likewise.
39645 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39646 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39647 Replace ASM_TYPE_DIRECTIVE with .type.
39648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39649 * sysdeps/i386/sysdep.h: Likewise.
39650 * sysdeps/x86_64/sysdep.h: Likewise.
39651 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39653 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39654 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39655 * sysdeps/powerpc/powerpc32/sysdep.h:
39656 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39657 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39658 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39659 * sysdeps/i386/fpu/e_powf.S: Likewise.
39660 * sysdeps/i386/fpu/e_expl.S: Likewise.
39661 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39662 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39663 * sysdeps/i386/fpu/e_pow.S: Likewise.
39664 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39666 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39667 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39668 * sysdeps/i386/fpu/e_log2.S: Likewise.
39669 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39670 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39671 * sysdeps/i386/fpu/e_powl.S: Likewise.
39672 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39673 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39674 * sysdeps/i386/fpu/e_logl.S: Likewise.
39675 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39676 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39677 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39678 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39679 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39680 * sysdeps/i386/fpu/e_log.S: Likewise.
39681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39682 * sysdeps/i386/fpu/e_logf.S: Likewise.
39683 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39684 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39685 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39686 * sysdeps/i386/fpu/e_log10.S: Likewise.
39687 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39688 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39689 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39690 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39691 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39692 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39693 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39694 * sysdeps/i386/i686/strtok.S: Likewise.
39695 * sysdeps/i386/i386-mcount.S: Likewise.
39696 * sysdeps/i386/strtok.S: Likewise.
39697 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39698 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39699 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39700 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39701 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39702 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39703 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39704 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39705 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39706 * sysdeps/x86_64/_mcount.S: Likewise.
39707 * sysdeps/x86_64/strtok.S: Likewise.
39708 * sysdeps/sh/_mcount.S: Likewise.
39709
2747bf9a
RM
397102012-08-01 Roland McGrath <roland@hack.frob.com>
39711
39712 * libio/iofopen.c: Include <fcntl.h>.
39713 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39714 (_IO_fopen64, fopen64): Define as aliases.
39715 * libio/iofopen64.c: Include <fcntl.h>.
39716 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39717 Conditionalize body on this.
39718 * sysdeps/wordsize-64/iofopen.c: File removed.
39719 * sysdeps/wordsize-64/iofopen64.c: File removed.
39720
3fb791b8
MP
397212012-08-01 Marek Polacek <polacek@redhat.com>
39722
39723 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39724 Use dlfcn directly instead of a variable.
39725 (binfmt-subdir): Do not define.
39726 (dlfcn): Likewise.
39727
a9f1039f
JM
397282012-08-01 Joseph Myers <joseph@codesourcery.com>
39729
23bddc06
JM
39730 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39731 Remove all definitions.
39732 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39733 <kernel-features.h>.
39734 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39735 (miss_F_GETOWN_EX): Remove all definitions.
39736 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39737 macro definition.
39738 [!__ASSUME_FCNTL64]: Remove conditional code.
39739 [__ASSUME_FCNTL64]: Make code unconditional.
39740 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39741 <kernel-features.h>.
39742 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39743 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39744 (lockf64) [__NR_fcntl64]: Make code unconditional.
39745 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39746
a9f1039f
JM
39747 * sysdeps/unix/sysv/linux/kernel-features.h
39748 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39749 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39750 Make code unconditional.
39751 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39752 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39754 [__NR_vfork]: Make code unconditional.
39755 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39756 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39758 [__NR_vfork]: Make code unconditional.
39759 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39760 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39761
09c0ee5f
RM
397622012-08-01 Roland McGrath <roland@hack.frob.com>
39763
48aec5b9
RM
39764 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39765 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39766
cd97c966
RM
39767 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39768 Define mkstemp64 as an alias.
3f55550c
RM
39769 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39770 Define mkstemps64 as an alias.
cd97c966
RM
39771 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39772 Define mkostemp64 as an alias.
b8625cfc
RM
39773 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39774 Define mkostemps64 as an alias.
cd97c966
RM
39775 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39776 Conditionalize body on this.
39777 * misc/mkostemp64.c: Likewise.
b8625cfc 39778 * misc/mkostemps64.c: Likewise.
3f55550c 39779 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39780 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39781 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39782 * sysdeps/wordsize-64/mkostemp.c: File removed.
39783 * sysdeps/wordsize-64/mkstemp.c: File removed.
39784 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39788
09c0ee5f
RM
39789 [BZ #14138]
39790 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39791 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39792 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39793 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39794
39795 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39796 compat_symbol macros from <shlib-compat.h> rather than the underlying
39797 default_symbol_version and symbol_version macros, so that DEFAULT
39798 lines in shlib-versions are respected.
39799 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39800
7e66ee51
FW
398012012-08-01 Florian Weimer <fweimer@redhat.com>
39802
39803 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39804 Declare with warn_unused_result.
39805 (setgid, setregid, setegid, setresgid): Likewise.
39806 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39807 Likewise.
39808 * WUR-REPORT: Remove set*id functions.
39809
d2a54255
PT
398102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39811
39812 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39813
7ecdb005
RM
398142012-07-31 Roland McGrath <roland@hack.frob.com>
39815
b4180a5e 39816 [BZ #10191]
789bd351
RM
39817 * include/sys/socket.h (__libc_accept, __libc_accept4):
39818 Add attribute_hidden.
39819 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39820
40ce302d
RM
39821 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39822 use of PTR_MANGLE.
39823 * inet/getnetgrent_r.c (setup): Likewise.
39824
7ecdb005
RM
39825 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39826
e2eabb2c
DM
398272012-07-31 David S. Miller <davem@davemloft.net>
39828
39829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39830
d0419dbf
JM
398312012-07-31 Joseph Myers <joseph@codesourcery.com>
39832
39833 [BZ #13629]
39834 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39835 value between 1.0 and 2.0 and smaller part has absolute value less
39836 than 1.0.
39837 * math/s_clog10.c (__clog10): Likewise.
39838 * math/s_clog10f.c (__clog10f): Likewise.
39839 * math/s_clog10l.c (__clog10l): Likewise.
39840 * math/s_clogf.c (__clogf): Likewise.
39841 * math/s_clogl.c (__clogl): Likewise.
39842 * math/libm-test.inc (clog_test): Add more tests.
39843 (clog10_test): Likewise.
39844 * sysdeps/i386/fpu/libm-test-ulps: Update.
39845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39846
2bc13872
FW
398472012-07-31 Florian Weimer <fweimer@redhat.com>
39848
39849 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39850 Exit with zero in case no suitable GID is found, and write a
39851 message to standard error.
39852
bea9b193
RM
398532012-07-30 Roland McGrath <roland@hack.frob.com>
39854
39855 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39856 rather than to 1.
39857 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39858 (MAXPATHLEN): Removed.
39859 (NOGROUP, NODEV): New macros.
39860 (setbit, clrbit, isset, isclr): New macros.
39861 (howmany, roundup, powerof2): New macros.
39862 (DEV_BSIZE): New macro.
39863
39864 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39865 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39866
39867 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39868 definition on [!__NO_LONG_DOUBLE_MATH].
39869
39870 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39871 PTR_MANGLE and PTR_DEMANGLE.
39872
39873 * socket/accept4.c (accept4): Rename to __libc_accept4.
39874 Define accept4 as a weak alias.
39875
39876 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39877 on [_DIRENT_HAVE_D_TYPE].
39878 * io/ftw.c (ftw_dir): Likewise.
39879
39880 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39881
39882 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39883
39884 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39885 Use the BSD numbers rather than the arbitrary ones we had.
39886 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39887 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39888 (SIGXCPU, SIGXFSZ): New macros.
39889 (_NSIG): Now 32.
39890
39891 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39892 initializer on [_LIBC_REENTRANT].
39893
39894 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39895 definitions inside [_POSIX_MAPPED_FILES].
39896
39897 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39898
39899 * dirent/opendir.c: Include <fcntl.h>.
39900
39901 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39902 (__libc_getspecific): Likewise.
39903 (__libc_key_create): Likewise.
39904
39905 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39906 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39907 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39908 (tmpfile64): Define as alias.
39909 * sysdeps/wordsize-64/tmpfile.c: File removed.
39910 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39911 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39912 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39913
39914 * stdio-common/vfscanf.c: Include <stdbool.h>.
39915 * nss/makedb.c: Likewise.
39916 * stdio-common/_i18n_number.h: Likewise.
39917 * argp/argp-help.c: Likewise.
39918 * posix/wordexp.c: Likewise.
39919 * sysdeps/posix/spawni.c: Likewise.
39920 * nss/nss_files/files-initgroups.c: Likewise.
39921 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39922 * nss/nss_files/files-initgroups.c: Likewise.
39923 * nss/nss_db/db-netgrp.c: Likewise.
39924 * nss/nss_db/db-initgroups.c: Likewise.
39925 * io/fchmodat.c: Include <sys/stat.h>.
39926
39927 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39928 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39929
39930 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39931 [HAVE_MMAP].
39932
39933 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39934 Add multiple inclusion protection.
39935
e5abc686
DM
399362012-07-27 David S. Miller <davem@davemloft.net>
39937
39938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39939
815e6fa3
GB
399402012-07-27 Gary Benson <gbenson@redhat.com>
39941
39942 [BZ #14298]
39943 * elf/rtld.c: Include <stap-probe.h>.
39944 (dl_main): Added static probes "init_start" and "init_complete".
39945 * elf/dl-load.c: Include <stap-probe.h>.
39946 (lose): Take new parameter "nsid".
39947 Added static probe "map_failed".
39948 (_dl_map_object_from_fd): Pass namespace id to lose.
39949 Added static probe "map_start".
39950 (open_verify): Pass namespace id to lose.
39951 * elf/dl-open.c: Include <stap-probe.h>.
39952 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39953 and "reloc_complete".
39954 * elf/dl-close.c: Include <stap-probe.h>.
39955 (_dl_close_worker): Added static probes "unmap_start" and
39956 "unmap_complete".
39957 * elf/rtld-debugger-interface.txt: New file documenting the above.
39958
9f98c16c
RM
399592012-07-26 Roland McGrath <roland@hack.frob.com>
39960
39961 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39962 rather than a string variable.
39963 * sunrpc/rpc_main.c (h_output): Likewise.
39964 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39965
f3c22df3
PT
399662012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39967
39968 * inet/check_native.c: New file.
39969
3129cfc6
JM
399702012-07-26 Joseph Myers <joseph@codesourcery.com>
39971
da865e95
JM
39972 [BZ #13629]
39973 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39974 if larger part has absolute value 1.0.
39975 * math/s_clog10.c (__clog10): Likewise.
39976 * math/s_clog10f.c (__clog10f): Likewise.
39977 * math/s_clog10l.c (__clog10l): Likewise.
39978 * math/s_clogf.c (__clogf): Likewise.
39979 * math/s_clogl.c (__clogl): Likewise.
39980 * math/libm-test.inc (clog_test): Add more tests.
39981 (clog10_test): Likewise.
39982 * sysdeps/i386/fpu/libm-test-ulps: Update.
39983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39984
3129cfc6
JM
39985 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39986 (pltexit): Likewise.
39987 (La_regs): Likewise.
39988 (La_retval): Likewise.
39989 (int_retval): Likewise.
39990 Update #error for removed macros to refer only to definitions in
39991 tst-audit.h.
39992 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39993 macro.
39994 (pltexit): Likewise.
39995 (La_regs): Likewise.
39996 (La_retval): Likewise.
39997 (int_retval): Likewise.
39998 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39999 macro.
40000 (pltexit): Likewise.
40001 (La_regs): Likewise.
40002 (La_retval): Likewise.
40003 (int_retval): Likewise.
40004 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40005 macro.
40006 (pltexit): Likewise.
40007 (La_regs): Likewise.
40008 (La_retval): Likewise.
40009 (int_retval): Likewise.
40010 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40011 macro.
40012 (pltexit): Likewise.
40013 (La_regs): Likewise.
40014 (La_retval): Likewise.
40015 (int_retval): Likewise.
40016 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40017 macro.
40018 (pltexit): Likewise.
40019 (La_regs): Likewise.
40020 (La_retval): Likewise.
40021 (int_retval): Likewise.
40022 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40023 macro.
40024 (pltexit): Likewise.
40025 (La_regs): Likewise.
40026 (La_retval): Likewise.
40027 (int_retval): Likewise.
40028 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40029 macro definitions in tst-audit.h.
40030 * sysdeps/i386/tst-audit.h: New file.
40031 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40032 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40033 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40034 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40035 * sysdeps/sh/tst-audit.h: Likewise.
40036 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40037 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40038 * sysdeps/x86_64/tst-audit.h: Likewise.
40039
bfc07087
AJ
400402012-07-26 Andreas Jaeger <aj@suse.de>
40041
b1b2aaf8
AJ
40042 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40043 ptrace.
40044
40045 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40046 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40047 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40048 PTRACE_O_MASK.
40049 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40050 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40051 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40052
bfc07087
AJ
40053 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40054 value.
40055
40056 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40057 _sigsys.
40058 (si_call_addr, si_syscall, si_arch): Define new macro.
40059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40060 _sigsys.
40061 (si_call_addr, si_syscall, si_arch): Define new marcro.
40062 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40063 _sigsys.
40064 (si_call_addr, si_syscall, si_arch): Define new macro.
40065 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40066 _sigsys.
40067 (si_call_addr, si_syscall, si_arch): Define new macro.
40068
89b4b02f
JM
400692012-07-25 Joseph Myers <joseph@codesourcery.com>
40070
40071 [BZ #13717]
40072 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40073 Change to 2.4.21 where previously 2.4.1.
40074 * sysdeps/unix/sysv/linux/configure: Regenerated.
40075 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40076 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40077 Linux kernel version.
40078 (__ASSUME_STD_AUXV): Remove.
40079 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40080 kernel version.
40081 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40082 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40083 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40084 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40085 (__ASSUME_NETLINK_SUPPORT): Likewise.
40086 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40087 (__no_netlink_support): Remove conditional definition.
40088 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40089 Remove.
40090 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40091 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40092 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40093 (if_nameindex_ioctl): Remove.
40094 (if_nameindex_netlink): Do not handle __no_netlink_support.
40095 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40096 code.
40097 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40098 Remove conditional code.
40099 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40100 code.
40101 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40102 unconditional.
40103 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40104 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40105 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40106 Remove.
40107 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40108 [!__ASSUME_STD_AUXV]: Remove conditional code.
40109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40110 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40111 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40113 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40114 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40115 code.
40116 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40118 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40119 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40120 conditional code.
40121 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40123 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40124 code.
40125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40126 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40127 conditional code.
40128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40129 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40130 code unconditional.
40131 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40132 conditional code.
40133 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40134 unconditional.
40135 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40136 conditional code.
40137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40138 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40139 unconditional.
40140 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40141 conditional code.
40142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40143 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40144 code unconditional.
40145 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40146 conditional code.
40147 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40148 unconditional.
40149 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40150 conditional code.
40151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40152 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40153 code unconditional.
40154 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40155 conditional code.
40156 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40157 unconditional.
40158 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40159 conditional code.
40160
842a39cd
AS
401612012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40162
40163 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40164 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40165 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40166 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40167 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40168 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40169 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40170 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40171 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40172 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40173 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40174 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40175 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40176 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40177 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40178 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40179 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40180 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40181 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40183 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40184 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40185 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40186
84b3fd84
FW
401872012-07-25 Florian Weimer <fweimer@redhat.com>
40188
40189 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40190 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40191 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40192 Introduce __libc_secure_getenv.
0c7936d5
FW
40193 * stdlib/Versions (2.17): Add secure_getenv
40194 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40195 * stdlib/secure-getenv.c: Rename __secure_getenv to
40196 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40197 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40198 * stdlib/tst-secure-getenv.c: New.
40199 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40200 * manual/startup.texi (Environment Access): Document
40201 secure_getenv.
84b3fd84
FW
40202 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40203 __libc_secure_getenv.
40204 * inet/ruserpass.c (ruserpass): Likewise.
40205 * malloc/mtrace.c (mtrace): Likewise.
40206 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40207 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40208 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40209 * sysdeps/posix/tempname.c: Likewise. Evaluate
40210 HAVE_SECURE_GETENV.
40211 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40212 __secure_getenv to __libc_secure_getenv.
84b3fd84 40213 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40215 Likewise.
40216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40217 Likewise.
40218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40225
56e49b71
JM
402262012-07-25 Joseph Myers <joseph@codesourcery.com>
40227
40228 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40229 (struct La_i86_retval): Likewise.
40230 (struct La_x86_64_regs): Likewise.
40231 (struct La_x86_64_retval): Likewise.
40232 (struct La_x32_regs): Likewise.
40233 (struct La_x32_retval): Likewise.
40234 (struct La_ppc32_regs): Likewise.
40235 (struct La_ppc32_retval): Likewise.
40236 (struct La_ppc64_regs): Likewise.
40237 (struct La_ppc64_retval): Likewise.
40238 (struct La_sh_regs): Likewise.
40239 (struct La_sh_retval): Likewise.
40240 (struct La_s390_32_regs): Likewise.
40241 (struct La_s390_32_retval): Likewise.
40242 (struct La_s390_64_regs): Likewise.
40243 (struct La_s390_64_retval): Likewise.
40244 (struct La_sparc32_regs): Likewise.
40245 (struct La_sparc32_retval): Likewise.
40246 (struct La_sparc64_regs): Likewise.
40247 (struct La_sparc64_retval): Likewise.
40248 (struct audit_ifaces): Remove architecture-specific pltenter and
40249 pltexit members.
40250 * sysdeps/i386/ldsodefs.h: New file.
40251 * sysdeps/powerpc/ldsodefs.h: Likewise.
40252 * sysdeps/s390/ldsodefs.h: Likewise.
40253 * sysdeps/sh/ldsodefs.h: Likewise.
40254 * sysdeps/sparc/ldsodefs.h: Likewise.
40255 * sysdeps/x86_64/ldsodefs.h: Likewise.
40256
354691b7
MP
402572012-07-25 Marek Polacek <polacek@redhat.com>
40258
40259 [BZ #6808]
40260 * math/libm-test.inc (yn_test): Add another test.
40261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40262 to ERANGE when the result is +-Inf.
40263 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40264 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40265 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40266 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40267
bf9e2071
JM
402682012-07-24 Joseph Myers <joseph@codesourcery.com>
40269
40270 * conform/data/time.h-data (NULL): Use macro-constant. Require
40271 equal to 0.
40272 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40273 clock_t.
40274 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40275
57633811
TS
402762012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40277
40278 * configure.in <sysdeps resolving>: Correct printing
40279 Implies_before.
40280 * configure: Regenerate.
40281
c23c33b0
TS
402822012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40283
40284 * math/w_ilogb.c: Include <limits.h>.
40285 * math/w_ilogbl.c: Likewise.
40286
b5982523
JM
402872012-07-20 Joseph Myers <joseph@codesourcery.com>
40288
40289 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40290 va_copy. Document allowing for unavailable va_copy only as
40291 pre-C99 compatibility.
40292 * manual/string.texi (Copying and Concatenation): Use va_copy
40293 instead of __va_copy in concat example.
40294
ac4ea442
PT
402952012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40296
40297 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40298 (__sendto): Use create_address_port. Initialize APORT and deallocate
40299 it if not null.
40300
f98eafbd
PT
40301 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40302 with O_NOLINK passed to __file_name_lookup.
40303
898c7aab
PT
40304 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40305 with O_NOLINK passed to __file_name_lookup.
40306
0ced335a
PT
40307 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40308 negative N or less than NGIDS.
40309
b3404dbd
PT
40310 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40311 type to string_t. Set ERANGE as errno and return it if NAME is not big
40312 enough. Use memcpy instead of strncpy.
40313
0f48659e
JM
403142012-07-20 Joseph Myers <joseph@codesourcery.com>
40315
40316 * elf/Makefile (check-data): Remove.
40317 (localplt.data): New vpath directive.
40318 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40319 instead of $(check-data).
40320 * scripts/data/localplt-generic.data: Move to ...
40321 * sysdeps/generic/localplt.data: ... here.
40322 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40323 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40324 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40326 ... here.
40327 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40329 ... here.
40330 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40332 ... here.
40333 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40335 ... here.
40336 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40338 ... here.
40339 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40341 ... here.
40342
d37cbdaa
AZ
403432012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40344
40345 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40346 PPC32 and PPC64 files.
40347 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40348 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40349
46f85fc2
AK
403502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40351
40352 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40353 __makecontext_ret to ...
40354 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40355 ... here and call exit if uc_link is NULL. New file.
40356 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40357 __makecontext_ret.S.
40358 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40359 __makecontext_ret to ...
40360 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40361 ... here and call exit if uc_link is NULL. New file.
40362 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40363 __makecontext_ret.S.
40364
08f43f9b
AK
403652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40366
40367 * elf/elf.h (R_390_IRELATIVE): New definition.
40368 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40369 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40370 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40371 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40372 (elf_machine_lazy_rel): Likewise.
40373 * sysdeps/s390/dl-irel.h: New file.
40374 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40375 * sysdeps/s390/s390-64/memset.S: New asm code.
40376 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40377 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40378 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40379 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40380 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40381 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40382 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40383 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40384 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40385 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40386 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40387 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40388 * sysdeps/s390/s390-32/memset.S: New asm code.
40389 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40390
3b05db33
MP
403912012-07-17 Marek Polacek <polacek@redhat.com>
40392
40393 [BZ #14349]
40394 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40395 * sysdeps/s390/s390-64/configure.in: Likewise.
40396 * sysdeps/sparc/configure.in: Likewise.
40397 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40398 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40399 * sysdeps/i386/configure.in: Likewise.
40400 * sysdeps/x86_64/configure.in: Likewise.
40401 * sysdeps/sh/configure.in: Likewise.
40402 * sysdeps/s390/s390-32/configure: Regenerated.
40403 * sysdeps/s390/s390-64/configure: Likewise.
40404 * sysdeps/x86_64/configure: Likewise.
40405 * sysdeps/sh/configure: Likewise.
40406 * sysdeps/powerpc/powerpc64/configure: Likewise.
40407 * sysdeps/powerpc/powerpc32/configure: Likewise.
40408 * sysdeps/sparc/configure: Likwise.
40409 * sysdeps/i386/configure: Likewise.
40410
a66877c6
MP
40411 * elf/dl-open.c: Comment fixes.
40412
cfc82fd8
JM
404132012-07-17 Joseph Myers <joseph@codesourcery.com>
40414
bd29910a
JM
40415 * Makefile [CXX] (check-data): Remove.
40416 [CXX] (c++-types.data): New vpath directive.
40417 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40418 vpath. Do not allow for C++ type data being missing.
40419 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40420 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40421 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40422 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40423 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40424 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40425 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40427 ... here.
40428 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40430 ... here.
40431 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40433 ... here.
40434 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40436 ... here.
40437 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40439 ... here.
40440 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40442 ... here.
40443 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40445 ... here.
40446 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40448
cfc82fd8
JM
40449 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40450 definitions to architecture-specific files.
40451 (TLS_IE): Likewise.
40452 (TLS_LD): Likewise.
40453 (TLS_GD): Likewise.
40454 * sysdeps/i386/tls-macros.h: New file.
40455 * sysdeps/powerpc/tls-macros.h: Likewise.
40456 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40457 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40458 * sysdeps/sh/tls-macros.h: Likewise.
40459 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40460 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40461 * sysdeps/x86_64/tls-macros.h: Likewise.
40462
f7db3170
TS
404632012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40464
07cbfc23
TS
40465 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40466 zero value for regular exit case.
40467
f7db3170
TS
40468 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40469 (__start_context): Preserve zero value for regular exit case.
40470
dc97c227
TS
404712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40472 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40473
40474 * manual/setjmp.texi (setcontext): Clarify normal process
40475 termination when uc_link is the null pointer.
40476 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40477 exit call.
40478
d0cd7d02
AS
404792012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40480
40481 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40482 preprocessor. Test for each exception mask separately.
40483
dd318934
AJ
404842012-07-16 Andreas Jaeger <aj@suse.de>
40485
40486 * po/ru.po: Update from translation team.
40487
8048311a
JM
404882012-07-15 Joseph Myers <joseph@codesourcery.com>
40489
40490 * conform/data/string.h-data (NULL): Use macro-constant. Require
40491 equal to 0.
40492 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40493 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40494 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40495 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40497
b637d46e
AJ
404982012-07-13 Andreas Jaeger <aj@suse.de>
40499
40500 * po/fr.po: Update from translation team.
40501
541428fe
MP
405022012-07-12 Marek Polacek <polacek@redhat.com>
40503
40504 [BZ #14173]
40505 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40506 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40507 loop condition.
40508
ec332e94
JM
405092012-07-12 Joseph Myers <joseph@codesourcery.com>
40510
40511 [BZ #13717]
40512 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40513 Change to 2.4.1 where previously 2.4.0.
40514 * sysdeps/unix/sysv/linux/configure: Regenerated.
40515 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40516 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40517 version.
40518 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40519 (__ASSUME_AT_CLKTCK): Remove.
40520 (__ASSUME_AT_PAGESIZE): Likewise.
40521 (__ASSUME_AT_XID): Likewise.
40522 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40523 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40524 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40525 unconditionally.
40526 (HAVE_AUX_PAGESIZE): Likewise.
40527 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40528 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40529 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40530
7b6e99be
JB
405312012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40532
40533 [BZ #14307]
40534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40535 the temporary buffer used to invoke __gethostbyname2_r,
40536 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40537 host_data / struct gaih_addrtuple.
40538 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40539 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40540 header file nss/nsswitch.h.
40541 * nss/nsswitch.h (global scope): Add definition of implementation
40542 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40543 resolv/nss_dns/dns-host.c).
40544
608404eb
AJ
405452012-07-11 Andreas Jaeger <aj@suse.de>
40546
40547 * po/fr.po: Update from translation team.
40548
71220aca
AJ
40549 * po/sv.po: Update from translation team
40550 * po/fr.po: Another update from translation team.
40551
28cfe843
AZ
405522012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40553
40554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40555 for subnormals or multiply small sinh result by itself.
40556 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40558
6b90f981
DM
405592012-07-11 David S. Miller <davem@davemloft.net>
40560
40561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40562
c6825772
AS
405632012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40564
40565 [BZ #14347]
40566 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40567 (INTERNAL_MARK): Shift it here.
40568
7b8e0d49
MP
405692012-07-10 Marek Polacek <polacek@redhat.com>
40570
40571 [BZ #14151]
40572 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40573 libc_cv_asm_global_directive with .globl.
40574 * configure: Regenerated.
40575 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40576 with .globl.
40577 * sysdeps/i386/configure: Regenerated.
40578 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40579 with .globl.
40580 * sysdeps/x86_64/configure: Regenerated.
40581 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40582 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40583 * elf/tst-unique2mod2.c: Likewise.
40584 * elf/tst-unique2mod1.c: Likewise.
40585 * elf/tst-unique1mod2.c: Likewise.
40586 * elf/tst-unique1mod1.c: Likewise.
40587 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40588 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40589 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40590 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40591 * sysdeps/mach/sysdep.h: Likewise.
40592 * sysdeps/i386/sysdep.h: Likewise.
40593 * sysdeps/i386/i386-mcount.S: Likewise.
40594 * sysdeps/x86_64/_mcount.S: Likewise.
40595 * sysdeps/x86_64/sysdep.h: Likewise.
40596 * sysdeps/sh/_mcount.S: Likewise.
40597 * sysdeps/sh/sysdep.h: Likewise.
40598 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40599 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40600 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40601 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40602 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40603 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40604 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40605 * locale/localeinfo.h: Likewise.
40606 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40607 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40608
6c55cda3
RM
406092012-07-09 Roland McGrath <roland@hack.frob.com>
40610
40611 [BZ #14336]
40612 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40613 system".
40614 * manual/message.texi (The Uniforum approach): Likewise.
40615 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40616 (glibc iconv Implementation): Likewise.
40617
638a572e
JM
406182012-07-09 Joseph Myers <joseph@codesourcery.com>
40619
40620 [BZ #14337]
40621 * math/s_clog.c (__clog): Avoid scaling a value down where that
40622 could result in underflow.
40623 * math/s_clog10.c (__clog10): Likewise.
40624 * math/s_clog10f.c (__clog10f): Likewise.
40625 * math/s_clog10l.c (__clog10l): Likewise.
40626 * math/s_clogf.c (__clogf): Likewise.
40627 * math/s_clogl.c (__clogl): Likewise.
40628 * math/libm-test.inc (clog_test): Add more tests.
40629 (clog10_test): Likewise.
40630 * sysdeps/i386/fpu/libm-test-ulps: Update.
40631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40632
261f4859
AS
406332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40634
0abaf3e4
AS
40635 [BZ #14283]
40636 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40637 by 7 not 8 to examine high bit of fractional part.
40638
261f4859
AS
40639 [BZ #14042]
40640 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40641 for call to __mcount_internal.
40642 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40643 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40644 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40645
f17ac40d
JM
406462012-07-06 Joseph Myers <joseph@codesourcery.com>
40647
9ad63c23
JM
40648 [BZ #14154]
40649 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40650 approximation for values within 0x1p-13f of an odd multiple of
40651 pi/4.
40652 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40653 exception. Add more tests.
40654 * sysdeps/i386/fpu/libm-test-ulps: Update.
40655
f17ac40d
JM
40656 [BZ #6778]
40657 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40658 inputs and return -1 for them. Do not check for +Inf in case not
40659 reachable for +Inf.
40660 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40661 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40662 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40663 and return -1 for them. Do not check for +Inf in case not
40664 reachable for +Inf.
40665 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40666 define.
40667 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40668 and return -1 for them. Do not check for +Inf in case not
40669 reachable for +Inf.
40670 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40671 spurious underflow.
40672 * sysdeps/i386/fpu/libm-test-ulps: Update.
40673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40674
fb21f89b
MF
406752012-07-06 Mike Frysinger <vapier@gentoo.org>
40676
40677 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40678
cdfe2c5e
JM
406792012-07-05 Joseph Myers <joseph@codesourcery.com>
40680
40681 [BZ #14157]
40682 [BZ #14331]
40683 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40684 could result in spurious underflow. Scale down values above
40685 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40686 * math/s_csqrtf.c (__csqrtf): Likewise.
40687 * math/s_csqrtl.c (__csqrtl): Likewise.
40688 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40689 spurious underflow.
40690 * sysdeps/i386/fpu/libm-test-ulps: Update.
40691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40692
70d35b67
AS
406932012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40694
704bc459
AS
40695 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40696 xopen-msg.sed.
40697 * catgets/xopen-msg.awk: New file.
40698 * catgets/xopen-msg.sed: Removed.
40699
70d35b67
AS
40700 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40701 po2text.sed.
40702 * intl/po2test.awk: New file.
40703 * intl/po2test.sed: Removed.
40704
ca61cf32
JM
407052012-07-04 Joseph Myers <joseph@codesourcery.com>
40706
40707 [BZ #14328]
40708 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40709 or multiply small sinh result by itself.
40710 * math/s_ctanf.c (__ctanf): Likewise.
40711 * math/s_ctanh.c (__ctanh): Likewise.
40712 * math/s_ctanhf.c (__ctanhf): Likewise.
40713 * math/s_ctanhl.c (__ctanhl): Likewise.
40714 * math/s_ctanl.c (__ctanl): Likewise.
40715 * math/libm-test.inc (ctan_test_tonearest): New function.
40716 (ctan_test_towardzero): Likewise.
40717 (ctan_test_downward): Likewise.
40718 (ctan_test_upward): Likewise.
40719 (ctanh_test_tonearest): Likewise.
40720 (ctanh_test_towardzero): Likewise.
40721 (ctanh_test_downward): Likewise.
40722 (ctanh_test_upward): Likewise.
40723 (main): Call these new functions.
40724 * sysdeps/i386/fpu/libm-test-ulps: Update.
40725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40726
ca48a46a
MF
407272012-07-03 Mike Frysinger <vapier@gentoo.org>
40728
40729 * .gitignore: Delete /ports entry.
40730
9d63d37d
AJ
407312012-07-03 Andreas Jaeger <aj@suse.de>
40732
40733 * po/bg.po: Update from translation team.
40734 * po/cs.po: Likewise.
40735 * po/de.po: Likewise.
40736 * po/hr.po: Likewise.
40737 * po/nl.pl: Likewise.
40738 * po/pl.po: Likewise.
40739 * po/vi.po: Likewise.
40740
370ca3d2
JM
407412012-07-03 Joseph Myers <joseph@codesourcery.com>
40742
95f5a9a8
JM
40743 * Makeconfig [!+link] (+link-before-libc): New variable.
40744 [!+link] (+link-after-libc): Likewise.
40745 [!+link] (+link-tests): Likewise.
40746 [!+link] (+link): Define in terms of $(+link-before-libc) and
40747 $(+link-after-libc).
40748 [!+link-static] (+link-static-before-libc): New variable.
40749 [!+link-static] (+link-static-after-libc): Likewise.
40750 [!+link-static] (+link-static-tests): Likewise.
40751 [!+link-static] (+link-static): Define in terms of
40752 $(+link-static-before-libc) and $(+link-static-after-libc).
40753 [build-shared] (link-libc-before-gnulib): New variable.
40754 [build-shared] (link-libc-tests): Likewise.
40755 [build-shared] (link-libc): Define in terms of
40756 $(link-libc-before-gnulib).
40757 [!build-shared] (link-libc-tests): New variable.
40758 (link-libc-static-tests): New variable.
40759 [!gnulib] (gnulib-arch): New variable.
40760 [!gnulib] (gnulib-tests): Likewise.
40761 [!gnulib] (static-gnulib-arch): Likewise.
40762 [!gnulib] (static-gnulib-tests): Likewise.
40763 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40764 Define with "=" instead of ":=".
40765 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40766 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40767 * Rules (binaries-all-notests): New variable.
40768 (binaries-all-tests): Likewise.
40769 (binaries-static-notests): Likewise.
40770 (binaries-static-tests): Likewise.
40771 (binaries-all): Define using $(binaries-all-notests) and
40772 $(binaries-all-tests).
40773 (binaries-static): Define using $(binaries-static-notests) and
40774 $(binaries-static-tests).
40775 (binaries-shared-tests): New variable.
40776 (binaries-shared-notests): Likewise.
40777 (binaries-shared): Remove variable.
40778 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40779 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40780 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40781 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40782 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40783 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40784 * elf/Makefile (sln-modules): New variable.
40785 (extra-objs): Add $(sln-modules:=.o).
40786 (ldconfig-modules): Add static-stubs.
40787 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40788 * elf/static-stubs.c: New file.
40789
7a845b2c
JM
40790 [BZ #14283]
40791 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40792 by 7 not 8 to examine high bit of fractional part. Use volatile
40793 variables when splitting into final array of floats if
40794 __FLT_EVAL_METHOD__ != 0.
40795 * math/libm-test.inc (cos_test): Add another test.
40796 (sin_test): Likewise.
40797 * sysdeps/i386/fpu/libm-test-ulps: Update.
40798
e2283f38
JM
40799 [BZ #14273]
40800 * math/libm-test.inc (cosh_test): Add more tests.
40801
370ca3d2
JM
40802 * version.h (RELEASE): Set to "development".
40803 (VERSION): Set to "2.16.90".
40804
ee9247c3
CD
408052012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40806
40807 * NEWS: Update copyright. Remove last-updated date.
40808 Mention math library bug fixes and timezone data changes.
40809 * README: Mention GNU/Hurd, x32, and HPPA support status.
40810
4648c381
TS
408112012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40812
40813 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40814
aac78a43
AJ
408152012-06-27 Andreas Jaeger <aj@suse.de>
40816
40817 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40818
ed3dbfad
AJ
408192012-06-25 Andreas Jaeger <aj@suse.de>
40820
40821 * sysdeps/s390/fpu/libm-test-ulps: Update.
40822
4d0ee855
AS
408232012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40824 Thomas Schwinge <thomas@codesourcery.com>
40825
40826 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40827 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40829 fanotify_mark.
40830
af1bce34
TS
408312012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40832
a9fa33ba
TS
40833 * sysdeps/mach/start.c: Remove file.
40834 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40835 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40836 * sysdeps/sh/init-first.c: Likewise.
40837
58f902b8
TS
40838 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40839 registers for frame unwinding purposes, add CFI directives.
40840 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40841 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40842 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40843 Likewise.
40844
1518f58b
TS
40845 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40846 __fortify_fail returning.
40847 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40848
db9b5059
TS
40849 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40850 sysdeps/sh/____longjmp_chk.S.
40851 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40852 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40853 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40854 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40855
967705fe
TS
40856 * sysdeps/sh/abort-instr.h: New file.
40857 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40858 process in case exit returns.
40859
a9def8c4
TS
40860 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40861 initialize the GOT register before use.
40862
2a649725
TS
40863 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40864 calculation of ARGC > 4.
40865
af1bce34
TS
40866 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40867 meaningful names to some local labels.
40868
d230f50a
KK
408692012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40870 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40871
40872 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40873 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40874 (__arch_compare_and_exchange_val_16_acq): Likewise.
40875 (__arch_compare_and_exchange_val_32_acq): Likewise.
40876 (atomic_exchange_and_add): Fix gUSA sequence.
40877 (atomic_add): Likewise.
40878 (atomic_add_negative): Likewise.
40879 (atomic_add_zero): Likewise.
40880 (atomic_bit_test_set): Likewise.
40881
0479b305
AS
408822012-06-22 Andreas Schwab <schwab@redhat.com>
40883
40884 [BZ #13579]
40885 * include/link.h (struct link_map): Add l_free_initfini.
40886 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40887 l_initfini.
40888 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40889 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40890 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40891 set.
40892
0e3933b9
CD
408932012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40894
40895 * configure.in: Use AC_LANG_SOURCE.
40896 * configure: Regenerate.
40897
4248b1b1
RM
408982012-06-22 Roland McGrath <roland@hack.frob.com>
40899
40900 * configure.in (libc_cv_localstatedir): New substituted variable.
40901 * configure: Regenerated.
40902 * config.make.in (localstatedir): New variable, substituted from
40903 libc_cv_localstatedir.
40904 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40905 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40906 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40907 * sysdeps/gnu/configure: Regenerated.
40908
006dd861
JL
409092012-06-21 Jeff Law <law@redhat.com>
40910
40911 [BZ #14277]
40912 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40913 free. Simplify list management for _LIBC case.
40914
79662d42
JM
409152012-06-21 Joseph Myers <joseph@codesourcery.com>
40916
b7abb4bf
JM
40917 [BZ #14273]
40918 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40919 Clear sign bit of 64-bit integer value before comparing against
40920 overflow value.
40921
79662d42
JM
40922 * sysdeps/mach/configure: Regenerated.
40923
1f150908
L
409242012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40925
40926 [BZ #14278]
40927 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40928
28363bbf
JL
409292012-06-21 Jeff Law <law@redhat.com>
40930
40931 [BZ #13882]
40932 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40933 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40934 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40935 * elf/dl-open.c (dl_open_worker): Likewise.
40936
09615db4
CD
409372012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40938
40939 * scripts/list-sources.sh: Scan PORTS for translations.
40940 * po/libc.pot: Regenerated.
40941
2174c6dd
AJ
409422012-06-21 Andreas Jaeger <aj@suse.de>
40943
40944 [BZ #12194]
40945 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40946 warning.
40947 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40948 * bits/byteswap-16.h (__bswap_16): Likewise.
40949 * bits/byteswap.h (__bswap_constant_16): Likewise.
40950
3ee947b1
L
409512012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40952
40953 [BZ #14117]
a2f34833
L
40954 * sysdeps/i386/fpu_control.h: Removed.
40955 * sysdeps/x86_64/fpu_control.h: Moved to ...
40956 * sysdeps/x86/fpu_control.h: Here.
40957
3ee947b1
L
40958 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40959 (_FPU_SETCW): Likewise.
40960
ed1825f8
L
409612012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40962
25f1282a
L
40963 [BZ #14117]
40964 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40965 * sysdeps/x86/fpu/bits/mathinline.h: This.
40966 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40967
ed1825f8
L
40968 [BZ #14050]
40969 [BZ #14117]
40970 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40971 functions if __x86_64__ is defined.
40972
36d54b74
CLT
409732012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40974
40975 * string/endian.h: Add !__ASSEMBLER__ condition for including
40976 conversion interfaces.
40977
10285c21
JM
409782012-06-15 Joseph Myers <joseph@codesourcery.com>
40979
40980 [BZ #14241]
40981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40982 of ABS(x) in calculating zero to negative powers other than odd
40983 integers.
40984 * math/libm-test.inc (pow_test): Add more tests.
40985
06c5abbd
AJ
409862012-06-15 Andreas Jaeger <aj@suse.de>
40987
40988 * manual/contrib.texi (Contributors): Update entry of Liubov
40989 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40990 Machado Filho.
40991
a3aeac40
CH
409922012-06-15 Cyril Hrubis <metan@ucw.cz>
40993
40994 * string/string.h: Add __wur to GNU version of strerror_r.
40995
49bdf4c1
L
409962012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40997
40998 [BZ #14229]
40999 * string/Makefile (tests): Add tst-strtok_r.
41000 * string/tst-strtok_r.c: New file.
41001 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41002 RAX_LP/RDX_LP on SAVE_PTR.
41003
834f9b8d
RM
410042012-06-14 Roland McGrath <roland@hack.frob.com>
41005
41006 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41007
75fa1921
JM
410082012-06-14 Joseph Myers <joseph@codesourcery.com>
41009
41010 * libm_test.inc (csqrt_test): Allow more spurious underflow
41011 exceptions.
41012 (j0_test): Likewise.
41013 (j1_test): Likewise.
41014 (y0_test): Likewise.
41015 (y1_test): Likewise.
41016
771766df
CD
410172012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41018
41019 * po/Makefile (libc.pot): Use UTF-8 charset.
41020
ceb9e56b
PP
410212012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41022
41023 [BZ #14210]
41024 Suppress sign-conversion warning from FD_SET.
41025 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41026 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41027 not unsigned long int.
41028 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41029
ddb28975
L
410302012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41031
41032 [BZ #14050]
41033 [BZ #14117]
41034 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41035 __extern_always_inline instead of __extern_inline.
41036 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41037 (__signbit): Likewise.
41038 (__signbitl): Support C++ namespace.
41039 (lrintf): New inline function.
41040 (lrint): Likewise.
41041 (llrintf): Likewise.
41042 (llrint): Likewise.
41043 (fmaxf): Likewise.
41044 (fmax): Likewise.
41045 (fminf): Likewise.
41046 (fmin): Likewise.
41047 (rint): Likewise.
41048 (rintf): Likewise.
41049 (ceil): Likewise.
41050 (ceilf): Likewise.
41051 (floor): Likewise.
41052 (floorf): Likewise.
41053 (nearbyint): Likewise.
41054 (nearbyintf): Likewise.
41055
d7b4fb26
TS
410562012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41057
41058 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41059 non-default versions.
41060
eb55f5c2
RM
410612012-06-11 Roland McGrath <roland@hack.frob.com>
41062
41063 [BZ #14218]
41064 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41065
366af02c
TS
410662012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41067
99ff6e5c
TS
41068 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41069 (FE_UPWARD, FE_DOWNWARD): Don't define.
41070 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41071 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41072
366af02c
TS
41073 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41074 reading it.
41075 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41076 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41077
793ea851
KK
410782012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41079
41080 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41082 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41083 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41084
a728a38f
L
410852012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41086
41087 [BZ #14117]
c08010c7
L
41088 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41089 * sysdeps/i386/fpu/Implies: New file.
41090 * sysdeps/x86_64/fpu/Implies: Likewise.
41091 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41092 * sysdeps/x86/fpu/bits/fenv.h: This.
41093
a728a38f
L
41094 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41095 __SSE_MATH__.
41096
6e230d11
SP
410972012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41098
41099 [BZ #14134]
41100 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41101 character 0xffff that matches the last element of the
41102 conversion table.
41103
1b671feb
AZ
411042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41105
41106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41107 fmodl commit.
41108
6043738b
AZ
411092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41110
41111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41112 values higher than 25.6283.
41113
34ae0b32
AZ
411142012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41115
41116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41117 subnormal exponent extraction and add some __builtin_expect.
41118 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41119 Fix for subnormal mantissa calculation.
41120
1214ec8f
MF
411212012-06-04 Mike Frysinger <vapier@gentoo.org>
41122
41123 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41124 cpu2 is -1 and errno is not ENOSYS.
41125
f3d1f93c
L
411262012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41127
41128 [BZ #14117]
0e4a3cd7
L
41129 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41130 * sysdeps/x86/bits/string.h: This.
41131 * sysdeps/x86_64/bits/string.h: Removed.
41132
6704c645
L
41133 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41134 if not compiling for x86-64, but compiling for >= i486.
41135
48495318
L
41136 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41137 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41138
14adcbfc
L
41139 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41140 New macro from Linux kernel 3.4.0.
41141 (FP_XSTATE_MAGIC2): Likewise.
41142 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41143 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41144 (struct _fpx_sw_bytes): New struct.
41145 (struct _xsave_hdr): Likewise.
41146 (struct _ymmh_state): Likewise.
41147 (struct _xstate): Likewise.
41148
68e408ab
L
41149 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41150 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41151 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41152 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41153 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41154 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41155
f3d1f93c
L
41156 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41157 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41158 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41159 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41160 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41161 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41162
d9dc34cd
TMQMF
411632012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41164
41165 [BZ #13743]
41166 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41167 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41168 (sysdep_headers): Include sys/platform/ppc.h.
41169 * sysdeps/powerpc/test-gettimebase.c: Test for
41170 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41171 * manual/Makefile (appendices): Include platform.texi.
41172 * manual/contrib.texi (Contributors): Update @node pointers.
41173 * manual/maint.texi (Maintenance): Likewise.
41174 (Platform): New node.
41175 * manual/platform.texi: New file. Document the new features.
41176
4af3879c
SP
411772012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41178 Jakub Jelinek <jakub@redhat.com>
41179
41180 [BZ #14188]
41181 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41182 where __builtin_expect is unavailable.
41183
2fd6ff13
DM
411842012-06-03 David S. Miller <davem@davemloft.net>
41185
41186 * stdlib/longlong.h: Updated from GCC.
41187
173f7220
AS
411882012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41189
41190 [BZ #14042]
41191 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41192 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41193 __mcount_internal.
41194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41195 (GLIBC_2.16): Likewise.
41196
f34a1c6f
L
411972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41198
41199 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41200
88a4576f
JM
412012012-06-01 Joseph Myers <joseph@codesourcery.com>
41202
ea32bcdd
JM
41203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41204 (default-abi): New variable.
41205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41206 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41207 variable.
41208 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41209 Likewise.
41210 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41211 Likewise.
41212 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41213 Likewise.
41214
88a4576f
JM
41215 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41216 definition. Document in comment.
41217
402fe938
DM
412182012-06-01 David S. Miller <davem@davemloft.net>
41219
41220 * stdlib/longlong.h: Updated from GCC.
41221
3553723f
L
412222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41223
41224 [BZ #14117]
3bd872c4
L
41225 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41226 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41227 sys/debugreg.h sys/io.h here.
41228 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41229 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41230 sys/io.h.
41231 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41232 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41233 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41234 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41235 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41236 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41237
3553723f
L
41238 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41239 Define only if __x86_64__ is defined.
41240
4842e4fe
JM
412412012-06-01 Joseph Myers <joseph@codesourcery.com>
41242
c5bfe3d5
JM
41243 [BZ #14048]
41244 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41245 Use int64_t for variable i.
41246 * math/libm-test.inc (fmod_test): Add more tests.
41247
4842e4fe
JM
41248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41249 z computation is not scheduled after fetestexcept.
41250 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41251 Use math_force_eval instead of asm to ensure calculation scheduled
41252 before exception test.
41253 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41254 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41255
efb73488
AJ
412562012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41257
41258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41259 computation is not scheduled after fetestexcept.
41260
29bcce7c
L
412612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41262
41263 [BZ #14117]
41264 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41265 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41266
73a68f94
AZ
412672012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41268
41269 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41270 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41271
67b6df78
L
412722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41273
edf2933a 41274 [BZ #14117]
ebc64a18
L
41275 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41276 <bits/wordsize.h>.
41277 (__WCHAR_MIN): Support __WORDSIZE == 64.
41278 (__WCHAR_MAX): Likewise.
41279
edf2933a
L
41280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41281 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41282
57c6cf40
L
41283 [BZ #14183]
41284 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41285 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41286
67b6df78 41287 [BZ #14117]
8eb6281e
L
41288 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41289 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41290
aac639f4
L
41291 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41292 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41293
67b6df78
L
41294 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41295 Defined to 1 if __x86_64__ isn't defined.
41296 (_STAT_VER_LINUX_OLD): New.
41297 (st_atime): Remove duplicate.
41298 (st_mtime): Likewise.
41299 (st_ctime): Likewise.
41300
1c2cfe81
DM
413012012-05-31 David S. Miller <davem@davemloft.net>
41302
41303 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41304 entries.
41305
5be8418c
AS
413062012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41307
e7725326
AS
41308 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41309 gen-libm-test.pl.
41310
5be8418c
AS
41311 [BZ #14132]
41312 * elf/dl-reloc.c: Include <_itoa.h>.
41313 (_dl_reloc_bad_type): Remove use of INTUSE.
41314 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41315 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41316 * stdio-common/psiginfo.c (psiginfo): Likewise.
41317 * stdio-common/psignal.c (psignal): Likewise.
41318 * string/strsignal.c (strsignal): Likewise.
41319 * include/signal.h (_sys_siglist): Declare hidden proto.
41320 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41321 INTVARDEF with libc_hidden_data_def.
41322 * stdio-common/itoa-udigits.c: Likewise.
41323 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41324 (_itoa_lower_digits_internal): Remove declaration.
41325 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41326 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41327 (_sys_sigabbrev_internal): Remove aliases.
41328 (_sys_siglist): Define hidden alias.
41329
507352f1
MT
413302012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41331
41332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41333 bits/sysctl.h.
41334
42bbb1c3
L
413352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41336
41337 [BZ #14117]
6bd784b6
L
41338 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41339 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41340
8bca20f0
L
41341 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41342 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41343 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41344 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41346 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41347
f9e890a9
L
41348 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41349 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41350 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41351
471101a1
L
41352 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41353 with __addr.
41354 (insw): Likewise.
41355 (insl): Likewise.
41356 (outsb): Likewise.
41357 (outsw): Likewise.
41358 (outsl): Likewise.
41359
6451c862
L
41360 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41361 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41362 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41363
a254b8c9
L
41364 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41365 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41366 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41367 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41368 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41369 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41370
b8dfdd92
L
41371 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41372 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41373
578cd270
L
41374 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41375 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41376
de662f5f
L
41377 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41378 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41380
25653439
L
41381 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41382 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41383 to ...
41384 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41385
6bad24a0
L
41386 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41387 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41388 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41389
42bbb1c3
L
41390 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41391 for x86-64.
41392 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41393
2d10d547
JM
413942012-05-31 Joseph Myers <joseph@codesourcery.com>
41395
41396 * math/math.h (M_El): Use two more decimal places.
41397 (M_LOG2El): Likewise.
41398 (M_LOG10El): Likewise.
41399 (M_LN2l): Likewise.
41400 (M_LN10l): Likewise.
41401 (M_PIl): Likewise.
41402 (M_PI_2l): Likewise.
41403 (M_PI_4l): Likewise.
41404 (M_1_PIl): Likewise.
41405 (M_2_PIl): Likewise.
41406 (M_2_SQRTPIl): Likewise.
41407 (M_SQRT2l): Likewise.
41408 (M_SQRT1_2l): Likewise.
41409
f230c29b
DM
414102012-05-31 David S. Miller <davem@davemloft.net>
41411
41412 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41413 values between float registers.
41414 * sysdeps/sparc/sparc64/memset.S: Likewise.
41415 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41416
fed806c3
MF
414172012-05-31 Mike Frysinger <vapier@gentoo.org>
41418
41419 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41420 -D_FORTIFY_SOURCE=1.
41421 (CPPFLAGS-tst-longjmp_chk.c): Define.
41422 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41423 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41424 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41425 CFLAGS-tst-wchar-h.c.
41426
30917259
MP
414272012-05-31 Marek Polacek <polacek@redhat.com>
41428
41429 [BZ #14132]
41430 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41431 __endmntent_internal): Remove declaration.
41432 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41433 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41434 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41435
1c58d5dc
DM
414362012-05-30 David S. Miller <davem@davemloft.net>
41437
41438 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41439 (___Q_simulate_exceptions): Use real FP ops rather than writing
41440 into the %fsr.
41441 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41442 Likewise.
41443
7dc00e0d
L
414442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41445
41446 [BZ #14117]
0bd53985
L
41447 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41448 * sysdeps/x86/bits/xtitypes.h: This.
41449
3a257e66
L
41450 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41451 * sysdeps/x86/bits/wordsize.h: This.
41452
62f62904
L
41453 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41454 * sysdeps/x86/bits/huge_vall.h: This.
41455
404fe9d9
L
41456 * sysdeps/i386/bits/select.h: Removed.
41457 * sysdeps/x86_64/bits/select.h: Renamed to ...
41458 * sysdeps/x86/bits/select.h: This.
41459
d48d0446
L
41460 * sysdeps/i386/bits/setjmp.h: Removed.
41461 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41462 * sysdeps/x86/bits/setjmp.h: This.
41463
7dc00e0d
L
41464 * sysdeps/i386/bits/mathdef.h: Removed.
41465 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41466 * sysdeps/x86/bits/mathdef.h: This.
41467
03277f8f
AS
414682012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41469
41470 [BZ #14132]
41471 * include/sys/socket.h (__connect_internal)
41472 (__libc_sa_len_internal): Remove declaration.
41473 (__connect, __libc_sa_len): Declare hidden_proto.
41474 (SA_LEN): Remove use of INTUSE.
41475 * socket/connect.c: Add libc_hidden_def.
41476 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41477 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41478 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41479 alias.
41480 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41481 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41482 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41483 of adding _internal alias.
41484
13764867
L
414852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41486
41487 [BZ #14117]
6bd97696
L
41488 * sysdeps/i386/bits/link.h: Removed.
41489 * sysdeps/i386/bits/linkmap.h: Likewise.
41490 * sysdeps/x86_64/bits/link.h: Renamed to ...
41491 * sysdeps/x86/bits/link.h: This.
41492 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41493 * sysdeps/x86/bits/linkmap.h: This.
41494
f726f0bb
L
41495 * sysdeps/i386/bits/endian.h: Removed.
41496 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41497 * sysdeps/x86/bits/endian.h: This.
41498
13764867
L
41499 * sysdeps/i386/bits/byteswap.h: Removed.
41500 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41501 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41502 * sysdeps/x86/bits/byteswap.h: This.
41503 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41504 * sysdeps/x86/bits/byteswap-16.h: This.
41505 * sysdeps/i386/Implies: Add x86.
41506 * sysdeps/x86_64/Implies: Likewise.
41507
ae251b0b
DM
415082012-05-30 David S. Miller <davem@davemloft.net>
41509
41510 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41511 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41512 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41513 (FP_TRAPPING_EXCEPTIONS): Define.
41514 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41515 (FP_TRAPPING_EXCEPTIONS): Define.
41516 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41517 subnormals only when inexact has been signalled or underflow
41518 exceptions are enabled.
41519 (_FP_PACK_CANONICAL): Likewise.
41520
d5c90867
L
415212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41522
41523 [BZ #14183]
41524 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41525 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41526
63f1549e
RH
415272012-05-30 Richard Henderson <rth@twiddle.net>
41528
8d8f2279
RH
41529 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41530 with #ifndef NOT_IN_libc.
41531
63f1549e
RH
41532 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41533 marked to avoid plt entry.
41534
0ab0291b
L
415352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41536
41537 [BZ #14112]
41538 * Makeconfig (default-abi): New macro.
41539 (abi-includes): Likewise.
41540 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41541 $(abi-$(default-abi)-lib-soname) for soname if defined.
41542 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41543 abi-variants.
41544 * Makefile (installed-stubs): Likewise.
41545 * include/stubs-biarch.h: Removed.
41546 * scripts/lib-names.awk: Only handle one library at a time.
41547 * scripts/soversions.awk: Remove WORDSIZE support.
41548 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41549 entries.
41550 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41551 Removed.
41552 (syscall-list-default-condition): Likewise.
41553 (syscall-list-default-condition): Likewise.
41554 (syscall-list-includes): Likewise.
41555 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41556 syscall-list-* with abi-*. Handle undefined abi-variants.
41557 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41558 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41559 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41560 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41561 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41562 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41563 Removed.
41564 (syscall-list-32-options): Likewise.
41565 (syscall-list-32-condition): Likewise.
41566 (syscall-list-64-options): Likewise.
41567 (syscall-list-64-condition): Likewise.
41568 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41569 macro.
41570 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41571 Renamed to ...
41572 (abi-*): This.
41573 (abi-64-ld-soname): New macro.
41574 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41575 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41576 Renamed to ...
41577 (abi-*): This.
41578 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41579 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41580
4da0431d
JM
415812012-05-30 Joseph Myers <joseph@codesourcery.com>
41582
3a85279c
JM
41583 * sysdeps/unix/sysv/linux/kernel-features.h
41584 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41585 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41586 include <kernel-features.h>.
41587 [!__NR_ftruncate64]: Remove conditional code.
41588 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41589 [__NR_ftruncate64]: Make code unconditional.
41590 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41591 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41592 include <kernel-features.h>.
41593 [!__NR_ftruncate64]: Remove conditional code.
41594 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41595 [__NR_ftruncate64]: Make code unconditional.
41596 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41598 include <kernel-features.h>.
41599 [!__NR_ftruncate64]: Remove conditional code.
41600 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41601 [__NR_ftruncate64]: Make code unconditional.
41602 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41604 include <kernel-features.h>.
41605 [!__NR_ftruncate64]: Remove conditional code.
41606 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41607 [__NR_ftruncate64]: Make code unconditional.
41608 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41609
4da0431d
JM
41610 * configure.in (libc_cv_fpie): Weaken to a compile test using
41611 LIBC_TRY_CC_OPTION.
41612 * configure: Regenerated.
41613
11ef492c
AK
416142012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41615
41616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41620 Refreshed.
41621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41627 Refreshed.
41628
d66ef399
DM
416292012-05-27 David S. Miller <davem@davemloft.net>
41630
41631 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41632 (___Q_zero): New.
41633 (__Q_simulate_exceptions): Return void. Change to simulate
41634 exceptions by writing into the %fsr.
41635 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41636 (__Qp_handle_exceptions): Likewise.
41637 (numbers): Delete.
41638 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41639 __Qp_handle_exceptions.
41640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41641 __Qp_handle_exceptions.
41642 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41643 as unused and give dummy FP_RND_NEAREST initializer.
41644 (FP_INHIBIT_RESULTS): Define.
41645 (___Q_simulate_exceptions): Update declaration.
41646 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41647 formatting.
41648 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41649 as unused and give dummy FP_RND_NEAREST initializer.
41650 (__Qp_handle_exceptions): Update declaration.
41651 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41652 formatting.
41653
04fb54b5
TS
416542012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41655
41656 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41657 the temporary FPU control word.
41658 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41659 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41660 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41661 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41662 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41663 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41664 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41665 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41666 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41667 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41668 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41669
3f99608f
KK
416702012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41671
41672 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41673 fields.
41674
65a4de4e
CLT
416752012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41676
41677 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41678 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41679 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41680 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41681 Likewise.
41682 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41683 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41684 Likewise.
41685
15749d40
UD
416862012-05-27 Ulrich Drepper <drepper@gmail.com>
41687
41688 * po/h.po: Update from translation team.
41689
25dbcb27
AS
416902012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41691
3d3f8e55
AS
41692 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41693
25dbcb27
AS
41694 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41695 handling of denormals.
41696 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41697 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41698 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41699 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41702 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41703 Likewise.
41704
7ad47a80 417052012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41706
41707 [BZ #14152]
41708 * math/libm-test.inc (fma_test): Don't always expect underflow
41709 exception.
41710
9c6ea9fa
SP
417112012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41712
41713 [BZ #12416]
41714 * elf/tst-execstack.c: Include stackinfo.h.
41715 (do_test): Adjust test case to ensure that pthread_getattr_np
41716 behaviour remains the same after marking stack executable.
41717
a8239222
JM
417182012-05-25 Joseph Myers <joseph@codesourcery.com>
41719
41720 * sysdeps/unix/sysv/linux/kernel-features.h
41721 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41722 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41723 kernel-features.h.
41724 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41725 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41726 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41727 kernel-features.h.
41728 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41729 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41730
918b5606
L
417312012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41732
41733 * configure.in: Define the default includes to being none.
41734 * configure: Regenerated.
41735
3a097cc7
RM
417362012-05-25 Roland McGrath <roland@hack.frob.com>
41737
8422c9a5
RM
41738 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41739 * sysdeps/x86_64/setjmp.S: Likewise.
41740 * sysdeps/i386/bsd-setjmp.S: Likewise.
41741 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41742 * sysdeps/i386/setjmp.S: Likewise.
41743 * sysdeps/i386/__longjmp.S: Likewise.
41744 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41745 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41746
3a097cc7
RM
41747 * include/stap-probe.h: New file.
41748 * configure.in: Handle --enable-systemtap.
41749 * configure: Regenerated.
41750 * config.h.in (USE_STAP_PROBE): New #undef.
41751 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41752 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41753 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41754
21708942
JM
417552012-05-25 Joseph Myers <joseph@codesourcery.com>
41756
41757 [BZ #13717]
41758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41759 to 2.4.0 where earlier.
41760 * sysdeps/unix/sysv/linux/configure: Regenerated.
41761 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41762 <kernel-features.h>.
41763 [__ASSUME_32BITUIDS]: Make code unconditional.
41764 [!__ASSUME_32BITUIDS]: Remove conditional code.
41765 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41766 <kernel-features.h>.
41767 [__ASSUME_32BITUIDS]: Make code unconditional.
41768 [!__ASSUME_32BITUIDS]: Remove conditional code.
41769 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41770 [__ASSUME_32BITUIDS]: Make code unconditional.
41771 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41772 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41773 <kernel-features.h>.
41774 [__ASSUME_32BITUIDS]: Make code unconditional.
41775 [!__ASSUME_32BITUIDS]: Remove conditional code.
41776 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41777 <kernel-features.h>.
41778 [__ASSUME_32BITUIDS]: Make code unconditional.
41779 [!__ASSUME_32BITUIDS]: Remove conditional code.
41780 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41781 <kernel-features.h>.
41782 [__ASSUME_32BITUIDS]: Make code unconditional.
41783 [!__ASSUME_32BITUIDS]: Remove conditional code.
41784 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41785 <kernel-features.h>.
41786 [__ASSUME_32BITUIDS]: Make code unconditional.
41787 [!__ASSUME_32BITUIDS]: Remove conditional code.
41788 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41789 <kernel-features.h>.
41790 [__ASSUME_32BITUIDS]: Make code unconditional.
41791 [!__ASSUME_32BITUIDS]: Remove conditional code.
41792 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41793 <kernel-features.h>.
41794 [__ASSUME_32BITUIDS]: Make code unconditional.
41795 [!__ASSUME_32BITUIDS]: Remove conditional code.
41796 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41797 <kernel-features.h>.
41798 [__ASSUME_32BITUIDS]: Make code unconditional.
41799 [!__ASSUME_32BITUIDS]: Remove conditional code.
41800 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41801 <kernel-features.h>.
41802 [__ASSUME_32BITUIDS]: Make code unconditional.
41803 [!__ASSUME_32BITUIDS]: Remove conditional code.
41804 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41805 <kernel-features.h>.
41806 [__ASSUME_32BITUIDS]: Make code unconditional.
41807 [!__ASSUME_32BITUIDS]: Remove conditional code.
41808 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41809 <kernel-features.h>.
41810 [__ASSUME_32BITUIDS]: Make code unconditional.
41811 [!__ASSUME_32BITUIDS]: Remove conditional code.
41812 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41813 <kernel-features.h>.
41814 [__NR_setresgid] (__setresgid): Do not declare.
41815 [__ASSUME_32BITUIDS]: Make code unconditional.
41816 [!__ASSUME_32BITUIDS]: Remove conditional code.
41817 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41818 <kernel-features.h>.
41819 [__NR_setresuid] (__setresuid): Do not declare.
41820 [__ASSUME_32BITUIDS]: Make code unconditional.
41821 [!__ASSUME_32BITUIDS]: Remove conditional code.
41822 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41823 <kernel-features.h>.
41824 [__ASSUME_32BITUIDS]: Make code unconditional.
41825 [!__ASSUME_32BITUIDS]: Remove conditional code.
41826 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41827 <kernel-features.h>.
41828 [__ASSUME_32BITUIDS]: Make code unconditional.
41829 [!__ASSUME_32BITUIDS]: Remove conditional code.
41830 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41831 <kernel-features.h>.
41832 [__ASSUME_32BITUIDS]: Make code unconditional.
41833 [!__ASSUME_32BITUIDS]: Remove conditional code.
41834 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41835 <kernel-features.h>.
41836 [__ASSUME_32BITUIDS]: Make code unconditional.
41837 [!__ASSUME_32BITUIDS]: Remove conditional code.
41838 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41839 <kernel-features.h>.
41840 [__ASSUME_32BITUIDS]: Make code unconditional.
41841 [!__ASSUME_32BITUIDS]: Remove conditional code.
41842 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41843 <kernel-features.h>.
41844 [__ASSUME_32BITUIDS]: Make code unconditional.
41845 [!__ASSUME_32BITUIDS]: Remove conditional code.
41846 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41847 <kernel-features.h>.
41848 [__ASSUME_32BITUIDS]: Make code unconditional.
41849 [!__ASSUME_32BITUIDS]: Remove conditional code.
41850 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41851 <kernel-features.h>.
41852 [__ASSUME_32BITUIDS]: Make code unconditional.
41853 [!__ASSUME_32BITUIDS]: Remove conditional code.
41854 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41855 <kernel-features.h>.
41856 [__ASSUME_32BITUIDS]: Make code unconditional.
41857 [!__ASSUME_32BITUIDS]: Remove conditional code.
41858 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41859 <kernel-features.h>.
41860 [__ASSUME_32BITUIDS]: Make code unconditional.
41861 [!__ASSUME_32BITUIDS]: Remove conditional code.
41862 * sysdeps/unix/sysv/linux/kernel-features.h
41863 (__ASSUME_SETRESUID_SYSCALL): Remove.
41864 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41865 (__ASSUME_32BITUIDS): Likewise.
41866 (__ASSUME_LDT_WORKS): Likewise.
41867 (__ASSUME_O_DIRECTORY): Likewise.
41868 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41869 architecture but not kernel version.
41870 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41871 (__ASSUME_MMAP2_SYSCALL): Likewise.
41872 (__ASSUME_STAT64_SYSCALL): Likewise.
41873 (__ASSUME_IPC64): Likewise.
41874 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41875 <kernel-features.h>.
41876 [__ASSUME_32BITUIDS]: Make code unconditional.
41877 [!__ASSUME_32BITUIDS]: Remove conditional code.
41878 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41879 <kernel-features.h>.
41880 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41881 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41882 132096]: Remove conditional code.
41883 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41884 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41885 <kernel-features.h>.
41886 [__ASSUME_32BITUIDS]: Make code unconditional.
41887 [!__ASSUME_32BITUIDS]: Remove conditional code.
41888 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41889 <kernel-features.h>.
41890 [__ASSUME_32BITUIDS]: Make code unconditional.
41891 [!__ASSUME_32BITUIDS]: Remove conditional code.
41892 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41893 <kernel-features.h>.
41894 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41895 unconditional.
41896 (__setresgid): Do not declare.
41897 [__ASSUME_32BITUIDS]: Make code unconditional.
41898 [!__ASSUME_32BITUIDS]: Remove conditional code.
41899 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41900 <kernel-features.h>.
41901 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41902 unconditional.
41903 (__setresuid): Do not declare.
41904 [__ASSUME_32BITUIDS]: Make code unconditional.
41905 [!__ASSUME_32BITUIDS]: Remove conditional code.
41906 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41907 <kernel-features.h>.
41908 [__ASSUME_32BITUIDS]: Make code unconditional.
41909 [!__ASSUME_32BITUIDS]: Remove conditional code.
41910 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41911 <kernel-features.h>.
41912 [__ASSUME_32BITUIDS]: Make code unconditional.
41913 [!__ASSUME_32BITUIDS]: Remove conditional code.
41914
a386f1cc
RH
419152012-05-25 Richard Henderson <rth@twiddle.net>
41916
41917 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41918 dl_hwcap to ifunc resolver.
41919 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41920 elf_ifunc_invoke.
41921 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41922 dl_hwcap to ifunc resolver.
41923 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41924
b6550497
JM
419252012-05-24 Joseph Myers <joseph@codesourcery.com>
41926
41927 [BZ #14153]
41928 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41929 for |x| <= 2**-26, not 2**-57.
41930 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41931 exception.
41932
b0bc23a1
JL
419332012-05-24 Jeff Law <law@redhat.com>
41934
41935 * stdio-common/Makefile (tests): Add bug25.
41936 * stdio-common/bug25.c: New test.
41937
347c92e9
L
419382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41939
41940 [BZ #13576]
41941 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41942 multiple of MALLOC_ALIGNMENT in size.
41943 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41944
6bcc8b3f
JM
419452012-05-24 Joseph Myers <joseph@codesourcery.com>
41946
41947 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41948 Require >= 256.
41949 (FILENAME_MAX): Use macro-int-constant.
41950 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41951 (_IOFBF): Use macro-int-constant.
41952 (_IOLBF): Likewise.
41953 (_IONBF): Likewise.
41954 (SEEK_CUR): Likewise.
41955 (SEEK_END): Likewise.
41956 (SEEK_SET): Likewise.
41957 (TMP_MAX): Likewise.
41958 (EOF): Use macro-int-constant. Require < 0.
41959 (NULL): Use macro-constant. Require == 0.
41960 (stdin): Require type to be FILE *.
41961 (stdout): Likewise.
41962 (stderr): Likewise.
41963 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41964 macro-int-constant.
41965 (EXIT_SUCCESS): Likewise.
41966 (NULL): Use macro-constant. Require == 0.
41967 (RAND_MAX): Use macro-int-constant.
41968 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41969 [C99-based standards] (strtof): Require function.
41970 [C99-based standards] (strtold): Likewise.
41971 [C99-based standards] (strtoll): Likewise.
41972 [C99-based standards] (strtoull): Likewise.
41973 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41974 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41975 [ISO || ISO99 || ISO11] (math.h): Likewise.
41976 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41977 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41979
d18ea0c5
AS
419802012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41981
41982 [BZ #14132]
56d25bb8
AS
41983 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41984 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41985 * intl/dgettext.c (DCGETTEXT): Likewise.
41986 * intl/gettext.c (DCGETTEXT): Likewise.
41987 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41988 * posix/regex_internal.h (gettext): Likewise.
41989 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41990 Remove declaration.
41991 * include/argz.h (__argz_count_internal)
41992 (__argz_stringify_internal): Remove declaration.
41993 (__argz_count, __argz_stringify): Declare hidden proto.
41994 * intl/dcgettext.c: Remove use of INTDEF.
41995 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41996 * string/argz-stringify.c: Likewise.
41997 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41998 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41999 Declare hidden proto.
d18ea0c5
AS
42000 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42001 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42002 Declare hidden proto.
42003 * include/stdio.h (__asprintf_internal): Don't declare.
42004 (__asprintf): Don't define as macro. Declare hidden proto.
42005 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42006 (__fsetlocking): Declare hidden proto.
42007 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42008 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42009 hidden proto.
42010 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42011 (_IO_setlinebuf): Remove use of INTUSE.
42012 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42013 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42014 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42015 Remove declaration.
42016 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42017 (_IO_do_flush): Remove use of INTUSE.
42018 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42019 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42020 (_IO_adjust_column, _IO_least_wmarker)
42021 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42022 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42023 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42024 (_IO_default_doallocate, _IO_wdefault_doallocate)
42025 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42026 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42027 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42028 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42029 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42030 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42031 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42032 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42033 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42034 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42035 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42036 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42037 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42038 proto.
42039 (_IO_flush_all_internal, _IO_adjust_column_internal)
42040 (_IO_default_uflow_internal, _IO_default_finish_internal)
42041 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42042 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42043 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42044 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42045 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42046 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42047 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42048 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42049 (_IO_file_close_internal, _IO_file_close_it_internal)
42050 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42051 (_IO_file_init_internal, _IO_file_attach_internal)
42052 (_IO_file_fopen_internal, _IO_file_read_internal)
42053 (_IO_file_sync_internal, _IO_file_seek_internal)
42054 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42055 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42056 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42057 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42058 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42059 (_IO_list_all_internal, _IO_link_in_internal)
42060 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42061 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42062 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42063 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42064 (_IO_do_write_internal, _IO_padn_internal)
42065 (_IO_getline_info_internal, _IO_getline_internal)
42066 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42067 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42068 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42069 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42070 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42071 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42072 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42073 with libc_hidden_ver, remove use of INTUSE.
42074 * libio/genops.c: Likewise.
42075 * libio/freopen.c: Likewise.
42076 * libio/freopen64.c: Likewise.
42077 * libio/iofclose.c: Likewise.
42078 * libio/iofdopen.c: Likewise.
42079 * libio/iofflush.c: Likewise.
42080 * libio/iofflush_u.c: Likewise.
42081 * libio/iofgets.c: Likewise.
42082 * libio/iofgets_u.c: Likewise.
42083 * libio/iofopen.c: Likewise.
42084 * libio/iofopncook.c: Likewise.
42085 * libio/iofread.c: Likewise.
42086 * libio/iofread_u.c: Likewise.
42087 * libio/ioftell.c: Likewise.
42088 * libio/iofwrite.c: Likewise.
42089 * libio/iogetline.c: Likewise.
42090 * libio/iogets.c: Likewise.
42091 * libio/iogetwline.c: Likewise.
42092 * libio/iopadn.c: Likewise.
42093 * libio/iopopen.c: Likewise.
42094 * libio/ioseekoff.c: Likewise.
42095 * libio/ioseekpos.c: Likewise.
42096 * libio/iosetbuffer.c: Likewise.
42097 * libio/iosetvbuf.c: Likewise.
42098 * libio/ioungetc.c: Likewise.
42099 * libio/ioungetwc.c: Likewise.
42100 * libio/iovdprintf.c: Likewise.
42101 * libio/iovsprintf.c: Likewise.
42102 * libio/iovsscanf.c: Likewise.
42103 * libio/memstream.c: Likewise.
42104 * libio/obprintf.c: Likewise.
42105 * libio/oldfileops.c: Likewise.
42106 * libio/oldiofclose.c: Likewise.
42107 * libio/oldiofdopen.c: Likewise.
42108 * libio/oldiofopen.c: Likewise.
42109 * libio/oldiopopen.c: Likewise.
42110 * libio/oldstdfiles.c: Likewise.
42111 * libio/putc.c: Likewise.
42112 * libio/setbuf.c: Likewise.
42113 * libio/setlinebuf.c: Likewise.
42114 * libio/stdfiles.c: Likewise.
42115 * libio/strops.c: Likewise.
42116 * libio/vasprintf.c: Likewise.
42117 * libio/vscanf.c: Likewise.
42118 * libio/vsnprintf.c: Likewise.
42119 * libio/vswprintf.c: Likewise.
42120 * libio/wfiledoalloc.c: Likewise.
42121 * libio/wfileops.c: Likewise.
42122 * libio/wgenops.c: Likewise.
42123 * libio/wmemstream.c: Likewise.
42124 * libio/wstrops.c: Likewise.
42125 * libio/__fpurge.c: Likewise.
42126 * libio/__fsetlocking.c: Likewise.
42127 * assert/assert.c: Likewise.
42128 * debug/fgets_chk.c: Likewise.
42129 * debug/fgets_u_chk.c: Likewise.
42130 * debug/fread_chk.c: Likewise.
42131 * debug/fread_u_chk.c: Likewise.
42132 * debug/gets_chk.c: Likewise.
42133 * debug/obprintf_chk.c: Likewise.
42134 * debug/vasprintf_chk.c: Likewise.
42135 * debug/vdprintf_chk.c: Likewise.
42136 * debug/vsnprintf_chk.c: Likewise.
42137 * debug/vsprintf_chk.c: Likewise.
42138 * malloc/mtrace.c: Likewise.
42139 * misc/error.c: Likewise.
42140 * misc/syslog.c: Likewise.
42141 * stdio-common/asprintf.c: Likewise.
42142 * stdio-common/fxprintf.c: Likewise.
42143 * stdio-common/getw.c: Likewise.
42144 * stdio-common/isoc99_fscanf.c: Likewise.
42145 * stdio-common/isoc99_scanf.c: Likewise.
42146 * stdio-common/isoc99_vfscanf.c: Likewise.
42147 * stdio-common/isoc99_vscanf.c: Likewise.
42148 * stdio-common/isoc99_vsscanf.c: Likewise.
42149 * stdio-common/printf-prs.c: Likewise.
42150 * stdio-common/printf_fp.c: Likewise.
42151 * stdio-common/printf_fphex.c: Likewise.
42152 * stdio-common/printf_size.c: Likewise.
42153 * stdio-common/putw.c: Likewise.
42154 * stdio-common/scanf.c: Likewise.
42155 * stdio-common/sprintf.c: Likewise.
42156 * stdio-common/tmpfile.c: Likewise.
42157 * stdio-common/vfprintf.c: Likewise.
42158 * stdio-common/vfscanf.c: Likewise.
42159 * stdlib/strfmon_l.c: Likewise.
42160 * sunrpc/openchild.c: Likewise.
42161 * sunrpc/xdr_stdio.c: Likewise.
42162 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42163 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42164
d6c33fda
RM
421652012-05-24 Roland McGrath <roland@hack.frob.com>
42166
c1487492
RM
42167 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42168
42169 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42170 in the third column, to generate for the shared library an IFUNC
42171 that uses _dl_vdso_vsym.
42172 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42173 * Makeconfig (object-suffixes-noshared): New variable.
42174
42175 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42176 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42177 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42178 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42179
d6c33fda
RM
42180 [BZ #14132]
42181 * include/sys/time.h (__gettimeofday): Remove macro.
42182 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42183 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42184 Remove INTDEF.
42185 (__gettimeofday): Add libc_hidden_def.
42186 (gettimeofday): Add libc_hidden_weak.
42187 * sysdeps/mach/gettimeofday.c: Likewise.
42188 * sysdeps/posix/gettimeofday.c: Likewise.
42189 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42190 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42192 (__gettimeofday_internal): Remove strong_alias.
42193 (__gettimeofday): Add libc_hidden_def.
42194 (gettimeofday): Add libc_hidden_weak.
42195 * sysdeps/unix/syscalls.list (gettimeofday):
42196 Remove __gettimeofday_internal alias.
42197
b5a2bbe6
L
421982012-05-24 Daniel Jacobowitz <drow@false.org>
42199 H.J. Lu <hongjiu.lu@intel.com>
42200
42201 [BZ #12495]
42202 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42203 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42204 (largebin_index_32_big): New.
42205 (largebin_index): Use it for 16-byte alignment.
42206 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42207 correction with front_misalign.
42208
cfba4fda
L
422092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42210
7f907421
L
42211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42213 Likewise.
42214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42215 Likewise.
42216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42217 Likewise.
42218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42219 Likewise.
42220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42221 Likewise.
42222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42223 Likewise.
42224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42225 Likewise.
42226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42227 Likewise.
42228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42229 Likewise.
42230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42231 Likewise.
42232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42233 Likewise.
42234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42235 Likewise.
42236
cfba4fda
L
42237 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42238 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42239
80bad0cc
JM
422402012-05-24 Joseph Myers <joseph@codesourcery.com>
42241
7a25eb06
JM
42242 [BZ #10846]
42243 [BZ #14036]
42244 * math/libm-test.inc (exp_test): Add test from bug 14036.
42245 (pow_test): Add test from bug 10846.
42246
795405f9
JM
42247 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42248 and other flags.
42249 (special_function): Do not include flags in test name.
42250 (parse_args): Likewise.
42251 * sysdeps/i386/fpu/libm-test-ulps: Update.
42252 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42254 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42256
80bad0cc
JM
42257 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42258 exceptions.
42259 * math/libm-test.inc ("Philosophy"): Update comment about
42260 exception testing.
42261 (UNDERFLOW_EXCEPTION): New macro.
42262 (UNDERFLOW_EXCEPTION_OK): Likewise.
42263 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42264 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42265 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42266 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42267 (INVALID_EXCEPTION_OK): Update value.
42268 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42269 (OVERFLOW_EXCEPTION_OK): Likewise.
42270 (IGNORE_ZERO_INF_SIGN): Likewise.
42271 (test_exceptions): Handle underflow exceptions.
42272 (acos_test): Update for underflow exception expectations.
42273 (cexp_test): Likewise.
42274 (clog_test): Likewise.
42275 (clog10_test): Likewise.
42276 (csqrt_test): Likewise.
42277 (ctan_test): Likewise.
42278 (ctanh_test): Likewise.
42279 (exp_test): Likewise.
42280 (exp10_test): Likewise.
42281 (exp2_test): Likewise.
42282 (expm1_test): Likewise.
42283 (fma_test): Likewise.
42284 (j0_test): Likewise.
42285 (jn_test): Likewise.
42286 (nexttoward_test): Likewise.
42287 (pow_test): Likewise.
42288 (scalbn_test): Likewise.
42289 (scalbln_test): Likewise.
42290 (tan_test): Likewise.
42291 (y1_test): Likewise.
42292 * sysdeps/i386/fpu/libm-test-ulps: Update.
42293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42294
9e0e3d0b
DM
422952012-05-23 David S. Miller <davem@davemloft.net>
42296
42297 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42298 (__libc_sigaction): Remove unused local variables.
42299
ccd0a08f
L
423002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42301
42302 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42303
62bdf9a6
PE
423042012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42305
f8591f80
PE
42306 mktime: avoid signed integer overflow
42307 * time/mktime.c (__mktime_internal): Do not mishandle the case
42308 where diff == INT_MIN.
42309
94c7d826
PE
42310 mktime: simplify computation of average
42311 * time/mktime.c (ranged_convert): Use new time_t_avg function
42312 instead of rolling our own (probably-slower) code.
42313
ce73d683
PE
42314 mktime: do not assume signed right shift propagates sign bit
42315 * time/mktime.c (isdst_differ): New static function.
42316 (__mktime_internal): No need to normalize tm_isdst now.
42317 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42318 tm_isdst values.
42319
72a22e59
PE
42320 mktime: merge another wrapv change from gnulib
42321 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42322 from some compilers.
42323
68605433
PE
42324 mktime: remove incorrect attempt at unusual arithmetics
42325 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42326 The code didn't really work on such machines anyway.
42327 (TYPE_MINIMUM): Assume two's complement.
42328 (twos_complement_arithmetic): Verify that long_int and time_t
42329 are two's complement (or unsigned, in the latter case).
42330
03cf7fe3
PE
42331 mktime: check signed shifts on long_int and time_t, too
42332 * time/mktime.c (SHR): Check that shifts work as desired
42333 on the types long_int and time_t too, as SHR is used on
42334 such types.
42335
f04dfbc2
PE
42336 mktime: do not assume 'long' is wide enough
42337 * time/mktime.c (verify): Move decl up.
42338 (long_int): New type.
42339 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42340 to remove assumption in the code that 'long' is wide enough to
42341 store year values. This assumption is not true on x32 and on
42342 some non-glibc platforms.
42343
62bdf9a6
PE
42344 mktime: merge wrapv change from gnulib
42345 * time/mktime.c (WRAPV): New macro.
42346 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42347 (guess_time_tm, __mktime_internal): Do not assume that signed
42348 integer overflow wraps around; modern compilers generate code
42349 where this assumption is no longer valid.
42350
5e292e4f
L
423512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42352
42353 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42354 Replace "jmp L(pseudo_end)" with "ret".
42355 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42356 Likewise.
42357
8caf8c87
AJ
423582012-05-23 Andreas Jaeger <aj@suse.de>
42359
42360 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42361 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42362
1a09dc56
AJ
423632012-05-23 Andreas Jaeger <aj@suse.de>
42364 Maximilian Attems <max@stro.at>
42365
42366 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42367 New macros.
42368
1c87aba0
L
423692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42370
42371 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42372 code so that pseudo_end is just ret and the stack pointer is
42373 correct also for static library in error case.
42374
40e45bd5
JM
423752012-05-23 Joseph Myers <joseph@codesourcery.com>
42376
c2670533
JM
42377 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42378 move to syscalls.list.
42379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42383
40e45bd5
JM
42384 * manual/install.texi (Running make install): Do not mention Linux
42385 kernel version for which pt_chown is not needed.
42386 (Linux): Do not mention problems with nscd with 2.0 kernels.
42387 * INSTALL: Regenerated.
42388
be08eda5
AJ
423892012-05-23 Andreas Jaeger <aj@suse.de>
42390
42391 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42392 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42393 macro.
42394 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42395 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42396 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42397 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42398 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42399 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42400 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42401 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42402 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42403 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42404 * sysdeps/unix/sysv/linux/bits/in.h
42405 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42406
a6a056bb
RM
424072012-05-22 Roland McGrath <roland@hack.frob.com>
42408
42409 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42410 (PREPARE_VERSION): Just use assert instead, it will be elided
42411 under [NDEBUG] anyway.
42412
c9009328
L
424132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42414
42415 * sysdeps/unix/sysv/linux/Makefile: Include
42416 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42417 (sysdep_routines): Remove sysctl.
c9009328
L
42418 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42419 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42420 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42421 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42422 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42423
73338355
AJ
424242012-05-22 Andreas Jaeger <aj@suse.de>
42425
42426 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42427 that pseudo_end is just ret and the stack pointer is correct also
42428 for static library in error case.
42429
d44638b0
PP
424302012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42431
42432 [BZ #14122]
42433 * nss/nsswitch.c (defconfig_entries): New variable.
42434 (__nss_database_lookup): Don't leak defconfig entries.
42435 (nss_parse_service_list): Don't leak on error paths.
42436 (free_database_entries): New function.
42437 (free_defconfig): New function.
42438 (free_mem): Move common code to free_database_entries.
42439
31a39bd8
L
424402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42441
da0331a8
L
42442 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42443 Add arch_prctl.
42444 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42445
31a39bd8
L
42446 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42447 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42449 New macro.
42450 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42451 (INTERNAL_SYSCALL_TYPES): Likewise.
42452 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42453 (LOAD_REGS_TYPES_[1-6]): Likewise.
42454 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42455 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42456
45470df3
AZ
424572012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42458
42459 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42460 copysignl for GLIBC_2_0.
42461 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42462 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42464 logbl for GLIBC_2_0.
42465 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42466 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42467
98a61bcb
L
424682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42469
a4f6e481
L
42470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42471 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42472
f63d5db6
L
42473 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42474 Use "neg %eax".
42475
98a61bcb
L
42476 * time/mktime.c: Update copyright years.
42477
95770f14
PE
424782012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42479
6226efbd
PE
42480 mktime: merge comment-quoting-style change from gnulib
42481 * time/mktime.c: Quote 'like this' in comments.
42482 The GNU coding standards suggest that we no longer quote `like this',
42483 as "`" and "'" are typically rendered asymmetrically nowadays.
42484 The typical gnulib style is to quote 'like this' when quoting
42485 code, and "like this" when quoting English.
42486
b99e4f78
PE
42487 * time/mktime.c (compile-command): Add "-I.".
42488
643e01e6
PE
42489 mktime: merge mktime-internal.h change from gnulib
42490 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42491
2554247d
PE
42492 mktime: merge time_r change from gnulib
42493 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42494
826dd0ab
PE
42495 mktime: merge DEBUG change from gnulib
42496 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42497 case system <time.h> has a #define.
42498
bd83aabe
PE
42499 mktime: merge <sys/types.h> change from gnulib
42500 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42501 since <time.t> is now guaranteed to define time_t.
42502
95770f14
PE
42503 mktime: merge HAVE_CONFIG_H change from gnulib
42504 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42505
5e1a27a9
L
425062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42507
0e44a77e
L
42508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42509 Use "neg %eax".
42510
5e1a27a9
L
42511 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42512 __rlim_t cast.
42513 (struct rusage): Use anonymous union to pad each field to
42514 __syscall_slong_t.
42515
46259bec
DM
425162012-05-21 David S. Miller <davem@davemloft.net>
42517
42518 * Makefules (o-iterator): Remove .s cases.
42519 (compile-command.s): Delete.
42520 (COMPILE.s): Delete.
42521 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42522
59f0c22e
JM
425232012-05-21 Joseph Myers <joseph@codesourcery.com>
42524
42525 * configure.in (libc_cv_predef_stack_protector): Only consider
42526 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42527 * configure: Regenerated.
42528
20c07380
L
425292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42530
bbb3154b
L
42531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42532 New macro. Use R*LP on int and pointer.
42533 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42534 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42535 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42536 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42537
20c07380
L
42538 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42539 [__WORDSIZE_TIME64_COMPAT32] instead of
42540 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42541 (struct utmp): Likewise.
42542 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42543 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42544 Renamed to ...
42545 (__WORDSIZE_TIME64_COMPAT32): This.
42546 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42547 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42548 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42549 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42550 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42551 (__WORDSIZE_TIME64_COMPAT32): New macro.
42552
d8d1017e
AJ
425532012-05-21 Andreas Jaeger <aj@suse.de>
42554
42555 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42556 only if [SHARED]. Add prototype for __wcschr_ia32.
42557
6c7fb145
RM
425582012-05-21 Roland McGrath <roland@hack.frob.com>
42559
42560 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42561 of %rbp unmolested in the jmp_buf while mangling the low bits.
42562 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42563 unmolested high bits of %rbp while demangling the low bits.
42564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42565
66274218
AJ
425662012-05-21 Andreas Jaeger <aj@suse.de>
42567
07c58f8f
AJ
42568 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42569 * sunrpc/svc_simple.c: Use it for registerrpc.
42570 * sunrpc/xcrypt.c: Use it for passwd2des.
42571
66274218
AJ
42572 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42573
61f65140
L
425742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42575
42576 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42577 Don't define if [__SYSCALL_WORDSIZE != 32].
42578 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42579 New macro.
42580
5fefb436
AJ
425812012-05-21 Bruno Haible <bruno@clisp.org>
42582 Andreas Jaeger <aj@suse.de>
42583
42584 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42585 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42586 inptr and inend for must_buffer_ch.
42587 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42588 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42589 * stdio-common/Makefile (tests): Remove bug15.
42590 (bug15-ENV): Remove macro.
42591 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42592 anymore.
42593
d8e272ab
AJ
425942012-05-19 Andreas Jaeger <aj@suse.de>
42595 Roland McGrath <roland@hack.frob.com>
42596
42597 * manual/contrib.texi: Completely rewritten. It contains now an
42598 alphabetical list of contributors and their contributions.
42599
4a56a162
RH
426002012-05-21 Richard Henderson <rth@twiddle.net>
42601
42602 * misc/getauxval.c (__getauxval): Use unsigned long int.
42603 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42604 (getauxval): Use unsigned long int.
42605
d024d23c
L
426062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42607
42608 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42609
cbc00a03
RM
426102012-05-21 Roland McGrath <roland@hack.frob.com>
42611
42612 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42613 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42614 __alignof__ (long double).
42615
478143fa
AZ
426162012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42617
42618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42619
c7683a6d
RH
426202012-05-20 Richard Henderson <rth@twiddle.net>
42621
42622 * misc/getauxval.c: New file.
42623 * misc/sys/auxv.h: New file.
42624 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42625 (routines): Add getauxval.
42626 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42627 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42628 * elf/dl-sysdep.c (_dl_auxv): Remove.
42629 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42630 * elf/dl-support.c (_dl_auxv): New variable.
42631 (_dl_aux_init): Initialize it.
42632 * manual/startup.texi (Auxiliary Vector): New node.
42633 * sysdeps/generic/bits/hwcap.h: New file.
42634 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42635 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42636 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42637 * sysdeps/sparc/sysdep.h: ... here. Include it.
42638 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42639 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42641 Update.
c7683a6d
RH
42642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42650
a6f1845d
AZ
426512012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42652
42653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42654
cbcbe830
DM
426552012-05-19 David S. Miller <davem@davemloft.net>
42656
42657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42658
e0b16cc2
JM
426592012-05-19 Joseph Myers <joseph@codesourcery.com>
42660
42661 [BZ #14123]
42662 * math/s_ccosh.c: Include <float.h>
42663 (__ccosh): Avoid internal overflow calculating sinh and cosh
42664 values before multiplying by sin and cos values.
42665 * math/s_ccoshf.c: Likewise.
42666 * math/s_ccoshl.c: Likewise.
42667 * math/s_csin.c: Likewise.
42668 * math/s_csinf.c: Likewise.
42669 * math/s_csinl.c: Likewise.
42670 * math/s_csinh.c: Likewise.
42671 * math/s_csinhf.c: Likewise.
42672 * math/s_csinhl.c: Likewise.
42673 * math/libm-test.inc (ccos_test): Add more tests.
42674 (ccosh_test): Likewise.
42675 (csin_test): Likewise.
42676 (csinh_test): Likewise.
42677 * sysdeps/i386/fpu/libm-test-ulps: Update.
42678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42679
6ad13e08
L
426802012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42681
f66f0ce8
L
42682 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42683 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42684
6ad13e08
L
42685 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42686
b1d072a7
JM
426872012-05-19 Joseph Myers <joseph@codesourcery.com>
42688
42689 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42690 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42691 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42692 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42693 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42694 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42695 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42696 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42697 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42698 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42699 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42700 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42701 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42702 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42703 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42704 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42705 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42706 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42707 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42708 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42709 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42710 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42711 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42712 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42713 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42714 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42715 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42716 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42717 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42718 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42719 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42720
9eae47cb
AJ
427212012-05-18 Andreas Jaeger <aj@suse.de>
42722
42723 * csu/.gitignore: Delete.
42724
bb07f69f
L
427252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42726
42727 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42728 (timex): Use __syscall_slong_t.
42729
e6bdb741
AJ
427302012-05-18 Andreas Jaeger <aj@suse.de>
42731 Carlos O'Donell <carlos_odonell@mentor.com>
42732
42733 * manual/install.texi (Configuring and compiling): Update
42734 description about files modified in the source directory.
d6c33fda 42735 * INSTALL: Regenerated.
e6bdb741 42736
1b74487e
L
427372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42738
42739 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42740 value. Use "or" to set return value to -1.
42741 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42742 negate return value.
42743
a88b64b9
TMQMF
427442012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42745
57f41c40
AS
42746 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42747 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42748 failure if the compiler has Graphite support disabled.
42749 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42750 Likewise.
57f41c40
AS
42751 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42752 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42753 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42754 Likewise.
42755
3707636e
L
427562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42757
610b8622
L
42758 * sysdeps/x86_64/x32/_itoa.h: New file.
42759
7cd195df
L
42760 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42761 getdents system call only if kernel and user dirents have the
42762 same d_ino and d_off.
42763
94b07d20
L
42764 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42765 LLONG_MAX != LONG_MAX.
42766 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42767 (_fitoa_word): Likewise.
42768
18298070
L
42769 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42770 years.
42771 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42772 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42773 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42774
553c7ea4
L
42775 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42776 include <bits/wordsize.h>. Check __x86_64__ instead of
42777 __WORDSIZE.
42778 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42779 if __x86_64__ is defined. Use anonymous union on fpstate.
42780
3707636e
L
42781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42782 anonymous union.
42783
b53ef01a
AS
427842012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42785
37fb1dc0
AS
42786 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42787 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42788 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42789 Refer to _rtld_local_ro instead of _rtld_global_ro.
42790 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42791 Likewise.
42792 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42793 Likewise.
42794 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42795 Likewise.
42796 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42797 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42798 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42799
b53ef01a
AS
42800 * sysdeps/powerpc/powerpc32/dl-machine.c
42801 (__elf_machine_runtime_setup) [PROF]: Don't reference
42802 _dl_prof_resolve.
42803
7a185db2
AJ
428042012-05-18 Andreas Jaeger <aj@suse.de>
42805
42806 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42807 function only available for GCCs before 3.4 since GCC 3.4
42808 introduced a builtin.
42809 (lrint): Likewise.
42810 (llrintf): Likewise.
42811 (llrint): Likewise.
42812 (fmaxf): Likewise.
42813 (fmax): Likewise.
42814 (fminf): Likewise.
42815 (fmin): Likewise.
42816 (rint): Likewise.
42817 (rintf): Likewise.
42818 (nearbyint): Likewise.
42819 (nearbyintf): Likewise.
42820 (ceil): Likewise.
42821 (ceilf): Likewise.
42822 (floor): Likewise.
42823 (floorf): Likewise.
42824
3e5aef87
L
428252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42826
428bd707
L
42827 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42828 on both fields and cast pointer to __syscall_ulong_t.
42829
3e5aef87
L
42830 * bits/types.h (__fsword_t): New type.
42831 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42832 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42833 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42834 (__FSWORD_T_TYPE): Likewise.
42835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42836 (__FSWORD_T_TYPE): Likewise.
42837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42838 (__FSWORD_T_TYPE): Likewise.
42839 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42840 (__FSWORD_T_TYPE): Likewise.
42841 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42842 __SWORD_TYPE with __fsword_t.
42843 (statfs64): Likewise.
42844
1ba7c3dc
DM
428452012-05-17 David S. Miller <davem@davemloft.net>
42846
42847 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42848
59910343
AJ
428492012-05-17 Andreas Jaeger <aj@suse.de>
42850
42851 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42852 warning.
42853
2e4c1e9e
L
428542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42855
42856 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42857
de7f5ce7
AJ
428582012-05-17 Andreas Jaeger <aj@suse.de>
42859
42860 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42861 when it is used.
42862
286abc3d
CM
428632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42864
42865 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42866
477cc68e
L
428672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42868
42869 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42870 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42871
1a0994f5
CD
428722012-05-17 Andreas Jaeger <aj@suse.de>
42873 Carlos O'Donell <carlos_odonell@mentor.com>
42874
42875 [BZ #14059]
42876 * sysdeps/x86_64/multiarch/init-arch.h
42877 (bit_YMM_Usable): Rename to...
42878 (bit_AVX_Usable): ... this.
42879 (bit_FMA4_Usable): New macro.
42880 (bit_XMM_state): New macro.
42881 (bit_YMM_state): New macro.
42882 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42883 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42884 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42885 (CPUID_OSXSAVE): New macro.
42886 (CPUID_AVX): New macro.
42887 (CPUID_FMA4): New macro.
42888 (index_YMM_Usable): Rename to...
42889 (index_AVX_Usable): ... this.
42890 (HAS_AVX): Use HAS_ARCH_FEATURE.
42891 (HAS_FMA4): Likewise.
42892 (HAS_YMM_USABLE): Remove.
42893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42894 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42895 are present.
42896 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42897 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42898 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42899 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42900 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42901
0af797de
CM
429022012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42903
42904 * math/libm-test.c: Support platforms without multiple rounding modes.
42905 * math/bug-nextafter.c: Support platforms without FP exceptions.
42906 * math/bug-nexttoward.c: Likewise.
42907 * math/test-fenv.c: Likewise.
42908 * math/test-misc.c: Likewise.
42909 * stdlib/bug-getcontext.c: Likewise.
42910
e39745ff
AJ
429112012-05-17 Andreas Jaeger <aj@suse.de>
42912
42913 * manual/examples/search.c (critter_cmp): Change signature to
42914 avoid warnings.
42915 * manual/string.texi (Collation Functions): Likewise.
42916
48970aba
L
429172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42918
42919 * bits/types.h: Fold copyright years.
42920 * bits/typesizes.h: Likewise.
42921 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42922 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42924 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42925 * time/time.h: Likewise.
42926
bedee953
PP
429272012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42928
42929 [BZ #208]
42930 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42931 in instead of returning them. Return void.
42932 (__libc_mallinfo): Accumulate over all arenas.
42933 (__malloc_stats): Adjust for change in int_mallinfo interface.
42934
61653dfb
RM
429352012-05-16 Roland McGrath <roland@hack.frob.com>
42936
30b99d79
RM
42937 [BZ #10375]
42938 * configure.in (NM): Add AC_CHECK_TOOL for it.
42939 (libc_extra_cflags): New substituted variable.
42940 Check for -fstack-protector being used implicitly.
42941 * configure: Regenerated.
42942 * config.make.in (config-extra-cflags): New variable,
42943 gets @libc_extra_cflags@.
42944 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42945
61653dfb
RM
42946 [BZ #10375]
42947 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42948 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42949 * configure: Regenerated.
42950 * config.make.in (CPPUNDEFS): New substituted variable.
42951 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42952 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42953 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42954
661768bb
L
429552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42956
42957 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42958 (mq_attr): Use __syscall_slong_t.
42959
d4261567
L
429602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42961
42962 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42963 Check __x86_64__ instead of __WORDSIZE.
42964 (_STAT_VER_LINUX): Likewise.
42965 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42966 __syscall_ulong_t and __syscall_slong_t.
42967 (stat64): Likewise.
42968
cf3ff365
L
429692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42970
42971 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42972
76cf3e4d
L
429732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42974
42975 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42976
a637753a
L
429772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42978
42979 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42980 __syscall_ulong_t.
42981
d5e05119
L
42982 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42983 include <bits/wordsize.h>. Check __x86_64__ instead of
42984 __WORDSIZE.
42985 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42986 defined.
42987 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42988
f62ee380
L
42989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42990 include <bits/wordsize.h>. Check __x86_64__ instead of
42991 __WORDSIZE.
42992 (user_regs_struct): Use "__extension__ unsigned long long"
42993 instead of "unsigned long" if __x86_64__ is defined.
42994 (user): Likewise. Pad after pointer field if __ILP32__ is
42995 defined.
42996
4e124ced
JM
429972012-05-16 Joseph Myers <joseph@codesourcery.com>
42998
6a3951a0
JM
42999 * configure.in (makeinfo): Require version 4.5 or later. Allow
43000 versions 5 to 9.
43001 * configure: Regenerated.
43002 * manual/install.texi (texinfo): Increase version requirement to
43003 4.5 or later.
43004 * INSTALL: Regenerated.
43005
4e124ced
JM
43006 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43007
953ca31a
L
430082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43009
43010 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43011
617aca05
L
43012 * sysdeps/x86_64/x32/ffs.c: New file.
43013
5762f7ae
L
43014 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43015 __syscall_ulong_t.
43016 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43017 defined. Use __syscall_ulong_t.
43018 (shminfo): Use __syscall_ulong_t.
43019 (shm_info): Likewise.
43020
a26b6856
L
43021 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43022 __syscall_ulong_t.
43023
cb2b9ef7
L
43024 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43025 <bits/wordsize.h>.
43026 (msgqnum_t): Use __syscall_ulong_t.
43027 (msglen_t): Likewise.
43028 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43029 __syscall_ulong_t.
43030
34683bb0
L
43031 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43032 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43033
84a68786
L
43034 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43035
48baa5f1
L
43036 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43037 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43038
180be88b
L
43039 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43040 __syscall_slong_t.
43041
5e90c8ad
L
43042 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43043 include <bits/wordsize.h>. Check __x86_64__ instead of
43044 __WORDSIZE.
43045
23dfb58b
L
43046 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43047 "unsigned long long int" if __x86_64__ is defined.
43048 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43049
ce5d54b0
L
43050 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43051 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43052 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43053
13dc9eac
L
43054 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43055 <stdint.h>.
43056 (GET_PC): Cast to uintptr_t first.
43057 (GET_FRAME): Likewise.
43058 (GET_STACK): Likewise.
43059
a7895d15
L
43060 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43061 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43062 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43063 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43064 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43065 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43066 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43067 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43068 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43069 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43070 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43071 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43072 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43073 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43074 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43075 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43076 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43077 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43078 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43079 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43080 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43081 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43082 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43083 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43084 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43085 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43086 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43088 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43089
656416c9
AS
430902012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43091
5bd66283
AS
43092 * Makerules (+depfiles): Also collect depfiles from .oS in
43093 $(extra-objs).
43094 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43095 .oS, $(libnldbl-routines)).
43096
656416c9
AS
43097 * Makerules (native-compile-mkdep-flags): Define.
43098 * sunrpc/Makefile (extra-objs): Add $(addprefix
43099 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43100 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43101 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43102 calling $(make-target-directory).
43103
a46f2169
L
431042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43105
43106 * bits/types.h (__snseconds_t): Removed.
43107 * time/time.h (struct timespec): Replace __snseconds_t with
43108 __syscall_slong_t.
43109 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43110 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43111 Likewise.
43112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43113 (__SNSECONDS_T_TYPE): Likewise.
43114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43115 (__SNSECONDS_T_TYPE): Likewise.
43116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43117 (__SNSECONDS_T_TYPE): Likewise.
43118
6af6528b
L
431192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43120
43121 * sysdeps/mach/hurd/bits/typesizes.h
43122 (__SYSCALL_SLONG_TYPE): New macro.
43123 (__SYSCALL_ULONG_TYPE): Likewise.
43124
de986b56
L
431252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43126
43127 * bits/types.h (__syscall_slong_t): New type.
43128 (__syscall_ulong_t): Likewise.
43129
43130 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43131 (__SYSCALL_ULONG_TYPE): Likewise.
43132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43133 (__SYSCALL_SLONG_TYPE): Likewise.
43134 (__SYSCALL_ULONG_TYPE): Likewise.
43135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43136 (__SYSCALL_SLONG_TYPE): Likewise.
43137 (__SYSCALL_ULONG_TYPE): Likewise.
43138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43139 (__SYSCALL_SLONG_TYPE): Likewise.
43140 (__SYSCALL_ULONG_TYPE): Likewise.
43141
85736dc7
L
431422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43143
43144 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43145 Add sigaltstack-offsets.sym.
43146 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43147 <sigaltstack-offsets.h>.
43148 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43149 longjmp_msg pointer.
43150 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43151 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43152 signal stack.
43153 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43154
cc03b296
JM
431552012-05-15 Joseph Myers <joseph@codesourcery.com>
43156
a9538892
JM
43157 * elf/stackguard-macros.h: Remove file.
43158 * sysdeps/generic/stackguard-macros.h: New file.
43159 * sysdeps/i386/stackguard-macros.h: Likewise.
43160 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43161 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43162 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43163 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43164 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43165 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43166 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43167 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43168 <elf/stackguard-macros.h>.
43169
cc03b296
JM
43170 [BZ #14109]
43171 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43172 __aligned__ in attribute.
43173 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43174 (gregset_t): Likewise.
43175
93171016
L
431762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43177
43178 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43179 * sysdeps/x86_64/64/Implies-after: Here. New file.
43180 * sysdeps/x86_64/x32/Implies-after: New file.
43181
d86813a0
L
431822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43183
43184 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43185 and access return value for _dl_profile_fixup. Use R10_LP to
43186 load frame size.
43187
2953ec75
L
431882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43189
43190 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43191
3b550e9e
L
431922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43193
43194 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43195 * sysdeps/x86_64/x32/sysdep.h: New file.
43196
eda41706
L
431972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43198
43199 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43200 * sysdeps/x86_64/setjmp.S: Likewise.
43201
9ea01d93
AZ
432022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43203
43204 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43205 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43206 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43207 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43208 remove unused global constant.
43209
02a91938
CM
432102012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43211
43212 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43213 include of <not-cancel.h>.
43214
6540185f
RM
432152012-05-15 Roland McGrath <roland@hack.frob.com>
43216
43217 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43218
509072a0
AJ
432192012-05-15 Jeff Law <law@redhat.com>
43220 Andreas Jaeger <aj@suse.de>
43221
43222 [BZ #13594]
43223 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43224 out from...
43225 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43226 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43227 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43228 code changing __hst_map_handle.map.
43229
ba75122d
RM
432302012-05-15 Roland McGrath <roland@hack.frob.com>
43231
43232 * configure.in (sysnames): Look for Implies-before and Implies-after
43233 files.
43234 * configure: Regenerated.
43235
890d8bd8
L
432362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43237
43238 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43239 8-byte data alignment with LP_SIZE alignment.
43240
f6ee6623
L
432412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43242
43243 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43244 into R10_LP.
43245
ea2626f6
L
432462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43247
43248 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43249
085f715e
L
432502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43251
43252 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43253 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43254 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43255 Likewise.
43256 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43257
be8498fc
L
432582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43259
43260 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43261 (stackinfo_sub_sp): Likewise.
43262
70bc83b9
L
432632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43264
43265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43266 RAX_LP.
43267
9bc0b730
L
432682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43269
43270 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43271 into R*_LP.
43272
6d2850e7
L
432732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43274
43275 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43276 sizes into R*_LP.
43277
3cb84561
L
432782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43279
43280 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43281
54e2ed81
L
432822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43283
43284 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43285 into R11_LP and load __x86_64_shared_cache_size_half into
43286 R8_LP.
43287
8a17f349
L
432882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43289
43290 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43291 R8_LP.
43292
777b1eea
AZ
432932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43294
43295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43296 logb for POWER7.
43297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43298 logbf for POWER7.
43299 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43300 logbl for POWER7.
43301 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43302 powerpc32/power7/fpu/s_logb.c via #include.
43303 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43304 powerpc32/power7/fpu/s_logbf.c via #include.
43305 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43306 powerpc32/power7/fpu/s_logbl.c via #include.
43307
d20d4ac2
JM
433082012-05-15 Joseph Myers <joseph@codesourcery.com>
43309
43310 * README.libm: Remove file.
43311
6cdef1ab
L
433122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43313
43314 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43315 count for x32. Use R*_LP and omit operand-size suffix.
43316
0b254d8f
L
433172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43318
43319 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43320 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43321 * sysdeps/x86_64/x32/shlib-versions: New file.
43322
ceb809dc
RM
433232012-05-14 Roland McGrath <roland@hack.frob.com>
43324
43325 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43326 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43327 Use _dl_fatal_printf instead.
43328
37f1abd4
JM
433292012-05-14 Joseph Myers <joseph@codesourcery.com>
43330
43331 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43332 set if not set by the user. Do not allow for being unset.
43333 * sysdeps/unix/sysv/linux/configure: Regenerated.
43334
11de3a33
L
433352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43336
43337 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43338 the `q' suffix from lea and replace .quad with ASM_ADDR.
43339
e02f153a
L
433402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43341
43342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43343 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43344 instead of $17.
43345 (PTR_DEMANGLE): Likewise.
43346
520ae0fd
L
433472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43348
43349 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43350 (LP_OP): Likewise.
43351 (ASM_ADDR): Likewise.
43352 (RAX_LP): Likewise.
43353 (RBP_LP): Likewise.
43354 (RBX_LP): Likewise.
43355 (RCX_LP): Likewise.
43356 (RDI_LP): Likewise.
43357 (RSI_LP): Likewise.
43358 (RSP_LP): Likewise.
43359 (R8_LP): Likewise.
43360 (R9_LP): Likewise.
43361 (R10_LP): Likewise.
43362 (R10_LP): Likewise.
43363 (R11_LP): Likewise.
43364 (R12_LP): Likewise.
43365 (R13_LP): Likewise.
43366 (R14_LP): Likewise.
43367 (R15_LP): Likewise.
43368
b985be81
L
433692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43370
43371 * sysdeps/x86_64/x32/dl-machine.h: New file.
43372
6a4888ff
AJ
433732012-05-14 Andreas Jaeger <aj@suse.de>
43374
43375 * manual/Makefile (subdir): Remove export of subdir.
43376 (all): Remove target.
43377 (.PHONY): Remove all from list.
43378 (mkinstalldirs): Remove.
43379 (.PHONY): Remove installdirs from list.
43380 ($(inst_infodir)/libc.info): Use make-target-directory.
43381 (installdirs): Remove.
43382 (subdir_%): Remove.
43383 (glibc-targets): Remove.
43384 (lib): Remove.
43385 (stubs): Remove.
43386 ($(objpfx)stubs ../po/manual.pot): Remove.
43387 ($(objpfx)stamp%): Remove.
43388 (make-target-directory): Remove.
43389 (subdir_install): Remove.
43390 (routines): Remove.
43391 (aux): Remove.
43392 (sources): Remove.
43393 (objects): Remove.
43394 (headers): Remove.
43395
43396 [BZ #13750]
43397 * manual/.gitignore: Remove, it's not needed anymore.
43398 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43399 all files in it.
43400 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43401 directory.
43402 (texis): Renamed to $(objpfx)texis.
43403 (texis-path): New, contains path to generated files.
43404 (chapters.%): Use texis-path for complete path, add extra argument
43405 libc-texinfo.sh.
43406 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43407 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43408 (summary,texi, stamp-summary): Use complete path of
43409 files. Generate files in build dir.
43410 (dir-add.texi): Build in build dir.
43411 (libm-err.texi,stamp-libm-err): Likewise.
43412 (version.texi, stamp-version): Likewise.
43413 (.%c.texi): Likewise.
43414 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43415 (mostlyclean): Remove target.
43416 (realclean): Remove target.
43417 (generated): Add new variable with contents from mostlyclean and
43418 realclean, remove entries duplicated in common-mostlyclean, add
43419 stamp-libm-err and stamp-version.
43420 (generated-dirs): Add libc directory.
43421 ($(inst_infodir)/libc.info): Install files from build dir.
43422
43423 * manual/install.texi (Configuring and compiling): Adjust since
43424 the info files are not part of the tar ball anymore.
43425
7ac77294
AJ
434262012-05-14 Andreas Jaeger <aj@suse.de>
43427
43428 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43429 variable.
43430
ffb7875d
JM
434312012-05-14 Joseph Myers <joseph@codesourcery.com>
43432
43433 [BZ #13717]
43434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43435 to 2.2.0 where earlier.
43436 * sysdeps/unix/sysv/linux/configure: Regenerated.
43437 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43438 Remove conditional code.
43439 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43440 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43441 Remove conditional code.
43442 [!__NR_lchown]: Likewise.
43443 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43444 [__NR_lchown]: Likewise.
43445 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43446 comment referencing __ASSUME_LCHOWN_SYSCALL.
43447 * sysdeps/unix/sysv/linux/i386/sigaction.c
43448 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43449 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43450 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43451 Remove conditional code.
43452 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43453 (__protocol_available): Remove #if 0 code.
43454 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43455 conditional code.
43456 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43457 * sysdeps/unix/sysv/linux/kernel-features.h
43458 (__ASSUME_GETCWD_SYSCALL): Don't define.
43459 (__ASSUME_REALTIME_SIGNALS): Likewise.
43460 (__ASSUME_PREAD_SYSCALL): Likewise.
43461 (__ASSUME_PWRITE_SYSCALL): Likewise.
43462 (__ASSUME_POLL_SYSCALL): Likewise.
43463 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43464 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43465 non-SPARC.
43466 (__ASSUME_SIOCGIFNAME): Don't define.
43467 (__ASSUME_MSG_NOSIGNAL): Likewise.
43468 (__ASSUME_SENDFILE): Define unconditionally.
43469 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43470 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43471 conditional code.
43472 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43473 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43474 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43475 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43476 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43477 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43478 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43480 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43483 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43484 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43486 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43489 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43490 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43492 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43495 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43496 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43498 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43501 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43503 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43504 Remove conditional code.
43505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43506 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43507 Remove conditional code.
43508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43509 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43510 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43511 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43512 Remove conditional code.
43513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43514 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43515 Remove conditional code.
43516 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43517 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43518 Remove conditional code.
43519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43520 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43521 Remove conditional code.
43522 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43523 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43524 Remove conditional code.
43525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43526 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43527 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43529 * sysdeps/unix/sysv/linux/sigaction.c
43530 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43531 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43532 * sysdeps/unix/sysv/linux/sigpending.c
43533 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43534 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43535 * sysdeps/unix/sysv/linux/sigprocmask.c
43536 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43537 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43538 * sysdeps/unix/sysv/linux/sigsuspend.c
43539 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43540 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43541 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43542 (__libc_missing_rt_sigs): Remove.
43543 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43544 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43545 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43546 Remove conditional code.
43547 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43548 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43549 return 1.
43550 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43551 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43552 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43553 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43554
1bfb7291
AJ
435552012-05-14 Andreas Jaeger <aj@suse.de>
43556
caae5a81
AJ
43557 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43558 it's not used in glibc.
43559 (__coshm1): Likewise.
43560 (__acosh1p): Likewise.
43561 (__sgn): Likewise.
43562
1bfb7291
AJ
43563 * manual/string.texi (Copying and Concatenation): Add missing
43564 variable in concat example.
43565 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43566
c044d724
L
435672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43568
144c5467 43569 [BZ #14103]
c044d724
L
43570 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43571 __builtin_clzl with __builtin_clzll.
43572
2523c62b
L
435732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43574
43575 [BZ #14104]
43576 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43577 libc_freeres_ptr.
43578
d7bb4c42
LD
435792012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43580
43581 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43582 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43583 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43584 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43585
9dc4e1fb
MF
435862012-05-14 Mike Frysinger <vapier@gentoo.org>
43587
43588 * NEWS: Update ia64 info.
43589
c7df0112
AS
435902012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43591
43592 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43593 used as bcopy.
43594
dc70356c
TS
435952012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43596
43597 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43598 * sysdeps/unix/syscalls.list (dup3): Likewise.
43599 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43600 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43601
9fb1a21f
L
436022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43603
43604 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43605 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43606
4822a2a5
L
436072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43608
43609 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43610 thread pointer.
43611 (TLS_IE): Use mov/add instead of movq/addq to load thread
43612 pointer.
43613 (TLS_GD_PREFIX): New.
43614 (TLS_GD): Use it.
43615
842b81d6
DM
436162012-05-11 David S. Miller <davem@davemloft.net>
43617
43618 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43619 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43620 (_FPU_SETCW): Likewise.
43621
1cf463cd
L
436222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43623
43624 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43625 is 32-byte aligned.
43626
60cc4a18
AS
436272012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43628
43629 [BZ #11837]
43630 * iconvdata/gb18030.c: Update tables.
43631 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43632 characters specially.
43633 (BODY for TO_LOOP): Add encoding of missing ranges.
43634
febb44a4
TS
436352012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43636
43637 [BZ #13673]
43638 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43639 * sysdeps/mach/hurd/dup3.c: Likewise.
43640 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43641 * sysdeps/powerpc/memmove.c:: Likewise.
43642
0a10fb9e
L
436432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43644
43645 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43646 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43647
df8a552f
L
436482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43649
43650 * elf/elf.h (R_X86_64_RELATIVE64): New.
43651 (R_X86_64_NUM): Updated.
43652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43653 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43654 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43655 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43656 tst-quad1pie tst-quad2pie
43657 (modules-names): Add tst-quadmod1 tst-quadmod2.
43658 ($(objpfx)tst-quad1): New dependency.
43659 ($(objpfx)tst-quad2): Likewise.
43660 ($(objpfx)tst-quad1pie): Likewise.
43661 ($(objpfx)tst-quad2pie): Likewise.
43662 * sysdeps/x86_64/tst-quad1.c: New file.
43663 * sysdeps/x86_64/tst-quad1pie.c: New file.
43664 * sysdeps/x86_64/tst-quad2.c: Likewise.
43665 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43666 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43667 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43668 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43669 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43670
f34d6f84
ST
436712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43672
f42d41d1
ST
43673 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43674 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43675 * streams/stropts.h (t_scalar_t): Define type.
43676
3c3571fc
ST
43677 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43678 (_PATH_PRESERVE): Set to "/var/lib".
43679 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43680
61f06bd3
ST
43681 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43682 instead of int.
43683
918d4d71
ST
43684 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43685 if __dir_mkfile succeeded.
43686
f34d6f84
ST
43687 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43688 checking for _hurd_dtablesize. Unlock it right after having
43689 finished _hurd_dtable allocation.
43690
10589b4a
TS
436912012-05-10 Thomas Schwinge <thomas@schwinge.name>
43692
674cdbc7
TS
43693 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43694 * sysdeps/mach/hurd/configure: Regenerated.
43695 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43696 special-casing to...
43697 * sysdeps/gnu/configure.in: ... this new file.
43698 * sysdeps/unix/sysv/linux/configure: Regenerated.
43699 * sysdeps/gnu/configure: New generated file.
43700
8e41b99f
TS
43701 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43702 for Linux: use nsec instead of usec, as well as:
43703 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43704 members of type struct timespec.
43705 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43706 New macros.
43707 (struct stat64): Likewise.
43708 (_STATBUF_ST_NSEC): New macro.
43709 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43710
10589b4a
TS
43711 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43712 __strtoul_internal rather than strtoul.
43713
63643c85
PT
437142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43715
43716 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43717 and reject them.
43718
3faebe6a
ST
437192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43720
43721 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43722 which preserves existing values.
43723 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43724
c6474b07
PT
437252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43726
43727 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43728 TIMEOUT values. Return EINVAL for NFDS values either negative or
43729 greater than FD_SETSIZE.
43730
1043890b
ST
437312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43732
43733 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43734 allocated, call __vm_protect to finish enabling the existing space, and
43735 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43736 allocate the remainder.
43737
37ed8b9b
PT
437382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43739
43740 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43741 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43742
db653660
ST
437432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43744
37ed8b9b
PT
43745 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43746 sysdeps/mach/hurd/readlink.c.
b29d4053 43747
db653660
ST
43748 * posix/tst-sysconf.c (posix_options): Only use
43749 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43750 _POSIX_SYNCHRONIZED_IO when they are defined
43751 * sysdeps/mach/hurd/bits/posix_opt.h:
43752 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43753 (_XOPEN_REALTIME): Undefine macro.
43754 (_XOPEN_REALTIME_THREADS): Undefine macro.
43755 (_XOPEN_SHM): Undefine macro.
43756 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43757 macro to -1.
43758 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43759 macro to -1.
43760 (_POSIX_ASYNC_IO): Undefine macro.
43761 (_POSIX_PRIORITIZED_IO): Undefine macro.
43762 (_POSIX_SPIN_LOCKS): Define macro to -1.
43763
ee16e894
ST
43764 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43765 SA_NODEFER, SA_RESETHAND.
43766 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43767 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43768 F_DUPFD_CLOEXEC.
43769
6103ae3b
TS
437702012-05-10 Thomas Schwinge <thomas@schwinge.name>
43771
43772 * elf/Makefile (pldd-modules): Define unconditionally.
43773
80b4e5f3
TS
437742012-05-10 Thomas Schwinge <thomas@schwinge.name>
43775
43776 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43777
edadcbd6
ST
437782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43779
43780 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43781 Return ENOENT when name is empty.
43782 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43783
80694780
TS
437842012-05-10 Thomas Schwinge <thomas@schwinge.name>
43785
1792c087
TS
43786 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43787
80694780
TS
43788 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43789
6b645f0d
ST
437902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43791
80694780
TS
43792 Fix mlock in all cases except non-readable pages.
43793 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43794 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43795
6b645f0d
ST
43796 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43797 (__mkdir): When path is `/', just fail with EEXIST.
43798 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43799
e468f8a3
TS
438002012-05-10 Thomas Schwinge <thomas@schwinge.name>
43801
43802 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43803 <sys/uio.h> (for writev).
43804 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43805 and <sys/param.h> (for MIN).
43806
a4186cff
PT
438072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43808
43809 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43810 REQUESTED_TIME. Properly set the remaining time and return EINTR
43811 if interrupted.
43812
510bbf14
TS
438132012-05-10 Thomas Schwinge <thomas@schwinge.name>
43814
43815 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43816 Depend on against $(link-rpcuserlibs).
43817
5d5722e8
ST
438182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43819
a4186cff
PT
43820 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43821 (__libc_stack_end): Do not use attribute_relro.
43822 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43823 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43824 to libthread-provided value.
a4186cff
PT
43825 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43826 attribute_relro.
5d5722e8 43827
37233df9
TS
438282012-05-10 Thomas Schwinge <thomas@schwinge.name>
43829
be971a2b
TS
43830 [BZ #3748]
43831 * bits/libc-lock.h (__libc_once_get): New macro.
43832 * sysdeps/mach/bits/libc-lock.h: Likewise.
43833 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43834 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43835 instead of using implementation details.
43836
37233df9
TS
43837 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43838 * libio/freopen.c: Likewise.
43839 * libio/freopen64.c: Likewise.
43840 * misc/syslog.c: Likewise.
43841 * nscd/connections.c: Likewise.
43842 * nscd/netgroupcache.c: Likewise.
43843 * sysdeps/posix/getcwd.c: Likewise.
43844
38de94a5
RM
438452012-05-10 Roland McGrath <roland@hack.frob.com>
43846
43847 * math/w_ilogbf.c: Add #include <limits.h>.
43848
67530489
ST
438492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43850
a4186cff 43851 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43852 path instead of returning without unlocking.
43853
67530489
ST
43854 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43855 immediate-write ioctls.
43856 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43857
5aa3a74a
TS
438582012-05-10 Thomas Schwinge <thomas@schwinge.name>
43859
18bad2ae
TS
43860 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43861 __builtin_frame_address instead of making assumptions about the
43862 location of the return address relative to DATA. Force early load of
43863 the return address.
43864 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43865 __builtin_frame_address.
43866
5aa3a74a
TS
43867 dup3 for GNU Hurd.
43868 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43869 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43870 implement dup3 and do some further code clean-ups.
43871 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43872 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43873
ecd0de9a
ST
438742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43875
cd9fa985
ST
43876 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43877
a4186cff
PT
43878 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43879 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43880 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43881 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43882 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43883 d->port.lock.
802ca5a5 43884
a4186cff
PT
43885 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43886 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43887 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43888
bcf55240
TS
438892012-05-10 Thomas Schwinge <thomas@schwinge.name>
43890
6960eb42
TS
43891 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43892 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43893 definitions.
43894
eb43375f
TS
43895 accept4 for GNU Hurd.
43896 * include/sys/socket.h (__libc_accept4): New prototype.
43897 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43898 to implement __libc_accept4.
43899 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43900 __libc_accept4.
43901 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43902
bcf55240
TS
43903 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43904 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43905 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43906 signal-defines.sym.
43907
6178c55b
ST
439082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43909
a4186cff 43910 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43911
6f080c2f
TS
439122012-05-10 Thomas Schwinge <thomas@schwinge.name>
43913
43914 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43915 assertion on O_CLOEXEC flag.
43916 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43917 * hurd/intern-fd.c: Likewise.
43918 * hurd/port2fd.c: Likewise.
43919
bcfe3a54
ST
439202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43921
43922 [BZ #3906]
43923 * bits/in.h (IPV6_PKTINFO): Define new macro.
43924 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43925
89c9aa49
AZ
439262012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43927
43928 [BZ #13954]
43929 [BZ #13955]
43930 [BZ #13956]
43931 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43932 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43933 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43934 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43936 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43937 * math/libm-test.inc (logb_test) : Additional logb tests.
43938
021db4be
AJ
439392012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43940 Andreas Jaeger <aj@suse.de>
43941
43942 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43943 * configure: Regenerated.
43944 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43945 * config.make.in (link-obsolete-rpc): New substituted variable.
43946 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43947 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43948 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43949 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43950 so that libc.a contains the symbols.
43951 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43952 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43953 * sunrpc/auth_none.c: Likewise.
43954 * sunrpc/auth_unix.c: Likewise.
43955 * sunrpc/authdes_prot.c: Likewise.
43956 * sunrpc/authuxprot.c: Likewise.
43957 * sunrpc/clnt_gen.c: Likewise.
43958 * sunrpc/clnt_perr.c: Likewise.
43959 * sunrpc/clnt_raw.c: Likewise.
43960 * sunrpc/clnt_simp.c: Likewise.
43961 * sunrpc/clnt_tcp.c: Likewise.
43962 * sunrpc/clnt_udp.c: Likewise.
43963 * sunrpc/clnt_unix.c: Likewise.
43964 * sunrpc/des_crypt.c: Likewise.
43965 * sunrpc/des_soft.c: Likewise.
43966 * sunrpc/get_myaddr.c: Likewise.
43967 * sunrpc/key_call.c: Likewise.
43968 * sunrpc/key_prot.c: Likewise.
43969 * sunrpc/netname.c: Likewise.
43970 * sunrpc/pm_getmaps.c: Likewise.
43971 * sunrpc/pm_getport.c: Likewise.
43972 * sunrpc/pmap_clnt.c: Likewise.
43973 * sunrpc/pmap_prot.c: Likewise.
43974 * sunrpc/pmap_prot2.c: Likewise.
43975 * sunrpc/pmap_rmt.c: Likewise.
43976 * sunrpc/publickey.c: Likewise.
43977 * sunrpc/rpc_cmsg.c: Likewise.
43978 * sunrpc/rpc_common.c: Likewise.
43979 * sunrpc/rpc_dtable.c: Likewise.
43980 * sunrpc/rpc_prot.c: Likewise.
43981 * sunrpc/rpc_thread.c: Likewise.
43982 * sunrpc/rtime.c: Likewise.
43983 * sunrpc/svc.c: Likewise.
43984 * sunrpc/svc_auth.c: Likewise.
43985 * sunrpc/svc_raw.c: Likewise.
43986 * sunrpc/svc_run.c: Likewise.
43987 * sunrpc/svc_tcp.c: Likewise.
43988 * sunrpc/svc_udp.c: Likewise.
43989 * sunrpc/svc_unix.c: Likewise.
43990 * sunrpc/svcauth_des.c: Likewise.
43991 * sunrpc/xcrypt.c: Likewise.
43992 * sunrpc/xdr.c: Likewise.
43993 * sunrpc/xdr_array.c: Likewise.
43994 * sunrpc/xdr_float.c: Likewise.
43995 * sunrpc/xdr_intXX_t.c: Likewise.
43996 * sunrpc/xdr_mem.c: Likewise.
43997 * sunrpc/xdr_rec.c: Likewise.
43998 * sunrpc/xdr_ref.c: Likewise.
43999 * sunrpc/xdr_sizeof.c: Likewise.
44000 * sunrpc/xdr_stdio.c: Likewise.
44001
b5c086a2
RM
440022012-05-10 Roland McGrath <roland@hack.frob.com>
44003
44004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44005 change. Update copyright years.
44006
6d74dd09
JM
440072012-05-10 Joseph Myers <joseph@codesourcery.com>
44008
44009 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44010
28e72501
MK
440112012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44012 Joseph Myers <joseph@codesourcery.com>
44013 Paul Pluzhnikov <ppluzhnikov@google.com>
44014
44015 [BZ #14012]
44016 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44017 requiring rpcgen.
44018 [cross-compiling] (extra-libs): Likewise.
44019 [cross-compiling] (extra-libs-others): Likewise.
44020 [cross-compiling] (librpcsvc-routines): Likewise.
44021 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44022 [cross-compiling] (omit-deps): Likewise.
44023 (sunrpc-CPPFLAGS): New variable.
44024 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44025 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44026 (cross-rpcgen-objs): New variable.
44027 (extra-objs): Append $(cross-rpcgen-objs).
44028 ($(cross-rpcgen-objs)): New rule.
44029 ($(objpfx)cross-rpcgen): Likewise.
44030 (rpcgen-cmd): Define to use $(built-program-file). Expand
44031 comment.
44032 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44033 ($(objpfx)x%.stmp): Likewise.
44034 * sunrpc/proto.h [IS_IN_build] (_): Define.
44035 [IS_IN_build] (_libc_intl_domainname): Likewise.
44036
c8c59454
L
440372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44038
44039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44040 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44041 and R_X86_64_TPOFF64.
44042
6f27cd16
JM
440432012-05-10 Joseph Myers <joseph@codesourcery.com>
44044
44045 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44046 sysdeps/unix/sysv/syscalls.list.
44047 (stime): Likewise.
44048 (utime): Likewise.
44049 * sysdeps/unix/sysv/syscalls.list: Remove file.
44050
02467e1c
PE
440512012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44052
44053 [BZ #3440]
44054 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44055 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44056 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44057 (__LC_IDENTIFICATION): Make these macros useful in #if
44058 expressions, as required by C99.
44059
da392631
AS
440602012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44061
44062 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44063 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44064 after this.
44065
8115f29b
L
440662012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44067
44068 * stdlib/longlong.h: Updated from GCC.
44069
bdd74070
AJ
440702012-05-09 Andreas Jaeger <aj@suse.de>
44071
edfe0dbe
AJ
44072 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44073 default is first entry.
44074 (run_mode): Set type.
44075 (main): Remove informal message about syslog.
44076 (options): Fix typo.
44077
bcfe3a54
ST
44078 [BZ #14053]
44079 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44080 to asm.
bcfe3a54
ST
44081 (lrint): Likewise.
44082 (llrintf): Likewise.
44083 (llrint): Likewise.
44084 (rint): Likewise.
44085 (rintf): Likewise.
44086 (nearbyint): Likewise.
44087 (nearbyintf): Likewise.
bdd74070 44088
91d8d69e
AJ
440892012-05-09 Andreas Jaeger <aj@suse.de>
44090 Pedro Alves <palves@redhat.com>
44091
44092 * nscd/nscd.c (run_mode): Use enum.
44093 (main): Cleanup coding style issue.
44094
bb90b80b
AJ
440952012-05-09 Alexandre Oliva <aoliva@redhat.com>
44096 Andreas Jaeger <aj@suse.de>
44097
bcfe3a54
ST
44098 * nscd/nscd.c (go_background): Replaced with...
44099 (run_mode): ... this.
bb90b80b 44100 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44101 (options): Add -F --foreground.
44102 (main): Implement it.
44103 (parse_opt): Parse it.
bb90b80b 44104
1a4b75a1
AJ
441052012-05-09 Andreas Jaeger <aj@suse.de>
44106
44107 [BZ #14083]
44108 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44109 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44110 -Wconversion warning.
44111 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44112 Likewise.
44113
b1cc2472
JM
441142012-05-09 Joseph Myers <joseph@codesourcery.com>
44115
44116 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44117 == 0.
44118 (LC_ALL): Use macro-int-constant.
44119 (LC_COLLATE): Likewise.
44120 (LC_CTYPE): Likewise.
44121 (LC_MESSAGES): Likewise.
44122 (LC_MONETARY): Likewise.
44123 (LC_NUMERIC): Likewise.
44124 (LC_TIME): Likewise.
44125 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44126 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44127 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44128 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44129 Specify type.
44130 [C99-based standards] (float_t): Expect type.
44131 [C99-based standards] (double_t): Expect type.
44132 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44133 type.
44134 [C99-based standards] (HUGE_VALL): Likewise.
44135 [C99-based standards] (INFINITY): Likewise.
44136 [C99-based standards] (NAN): Likewise.
44137 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44138 [C99-based standards] (FP_NAN): Likewise.
44139 [C99-based standards] (FP_NORMAL): Likewise.
44140 [C99-based standards] (FP_SUBNORMAL): Likewise.
44141 [C99-based standards] (FP_ZERO): Likewise.
44142 [C99-based standards] (FP_FAST_FMA): Use
44143 optional-macro-int-constant. Specify type. Require == 1.
44144 [C99-based standards] (FP_FAST_FMAF): Likewise.
44145 [C99-based standards] (FP_FAST_FMAL): Likewise.
44146 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44147 [C99-based standards] (FP_ILOGBNAN): Likewise.
44148 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44149 Specify type.
44150 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44151 [C99-based standards] (math_errhandling): Specify type.
44152 [ISO99 || ISO11] (signgam): Do not allow.
44153 [non-C99-based standards] (copysignf): Do not allow.
44154 [non-C99-based standards] (exp2f): Likewise.
44155 [non-C99-based standards] (log2f): Likewise.
44156 [non-C99-based standards] (modff): Allow.
44157 [non-C99-based standards] (erff): Do not allow.
44158 [non-C99-based standards] (erfcf): Likewise.
44159 [non-C99-based standards] (gammaf): Likewise.
44160 [non-C99-based standards] (hypotf): Likewise.
44161 [non-C99-based standards] (j0f): Likewise.
44162 [non-C99-based standards] (j1f): Likewise.
44163 [non-C99-based standards] (jnf): Likewise.
44164 [non-C99-based standards] (lgammaf): Likewise.
44165 [non-C99-based standards] (tgammaf): Likewise.
44166 [non-C99-based standards] (y0f): Likewise.
44167 [non-C99-based standards] (y1f): Likewise.
44168 [non-C99-based standards] (ynf): Likewise.
44169 [non-C99-based standards] (isnanf): Likewise.
44170 [non-C99-based standards] (acoshf): Likewise.
44171 [non-C99-based standards] (asinhf): Likewise.
44172 [non-C99-based standards] (atanhf): Likewise.
44173 [non-C99-based standards] (cbrtf): Likewise.
44174 [non-C99-based standards] (expm1f): Likewise.
44175 [non-C99-based standards] (ilogbf): Likewise.
44176 [non-C99-based standards] (log1pf): Likewise.
44177 [non-C99-based standards] (logbf): Likewise.
44178 [non-C99-based standards] (nextafterf): Likewise.
44179 [non-C99-based standards] (remainderf): Likewise.
44180 [non-C99-based standards] (rintf): Likewise.
44181 [non-C99-based standards] (scalbf): Likewise.
44182 [non-C99-based standards] (copysignl): Likewise.
44183 [non-C99-based standards] (exp2l): Likewise.
44184 [non-C99-based standards] (log2l): Likewise.
44185 [non-C99-based standards] (modfl): Allow.
44186 [non-C99-based standards] (erfl): Do not allow.
44187 [non-C99-based standards] (erfcl): Likewise.
44188 [non-C99-based standards] (gammal): Likewise.
44189 [non-C99-based standards] (hypotl): Likewise.
44190 [non-C99-based standards] (j0l): Likewise.
44191 [non-C99-based standards] (j1l): Likewise.
44192 [non-C99-based standards] (jnl): Likewise.
44193 [non-C99-based standards] (lgammal): Likewise.
44194 [non-C99-based standards] (tgammal): Likewise.
44195 [non-C99-based standards] (y0l): Likewise.
44196 [non-C99-based standards] (y1l): Likewise.
44197 [non-C99-based standards] (ynl): Likewise.
44198 [non-C99-based standards] (isnanl): Likewise.
44199 [non-C99-based standards] (acoshl): Likewise.
44200 [non-C99-based standards] (asinhl): Likewise.
44201 [non-C99-based standards] (atanhl): Likewise.
44202 [non-C99-based standards] (cbrtl): Likewise.
44203 [non-C99-based standards] (expm1l): Likewise.
44204 [non-C99-based standards] (ilogbl): Likewise.
44205 [non-C99-based standards] (log1pl): Likewise.
44206 [non-C99-based standards] (logbl): Likewise.
44207 [non-C99-based standards] (nextafterl): Likewise.
44208 [non-C99-based standards] (remainderl): Likewise.
44209 [non-C99-based standards] (rintl): Likewise.
44210 [non-C99-based standards] (scalbl): Likewise.
44211 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44212 [non-C99-based standards] (FP_*): Do not allow.
44213 [C99-based standards] (FP_*): Change to
44214 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44215 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44216 allow.
44217 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44218 (SIG_ERR): Likewise.
44219 [X/Open-based standards] (SIG_HOLD): Likewise.
44220 (SIG_IGN): Likewise.
44221 (SIGABRT): Use macro-int-constant. Specify type. Require
44222 positive value.
44223 (SIGFPE): Likewise.
44224 (SIGILL): Likewise.
44225 (SIGINT): Likewise.
44226 (SIGSEGV): Likewise.
44227 (SIGTER): Likewise.
44228 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44229 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44230 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44231 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44232 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44233 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44234 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44235 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44236 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44237 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44238 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44239 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44240 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44241 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44242 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44243 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44244 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44245 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44246 [X/Open-based standards] (SIGTRAP): Likewise.
44247 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44248 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44249 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44250 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44251 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44252 allow.
44253
b9f1922d
IW
442542012-05-08 Ian Wienand <ianw@vmware.com>
44255
44256 [BZ #14080]
44257 * time/tzset.c (__tzset_parse_tz): Update default rules for
44258 daylight time changes in the Energy Policy Act of 2005.
44259
1db86e88
AJ
442602012-05-09 Andreas Jaeger <aj@suse.de>
44261
44262 [BZ #13983]
44263 * elf/ldconfig.c (parse_conf): Change string to make clear that
44264 ldconfig only issued a warning if ld.so.conf does not exist.
44265
dee4a4e3
DM
442662012-05-08 David S. Miller <davem@davemloft.net>
44267
ee0db190
DM
44268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44269 movxtod instead of popping the value on the stack.
44270
dee4a4e3
DM
44271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44272
6a43ec98
CD
442732012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44274
44275 * config.h.in: Add HAVE_ARM_PCS_VFP.
44276
05c2c961
RMG
442772012-05-08 Roland Mc Grath <roland@hack.frob.com>
44278
bcfe3a54
ST
44279 [BZ #13979]
44280 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44281 checking but the checks are disabled for any reason.
05c2c961 44282
4b30f61a
L
442832012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44284
44285 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44286 and ELF64_R_TYPE with ELFW(R_TYPE).
44287
eee2bc67
JM
442882012-05-08 Joseph Myers <joseph@codesourcery.com>
44289
7ea5391a
JM
44290 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44291 (ulimit): Likewise.
44292
eee2bc67
JM
44293 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44294 (settimeofday): Likewise.
44295
abb66a67
MF
442962012-05-08 Mike Frysinger <vapier@gentoo.org>
44297
44298 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44299 a struct th_u2 inside the union, and move tu_block/tu_code into
44300 a new th_u3 union of tu_block/tu_code inside of that. Move
44301 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44302 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44303 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44304 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44305 (th_stuff): Change to th_u1.tu_stuff.
44306 (th_data): Define.
44307 (th_msg): Change to th_u1.th_u2.tu_data.
44308
7f18b530
DM
443092012-05-07 David S. Miller <davem@davemloft.net>
44310
05760585
DM
44311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44312
7f18b530
DM
44313 [BZ #14074]
44314 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44315 (SETUP_PIC_REG): Use it.
44316 (SETUP_PIC_REG_LEAF): Use it.
44317
495fd99f
JM
443182012-05-07 Joseph Myers <joseph@codesourcery.com>
44319
44320 [BZ #13885]
44321 [BZ #13923]
44322 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44323 USE_AS_EXPM1L.
44324 (EXPL_FINITE): Likewise.
44325 (FLDLOG): Likewise.
44326 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44327 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44328 e_expl.S.
44329 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44330 USE_AS_EXPM1L.
44331 (EXPL_FINITE): Likewise.
44332 (FLDLOG): Likewise.
44333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44334 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44335 e_expl.S.
44336 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44337 test of -max_value argument for long double.
44338 * sysdeps/i386/fpu/libm-test-ulps: Update.
44339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44340
6693d694
DM
443412012-05-06 David S. Miller <davem@davemloft.net>
44342
44343 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44344 quad soft-float symbols whose references which are compiler
44345 generated.
44346 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44347
6c23e11c
JM
443482012-05-06 Joseph Myers <joseph@codesourcery.com>
44349
d8b82cad
JM
44350 [BZ #13884]
44351 [BZ #13914]
44352 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44353 USE_AS_EXP10L.
44354 (EXPL_FINITE): Likewise.
44355 (FLDLOG): Likewise.
44356 (c0): Likewise.
44357 (c1): Likewise.
44358 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44359 Adjust comments for base varying.
44360 (__expl_finite): Change alias to EXPL_FINITE.
44361 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44362 e_expl.S.
44363 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44364 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44365 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44366 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44368 USE_AS_EXP10L.
44369 (EXPL_FINITE): Likewise.
44370 (FLDLOG): Likewise.
44371 (c0): Likewise.
44372 (c1): Likewise.
44373 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44374 Adjust comments for base varying.
44375 (__expl_finite): Change alias to EXPL_FINITE.
44376 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44377 tests for bugs.
44378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44379
6c23e11c
JM
44380 [BZ #14064]
44381 * math/libm-test.inc (check_float_internal): Correct ulp
44382 calculation for subnormal expected results.
44383
29ba805c
AJ
443842012-05-06 Andreas Jaeger <aj@suse.de>
44385
44386 * Makeconfig (+math-flags): New, set to -frounding-math.
44387 (+cflags): Add +math-flags so that all of glibc gets compiled with
44388 it.
44389
44390 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44391
7b17aeda
JM
443922012-05-05 Joseph Myers <joseph@codesourcery.com>
44393
5779f134
JM
44394 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44395 Disable one test.
44396
41498f4d
JM
44397 [BZ #13787]
44398 [BZ #13922]
44399 [BZ #14036]
44400 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44401 (__ieee754_expl): Allow for and saturate large arguments.
44402 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44403 (u_threshold): Likewise.
44404 (__exp): Call __ieee754_exp before checking for overflow and
44405 underflow.
44406 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44407 (u_threshold): Likewise.
44408 (__expf): Call __ieee754_expf before checking for overflow and
44409 underflow.
44410 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44411 (u_threshold): Likewise.
44412 (__expl): Call __ieee754_expl before checking for overflow and
44413 underflow.
44414 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44415 (__ieee754_expl): Allow for and saturate large arguments.
44416 * math/libm-test.inc (exp_test): Add another test. Do not allow
44417 missing overflow exception on overflow.
44418 (expm1_test): Do not allow missing overflow exception on overflow.
44419
6698b8bf
JM
44420 * sysdeps/i386/fpu/e_expl.c: Move to ...
44421 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44422 rather than using inline asm.
44423 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44424 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44425 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44426
7b17aeda
JM
44427 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44428 (nice): Likewise.
44429 (poll): Likewise.
44430 (signal): Likewise.
44431 (time): Likewise.
44432 (times): Likewise.
44433
f7c85819
JM
444342012-05-04 Joseph Myers <joseph@codesourcery.com>
44435
44436 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44437 sysdeps/unix/common/syscalls.list.
44438 (fchmod): Likewise.
44439 (fchown): Likewise.
44440 (ftruncate): Likewise.
44441 (getrusage): Likewise.
44442 (gettimeofday): Likewise.
44443 (setpgid): Likewise.
44444 (setregid): Likewise.
44445 (setreuid): Likewise.
44446 (sigaction): Likewise.
44447 (truncate): Likewise.
44448 (vhangup): Likewise.
44449 * sysdeps/unix/common/syscalls.list: Remove file.
44450 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44451 * sysdeps/unix/sysv/linux/Implies: Likewise.
44452
336270d0
L
444532012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44454
44455 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44457 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44458 Moved to ...
44459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44460 Here.
44461 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44462 to ...
44463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44464 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44465 to ...
44466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44467 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44468 to ...
44469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44470 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44471 to ...
44472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44473 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44474 to ...
44475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44476 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44477 to ...
44478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44479 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44480 to ...
44481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44482 Here.
44483 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44484 to ...
44485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44486 Here.
44487 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44488 to ...
44489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44490 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44491 Moved to ...
44492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44493 Here.
44494 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44495 to ...
44496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44497
d128e450
JM
444982012-05-04 Joseph Myers <joseph@codesourcery.com>
44499
fa8ee516
JM
44500 * sysdeps/unix/common/bits/dirent.h: Remove file.
44501 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44502
d128e450
JM
44503 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44504 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44505 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44506 * sysdeps/unix/bsd/isatty.c: Likewise.
44507 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44508 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44509 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44510
ff8faaf0 445112012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44512
62881be4 44513 [BZ #13563]
31dc8730
AZ
44514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44515 long double comparison inaccuracies.
44516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44518
6fef930c
AS
445192012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44520
44521 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44522 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44523
8f203e6c
JM
445242012-05-04 Joseph Myers <joseph@codesourcery.com>
44525
44526 [BZ #14049]
44527 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44528 nonzero digits before rounding a hex value.
44529 * stdlib/tst-strtod.c (tests): Add another test.
44530
5197d9c2
AK
445312012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44532
44533 * sysdeps/s390/fpu/libm-test-ulps: Update.
44534
f0c1dedf
AJ
445352012-05-03 Andreas Jaeger <aj@suse.de>
44536
44537 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44538 does not get optimized out.
44539 (malloc_opt_barrier): New.
44540
a65ef2ae 445412012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44542 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44543
2b942cb7 44544 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44545 intermediate file deletion.
2b942cb7 44546 (generated): Add .symlist files.
a65ef2ae 44547
54b71e02
JM
445482012-05-03 Joseph Myers <joseph@codesourcery.com>
44549
44550 [BZ #13775]
44551 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44552 Redirect under this condition.
44553 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44554 [__USE_GNU] (__dprintf_chk): Not under this condition.
44555 [__USE_GNU] (__vdprintf_chk): Likewise.
44556 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44557 under this condition.
44558 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44559 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44560 [__USE_XOPEN2K8] (vdprintf): Likewise.
44561 [__USE_GNU] (__dprintf_chk): Not under this condition.
44562 [__USE_GNU] (__vdprintf_chk): Likewise.
44563 [__USE_GNU] (dprintf): Likewise.
44564 [__USE_GNU] (vdprintf): Likewise.
44565
d3dfcc41
RM
445662012-05-03 Roland McGrath <roland@hack.frob.com>
44567
44568 * elf/Makefile (common-generated): Set this instead of generated for
44569 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44570 $(all-built-dso)-derived lists.
44571
7ac30cc5
AJ
445722012-05-03 Andreas Jaeger <aj@suse.de>
44573
0c51e550
AJ
44574 * sysdeps/i386/fpu/libm-test-ulps: Update.
44575
7ac30cc5
AJ
44576 * FAQ: Removed.
44577 * FAQ.in: Likewise.
44578 * scripts/gen-FAQ.pl: Likewise.
44579 * manual/install.texi (Installation): Point to online location of
44580 FAQ.
44581 * Makefile (files-for-dist): Remove FAQ.
44582 (FAQ): Remove.
44583
d4c2917f
AM
445842012-05-02 Allan McRae <allan@archlinux.org>
44585
44586 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44587 (LDFLAGS-reldepmod5.so): Likewise.
44588 (LDFLAGS-reldep6mod1.so): Likewise.
44589 (LDFLAGS-reldep6mod4.so): Likewise.
44590 (LDFLAGS-reldep8mod3.so): Likewise.
44591 (LDFLAGS-unload4mod1.so): Likewise.
44592 (LDFLAGS-unload4mod2.so): Likewise.
44593 (LDFLAGS-tst-initorder): Likewise.
44594 (LDFLAGS-tst-initordera2.so): Likewise.
44595 (LDFLAGS-tst-initordera3.so): Likewise.
44596 (LDFLAGS-tst-initordera4.so): Likewise.
44597 (LDFLAGS-tst-initorderb2.so): Likewise.
44598 (LDFLAGS-noload): Likewise.
44599 (LDFLAGS-next): Likewise.
44600 (LDFLAGS-order2mod1.so): Likewise.
44601 (LDFLAGS-order2mod2.so): Likewise.
44602 (LDFLAGS-tst-initorder2): Likewise.
44603 (LDFLAGS-tst-initorder2a.so): Likewise.
44604 (LDFLAGS-tst-initorder2b.so): Likewise.
44605 (LDFLAGS-tst-initorder2c.so): Likewise.
44606 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44607
d77f993f
DM
446082012-05-02 David S. Miller <davem@davemloft.net>
44609
44610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44611
171a70b4
PP
446122012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44613
44614 [BZ #14055]
44615 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44616
0be196ad
AJ
446172012-05-02 Andreas Jaeger <aj@suse.de>
44618
44619 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44620 since we manipulate rounding mode.
44621 (CPPFLAGS-test-idouble.c): Likewise.
44622 (CPPFLAGS-test-ifloat.c): Likewise.
44623 (CFLAGS-test-ldouble.c): Likewise.
44624 (CFLAGS-test-double.c): Likewise.
44625 (CFLAGS-test-float.c): Likewise.
44626 (CFLAGS-test-misc.c): Likewise.
44627 (CFLAGS-test-test-fenv.c): Likewise.
44628
4f9d04aa
AZ
446292012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44630
2b942cb7
RM
44631 [BZ #2550]
44632 [BZ #2570]
44633 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44634 comparisons to determine direction to adjust input.
4f9d04aa 44635
82a79e7d
RM
446362012-05-01 Roland McGrath <roland@hack.frob.com>
44637
f5a01ca9
RM
44638 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44639 output to the target.
44640
90fe4186
RM
44641 * scripts/localplt.awk: New file.
44642 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44643 (check-localplt-CFLAGS): Variable removed.
44644 ($(all-built-dso:=.jmprel)): New static pattern rule.
44645 (generated): Add those targets.
44646 (localplt-built-dso): New variable.
44647 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44648
44649 * elf/check-localplt.c: File removed.
44650
82397ed6
RM
44651 * scripts/check-execstack.awk: New file.
44652 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44653 (check-execstack-CFLAGS): Variable removed.
44654 ($(objpfx)check-execstack.h): Target removed.
44655 ($(objpfx)execstack-default): New target.
44656 (generated): Add that instead of check-execstack.h.
44657 ($(all-built-dso:=.phdr)): New static pattern rule.
44658 (generated): Add those targets.
44659 * elf/check-execstack.c: File removed.
44660
82a79e7d
RM
44661 * scripts/check-textrel.awk: New file.
44662 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44663 (check-textrel-CFLAGS): Variable removed.
44664 (all-built-dso): Use := to define.o
44665 ($(all-built-dso:=.dyn)): New static pattern rule.
44666 (generated): Add those targets.
44667 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44668 * config.make.in (READELF): New substituted variable.
44669 * elf/check-textrel.c: File removed.
44670
62fde54f 446712012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44672
615605c9
JM
44673 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44674 allow.
44675 * conform/data/ctype.h-data [C99-based standards] (isblank):
44676 Expect function.
44677 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44678 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44679 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44680 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44681 Specify type. Require positive value.
44682 (EILSEQ): Likewise.
44683 (ERANGE): Likewise.
44684 [ISO || POSIX] (EILSEQ): Do not expect.
44685 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44686 Specify type. Require positive value.
44687 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44688 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44689 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44690 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44691 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44692 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44693 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44694 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44695 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44696 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44697 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44698 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44699 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44700 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44701 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44702 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44703 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44704 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44705 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44706 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44707 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44708 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44709 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44710 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44711 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44712 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44713 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44714 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44715 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44716 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44717 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44718 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44719 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44720 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44721 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44722 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44723 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44724 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44725 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44726 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44727 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44728 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44729 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44730 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44731 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44732 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44733 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44734 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44735 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44736 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44737 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44738 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44739 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44740 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44741 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44742 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44743 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44744 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44745 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44746 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44747 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44748 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44749 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44750 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44751 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44752 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44753 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44754 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44755 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44756 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44757 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44758 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44759 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44760 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44761 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44762 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44763 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44764 Require >= 2.
44765 (FLT_ROUNDS): Expect as macro, not constant.
44766 (FLT_MANT_DIG): Use macro-int-constant.
44767 (DBL_MANT_DIG): Likewise.
44768 (LDBL_MANT_DIG): Likewise.
44769 (FLT_DIG): Likewise.
44770 (DBL_DIG): Likewise.
44771 (LDBL_DIG): Likewise.
44772 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44773 (DBL_MIN_EXP): Likewise.
44774 (LDBL_MIN_EXP): Likewise.
44775 (FLT_MAX_EXP): Use macro-int-constant.
44776 (DBL_MAX_EXP): Likewise.
44777 (LDBL_MAX_EXP): Likewise.
44778 (FLT_MAX_10_EXP): Likewise.
44779 (DBL_MAX_10_EXP): Likewise.
44780 (LDBL_MAX_10_EXP): Likewise.
44781 (FLT_MAX): Use macro-constant.
44782 (DBL_MAX): Likewise.
44783 (LDBL_MAX): Likewise.
44784 (FLT_EPSILON): Use macro-constant. Give upper bound.
44785 (DBL_EPSILON): Likewise.
44786 (LDBL_EPSILON): Likewise.
44787 (FLT_MIN): Likewise.
44788 (DBL_MIN): Likewise.
44789 (LDBL_MIN): Likewise.
44790 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44791 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44792 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44793 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44794 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44795 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44796 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44797 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44798 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44799 [ISO11] (FLT_TRUE_MIN): Likewise.
44800 [ISO11] (LDBL_TRUE_MIN): Likewise.
44801 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44802 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44803 (SCHAR_MIN): Use macro-int-constant. Specify type.
44804 (SCHAR_MAX): Likewise.
44805 (UCHAR_MAX): Likewise.
44806 (CHAR_MIN): Likewise.
44807 (CHAR_MAX): Likewise.
44808 (MB_LEN_MAX): Use macro-int-constant.
44809 (SHRT_MIN): Use macro-int-constant. Specify type.
44810 (SHRT_MAX): Likewise.
44811 (USHRT_MAX): Likewise.
44812 (INT_MAX): Likewise.
44813 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44814 bound negative.
44815 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44816 bound with "U".
44817 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44818 bound with "L".
44819 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44820 bound negative. Suffix upper bound with "L".
44821 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44822 bound with "UL".
44823 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44824 Specify type.
44825 [C99-based standards] (LLONG_MAX): Likewise.
44826 [C99-based standards] (ULLONG_MAX): Likewise.
44827 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44828 == 0.
44829 [ISO11] (max_align_t): Require type.
44830 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44831
c9140a62
JM
44832 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44833 from $CFLAGS, without defining away __attribute__ calls.
44834 (checknamespace): Use $CFLAGS_namespace.
44835
9af0bf29
JM
44836 * conform/conformtest.pl (@keywords): Only include C99 keywords
44837 for standards based on C99 or C11.
44838
343222a2
JM
44839 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44840 Disable tests.
44841 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44842 UNIX98]: Likewise.
44843
661f8cf0
JM
44844 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44845 usability of symbols in #if.
44846
ee74b9cb
JM
44847 * conform/conformtest.pl: If macro or constant types start
44848 "promoted:", expect the symbol to be of the following type
44849 promoted by the integer promotions.
62fde54f 44850
aafc49b3
JM
44851 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44852 in one place. Also handle "macro-constant".
44853
fefdf574
JM
44854 * conform/conformtest.pl: Only accept expected macro values with
44855 "==". Parse all "macro" lines in one place.
44856 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44857
f2d922fe
JM
44858 * conform/conformtest.pl: Handle braced types on "constant" lines
44859 instead of handling "typed-constant".
44860 * conform/data/signal.h-data: Use "constant" instead of
44861 "typed-constant".
44862
d22956c9
JM
44863 * conform/conformtest.pl: Handle "optional-" at start of lines in
44864 one place rather than duplicating several cases. Handle each
44865 format of "macro" line with initial "optional-".
44866
028e2e38
JM
44867 * conform/conformtest.pl: Only accept expected constant or
44868 optional-constant values with "==". Parse all "constant" lines in
44869 one place. Parse all "optional-constant" lines in one place.
44870 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44871 * conform/data/fmtmsg.h-data: Likewise.
44872 * conform/data/netinet/in.h-data: Likewise.
44873 * conform/data/tar.h-data: Likewise.
44874 * conform/data/limits.h-data: Use "==" form on "constant" and
44875 "optional-constant" lines.
44876
1b8f2850
JM
44877 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44878 Use -std=c99 for XOPEN2K.
44879 (@knownproblems): Remove.
44880 (newtoken): Don't check %isknown.
44881
a05a144b
JM
44882 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44883 Do not expect macro.
44884 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44885 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44886 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44887 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44888 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44889 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44890 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44891 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44892 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44893 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44894 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44895 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44896 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44897 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44898 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44899 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44900 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44901 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44902 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44903 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44904 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44905 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44906 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44907 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44908 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44909 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44910 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44911 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44912 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44913 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44914 [XPG3] (acosh): Likewise.
44915 [XPG3] (asinh): Likewise.
44916 [XPG3] (atanh): Likewise.
44917 [XPG3] (cbrt): Likewise.
44918 [XPG3] (expm1): Likewise.
44919 [XPG3] (ilogb): Likewise.
44920 [XPG3] (log1p): Likewise.
44921 [XPG3] (logb): Likewise.
44922 [XPG3] (nextafter): Likewise.
44923 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44924 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44925 [XPG3] (remainder): Likewise.
44926 [XPG3] (rint): Likewise.
44927 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44928 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44929 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44930 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44931 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44932 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44933 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44934 [UNIX98 || XOPEN2K] (scalb): Expect.
44935 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44936 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44937 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44938 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44939 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44940 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44941 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44942 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44943 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44944 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44945 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44946 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44947 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44948 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44949 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44950 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44951 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44952 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44953 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44954 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44955 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44956 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44957 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44958 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44959 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44960 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44961 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44962 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44963 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44964 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44965 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44966 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44967 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44968 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44969 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44970 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44971 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44972 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44973 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44974 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44975 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44976 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44977 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44978 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44979 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44980 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44981 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44982 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44983 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44984 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44985 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44986 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44987 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44988 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44989 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44990 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44991 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44992 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44993 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44994 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44995 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44996 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44997 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44998 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44999 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45000 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45001 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45002 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45003 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45004 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45005 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45006 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45007 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45008 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45009 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45010 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45011 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45012 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45013 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45014 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45015 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45016 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45017 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45018 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45019 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45020 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45021 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45022 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45023 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45024 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45025 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45026 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45027 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45028 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45029 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45030 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45031 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45032 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45033 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45034 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45035 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45036 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45037 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45038 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45039 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45040 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45041 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45042 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45043 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45044 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45045 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45046 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45047 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45048 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45049 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45050 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45051 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45052 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45053 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45054 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45055 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45056 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45057 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45058 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45059 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45060 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45061 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45062 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45063 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45064 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45065 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45066 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45067 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45068 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45069 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45070 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45071 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45072
73c5ebe3
JM
45073 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45074 _XOPEN_SOURCE_EXTENDED for XPG4.
45075
39c33b6c
JM
45076 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45077
62fde54f
JM
45078 * Makeconfig (localtime): Remove variable.
45079 (inst_localtime-file): Likewise.
45080
0741d64c
AS
450812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45082
45083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45084 Update.
45085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45086 Update.
45087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45088 Update.
45089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45090 Update.
45091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45092 Update.
45093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45094 Update.
45095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45096 Update.
45097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45098 Update.
45099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45100 Update.
45101
7cb029ee
JM
451022012-05-01 Joseph Myers <joseph@codesourcery.com>
45103
45104 [BZ #2550]
45105 [BZ #2570]
45106 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45107 comparisons to determine direction to adjust input.
45108 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45109 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45110 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45111 Likewise.
45112 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45113 Likewise.
45114 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45115 Likewise.
45116 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45117 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45118 Likewise.
45119 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45120 Likewise.
45121 * math/libm-test.inc (nexttoward_test): Add more tests.
45122
412bd966
AS
451232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45124
45125 [BZ #14040]
45126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45127 in version GLIBC_2.1, not GLIBC_2.0.
45128 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45129 Likewise.
45130
9568c0c2
JM
451312012-04-30 Joseph Myers <joseph@codesourcery.com>
45132
adfbc8ac
JM
45133 [BZ #13942]
45134 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45135 (1 - x) * (1 + x).
45136 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45137 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45138 * math/libm-test.inc (acos_test): Add more tests.
45139 (asin_test): Likewise.
45140 * sysdeps/i386/fpu/libm-test-ulps: Update.
45141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45142
5ba3cc69
JM
45143 [BZ #14034]
45144 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45145 of square root.
45146 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45147 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45148 * math/libm-test.inc (acos_test_tonearest): New function.
45149 (acos_test_towardzero): Likewise.
45150 (acos_test_downward): Likewise.
45151 (acos_test_upward): Likewise.
45152 (asin_test_tonearest): Likewise.
45153 (asin_test_towardzero): Likewise.
45154 (asin_test_downward): Likewise.
45155 (asin_test_upward): Likewise.
45156 (main): Call the new functions.
45157 * sysdeps/i386/fpu/libm-test-ulps: Update.
45158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45159
9568c0c2
JM
45160 [BZ #13884]
45161 [BZ #13924]
45162 * math/e_exp10.c: Include <float.h>.
45163 (__ieee754_exp10): Handle underflow here rather than multiplying
45164 large negative argument by M_LN10.
45165 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45166 of __ieee754_expf.
45167 * math/e_exp10l.c: Include <float.h>.
45168 (__ieee754_exp10l): Handle underflow here rather than multiplying
45169 large negative argument by M_LN10l.
45170 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45171 spurious overflow exception on underflow.
45172
5ac3ea17
MP
451732012-04-29 Marek Polacek <polacek@redhat.com>
45174
45175 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45176 (__fortify_function): New macro.
45177 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45178 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45179 __extern_always_inline.
45180 * libio/bits/stdio2.h: Likewise.
45181 * libio/bits/stdio.h: Likewise.
45182 * string/string.h: Likewise.
45183 * string/bits/string3.h: Likewise.
45184 * include/stdio.h: Likewise.
45185 * stdlib/bits/stdlib.h: Likewise.
45186 * stdlib/stdlib.h: Likewise.
45187 * rt/bits/mqueue2.h: Likewise.
45188 * rt/mqueue.h: Likewise.
45189 * posix/bits/unistd.h: Likewise.
45190 * posix/unistd.h: Likewise.
45191 * io/bits/poll2.h: Likewise.
45192 * io/bits/fcntl2.h: Likewise.
45193 * io/fcntl.h: Likewise.
45194 * io/sys/poll.h: Likewise.
45195 * misc/bits/syslog.h: Likewise.
45196 * misc/bits/syslog-ldbl.h: Likewise.
45197 * misc/sys/syslog.h: Likewise.
45198 * socket/bits/socket2.h: Likewise.
45199 * socket/sys/socket.h: Likewise.
45200 * debug/tst-chk1.c: Likewise.
45201 * wcsmbs/bits/wchar2.h: Likewise.
45202 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45203 * wcsmbs/wchar.h: Likewise.
45204
ecf0ebfb
AJ
452052012-04-29 Andreas Jaeger <aj@suse.de>
45206
45207 * Makerules (tests): Remove enable-check-abi protection.
45208 (check-abi-warn): Remove.
45209 (check-abi-%): Remove check-abi-warn usage.
45210
45211 * configure.in: Remove check-abi configure option.
45212 * configure: Regenerated.
45213 * config.make.in (enable-check-abi): Remove.
45214
6d5c57fa
AS
452152012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45216
24c5d07e 45217 [BZ #14033]
ded5180a
AS
45218 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45219 double functions to double *_finite functions.
45220
7e0d315d
AS
45221 [BZ #13941]
45222 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45223 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45224 LDBL_MIN_EXP.
45225 * stdio-common/Makefile (tests): Add tst-sprintf3.
45226 * stdio-common/tst-sprintf3.c: New file.
45227
6d5c57fa
AS
45228 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45229 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45230
0749ff8b
JM
452312012-04-28 Joseph Myers <joseph@codesourcery.com>
45232
45233 * conform/conformtest.pl: Remove duplicate typed-constant
45234 handling.
45235
8dbd5d7b
DM
452362012-04-28 David S. Miller <davem@davemloft.net>
45237
45238 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45239 (check-abi-%): Remove AWK script prerequisite and explicit
45240 abilist directory.
45241 (check-abi): Rewrite to just diff the symlist with the abilist.
45242 (config-tls, config-abi-config): Delete, no longer used.
45243 (update-abi-%): Remove AWK script and explicit abilist directory.
45244 (update-abi): Rewrite to simply compare and conditionally copy the
45245 symlist and the sysdep abilist file. Remove update-abi-config
45246 checks.
45247 * abilist/ld.abilist: Remove.
45248 * abilist/libBrokenLocale.abilist: Remove.
45249 * abilist/libanl.abilist: Remove.
45250 * abilist/libcrypt.abilist: Remove.
45251 * abilist/libdl.abilist: Remove.
45252 * abilist/librt.abilist: Remove.
45253 * abilist/libthread_db.abilist: Remove.
45254 * abilist/libutil.abilist: Remove.
45255 * scripts/extract-abilist.awk: Remove.
45256 * scripts/merge-abilist.awk: Remove.
45257 * sysdeps/generic/libcidn.abilist: New file.
45258 * sysdeps/generic/libnss_compat.abilist: New file.
45259 * sysdeps/generic/libnss_db.abilist: New file.
45260 * sysdeps/generic/libnss_dns.abilist: New file.
45261 * sysdeps/generic/libnss_files.abilist: New file.
45262 * sysdeps/generic/libnss_hesiod.abilist: New file.
45263 * sysdeps/generic/libnss_nis.abilist: New file.
45264 * sysdeps/generic/libnss_nisplus.abilist: New file.
45265 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45266 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45267 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45268 file.
45269 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45270 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45271 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45272 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45273 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45274 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45275 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45276 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45277 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45278 file.
45279 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45280 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45281 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45282 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45283 file.
45284 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45285 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45286 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45287 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45288 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45289 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45290 file.
45291 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45292 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45293 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45294 file.
45295 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45297 New file.
45298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45299 New file.
45300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45301 New file.
45302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45303 New file.
45304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45305 New file.
45306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45307 New file.
45308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45309 New file.
45310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45311 New file.
45312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45313 New file.
45314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45315 New file.
45316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45317 New file.
45318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45319 New file.
45320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45321 New file.
45322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45323 file.
45324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45325 New file.
45326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45327 New file.
45328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45329 file.
45330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45331 New file.
45332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45333 New file.
45334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45335 file.
45336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45337 New file.
45338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45339 New file.
45340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45341 New file.
45342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45343 New file.
45344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45345 New file.
45346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45347 New file.
45348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45350 file.
45351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45352 New file.
45353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45354 file.
45355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45356 file.
45357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45358 file.
45359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45360 file.
45361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45362 file.
45363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45364 New file.
45365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45366 file.
45367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45368 file.
45369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45370 New file.
45371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45372 file.
45373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45375 file.
45376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45377 New file.
45378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45379 file.
45380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45381 file.
45382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45383 file.
45384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45385 file.
45386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45387 file.
45388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45389 New file.
45390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45391 file.
45392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45393 file.
45394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45395 New file.
45396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45397 file.
45398 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45399 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45400 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45401 file.
45402 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45403 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45404 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45405 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45406 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45407 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45408 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45409 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45410 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45411 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45414 file.
45415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45416 New file.
45417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45418 file.
45419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45420 file.
45421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45422 file.
45423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45424 file.
45425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45426 file.
45427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45428 New file.
45429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45430 New file.
45431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45432 file.
45433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45434 New file.
45435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45436 file.
45437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45439 file.
45440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45441 New file.
45442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45443 file.
45444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45445 file.
45446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45447 file.
45448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45449 file.
45450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45451 file.
45452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45453 New file.
45454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45455 New file.
45456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45457 file.
45458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45459 New file.
45460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45461 file.
45462
41d73a1b
JM
454632012-04-28 Joseph Myers <joseph@codesourcery.com>
45464
45465 * conform/conformtest.pl: Fix typo in handling typed-constant from
45466 allow-header.
45467
28aeeda4
JM
454682012-04-27 Joseph Myers <joseph@codesourcery.com>
45469
adae8f5e
JM
45470 * README: Cut down references to pre-2.6 Linux kernels and
45471 Linuxthreads. Update lists of configurations in libc and ports
45472 and sort alphabetically. Say "or newer" with Linux kernel version
45473 requirements.
45474
28aeeda4
JM
45475 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45476
a462cb63
RA
454772012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45478
45479 [BZ #887]
45480 * math/libm-test.inc (logb_test_downward): New test to expose
45481 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45482 rounding mode.
45483
6ad3493e
JM
454842012-04-27 Joseph Myers <joseph@codesourcery.com>
45485
45486 [BZ #14027]
45487 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45488 to be done.
45489 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45490 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45491
2ce4f015
JM
454922012-04-26 Joseph Myers <joseph@codesourcery.com>
45493
5aeb141a
JM
45494 * sysdeps/unix/i386/brk.S: Remove file.
45495 * sysdeps/unix/i386/dl-brk.S: Likewise.
45496 * sysdeps/unix/i386/pipe.S: Likewise.
45497 * sysdeps/unix/i386/sigreturn.S: Likewise.
45498 * sysdeps/unix/i386/syscall.S: Likewise.
45499 * sysdeps/unix/i386/vfork.S: Likewise.
45500 * sysdeps/unix/i386/wait.S: Likewise.
45501
7143acae
JM
45502 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45503 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45504
2ce4f015
JM
45505 * configure.in (arm*-none*): Do not allow without
45506 --enable-hacker-mode.
45507 (netbsd*): Remove case setting base_os.
45508 (386bsd*): Likewise.
45509 (freebsd*): Likewise.
45510 (bsdi*): Likewise.
45511 (osf*): Likewise.
45512 (sunos*): Likewise.
45513 (ultrix*): Likewise.
45514 (newsos*): Likewise.
45515 (dynix*): Likewise.
45516 (*bsd*): Likewise.
45517 (sysv*): Likewise.
45518 (isc*): Likewise.
45519 (esix*): Likewise.
45520 (sco*): Likewise.
45521 (minix*): Likewise.
45522 (irix4*): Likewise.
45523 (irix6*): Likewise.
45524 (solaris[2-9]*): Likewise.
45525 (none): Likewise.
45526 * configure: Regenerated.
45527
0ac229c8
AZ
455282012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45529
45530 [BZ #11521]
45531 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45532 overflow or cancellation in calculating denominator.
45533 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45534 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45535 down expression to avoid unexpected rounding in newer GCCs.
45536 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45537
33f244f4
DM
455382012-04-26 David S. Miller <davem@davemloft.net>
45539
45540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45541 long-double compat symbols.
45542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45555
cfa1f3e8
DM
455562012-04-25 David S. Miller <davem@davemloft.net>
45557
45558 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45559 HWCAP_* values only after the memory barriers have been defined.
45560 (atomic_full_barrier): Define.
45561 (atomic_read_barrier): Define.
45562 (atomic_write_barrier): Define.
45563
6e236b92
SP
455642012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45565
45566 * shlib-versions: Add libgcc_s version information.
45567 * sysdeps/generic/libgcc_s.h: Remove.
45568 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45569 libgcc_s.h.
45570 * sysdeps/gnu/unwind-resume.c: Likewise.
45571 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45572
aab39a09
DM
455732012-04-25 David S. Miller <davem@davemloft.net>
45574
45575 * sysdeps/unix/sparc/brk.S: Delete.
45576 * sysdeps/unix/sparc/dl-brk.S: Delete.
45577 * sysdeps/unix/sparc/pipe.S: Delete.
45578 * sysdeps/unix/sparc/sysdep.S: Delete.
45579 * sysdeps/unix/sparc/sysdep.h: Delete.
45580 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45581 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45582 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45583 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45584 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45585 (JUMPTARGET): Remove.
45586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45587 sysdeps/unix/sparc/sysdep.h
45588 (ENTRY, END): Remove.
45589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45590
a3cc4f48
JM
455912012-04-25 Joseph Myers <joseph@codesourcery.com>
45592
2ed8cda2
JM
45593 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45594 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45595 -DIS_IN_build.
45596
35d76d59
JM
45597 * timezone/README: Update upstream location and email address for
45598 tzcode and tzdata.
45599 * timezone/zdump.c: Update from tzcode 2012b.
45600 * timezone/zic.c: Likewise.
45601
a3cc4f48
JM
45602 * configure.in (libc_cv_as_needed): Remove test.
45603 * configure: Regenerated.
45604 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45605 conditional definition.
45606 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45607 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45608 * config.make.in (have-as-needed): Remove variable.
45609
ceab42c3
SP
456102012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45611 Paul Pluzhnikov <ppluzhnikov@google.com>
45612
45613 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45614 strings correctly.
45615
3ce2865f
CLT
456162012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45617
45618 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45619 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45620 * sysdeps/sh/strlen.S: Likewise.
45621
f37e0d68
JM
456222012-04-24 Joseph Myers <joseph@codesourcery.com>
45623
ae186e9a
JM
45624 * sysdeps/unix/fork.S: Remove file.
45625 * sysdeps/unix/i386/fork.S: Likewise.
45626 * sysdeps/unix/sparc/fork.S: Likewise.
45627
b96914af
JM
45628 * sysdeps/unix/system.c: Remove file.
45629 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45630
f37e0d68
JM
45631 * sysdeps/unix/getegid.S: Remove file.
45632 * sysdeps/unix/geteuid.S: Likewise.
45633
87ef29ca
RM
456342012-04-24 Roland McGrath <roland@hack.frob.com>
45635
83bcd236
RM
45636 * scripts/check-localplt.awk: New file.
45637 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45638 of diff.
45639 * scripts/data/localplt-generic.data: Add a comment.
45640
87ef29ca
RM
45641 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45642 NODE when __dir_mkfile failed.
45643 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45644 Reported by Ludovic Courtès <ludo@gnu.org>.
45645
e5a6e567
AJ
456462012-04-24 Andreas Jaeger <aj@suse.de>
45647
45648 * Makerules (common-clean): Also remove gen-as-const-headers
45649 files.
45650
c1820385
JM
456512012-04-24 Joseph Myers <joseph@codesourcery.com>
45652
45653 * Makerules (native-compile): Do not change working directory for
45654 build. Use $(OUTPUT_OPTION) in command.
45655 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45656
94e02fc4
AZ
456572012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45658
45659 [BZ #13886]
45660 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45661 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45662 * math/libm-test.inc (floor_test): Add more tests.
45663 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45664
3a533ca3
JM
456652012-04-24 Joseph Myers <joseph@codesourcery.com>
45666
940ab4b3
JM
45667 * sysdeps/unix/getdents.c: Remove file.
45668 * sysdeps/unix/sysv/getdents.c: Likewise.
45669 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45670
90e037bd
JM
45671 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45672 sysdeps/unix/mman/syscalls.list.
45673 (mmap): Likewise.
45674 (mprotect): Likewise.
45675 (msync): Likewise.
45676 (munmap): Likewise.
45677 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45678 * sysdeps/unix/mman/syscalls.list: Remove.
45679 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45680
3a533ca3
JM
45681 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45682 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45683 * configure: Regenerated.
45684 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45685 $(libgcc_s_suffix).
45686 * config.make.in (libgcc_s_suffix): Remove variable.
45687
1ad743de
JM
456882012-04-23 Joseph Myers <joseph@codesourcery.com>
45689
4ad451e2
JM
45690 * sysdeps/unix/sysv/gethostname.c: Move to ...
45691 * sysdeps/posix/gethostname.c: ... here.
45692
5e37ce39
JM
45693 * sysdeps/unix/execve.S: Remove file.
45694
1ad743de
JM
45695 * sysdeps/unix/_exit.S: Remove file.
45696
4e681b5b
AJ
456972012-04-23 Andreas Jaeger <aj@suse.de>
45698
45699 [BZ #13739]
45700 * manual/Makefile: Remove make dist support, there's no
45701 need for a stand-alone documentation tar ball.
45702 (TEXI2DVI): Define always, it's not in Makeconfig.
45703 (dist): Removed.
45704 (tar-it): Removed.
45705 (edition): Removed.
45706 (glibc-doc-$(edition).tar): Removed
45707 (%.Z): Removed.
45708 (%.gz): Removed.
45709 (%.uu): Removed.
45710 (ETAGS): Remove, it's in Makeconfig.
45711 (move-if-change): Remove, it's in Makeconfig.
45712
38686a03 457132012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45714
45715 [BZ #13970]
45716 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45717 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45718 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45719 (strtod_l, strtof_l, strtold_l): Remove __wur.
45720 It is not necessarily an error to ignore strtol's return value.
45721 One can reliably look at the stored endptr to decide whether
45722 the number had valid syntax.
45723
7c0616fa
AJ
457242012-04-21 Andreas Jaeger <aj@suse.de>
45725
803cb6b7 45726 [BZ #13739]
7c0616fa
AJ
45727 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45728
b0fe253f
JM
457292012-04-21 Joseph Myers <joseph@codesourcery.com>
45730
45731 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45732 * sysdeps/unix/sysv/Versions: Remove file.
45733
8280f22d
MT
457342012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45735
45736 [BZ #13927]
45737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45738
75ce411f 457392012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45740
45741 [BZ #7064]
45742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45743 version from __vm86.
45744
097d59fa
JM
457452012-04-20 Joseph Myers <joseph@codesourcery.com>
45746
a90f3bcb
JM
45747 * sysdeps/unix/common/lxstat.c: Remove file.
45748 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45749
edc7ea78
JM
45750 * sysdeps/unix/sysv/Makefile: Remove file.
45751
cb78c221
JM
45752 * sysdeps/unix/sysv/direct.h: Remove file.
45753
efa6a45f
JM
45754 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45755 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45756 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45757 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45758 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45759 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45760 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45761
9c9f2d0c
JM
45762 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45763
4541c83b
JM
45764 * sysdeps/unix/xmknod.c: Remove file.
45765 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45766
f5d153a0
JM
45767 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45768
aa746595
JM
45769 * sysdeps/unix/sysv/i386/time.S: Remove file.
45770
cce5905e
JM
45771 * sysdeps/unix/fxstat.c: Remove file.
45772 * sysdeps/unix/xstat.c: Likewise.
45773 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45774
37fa3841
JM
45775 * sysdeps/unix/sysv/sigaction.c: Remove file.
45776
ff1962a3
JM
45777 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45778 (sysdep_headers): Remove variable.
45779 [termio.h not in sysdep_headers] (generated): Likewise.
45780 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45781 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45782 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45783 * sysdeps/unix/sysv/tcflow.c: Likewise.
45784 * sysdeps/unix/sysv/tcflush.c: Likewise.
45785 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45786 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45787 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45788 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45789 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45790
e7740d31
JM
45791 * sysdeps/unix/siglist.c: Remove file.
45792
ee06f18b
JM
45793 * sysdeps/unix/getppid.S: Remove file.
45794
097d59fa
JM
45795 * sysdeps/unix/mkdir.c: Remove file.
45796 * sysdeps/unix/rmdir.c: Likewise.
45797
ff3d51ec
AS
457982012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45799
45800 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45801 ERR_MAX value.
45802 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45803 errlist-compat value.
45804
50f81fd7
DM
458052012-04-18 David S. Miller <davem@davemloft.net>
45806
45807 * sysdeps/generic/memcopy.h (reg_char): Delete.
45808 * debug/strcat_chk.c: Use char, not reg_char.
45809 * debug/strcpy_chk.c: Likewise.
45810 * debug/strncat_chk.c: Likewise.
45811 * debug/strncpy_chk.c: Likewise.
45812 * string/memchr.c: Likewise.
45813 * string/memrchr.c: Likewise.
45814 * string/rawmemchr.c: Likewise.
45815 * string/strcat.c: Likewise.
45816 * string/strchr.c: Likewise.
45817 * string/strchrnul.c: Likewise.
45818 * string/strcmp.c: Likewise.
45819 * string/strcpy.c: Likewise.
45820 * string/strncat.c: Likewise.
45821 * string/strncmp.c: Likewise.
45822 * string/strncpy.c: Likewise.
45823
8ff41c46
WS
458242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45825
45826 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45827 __builtin_memcopy is called when src and dest ranges are known to not
45828 overlap.
45829
6b652f46
WS
458302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45831
45832 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45833 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45834 fwd_align_merge macro call.
45835 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45836 bwd_align_merge macro call.
45837 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45838
b282631e
WS
458392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45840
45841 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45842 bwd_align_merge macros.
45843 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45844 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45845 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45846
95aa737c
DM
458472012-04-18 David S. Miller <davem@davemloft.net>
45848
45849 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45850
7a99a614
AJ
458512012-04-18 Andreas Jaeger <aj@suse.de>
45852
45853 [BZ# 6794]
45854 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45855 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45856 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45857
45858 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45859 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45860 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45861
45862 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45863 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45864 Adjust for changed ldbl-128 files.
45865
45866 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45867 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45868 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45869
e5270c23
DM
458702012-04-17 David S. Miller <davem@davemloft.net>
45871
45872 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45873
fb5e92c9
AS
458742012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45875
45876 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45877 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45878 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45879 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45880 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45881 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45882
76da7265
AZ
458832012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45884
45885 [BZ #6794]
45886 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45887 * math/libm-test.inc: Add ilogb errno and exception tests.
45888 * math/w_ilogb.c: New file: ilogb wrapper.
45889 * math/w_ilogbf.c: New file: ilogbf wrapper.
45890 * math/w_ilogbl.c: New file: ilogbl wrapper.
45891 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45892 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45893 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45894 exception being thrown with 0.0 as argument.
45895 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45896 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45897 exception being thrown with 0.0 as argument.
45898 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45899 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45900 exception being thrown with 0.0 as argument.
45901 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45902 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45903 exception being thrown with 0.0 as argument.
45904 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45905 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45906 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45907 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45908 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45909 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45910 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45911 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45912 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45913
0396e69d
PB
459142012-04-17 Petr Baudis <pasky@ucw.cz>
45915
45916 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45917 with altivec.
45918
750b5926
MP
459192012-04-16 Marek Polacek <polacek@redhat.com>
45920
45921 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45922
751728a1
MP
459232012-04-16 Marek Polacek <polacek@redhat.com>
45924
45925 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45926 operands of fdivp instruction.
45927
34a27407
L
459282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45929
45930 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45931 * elf/tst-auditmod3b.c: Likewise.
45932 * elf/tst-auditmod4b.c: Likewise.
45933 * elf/tst-auditmod5b.c: Likewise.
45934 * elf/tst-auditmod6b.c: Likewise.
45935 * elf/tst-auditmod6c.c: Likewise.
45936 * elf/tst-auditmod7b.c: Likewise.
45937 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45938 * sysdeps/x86_64/preconfigure.in: Likewise.
45939 * sysdeps/x86_64/preconfigure: Regenerated.
45940
7e73e17d
L
459412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45942
45943 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45944 __ILP32__.
45945
c7a6ab72
AB
459462012-04-13 Antoine Balestrat <merkil33@gmail.com>
45947
45948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45949 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45950
a9e8e0e0
CL
459512012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45952
45953 [BZ #13973]
45954 * locale/iso-639.def: Fix gl language name. Spotted by
45955 Yaron Shahrabani.
45956
ec98af7d
RM
459572012-04-12 Roland McGrath <roland@hack.frob.com>
45958
45959 [BZ #2074]
45960 * libio/libio.h (__io_write_fn): Update comment.
45961
247c3ede
PB
459622012-04-12 Petr Baudis <pasky@ucw.cz>
45963
45964 [BZ #2074]
45965 * stdio.texi (Hook Functions): The user provided writer function
45966 is not allowed to return -1.
45967
55939d6d
DM
459682012-04-11 David S. Miller <davem@davemloft.net>
45969
45970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45971
90020f5a
MF
459722012-04-11 Mike Frysinger <vapier@gentoo.org>
45973
45974 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45975 Add a leading slash to rtkaio.
45976
288f9098
JM
459772012-04-11 Jim Meyering <meyering@redhat.com>
45978
90020f5a
MF
45979 [BZ #11959]
45980 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45981 It is not necessarily an error to ignore fwrite's return
45982 value. One can reliably use ferror to test for errors after
45983 the fact.
288f9098 45984
4be2b570
L
459852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45986
45987 * bits/types.h (__snseconds_t): New type.
45988 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45989
45990 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45992 (__SNSECONDS_T_TYPE): Likewise.
45993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45994 (__SNSECONDS_T_TYPE): Likewise.
45995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45996 (__SNSECONDS_T_TYPE): Likewise.
45997
288f9098 459982012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45999
46000 [BZ #2636]
46001 * manual/time.texi (Processor Time): Return type of times is
46002 elapsed real time since an arbitrary point in the past.
46003 (CPU Time): Move CLK_TCK from here...
46004 (Processor Time): ...to here. Correct description.
46005 * manual/conf.texi (Constants for Sysconf): Correct description of
46006 _SC_CLK_TCK.
46007
d7dd4413
DM
460082012-04-10 David S. Miller <davem@davemloft.net>
46009
46010 [BZ #13967]
46011 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46012 where the is a gap between DT_REL(A) and DT_JMPREL.
46013
b46068fc
L
460142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46015
46016 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46017 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46018 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46019
73d65cc3
SP
460202012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46021
46022 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46023 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46024 (dl_main): Handle --inhibit-cache.
46025 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46026 _dl_inhibit_cache.
46027 * elf/dl-load.c (_dl_map_object): Use it.
46028 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46029
bcc8d661
JM
460302012-04-09 Joseph Myers <joseph@codesourcery.com>
46031
8f9a2fae
JM
46032 [BZ #13872]
46033 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46034 (__ieee754_powl): Saturate large exponents rather than testing for
46035 overflow of y*log2(x).
46036 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46037 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46038 exceptions.
46039
bcc8d661
JM
46040 [BZ #11521]
46041 * math/s_ctan.c: Include <float.h>.
46042 (__ctan): Avoid internal overflow or cancellation in calculating
46043 denominator.
46044 * math/s_ctanf.c: Likewise.
46045 * math/s_ctanl.c: Likewise.
46046 * math/s_ctanh.c: Likewise.
46047 * math/s_ctanhf.c: Likewise.
46048 * math/s_ctanhl.c: Likewise.
46049 * math/libm-test.inc (ctan_test): Add more tests.
46050 (ctanh_test): Likewise.
46051 * sysdeps/i386/fpu/libm-test-ulps: Update.
46052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46053
823fbbb4
AJ
460542012-04-09 Andreas Jaeger <aj@suse.de>
46055
03879793
AJ
46056 [BZ #6894]
46057 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46058 is an optional BSD extension.
46059
823fbbb4
AJ
46060 [BZ #10254]
46061 * manual/stdio.texi (Opening Streams): Document additional fopen
46062 parameters.
46063
8de131cb
RM
460642012-04-09 Roland McGrath <roland@hack.frob.com>
46065
46066 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46067 %eax without telling the compiler.
46068
c0ed9d7d
CD
460692012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46070
46071 [BZ # 13963]
46072 * manual/install.texi: Use sourceware.org.
46073
c483f6b4
JM
460742012-04-09 Joseph Myers <joseph@codesourcery.com>
46075
d7dd9453
JM
46076 [BZ #13873]
46077 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46078 (__ieee754_pow): Generate overflow and underflow using huge*huge
46079 and tiny*tiny rather than just returning constant infinity or zero
46080 for large exponents.
46081 * math/libm-test.inc (pow_test): Require overflow exceptions for
46082 applicable cases of large exponents.
46083
c483f6b4
JM
46084 [BZ #706]
46085 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46086 (__ieee754_pow): Use iterative multiplication algorithm only for
46087 integer exponents with absolute value below 1024. Check for odd
46088 integer exponents when using algorithm for real exponents.
46089 * math/libm-test.inc (pow_test): Add more tests.
46090 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46091
d2de7579
JM
460922012-04-08 Joseph Myers <joseph@codesourcery.com>
46093
46094 [BZ #13705]
46095 * math/libm-test.inc (exp_test): Do not allow overflow exception
46096 on underflow test.
46097
f77f1232
AJ
460982012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46099
46100 [BZ #13705]
46101 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46102 instead of __kernel_standard_f.
46103
3884932b
MF
461042012-04-08 Mike Frysinger <vapier@gentoo.org>
46105
46106 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46107 * sysdeps/x86_64/memset_chk.S: Likewise.
46108
54472e9c
AJ
461092012-04-08 Andreas Jaeger <aj@suse.de>
46110
6ab0fbfc
AJ
46111 [BZ #10153]
46112 * manual/startup.texi (Environment Access): Describe return value
46113 for putenv and setenv.
46114
61efba8c
AJ
46115 [BZ #6895]
46116 * manual/filesys.texi (Directory Entries): Add description for
46117 DT_LNK.
46118
95c3f29a
AJ
46119 [BZ #6890]
46120 * manual/filesys.texi (Directory Entries): Clarify that it's file
46121 system not operating system in the description of DT_UNKNOWN.
46122
54472e9c
AJ
46123 [BZ #6578]
46124 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46125
624254b1
SC
461262012-04-08 Stephen Compall <s11@member.fsf.org>
46127
46128 [BZ #6649]
46129 * manual/llio.texi (Opening and Closing Files): Add cross
46130 reference to explain mode argument.
46131
1e4920e0
MF
461322012-04-07 Mike Frysinger <vapier@gentoo.org>
46133
46134 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46135 * sysdeps/x86_64/memset_chk.S: Likewise.
46136
5ed848f3
DM
461372012-04-07 David S. Miller <davem@davemloft.net>
46138
46139 * elf/elf.h (R_SPARC_WDISP10): Define.
46140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46141 R_SPARC_SIZE32.
46142 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46143 R_SPARC_SIZE64 and R_SPARC_H34.
46144
96154cd8
CD
461452012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46146
46147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46148 conditions and remove no longer applicable assertion.
46149
9904dc47
L
461502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46151
46152 * bits/byteswap.h: Include <features.h>.
46153 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46154 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46155
f8887d0a
L
461562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46157
46158 * bits/byteswap.h (__bswap_16): Removed.
46159 Include <bits/byteswap-16.h> to get __bswap_16.
46160 * sysdeps/i386/bits/byteswap.h: Likewise.
46161 * sysdeps/s390/bits/byteswap.h: Likewise.
46162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46163 * bits/byteswap-16.h: New file.
46164 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46165 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46166 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46167 * string/Makefile (headers): Add bits/byteswap-16.h.
46168
62470f60
PP
461692012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46170
46171 [BZ #13895]
46172 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46173 extra indirection.
46174 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46175 * nss/tst-nss-static.c: New.
46176
4dad7bab
RM
461772012-04-06 Robert Millan <rmh@gnu.org>
46178
46179 [BZ #6486]
46180 * manual/llio.texi (File Position Primitive): lseek
46181 refers to WHENCE when it really means OFFSET.
46182
e9142a17
AJ
461832012-04-06 Andreas Jaeger <aj@suse.de>
46184
2c040eff
AJ
46185 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46186 strncmp declarations.
46187
e9142a17
AJ
46188 * abilist/libc.abilist: Add __poll and __ppoll.
46189
ff9f1c5f
DM
461902012-04-05 David S. Miller <davem@davemloft.net>
46191
dcd2ae90
DM
46192 * scripts/check-local-headers.sh: Accept a host triplet in the
46193 path matched by the exclude regexp.
46194
993eb054
DM
46195 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46196 definition.
46197 * sysdeps/powerpc/powerpc32/dl-machine.h
46198 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46199 * sysdeps/s390/s390-32/dl-machine.h
46200 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46201 * sysdeps/sparc/sparc32/dl-machine.h
46202 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46203 * sysdeps/sparc/sparc64/dl-machine.h
46204 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46205
ff9f1c5f
DM
46206 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46207 lazy binding.
48e2e132 46208 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46209 undefined symbol errors.
46210
48e2e132 46211 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46212 DT_NEEDED entries.
46213
e80d6f94
MM
462142012-04-05 Michael Matz <matz@suse.de>
46215
46216 [BZ #13592]
46217 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46218
349fa79f
AJ
462192012-04-05 Andreas Jaeger <aj@suse.de>
46220
46221 [BZ #13908]
46222 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46223 comment.
46224
f402708f
KK
462252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46226
46227 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46228 which ROUND is no valid rounding mode.
46229
2ecccfc9
KK
462302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46231
46232 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46233 read again.
46234 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46235
8a53f50f
KK
462362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46237
46238 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46239 an exception using FPU order intentionally.
46240
462412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46242
46243 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46244 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46245 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46246 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46247
d653abb7
SJ
462482012-04-05 Simon Josefsson <simon@josefsson.org>
46249
46250 [BZ #12340]
46251 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46252 EINVAL when BUFLEN is too smal.
46253
c3b1bf7d
TS
462542012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46255
46256 [BZ #13553]
46257 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46258 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46259
b1aa60f3
AJ
462602012-04-03 Andreas Jaeger <aj@suse.de>
46261
c3b1bf7d 46262 [BZ #13938]
67f60a26
AJ
46263 * manual/setjmp.texi (System V contexts): Fix sentence.
46264
b1aa60f3
AJ
46265 [BZ #13926]
46266 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46267 New macro for this case.
46268 [!__GNUC__] (__bswap_64): New inline function for this case.
46269 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46270 * bits/byteswap.h: Likewise.
46271 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46272 ull, guard with __GLIBC_HAVE_LONG_LONG.
46273
46274 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46275 __GLIBC_HAVE_LONG_LONG.
46276
46277 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46278 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46279
39c59c35
TMQMF
462802012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46281
46282 [BZ #13691]
46283 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46284 inptr and inend, rather than using last_ch.
46285
135ffda8
DM
462862012-04-02 David S. Miller <davem@davemloft.net>
46287
46288 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46289 * stdio-common/printf-parse.h (read_int): Change return type to
46290 'int', return -1 on INT_MAX overflow.
46291 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46292 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46293 overflows INT_MAX. Check for overflow of in-format-string precision
46294 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46295 SIZE_MAX not INT_MAX for integer overflow test.
46296 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46297 skip the construct in the format string but do not record anything.
46298 * stdio-common/bug22.c: Adjust to test both width/prevision
46299 INT_MAX overflow as well as total length INT_MAX overflow. Check
46300 explicitly for proper errno values.
46301
228c019e
TS
463022012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46303
302cadd3
TS
46304 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46305 CHAR_MAX.
46306 * string/test-strcmp.c [! WIDE]: Likewise.
46307 * time/tst-mktime2.c: Likewise for INT_MAX.
46308 * string/test-string.h: #include <sys/param.h> for MIN.
46309
228c019e
TS
46310 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46311 * sysdeps/i386/init-first.c (init): Likewise.
46312 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46313 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46314 * sysdeps/sh/init-first.c (init): Likewise.
46315
cfa633f5
UD
463162012-04-01 Ulrich Drepper <drepper@gmail.com>
46317
46318 * po/ru.po: Update from translation team.
d1635ef8 46319 * po/vi.po: Likewise.
cfa633f5 46320
6cd0a5ea
SP
463212012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46322
46323 * resolv/nss_dns/dns-host.c: Merge copyright years.
46324
4b43400f
LD
463252012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46326
46327 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46328 Optimize memcpy with prefetch if
46329 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46330 src, dst pointers have unequal 16 byte alignments.
46331
48c41d04
SP
463322012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46333
46334 [BZ #13928]
46335 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46336 from a CNAME entry and return the minimum ttl for the query.
46337 (gaih_getanswer_slice): Likewise.
46338
b8dc394d
JL
463392012-03-30 Jeff Law <law@redhat.com>
46340
46341 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46342 due to long keys.
46343 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46344 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46345
2f5a5ed0
JL
46346 * resolv/nss_dns/dns-host.c: Update copyright year.
46347
1d39e359
UD
463482012-03-30 Ulrich Drepper <drepper@gmail.com>
46349
c030f70c 46350 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46351 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46352
1d39e359
UD
46353 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46354 comments for sendmmsg.
46355
463562012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46357
46358 [BZ #13691]
46359 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46360 with only 1 character between 0x0041 and 0x01b0.
46361 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46362 * wcsmbs/tst-mbsnrtowcs.c: New file.
46363
20fde227
DM
463642012-03-29 David S. Miller <davem@davemloft.net>
46365
46366 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46367 small copies by hand.
46368
984a4237
JL
463692012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46370
46371 [BZ #13761]
57f41c40
AS
46372 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46373 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46374 group memberships.
984a4237 46375
18c9d62b
DM
463762012-03-28 David S. Miller <davem@davemloft.net>
46377
88d85d4f
DM
46378 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46379 that branches into memcpy.
46380 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46382 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46383 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46385 bits.
46386 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46387 implementation too.
46388 * sysdeps/sparc/mempcpy.S: New file.
46389
e5aa83e1
DM
46390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46391 the IFUNC routine in the libc case.
46392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46393
88570753
DM
46394 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46395 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46396 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46397 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46398 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46399 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46400 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46401 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46402
249d7567
DM
46403 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46404 loop to 256 bytes instead of 64 bytes and fix test signedness.
46405
18c9d62b
DM
46406 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46407 * sysdeps/sparc/sparc32/Makefile: rather than here...
46408 * sysdeps/sparc/sparc64/Makefile: and here.
46409
05f3d1f6
UD
464102012-03-28 Ulrich Drepper <drepper@gmail.com>
46411
46412 * malloc/mallocbug.c: Avoid warnings about unused variables.
46413
86ae07a8
JL
464142012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46415
46416 [BZ #13760]
46417 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46418 in the right place. Discard and retry query if response is
46419 larger than input buffer size.
46420
41bf21a1
JM
464212012-03-28 Joseph Myers <joseph@codesourcery.com>
46422
d6270972
JM
46423 [BZ #369]
46424 [BZ #2678]
46425 [BZ #3866]
46426 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46427 x for large integer exponent.
46428 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46429 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46430 sign of result as needed afterwards.
46431 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46432 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46433 result for underflowing pow the same as for overflow.
46434 (__kernel_standard_l): Handle powl overflow and underflow here
46435 rather than calling __kernel_standard.
46436 * math/libm-test.inc (pow_test): Add more tests.
46437
414fca03 46438 [BZ #3868]
41bf21a1
JM
46439 [BZ #13879]
46440 [BZ #13910]
46441 [BZ #13911]
46442 [BZ #13912]
46443 [BZ #13913]
46444 [BZ #13915]
46445 [BZ #13916]
46446 [BZ #13917]
46447 [BZ #13918]
46448 [BZ #13919]
46449 [BZ #13920]
46450 [BZ #13921]
46451 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46452 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46453 (__kernel_standard_l): New function.
46454 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46455 __kernel_standard.
46456 * math/w_acosl.c (__acosl): Likewise.
46457 * math/w_asinl.c (__asinl): Likewise.
46458 * math/w_atan2l.c (__atan2l): Likewise.
46459 * math/w_atanhl.c (__atanhl): Likewise.
46460 * math/w_coshl.c (__coshl): Likewise.
46461 * math/w_exp10l.c (__exp10l): Likewise.
46462 * math/w_exp2l.c (__exp2l): Likewise.
46463 * math/w_fmodl.c (__fmodl): Likewise.
46464 * math/w_hypotl.c (__hypotl): Likewise.
46465 * math/w_j0l.c (__j0l, __y0l): Likewise.
46466 * math/w_j1l.c (__j1l, __y1l): Likewise.
46467 * math/w_jnl.c (__jnl, __ynl): Likewise.
46468 * math/w_lgammal.c (__lgammal): Likewise.
46469 * math/w_log10l.c (__log10l): Likewise.
46470 * math/w_log2l.c (__log2l): Likewise.
46471 * math/w_logl.c (__logl): Likewise.
46472 * math/w_powl.c (__powl): Likewise.
46473 * math/w_remainderl.c (__remainderl): Likewise.
46474 * math/w_scalbl.c (sysv_scalbl): Likewise.
46475 * math/w_sinhl.c (__sinhl): Likewise.
46476 * math/w_sqrtl.c (__sqrtl): Likewise.
46477 * math/w_tgammal.c (__tgammal): Likewise.
46478 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46479 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46480 * math/libm-test.inc (acos_test): Add more tests.
46481 (acosh_test): Likewise.
46482 (asin_test): Likewise.
46483 (atanh_test): Likewise.
46484 (exp_test): Likewise.
46485 (exp10_test): Likewise.
46486 (exp2_test): Likewise.
46487 (expm1_test): Likewise.
46488 (lgamma_test): Likewise.
46489 (log_test): Likewise.
46490 (log10_test): Likewise.
46491 (log1p_test): Likewise.
46492 (log2_test): Likewise.
46493 (pow_test): Do not allow some spurious overflow exceptions.
46494 (sqrt_test): Add more tests.
46495 (tgamma_test): Likewise.
46496 (y0_test): Likewise.
46497 (y1_test): Likewise.
46498 (yn_test): Likewise.
46499
dd62fda6
AB
465002012-03-27 Anton Blanchard <anton@samba.org>
46501
46502 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46503 MAP_HUGETLB.
46504 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46505 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46506 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46507
1e3cdfda
AJ
465082012-03-27 David S. Miller <davem@davemloft.net>
46509
b855ab85
DM
46510 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46511
1e3cdfda
AJ
46512 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46513 have-as-vis3 check.
46514
465152012-03-27 Andreas Jaeger <aj@suse.de>
46516
46517 * sysdeps/x86_64/elf/configure.in: Moved to ...
46518 * sysdeps/x86_64/configure.in: ... here.
46519 * sysdeps/x86_64/elf/start.S: Moved to ...
46520 * sysdeps/x86_64/start.S: ... here.
46521 * sysdeps/x86_64/elf/configure: Delete.
46522
46523 * sysdeps/x86_64/configure.in: Merge contents from
46524 sysdeps/i386/configure.in (without i686 check).
46525
46526 * sysdeps/i386/elf/Versions: Merge into ...
46527 * sysdeps/i386/Versions: ... this.
46528 * sysdeps/i386/elf/Versions: Delete file.
46529 * sysdeps/i386/elf/start.S: Moved to ...
46530 * sysdeps/i386/start.S: ...here.
46531 * sysdeps/i386/elf/configure.in: Merge into...
46532 * sysdeps/i386/configure.in: ...here.
46533 * sysdeps/i386/elf/configure.in: Delete file.
46534 * sysdeps/i386/elf/configure: Delete file.
46535
46536 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46537 * debug/backtracesyms.c: ... here.
46538 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46539 * debug/backtracesymsfd.c: ... here.
46540 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46541 * sysdeps/generic/ifunc-sel.h: ... here.
46542
46543 * sysdeps/unix/i386/start.c: Delete file.
46544 * sysdeps/unix/sparc/start.c: Delete file.
46545 * sysdeps/unix/start.c: Delete file.
46546
46547 * sysdeps/sh/elf/configure.in: Moved to ...
46548 * sysdeps/sh/configure.in: ... here.
46549 * sysdeps/sh/elf/start.S: Moved to ...
46550 * sysdeps/sh/start.S: ... here.
46551 * sysdeps/sh/elf/configure: Delete file.
46552
46553 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46554 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46555 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46556 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46557 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46558 * sysdeps/powerpc/powerpc64/start.S: here.
46559 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46560 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46561 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46562 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46563 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46564
46565 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46566 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46567 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46568 * sysdeps/powerpc/powerpc32/start.S: ... here.
46569 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46570 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46571 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46572
46573 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46574 * sysdeps/powerpc/ifunc-sel.h: ... here.
46575 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46576 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46577
46578 * sysdeps/sparc/elf/configure.in: Moved to ...
46579 * sysdeps/sparc/configure.in: ... here.
46580 * sysdeps/sparc/elf/configure: Delete file.
46581 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46582 * sysdeps/sparc/sparc32/start.S: ... here.
46583 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46584 * sysdeps/sparc/sparc64/start.S: ... here.
46585 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46586 * sysdeps/sparc/sparc32/Makefile: ... this.
46587 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46588 * sysdeps/sparc/sparc64/Makefile: ... this.
46589
46590 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46591 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46592 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46593 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46594 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46595 * sysdeps/s390/s390-32/setjmp.S: ... here.
46596 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46597 * sysdeps/s390/s390-32/configure.in: ... here.
46598 * sysdeps/s390/s390-32/elf/configure: Delete file.
46599 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46600 * sysdeps/s390/s390-32/start.S: ... here.
46601
46602 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46603 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46604 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46605 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46606 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46607 * sysdeps/s390/s390-64/setjmp.S: ... here.
46608 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46609 * sysdeps/s390/s390-64/configure.in: ... here
46610 * sysdeps/s390/s390-64/elf/configure: Delete file.
46611 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46612 * sysdeps/s390/s390-64/start.S: ... here.
46613 * sysdeps/s390/s390-64/elf/configure: Delete.
46614
46615 * configure.in: Remove support for elf directories in sysdeps.
46616
46617 * configure: Regenerated.
46618 * sysdeps/i386/configure: Regenerated.
46619 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46620 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46621 * sysdeps/s390/s390-32/configure: Regenerated.
46622 * sysdeps/s390/s390-64/configure: Regenerated.
46623 * sysdeps/sh/configure: Regenerated.
46624 * sysdeps/sparc/configure: Regenerated.
46625 * sysdeps/x86_64/configure: Regenerated.
46626
a3f61311
AS
466272012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46628
c876e002
AS
46629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46630
a3f61311
AS
46631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46632 denormal result into account.
46633
ac4c54f0
RM
466342012-03-25 Roland McGrath <roland@hack.frob.com>
46635
46636 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46637 Reported by Allan McRae <allan@archlinux.org>.
46638
6a9b9c02
JL
466392012-03-23 Jeff Law <law@redhat.com>
46640
46641 * nss/getnssent.c (__nss_getent): Fix typo.
46642
4c42a0c1
DM
466432012-03-23 David S. Miller <davem@davemloft.net>
46644
46645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46646
1532c7ac
L
466472012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46648
46649 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46650 to pad to uint64_t for each field.
46651 (dl_tls_index): Replace unsigned long with uint64_t.
46652
3ff42526
PP
466532012-03-23 Daniel Jacobowitz <dmj@google.com>
46654 Paul Pluzhnikov <ppluzhnikov@google.com>
46655
46656 [BZ #6528]
46657 * grp/Makefile (otherlibs): Don't set it.
46658 * inet/Makefile (otherlibs): Likewise.
46659 * login/Makefile (otherlibs): Likewise.
46660 * nscd/Makefile (otherlibs): Likewise.
46661 * posix/Makefile (otherlibs): Likewise.
46662 * pwd/Makefile (otherlibs): Likewise.
46663 * rt/Makefile (otherlibs): Likewise.
46664 * sunrpc/Makefile (otherlibs): Likewise.
46665 * nss/Makefile (otherlibs): Likewise.
46666 Add libnss_files to routines and static-only-routines.
46667 ($(objpfx)getent): Remove rule.
46668 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46669 static-only-routines.
46670
7c69cd14
JM
466712012-03-22 Joseph Myers <joseph@codesourcery.com>
46672
46673 [BZ #13892]
46674 * math/s_cexp.c: Include <float.h>.
46675 (__cexp): Handle exp result overflowing not necessarily
46676 overflowing both real and imaginary parts of result.
46677 * math/s_cexpf.c: Likewise.
46678 * math/s_cexpl.c: Likewise.
46679 * math/libm-test.inc (cexp_test): Add more tests.
46680 * sysdeps/i386/fpu/libm-test-ulps: Update.
46681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46682
81b035fe
L
466832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46684
46685 * include/link.h (ELFW): New macro.
46686 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46687 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46688
1da7940c
L
466892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46690
46691 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46692 with uint64_t.
46693
b749dbb9
L
466942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46695
46696 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46697 declaration.
46698 (struct La_x32_retval): Likewise.
46699
2ff87f3f
L
467002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46701
46702 * sysdeps/x86_64/preconfigure.in: New file.
46703 * sysdeps/x86_64/preconfigure: New generated file.
46704
c0df8e69
JM
467052012-03-22 Joseph Myers <joseph@codesourcery.com>
46706
48e44791
JM
46707 [BZ #13824]
46708 * math/e_exp2l.c: Include <float.h>.
46709 (__ieee754_exp2l): Handle overflow and underflow cases
46710 separately. Only pass fractional part of argument to
46711 __ieee754_expl.
46712 * math/libm-test.inc (exp2_test): Add more tests.
46713
c0df8e69
JM
46714 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46715 negating x to take absolute value.
46716 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46717 Likewise.
46718 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46719 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46720 Likewise.
46721 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46722 computing low part if x was negated.
46723 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46724
c8e43ba7
L
467252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46726
46727 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46728 la_x32_gnu_pltexit.
46729 (pltexit): Cast int_retval to ptrdiff_t.
46730 * elf/tst-auditmod3b.c: Likewise.
46731 * elf/tst-auditmod4b.c: Likewise.
46732 * elf/tst-auditmod5b.c: Likewise.
46733 * elf/tst-auditmod6b.c: Likewise.
46734 * elf/tst-auditmod6c.c: Likewise.
46735 * elf/tst-auditmod7b.c: Likewise.
46736
46737 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46738 and x32_gnu_pltexit.
46739
46740 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46741 __ELF_NATIVE_CLASS.
46742 (La_x32_regs): New macro.
46743 (La_x32_retval): Likewise.
46744 (la_x32_gnu_pltenter): New function prototype.
46745 (la_x32_gnu_pltexit): Likewise.
46746
7998fa78
AS
467472012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46748
dcb33988
AS
46749 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46750 exponent.
46751
233fc563
AS
46752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46753
7998fa78
AS
46754 * configure.in (libc_cv_cc_nofma): Check for option to disable
46755 generation of FMA instructions.
46756 * configure: Regenerate.
46757 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46758 * sysdeps/ieee754/dbl-64/Makefile: New file.
46759 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46760 Remove brandred-fma4.
46761 (CFLAGS-brandred-fma4.c): Remove.
46762 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46764 define.
46765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46766 define.
46767
8e95c99a
L
467682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46769
46770 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46771 LLONG_MAX != LONG_MAX.
46772 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46773 (_fitoa_word): Likewise.
46774 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46775 LLONG_MAX != LONG_MAX.
46776 * stdio-common/_itowa.h: Include <_itoa.h>.
46777 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46778 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46779 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46780 only if not defined.
46781 (_ITOA_WORD_TYPE): Likewise.
46782 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46783 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46784
6f4db457
DM
467852012-03-21 David S. Miller <davem@davemloft.net>
46786
46787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46788
7785fe5a
L
467892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46790
46791 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46792 of x86_64 when setting libc_cv_slibdir, libdir and
46793 libc_cv_localedir.
46794 * sysdeps/unix/sysv/linux/configure: Regenerated.
46795
4535cd55
JM
467962012-03-21 Joseph Myers <joseph@codesourcery.com>
46797
46798 * manual/lang.texi (Old Varargs): Remove section.
46799 (How Variadic): Update menu.
46800 (va_start): Do not mention varargs.h.
46801
17228132
TS
468022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46803 Joseph Myers <joseph@codesourcery.com>
46804
46805 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46806 link test.
46807 * configure: Regenerated.
46808
8149f976
TS
468092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46810
05f3d1f6
UD
46811 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46812 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46813 conformtest.pl
8149f976 46814
1a4ac776
JM
468152012-03-21 Joseph Myers <joseph@codesourcery.com>
46816
be22ce65
JM
46817 * NOTES: Remove.
46818 * Makefile (files-for-dist): Remove NOTES.
46819 (NOTES): Remove rule.
46820 * README: Don't refer to NOTES.
46821 * manual/creature.texi: Don't include macros.texi.
46822 * manual/intro.texi (creature.texi): Remove comment referring to
46823 NOTES.
46824
40b601fb
JM
46825 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46826 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46827 * configure: Regenerated.
46828 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46829 LIBC_TRY_CC_OPTION.
46830 (libc_cv_as_i686): Likewise.
46831 (libc_cv_cc_avx): Likewise.
46832 (libc_cv_cc_sse2avx): Likewise.
46833 (libc_cv_cc_fma4): Likewise.
46834 (libc_cv_cc_novzeroupper): Likewise.
46835 * sysdeps/i386/configure: Regenerated.
46836
1a4ac776
JM
46837 [BZ #13883]
46838 * sysdeps/i386/fpu/s_cexp.S: Remove.
46839 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46840 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46841 * math/libm-test.inc (cexp_test): Add more tests.
46842 * sysdeps/i386/fpu/libm-test-ulps: Update.
46843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46844
a458e7fe
AM
468452012-03-21 Allan McRae <allan@archlinux.org>
46846
46847 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46848
0cb7efc5
JM
468492012-03-21 Joseph Myers <joseph@codesourcery.com>
46850
46851 [BZ #13871]
46852 * math/w_exp2.c: Do not include <float.h>.
46853 (o_threshold, u_threshold): Remove.
46854 (__exp2): Calculate result before checking finiteness and calling
46855 __kernel_standard.
46856 * math/w_exp2f.c: Likewise.
46857 * math/w_exp2l.c: Likewise.
46858 * math/libm-test.inc (exp2_test): Require overflow exception for
46859 1e6 input.
2460d3aa
JM
46860
46861 [BZ #3866]
46862 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46863 range of signed 64-bit integers before using fistpll. Remove
46864 checks for whether integers fit in mantissa bits.
46865 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46866 the range of signed 32-bit integers before using fistpl. Remove
46867 checks for whether integers fit in mantissa bits.
46868 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46869 (__ieee754_powl): Test for y outside the range of signed 64-bit
46870 integers before using fistpll. Reduce 64-bit values to 63-bit
46871 ones as needed.
46872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46873 divide-by-zero is raised for zero to large negative powers.
46874 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46875 (__ieee754_powl): Test for y outside the range of signed 64-bit
46876 integers before using fistpll. Reduce 64-bit values to 63-bit
46877 ones as needed.
46878 * math/libm-test.inc (pow_test): Add more tests.
46879
eb96ffb0
L
468802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46881
46882 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46883 <stdio-common/_itoa.h>.
46884 * debug/segfault.c: Likewise.
46885 * elf/dl-cache.c: Likewise.
46886 * elf/dl-minimal.c: Likewise.
46887 * elf/dl-misc.c: Likewise.
46888 * elf/dl-sysdep.c: Likewise.
46889 * elf/dl-version.c: Likewise.
46890 * elf/rtld.c: Likewise.
46891 * hurd/hurdsock.c: Likewise.
46892 * hurd/lookup-retry.c: Likewise.
46893 * malloc/malloc.c: Likewise.
46894 * malloc/mtrace.c: Likewise.
46895 * nscd/nscd_getgr_r.c: Likewise.
46896 * nscd/nscd_getpw_r.c: Likewise.
46897 * nscd/nscd_getserv_r.c: Likewise.
46898 * posix/getopt_init.c: Likewise.
46899 * posix/wordexp.c: Likewise.
46900 * stdio-common/_itoa.c: Likewise.
46901 * stdio-common/printf_fphex.c: Likewise.
46902 * stdio-common/vfprintf.c: Likewise.
46903 * string/_strerror.c: Likewise.
46904 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46905 * sysdeps/i386/i686/hp-timing.h: Likewise.
46906 * sysdeps/mach/_strerror.c: Likewise.
46907 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46908 * sysdeps/mach/hurd/sethostid.c: Likewise.
46909 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46910 * sysdeps/mach/xpg-strerror.c: Likewise.
46911 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46912 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46913 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46914 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46915 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46916 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46917 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46918 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46919 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46920 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46921 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46922 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46923 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46924 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46925 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46926 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46927 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46928 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46929 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46930 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46931 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46932
46933 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46934
46935 * stdio-common/_itoa.h: Moved to ...
46936 * sysdeps/generic/_itoa.h: Here.
46937
46938 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46939
46940 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46941 instead of "_itoa.h" and "_itowa.h".
46942 * stdio-common/vfprintf.: Likewise.
46943
d1af992d
L
469442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46945
46946 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46947 <bits/wordsize.h>.
46948 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46949 (__signbit): Likwise.
46950 (llrintf): Likwise.
46951 (llrint): Likwise.
46952
114883e0
L
469532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46954
46955 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46956 __WORDSIZE != 64.
46957
c135cc1b
JM
469582012-03-20 Joseph Myers <joseph@codesourcery.com>
46959
46960 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46961 OVERFLOW_EXCEPTION_OK.
46962 * math/libm-test.inc ("Philosophy"): Update comment about
46963 exception testing.
46964 (OVERFLOW_EXCEPTION): Define.
46965 (OVERFLOW_EXCEPTION_OK): Likewise.
46966 (INVALID_EXCEPTION_OK): Renumber.
46967 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46968 (IGNORE_ZERO_INF_SIGN): Likewise.
46969 (test_exceptions): Handle FE_OVERFLOW.
46970 (exp10_test): Expect overflow exceptions.
46971 (exp2_test): Likewise.
46972 (expm1_test): Likewise.
46973 (nextafter_test): Likewise.
46974 (pow_test): Likewise.
46975 (scalbn_test): Likewise.
46976 (scalbln_test): Likewise.
46977
95443d88
L
469782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46979
46980 * sysdeps/x86_64/bits/atomic.h
46981 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46982 64bit integer.
46983 (atomic_exchange_acq): Likewise.
46984 (__arch_exchange_and_add_body): Likewise.
46985 (__arch_add_body): Likewise.
46986 (atomic_add_negative): Likewise.
46987 (atomic_add_zero): Likewise.
46988
490df6c4
L
469892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46990
c2722551 46991 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46992 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46993
5e52b189
L
469942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46995
46996 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46997 Check __x86_64__ instead of __WORDSIZE.
46998
a9879d4c
L
469992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47000
47001 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47002
5df98260
DM
470032012-03-19 David S. Miller <davem@davemloft.net>
47004
e1497744
DM
47005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47006
5df98260
DM
47007 * sysdeps/sparc/fpu/fenv_private.h: New file.
47008 * sysdeps/sparc/fpu/math_private.h: Use it.
47009 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47010 Remove.
57f41c40 47011 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47012 (libc_feholdexcept_setroundl): Remove.
47013 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47014 Remove.
47015 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47016 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47017
b4c35121
L
470182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47019
47020 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47021 int64_t instead of long int.
47022 (INSERT_WORDS64): Likwise.
47023
56965fd7
L
470242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47025
47026 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47027 _Unwind_GetCFA return to _Unwind_Ptr first.
47028
83d1aec8
JM
470292012-03-19 Joseph Myers <joseph@codesourcery.com>
47030
1897ad44
JM
47031 [BZ #13629]
47032 * math/s_clog.c: Include <float.h>.
47033 (__clog): Scale large or subnormal inputs.
47034 * math/s_clogf.c: Likewise.
47035 * math/s_clogl.c: Likewise.
47036 * math/s_clog10.c: Include <float.h>.
47037 (M_LOG10_2): Define.
47038 (__clog10): Scale large or subnormal inputs.
47039 * math/s_clog10f.c: Likewise.
47040 * math/s_clog10l.c: Likewise.
47041 * math/libm-test.inc (clog_test): Add more tests.
47042 (clog10_test): Likewise.
47043 * sysdeps/i386/fpu/libm-test-ulps: Update.
47044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47045
7726d6a9
JM
47046 [BZ #11451]
47047 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47048 x and y.
47049 * math/libm-test.inc (atan2_test): Add another test.
47050
83d1aec8
JM
47051 * Makerules (common-objdir-compile): Remove.
47052 * sysdeps/unix/Makefile (config-generated): Do not add
47053 $(unix-generated) to variable.
47054 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47055 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47056 Remove rule.
47057 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47058 Likewise.
47059 [generic bits/local_lim.h] (before-compile): Do not append to
47060 variable.
47061 [generic bits/local_lim.h] (common-generated): Likewise.
47062 [generic sys/param.h] (before-compile): Do not append to variable.
47063 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47064 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47065 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47066 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47067 include.
47068 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47069 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47070 [generic sys/param.h] ($(addprefix
47071 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47072 [generic sys/param.h] (common-generated): Do not append to
47073 variable.
47074 [generic sys/param.h] (sysdep_headers): Likewise.
47075 [generic bits/errno.h] (before-compile): Do not append to
47076 variable.
47077 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47078 rule.
47079 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47080 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47081 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47082 [generic bits/errno.h] (common-generated): Do not append to
47083 variable.
47084 [generic bits/ioctls.h] (before-compile): Do not append to
47085 variable.
47086 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47087 rule.
47088 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47089 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47090 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47091 rule.
47092 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47093 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47094 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47095 [generic bits/ioctls.h] (common-generated): Do not append to
47096 variable.
47097 [generic sys/syscall.h] (syscall.h): Remove variable.
47098 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47099 rule.
47100 [generic sys/syscall.h] (before-compile): Do not append to
47101 variable.
47102 [generic sys/syscall.h] (common-generated): Likewise.
47103 * sysdeps/unix/errnos-tmpl.c: Remove file.
47104 * sysdeps/unix/errnos.awk: Likewise.
47105 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47106 * sysdeps/unix/ioctls.awk: Likewise.
47107 * sysdeps/unix/mk-local_lim.c: Likewise.
47108 * sysdeps/unix/snarf-ioctls: Likewise.
47109
4851a949
RH
471102012-03-19 Richard Henderson <rth@twiddle.net>
47111
bd37f2ee
RH
47112 * sysdeps/i386/fpu/fenv_private.h: New file.
47113 * sysdeps/i386/fpu/math_private.h: Use it.
47114 (math_opt_barrier, math_force_eval): Remove.
47115 (libc_feholdexcept_setround_53bit): Remove.
47116 (libc_feupdateenv_53bit): Remove.
47117 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47118 (math_opt_barrier, math_force_eval): Remove.
47119 (libc_feholdexcept): Remove.
47120 (libc_feholdexcept_setround): Remove.
47121 (libc_fetestexcept, libc_fesetenv): Remove.
47122 (libc_feupdateenv_test): Remove.
47123 (libc_feupdateenv, libc_feholdsetround): Remove.
47124 (libc_feresetround): Remove.
47125
d0adc922
RH
47126 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47127 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47128
0fe0f1f8
RH
47129 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47130 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47131 (libc_feupdateenv_testl): New.
47132 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47133 (libc_feupdateenv_testf): New.
47134 (libc_feupdateenv): Use libc_feupdateenv_test.
47135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47136 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47137
eb92c487
RH
47138 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47139 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47140 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47141 (libc_feresetround_noex): New.
47142 (libc_feresetround_noexf): New.
47143 (libc_feresetround_noexl): New.
47144 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47145 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47146 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47147 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47148 SET_RESTORE_ROUND.
47149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47150 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47151 (__cos): Likewise.
47152 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47153 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47154 SET_RESTORE_ROUND_NOEX.
47155 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47156 SET_RESTORE_ROUND_NOEXF.
47157 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47158 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47159 (libc_feholdsetroundf): New.
47160 (libc_feresetround, libc_feresetroundf): New.
47161
7d2e8012
RH
47162 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47163 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47164 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47165
b4dabbb4
RH
47166 * sysdeps/generic/math_private.h: Include <fenv.h>.
47167 (default_libc_feholdexcept): New.
47168 (default_libc_feholdexcept_setround): New.
47169 (default_libc_fesetenv, default_libc_feupdateenv): New.
47170 (libc_feholdexcept): Only define if undefined.
47171 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47172 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47173 (libc_feholdexcept_setroundl): Likewise.
47174 (libc_feholdexcept_setround_53bit): Likewise.
47175 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47176 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47177 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47178 (libc_feupdateenv_53bit): Likewise.
47179 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47180 (libc_feholdexcept): Convert from macro to inline function.
47181 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47182 (libc_fesetenv, libc_feupdateenv): Likewise.
47183
4851a949
RH
47184 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47185 not previously defined.
47186 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47187 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47188 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47189 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47190 * sysdeps/ieee754/flt-32/math_private.h: New file.
47191 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47192 math_private.h below SET_FLOAT_WORD.
47193 (__isnan, __isinf_ns, __finite): Remove.
47194 (__isnanf, __isinf_nsf, __finitef): Remove.
47195
e79d442e
AS
471962012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47197
47198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47199
90b80344
DM
472002012-03-17 David S. Miller <davem@davemloft.net>
47201
47202 [BZ #6471]
47203 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47204 for 2.16.
47205
edc21804
DM
472062012-03-16 David S. Miller <davem@davemloft.net>
47207
77e927af
DM
47208 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47209 warnings.
47210
374976dd
DM
47211 [BZ #6471]
47212 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47213 properly.
47214 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47215 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47216 sysdep_routines when subdir is sysvipc.
47217 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47218 __getshmlba helper.
47219
edc21804
DM
47220 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47221
473c3ef3
L
472222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47223
47224 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47225 [__LP64__].
47226
eb0f39b6
L
472272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47228
47229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47230 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47231 (__lround): Renamed to ...
47232 (__llround): This. Replace long int with long long int.
47233 Define lround functions as aliases of llround functions.
47234 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47235
6b6cd74b
L
472362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47237
47238 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47239 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47240 adresses to uintptr_t. Replace "long int" and "unsigned long
47241 int" with "greg_t" on va_arg.
47242
f1a77b01
L
472432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47244
47245 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47246 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47247
47248 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47249 Move e_machine check before EI_CLASS check. Handle x32
47250 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47251 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47252 SKIP_EM_IA_64 and include
47253 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47254
47255 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47256 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47257 (add_system_dir): New macro.
47258
47259 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47260 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47261
11b90b9f
JM
472622012-03-16 Joseph Myers <joseph@codesourcery.com>
47263
c36e1d23
JM
47264 [BZ #2551]
47265 [BZ #2552]
47266 [BZ #2553]
47267 [BZ #2554]
47268 [BZ #2562]
47269 [BZ #2563]
47270 [BZ #2565]
47271 [BZ #2566]
47272 [BZ #2576]
47273 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47274 (y0): Likewise.
47275 * math/w_j0f.c (j0f): Likewise.
47276 (y0f): Likewise.
47277 * math/w_j0l.c (__j0l): Likewise.
47278 (__y0l): Likewise.
47279 * math/w_j1.c (j1): Likewise.
47280 (y1): Likewise.
47281 * math/w_j1f.c (j1f): Likewise.
47282 (y1f): Likewise.
47283 * math/w_j1l.c (__j1l): Likewise.
47284 (__y1l): Likewise.
47285 * math/w_jn.c (jn): Likewise.
47286 (yn): Likewise.
47287 * math/w_jnf.c (jnf): Likewise.
47288 (ynf): Likewise.
47289 * math/w_jnl.c (__jnl): Likewise.
47290 (__ynl): Likewise.
47291 * math/libm-test.inc (j0_test): Add more tests.
47292 (j1_test): Likewise.
47293 (jn_test): Likewise. Add trailing semicolon to existing test.
47294 (y0_test): Likewise.
47295 (y1_test): Likewise.
47296 * sysdeps/i386/fpu/libm-test-ulps: Update.
47297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47298
11b90b9f
JM
47299 [BZ #13851]
47300 [BZ #13854]
47301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47302 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47303 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47304 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47305 (__tanl): Set errno for infinite argument.
47306 * sysdeps/i386/fpu/mptan.c: Remove.
47307 * sysdeps/i386/fpu/s_tan.S: Likewise.
47308 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47309 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47310 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47311 * math/libm-test.inc (tan_test): Add more tests and enable more
47312 tests for double and long double.
47313 * sysdeps/i386/fpu/libm-test-ulps: Update.
47314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47315
6a1bd2a1
JK
473162012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47317
47318 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47319 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47320
10a803e0
RM
473212012-03-16 Roland McGrath <roland@hack.frob.com>
47322
47323 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47324 * configure.in: Use it for both main tree and add-ons.
47325 * configure: Regenerated.
47326
f196c7f7
L
473272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47328
47329 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47330
8848d99d
JM
473312012-03-16 Joseph Myers <joseph@codesourcery.com>
47332
96cbe7f4
JM
47333 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47334 in comment.
47335
8848d99d
JM
47336 [BZ #13851]
47337 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47338 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47341 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47342 infinite argument.
47343 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47345 != 0 for prec == 2.
47346 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47347 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47348 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47349 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47350 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47351 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47352 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47353 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47354 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47355 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47356 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47357 * math/libm-test.inc (cos_test): Add more tests and enable more
47358 tests for long double.
47359 (sin_test): Likewise.
47360 (sincos_test): Likewise.
47361 * sysdeps/i386/fpu/libm-test-ulps: Update.
47362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47363
dd7f4703
DM
473642012-03-16 David S. Miller <davem@davemloft.net>
47365
47366 * sysdeps/sparc/fpu/math_private.h: New file.
47367
006f1daa
DM
473682012-03-15 David S. Miller <davem@davemloft.net>
47369
c0c83bc8
DM
47370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47371 file.
e6a62e18 47372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47374 file.
e6a62e18
DM
47375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47376 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47381 sysdep routines.
47382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47383
88cb87d9
DM
47384 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47385 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47386
006f1daa 47387 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47389 sparc-ifunc.h
006f1daa 47390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47392 Likewise.
47393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47394 Likewise.
006f1daa
DM
47395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47399 Likewise.
006f1daa
DM
47400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47405 Likewise.
47406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47407 Likewise.
006f1daa
DM
47408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47427 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47432
11e0098e
AS
474332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47434
47435 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47436 scaling.
47437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47438
e85b09d0
AJ
474392012-03-15 Andreas Jaeger <aj@suse.de>
47440
47441 [BZ #13852]
47442 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47443 ieee754/flt-32 implementation for sin, cos and sincos.
47444 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47445 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47446 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47447 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47448 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47449 ieee754/flt-32 implementation for tan.
47450
47451 * math/libm-test.inc (cos_test): Enable some large input tests for
47452 float as well
47453 (sin_test): Likewise.
47454 (sincos_test): Likewise.
47455 (tan_test): Add tests for large input.
47456
47457 * sysdeps/i386/fpu/libm-test-ulps: Update.
47458
81c64153
AJ
474592012-03-15 Andreas Jaeger <aj@suse.de>
47460
47461 [BZ #13658]
47462 * math/libm-test.inc (cos_test): Add more test cases.
47463 (sin_test): Likewise.
47464 (sincos_test): Likewise.
47465
7bbfa5c6
AJ
474662012-03-15 Andreas Jaeger <aj@suse.de>
47467
47468 [BZ #13837]
47469 * math/libm-test.inc (cos_test): Add a test case for large input
47470 value.
47471 (sin_test): Likewise.
47472 (sincos_test): Likewise.
47473
57f41c40
AS
474742012-03-15 Andreas Jaeger <aj@suse.de>
47475 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47476
47477 [BZ #13658]
0671f479 47478 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47479 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47480 * sysdeps/i386/fpu/branred.c: Likewise.
47481 * sysdeps/i386/fpu/dosincos.c: Likewise.
47482 * sysdeps/i386/fpu/mpa.c: Likewise.
47483 * sysdeps/i386/fpu/s_cos.S: Likewise.
47484 * sysdeps/i386/fpu/s_sin.S: Likewise.
47485 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47486 * sysdeps/i386/fpu/sincos32.c: Likewise.
47487
47488 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47489 Define.
47490 (libc_feupdateenv_53bit): Define.
47491 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47492 Define.
47493 (libc_feupdateenv_53bit): Define.
47494
47495 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47496 53 bit (without extend i386 double precision).
47497
47498 * math/libm-test.inc (sincos_test): Add tests for large input.
47499 (sin): Likewise.
47500 (cos): Likewise.
47501
47502 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47503
9cad04ea
AS
475042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47505
47506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47507
f7062b9a
DM
475082012-03-15 David S. Miller <davem@davemloft.net>
47509
47510 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47511 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47512 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47513 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47526 file.
f7062b9a 47527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47529 file.
f7062b9a 47530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47532 file.
f7062b9a 47533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47535 file.
f7062b9a
DM
47536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47538 fmin/fmax sysdep routines.
47539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47540
7bd951ff
DM
475412012-03-14 David S. Miller <davem@davemloft.net>
47542
559398ab
DM
47543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47547 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47548 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47549 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47556 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47557 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47564 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47565 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47566 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47567 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47568 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47572 routines.
47573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47574 file.
559398ab 47575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47577 file.
559398ab 47578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47580 file.
559398ab 47581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47583 file.
559398ab 47584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47586 file.
559398ab 47587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47589 file.
47590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47591 file.
47592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47593 file.
47594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47595 file.
47596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47597 New file.
47598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47599 file.
47600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47601 file.
559398ab 47602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47604 file.
559398ab 47605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47607 file.
559398ab 47608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47610 file.
559398ab 47611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47613 VIS3 routines.
559398ab
DM
47614
47615 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47616 New file.
47617
5a1c1e32
DM
47618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47619
eae47a36
DM
47620 * sysdeps/sparc/configure.in: New file.
47621 * sysdeps/sparc/configure: Generate.
47622 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47623 * configure: Regenerate.
47624 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47625 * config.make.in (have-as-vis3): New.
47626 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47627 available use -Av9d instead of -Av9a.
47628 * sysdeps/sparc/sparc64/Makefile: Likewise.
47629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47631 New file.
47632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47633 file.
47634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47635 New file.
47636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47637 file.
eae47a36
DM
47638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47642 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47643
c0c83bc8
DM
47644 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47645 fzeros/fnegs to load 0x80000000 into a float register instead of
47646 using the stack.
7bd951ff
DM
47647 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47648
bd951ccb
JM
476492012-03-14 Joseph Myers <joseph@codesourcery.com>
47650
47651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47652 bits/syscall.h.
47653 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47654 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47655 ($(inst_includedir)/bits/syscall.h): Remove rule.
47656 ($(objpfx)bits/syscall.d): Include instead of
47657 $(objpfx)syscall-list.d.
47658 (generated): Change syscall-list.h and syscall-list.d to
47659 bits/syscall.h and bits/syscall.d.
47660
bb4e6db2
RM
476612012-03-14 Roland McGrath <roland@hack.frob.com>
47662
47663 [BZ #13846]
47664 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47665
aa4a2ae1
JM
476662012-03-14 Joseph Myers <joseph@codesourcery.com>
47667
e456826d
JM
47668 [BZ #13841]
47669 * math/s_csqrt.c: Include <float.h>.
47670 (__csqrt): Scale large or subnormal inputs.
47671 * math/s_csqrtf.c: Likewise.
47672 * math/s_csqrtl.c: Likewise.
47673 * math/libm-test.inc (csqrt_test): Add more tests.
47674 * sysdeps/i386/fpu/libm-test-ulps: Update.
47675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47676
aa4a2ae1
JM
47677 [BZ #13840]
47678 * math/libm-test.inc (hypot_test): Add more tests.
47679
7c10fd35
DM
476802012-03-13 David S. Miller <davem@davemloft.net>
47681
47682 [BZ #13840]
47683 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47684 double-precision for the calculation instead of scaling.
47685
f453b98b
JM
476862012-03-13 Joseph Myers <joseph@codesourcery.com>
47687
47688 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47689 manipulate bits before adding and subtracting TWO52[sx].
47690 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47691 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47692 Likewise.
47693 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47694
09a3453f
DM
476952012-03-13 David S. Miller <davem@davemloft.net>
47696
8e59da90
DM
47697 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47698 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47700 rtld-global-offsets.h
47701 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47702
2a8ab7f2
DM
47703 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47704 large parameters.
47705
10f62770
DM
47706 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47707
5f0bdb18
DM
47708 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47709 'err' in the ifdef scope in which it is actually used.
47710
09a3453f
DM
47711 * nss/nss_db/db-init.c: Include string.h
47712
b4b2eb5e
DM
477132012-03-12 David S. Miller <davem@davemloft.net>
47714
98bb2f1c
DM
47715 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47716 masking out of the most significant byte of random value used.
47717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47718 Fix coding style in previous change.
47719
b4b2eb5e
DM
47720 * sysdeps/unix/sysv/linux/kernel-features.h
47721 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47722 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47723 expression.
47724 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47725 later.
47726
6e226b09
DM
477272012-03-11 David S. Miller <davem@davemloft.net>
47728
a1bcbd40
DM
47729 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47730 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47731 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47732 for 'resultvar' otherwise things get truncated on 64-bit.
47733
cb9d6174
DM
47734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47735 Fix masking out of the most significant byte of random value used.
47736
6e226b09
DM
47737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47738
058c132d
AS
477392012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47740
47741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47742
2d2cd515
DM
477432012-03-09 David S. Miller <davem@davemloft.net>
47744
47745 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47746 variables with appropriate CPP guards.
57f41c40
AS
47747 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47748 from the frame pointer, not the stack pointer. Correct layout
47749 comments. Fix test on resulting framesize and the management of
47750 the outregs buffer for pltexit. Preserve floating point return
47751 values across _dl_call_pltexit call.
2d2cd515
DM
47752 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47753 framesize and the management of the outregs buffer for pltexit.
47754 Preserve floating point return values across _dl_call_pltexit
47755 call.
57f41c40
AS
47756 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47757 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47758 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47759 (print_exit): Fix format string for return register value.
47760
9a07f9d0
JM
477612012-03-10 Joseph Myers <joseph@codesourcery.com>
47762
47763 * sunrpc/Makefile (others): Add rpcgen.
47764 ($(objpfx)rpcgen): Remove special build rule and dependency on
47765 libc.
47766 * sunrpc/rpcgen.c: New file.
47767
547b5e30
PE
477682012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47769
c524201a
PE
47770 [BZ #13673]
47771 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47772 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47773 * sysdeps/i386/crti.S: Likewise.
47774 * sysdeps/i386/crtn.S: Likewise.
47775 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47776 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47777 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47778 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47779 * sysdeps/sh/crti.S: Likewise.
47780 * sysdeps/sh/crtn.S: Likewise.
47781 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47782
7b6235f2
PE
47783 [BZ #13673]
47784 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47785 with URL.
47786 * locale/programs/locfile-kw.gperf: Likewise.
47787 * locale/programs/charmap-kw.h: Regenerated.
47788 * locale/programs/locfile-kw.h: Likewise.
47789
547b5e30
PE
47790 [BZ #13673]
47791 * intl/plural.y: Replace FSF snail mail address with URL.
47792 * intl/plural.c: Regenerated.
47793
5f0a5dae
RH
477942012-03-09 Richard Henderson <rth@twiddle.net>
47795
47796 * include/math_private.h: Remove file.
47797 * math/math_private.h: Move file ...
47798 * sysdeps/generic/math_private.h: ... here.
47799
b8c03620
RH
47800 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47801 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47802 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47803
4e234f5d 47804 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47805 and <math_private.h>.
47806 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47807 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47808 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47809 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47810 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47811 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47812 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47814 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47815 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47817 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47818 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47820 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47821 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47822 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47823 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47824 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47825 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47827 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47828 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47832 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47833 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47836 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47838 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47839 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47840 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47841 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47842 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47843 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47844 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47846 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47847 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47848 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47849 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47851 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47852 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47853 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47854 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47855 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47856 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47857 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47858 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47859 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47860 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47861 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47862 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47863 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47864 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47865 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47866 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47867 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47869 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47870 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47871 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47872 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47873 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47874 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47875 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47877 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47880 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47885 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47886 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47888 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47889 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47890 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47892 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47893 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47894 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47897 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47899 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47900 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47901 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47902 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47903 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47904 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47905 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47906 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47907 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47908 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47909 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47910 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47911 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47912 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47913 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47914 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47916 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47917 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47918 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47920 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47921 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47922 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47923 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47924 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47925 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47926 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47927 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47928 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47929 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47930 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47931 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47932 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47933 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47935 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47936 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47937 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47938 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47939 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47940 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47941 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47942 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47943 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47944 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47945 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47946 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47947 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47948 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47949 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47950 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47951 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47952 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47953 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47954 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47955 * sysdeps/ieee754/k_standard.c: Likewise.
47956 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47957 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47958 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47959 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47960 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47961 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47962 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47963 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47964 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47977 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47979 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47981 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47987 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48001 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48008 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48010 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48011 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48012 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48016 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48017 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48023 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48025 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48029 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48030 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48031 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48033 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48035 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48036 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48037 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48038 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48039 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48040 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48041 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48042 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48043 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48044 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48047 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48048 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48049 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48052 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48053 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48054 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48055 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48058 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48059 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48060 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48063 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48064 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48065 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48066 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48067 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48068 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48069 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48070 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48071 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48072 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48073 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48074 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48075 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48076 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48077 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48078 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48079 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48080 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48081 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48083 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48084 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48086 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48087 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48088 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48089 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48090 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48091 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48092 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48093 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48094 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48095 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48096 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48098 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48099 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48100 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48101 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48102 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48103 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48104 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48105 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48106 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48107 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48108 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48110 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48111 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48112 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48113 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48114 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48115 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48116 * sysdeps/ieee754/s_lib_version.c: Likewise.
48117 * sysdeps/ieee754/s_matherr.c: Likewise.
48118 * sysdeps/ieee754/s_signgam.c: Likewise.
48119 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48120 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48121 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48122 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48123 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48124 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48125 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48126 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48127 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48128 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48129 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48130 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48131 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48132 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48133 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48134 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48135 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48136 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48137 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48139 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48140
1991fa03
JM
481412012-03-09 Joseph Myers <joseph@codesourcery.com>
48142
48143 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48144 * sunrpc/rpc_main.c: Likewise.
48145 * sunrpc/rpc_svcout.c: Likewise.
48146
60d6f5a6
DM
481472012-03-09 David S. Miller <davem@davemloft.net>
48148
48149 * include/math_private.h: New file.
48150
4962050e
JM
481512012-03-09 Joseph Myers <joseph@codesourcery.com>
48152
02a6f887
JM
48153 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48154 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48155 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48156 from <bits/socket_type.h>.
48157 (enum __socket_type): Don't define here.
48158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48160 bits/socket_type.h.
48161
c6e013c1
JM
48162 [BZ #13566]
48163 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48164 checking __USE_GNU.
48165
4962050e
JM
48166 * Makerules ($(inst_includedir)/%.h): New rule.
48167 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48168 (install-others): Remove variable setting.
48169 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48170
38842f45
RH
481712012-03-08 Richard Henderson <rth@twiddle.net>
48172
67bb6da6
RH
48173 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48174 from macro to inline function; merge with the
48175 !__LIBC_INTERNAL_MATH_INLINES version.
48176 (__ieee754_sqrtf): Likewise.
48177
15194b4b
RH
48178 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48179 to inline function.
48180 (__rintf, __floor, __floorf): Likewise.
48181
64e21ede
RH
48182 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48183 macro to inline function.
48184 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48185
38842f45
RH
48186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48187 not <math/math_private.h>.
48188
c64bf5fe
DM
481892012-03-08 David S. Miller <davem@davemloft.net>
48190
48191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48192 copyright year.
48193 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48194
82d86f28
TS
481952012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48196
48197 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48198 normalization.
48199 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48200 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48201
aea5d727
UD
482022012-03-08 Ulrich Drepper <drepper@gmail.com>
48203
48204 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48205 be defined individually, they must be defined as a block. Define
48206 S for printing a string instead of hidint the different by using a
48207 macro for adding the 'l'.
48208 * stdio-common/tst-fphex-wide.c: Adjust.
48209
70bca0a3
MP
482102012-03-07 Marek Polacek <polacek@redhat.com>
48211
48212 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48213
65b81130
MP
482142012-03-08 Marek Polacek <polacek@redhat.com>
48215
48216 [BZ #13806]
48217 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48218 * stdio-common/tst-fphex.c: Define a few macros to make the
48219 test reusable. Use them.
48220 * stdio-common/tst-fphex-wide.c: New file.
48221
07037eeb
JM
482222012-03-08 Joseph Myers <joseph@codesourcery.com>
48223
a7a93d50
JM
48224 [BZ #6911]
48225 * manual/macros.texi (gnusystems): New macro.
48226 (nongnusystems): Likewise.
48227 (gnulinuxhurdsystems): Likewise.
48228 (gnuhurdsystems): Likewise..
48229 (gnulinuxsystems): Likewise.
48230 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48231 variants of the GNU system, not "GNU system".
48232 * manual/conf.texi: Likewise.
48233 * manual/errno.texi: Likewise. Update example of errno macro
48234 expansion.
48235 * manual/filesys.texi: Likewise.
48236 (getumask): Document as specific to GNU/Hurd.
48237 * manual/install.texi: Likewise. Reword some references to
48238 GNU/Linux.
48239 * manual/intro.texi: Likewise.
48240 * manual/io.texi: Likewise.
48241 (File Name Portability): Detail which constraints are inapplicable
48242 to all GNU systems and which are only inapplicable to GNU/Hurd.
48243 * manual/job.texi: Likewise.
48244 * manual/llio.texi: Likewise.
48245 (O_NOCTTY): Document as present on GNU/Linux.
48246 * manual/maint.texi: Likewise.
48247 * manual/memory.texi: Likewise.
48248 * manual/pattern.texi: Likewise.
48249 * manual/pipe.texi: Likewise.
48250 * manual/process.texi: Likewise.
48251 * manual/resource.texi: Likewise.
48252 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48253 child on GNU/Hurd.
48254 * manual/setjmp.texi: Likewise.
48255 * manual/signal.texi: Likewise.
48256 * manual/startup.texi: Likewise.
48257 * manual/stdio.texi: Likewise.
48258 * manual/terminal.texi: Likewise.
48259 (ONLCR): Document as POSIX.
48260 (OXTABS): Document availability on GNU/Linux as XTABS.
48261 (ONOEOT): Document availability separately from other bits.
48262 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48263 * manual/time.texi: Likewise.
48264 * manual/users.texi: Likewise.
48265 * INSTALL: Regenerated.
48266 * sysdeps/gnu/errlist.c: Regenerated.
48267
07037eeb
JM
48268 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48269 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48270 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48271 puts.
48272 * configure: Regenerated.
48273
d1d3431a
JM
482742012-03-07 Joseph Myers <joseph@codesourcery.com>
48275
af6a1e37
JM
48276 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48277 default includes instead of AC_HEADER_CHECK.
48278 * sysdeps/i386/configure: Regenerated.
48279
d1d3431a
JM
48280 [BZ #10716]
48281 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48282 * math/s_cacoshf.c (__cacoshf): Likewise.
48283 * math/s_cacoshl.c (__cacoshl): Likewise.
48284 * math/s_casinh.c (__casinh): Set signs of result from argument.
48285 * math/s_casinhf.c (__casinhf): Likewise.
48286 * math/s_casinhl.c (__casinhl): Likewise.
48287 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48288 (casinh_test): Add more tests.
48289 * sysdeps/i386/fpu/libm-test-ulps: Update.
48290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48291
482ff4da
UD
482922012-03-07 Ulrich Drepper <drepper@gmail.com>
48293
872fda05
UD
48294 * po/zh_TW.po: Update from translation team.
48295
a4300c7a
UD
48296 * login/Makefile (distribute): Remove variable.
48297 * catgets/Makefile: Likewise.
48298 * mach/Makefile: Likewise.
48299 * malloc/Makefile: Likewise.
48300 * misc/Makefile: Likewise.
48301 * iconv/Makefile: Likewise.
48302 * nscd/Makefile: Likewise.
48303 * hurd/Makefile: Likewise.
48304 * manual/Makefile: Likewise.
48305 * locale/Makefile: Likewise.
48306 * intl/Makefile: Likewise.
48307 * conform/Makefile: Likewise.
48308 * nss/Makefile: Likewise.
48309 * time/Makefile: Likewise.
48310 * soft-fp/Makefile: Likewise.
48311 * dirent/Makefile: Likewise.
48312 * gmon/Makefile: Likewise.
48313 * po/Makefile: Likewise.
48314 * rt/Makefile: Likewise.
48315 * socket/Makefile: Likewise.
48316 * math/Makefile: Likewise.
48317 * signal/Makefile: Likewise.
48318 * debug/Makefile: Likewise.
48319 * elf/Makefile: Likewise.
48320 * timezone/Makefile: Likewise.
48321 * stdlib/Makefile: Likewise.
48322 * iconvdata/Makefile: Likewise.
48323 * sunrpc/Makefile: Likewise.
48324 * io/Makefile: Likewise.
48325 * argp/Makefile: Likewise.
48326 * inet/Makefile: Likewise.
48327 * hesiod/Makefile: Likewise.
48328 * grp/Makefile: Likewise.
48329 * csu/Makefile: Likewise.
48330 * wctype/Makefile: Likewise.
48331 * crypt/Makefile: Likewise.
48332 * libio/Makefile: Likewise.
48333 * string/Makefile: Likewise.
48334 * nis/Makefile: Likewise.
48335 * resolv/Makefile: Likewise.
48336 * stdio-common/Makefile: Likewise.
48337 * wcsmbs/Makefile: Likewise.
48338 * dlfcn/Makefile: Likewise.
48339 * posix/Makefile: Likewise.
48340
3b7c4e74 48341 [BZ #6959]
482ff4da
UD
48342 * timezone/Makefile: Don't install timezone files, just the programs
48343 and scripts.
48344
f72ed77d
UD
483452012-03-06 Ulrich Drepper <drepper@gmail.com>
48346
a000466f
UD
48347 * nss/databases.def: Add missing gshadow entry.
48348
f72ed77d
UD
48349 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48350
a53b7a4e
MP
483512012-03-06 Marek Polacek <polacek@redhat.com>
48352
48353 [BZ #13726]
48354 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48355 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48356 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48357 * stdio-common/tst-long-dbl-fphex.c: New file.
48358
e9258400
DM
483592012-03-06 David S. Miller <davem@davemloft.net>
48360
48361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48362 (set_obp_int): New function.
48363 (get_obp_int): New function.
48364 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48365 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48366 Avoid unused variable warnings on 'val' and use builtin_expect.
48367 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48368 __builtin_expect.
e9258400
DM
48369 (INLINE_CLONE_SYSCALL): Likewise.
48370
3bd2c723
DM
483712012-03-05 David S. Miller <davem@davemloft.net>
48372
48373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48374
bbb78d03
AS
483752012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48376
884c5db4
AS
48377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48378
bbb78d03
AS
48379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48380 only for |x| >= 40.
48381 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48382
1c9f702a 483832012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48384
48385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48386 Replace gettimeofday with __vdso_gettimeofday.
48387
7be16f82
RM
48388 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48389 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48390 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48391
48392 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48393 time with __vdso_time.
48394
ed58a00f
JM
483952012-03-05 Joseph Myers <joseph@codesourcery.com>
48396
48397 * manual/lang.texi (size_t): Note types to which size_t may be
48398 equivalent with the GNU C Library, but do not describe when
48399 differences between them are significant.
48400
30ee4ced
AJ
484012012-03-05 Andreas Jaeger <aj@suse.de>
48402
48403 * sysdeps/i386/fpu/libm-test-ulps: Update.
48404
b7cd39e8
JM
484052012-03-05 Joseph Myers <joseph@codesourcery.com>
48406
48407 [BZ #3976]
48408 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48409 (__ieee754_pow): Save and restore rounding mode and use
48410 round-to-nearest for main computations.
48411 * math/libm-test.inc (pow_test_tonearest): New function.
48412 (pow_test_towardzero): Likewise.
48413 (pow_test_downward): Likewise.
48414 (pow_test_upward): Likewise.
48415 (main): Call the new functions.
48416 * sysdeps/i386/fpu/libm-test-ulps: Update.
48417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48418
48419 [BZ #3976]
48420 * math/libm-test.inc (cosh_test_tonearest): New function.
48421 (cosh_test_towardzero): Likewise.
48422 (cosh_test_downward): Likewise.
48423 (cosh_test_upward): Likewise.
48424 (sinh_test_tonearest): Likewise.
48425 (sinh_test_towardzero): Likewise.
48426 (sinh_test_downward): Likewise.
48427 (sinh_test_upward): Likewise.
48428 (main): Call the new functions.
48429 * sysdeps/i386/fpu/libm-test-ulps: Update.
48430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48431
6c6a98c9
TV
484322012-03-05 Tom de Vries <tom@codesourcery.com>
48433
48434 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48435 default stack guard is set in last bytes.
48436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48437
21bb2d2e 484382012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48439
21bb2d2e 48440 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48441
21bb2d2e
AJ
48442 [BZ #13656]
48443 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48444 possibly allocate from heap instead of stack.
48445 * stdio-common/bug-vfprintf-nargs.c: New file.
48446 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48447
c6922934
AS
484482012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48449
48450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48451
bc957d53
MP
484522012-03-03 Marek Polacek <polacek@redhat.com>
48453
48454 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48455 * math/math_private.h: Likewise.
48456 * stdlib/tst-strtod.c: Likewise.
48457 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48458 * sysdeps/x86_64/bits/atomic.h: Likewise.
48459
6358490d
DM
484602012-03-02 David S. Miller <davem@davemloft.net>
48461
48462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48466 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48467 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48468 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48469 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48470
01ae168d
RM
484712012-03-02 Roland McGrath <roland@hack.frob.com>
48472
d9a17c07
RM
48473 [BZ #13792]
48474 * manual/examples/README: New file, says the example source files
48475 can be used under GPL>=2.
48476 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48477 line containing just "*/".
48478 * manual/examples/add.c: Add copyright header (GPL>=2).
48479 * manual/examples/argp-ex1.c: Likewise.
48480 * manual/examples/argp-ex2.c: Likewise.
48481 * manual/examples/argp-ex3.c: Likewise.
48482 * manual/examples/argp-ex4.c: Likewise.
48483 * manual/examples/atexit.c: Likewise.
48484 * manual/examples/db.c: Likewise.
48485 * manual/examples/dir.c: Likewise.
48486 * manual/examples/dir2.c: Likewise.
48487 * manual/examples/execinfo.c: Likewise.
48488 * manual/examples/filecli.c: Likewise.
48489 * manual/examples/filesrv.c: Likewise.
48490 * manual/examples/fmtmsgexpl.c: Likewise.
48491 * manual/examples/genpass.c: Likewise.
48492 * manual/examples/inetcli.c: Likewise.
48493 * manual/examples/inetsrv.c: Likewise.
48494 * manual/examples/isockad.c: Likewise.
48495 * manual/examples/longopt.c: Likewise.
48496 * manual/examples/memopen.c: Likewise.
48497 * manual/examples/memstrm.c: Likewise.
48498 * manual/examples/mkfsock.c: Likewise.
48499 * manual/examples/mkisock.c: Likewise.
48500 * manual/examples/mygetpass.c: Likewise.
48501 * manual/examples/pipe.c: Likewise.
48502 * manual/examples/popen.c: Likewise.
48503 * manual/examples/rprintf.c: Likewise.
48504 * manual/examples/search.c: Likewise.
48505 * manual/examples/select.c: Likewise.
48506 * manual/examples/setjmp.c: Likewise.
48507 * manual/examples/sigh1.c: Likewise.
48508 * manual/examples/sigusr.c: Likewise.
48509 * manual/examples/stpcpy.c: Likewise.
48510 * manual/examples/strdupa.c: Likewise.
48511 * manual/examples/strftim.c: Likewise.
48512 * manual/examples/strncat.c: Likewise.
48513 * manual/examples/subopt.c: Likewise.
48514 * manual/examples/swapcontext.c: Likewise.
48515 * manual/examples/termios.c: Likewise.
48516 * manual/examples/testopt.c: Likewise.
48517 * manual/examples/testpass.c: Likewise.
48518 * manual/examples/timeval_subtract.c: Likewise.
48519
01ae168d
RM
48520 [BZ #13792]
48521 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48522 function to ...
48523 * manual/timeval_subtract.c.texi: ... here, new file.
48524
49efa33d
DM
485252012-03-02 David S. Miller <davem@davemloft.net>
48526
48527 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48528
28afd92d
JM
485292012-03-02 Joseph Myers <joseph@codesourcery.com>
48530
804360ed
JM
48531 [BZ #3976]
48532 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48533 (__sin): Save and restore rounding mode and use round-to-nearest
48534 for all computations.
48535 (__cos): Save and restore rounding mode and use round-to-nearest
48536 for all computations.
48537 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48538 <fenv.h>.
48539 (tan): Save and restore rounding mode and use round-to-nearest for
48540 all computations.
48541 * math/libm-test.inc (cos_test_tonearest): New function.
48542 (cos_test_towardzero): Likewise.
48543 (cos_test_downward): Likewise.
48544 (cos_test_upward): Likewise.
48545 (sin_test_tonearest): Likewise.
48546 (sin_test_towardzero): Likewise.
48547 (sin_test_downward): Likewise.
48548 (sin_test_upward): Likewise.
48549 (tan_test_tonearest): Likewise.
48550 (tan_test_towardzero): Likewise.
48551 (tan_test_downward): Likewise.
48552 (tan_test_upward): Likewise.
48553 (main): Call the new functions.
48554 * sysdeps/i386/fpu/libm-test-ulps: Update.
48555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48556
a6d06d7b
JM
48557 [BZ #10135]
48558 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48559 small n, then large n, before computing and testing k+n.
48560 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48562 Likewise.
48563 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48564 Likewise.
48565 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48566 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48567 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48568 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48569 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48570 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48571 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48572 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48573 * math/libm-test.inc (scalbn_test): Add more tests.
48574 (scalbln_test): Likewise.
48575
07e12bb3
JM
48576 * manual/filesys.texi (mode_t): Describe constraints on size and
48577 signedness, not exact equivalence to a particular type.
48578 (ino_t): Likewise.
48579 (ino64_t): Likewise.
48580 (dev_t): Likewise.
48581 (nlink_t): Likewise.
48582 (blkcnt_t): Likewise.
48583 (blkcnt64_t): Likewise.
48584 * manual/llio.texi (off_t): Likewise.
48585
28afd92d
JM
48586 [BZ #3976]
48587 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48588 (__ieee754_exp): Save and restore rounding mode and use
48589 round-to-nearest for all computations.
48590 * math/libm-test.inc (exp_test_tonearest): New function.
48591 (exp_test_towardzero): Likewise.
48592 (exp_test_downward): Likewise.
48593 (exp_test_upward): Likewise.
48594 (main): Call the new functions.
48595 * sysdeps/i386/fpu/libm-test-ulps: Update.
48596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48597
b1eeb65d
CD
485982012-03-01 Chris Demetriou <cgd@google.com>
48599
48600 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48601 have predictable order.
48602
53362a4b
DM
486032012-03-01 David S. Miller <davem@davemloft.net>
48604
3c969083
DM
48605 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48606
759707de
DM
48607 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48608 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48609 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48610 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48611
dfdb8ff2
DM
48612 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48613 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48614 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48616 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48617 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48618 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48619 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48620 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48621
ead89f96
DM
48622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48623
7f66bd07
DM
48624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48625 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48626 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48627
53362a4b
DM
48628 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48629 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48630 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48631 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48632 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48633 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48634 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48635 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48636 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48637 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48638 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48639 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48641 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48642 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48644 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48645 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48646 * sysdeps/sparc/elf/configure: Regenerated.
48647
7b1902cb
JM
486482012-03-01 Joseph Myers <joseph@codesourcery.com>
48649
bec039bc
JM
48650 * configure.in (AS, LD): Require binutils 2.20 or later.
48651 * configure: Regenerated.
48652 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48653 as required minimum version.
48654 * INSTALL: Regenerated.
48655
7b1902cb
JM
48656 [BZ #2541]
48657 [BZ #4108]
48658 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48659 before squaring exponent.
48660 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48661 bottom long double and 27 bits of top long double before squaring
48662 exponent.
48663 * math/libm-test.inc (erfc_test): Add more tests.
48664 * sysdeps/i386/fpu/libm-test-ulps: Update.
48665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48667
f775c276
KT
486682012-03-01 Kai Tietz <ktietz@redhat.com>
48669
48670 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48671 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48672 containing bit-fields.
48673 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48674 * soft-fp/single.h (_FP_UNION_S): Likewise.
48675 * soft-fp/double.h (_FP_UNION_D): Likewise.
48676
5b8a4d4a
JM
486772012-02-29 Joseph Myers <joseph@codesourcery.com>
48678
0bab47b6
JM
48679 [BZ #13786]
48680 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48681 not include ../strcmp.S.
48682 [USE_AS_STRNCASECMP_L]: Likewise.
48683 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48684 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48685 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48686 (__strncasecmp_l_ia32): Define as alias to
48687 __strncasecmp_l_nonascii.
48688
0fcad3e2
JM
48689 [BZ #5794]
48690 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48691 * sysdeps/i386/fpu/libm-test-ulps: Update.
48692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48693
5b8a4d4a
JM
48694 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48696
8fdceb2e
JL
486972012-02-29 Jeff Law <law@redhat.com>
48698
48699 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48700 out of bounds read.
48701
1f393a11
MP
487022012-02-29 Marek Polacek <polacek@redhat.com>
48703
48704 [BZ #13706]
48705 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48706 * elf/Makefile: Add rules to run tst-unused-dep.out.
48707
8847f037
DM
487082012-02-28 David S. Miller <davem@davemloft.net>
48709
48710 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48711 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48714 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48715 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48716
169d7f11
JM
487172012-02-29 Joseph Myers <joseph@codesourcery.com>
48718
48719 * math/libm-test.inc (llround_test): Move one test from
48720 lround_test. Use TEST_f_L in moved test.
48721 (lround_test): Move misplaced test to llround_test. Add testcase
48722 from bug 2561.
48723
39adf059
UD
487242012-02-28 Ulrich Drepper <drepper@gmail.com>
48725
48726 * sysdeps/x86_64/fpu/e_expf.S: New file.
48727 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48728
71b5d1c5
SB
487292012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48730
48731 [BZ #13637]
48732 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48733 of remain_len that may cause incomplete multi-byte character and
48734 false match.
48735 * posix/bug-regex33.c: New file.
48736 * posix/Makefile (tests): Add bug-regex33.
48737
1f77f049
JM
487382012-02-28 Joseph Myers <joseph@codesourcery.com>
48739
48740 * manual/macros.texi: New file.
48741 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48742 * manual/libc.texinfo: Include macros.texi.
48743 * manual/creatute.texi: Likewise.
48744 * manual/install.texi: Likewise.
48745 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48746 @glibcadj{} in references to the GNU C Library.
48747 * manual/charset.texi: Likewise.
48748 * manual/conf.texi: Likewise.
48749 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48750 when not using those macros.
48751 * manual/creature.texi: Likewise.
48752 * manual/crypt.texi: Likewise.
48753 * manual/errno.texi: Likewise.
48754 * manual/filesys.texi: Likewise.
48755 * manual/header.texi: Likewise.
48756 * manual/install.texi: Likewise.
48757 * manual/intro.texi: Likewise.
48758 * manual/io.texi: Likewise.
48759 * manual/job.texi: Likewise.
48760 * manual/lang.texi: Likewise.
48761 * manual/libc.texiinfo: Likewise.
48762 * manual/llio.texi: Likewise.
48763 * manual/locale.texi: Likewise.
48764 * manual/maint.texi: Likewise.
48765 * manual/math.texi: Likewise.
48766 * manual/memory.texi: Likewise.
48767 * manual/message.texi: Likewise.
48768 * manual/nss.texi: Likewise.
48769 * manual/pattern.texi: Likewise.
48770 * manual/process.texi: Likewise.
48771 * manual/resource.texi: Likewise.
48772 * manual/search.texi: Likewise.
48773 * manual/setjmp.texi: Likewise.
48774 * manual/signal.texi: Likewise.
48775 * manual/socket.texi: Likewise.
48776 * manual/startup.texi: Likewise.
48777 * manual/stdio.texi: Likewise.
48778 * manual/string.texi: Likewise.
48779 * manual/sysinfo.texi: Likewise.
48780 * manual/syslog.texi: Likewise.
48781 * manual/terminal.texi: Likewise.
48782 * manual/time.texi: Likewise.
48783 * manual/users.texi: Likewise.
48784 * INSTALL: Regenerated.
48785 * NOTES: Regenerated.
d40c5d54 48786 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48787
450bf206
AS
487882012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48789
48790 * include/dirent.h: Include <dirstream.h> before
48791 <dirent/dirent.h>.
48792
741a235b
DM
487932012-02-28 David S. Miller <davem@davemloft.net>
48794
48795 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48796 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48797 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48798 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48799
d6b5aa58
DM
488002012-02-27 David S. Miller <davem@davemloft.net>
48801
1aff59a3
DM
48802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48804 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48805 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48806
d6b5aa58
DM
48807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48808 frame pointer instead of stack pointer relative arg slot.
48809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48810 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48811 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48812
433f48bf
CD
488132012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48814
48815 [BZ #3992]
48816 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48817
d674b76d
DM
488182012-02-27 David S. Miller <davem@davemloft.net>
48819
48820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48824 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48825 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48826 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48827 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48828
0e7727f7
JM
488292012-02-27 Joseph Myers <joseph@codesourcery.com>
48830
48831 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48832 later. Allow versions 5-9.
43be4ca2 48833 * configure: Regenerated.
0e7727f7
JM
48834 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48835 required minimum version and 4.6 as recommended version. Do not
48836 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48837 * INSTALL: Regenerated.
0e7727f7 48838
a78bc654
DM
488392012-02-27 David S. Miller <davem@davemloft.net>
48840
428d5830
DM
48841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48847 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48849
a78bc654
DM
48850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48851 manipulate bits before adding and subtracting TWO112[sx].
48852 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48853
4579f81c
RM
488542012-02-27 Roland McGrath <roland@hack.frob.com>
48855
36c8acb4
RM
48856 [BZ #13775]
48857 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48858 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48859 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48860 being in POSIX, because they are in 1003.1-2008.
48861
84ad622b
RM
48862 * rt/tst-aio.c: Include <fcntl.h>.
48863 * rt/tst-aio7.c: Likewise.
48864 * rt/tst-aio64.c: Likewise.
48865
4579f81c
RM
48866 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48867
abd923db
JM
488682012-02-27 Joseph Myers <joseph@codesourcery.com>
48869
48870 * manual/install.texi (--with-headers): Describe headers as
48871 interface headers, not private headers.
48872 (Specific advice for GNU/Linux systems): Describe use of headers
48873 from "make headers_install", not private headers from older
48874 kernels.
43be4ca2 48875 * INSTALL: Regenerated.
abd923db
JM
48876 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48877 Change to 2.6.19.
48878 * sysdeps/unix/sysv/linux/configure: Regenerated.
48879
6664049b
JM
48880 * manual/llio.texi (fclean): Remove documentation.
48881
bb8b6697
JM
48882 * manual/Makefile (libc-texi-generated): New variable. Include
48883 version.texi.
48884 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48885 $(libc-texi-generated), not duplicated list of files.
48886 (version.texi, stamp-version): New rules.
48887 (realclean): Remove $(libc-texi-generated), not individual files
48888 from that list. Do not remove dir-add.texinfo.
48889 * manual/libc.texinfo: Comment out uses of edition numbers and
48890 references to printed manual. Remove last-updated dates.
48891 (EDITION): Comment out.
48892 (ISBN): Likewise.
48893 (VERSION, UPDATED): Remove.
48894 (version.texi): Include.
48895
12e5c3b9
AS
488962012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48897
48898 * sysdeps/posix/spawni.c: Include <signal.h>.
48899 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48900 * sysdeps/pthread/aio_fsync.c: Likewise.
48901
4efeffc1 489022012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48903
ba63ba08
UD
48904 * conform/Makefile (tests): Run only when not cross-compiling and
48905 when fast-check is not defined.
48906
d94a4670
UD
48907 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48908 * conform/data/limits.h-data: Fixes for POSIX2008.
48909 * conform/run-conformtest.sh: Run all tests.
48910 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48911 headers.
48912 * include/bits/dlfcn.h: Likewise.
48913 * include/langinfo.h: Likewise.
48914 * include/monetary.h: Likewise.
48915 * include/sys/poll.h: Likewise.
48916
48917 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48918 for __USE_GNU.
48919 * posix/spawn.h: Define __need_sigset_t.
48920 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48921 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48922 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48923 to get sigevent_t only.
48924 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48925 only for __USE_GNU.
48926 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48927 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48928 process_vm_writev only for __USE_GNU.
48929 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48930
48931 * conform/Makefile: For now ignore errors from run-conformtest.
48932 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48933 POSIX to avoid namespace pollution. Don't prepend headers.
48934 * conform/data/aio.h-data: Fixes for POSIX testing.
48935 * conform/data/fcntl.h-data: Likewise.
48936 * conform/data/glob.h-data: Likewise.
48937 * conform/data/grp.h-data: Likewise.
48938 * conform/data/pthread.h-data: Likewise.
48939 * conform/data/pwd.h-data: Likewise.
48940 * conform/data/signal.h-data: Likewise.
48941 * conform/data/spawn.h-data: Likewise.
48942 * conform/data/stdio.h-data: Likewise.
48943 * conform/data/stdlib.h-data: Likewise.
48944 * conform/data/stropts.h-data: Likewise.
48945 * conform/data/sys/mman.h-data: Likewise.
48946 * conform/data/sys/stat.h-data: Likewise.
48947 * conform/data/sys/types.h-data: Likewise.
48948 * conform/data/sys/wait.h-data: Likewise.
48949 * conform/data/time.h-data: Likewise.
48950 * conform/data/unistd.h-data: Likewise.
48951 * conform/data/utime.h-data: Likewise.
48952
48953 * io/sys/stat.h: fchmod was always in POSIX.
48954 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48955 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48956 * rt/aio.h: Define __need_timespec before including <time.h>.
48957 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48958 struct. Add forward declaration of pthread_attr_t and use it in
48959 sigevent.
48960 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48962 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48963 always remove CLK_TCK definition.
48964
c20105c3
AS
489652012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48966
48967 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48968
7a270350
UD
489692012-02-25 Ulrich Drepper <drepper@gmail.com>
48970
31341567
UD
48971 * conform/run-conformtest.sh: New file.
48972 * conform/Makefile: Run run-conformtest for tests.
48973 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48974 support.
48975
48976 * conform/data/uchar.h-data: New file.
48977 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48978 * conform/data/arpa/inet.h-data: Likewise.
48979 * conform/data/assert.h-data: Likewise.
48980 * conform/data/complex.h-data: Likewise.
48981 * conform/data/cpio.h-data: Likewise.
48982 * conform/data/ctype.h-data: Likewise.
48983 * conform/data/dirent.h-data: Likewise.
48984 * conform/data/dlfcn.h-data: Likewise.
48985 * conform/data/errno.h-data: Likewise.
48986 * conform/data/fcntl.h-data: Likewise.
48987 * conform/data/float.h-data: Likewise.
48988 * conform/data/fmtmsg.h-data: Likewise.
48989 * conform/data/fnmatch.h-data: Likewise.
48990 * conform/data/ftw.h-data: Likewise.
48991 * conform/data/glob.h-data: Likewise.
48992 * conform/data/grp.h-data: Likewise.
48993 * conform/data/iconv.h-data: Likewise.
48994 * conform/data/inttypes.h-data: Likewise.
48995 * conform/data/langinfo.h-data: Likewise.
48996 * conform/data/libgen.h-data: Likewise.
48997 * conform/data/limits.h-data: Likewise.
48998 * conform/data/locale.h-data: Likewise.
48999 * conform/data/math.h-data: Likewise.
49000 * conform/data/monetary.h-data: Likewise.
49001 * conform/data/mqueue.h-data: Likewise.
49002 * conform/data/ndbm.h-data: Likewise.
49003 * conform/data/net/if.h-data: Likewise.
49004 * conform/data/netdb.h-data: Likewise.
49005 * conform/data/netinet/in.h-data: Likewise.
49006 * conform/data/nl_types.h-data: Likewise.
49007 * conform/data/poll.h-data: Likewise.
49008 * conform/data/pthread.h-data: Likewise.
49009 * conform/data/pwd.h-data: Likewise.
49010 * conform/data/regex.h-data: Likewise.
49011 * conform/data/sched.h-data: Likewise.
49012 * conform/data/search.h-data: Likewise.
49013 * conform/data/semaphore.h-data: Likewise.
49014 * conform/data/setjmp.h-data: Likewise.
49015 * conform/data/signal.h-data: Likewise.
49016 * conform/data/spawn.h-data: Likewise.
49017 * conform/data/stdarg.h-data: Likewise.
49018 * conform/data/stdio.h-data: Likewise.
49019 * conform/data/stdlib.h-data: Likewise.
49020 * conform/data/string.h-data: Likewise.
49021 * conform/data/strings.h-data: Likewise.
49022 * conform/data/stropts.h-data: Likewise.
49023 * conform/data/sys/ipc.h-data: Likewise.
49024 * conform/data/sys/mman.h-data: Likewise.
49025 * conform/data/sys/msg.h-data: Likewise.
49026 * conform/data/sys/resource.h-data: Likewise.
49027 * conform/data/sys/select.h-data: Likewise.
49028 * conform/data/sys/sem.h-data: Likewise.
49029 * conform/data/sys/shm.h-data: Likewise.
49030 * conform/data/sys/socket.h-data: Likewise.
49031 * conform/data/sys/stat.h-data: Likewise.
49032 * conform/data/sys/statvfs.h-data: Likewise.
49033 * conform/data/sys/time.h-data: Likewise.
49034 * conform/data/sys/timeb.h-data: Likewise.
49035 * conform/data/sys/times.h-data: Likewise.
49036 * conform/data/sys/types.h-data: Likewise.
49037 * conform/data/sys/uio.h-data: Likewise.
49038 * conform/data/sys/un.h-data: Likewise.
49039 * conform/data/sys/utsname.h-data: Likewise.
49040 * conform/data/sys/wait.h-data: Likewise.
49041 * conform/data/syslog.h-data: Likewise.
49042 * conform/data/tar.h-data: Likewise.
49043 * conform/data/termios.h-data: Likewise.
49044 * conform/data/utime.h-data: Likewise.
49045 * conform/data/utmpx.h-data: Likewise.
49046 * conform/data/varargs.h-data: Likewise.
49047 * conform/data/wchar.h-data: Likewise.
49048 * conform/data/wctype.h-data: Likewise.
49049 * conform/data/wordexp.h-data: Likewise.
49050
49051 * include/stropts.h: New file.
49052 * include/uchar.h: New file.
49053 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49054 * include/assert.h: Likewise.
49055 * include/ctype.h: Likewise.
49056 * include/dirent.h: Likewise.
49057 * include/dlfcn.h: Likewise.
49058 * include/fcntl.h: Likewise.
49059 * include/fnmatch.h: Likewise.
49060 * include/glob.h: Likewise.
49061 * include/grp.h: Likewise.
49062 * include/libio.h: Likewise.
49063 * include/locale.h: Likewise.
49064 * include/math.h: Likewise.
49065 * include/net/if.h: Likewise.
49066 * include/netdb.h: Likewise.
49067 * include/netinet/in.h: Likewise.
49068 * include/pthread.h: Likewise.
49069 * include/pwd.h: Likewise.
49070 * include/regex.h: Likewise.
49071 * include/sched.h: Likewise.
49072 * include/search.h: Likewise.
49073 * include/setjmp.h: Likewise.
49074 * include/signal.h: Likewise.
49075 * include/stdio.h: Likewise.
49076 * include/stdlib.h: Likewise.
49077 * include/string.h: Likewise.
49078 * include/sys/cdefs.h: Likewise.
49079 * include/sys/mman.h: Likewise.
49080 * include/sys/msg.h: Likewise.
49081 * include/sys/resource.h: Likewise.
49082 * include/sys/select.h: Likewise.
49083 * include/sys/socket.h: Likewise.
49084 * include/sys/stat.h: Likewise.
49085 * include/sys/statvfs.h: Likewise.
49086 * include/sys/time.h: Likewise.
49087 * include/sys/times.h: Likewise.
49088 * include/sys/uio.h: Likewise.
49089 * include/sys/utsname.h: Likewise.
49090 * include/sys/wait.h: Likewise.
49091 * include/termios.h: Likewise.
49092 * include/time.h: Likewise.
49093 * include/ulimit.h: Likewise.
49094 * include/unistd.h: Likewise.
49095 * include/utime.h: Likewise.
49096 * include/wchar.h: Likewise.
49097 * include/wctype.h: Likewise.
49098 * include/wordexp.h: Likewise.
49099
49100 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49101
7a270350
UD
49102 * time/time.h: TIME_UTC must be a macro.
49103 Make timespec_get available for ISO C11 only as well.
49104
7724defc
UD
491052012-02-24 Ulrich Drepper <drepper@gmail.com>
49106
49107 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49108 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49109
6b1d1d46
JM
491102012-02-24 Joseph Myers <joseph@codesourcery.com>
49111
49112 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49113
0f8bbd69
JM
491142012-02-24 Joseph Myers <joseph@codesourcery.com>
49115
49116 * manual/texinfo.tex: Update to version 2012-01-19.16.
49117
66ab80bc
JM
491182012-02-24 Joseph Myers <joseph@codesourcery.com>
49119
49120 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49121
74981cc5
RM
491222012-02-24 Roland McGrath <roland@hack.frob.com>
49123
ee968201
RM
49124 [BZ #13738]
49125 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49126 * manual/fdl-1.3.texi: New file.
49127 * manual/fdl-1.1.texi: File removed.
49128
74981cc5
RM
49129 [BZ #13738]
49130 * manual/libc.texinfo (FDL_VERSION): New @set.
49131 Use it for mention of FDL in cover text.
49132 (Documentation License): Use it in @include file name.
49133
7bb764bc
JM
491342012-02-22 Joseph Myers <joseph@codesourcery.com>
49135 Roland McGrath <roland@hack.frob.com>
49136
49137 [BZ #5461]
57f41c40
AS
49138 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49139 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49140 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49141 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49142 name.
49143 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49144
6cbeae47
JM
491452012-02-22 Joseph Myers <joseph@codesourcery.com>
49146
49147 [BZ #2547]
49148 [BZ #11365]
49149 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49150 manipulate bits before adding and subtracting TWO23[sx].
49151 * math/libm-test.inc (nearbyint_test): Add more tests.
49152
fe45ce09
JM
491532012-02-22 Joseph Myers <joseph@codesourcery.com>
49154
49155 [BZ #2548]
49156 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49157 bits before adding and subtracting TWO23[sx].
49158 * math/libm-test.inc (rint_test): Add more tests.
49159 (rint_test_tonearest): Likewise.
49160 (rint_test_towardzero): Likewise.
49161 (rint_test_downward): Likewise.
49162 (rint_test_upward: Likewise.
49163
ff3b3d82
JM
491642012-02-22 Joseph Myers <joseph@codesourcery.com>
49165
49166 [BZ #10110]
49167 * include/stdc-predef.h: New file. Extracted from features.h.
49168 * include/features.h: Include stdc-predef.h.
49169 * Makefile (headers): Add stdc-predef.h.
49170 * CONFORMANCE (Compiler limitations): Update.
49171
ef0aab35
JM
491722012-02-22 Joseph Myers <joseph@codesourcery.com>
49173
49174 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49175
58639409
DM
491762012-02-21 David S. Miller <davem@davemloft.net>
49177
49178 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49179 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49180
c0e70b25
DM
491812012-02-20 David S. Miller <davem@davemloft.net>
49182
49183 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49184 using a normal save/restore sequence, rather than allocating a
49185 dummy stack frame just to store a frame pointer and restore.
49186 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49187
fb06851d
JM
491882012-02-21 Joseph Myers <joseph@codesourcery.com>
49189
49190 * manual/install.texi: Fix stray word in line-wrapped comment.
49191
7a8b71c3
DM
491922012-02-20 David S. Miller <davem@davemloft.net>
49193
d510c123
DM
49194 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49195 both binutils and gcc support GOTDATA.
49196
0722d7c2
DM
49197 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49198 "rd %pc" in the PIC register setup sequences.
49199
3d2b3019
DM
49200 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49201 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49202 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49203 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49204 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49208 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49209 (SYSCALL_ERROR_HANDLER): Likewise.
49210 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49211 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49213 (SYSCALL_ERROR_HANDLER): Likewise.
49214
c80098a9
DM
49215 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49216 (HAVE_GCC_GOTDATA): New.
49217 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49218 relocation support in both binutils and gcc.
49219 * sysdeps/sparc/elf/configure: Regenerate.
49220
3a2545a0
DM
49221 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49222 * sysdeps/sparc/sparc32/elf/configure: Delete.
49223 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49224 * sysdeps/sparc/sparc64/elf/configure: Delete.
49225 * sysdeps/sparc/elf/configure.in: New file.
49226 * sysdeps/sparc/elf/configure: Generate.
49227
7a8b71c3
DM
49228 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49229 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49230 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49231 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49232 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49233
f1e86fca
JM
492342012-02-21 Joseph Myers <joseph@codesourcery.com>
49235
49236 * manual/install.texi: Do not mention specific glibc version
49237 numbers.
49238 * manual/libc.texinfo (VERSION, UPDATED): Update.
49239 (@copying): Use @copyright{} and range of years.
49240
0e7dfaef
JM
492412012-02-21 Joseph Myers <joseph@codesourcery.com>
49242
49243 [BZ #13695]
49244 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49245 [crti.S not in sysdirs] (generated): Do not append.
49246 [crti.S not in sysdirs] (omit-deps): Likewise.
49247 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49248 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49249 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49250 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49251 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49252 Likewise.
49253 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49254 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49255 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49256 * csu/defs.awk: Remove file.
49257 * sysdeps/generic/initfini.c: Likewise.
49258 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49259 variable.
49260 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49261 Likewise.
49262
599af3ca
JM
492632012-02-20 Joseph Myers <joseph@codesourcery.com>
49264
49265 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49266 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49267 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49269 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49270 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49271 <bits/epoll.h>.
49272 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49273 (__EPOLL_PACKED): Define to empty if not defined by
49274 <bits/epoll.h>.
49275 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49277 bits/epoll.h.
49278
0e499750
JM
492792012-02-20 Joseph Myers <joseph@codesourcery.com>
49280
49281 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49282 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49283 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49284 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49285 <bits/timerfd.h>.
49286 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49288 bits/timerfd.h.
49289
5ad91f6e
JM
492902012-02-20 Joseph Myers <joseph@codesourcery.com>
49291
49292 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49293 in C locale.
49294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49295 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49296 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49298
06b99b02
AJ
492992012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49300
49301 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49302 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49303
7638c0fd
AS
493042012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49305
49306 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49307 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49308 defined.
49309 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49310 Likewise.
49311 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49312 entry for 2.16.
49313
92221550
AJ
493142012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49315
49316 * math/w_acos.c: Use non-signaling floating-point comparisons.
49317 * math/w_acosf.c: Likewise.
49318 * math/w_acosh.c: Likewise.
49319 * math/w_acoshf.c: Likewise.
49320 * math/w_acoshl.c: Likewise.
49321 * math/w_acosl.c: Likewise.
49322 * math/w_asin.c: Likewise.
49323 * math/w_asinf.c: Likewise.
49324 * math/w_asinl.c: Likewise.
49325 * math/w_atanh.c: Likewise.
49326 * math/w_atanhf.c: Likewise.
49327 * math/w_atanhl.c: Likewise.
49328 * math/w_exp2.c: Likewise.
49329 * math/w_exp2f.c: Likewise.
49330 * math/w_exp2l.c: Likewise.
49331 * math/w_j0.c: Likewise.
49332 * math/w_j0f.c: Likewise.
49333 * math/w_j0l.c: Likewise.
49334 * math/w_j1.c: Likewise.
49335 * math/w_j1f.c: Likewise.
49336 * math/w_j1l.c: Likewise.
49337 * math/w_jn.c: Likewise.
49338 * math/w_jnf.c: Likewise.
49339 * math/w_log.c: Likewise.
49340 * math/w_log10.c: Likewise.
49341 * math/w_log10f.c: Likewise.
49342 * math/w_log10l.c: Likewise.
49343 * math/w_log2.c: Likewise.
49344 * math/w_log2f.c: Likewise.
49345 * math/w_log2l.c: Likewise.
49346 * math/w_logf.c: Likewise.
49347 * math/w_logl.c: Likewise.
49348 * math/w_sqrt.c: Likewise.
49349 * math/w_sqrtf.c: Likewise.
49350 * math/w_sqrtl.c: Likewise.
49351 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49352 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49354 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49355 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49356
ebaf36eb
JM
493572012-02-19 Joseph Myers <joseph@codesourcery.com>
49358
49359 [BZ #9739]
49360 * manual/string.texi (strnlen): Use correct parameter name in
49361 equivalent expression.
49362
71c254a6
JM
493632012-02-19 Joseph Myers <joseph@codesourcery.com>
49364
49365 [BZ #11174]
49366 * manual/users.texi (seteuid): Consistently use neweuid for
49367 argument name.
49368
16d2c631
JM
493692012-02-19 Joseph Myers <joseph@codesourcery.com>
49370
49371 [BZ #13704]
49372 * manual/nss.texi (Services in the NSS configuration): Correct
49373 list of services in example configuration file.
49374
cd837b09
NB
493752012-02-19 Nick Bowler <nbowler@draconx.ca>
49376
49377 [BZ #11322]
49378 * manual/arith.texi: Remove statements about negative zero
49379 behaving identically to zero.
49380
02c4bbad
JM
493812012-02-18 Joseph Myers <joseph@codesourcery.com>
49382
49383 [BZ #5993]
49384 * manual/install.texi: Do not document upgrading from libc5.
49385
366842e7
JM
493862012-02-18 Joseph Myers <joseph@codesourcery.com>
49387
49388 [BZ #4596]
49389 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49390
dd54084d
DM
493912012-02-18 David S. Miller <davem@davemloft.net>
49392
49393 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49394 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49395 %o7 across the call.
49396 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49397 instead.
49398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49399 SETUP_PIC_REG_LEAF.
49400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49401 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49402 * sysdeps/sparc/crtn.S: Likewise.
49403
2bcc53a3
UD
494042012-02-17 Ulrich Drepper <drepper@gmail.com>
49405
49406 * aout/Makefile: Remove.
49407
09c093b5
RK
494082012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49409
49410 [BZ #13058]
49411 * manual/examples/argp-ex1.c (main): Format definition in GNU
49412 style.
49413 * manual/examples/argp-ex2.c (main): Likewise.
49414 * manual/examples/argp-ex3.c (main): Likewise.
49415 * manual/examples/argp-ex4.c (main): Likewise.
49416 * manual/examples/longopt.c (main): Use new-style prototype
49417 definition.
49418 * manual/examples/strncat.c (main): Specify return type and use
49419 (void) for arguments.
49420 * manual/examples/subopt.c (main): Use char **argv argument.
49421
2ee633a2
JM
494222012-02-17 Joseph Myers <joseph@codesourcery.com>
49423
49424 [BZ #5077]
49425 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49426 rounding modes.
49427
0520adde
FB
494282012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49429
49430 [BZ #6907]
49431 * manual/string.texi (strchr): Change when strchrnul is
49432 recommended.
49433
3f4081cd
DGM
494342012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49435
49436 [BZ #174]
49437 * manual/locale.texi (setlocale): Document LOCPATH.
49438
d1b10e78
JM
494392012-02-17 Joseph Myers <joseph@codesourcery.com>
49440
49441 [BZ #10210]
49442 * manual/process.texi (execle): Move @dots{} before last argument.
49443
79c6869c
PB
494442012-02-17 Paul Bolle <pebolle@tiscali.nl>
49445
49446 [BZ #12047]
49447 * manual/charset.texi (Generic Charset Conversion): Fix typo
49448 (LC_TYPE -> LC_CTYPE).
49449
cc6e48bc
NB
494502012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49451
49452 [BZ #5805]
49453 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49454 (scalbnf): Likewise.
49455 (scalbnl): Likewise.
49456 (scalbln): Likewise.
49457 (scalblnf): Likewise.
49458 (scalblnl): Likewise.
49459 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49460 (vwarnx): Likewise.
49461 (verr): Likewise.
49462 (verrx): Likewise.
49463 * manual/filesys.texi (telldir): Use braces around return type.
49464 * manual/llio.texi (mmap): Add space after comma.
49465 (mmap64): Likewise.
49466 * manual/math.texi (jn): Use @var{} on parameter names.
49467 (jnf): Likewise.
49468 (jnl): Likewise.
49469 (yn): Likewise.
49470 (ynf): Likewise.
49471 (ynl): Likewise.
49472 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49473 line.
49474 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49475 "...".
49476 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49477 (sched_get_priority_max): Likewise.
49478 * manual/signal.texi (sigvec): Add space after comma.
49479 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49480 names.
49481 (if_indextoname): Likewise.
49482 (if_freenameindex): Likewise.
49483 (sendto): Use ',' instead of '.' in prototype.
49484 * manual/startup.texi (syscall): Use @dots{} instead of literal
49485 "...".
49486 * manual/stdio.texi (__fpending): Separate initial words of
49487 paragraph from @deftypefun line.
49488 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49489 "...".
49490 (vsyslog): Use @var{} on parameter names.
49491 * manual/terminal.texi (stty): Use @var{} on parameter names.
49492 * manual/users.texi (getutmp): Use @var{} on parameter names.
49493 (getutmpx): Likewise.
49494
5b23062f
JM
494952012-02-17 Joseph Myers <joseph@codesourcery.com>
49496
49497 [BZ #6884]
49498 * manual/stdio.texi (fopen): Fix typos in description of
49499 ",ccs=STRING".
49500
8dee4833
AJ
495012012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49502
49503 [BZ #4026]
49504 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49505 get clock_id definition.
49506
9078ce93
TS
495072012-02-17 Thomas Schwinge <thomas@schwinge.name>
49508
49509 [BZ #4822]
49510 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49511 (madvise): Cast every argument to void on its own.
49512
3835c55f
JM
495132012-02-17 Joseph Myers <joseph@codesourcery.com>
49514
49515 [BZ #9902]
49516 * manual/startup.texi (Exit Status): Fix typo.
49517
35c47e37
JM
495182012-02-17 Joseph Myers <joseph@codesourcery.com>
49519
49520 [BZ #10140]
49521 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49522 * manual/examples/argp-ex2.c: Likewise.
49523 * manual/examples/argp-ex3.c: Likewise.
49524
e3b69ca7
RH
495252012-02-16 Richard Henderson <rth@redhat.com>
49526
49527 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49528 * sysdeps/s390/s390-32/initfini.c: Remove.
49529 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49530 * sysdeps/s390/s390-64/initfini.c: Remove.
49531
df83af67
KK
495322012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49533
49534 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49535 compiler output for sysdeps/generic/initfini.c.
49536 * sysdeps/sh/elf/initfini.c: Remove file.
49537
f63f3380
DM
495382012-02-16 David S. Miller <davem@davemloft.net>
49539
fb59b3a4
DM
49540 [BZ #11494]
49541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49542
f63f3380
DM
49543 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49544 * sysdeps/sparc/crti.S: New file.
49545 * sysdeps/sparc/crtn.S: New file.
49546 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49547 * sysdeps/sparc/sparc64/Makefile: Likewise.
49548
df6a4a4a
MF
495492012-02-15 Mike Frysinger <vapier@gentoo.org>
49550
6dd8f3dc 49551 [BZ #3335]
df6a4a4a
MF
49552 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49553
1cac7236
RM
495542012-02-15 Roland McGrath <roland@hack.frob.com>
49555
d2c736f8
RM
49556 [BZ #4822]
49557 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49558
1cac7236
RM
49559 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49560 (write, read, close): Likewise.
49561 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49562
8e475601
JM
495632012-02-15 Joseph Myers <joseph@codesourcery.com>
49564
49565 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49566 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49567 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49568 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49569 <bits/signalfd.h>.
49570 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49572 bits/signalfd.h.
49573
ed656b40
MP
495742012-02-14 Marek Polacek <polacek@redhat.com>
49575
49576 * sysdeps/x86_64/crti.S: New file.
49577 * sysdeps/x86_64/crtn.S: New file.
49578 * sysdeps/x86_64/elf/initfini.c: Remove file.
49579
2a979d3a
JM
495802012-02-13 Joseph Myers <joseph@codesourcery.com>
49581
49582 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49583 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49584 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49585 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49586 <bits/inotify.h>.
49587 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49589 bits/inotify.h.
49590
2a418ac3
JM
495912012-02-13 Joseph Myers <joseph@codesourcery.com>
49592
49593 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49594 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49595 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49596 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49597 <bits/eventfd.h>.
49598 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49600 bits/eventfd.h.
49601
fb779be7
TS
496022012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49603
e19e83c5
RM
49604 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49605 __feraiseexcept instead of feraiseexcept.
7c35ffed 49606
fb779be7
TS
49607 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49608 nanosleep invocations.
49609 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49610 strings, and add error checking for a nanosleep invocations.
49611
59ba27a6
PE
496122012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49613
49614 Replace FSF snail mail address with URLs, as per GNU coding standards.
49615 Most of the snail mail addresses were wrong anyway, and omitting
49616 them makes the source code easier to maintain. Almost all of the
49617 changes are to license notices and to locale LC_IDENTIFICATION
49618 addresses, except for this one:
49619 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49620 not its snail mail address.
49621
57b957eb
RH
496222012-02-09 Richard Henderson <rth@twiddle.net>
49623
af850b1c
RH
49624 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49625 of kernel-features.h.
49626
57b957eb
RH
49627 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49628
6b73181a
MP
496292012-02-08 Marek Polacek <polacek@redhat.com>
49630
49631 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49632 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49633 * sysdeps/gnu/_G_config.h: Likewise.
49634 * sysdeps/generic/_G_config.h: Likewise.
49635
26ecc33a
AS
496362012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49637
6c6dbc63
AS
49638 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49639 tests.
49640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49641
e216c012
AS
49642 * sysdeps/powerpc/powerpc32/crti.S: New file.
49643 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49644 * sysdeps/powerpc/powerpc64/crti.S: New file.
49645 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49646
26ecc33a
AS
49647 * Makeconfig (have-initfini): Don't set.
49648 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49649 * configure.in (nopic_initfini): Don't substitute.
49650 * config.h.in (HAVE_INITFINI): Don't #undef.
49651 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49652 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49653
3add8e13
JM
496542012-02-08 Joseph Myers <joseph@codesourcery.com>
49655
49656 Support crti.S and crtn.S provided directly by architectures.
49657 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49658 [crti.S in sysdirs] (omit-deps): Likewise.
49659 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49660 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49661 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49662 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49663 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49664 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49665 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49666 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49667 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49668 compiler output for sysdeps/generic/initfini.c.
49669 * sysdeps/i386/elf/Makefile: Remove file.
49670 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49671
a22f12b4
MP
496722012-02-07 Marek Polacek <polacek@redhat.com>
49673
49674 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49675 * sysdeps/gnu/_G_config.h: Likewise.
49676 * sysdeps/mach/hurd/_G_config.h: Likewise.
49677
148cf100
MP
496782012-02-07 Marek Polacek <polacek@redhat.com>
49679
49680 * math/Makefile (tests): Add tst-CMPLX2.
49681 * math/tst-CMPLX2.c: New file.
49682
cfdc0dd7
AS
496832012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49684
84ba42c4
AS
49685 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49686
cfdc0dd7
AS
49687 * math/libm-test.inc (jn_test): Add missing L suffix.
49688
622c86f4
MP
496892012-02-06 Marek Polacek <polacek@redhat.com>
49690
49691 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49692 * sysdeps/i386/fpu/e_powf.S: Likewise.
49693 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49694 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49695 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49696 * sysdeps/i386/fpu/e_pow.S: Likewise.
49697 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49698 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49699 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49700 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49701 * sysdeps/i386/fpu/e_log2.S: Likewise.
49702 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49703 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49704 * sysdeps/i386/fpu/e_powl.S: Likewise.
49705 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49706 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49707 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49708 * sysdeps/i386/fpu/e_logl.S: Likewise.
49709 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49710 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49711 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49712 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49713 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49715 * sysdeps/i386/fpu/e_log.S: Likewise.
49716 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49717 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49718 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49719 * sysdeps/i386/fpu/e_logf.S: Likewise.
49720 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49721 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49722 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49723 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49724 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49725 * sysdeps/i386/fpu/e_log10.S: Likewise.
49726 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49727 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49728 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49729 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49730 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49731 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49732 * sysdeps/i386/asm-syntax.h: Likewise.
49733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49736 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49737 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49738 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49739 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49740 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49741 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49742 * sysdeps/powerpc/sysdep.h: Likewise.
49743 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49744 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49745
d4a54ac6
JM
497462012-02-06 Joseph Myers <joseph@codesourcery.com>
49747
49748 [BZ #411]
49749 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49750
314054ea
JM
497512012-02-06 Joseph Myers <joseph@codesourcery.com>
49752
49753 * sysdeps/i386/sysdep.h: Include <features.h>.
49754 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49755 version.
49756
d8e0ca50
JM
497572012-02-05 Joseph Myers <joseph@codesourcery.com>
49758
49759 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49760 Define.
49761 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49762 LOAD_PIC_REG_STR.
49763
b1da7dd9
JM
497642012-02-03 Joseph Myers <joseph@codesourcery.com>
49765
49766 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49767 (SETUP_PIC_REG): Use GET_PC_THUNK.
49768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49769 macro.
49770
9a1d9254
JM
497712012-02-03 Joseph Myers <joseph@codesourcery.com>
49772
49773 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49774 for non-PIC compilation.
49775 (SETUP_PIC_REG): Add .p2align directive.
49776 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49777 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49778 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49779 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49780 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49781 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49782 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49784 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49785 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49786 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49787 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49788 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49789 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49790 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49791 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49792 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49793 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49794 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49795 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49796 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49798 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49799 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49800 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49802 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49804 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49805 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49806 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49807 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49808 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49809 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49810 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49811 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49812 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49813 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49814 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49815 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49816 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49817
65dc3b75
JM
498182012-02-03 Joseph Myers <joseph@codesourcery.com>
49819
49820 * math/tst-CMPLX.c: Include <stdio.h>.
49821
d55bf177
JM
498222012-01-31 Joseph Myers <joseph@codesourcery.com>
49823
49824 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49825 float.
49826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49827 * sysdeps/sparc/bits/mathdef.h: Likewise.
49828
69db4f8f
MP
498292012-01-31 Marek Polacek <polacek@redhat.com>
49830
49831 * libio/libio.h: Don't define _PARAMS.
49832 * locale/programs/config.h: Don't define PARAMS.
49833 * stdlib/strtol_l.c: Likewise.
49834 (__strtol_l): Remove PARAMS from the prototype.
49835
41b81892
UD
498362012-01-31 Ulrich Drepper <drepper@gmail.com>
49837
3b49edc0
UD
49838 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49839 names. Just use the correct names. Remove unnecessary wrapper
49840 functions.
49841 * malloc/arena.c: Likewise.
49842 * malloc/hooks.c: Likewise.
49843
41b81892
UD
49844 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49845 ARENA_TEST says not to. Simplify test for creation of a new arena.
49846 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49847
27a25b6e
UD
498482012-01-30 Ulrich Drepper <drepper@gmail.com>
49849
49850 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49851 into tail calls.
49852 (update_get_addr): New function.
49853 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49854 GET_ADDR_MODULE parameter.
49855
c8a89e7d
JM
498562012-01-30 Joseph Myers <joseph@codesourcery.com>
49857
49858 * crypt/cert.c: Remove __STDC__ conditionals.
49859 * crypt/crypt-entry.c: Likewise.
49860 * crypt/crypt_util.c: Likewise.
49861 * libio/filedoalloc.c: Likewise.
49862 * libio/fileops.c: Likewise.
49863 * libio/genops.c: Likewise.
49864 * libio/iofclose.c: Likewise.
49865 * libio/iofdopen.c: Likewise.
49866 * libio/iofopen.c: Likewise.
49867 * libio/iofopen64.c: Likewise.
49868 * libio/iogetdelim.c: Likewise.
49869 * libio/iopopen.c: Likewise.
49870 * libio/obprintf.c: Likewise.
49871 * libio/oldfileops.c: Likewise.
49872 * libio/oldiofclose.c: Likewise.
49873 * libio/oldiofdopen.c: Likewise.
49874 * libio/oldiofopen.c: Likewise.
49875 * libio/oldiopopen.c: Likewise.
49876 * libio/wfiledoalloc.c: Likewise.
49877 * libio/wgenops.c: Likewise.
49878 * locale/programs/xmalloc.c: Likewise.
49879 * misc/syslog.c: Likewise.
49880 * stdio-common/xbug.c: Likewise.
49881 * string/memchr.c: Likewise.
49882 * string/memcmp.c: Likewise.
49883 * string/memrchr.c: Likewise.
49884 * string/rawmemchr.c: Likewise.
49885 * sysdeps/posix/getcwd.c: Likewise.
49886 * time/strftime_l.c: Likewise.
49887
3b100462
JM
498882012-01-30 Joseph Myers <joseph@codesourcery.com>
49889
49890 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49891 * config.make.in (config-cflags-sse2avx): Define.
49892 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49893 Fix typo.
49894
607998af
CM
498952012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49896
49897 * scripts/config.guess: Update from upstream config git repository.
49898 * scripts/config.sub: Likewise.
49899
3601428f
CM
499002012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49901
3ac8b282
CM
49902 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49903 (EM_NUM): Update.
49904 (R_TILEPRO_*, R_TILEGX_*): New macros.
49905
e034841e
CM
49906 * scripts/firstversions.awk: Fix bug in version range handling.
49907
540d7568
CM
49908 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49909
3601428f
CM
49910 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49911
463de862
CM
49912 * include/sys/epoll.h: New file.
49913 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49914 libc_hidden_def.
49915
73139a76
UD
499162012-01-28 Ulrich Drepper <drepper@gmail.com>
49917
96bc5b45
UD
49918 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49919 Avoid unnecessary __WORDSIZE == 64 test.
49920 (fmaxf): Use VEX format if possible.
49921 (fmax): Likewise.
49922 (fminf): Likewise.
49923 (fmin): Likewise.
49924
56f6f6a2
UD
49925 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49926 * math/math_private.h: Remove libc_fegetround* and
49927 libc_fesetround*.
49928 * sysdeps/i386/configure.in: Check for -msse2avx.
49929 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49930 also if SSE2AVX is defined.
49931 Remove libc_fegetround* and libc_fesetround*.
49932 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49933 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49935 of HAS_YMM_USABLE.
49936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49937 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49940 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49941
73139a76
UD
49942 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49943
d73f93a4
AZ
499442012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49945
49946 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49947 size is not set.
49948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49949
6ee65ed6
UD
499502012-01-27 Ulrich Drepper <drepper@gmail.com>
49951
49952 [BZ #13618]
49953 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49954 relocation.
49955 * Makeconfig (libm): Define.
49956 * elf/Makefile: Add rules to build and run tst-relsort1.
49957 * elf/tst-relsort1.c: New file.
49958 * elf/tst-relsort1mod1.c: New file.
49959 * elf/tst-relsort1mod2.c: New file.
49960
8db21882
JM
499612012-01-27 Joseph Myers <joseph@codesourcery.com>
49962
49963 * math/s_ldexp.c: Remove __STDC__ conditionals.
49964 * math/s_ldexpf.c: Likewise.
49965 * math/s_ldexpl.c: Likewise.
49966 * math/s_nextafter.c: Likewise.
49967 * math/s_nexttowardf.c: Likewise.
49968 * math/s_significand.c: Likewise.
49969 * math/s_significandf.c: Likewise.
49970 * math/s_significandl.c: Likewise.
49971 * math/w_jnl.c: Likewise.
49972 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49973 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49974 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49975 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49976 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49977 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49978 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49979 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49980 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49981 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49982 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49983 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49984 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49986 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49991 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49992 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49993 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49994 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49996 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49997 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49998 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49999 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50000 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50001 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50002 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50003 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50004 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50005 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50006 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50007 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50008 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50009 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50010 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50011 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50012 * sysdeps/ieee754/k_standard.c: Likewise.
50013 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50014 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50015 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50016 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50017 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50018 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50019 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50020 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50021 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50023 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50024 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50025 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50026 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50027 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50029 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50031 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50032 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50033 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50034 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50038 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50042 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50043 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50044 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50045 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50046 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50047 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50048 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50049 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50050 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50051 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50052 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50053 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50055 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50056 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50058 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50059 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50061 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50062 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50063 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50066 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50067 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50068 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50069 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50070 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50071 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50072 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50073 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50074 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50075 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50077 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50078 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50079 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50080 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50083 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50084 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50085 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50086 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50089 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50090 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50092 * sysdeps/ieee754/s_matherr.c: Likewise.
50093 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50094 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50095 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50097
965a54a4
JM
500982012-01-26 Joseph Myers <joseph@codesourcery.com>
50099
50100 * crypt/md5.h: Remove __STDC__ conditionals.
50101 * libio/libioP.h: Likewise.
50102 * locale/programs/config.h: Likewise.
50103 * sysdeps/generic/sysdep.h: Likewise.
50104 * sysdeps/i386/asm-syntax.h: Likewise.
50105 * sysdeps/s390/asm-syntax.h: Likewise.
50106 * sysdeps/unix/sysdep.h: Likewise.
50107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50109
7071ad79
JM
501102012-01-26 Joseph Myers <joseph@codesourcery.com>
50111
50112 * libio/libio.h: Remove __STDC__ conditionals.
50113 * malloc/obstack.h: Likewise.
50114 * math/complex.h: Likewise.
50115 * math/math.h: Likewise.
50116 * sysdeps/generic/_G_config.h: Likewise.
50117 * sysdeps/gnu/_G_config.h: Likewise.
50118 * sysdeps/mach/hurd/_G_config.h: Likewise.
50119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50120 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50121 * sysdeps/sparc/bits/mathdef.h: Likewise.
50122
afc5ed09
UD
501232012-01-26 Ulrich Drepper <drepper@gmail.com>
50124
50125 [BZ #13583]
50126 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50127 Clean up HAS_* macros.
afc5ed09 50128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50129 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50130 possible.
50131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50132 HAS_AVX.
50133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50134 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50138
bdb6de1d
JM
501392012-01-25 Joseph Myers <joseph@codesourcery.com>
50140
50141 * elf/tst-unique3.cc (gets): Remove declaration.
50142 * elf/tst-unique3lib.cc (gets): Likewise.
50143 * elf/tst-unique3lib2.cc (gets): Likewise.
50144 * elf/tst-unique4.cc (gets): Likewise.
50145
b15549e6
UD
501462012-01-24 Ulrich Drepper <drepper@gmail.com>
50147
50148 * include/stdio.h: Add C++ protection. Add gets declarations and
50149 definitions.
50150 * debug/tst-chk1.c: Don't declare gets here.
50151 * stdio-common/tst-gets.c: Likewise.
50152
a037381f
JM
501532012-01-24 Joseph Myers <joseph@codesourcery.com>
50154
50155 * posix/glob: Remove directory.
50156
f1d4aa75
JM
501572012-01-24 Joseph Myers <joseph@codesourcery.com>
50158
50159 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50160
81c0c964
PT
501612012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50162
50163 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50164 of the non-standard EPFNOSUPPORT.
50165
0ea698ae
ST
501662011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50167
50168 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50169 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50170 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50171
d220b117
UD
501722012-01-21 Ulrich Drepper <drepper@gmail.com>
50173
50174 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50175
3e1aa84e
UD
501762012-01-20 Ulrich Drepper <drepper@gmail.com>
50177
50178 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50179 transient errors.
50180 * nscd/grpcache.c (cache_addgr): Likewise.
50181 * nscd/hstcache.c (cache_addhst): Likewise.
50182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50183 * nscd/pwdcache.c (cache_addpw): Likewise.
50184 * nscd/servicescache.c (cache_addserv): Likewise.
50185
400aa020
UD
501862012-01-16 Ulrich Drepper <drepper@gmail.com>
50187
d77e7869
UD
50188 * malloc/malloc.c: Various cleanups.
50189 * malloc/hooks.c: Likewise.
50190
400aa020
UD
50191 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50192 * stdlib/bug-fmtmsg1.c: New file.
50193
50194 * stdlib/fmtmsg.c (init): Add missing unlock.
50195 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50196
e0a309cf
MP
501972012-01-12 Marek Polacek <polacek@redhat.com>
50198
50199 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50200 and _GNU_SOURCE.
50201
929d11c7
WS
502022012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50203
50204 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50205 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50206 macro to ensure uniqueness of label name.
50207 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50208 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50209
41d0e869
UD
502102012-01-11 Ulrich Drepper <drepper@gmail.com>
50211
0cc5ed3b
UD
50212 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50213
41d0e869
UD
50214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50215 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50218
a47a831a
UD
502192012-01-10 Ulrich Drepper <drepper@gmail.com>
50220
daa891c0
UD
50221 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50222
50223 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50224 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50225 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50226
e58ef0f2
UD
50227 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50228
a47a831a 50229 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50230 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50233
50234 * math/bits/math-finite.h: Add ldexp support.
50235
a0bfc9c7
MP
502362012-01-10 Marek Polacek <polacek@redhat.com>
50237
50238 * locale/programs/localedef.h (show_archive_content): Add noreturn
50239 attribute.
50240
d6e97a1d
UD
502412012-01-09 Ulrich Drepper <drepper@gmail.com>
50242
50243 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50244
d5835c26
UD
502452012-01-08 Ulrich Drepper <drepper@gmail.com>
50246
e5f484c6
UD
50247 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50248
d5835c26
UD
50249 * io/Makefile (headers): Add bits/poll2.h.
50250
d1f741e9
WS
502512011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50252
50253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50254 typo #include statement.
50255
ec09c1c4
UD
502562012-01-08 Ulrich Drepper <drepper@gmail.com>
50257
50258 * include/sys/cdefs.h: Define __attribute_alloc_size.
50259 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50260 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50261 * elf/pldd.c: Likewise.
50262 * iconv/iconv_charmap.c: Likewise.
50263 * iconv/iconvconfig.c: Likewise.
50264 * iconv/strtab.c: Likewise.
50265 * locale/programs/locale.c: Likewise.
50266 * locale/programs/localedef.h: Likewise.
50267 * locale/programs/simple-hash.c: Likewise.
50268 * nscd/nscd.h: Likewise.
50269 * nss/makedb.c: Likewise.
50270 * sysdeps/generic/ldconfig.h: Likewise.
50271 * locale/programs/localedef.c: Remove xmalloc prototype.
50272 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50273
20b38e03
PP
502742012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50275
50276 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50277 appropriate.
50278
a0da5fe1
UD
502792012-01-08 Ulrich Drepper <drepper@gmail.com>
50280
1d5a644a 50281 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50282 * math/tst-CMPLX.c: New file.
1d5a644a 50283
8784a6db
UD
50284 * math/complex.h (CMPLXL): Fix typo.
50285
d9a216c0
UD
50286 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50287 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50288 GLIBC_2.16.
50289 * debug/tst-chk1.c: Add poll and ppoll tests.
50290 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50291 * include/sys/poll.h: Add hidden proto for ppoll.
50292 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50293 * sysdeps/mach/hurd/ppoll.c: Likewise.
50294 * io/ppoll.c: Likewise.
50295 * debug/poll_chk.c: New file.
50296 * debug/ppoll_chk.c: New file.
50297 * include/bits/poll2.h: New file.
50298 * io/bits/poll2.h: New file.
50299
ac097f5c
UD
50300 [BZ #1350]
50301 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50302
2119dcfa
UD
50303 * configure.in: static is always set to yes. Remove.
50304 * config.make.in: Don't set build-static.
50305 * Makeconfig: Remove use of build-static.
50306 * dlfcn/Makefile: Likewise.
50307 * elf/Makefile: Likewise.
50308 * math/Makefile: Likewise.
50309 * misc/Makefile: Likewise.
50310 * nptl/Makefile: Likewise.
50311 * sysdeps/mach/hurd/Makefile: Likewise.
50312
121766a9
UD
50313 * configure.in: PWD_P is not used anymore.
50314 * config.make.in: Remove PWD_P entry.
50315
51a1d39c 50316 * configure.in: Remove last remnants of RANLIB.
8720d066 50317 No need to check for signed size_t anymore.
215f4bdc
UD
50318 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50319 and IA-64.
3857022a 50320 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50321 * aclocal.m4: Likewise.
50322
d3ed7225
UD
50323 * wcsmbs/mbrtoc16.c: Implement using towc function.
50324 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50325 * wcsmbs/wcsmbsload.c: Likewise.
50326 * iconv/gconv_simple.c: Likewise.
50327 * iconv/gconv_int.h: Likewise.
50328 * iconv/gconv_builtin.h: Likewise.
50329 * iconv/iconv_prog.c: Remove CHAR16 handling.
50330
50331 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50332
50333 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50334
a0da5fe1
UD
50335 * configure.in: Remove --with-elf and --enable-bounded options.
50336 Dont set base_machine for ia64. More non-ELF conditions removed.
50337 Remove testing and setting of leading underscore information.
50338 * config.make.in (build-bounded): Set to no.
50339 * config.h.in: Remove NO_UNDERSCORES entry.
50340 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50341 them.
50342 * csu/start.c: Remove !NO_UNDERSCORE code.
50343 * locale/localeinfo.h: Likewise.
50344 * sysdeps/generic/machine-gmon.h: Likewise.
50345 * sysdeps/generic/sysdep.h: Likewise.
50346 * sysdeps/i386/sysdep.h: Likewise.
50347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50348 * sysdeps/mach/sysdep.h: Likewise.
50349 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50351 * sysdeps/sh/sysdep.h: Likewise.
50352 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50353 * sysdeps/unix/i386/sysdep.S: Likewise.
50354 * sysdeps/unix/sparc/start.c: Likewise.
50355 * sysdeps/unix/sparc/sysdep.S: Likewise.
50356 * sysdeps/unix/sparc/sysdep.h: Likewise.
50357 * sysdeps/unix/start.c: Likewise.
50358 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50359 * sysdeps/x86_64/sysdep.h: Likewise.
50360
df78418a
UD
503612012-01-07 Ulrich Drepper <drepper@gmail.com>
50362
a784e502
UD
50363 [BZ #13553]
50364 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50365 for non-gcc.
50366 * argp/argp-fmtstream.h: Use const instead __const.
50367 * argp/argp.h: Likewise.
50368 * assert/assert.h: Likewise.
50369 * bits/fenv.h: Likewise.
50370 * bits/sched.h: Likewise.
50371 * bits/sigset.h: Likewise.
50372 * bits/sigthread.h: Likewise.
50373 * catgets/nl_types.h: Likewise.
50374 * conform/data/pthread.h-data: Likewise.
50375 * crypt/crypt-private.h: Likewise.
50376 * crypt/crypt.h: Likewise.
50377 * crypt/crypt_util.c: Likewise.
50378 * ctype/ctype.h: Likewise.
50379 * debug/execinfo.h: Likewise.
50380 * debug/mbsnrtowcs_chk.c: Likewise.
50381 * debug/mbsrtowcs_chk.c: Likewise.
50382 * debug/wcsnrtombs_chk.c: Likewise.
50383 * debug/wcsrtombs_chk.c: Likewise.
50384 * debug/wcstombs_chk.c: Likewise.
50385 * dirent/dirent.h: Likewise.
50386 * dlfcn/dlfcn.h: Likewise.
50387 * elf/neededtest4.c: Likewise.
50388 * grp/grp.h: Likewise.
50389 * gshadow/gshadow.h: Likewise.
50390 * iconv/gconv.h: Likewise.
50391 * iconv/gconv_int.h: Likewise.
50392 * iconv/gconv_simple.c: Likewise.
50393 * iconv/iconv.h: Likewise.
50394 * iconv/loop.c: Likewise.
50395 * iconv/skeleton.c: Likewise.
50396 * include/aio.h: Likewise.
50397 * include/aliases.h: Likewise.
50398 * include/argz.h: Likewise.
50399 * include/arpa/inet.h: Likewise.
50400 * include/assert.h: Likewise.
50401 * include/dirent.h: Likewise.
50402 * include/dlfcn.h: Likewise.
50403 * include/execinfo.h: Likewise.
50404 * include/fcntl.h: Likewise.
50405 * include/fenv.h: Likewise.
50406 * include/glob.h: Likewise.
50407 * include/grp.h: Likewise.
50408 * include/libintl.h: Likewise.
50409 * include/mntent.h: Likewise.
50410 * include/netdb.h: Likewise.
50411 * include/pwd.h: Likewise.
50412 * include/rpc/netdb.h: Likewise.
50413 * include/sched.h: Likewise.
50414 * include/search.h: Likewise.
50415 * include/shadow.h: Likewise.
50416 * include/signal.h: Likewise.
50417 * include/stdio.h: Likewise.
50418 * include/stdlib.h: Likewise.
50419 * include/string.h: Likewise.
50420 * include/sys/socket.h: Likewise.
50421 * include/sys/stat.h: Likewise.
50422 * include/sys/statfs.h: Likewise.
50423 * include/sys/statvfs.h: Likewise.
50424 * include/sys/syslog.h: Likewise.
50425 * include/sys/time.h: Likewise.
50426 * include/sys/uio.h: Likewise.
50427 * include/time.h: Likewise.
50428 * include/unistd.h: Likewise.
50429 * include/utmp.h: Likewise.
50430 * include/wchar.h: Likewise.
50431 * include/wctype.h: Likewise.
50432 * inet/aliases.h: Likewise.
50433 * inet/arpa/inet.h: Likewise.
50434 * inet/netinet/ether.h: Likewise.
50435 * inet/netinet/in.h: Likewise.
50436 * intl/libintl.h: Likewise.
50437 * io/bits/fcntl2.h: Likewise.
50438 * io/fcntl.h: Likewise.
50439 * io/ftw.h: Likewise.
50440 * io/sys/poll.h: Likewise.
50441 * io/sys/stat.h: Likewise.
50442 * io/sys/statfs.h: Likewise.
50443 * io/sys/statvfs.h: Likewise.
50444 * io/utime.h: Likewise.
50445 * libio/bits/stdio.h: Likewise.
50446 * libio/bits/stdio2.h: Likewise.
50447 * libio/libio.h: Likewise.
50448 * libio/libioP.h: Likewise.
50449 * libio/stdio.h: Likewise.
50450 * locale/lc-ctype.c: Likewise.
50451 * locale/locale.h: Likewise.
50452 * login/utmp.h: Likewise.
50453 * malloc/arena.c: Likewise.
50454 * malloc/malloc.c: Likewise.
50455 * malloc/malloc.h: Likewise.
50456 * malloc/mcheck.c: Likewise.
50457 * malloc/mtrace.c: Likewise.
50458 * math/bits/mathcalls.h: Likewise.
50459 * math/fenv.h: Likewise.
50460 * math/math_private.h: Likewise.
50461 * misc/bits/error.h: Likewise.
50462 * misc/bits/syslog.h: Likewise.
50463 * misc/err.h: Likewise.
50464 * misc/error.h: Likewise.
50465 * misc/fstab.h: Likewise.
50466 * misc/mntent.h: Likewise.
50467 * misc/regexp.h: Likewise.
50468 * misc/search.h: Likewise.
50469 * misc/sgtty.h: Likewise.
50470 * misc/sys/mman.h: Likewise.
50471 * misc/sys/syslog.h: Likewise.
50472 * misc/sys/uio.h: Likewise.
50473 * misc/sys/xattr.h: Likewise.
50474 * misc/ttyent.h: Likewise.
50475 * nis/rpcsvc/ypclnt.h: Likewise.
50476 * nss/nss.h: Likewise.
50477 * posix/bits/unistd.h: Likewise.
50478 * posix/fnmatch.h: Likewise.
50479 * posix/glob.h: Likewise.
50480 * posix/sched.h: Likewise.
50481 * posix/spawn.h: Likewise.
50482 * posix/sys/wait.h: Likewise.
50483 * posix/unistd.h: Likewise.
50484 * posix/wordexp.h: Likewise.
50485 * pwd/pwd.h: Likewise.
50486 * resolv/netdb.h: Likewise.
50487 * resource/sys/resource.h: Likewise.
50488 * rt/aio.h: Likewise.
50489 * rt/bits/mqueue2.h: Likewise.
50490 * rt/mqueue.h: Likewise.
50491 * shadow/shadow.h: Likewise.
50492 * signal/signal.h: Likewise.
50493 * socket/send.c: Likewise.
50494 * socket/sendto.c: Likewise.
50495 * socket/sys/socket.h: Likewise.
50496 * stdio-common/printf.h: Likewise.
50497 * stdlib/bits/stdlib.h: Likewise.
50498 * stdlib/fmtmsg.h: Likewise.
50499 * stdlib/monetary.h: Likewise.
50500 * stdlib/stdlib.h: Likewise.
50501 * stdlib/ucontext.h: Likewise.
50502 * streams/stropts.h: Likewise.
50503 * string/argz.h: Likewise.
50504 * string/bits/string2.h: Likewise.
50505 * string/string.h: Likewise.
50506 * string/strings.h: Likewise.
50507 * sunrpc/rpc/auth.h: Likewise.
50508 * sunrpc/rpc/auth_des.h: Likewise.
50509 * sunrpc/rpc/clnt.h: Likewise.
50510 * sunrpc/rpc/netdb.h: Likewise.
50511 * sunrpc/rpc/pmap_clnt.h: Likewise.
50512 * sunrpc/rpc/xdr.h: Likewise.
50513 * sysdeps/generic/inttypes.h: Likewise.
50514 * sysdeps/generic/net/if.h: Likewise.
50515 * sysdeps/generic/sys/swap.h: Likewise.
50516 * sysdeps/gnu/net/if.h: Likewise.
50517 * sysdeps/gnu/utmpx.h: Likewise.
50518 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50519 * sysdeps/i386/i486/bits/string.h: Likewise.
50520 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50521 * sysdeps/s390/bits/string.h: Likewise.
50522 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50523 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50524 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50525 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50526 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50527 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50528 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50529 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50530 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50531 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50532 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50533 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50534 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50535 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50536 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50537 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50538 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50542 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50543 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50544 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50545 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50546 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50547 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50548 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50550 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50551 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50552 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50553 * sysvipc/sys/ipc.h: Likewise.
50554 * sysvipc/sys/msg.h: Likewise.
50555 * sysvipc/sys/sem.h: Likewise.
50556 * sysvipc/sys/shm.h: Likewise.
50557 * termios/termios.h: Likewise.
50558 * time/sys/time.h: Likewise.
50559 * time/time.h: Likewise.
50560 * wcsmbs/bits/wchar2.h: Likewise.
50561 * wcsmbs/uchar.h: Likewise.
50562 * wcsmbs/wchar.h: Likewise.
50563 * wctype/wctype.h: Likewise.
50564
0269750c
UD
50565 [BZ #13551]
50566 * Makeconfig: Remove all but ELF support including AIX support.
50567 * Makerules: Likewise.
50568 * config.h.in: Likewise.
50569 * config.make.in: Likewise.
50570 * configure: Likewise.
50571 * configure.in: Likewise.
50572 * csu/Makefile: Likewise.
50573 * csu/version.c: Likewise.
50574 * debug/Makefile: Likewise.
50575 * dlfcn/Makefile: Likewise.
50576 * elf/Makefile: Likewise.
50577 * extra-lib.mk: Likewise.
50578 * iconv/Makefile: Likewise.
50579 * include/libc-symbols.h: Likewise.
50580 * include/shlib-compat.h: Likewise.
50581 * resolv/Makefile: Likewise.
50582 * resolv/res_libc.c: Likewise.
50583 * rt/Makefile: Likewise.
50584 * sysdeps/i386/asm-syntax.h: Likewise.
50585 * sysdeps/i386/sysdep.h: Likewise.
50586 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50587 * sysdeps/mach/sysdep.h: Likewise.
50588 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50589 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50590 * sysdeps/s390/asm-syntax.h: Likewise.
50591 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50592 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50593 * sysdeps/sh/sysdep.h: Likewise.
50594 * sysdeps/unix/sparc/sysdep.h: Likewise.
50595 * sysdeps/wordsize-32/divdi3.c: Likewise.
50596 * sysdeps/x86_64/sysdep.h: Likewise.
50597
00bbd29b
UD
50598 * argp/Versions: Remove _argp_unlock_xxx.
50599
50600 [BZ #13559]
50601 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50602 * abilist/libBrokenLocale.abilist: Likewise.
50603 * abilist/libanl.abilist: Likewise.
50604 * abilist/libc.abilist: Likewise.
50605 * abilist/libcrypt.abilist: Likewise.
50606 * abilist/libdl.abilist: Likewise.
50607 * abilist/libm.abilist: Likewise.
50608 * abilist/libnsl.abilist: Likewise.
50609 * abilist/libpthread.abilist: Likewise.
50610 * abilist/libresolv.abilist: Likewise.
50611 * abilist/librt.abilist: Likewise.
50612 * abilist/libthread_db.abilist: Likewise.
50613 * abilist/libutil.abilist: Likewise.
50614 * abilist/libnss_db.abilist: New file.
50615
50616 * scripts/abilist.awk: Add support for indirect functions.
50617
a2693a0e
UD
50618 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50619
3f05895f
UD
50620 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50621
ecb6fb48
UD
50622 * shlib-versions: Remove entries for ports architectures.
50623
664f8cb9
UD
50624 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50625 files in ports.
50626 * elf/stackguard-macros.h: Remove support for IA-64.
50627 * elf/tst-auditmod1.c: Likewise.
50628 * sysdeps/generic/ldsodefs.h: Likewise.
50629
7ae81d88
UD
50630 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50631 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50632 configure files.
50633
bdeba135
UD
50634 [BZ #13552]
50635 * configure.in: Remove --enable-omitfp support.
50636 * FAQ.in: Adjust.
50637 * config.make.in: Likewise.
50638 * Makeconfig: Likewise.
50639 * manual/install.texi: Likewise.
50640
d75a0a62
UD
50641 In case anyone cares, the IA-64 architecture could move to ports.
50642 * sysdeps/ia64/*: Removed.
50643 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50644 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50645
dcc9756b
UD
50646 [BZ #13555]
50647 * configure.in: Remove entries for unsupported architectures.
50648
d3761ebc 50649 [BZ #13533]
9954432e
UD
50650 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50651 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50652 routines.
50653 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50654 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50655 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50656 fall back to using wcrtomb.
50657 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50658 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50659 renaming.
50660 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50661 * wcsmbs/tst-c16c32-1.c: New file.
50662
50663 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50664 local variable.
50665
c3a87236
UD
50666 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50667
28926a1b
UD
50668 * elf/tst-unique3.cc: Add explicit declaration of gets.
50669 * elf/tst-unique3lib.cc: Likewise.
50670 * elf/tst-unique3lib2.cc: Likewise.
50671 * elf/tst-unique4.cc: Likewise.
50672
df78418a
UD
50673 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50674
8ecd6b2a
JM
506752012-01-06 Joseph Myers <joseph@codesourcery.com>
50676
50677 [BZ #13566]
50678 * assert/assert.h (static_assert): Don't define for C++.
50679 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50680 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50681
9f115170
UD
506822012-01-03 Ulrich Drepper <drepper@gmail.com>
50683
5e0d0300
UD
50684 * iconv/loop.c (single loop): Fix assertion in storing of
50685 remaining bytes.
50686
9f115170
UD
50687 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50688
81fb02b0
UD
506892012-01-01 Ulrich Drepper <drepper@gmail.com>
50690
50691 * posix/getconf.c: Update copyright year.
50692 * nss/getent.c: Likewise.
a316c1f6 50693 * nss/makedb.c: Likewise.
81fb02b0
UD
50694 * iconv/iconvconfig.c: Likewise.
50695 * iconv/iconv_prog.c: Likewise.
50696 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50697 * elf/pldd.c: Likewise.
50698 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50699 * catgets/gencat.c: Likewise.
50700 * csu/version.c: Likewise.
50701 * elf/ldd.bash.in: Likewise.
50702 * elf/sprof.c (print_version): Likewise.
50703 * locale/programs/locale.c: Likewise.
50704 * locale/programs/localedef.c: Likewise.
a316c1f6 50705 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50706 * nscd/nscd.c (print_version): Likewise.
50707 * debug/xtrace.sh: Likewise.
50708 * malloc/memusage.sh: Likewise.
50709 * malloc/mtrace.pl: Likewise.
50710 * debug/catchsegv.sh: Likewise.
50711
2ba92745
JJ
507122011-12-30 Jakub Jelinek <jakub@redhat.com>
50713
50714 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50715 pure attribute.
50716
dadebdae
UD
507172011-12-24 Ulrich Drepper <drepper@gmail.com>
50718
d3761ebc 50719 [BZ #13533]
db6af3eb
UD
50720 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50721 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50722 transformations.
50723 * iconv/gconv_int.h: Likewise.
50724 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50725 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50726 from libc for GLIBC_2.16.
50727 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50728 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50729 * wcsmbs/uchar.h: Really define mbstate_t.
50730 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50731 * wcsmbs/c16rtomb.c: New file.
50732 * wcsmbs/mbrtoc16.c: New file.
50733 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50734 for C/POSIX locale.
50735 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50736 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50737
dadebdae
UD
50738 * wcsmbs/wchar.h: Add missing __restrict.
50739
67371b56
UD
507402011-12-23 Ulrich Drepper <drepper@gmail.com>
50741
74033a25
UD
50742 [BZ #13532]
50743 * time/Makefile (routines): Add timespec_get.
50744 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50745 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50746 timespec for ISO C11.
50747 * time/timespec_get.c: New file.
50748 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50749 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50750
380d7e87
UD
50751 [BZ #13531]
50752 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50753 * stdlib/stdlib.h: Declare aligned_alloc.
50754 * Versions.def: Add GLIBC_2.16 for libc.
50755 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50756
4e9e7a35
UD
50757 [BZ 13527]
50758 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50759 ISO C11.
50760
380d7e87 50761 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50762 code.
50763
03a71829
UD
50764 [BZ #13528]
50765 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50766
839e283e
UD
50767 [BZ #13529]
50768 * assert/assert.h (static_assert): Define.
50769
ce5294e2 50770 * version.h: Update for 2.16 development version.
90fa7312 50771
8d44e150 50772 [BZ #13526]
d7809905
UD
50773 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50774 _ISOC11_SOURCE.
50775
c0da14cd
UD
50776 * version.h (RELEASE): Bump for 2.15 release.
50777 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50778
530a3249
MP
50779 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50780 Patch by Marek Polacek <mpolacek@redhat.com>.
50781
67371b56
UD
50782 * bits/byteswap.h: Protect long long constants with __extension__.
50783 * sysdeps/i386/bits/byteswap.h: Likewise.
50784 * sysdeps/ia64/bits/byteswap.h: Likewise.
50785 * sysdeps/s390/bits/byteswap.h: Likewise.
50786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50787
15db4de1
LD
507882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50789
50790 [BZ #13540]
bbe315ea
LD
50791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50792 destination buffer.
15db4de1
LD
50793 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50794
2b2596b1
MP
507952011-12-23 Marek Polacek <polacek@redhat.com>
50796
50797 * elf/dl-addr.c (determine_info): Add inline keyword.
50798 * elf/tst-auditmod4b.c (check_avx): Likewise.
50799 * elf/tst-auditmod6b.c (check_avx): Likewise.
50800 * elf/tst-auditmod6c.c (check_avx): Likewise.
50801 * elf/tst-auditmod7b.c (check_avx): Likewise.
50802
70c6c246
UD
508032011-12-23 Ulrich Drepper <drepper@gmail.com>
50804
50805 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50806 !__SSE_MATH__.
50807
c044cf14
LD
508082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50809
15db4de1 50810 [BZ #13540]
c044cf14
LD
50811 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50812 processing for last bytes.
50813
6b13d9d9
BH
508142011-08-06 Bruno Haible <bruno@clisp.org>
50815
d455f537
BH
50816 [BZ #13061]
50817 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50818 U+0385, not to U+1FEE.
50819
6b13d9d9
BH
50820 [BZ #13062]
50821 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50822 entry for U+00A5 U+0301.
50823
db910efd
UD
508242011-12-22 Ulrich Drepper <drepper@gmail.com>
50825
27deeafc
UD
50826 [BZ #13166]
50827 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50828 buffer for the output is too small.
50829
aed9d171
UD
50830 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50831 optimization.
50832
db910efd
UD
50833 [BZ #13185]
50834 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50835 SSE flags if possible.
50836
2bd779ae
LD
508372011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50838
e7f9dac3 50839 [BZ #13540]
2bd779ae
LD
50840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50841 processing for last bytes.
50842
154bfc16
JM
508432011-12-22 Joseph Myers <joseph@codesourcery.com>
50844
50845 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50846 (syscall-list-default-options, syscall-list-default-condition)
50847 (syscall-list-includes): Define.
50848 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50849 list of ABIs and options and #if conditions for each ABI. Do not
50850 handle common syscalls between ABIs specially.
50851 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50852 Remove.
50853 (syscall-list-variants, syscall-list-32bit-options)
50854 (syscall-list-32bit-condition, syscall-list-64bit-options)
50855 (syscall-list-64bit-condition): Define.
50856 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50857 (syscall-list-variants, syscall-list-32bit-options)
50858 (syscall-list-32bit-condition, syscall-list-64bit-options)
50859 (syscall-list-64bit-condition): Define.
50860 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
50866 Remove.
50867 (syscall-list-variants, syscall-list-32bit-options)
50868 (syscall-list-32bit-condition, syscall-list-64bit-options)
50869 (syscall-list-64bit-condition): Define.
50870
21eaf3a5
UD
508712011-12-22 Ulrich Drepper <drepper@gmail.com>
50872
16c6f992
UD
50873 * locale/iso-639.def: Add brx entry.
50874
41043168
UD
50875 [BZ #13328]
50876 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50877 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50878
21eaf3a5
UD
50879 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50880 __feraiseexcept_renamed.
50881
e3a851a2
UD
508822011-12-21 Ulrich Drepper <drepper@gmail.com>
50883
4920765e
UD
50884 [BZ #13538]
50885 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50886 EPOLLET with unsigned values.
50887 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50888 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50889
e3a851a2
UD
50890 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50891 to large cancellation.
50892 * math/s_cacoshf.c: Likewise.
50893 * math/s_cacoshl.c: Likewise.
50894
b27e24b8
RK
508952011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50896
50897 [BZ #13305]
aebefeee 50898 [BZ #12786]
b27e24b8
RK
50899 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50900 * math/s_cacoshf.c: Likewise.
50901 * math/s_cacoshl.c: Likewise.
50902
ee190f67
UD
509032011-12-21 Ulrich Drepper <drepper@gmail.com>
50904
50905 [BZ #13439]
50906 * iconv/gconv.h: Define __GCONV_SWAP.
50907 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50908 * iconvdata/utf-16.c: Likewise.
50909 * iconvdata/utf-32.c: Likewise.
50910
707f25df
AS
509112011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50912
50913 [BZ #13524]
50914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50915 numerator after shifting it by one limb.
50916
d2daaa1e
RÁE
509172011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50918
50919 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50920 under [__USE_EXTERN_INLINES].
50921
a4647e72
UD
509222011-12-17 Ulrich Drepper <drepper@gmail.com>
50923
50924 [BZ #13446]
50925 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50926
f0b264f1
AZ
509272011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50928
50929 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50930 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50931 optimized code.
50932 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50933 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50934 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50935 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50936 for strncasecmp/strncasecmp_l compilation.
50937 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50938 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50939
8ef4f244
MP
509402011-12-08 Marek Polacek <mpolacek@redhat.com>
50941
50942 [BZ #13484]
50943 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50944 of __asm__.
50945
97ac2654
UD
509462011-12-17 Ulrich Drepper <drepper@gmail.com>
50947
50948 [BZ #13506]
50949 * time/tzfile.c (__tzfile_read): Check values from file header.
50950
91d2a845
WS
509512011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50952
50953 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50954 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50955 * powerpc/powerpc32/dl-start.S: Likewise.
50956 * powerpc/powerpc32/elf/start.S: Likewise.
50957 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50958 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50959 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50960 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50961 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50962 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50963 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50964 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50965 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50966 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50967 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50968 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50969 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50970 * powerpc/powerpc32/memset.S: Likewise.
50971 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50972 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50973 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50974 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50975 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50976 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50977 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50978 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50979 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50980 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50981 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50982 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50983 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50984
a1267ba1
AZ
509852011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50986
50987 * math/libm-test.inc: Added more nearbyint tests.
50988 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50989 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50991 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50992
ad8ac1bd
RL
509932011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50994
50995 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50996 FD_CLOEXEC.
50997
1d3e4b61
UD
509982011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50999
51000 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51001 Add wcscpy-ssse3 wcscpy-c.
51002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51003 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51004 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51005 * sysdeps/x86_64/wcschr.S: New file.
51006 * sysdeps/x86_64/wcsrchr.S: New file.
51007 * string/test-strcmp.c: Remove checking of wcscmp function for
51008 wrong alignments.
51009 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51010 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51011 wcsrchr-sse2 wcsrchr-c.
51012 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51013 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51014 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51015 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51016 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51017 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51018 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51019 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51021 * wcsmbc/wcschr.c (WCSCHR): New macro.
51022
5b330a2d
UD
510232011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51024
51025 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51026 * wcsmbs/test-wcsrchr.c: New file.
51027 * string/test-strrchr.c: Add wcsrchr support.
51028 (WIDE): New macro.
51029 * wcsmbs/test-wcscpy.c: New file.
51030 * string/test-strcpy.c: Add wcscpy support.
51031 (WIDE): New macro.
26428b7c 51032
f039c043
UD
510332011-12-10 Ulrich Drepper <drepper@gmail.com>
51034
51035 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51036 the inner loop.
51037
850fb039
AS
510382011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51039
51040 [BZ #13472]
51041 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51042
4efbd5cb
UD
510432011-12-04 Ulrich Drepper <drepper@gmail.com>
51044
52ff5dd0 51045 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51046 Minor optimizations.
52ff5dd0 51047
4efbd5cb
UD
51048 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51049 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51050 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51051
8a426e12
UD
510522011-12-03 Ulrich Drepper <drepper@gmail.com>
51053
aff2453d
UD
51054 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51055 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51056 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51057 for gcc to avoid warnings.
51058 * inet/Makefile (tests): Add tst-checks.
51059 * inet/tst-checks.c: New file.
51060
51061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51062 warning.
51063
51064 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51065 __wmemcmp_sse2.
51066
51067 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51068 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51069
8a426e12
UD
51070 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51071
9bea3473
UD
510722011-12-02 Ulrich Drepper <drepper@gmail.com>
51073
3a965496
UD
51074 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51075 problem.
51076
9bea3473
UD
51077 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51078
f101631b
UD
510792011-11-29 Joseph Myers <joseph@codesourcery.com>
51080
51081 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51082 conditional on GCC version.
51083 (__arch_compare_and_exchange_val_8_acq)
51084 (__arch_compare_and_exchange_val_16_acq)
51085 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51086 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51087 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51088
a98275aa
UD
510892011-12-02 Joseph Myers <joseph@codesourcery.com>
51090
51091 * sysdeps/sh/backtrace.c: New file.
51092
d4cc29a2
AS
510932011-12-02 Andreas Schwab <schwab@redhat.com>
51094
51095 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51096 parenthesis.
51097
6257af2d
AS
510982011-12-01 Andreas Schwab <schwab@redhat.com>
51099
51100 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51101 falling back to utime.
51102
b5f44c1a
AS
511032011-11-30 Andreas Schwab <schwab@redhat.com>
51104
51105 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51106 expectations for float.
51107
f3a6cc0a
AS
511082011-11-29 Andreas Schwab <schwab@redhat.com>
51109
51110 * locale/weight.h (findidx): Add parameter len.
51111 * locale/weightwc.h (findidx): Likewise.
51112 * posix/fnmatch_loop.c (FCT): Adjust caller.
51113 * posix/regcomp.c (build_equiv_class): Likewise.
51114 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51115 * posix/regexec.c (check_node_accept_bytes): Likewise.
51116 * string/strcoll_l.c (STRCOLL): Likewise.
51117 * string/strxfrm_l.c (STRXFRM): Likewise.
51118
9d65ea3a
UD
511192011-11-17 Ulrich Drepper <drepper@gmail.com>
51120
51121 * Makefile.in: Remove CVSOPT handling.
51122 * configure.in: Remove use of AC_REVISION.
51123 * iconvdata/Makefile (distribute): No need to filter out CVS.
51124 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51125 handling.
51126
5583a086
AS
511272011-11-16 Andreas Schwab <schwab@redhat.com>
51128
51129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51130 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51131 [USE_AS_STRNCASECMP_L]: Likewise.
51132 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51133 NO_TLS_DIRECT_SEG_REFS.
51134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51135 Fix argument offsets for non-PIC.
51136 [USE_AS_STRNCASECMP_L]: Likewise.
51137 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51138 NO_TLS_DIRECT_SEG_REFS.
51139
d62a8200
UD
511402011-11-15 Ulrich Drepper <drepper@gmail.com>
51141
9d65ea3a 51142 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51143 O_CLOEXEC.
51144 * locale/loadlocale.c (_nl_load_locale): Likewise.
51145
09f93bd3
AS
511462011-11-15 Andreas Schwab <schwab@redhat.com>
51147
446514f9
AS
51148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51149 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51150 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51151 (SYSCALL_GETTIME): Set errno on error.
51152
09f93bd3
AS
51153 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51154 count references to noai6ai_cached.
51155
312be3f9
UD
511562011-11-15 Ulrich Drepper <drepper@gmail.com>
51157
51158 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51159
51160 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51161 FD_CLOEXEC for /proc/self/maps.
51162
51163 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51164 FD_CLOEXEC for /proc/meminfo.
51165
51166 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51167 gai.conf.
51168
51169 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51170 FD_CLOEXEC for given file.
51171
51172 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51173
51174 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51175 FD_CLOEXEC for /etc/hosts.
51176 (_gethtent): Likewise.
51177
51178 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51179
51180 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51181 cancellation and set FD_CLOEXEC for /etc/netgroup.
51182
51183 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51184 reading /etc/publickey.
51185
51186 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51187 allow cancellation when reading /etc/group.
51188
51189 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51190 cancellation.
51191 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51192
51193 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51194 when using data file.
51195
51196 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51197
51198 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51199 (write_nis_obj): Use "c" and "e" in fopen.
51200
51201 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51202
51203 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51204
51205 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51206
51207 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51208
51209 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51210 locale.alias.
51211
51212 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51213
51214 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51215
51216 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51217
51218 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51219 file parsing and set FD_CLOEXEC.
51220
82af0fa8
UD
512212011-11-14 Ulrich Drepper <drepper@gmail.com>
51222
51223 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51224
a5fb313c
AS
512252011-11-14 Andreas Schwab <schwab@redhat.com>
51226
51227 * malloc/arena.c (arena_get2): Don't call reused_arena when
51228 _int_new_arena failed.
51229
6abf3465
UD
512302011-11-14 Ulrich Drepper <drepper@gmail.com>
51231
51232 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51233 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51234 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51235 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51237 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51238 to compile strcasecmp and strncasecmp.
51239 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51240 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51241
51242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51243
76e3966e
UD
512442011-11-13 Ulrich Drepper <drepper@gmail.com>
51245
51246 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51247 locale-defines.sym to gen-as-const-headers.
51248 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51249 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51251 to compile strcasecmp and strncasecmp.
51252 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51253 strcasecmp_l and strncasecmp_l.
51254 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51255 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51256 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51257 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51258 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51259 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51260 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51261 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51262 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51263 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51264 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51265
ab26144e
UD
512662011-11-12 Ulrich Drepper <drepper@gmail.com>
51267
7edb22ef
UD
51268 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51269 result of SYSDEP_GETTIME_CPU to retval.
51270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51271 parameter list to macro. Remove trailing semicolon. Adjust users.
51272
9694fc44
UD
51273 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51274 variable.
51275
8ad89ef8
UD
51276 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51277 mantissa words.
51278 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51279
0c822ef9
UD
51280 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51281 from unused variable.
51282
874e0564
UD
51283 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51284 DWARF definitions.
51285 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51286 for assembling.
51287
3a2edc79
UD
51288 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51289 over namespaces.
51290
f3c2577f
UD
51291 * sunrpc/rpc_prot.c (rejected): Fix case value.
51292
294ce126
UD
51293 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51294 unsigned long long int to avoid warnings in shift.
51295
5e2b63c6
UD
51296 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51297 of use of trans.
51298 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51299 variable tmp.
51300
e7f4b08e
UD
51301 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51302 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51303 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51304
ab26144e
UD
51305 * nis/nis_table.c (nis_list): Use variable of correct type for
51306 result of __follow_path call.
51307
8a6d5255
AZ
513082011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51309
51310 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51311 of math functions ceil, trunc, floor, round, and sqrt, when
51312 avaliable on the platform.
51313 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51314 name clash.
51315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51316 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51317 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51318
aaddc98c
MP
513192011-10-30 Marek Polacek <mpolacek@redhat.com>
51320
51321 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51322 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51323
95b7042b
RM
513242011-11-11 Roland McGrath <roland@hack.frob.com>
51325
51326 * include/unistd.h: Fix __readlink return type.
51327 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51328
57769839
UD
513292011-11-11 Ulrich Drepper <drepper@gmail.com>
51330
51331 * stdlib/ucontext.h: Undo last change for makecontext.
51332
edc5984d
AS
513332011-11-11 Andreas Schwab <schwab@redhat.com>
51334
98591e58
AS
51335 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51336
edc5984d
AS
51337 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51338 * setjmp/setjmp.h: Mark functions as non-leaf.
51339 * setjmp/bits/setjmp2.h: Likewise.
51340 * stdlib/ucontext.h: Likewise.
51341
77cdc054
AS
513422011-11-10 Andreas Schwab <schwab@redhat.com>
51343
51344 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51345 (reused_arena): Don't check arena limit.
51346 (arena_get2): Atomically check arena limit.
51347
fe72eebd
UD
513482011-11-08 Ulrich Drepper <drepper@gmail.com>
51349
5f078c32
UD
51350 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51351 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51352
fe72eebd
UD
51353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51354 instructions.
51355
ae1bc2fa
AS
513562011-11-07 Andreas Schwab <schwab@redhat.com>
51357
7583a88d
AS
51358 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51359 handler when locking.
51360
ae1bc2fa
AS
51361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51362 Fix size of allocated buffer.
51363
10fb0bfa
AS
513642011-11-04 Andreas Schwab <schwab@redhat.com>
51365
998832a4
AS
51366 [BZ #10103]
51367 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51368 declarations for long double functions.
51369 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51370
10fb0bfa
AS
51371 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51372
3d7ba52b
AS
513732011-11-03 Andreas Schwab <schwab@redhat.com>
51374
a9ae54a1
AS
51375 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51376 installed.
51377
3d7ba52b
AS
51378 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51379 is disabled.
51380
bc8db248
ST
513812011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51382
51383 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51384
45b96dd6
AS
513852011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51386
647776f6
AS
51387 * include/alloca.h (stackinfo_alloca_round): Define.
51388 (extend_alloca): Use it.
51389 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51390 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51391 here.
51392
d91a8b93
AS
51393 * scripts/check-local-headers.sh: Ignore libaudit.h.
51394
45b96dd6
AS
51395 * nscd/Makefile (extra-objs): Make recursively expanded.
51396
432d41ce
UD
513972011-11-01 Ulrich Drepper <drepper@gmail.com>
51398
34372fc6
UD
51399 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51400 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51401
fadb59f8
UD
51402 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51403 * posix/tst-rfc3484-2.c: Likewise.
51404 * posix/tst-rfc3484-3.c: Likewise.
51405
78239589
UD
51406 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51407 process_vm_writev.
51408 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51409 process_vm_writev.
51410 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51411 process_vm_writev from libc using GLIBC_2.15 version.
51412
432d41ce
UD
51413 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51414
02f9c6cf
PP
514152011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51416
51417 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51418 stack usage.
51419
3a2c0242
UD
514202011-10-31 Ulrich Drepper <drepper@gmail.com>
51421
f4ec4833
UD
51422 [BZ #13367]
51423 * nss/getent.c (initgroups_keys): Show error message in case no group
51424 names are given.
51425
3a2c0242
UD
51426 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51427 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51428 __bump_nl_timestamp.
51429 * nscd/connections (nscd_init): When host database is served open
51430 netlink socket and request notification about configuration changes.
51431 (main_loop_poll): Track netlink file descriptor and bump timestamp
51432 in case data becomes available.
51433 (main_loop_epoll): Likewise.
51434 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51435 (database_pers_head): Add extra_data fileds.
51436 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51437 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51438 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51439 Adjust caller.
51440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51441 in6ai data, call __free_in6ai.
51442 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51443 Add -DHAVE_NETLINK.
51444 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51445 interface information. Reuse previous data if netlink timestamp
51446 is not changed.
51447 (__bump_nl_timestamp): New function.
51448 (__free_in6ai): New function.
51449
636064eb
UD
514502011-10-30 Ulrich Drepper <drepper@gmail.com>
51451
51452 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51453 close_not_cancel_no_status here.
51454 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51455
9beb2334
UD
514562011-10-29 Ulrich Drepper <drepper@gmail.com>
51457
6ef76f3b
UD
51458 [BZ #13276]
51459 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51460 return value.
51461
0ffc4f3e 51462 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51463 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51464 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51465
cb95113e
UD
514662011-07-03 Andreas Jaeger <aj@suse.de>
51467
51468 [BZ #10709]
51469 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51470 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51471 * math/libm-test.inc (sin_test): Add test case.
51472
a1b560ff
UD
514732011-10-29 Ulrich Drepper <drepper@gmail.com>
51474
c9aaface
UD
51475 [BZ #13337]
51476 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51477 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51478
d272e7f1
UD
51479 * elf/chroot_canon.c (chroot_canon): Cleanups.
51480
1bc33071
UD
51481 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51482
1760874d
TJ
51483 [BZ #13335]
51484 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51485 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51486
51d91b18
UD
51487 * string/test-strchr.c: Make usable for strchrnul testing.
51488 * string/test-strchrnul.c: New file.
51489 * string/Makefile (strop-tests): Add strchrnul.
51490
a1b560ff 51491 * po/it.po: Update from translation team.
b611fb81 51492 * po/es.po: Likewise.
a1b560ff 51493
a5b81e1f
UD
514942011-10-28 Ulrich Drepper <drepper@gmail.com>
51495
fd52bc6d
UD
51496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51497 the three constants needed as parameters. Drop the others.
51498 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51499 __m128i_strloadu_tolower.
52e4b9eb
UD
51500 Create and initialize variable zero and use it in all the places
51501 where _mm_setzero_si128 was used.
fd52bc6d 51502
a5b81e1f
UD
51503 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51504 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51505 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51506 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51507 anymore.
51508 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51509 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51510 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51511 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51512 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51513 __mpranred, __mptan.
51514 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51515 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51516 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51517 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51518 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51519 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51521 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51522 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51523
b4343346
AS
515242011-10-28 Andreas Schwab <schwab@redhat.com>
51525
0c92d8a8
AS
51526 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51527 redefine if SHARED.
51528 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51529
b4343346
AS
51530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51531 wide char related routines to wcsmbs subdir.
51532
3871f58f
AS
515332011-10-27 Andreas Schwab <schwab@redhat.com>
51534
51535 [BZ #13344]
51536 * misc/sys/cdefs.h (__THROWNL): Define.
51537 * posix/unistd.h: Use __THREADNL instead of __THREAD
51538 for memory synchronization functions.
51539
94d44d9f
RM
515402011-10-26 Roland McGrath <roland@hack.frob.com>
51541
21b64b15 51542 [BZ #13349]
94d44d9f
RM
51543 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51544 doesn't exist.
51545 * manual/stdio.texi (Obstack Streams): Node removed.
51546
f6ce9294
AS
515472011-10-26 Andreas Schwab <schwab@redhat.com>
51548
80479147
AS
51549 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51552
f6ce9294
AS
51553 * math/math_private.h (math_force_eval): Allow non-addressable
51554 arguments.
51555 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51556
618280a1
UD
515572011-10-25 Ulrich Drepper <drepper@gmail.com>
51558
e0016b11
UD
51559 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51560 file is not needed.
51561
51562 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51569 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51570 Add AVX variants.
51571 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51572 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51573 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51574 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51575 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51576 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51577 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51578 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51579 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51580 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51581 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51582 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51584 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51585 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51586 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51587 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51588 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51589 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51590
51591 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51592 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51593
618280a1
UD
51594 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51595 place. Use VEX encoding when compiling for AVX.
51596
37822576
AS
515972011-10-25 Andreas Schwab <schwab@redhat.com>
51598
1f1e1947
AS
51599 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51600 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51601
37822576
AS
51602 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51603
31ea014d
UD
516042011-10-25 Ulrich Drepper <drepper@gmail.com>
51605
d7826aa1 51606 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51607 useless if() expression.
d7826aa1
UD
51608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51609 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51610 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51613 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51620 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51622 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51623 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51624 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51625 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51626 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51627
31ea014d
UD
51628 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51629
16437fec
AS
516302011-10-25 Andreas Schwab <schwab@redhat.com>
51631
51632 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51633 condition.
51634 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51635
31d3cc00
UD
516362011-10-25 Ulrich Drepper <drepper@gmail.com>
51637
51638 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51639 .text section. Avoid duplicate constants.
51640 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51648 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51649 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51650 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51651 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51652 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51655 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51656 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51657 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51658 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51663 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51664 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51665 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51666 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51667 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51668 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51669 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51670 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51671 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51672 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51673 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51674 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51675 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51676 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51677 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51678 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51679 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51680 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51681 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51682 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51683 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51684 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51685
58985aa9
UD
516862011-10-24 Ulrich Drepper <drepper@gmail.com>
51687
202c9deb
UD
51688 * sysdeps/x86_64/dla.h: Move to ...
51689 * sysdeps/x86_64/fpu/dla.h: ...here.
51690 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51691 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51692
af968f62
UD
51693 * config.make.in: Add have-mfma4 entry.
51694 * configure.in: Substitute libc_cv_cc_fma4.
51695 * math/Makefile (dbl-only-routines): Add sincostab.
51696 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51697 Use __sincostab not sincos.
51698 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51699 name is a macro.
51700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51704 using __copysign.
51705 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51706 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51707 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51708 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51709 and __inv.
51710 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51711 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51712 __copysign.
51713 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51714 define aliases when function name is a macro.
51715 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51716 sysdeps/ieee754/dbl-64/sincos.tbl.
51717 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51718 fma4-enabled routines.
51719 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51720 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51721 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51722 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51723 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51724 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51725 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51726 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51727 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51728 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51729 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51730 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51731 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51732 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51733 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51734 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51735 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51736 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51737 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51738 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51739 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51740 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51742 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51743 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51744 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51745 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51746 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51747 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51748 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51749
58985aa9
UD
51750 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51751 rename.
51752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51753 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51759 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51760
a201fbcf
AS
517612011-10-24 Andreas Schwab <schwab@redhat.com>
51762
51763 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51764
fc2ee42a
LD
517652011-10-23 Ulrich Drepper <drepper@gmail.com>
51766
bb3129bd
UD
51767 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51768
0275fff8
UD
51769 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51770 prediction.
51771 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51772
2fa2ae85
UD
51773 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51774 Remove unused variable magic_bits.
51775 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51776
fc2ee42a
LD
51777 * string/strnlen.c: Define and use STRNLEN macro.
51778 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51779 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51781 * wcsmbs/wcslen.c: Define and use WCSLEN.
51782 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51783 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51784 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51785 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51786 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51787 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51788 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51789
ce7dd29f
LD
517902011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51791
51792 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51793 strnlen-sse2-no-bsf.
51794 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51796 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51797 Add strnlen support.
51798 (USE_AS_STRNLEN): New macro.
51799 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51800 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51801 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51802 * sysdeps/x86_64/wcslen.S: New file.
51803
979c70a3
MZ
518042011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51805
51806 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51807 XMM-moves are used for copying on small sizes.
51808
2d09f82f
LD
518092011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51810
51811 * wcsmbs/Makefile (strop-tests): Add wcschr.
51812 * wcsmbs/test-wcschr.c: New file.
51813 * string/test-strchr.c: Update.
51814 Add wcschr support.
51815 (WIDE): New macro.
51816
619fccca
LD
518172011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51818
2d09f82f 51819 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51820 * wcsmbs/test-wcslen.c: New file.
51821 * string/test-strlen.c: Update.
51822 Add wcslen support.
51823 (WIDE): New macro.
51824
09f699ea
UD
518252011-10-23 Ulrich Drepper <drepper@gmail.com>
51826
51827 * po/it.po: Update from translation team.
51828
95584d3b
LD
518292011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51830
51831 * sysdeps/x86_64/wcscmp.S: Update.
51832 Fix wrong comparison semantics.
51833 wcscmp shall use signed comparison not unsigned.
51834 Don't use substraction to avoid overflow bug.
51835 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51836 * wcsmbc/wcscmp.c: Likewise.
51837 * string/test-strcmp.c: Likewise.
51838 Add new tests to check cases with negative values.
51839
c8b3296b
UD
518402011-10-23 Ulrich Drepper <drepper@gmail.com>
51841
51842 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51843 * sysdeps/x86_64/dla.h: ...here. New file.
51844 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51846 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51853
246ad57a
AS
518542011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51855
51856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51857 __ynl_finite aliases.
51858
a1a87169
UD
518592011-10-22 Ulrich Drepper <drepper@gmail.com>
51860
0d355eb7
UD
51861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51862
a1a87169
UD
51863 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51864 define DLA_FMA.
51865 [DLA_FMA] (EMULV): Use DLA_FMA.
51866 [DLA_FMA] (MUL12): Use EMULV.
51867 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51868 that are not needed.
51869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51876
ee2aafe0
AS
518772011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51878
51879 * math/s_nan.c: Undef __nan.
51880 * math/s_nanf.c: Undef __nanf.
51881 * math/s_nanl.c: Undef __nanl.
51882 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51883 "math_private.h".
51884
bc62c2fb
UD
518852011-10-22 Ulrich Drepper <drepper@gmail.com>
51886
77425c63
UD
51887 * math/s_catan.c: Add branch predictions.
51888 * math/s_catanf.c: Likewise.
51889 * math/s_catanh.c: Likewise.
51890 * math/s_catanhf.c: Likewise.
51891 * math/s_catanhl.c: Likewise.
51892 * math/s_catanl.c: Likewise.
51893 * math/s_cexp.c: Likewise.
51894 * math/s_cexpf.c: Likewise.
51895 * math/s_cexpl.c: Likewise.
51896 * math/s_clog.c: Likewise.
51897 * math/s_clog10.c: Likewise.
51898 * math/s_clog10f.c: Likewise.
51899 * math/s_clog10l.c: Likewise.
51900 * math/s_clogf.c: Likewise.
51901 * math/s_clogl.c: Likewise.
51902 * math/s_csqrt.c: Likewise.
51903 * math/s_csqrtf.c: Likewise.
51904 * math/s_csqrtl.c: Likewise.
51905 * math/s_ctanf.c: Likewise.
51906 * math/s_ctanh.c: Likewise.
51907 * math/s_ctanhf.c: Likewise.
51908 * math/s_ctanhl.c: Likewise.
51909 * math/s_ctanl.c: Likewise.
51910
bc62c2fb
UD
51911 * math/math_private.h: Define __nan, __nanf, __nanl.
51912 * math/s_cacosh.c: Include <math_private.h>.
51913 * math/s_cacoshl.c: Likewise.
51914 * math/s_casinh.c: Likewise.
51915 * math/s_casinhf.c: Likewise.
51916 * math/s_casinhl.c: Likewise.
51917 * math/s_ccos.c: Rely entire on ccosh.
51918 * math/s_ccosf.c: Rely entire on ccoshf.
51919 * math/s_ccosl.c: Rely entirely on ccoshl.
51920 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51921 Remove tests for FE_INVALID.
51922 * math/s_ccoshf.c: Likewise.
51923 * math/s_ccoshl.c: Likewise.
51924 * math/s_csin.c: Likewise.
51925 * math/s_csinf.c: Likewise.
51926 * math/s_csinh.c Likewise.
51927 * math/s_csinhf.c: Likewise.
51928 * math/s_csinhl.c: Likewise.
51929 * math/s_csinl.c: Likewise.
51930 * math/s_ctan.c: Likewise.
51931 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51932 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51933 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51934
8ec250a4
UD
519352011-10-21 Ulrich Drepper <drepper@gmail.com>
51936
c196fed8
UD
51937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51938 compilation problems.
51939
8ec250a4
UD
51940 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51941 __builtin_expect.
51942
8d4f46c6
UD
519432011-10-20 Ulrich Drepper <drepper@gmail.com>
51944
ed72b654
UD
51945 * sysdeps/i386/configure.in: Test for -mfma4 option.
51946 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51947 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51948 COMMON_CPUID_INDEX_80000001.
51949 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51950 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51951 use it if FMA3 is not supported.
51952 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51953
8d4f46c6
UD
51954 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51955 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51956
d45c60c2
AS
519572011-10-20 Andreas Schwab <schwab@redhat.com>
51958
51959 [BZ #12892]
51960 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51961 it would create a cycle with a link time dependency.
51962
d9a4d2ab
UD
519632011-10-19 Ulrich Drepper <drepper@gmail.com>
51964
855d1560
UD
51965 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51966 instruction.
51967 * string/Makefile (strop-tests): Add rawmemchr.
51968 * string/test-rawmemchr.c: New file.
51969
d9a4d2ab
UD
51970 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51971 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51972 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51973 when compiling str{,n}casecmp and when AVX is available. Hook up
51974 new optimized code in initializers.
51975
8f3b1ffe
AS
519762011-10-19 Andreas Schwab <schwab@redhat.com>
51977
51978 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51979 __feraiseexcept instead of feraiseexcept.
51980
d38f1dba
UD
519812011-10-18 Ulrich Drepper <drepper@gmail.com>
51982
d9a8d0ab
UD
51983 * math/math_private.h: Define defaults for libc_fetestexcept and
51984 libc_feupdateenv.
51985 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51986 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51987 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51988 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51989 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51990 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51991 libc_fetestexcept and libc_feupdateenv.
51992
4855e3dd
UD
51993 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51994 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51995 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51996 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51997 libc_feholdexcept_setround.
51998
581d30e3
UD
51999 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52000 Add s_nearbyint-c and s_nearbyintf-c.
52001 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52002 nearbyintf inlines.
52003 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52004 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52005 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52006 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52007
d38f1dba
UD
52008 * math/math_private.h: Define defaults for libc_fegetround,
52009 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52010 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52011 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52012 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52013 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52014 standard functions.
52015 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52016 Remove comments and hacks for old compiler versions.
52017 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52018 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52019 libc_feholdexceptl.
52020
caa6c9d8
AS
520212011-10-18 Andreas Schwab <schwab@redhat.com>
52022
52023 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52024 (__feraiseexcept_renamed): Add __NTH.
52025 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52026 namespace violations.
52027
97c066e6
UD
520282011-10-17 Ulrich Drepper <drepper@gmail.com>
52029
99ce7b04
UD
52030 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52031
1004d182
UD
52032 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52033
228a984d
UD
52034 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52035 recently added interfaces.
52036 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52037
c8553a6a
UD
52038 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52039 about macro parameter expansion.
52040
ed22dcf6
UD
52041 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52042 __NO_MATH_INLINES is defined. Cleanups.
52043
52044 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52045 and __floorf is target has SSE4.1.
52046 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52047 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52048 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52049 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52050
b171c137
UD
52051 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52052 name.
52053 (floorf): Likewise.
52054
97c066e6
UD
52055 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52056
629f62ef
AS
520572011-10-17 Andreas Schwab <schwab@redhat.com>
52058
49a43d80
AS
52059 * misc/sys/cdefs.h: Fix last change.
52060
629f62ef
AS
52061 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52062 database lookup.
52063
e453f6cd
UD
520642011-10-16 Ulrich Drepper <drepper@gmail.com>
52065
aa78043a
UD
52066 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52067
ad0f5cad
UD
52068 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52069 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52071 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52073 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52074 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52075 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52076 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52077 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52078 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52079 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52080 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52081 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52082 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52083 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52084 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52085 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52086 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52087 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52088 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52089 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52090
52091 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52092 ceil, ceilf, floor, floorf.
52093
52094 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52095 Perform IRELATIVE relocations last.
52096
e453f6cd
UD
52097 * elf/do-rel.h: Add another parameter nrelative, replacing the
52098 local variable with the same name. Change name of the function
52099 to end in Rel or Rela (uppercase).
52100 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52101 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52102 elf_dynamic_do_##reloc function.
52103
fd5bdc09
UD
521042011-10-15 Ulrich Drepper <drepper@gmail.com>
52105
79b195b5
UD
52106 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52107 is sufficient, at least on modern CPUs.
52108
d4a28569
UD
52109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52110
b61099b5
UD
52111 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52113
bcf01e6d
UD
52114 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52115 __expl_finite.
52116 * math/bits/math-finite.h: Add entries for exp.
52117 * math/e_expl.c: Add __*_finite alias.
52118 * sysdeps/i386/fpu/e_exp.S: Likewise.
52119 * sysdeps/i386/fpu/e_expf.S: Likewise.
52120 * sysdeps/i386/fpu/e_expl.c: Likewise.
52121 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52123 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52124 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52125 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52126 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52127 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52128
ba1a0d59
UD
52129 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52130 is sufficient, at least on modern CPUs.
52131
fd5bdc09
UD
52132 * ctype/ctype-info.c (__ctype_init): Define.
52133 * include/ctype.h (__ctype_init): Declare.
52134 (__ctype_b_loc): The variable is always initialized.
52135 (__ctype_toupper_loc): Likewise.
52136 (__ctype_tolower_loc): Likewise.
52137 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52138 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52139
7872cfb0
AS
521402011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52141
b468825a
AS
52142 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52143
7872cfb0
AS
52144 * configure.in: Also look in $cxxmachine/include for C++ system
52145 headers.
52146
be13f7bf
LD
521472011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52148
52149 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52150 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52151 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52152 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52153 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52154 (USE_AS_WMEMCMP): New macro.
52155 Fixing indents.
52156 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52157 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52158 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52159 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52161 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52162 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52163 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52164 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52165 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52166 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52167 (USE_AS_WMEMCMP): New macro.
52168 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52169 * sysdeps/string/test-memcmp.c: Update.
52170 Fix simple_wmemcmp.
52171 Add new tests.
52172 * wcsmbs/wmemcmp.c: Update.
52173 (WMEMCMP): New macro.
52174 Fix overflow bug.
52175
556a2007
AJ
521762011-10-12 Andreas Jaeger <aj@suse.de>
52177
52178 [BZ #13268]
52179 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52180
538faaa7
UD
521812011-10-15 Ulrich Drepper <drepper@gmail.com>
52182
ab6737ff
UD
52183 * libio/iofwide.c (do_length): Avoid warning.
52184
538faaa7
UD
52185 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52186
396a21b1
UD
521872011-10-14 Ulrich Drepper <drepper@gmail.com>
52188
cdf2901f
UD
52189 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52190
38ad40ce
UD
52191 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52192 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52193 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52194 * sysdeps/i386/i686/fpu/e_log.S: New file.
52195 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52196 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52197
396a21b1
UD
52198 * ctype/ctype.h: Add support for inlined isXXX functions when
52199 compiling C++ code.
52200
6b1f68c9
AS
522012011-10-14 Andreas Schwab <schwab@redhat.com>
52202
349290c0
AS
52203 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52204
6b1f68c9
AS
52205 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52206
f2282d42
RM
522072011-10-13 Roland McGrath <roland@hack.frob.com>
52208
52209 [BZ #13291]
52210 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52211
5298ffa8
AS
522122011-10-13 Andreas Schwab <schwab@redhat.com>
52213
714fad23
AS
52214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52215 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52216 feraiseexcept.
52217
81dcc7fb
AS
52218 * sysdeps/x86_64/memrchr.S: Check for zero size.
52219
5298ffa8
AS
52220 * string/stratcliff.c: Add memrchr tests.
52221
951fbcec
LD
522222011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52223
52224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52225 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52226 rawmemchr-sse2 rawmemchr-sse2-bsf.
52227 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52228 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52229 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52230 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52231 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52232 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52233 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52234 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52235 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52236 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52237 * string/memrchr.c (MEMRCHR): New macro.
52238
0ac5ae23
UD
522392011-10-12 Ulrich Drepper <drepper@gmail.com>
52240
52241 Add integration with gcc's -ffinite-math-only and optimize wrapper
52242 functions in libm.
52243 * Versions.def: Define GLIBC_2.15 version for libm.
52244 * math/Makefile (headers): Add bits/math-finite.h.
52245 * math/bits/math-finite.h: New file.
52246 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52247 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52248 * math/e_acoshl.c: Add __*_finite alias.
52249 * math/e_acosl.c: Likewise.
52250 * math/e_asinl.c: Likewise.
52251 * math/e_atan2l.c: Likewise.
52252 * math/e_atanhl.c: Likewise.
52253 * math/e_coshl.c: Likewise.
52254 * math/e_exp10.c: Likewise.
52255 * math/e_exp10f.c: Likewise.
52256 * math/e_exp10l.c: Likewise.
52257 * math/e_exp2l.c: Likewise.
52258 * math/e_fmodl.c: Likewise.
52259 * math/e_gammal_r.c: Likewise.
52260 * math/e_hypotl.c: Likewise.
52261 * math/e_j0l.c: Likewise.
52262 * math/e_j1l.c: Likewise.
52263 * math/e_jnl.c: Likewise.
52264 * math/e_lgammal_r.c: Likewise.
52265 * math/e_log10l.c: Likewise.
52266 * math/e_log2l.c: Likewise.
52267 * math/e_logl.c: Likewise.
52268 * math/e_powl.c: Likewise.
52269 * math/e_sinhl.c: Likewise.
52270 * math/e_sqrtl.c: Likewise.
52271 * math/e_scalb.c: Completely rewritten and optimized.
52272 * math/e_scalbf.c: Likewise.
52273 * math/e_scalbl.c: Likewise.
52274 * math/w_acos.c: Likewise.
52275 * math/w_acosf.c: Likewise.
52276 * math/w_acosl.c: Likewise.
52277 * math/w_acosh.c: Likewise.
52278 * math/w_acoshf.c: Likewise.
52279 * math/w_acoshl.c: Likewise.
52280 * math/w_asin.c: Likewise.
52281 * math/w_asinf.c: Likewise.
52282 * math/w_asinl.c: Likewise.
52283 * math/w_atan2.c: Likewise.
52284 * math/w_atan2f.c: Likewise.
52285 * math/w_atan2l.c: Likewise.
52286 * math/w_atanh.c: Likewise.
52287 * math/w_atanhf.c: Likewise.
52288 * math/w_atanhl.c: Likewise.
52289 * math/w_exp10.c: Likewise.
52290 * math/w_exp10f.c: Likewise.
52291 * math/w_exp10l.c: Likewise.
52292 * math/w_fmod.c: Likewise.
52293 * math/w_fmodf.c: Likewise.
52294 * math/w_fmodl.c: Likewise.
52295 * math/w_j0.c: Likewise.
52296 * math/w_j0f.c: Likewise.
52297 * math/w_j0l.c: Likewise.
52298 * math/w_j1.c: Likewise.
52299 * math/w_j1f.c: Likewise.
52300 * math/w_j1l.c: Likewise.
52301 * math/w_jn.c: Likewise.
52302 * math/w_jnf.c: Likewise.
52303 * math/w_log.c: Likewise.
52304 * math/w_logf.c: Likewise.
52305 * math/w_logl.c: Likewise.
52306 * math/w_log10.c: Likewise.
52307 * math/w_log10f.c: Likewise.
52308 * math/w_log10l.c: Likewise.
52309 * math/w_log2.c: Likewise.
52310 * math/w_log2f.c: Likewise.
52311 * math/w_log2l.c: Likewise.
52312 * math/w_pow.c: Likewise.
52313 * math/w_powf.c: Likewise.
52314 * math/w_powl.c: Likewise.
52315 * math/w_remainder.c: Likewise.
52316 * math/w_remainderf.c: Likewise.
52317 * math/w_remainderl.c: Likewise.
52318 * math/w_scalb.c: Likewise.
52319 * math/w_scalbf.c: Likewise.
52320 * math/w_scalbl.c: Likewise.
52321 * math/w_sqrt.c: Likewise.
52322 * math/w_sqrtf.c: Likewise.
52323 * math/w_sqrtl.c: Likewise.
52324 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52325 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52326 used.
52327 * math/math_private.h: Declare __kernel_standard_f.
52328 * math/w_cosh.c: Remove cruft and optimize a bit.
52329 * math/w_coshf.c: Likewise.
52330 * math/w_coshl.c: Likewise.
52331 * math/w_exp2.c: Likewise.
52332 * math/w_exp2f.c: Likewise.
52333 * math/w_exp2l.c: Likewise.
52334 * math/w_hypot.c: Likewise.
52335 * math/w_hypotf.c: Likewise.
52336 * math/w_hypotl.c: Likewise.
52337 * math/w_lgamma.c: Likewise.
52338 * math/w_lgamma_r.c: Likewise.
52339 * math/w_lgammaf.c: Likewise.
52340 * math/w_lgammaf_r.c: Likewise.
52341 * math/w_lgammal.c: Likewise.
52342 * math/w_lgammal_r.c: Likewise.
52343 * math/w_sinh.c: Likewise.
52344 * math/w_sinhf.c: Likewise.
52345 * math/w_sinhl.c: Likewise.
52346 * math/w_tgamma.c: Likewise.
52347 * math/w_tgammaf.c: Likewise.
52348 * math/w_tgammal.c: Likewise.
52349 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52351 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52352 Minor optimizations. Pretty printing. Remove cruft.
52353 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52355 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52357 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52358 * sysdeps/i386/fpu/e_asin.S: Likewise.
52359 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52360 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52361 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52362 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52363 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52364 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52365 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52366 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52367 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52368 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52369 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52370 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52371 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52372 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52373 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52374 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52375 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52376 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52377 * sysdeps/i386/fpu/e_log.S: Likewise.
52378 * sysdeps/i386/fpu/e_log10.S: Likewise.
52379 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52380 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52381 * sysdeps/i386/fpu/e_log2.S: Likewise.
52382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52383 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52384 * sysdeps/i386/fpu/e_logf.S: Likewise.
52385 * sysdeps/i386/fpu/e_logl.S: Likewise.
52386 * sysdeps/i386/fpu/e_pow.S: Likewise.
52387 * sysdeps/i386/fpu/e_powf.S: Likewise.
52388 * sysdeps/i386/fpu/e_powl.S: Likewise.
52389 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52390 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52391 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52392 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52393 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52394 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52395 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52396 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52397 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52398 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52399 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52401 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52403 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52404 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52405 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52406 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52407 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52409 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52412 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52414 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52415 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52418 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52423 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52424 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52426 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52427 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52428 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52429 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52430 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52431 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52432 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52433 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52434 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52435 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52439 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52440 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52441 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52442 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52443 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52444 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52445 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52446 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52447 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52448 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52449 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52450 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52451 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52452 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52453 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52454 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52455 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52456 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52457 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52458 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52459 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52460 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52461 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52462 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52463 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52464 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52465 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52466 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52468 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52469 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52470 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52471 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52472 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52473 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52474 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52475 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52476 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52477 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52478 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52479 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52480 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52481 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52482 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52483 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52485 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52486 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52487 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52488 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52489 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52490 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52491 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52492 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52493 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52494 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52495 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52496 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52497 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52498 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52499 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52500 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52501 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52502 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52503 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52504 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52506 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52507 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52508 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52509 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52510 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52511 (__isnanf): Likewise.
52512 (__isinf_ns): Likewise.
52513 (__isinf_nsf): Likewise.
52514 (__finite): Likewise.
52515 (__finitef): Likewise.
52516 (__ieee754_sqrt): Define as macro.
52517 (__ieee754_sqrtf): Define as macro.
52518 (__ieee754_sqrtl): Define as macro.
52519 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52520 inlined copy.
52521 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52522 __FINITE_MATH_ONLY__ consistent.
52523 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52524
12cc2fcd
AS
525252011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52526
a843a204
AS
52527 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52528 of rawmemchr.
52529
12cc2fcd
AS
52530 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52531
c853acd5
UD
525322011-10-09 Ulrich Drepper <drepper@gmail.com>
52533
52534 * po/ja.po: Update from translation team.
52535
c658d255
RM
525362011-10-08 Roland McGrath <roland@hack.frob.com>
52537
110946e4
RM
52538 * locale/programs/locarchive.c (prepare_address_space): New function.
52539 (create_archive, enlarge_archive, open_archive): Use it.
52540
50604220
RM
52541 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52542 inside [SHARED], where it is used.
52543
c658d255
RM
52544 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52545
52546 * nss/getent.c (netgroup_keys): Remove unused variable.
52547 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52548
6a621eb7
UD
525492011-10-08 Ulrich Drepper <drepper@gmail.com>
52550
7edb55ce
UD
52551 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52552 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52554 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52555 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52556 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52557 * math/Makefile (libm-calls): Add s_isinf_ns.
52558 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52559 * math/multc3.c: Likewise.
52560 * math/s_casin.c: Likewise.
52561 * math/s_casinf.c: Likewise.
52562 * math/s_casinl.c: Likewise.
52563 * math/s_ccos.c: Likewise.
52564 * math/s_ccosf.c: Likewise.
52565 * math/s_ccosl.c: Likewise.
52566 * math/s_ctan.c: Likewise.
52567 * math/s_ctanf.c: Likewise.
52568 * math/s_ctanh.c: Likewise.
52569 * math/s_ctanhf.c: Likewise.
52570 * math/s_ctanhl.c: Likewise.
52571 * math/s_ctanl.c: Likewise.
52572 * math/w_fmod.c: Likewise.
52573 * math/w_fmodf.c: Likewise.
52574 * math/w_fmodl.c: Likewise.
52575 * math/w_remainder.c: Likewise.
52576 * math/w_remainderf.c: Likewise.
52577 * math/w_remainderl.c: Likewise.
52578 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52579 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52582 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52583 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52584 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52585 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52586
187da0ae
UD
52587 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52588 of the number.
52589 * stdio-common/printf_fphex.c: Likewise.
52590 * stdio-common/printf_size.c: Likewise.
52591
9277c064
UD
52592 * math/e_exp10.c: Include math_private.h using <...> not "...".
52593 * math/e_exp10f.c: Likewise.
52594 * math/e_exp10l.c: Likewise.
52595 * math/e_exp2l.c: Likewise.
52596 * math/e_j0l.c: Likewise.
52597 * math/e_j1l.c: Likewise.
52598 * math/e_jnl.c: Likewise.
52599 * math/e_lgammal_r.c: Likewise.
52600 * math/e_rem_pio2l.c: Likewise.
52601 * math/e_scalb.c: Likewise.
52602 * math/e_scalbf.c: Likewise.
52603 * math/e_scalbl.c: Likewise.
52604 * math/k_cosl.c: Likewise.
52605 * math/k_sinl.c: Likewise.
52606 * math/k_tanl.c: Likewise.
52607 * math/s_cacoshf.c: Likewise.
52608 * math/s_catan.c: Likewise.
52609 * math/s_catanf.c: Likewise.
52610 * math/s_catanh.c: Likewise.
52611 * math/s_catanhf.c: Likewise.
52612 * math/s_catanhl.c: Likewise.
52613 * math/s_catanl.c: Likewise.
52614 * math/s_ccosh.c: Likewise.
52615 * math/s_ccoshf.c: Likewise.
52616 * math/s_ccoshl.c: Likewise.
52617 * math/s_cexp.c: Likewise.
52618 * math/s_cexpf.c: Likewise.
52619 * math/s_cexpl.c: Likewise.
52620 * math/s_clog.c: Likewise.
52621 * math/s_clog10.c: Likewise.
52622 * math/s_clog10f.c: Likewise.
52623 * math/s_clog10l.c: Likewise.
52624 * math/s_clogf.c: Likewise.
52625 * math/s_clogl.c: Likewise.
52626 * math/s_csin.c: Likewise.
52627 * math/s_csinf.c: Likewise.
52628 * math/s_csinh.c: Likewise.
52629 * math/s_csinhf.c: Likewise.
52630 * math/s_csinhl.c: Likewise.
52631 * math/s_csinl.c: Likewise.
52632 * math/s_csqrt.c: Likewise.
52633 * math/s_csqrtf.c: Likewise.
52634 * math/s_csqrtl.c: Likewise.
52635 * math/s_ctan.c: Likewise.
52636 * math/s_ctanf.c: Likewise.
52637 * math/s_ctanh.c: Likewise.
52638 * math/s_ctanhf.c: Likewise.
52639 * math/s_ctanhl.c: Likewise.
52640 * math/s_ctanl.c: Likewise.
52641 * math/s_ldexp.c: Likewise.
52642 * math/s_ldexpf.c: Likewise.
52643 * math/s_ldexpl.c: Likewise.
52644 * math/s_significand.c: Likewise.
52645 * math/s_significandf.c: Likewise.
52646 * math/s_significandl.c: Likewise.
52647 * math/w_acos.c: Likewise.
52648 * math/w_acosf.c: Likewise.
52649 * math/w_acosh.c: Likewise.
52650 * math/w_acoshf.c: Likewise.
52651 * math/w_acoshl.c: Likewise.
52652 * math/w_acosl.c: Likewise.
52653 * math/w_asin.c: Likewise.
52654 * math/w_asinf.c: Likewise.
52655 * math/w_asinl.c: Likewise.
52656 * math/w_atan2.c: Likewise.
52657 * math/w_atan2f.c: Likewise.
52658 * math/w_atan2l.c: Likewise.
52659 * math/w_atanh.c: Likewise.
52660 * math/w_atanhf.c: Likewise.
52661 * math/w_atanhl.c: Likewise.
52662 * math/w_cosh.c: Likewise.
52663 * math/w_coshf.c: Likewise.
52664 * math/w_coshl.c: Likewise.
52665 * math/w_dremf.c: Likewise.
52666 * math/w_exp10.c: Likewise.
52667 * math/w_exp10f.c: Likewise.
52668 * math/w_exp10l.c: Likewise.
52669 * math/w_exp2.c: Likewise.
52670 * math/w_exp2f.c: Likewise.
52671 * math/w_fmod.c: Likewise.
52672 * math/w_fmodf.c: Likewise.
52673 * math/w_fmodl.c: Likewise.
52674 * math/w_hypot.c: Likewise.
52675 * math/w_hypotf.c: Likewise.
52676 * math/w_hypotl.c: Likewise.
52677 * math/w_j0.c: Likewise.
52678 * math/w_j0f.c: Likewise.
52679 * math/w_j0l.c: Likewise.
52680 * math/w_j1.c: Likewise.
52681 * math/w_j1f.c: Likewise.
52682 * math/w_j1l.c: Likewise.
52683 * math/w_jn.c: Likewise.
52684 * math/w_jnf.c: Likewise.
52685 * math/w_jnl.c: Likewise.
52686 * math/w_lgamma.c: Likewise.
52687 * math/w_lgamma_r.c: Likewise.
52688 * math/w_lgammaf.c: Likewise.
52689 * math/w_lgammaf_r.c: Likewise.
52690 * math/w_lgammal.c: Likewise.
52691 * math/w_lgammal_r.c: Likewise.
52692 * math/w_log.c: Likewise.
52693 * math/w_log10.c: Likewise.
52694 * math/w_log10f.c: Likewise.
52695 * math/w_log10l.c: Likewise.
52696 * math/w_log2.c: Likewise.
52697 * math/w_log2f.c: Likewise.
52698 * math/w_log2l.c: Likewise.
52699 * math/w_logf.c: Likewise.
52700 * math/w_logl.c: Likewise.
52701 * math/w_pow.c: Likewise.
52702 * math/w_powf.c: Likewise.
52703 * math/w_powl.c: Likewise.
52704 * math/w_remainder.c: Likewise.
52705 * math/w_remainderf.c: Likewise.
52706 * math/w_remainderl.c: Likewise.
52707 * math/w_scalb.c: Likewise.
52708 * math/w_scalbf.c: Likewise.
52709 * math/w_scalbl.c: Likewise.
52710 * math/w_sinh.c: Likewise.
52711 * math/w_sinhf.c: Likewise.
52712 * math/w_sinhl.c: Likewise.
52713 * math/w_sqrt.c: Likewise.
52714 * math/w_sqrtf.c: Likewise.
52715 * math/w_sqrtl.c: Likewise.
52716 * math/w_tgamma.c: Likewise.
52717 * math/w_tgammaf.c: Likewise.
52718 * math/w_tgammal.c: Likewise.
52719
6a621eb7
UD
52720 * po/ja.po: Update from translation team.
52721
bf582445
AJ
527222011-09-29 Andreas Jaeger <aj@suse.de>
52723
f9efbf3a
AJ
52724 [BZ #13179]
52725 * sunrpc/netname.c (netname2host): Fix logic.
52726
bf582445
AJ
52727 [BZ #6779]
52728 [BZ #6783]
52729 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52730 correctly.
52731 * math/w_remainder.c (__remainder): Likewise.
52732 * math/w_remainderf.c (__remainderf): Likewise.
52733 * math/libm-test.inc (remainder_test): Add test cases.
52734
48693bea
AK
527352011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52736
52737 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52738 sdiv_qrnnd.
52739
42622229
LD
527402011-10-07 Ulrich Drepper <drepper@gmail.com>
52741
52742 * string/test-memcmp.c: Avoid unncessary #defines.
52743 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52744
093ecf92
LD
527452011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52746
52747 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52748 Use new sse2 version for core i3 - i7 as it's faster
52749 than sse42 version.
52750 (bit_Prefer_PMINUB_for_stringop): New.
52751 * sysdeps/x86_64/rawmemchr.S: Update.
52752 Replace with faster SSE2 version.
52753 * sysdeps/x86_64/memrchr.S: New file.
52754 * sysdeps/x86_64/memchr.S: Update.
52755 Replace with faster SSE2 version.
52756
fde56e5c
MP
527572011-09-12 Marek Polacek <mpolacek@redhat.com>
52758
52759 * elf/dl-load.c (lose): Add cast to avoid warning.
52760
21fd49a9
UD
527612011-10-07 Ulrich Drepper <drepper@gmail.com>
52762
5a06e643
UD
52763 * po/ca.po: Update from translation team.
52764
684ae515
UD
52765 * inet/getnetgrent_r.c: Hook up nscd.
52766 * nscd/Makefile (routines): Add nscd_netgroup.
52767 (nscd-modules): Add netgroupcache.
52768 (CFLAGS-netgroupcache.c): Define.
52769 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52770 (cache_search): Add const to second parameter.
52771 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52772 INNETGR.
52773 (dbs): Add netgrdb entry.
52774 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52775 (verify_persistent_db): Handle netgrdb.
52776 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52777 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52778 GETFDNETGR.
52779 (netgroup_response_header): Define.
52780 (innetgroup_response_header): Define.
52781 (datahead): Add netgroup_response_header and innetgroup_response_header
52782 elements.
52783 * nscd/nscd.conf: Add entries for netgroup cache.
52784 * nscd/nscd.h (dbtype): Add netgrdb.
52785 (_PATH_NSCD_NETGROUP_DB): Define.
52786 (netgroup_iov_disabled): Declare.
52787 (xmalloc, xcalloc, xrealloc): Move declarations here.
52788 (cache_search): Adjust prototype.
52789 Add netgroup-related prototypes.
52790 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52791 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52792 (__nscd_innetgr): Declare.
52793 * nscd/selinux.c (perms): Use access_vector_t as element type and
52794 add netgroup-related initializers.
52795 * nscd/netgroupcache.c: New file.
52796 * nscd/nscd_netgroup.c: New file.
52797 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52798 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52799 For four parameters use innetgr.
52800 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52801 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52802 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52803 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52804
21fd49a9
UD
52805 * nscd/connections.c (register_traced_file): Don't register file
52806 for disabled databases.
52807
054c0457
UD
528082011-10-06 Ulrich Drepper <drepper@gmail.com>
52809
32b63198
UD
52810 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52811
054c0457
UD
52812 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52813 from tree and freeing node.
52814
64031225
JO
528152011-09-25 Jiri Olsa <jolsa@redhat.com>
52816
52817 * nss/nsswitch.c (__nss_database_lookup): Handle
52818 nss_parse_service_list out of memory case.
52819
0490345c
JO
528202011-09-15 Jiri Olsa <jolsa@redhat.com>
52821
52822 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52823 out of memory case.
52824
3a62d00d
AS
528252011-10-04 Andreas Schwab <schwab@redhat.com>
52826
52827 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52828 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52829 pass it down.
52830 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52831 elf_machine_rela, elf_machine_lazy_rel.
52832 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52833 (ELF_DYNAMIC_DO_REL): Likewise.
52834 (ELF_DYNAMIC_DO_RELA): Likewise.
52835 (ELF_DYNAMIC_RELOCATE): Likewise.
52836 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52837 to ELF_DYNAMIC_DO_REL.
52838 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52839 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52840 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52841 elf_machine_rela.
52842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52843 skip_ifunc, don't call ifunc function if non-zero.
52844 (elf_machine_rela): Likewise.
52845 (elf_machine_lazy_rel): Likewise.
52846 (elf_machine_lazy_rela): Likewise.
52847 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52848 (elf_machine_lazy_rel): Likewise.
52849 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52850 Likewise.
52851 (elf_machine_lazy_rel): Likewise.
52852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52853 Likewise.
52854 (elf_machine_lazy_rel): Likewise.
52855 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52856 (elf_machine_lazy_rel): Likewise.
52857 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52858 (elf_machine_lazy_rel): Likewise.
52859 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52860 (elf_machine_lazy_rel): Likewise.
52861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52862 (elf_machine_lazy_rel): Likewise.
52863 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52864 (elf_machine_lazy_rel): Likewise.
52865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52866 (elf_machine_lazy_rel): Likewise.
52867
68577918
UD
528682011-09-28 Ulrich Drepper <drepper@gmail.com>
52869
52870 * nss/nss_files/files-init.c (_nss_files_init): Use static
52871 initialization for all the *_traced_file variables.
52872
68822d74
AS
528732011-09-28 Andreas Schwab <schwab@redhat.com>
52874
52875 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52876
2056100b
RM
528772011-09-27 Roland McGrath <roland@hack.frob.com>
52878
52879 [BZ #13226]
52880 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52881
32c76b63
AS
528822011-09-27 Andreas Schwab <schwab@redhat.com>
52883
52884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52885 Reread the line before reparsing it.
52886
bf972c9d
AS
528872011-09-26 Andreas Schwab <schwab@redhat.com>
52888
52889 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52890
e057a1b5
JM
528912011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52892 Maxim Kuvyrkov <maxim@codesourcery.com>
52893 Joseph Myers <joseph@codesourcery.com>
52894
52895 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52896 if needed for __stack_chk_guard.
52897
bc7e1c36
RM
528982011-09-19 Roland McGrath <roland@hack.frob.com>
52899
ecb1482f
RM
52900 * sysdeps/posix/spawni.c (script_execute): Always define it.
52901 It will be optimized away if unused.
52902 (maybe_script_execute): New function.
52903 (__spawni): Call it.
52904
bc7e1c36
RM
52905 * Makerules: Don't include tls.make.
52906 (config-tls): Always set to thread.
52907 * tls.make.c: File removed.
52908
1c3b002b
MF
529092011-09-19 Mike Frysinger <vapier@gentoo.org>
52910
52911 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52912 * config.make.in (CPPFLAGS-config): New substituted variable.
52913
2840865d
UD
529142011-09-15 Ulrich Drepper <drepper@gmail.com>
52915
88738eb6
UD
52916 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52917
cbf645a6 52918 [BZ #13192]
2840865d
UD
52919 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52920 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52921
b402e91a
RM
529222011-09-15 Roland McGrath <roland@hack.frob.com>
52923
52924 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52925 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52927 (CALL_FAIL): Likewise.
52928 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52929 (CALL_FAIL): Macro removed.
52930 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52931
4c1a1f71
UD
529322011-09-15 Ulrich Drepper <drepper@gmail.com>
52933
52934 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52935 for __FINITE_MATH_ONLY__ == 1.
52936
edc121be
AS
529372011-09-15 Andreas Schwab <schwab@redhat.com>
52938
52939 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52940 __ieee754_sqrt instead of sqrt.
52941 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52942 __ieee754_sqrtf instead of sqrtf.
52943 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52944 __floorf instead of floorf.
52945 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52946 __floorf, __truncf instead of floorf, truncf.
52947
cd205654
UD
529482011-09-14 Ulrich Drepper <drepper@gmail.com>
52949
ee4d0315
UD
52950 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52951
cd205654
UD
52952 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52953 __extern_always_inline.
52954 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52955 32-bit.
52956
48b67d71
AS
529572011-09-14 Andreas Schwab <schwab@redhat.com>
52958
52959 * elf/rtld.c (dl_main): Also relocate in dependency order when
52960 doing symbol dependency testing.
52961
1ae12c75
AS
529622011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52963
52964 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52965 Always define `refsym'.
52966
995a80df
AS
529672011-09-13 Andreas Schwab <schwab@redhat.com>
52968
e529793b
AS
52969 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52970 (__FD_ELT): Renamed from __FDELT.
52971 * misc/bits/select2.h (__FD_ELT): Likewise.
52972 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52973 __FD_MASK instead of __FDELT, __FDMASK.
52974 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52975 Likewise.
52976 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52977 Likewise.
52978
52d4fef8
AS
52979 * elf/Makefile (gen-ldd): Fix pattern.
52980
995a80df
AS
52981 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52982 (init_tls): Likewise.
52983
8682f8b0
UD
529842011-09-12 Ulrich Drepper <drepper@gmail.com>
52985
52986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52987
de82006d
AS
529882011-09-12 Andreas Schwab <schwab@redhat.com>
52989
a7c8e6a1
AS
52990 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52991 `struct cmsghdr *' instead of `void *'.
52992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52993 Likewise.
52994
0f31fe77
AS
529952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52996
52997 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52998 if non-absolute.
52999 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53000 ldd_rewrite_script.
0f31fe77 53001
32b4c839
UD
530022011-09-11 Ulrich Drepper <drepper@gmail.com>
53003
83cd1420
UD
53004 * configure.in: Remove --with-tls option.
53005 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53006 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53007 out in case it is missing.
53008 * sysdeps/ia64/elf/configure.in: Likewise.
53009 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53010 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53011 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53012 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53013 * sysdeps/sh/elf/configure.in: Likewise.
53014 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53015 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53016 * sysdeps/x86_64/elf/configure.in: Likewise.
53017 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53018 * sysdeps/mach/hurd/tls.h: Likewise.
53019
633f745d
UD
53020 [BZ #13067]
53021 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53022
f318beb8
UD
53023 [BZ #13090]
53024 * configure.in: Fix use of AC_INIT.
53025
32b4c839
UD
53026 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53027
3ce1f295
UD
530282011-09-10 Ulrich Drepper <drepper@gmail.com>
53029
bb016596
UD
53030 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53031 __set_errno.
8e58439c
UD
53032 * malloc/hooks.c: Likewise.
53033
aebae053 53034 [BZ #11929]
02d46fc4
UD
53035 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53036 variables statically.
53037 (narenas): Initialize.
53038 (list_lock): Initialize.
bb016596
UD
53039 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53040 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53041 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53042 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53043 Add initializers to main_arena and mp_.
53044 (malloc_state): Remove pagesize member. Change all users to use
53045 GLRO(dl_pagesize).
53046
53047 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53048 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53049 is always initialized.
53050
22a89187
UD
53051 * malloc/malloc.c: Removed unused configurations and dead code.
53052 * malloc/arena.c: Likewise.
53053 * malloc/hooks.c: Likewise.
02d46fc4 53054 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53055
d063d164
UD
53056 * include/tls.h: Removed. USE___THREAD must always be defined.
53057 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53058 * elf/dl-libc.c: Likewise.
53059 * elf/dl-tsd.c: Likewise.
53060 * include/errno.h: Likewise.
53061 * include/netdb.h: Likewise.
53062 * include/resolv.h: Likewise.
53063 * inet/herrno-loc.c: Likewise.
53064 * inet/herrno.c: Likewise.
53065 * malloc/arena.c: Likewise.
53066 * malloc/hooks.c: Likewise.
53067 * malloc/malloc.c: Likewise.
53068 * resolv/res-state.c: Likewise.
53069 * resolv/res_libc.c: Likewise.
53070 * sysdeps/i386/dl-machine.h: Likewise.
53071 * sysdeps/ia64/dl-machine.h: Likewise.
53072 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53073 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53074 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53075 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53076 * sysdeps/sh/dl-machine.h: Likewise.
53077 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53078 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53079 * sysdeps/unix/i386/sysdep.S: Likewise.
53080 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53081 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53082 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53084 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53086 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53090 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53091 * sysdeps/x86_64/dl-machine.h: Likewise.
53092 * tls.make.c: Likewise.
53093
3ce1f295
UD
53094 * configure.in: Remove --with-__thread option. Make tests for
53095 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53096 tls_model attribute fail if no support is available. Remove
53097 USE_IN_LIBIO.
53098 * Makeconfig: Adjust for dropped configure option. All features are
53099 now mandatory.
53100 * Makerules: Likewise.
53101 * Versions.def: Likewise.
53102 * argp/argp-fmtstream.c: Likewise.
53103 * argp/argp-fmtstream.h: Likewise.
53104 * argp/argp-help.c: Likewise.
53105 * assert/assert.c: Likewise.
53106 * config.h.in: Likewise.
53107 * config.make.in: Likewise.
53108 * configure: Likewise.
53109 * configure.in: Likewise.
53110 * csu/Versions: Likewise.
53111 * csu/init.c: Likewise.
53112 * elf/tst-audit2.c: Likewise.
53113 * elf/tst-tls10.c: Likewise.
53114 * elf/tst-tls10.h: Likewise.
53115 * elf/tst-tls11.c: Likewise.
53116 * elf/tst-tls12.c: Likewise.
53117 * elf/tst-tls14.c: Likewise.
53118 * elf/tst-tlsmod11.c: Likewise.
53119 * elf/tst-tlsmod12.c: Likewise.
53120 * elf/tst-tlsmod13.c: Likewise.
53121 * elf/tst-tlsmod13a.c: Likewise.
53122 * elf/tst-tlsmod14a.c: Likewise.
53123 * elf/tst-tlsmod15b.c: Likewise.
53124 * elf/tst-tlsmod16a.c: Likewise.
53125 * elf/tst-tlsmod16b.c: Likewise.
53126 * elf/tst-tlsmod7.c: Likewise.
53127 * elf/tst-tlsmod8.c: Likewise.
53128 * elf/tst-tlsmod9.c: Likewise.
53129 * gmon/gmon.c: Likewise.
53130 * grp/fgetgrent_r.c: Likewise.
53131 * grp/putgrent.c: Likewise.
53132 * hurd/fopenport.c: Likewise.
53133 * include/libc-symbols.h: Likewise.
53134 * include/tls.h: Likewise.
53135 * intl/gettextP.h: Likewise.
53136 * intl/loadinfo.h: Likewise.
53137 * locale/global-locale.c: Likewise.
53138 * locale/localeinfo.h: Likewise.
53139 * mach/devstream.c: Likewise.
53140 * malloc/arena.c: Likewise.
53141 * malloc/set-freeres.c: Likewise.
53142 * misc/err.c: Likewise.
53143 * misc/getttyent.c: Likewise.
53144 * misc/mntent_r.c: Likewise.
53145 * posix/getopt.c: Likewise.
53146 * posix/wordexp.c: Likewise.
53147 * pwd/fgetpwent_r.c: Likewise.
53148 * resolv/Versions: Likewise.
53149 * resolv/res_hconf.c: Likewise.
53150 * shadow/fgetspent_r.c: Likewise.
53151 * shadow/putspent.c: Likewise.
53152 * stdio-common/printf_fphex.c: Likewise.
53153 * stdio-common/tmpfile.c: Likewise.
53154 * stdlib/abort.c: Likewise.
53155 * stdlib/fmtmsg.c: Likewise.
53156 * sunrpc/auth_unix.c: Likewise.
53157 * sunrpc/clnt_perr.c: Likewise.
53158 * sunrpc/clnt_tcp.c: Likewise.
53159 * sunrpc/clnt_udp.c: Likewise.
53160 * sunrpc/clnt_unix.c: Likewise.
53161 * sunrpc/openchild.c: Likewise.
53162 * sunrpc/svc_simple.c: Likewise.
53163 * sunrpc/svc_tcp.c: Likewise.
53164 * sunrpc/svc_udp.c: Likewise.
53165 * sunrpc/svc_unix.c: Likewise.
53166 * sunrpc/xdr.c: Likewise.
53167 * sunrpc/xdr_array.c: Likewise.
53168 * sunrpc/xdr_rec.c: Likewise.
53169 * sunrpc/xdr_ref.c: Likewise.
53170 * sunrpc/xdr_stdio.c: Likewise.
53171
1248c1c4
PB
531722011-09-09 Ulrich Drepper <drepper@gmail.com>
53173
53174 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53175
531762011-07-03 Andreas Jaeger <aj@suse.de>
53177
53178 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53179 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53180 regenerate with gen-libm-tests.pl.
53181
531822010-05-12 Petr Baudis <pasky@suse.cz>
53183
53184 [BZ #11589]
53185 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53186 around j0() zero points by switching to j1().
53187 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53191
f22e1074
UD
531922011-09-09 Ulrich Drepper <drepper@gmail.com>
53193
f19009c1
UD
53194 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53195 instead of 0.
53196 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53197 instead of 0.
f19009c1
UD
53198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53199 Patch in part by Pavel Roskin <proski@gnu.org>.
53200
3f8cc204
UD
53201 [BZ #13138]
53202 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53203 realloc.
53204 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53205 Free memory block if necessary.
53206
f22e1074
UD
53207 [BZ #12847]
53208 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53209 be NULL. Don't lock in this case.
53210
0a2349f9
RM
532112011-09-09 Roland McGrath <roland@hack.frob.com>
53212
53213 * elf/elf.h (ELFOSABI_GNU): New macro.
53214 (ELFOSABI_LINUX): Define to that.
53215
f3cdd467
DZ
532162011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53217
53218 * string/strncat.c (strncat): Undef the symbol in case it has been
53219 defined in bits/string.h.
53220
74718d13
UD
532212011-09-09 Ulrich Drepper <drepper@gmail.com>
53222
633e9e0f
UD
53223 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53224
0a2349f9 53225 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53226 link map.
53227
f9924780
AJ
532282011-08-17 Andreas Jaeger <aj@suse.de>
53229
53230 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53231
7f5517aa
PP
532322011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53233 Ian Lance Taylor <iant@google.com>
53234
53235 * math/libm-test.inc (lround_test): New testcase.
53236 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53237
762011fe
UD
532382011-09-08 Ulrich Drepper <drepper@gmail.com>
53239
92963737
UD
53240 * Makefile: Remove support for automatic cvs check-ins.
53241 * Makerules: Likewise.
53242 * config.make.in: Likewise.
53243 * configure.in: Likewise.
53244 * intl/Makefile: Likewise.
53245 * locale/Makefile: Likewise.
53246 * po/Makefile: Likewise.
53247 * posix/Makefile: Likewise.
53248 * sysdeps/gnu/Makefile: Likewise.
53249 * sysdeps/mach/hurd/Makefile: Likewise.
53250 * sysdeps/sparc/sparc32/Makefile: Likewise.
53251
b0727fd8
JS
53252 [BZ #13118]
53253 * posix/Makefile (bug-regex32-ENV): Define.
53254 Patch by John Stanley <jpsinthemix@verizon.net>.
53255
a0f33f99
UD
53256 * misc/Makefile (headers): Add bits/select2.h.
53257 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53258 * misc/bits/select2.h: New file.
53259 * include/bits/select2.h: New file.
53260 * debug/Makefile (routines): Add fdelt_chk.
53261 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53262 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53263 FD_ISSET.
53264 * debug/fdelt_chk.c: New file.
53265
762011fe
UD
53266 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53267 * wcsmbs/test-wmemcmp.c: Likewise.
53268 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53269 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53270
532712011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53272
53273 * string/Makefile (strop-tests): Add memcmp.
53274 * string/test-wmemcmp.c: New file.
53275 * string/test-memcmp.c: Add wmemcmp support.
53276
7f513ec8
RM
532772011-09-08 Roland McGrath <roland@hack.frob.com>
53278
0442afb4
RM
53279 [BZ #13153]
53280 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53281 2011-07-19 change.
53282
7f513ec8
RM
53283 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53284 garbage value in a __mach_port_mod_refs call in the cases of the
53285 task-self and thread-self ports.
53286
a12b2239
ST
532872011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53288
53289 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53290
610f9ab4
AS
532912011-09-08 Andreas Schwab <schwab@redhat.com>
53292
7f513ec8 53293 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53294
48882a1a
LD
532952011-09-07 Ulrich Drepper <drepper@gmail.com>
53296
b49865be
UD
53297 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53298
fdc86bc9
UD
53299 * elf/dl-libc.c (dlerror_run): Pass back error code from
53300 dl_catch_error.
53301
c966526a
UD
53302 [BZ #13123]
53303 * elf/dl-load.c (lose): Free l_origin if it is valid.
53304
48882a1a
LD
53305 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53306 names.
53307 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53308 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53311 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53312 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53313
77a2a8b4
AZ
533142011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53315
53316 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53317 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53318 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53319 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53320 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53321 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53322 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53323 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53324 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53325 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53326
24f579d8
AM
533272011-08-15 Alan Modra <amodra@gmail.com>
53328
53329 [BZ #13092]
53330 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53331 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53332 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53333 ppc_mcount to static-only-routines.
53334 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53335 __mcount_internal.
53336 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53337 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53338
3d4837df
UD
533392011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53340
53341 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53342 for finite and infinity parameters.
53343
22700377
WS
533442011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53345
53346 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53347 and add nop instructions for throughput optimization.
53348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53349
5025581e
WS
533502011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53351
53352 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53353 aligned copy for power7 with vector-scalar instructions.
53354 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53355
08a300c9
L
533562011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53357
53358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53359 AVX check.
53360
59178ef9
AS
533612011-09-07 Andreas Schwab <schwab@redhat.com>
53362
53363 [BZ #13144]
53364 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53365 last change.
53366
e38ba7ab
UD
533672011-09-07 Ulrich Drepper <drepper@gmail.com>
53368
53369 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53370 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53371 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53372 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53373 clock_gettime.
53374
d53a73ac
UD
533752011-09-06 Ulrich Drepper <drepper@gmail.com>
53376
fc8bffcc
UD
53377 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53378 Forgot to demangle the pointer.
53379
ceaa0c5d
UD
53380 * sysdeps/i386/sysdep.h: Define atom_text_section.
53381 * sysdeps/x86_64/sysdep.h: Likewise.
53382 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53383 section with atom_text_section.
53384 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53385 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53386 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53387 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53388 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53389
a77d3c17
UD
53390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53391 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53392 already be defined. Change to take two parameters and don't assign
53393 result to variable. Adjust all users.
53394 Define INTERNAL_GETTIME if not already defined.
53395 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53396 call.
53397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53398 HAVE_CLOCK_GETTIME_VSYSCALL.
53399 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53400
d53a73ac
UD
53401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53402 gettimeofday vsyscall, just use time.
53403
a8f84144
AS
534042011-09-06 Andreas Schwab <schwab@redhat.com>
53405
53406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53407 <errno.h>.
53408
ef606249
UD
534092011-09-06 Ulrich Drepper <drepper@gmail.com>
53410
53411 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53412 syscall on x86-64.
53413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53414 syscall.
53415 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53417 syscall if possible.
53418
6585cb60
UD
534192011-09-05 Ulrich Drepper <drepper@gmail.com>
53420
53421 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53422 e_ident. Don't pass to find_mapsXX.
53423 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53424
a5f524e4
LD
534252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53426
53427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53428 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53429 * sysdeps/x86_64/multiarch/strchr.S: Update.
53430 Check bit_slow_BSF bit.
53431 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53432 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53433 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53434
554881ef
UD
534352011-09-05 Ulrich Drepper <drepper@gmail.com>
53436
d96de963
UD
53437 [BZ #13134]
53438 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53439 before glibc 2.15.
53440 (tryshell): Define.
53441 (__spawni): Change last parameter to be flag. Test
53442 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53443 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53444 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53445 * posix/spawni.c: Likewise.
53446 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53447 * posix/spawnp.c: Likewise. Change normal version to use
53448 SPAWN_XFLAGS_USE_PATH.
53449 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53450 SPAWN_XFLAGS_TRY_SHELL.
53451
d48e5868
UD
53452 [BZ #13150]
53453 * posix/glob.h: Remove gcc 1.x support.
53454
554881ef
UD
53455 [BZ #13068]
53456 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53457
693fb948
LD
534582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53459
53460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53461 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53462 strrchr-sse2-bsf
53463 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53464 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53465 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53467 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53468 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53469
1b48c537
UD
534702011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53471
49d42c37
UD
53472 * sysdeps/x86_64/wcscmp.S: New file.
53473
1b48c537
UD
53474 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53475 wcscmp-c wcscmp-sse2
53476 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53477 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53478 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53479 * wcsmbs/wcscmp.c: Allow renaming.
53480
15c95c5d
DM
534812011-09-05 David S. Miller <davem@davemloft.net>
53482
53483 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53484 stack slot, rather than the struct return pointer slot.
53485 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53486 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53488 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53489
2f0ad8f3
UD
534902011-09-05 Ulrich Drepper <drepper@gmail.com>
53491
d88ae418
UD
53492 * po/ja.po: Update from translation team.
53493
2f0ad8f3
UD
53494 [BZ #13144]
53495 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53496 kernel in 64-bit binaries.
53497
5f4318d1
DM
534982011-09-01 David S. Miller <davem@davemloft.net>
53499
53500 * elf/elf.h (HWCAP_SPARC_*): Move to..
53501 * sysdeps/sparc/sysdep.h: this new file and add new values.
53502 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53503 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53504 _DL_HWCAP_COUNT to 24.
53505 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53506 entries.
53507 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53508 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53509 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53511 instead of magic constants.
53512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53513
3ba57516
DM
535142011-08-31 David S. Miller <davem@davemloft.net>
53515
53516 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53518 Reimplement to do errno handling inline.
53519 (SYSCALL_ERROR_HANDLER): New macro.
53520 (__SYSCALL_STRING): Do not do errno handling in asm.
53521 (__CLONE_SYSCALL_STRING): Delete.
53522 (__INTERNAL_SYSCALL_STRING): Delete.
53523 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53524 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53525 (PSEUDO): Reimplement to do errno handling inline.
53526 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53527 (SYSCALL_ERROR_HANDLER): New macro.
53528 (__SYSCALL_STRING): Do not do errno handling in asm.
53529 (__CLONE_SYSCALL_STRING): Delete.
53530 (__INTERNAL_SYSCALL_STRING): Delete.
53531 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53532 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53533 i386.
53534 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53535 (inline_syscall*): Add 'err' argument.
53536 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53537 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53538 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53539 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53540
53541 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53542 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53543
2bc17433
AS
535442011-08-30 Andreas Schwab <schwab@redhat.com>
53545
53546 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53547
fbeb5f4d
JO
535482011-08-29 Jiri Olsa <jolsa@redhat.com>
53549
53550 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53551 directive.
53552
ad69cc26
DM
535532011-08-24 David S. Miller <davem@davemloft.net>
53554
53555 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53556
39dd69df
AS
535572011-08-24 Andreas Schwab <schwab@redhat.com>
53558
53559 * elf/Makefile: Add rules to build and run unload8 test.
53560 * elf/unload8.c: New file.
53561 * elf/unload8mod1.c: New file.
53562 * elf/unload8mod1x.c: New file.
53563 * elf/unload8mod2.c: New file.
53564 * elf/unload8mod3.c: New file.
53565
53566 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53567 it wasn't used.
53568
2c0b250a
DM
535692011-08-23 David S. Miller <davem@davemloft.net>
53570
53571 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53572 subtract stack bias.
53573 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53574 %sp not %fp in calculations.
53575 (_JMPBUF_UNWINDS_ADJ): Likewise.
53576
22044b48
DM
53577 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53578 (aio_suspend): Call it to force an exception region around the
53579 AIO_MISC_WAIT() invocation.
53580
2cae4995
AS
535812011-08-23 Andreas Schwab <schwab@redhat.com>
53582
53583 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53584 backslash.
53585
873a772e
AJ
535862011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53587
53588 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53589 protection macro.
53590 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53591 and <dl-machine.h>.
53592 (Elf64_FuncDesc): Remove.
53593
25ad0df1
DM
535942011-08-22 David S. Miller <davem@davemloft.net>
53595
53596 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53597 sigaltstack check, add missing cfi directives.
53598 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53599 missing cfi directives, and sigaltstack handling.
53600
e888bcbe
AS
536012011-08-16 Andreas Schwab <schwab@redhat.com>
53602
53603 [BZ #11724]
53604 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53605 object is seen twice.
53606 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53607
53608 * elf/Makefile (distribute): Add tst-initorder2.c.
53609 (tests): Add tst-initorder2.
53610 (modules-names): Add tst-initorder2a tst-initorder2b
53611 tst-initorder2c tst-initorder2d. Add rules to build them.
53612 ($(objpfx)tst-initorder2.out): New rule.
53613 * elf/tst-initorder2.c: New file.
53614 * elf/tst-initorder2.exp: New file.
53615
87162f46
AS
536162011-08-22 Andreas Schwab <schwab@redhat.com>
53617
70538b7f
AS
53618 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53619
f55ffe58
AS
53620 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53621 dependencies back to end of function.
53622
87162f46
AS
53623 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53624 $(elfobjdir)/ld.so.
53625
91b392a4
UD
536262011-08-21 Ulrich Drepper <drepper@gmail.com>
53627
53628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53629 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53631 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53632 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53633 of __vdso_gettimeofday.
53634 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53635 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53636 attribute_hidden.
53637 (_libc_vdso_platform_setup): Remove initialization of
53638 __vdso_gettimeofday and __vdso_time.
53639
5c43483f
UD
536402011-08-20 Ulrich Drepper <drepper@gmail.com>
53641
775a77e7
UD
53642 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53643 and fgetc_unlocked.
53644 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53645 getc_unlocked.
89f447ed 53646
49c74ba9
UD
53647 * elf/dl-open.c (add_to_global): Report additions to the global scope
53648 for LD_DEBUG=scopes.
53649 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53650 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53651
5c43483f
UD
53652 [BZ #13114]
53653 * stdio-common/Makefile (tests): Add bug24.
53654 * stdio-common/bug24.c: New file.
53655
a101b025
AJ
536562011-08-19 Andreas Jaeger <aj@suse.de>
53657
53658 [BZ #13114]
53659 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53660 non-existant file when using close-on-exec mode.
53661
c88f1766
UD
536622011-08-20 Ulrich Drepper <drepper@gmail.com>
53663
0276a718
UD
53664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53665 the very first instruction.
53666
c88f1766
UD
53667 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53668 the CFI state in the end.
53669 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53670 inclusion of dl-trampoline.h.
53671 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53672
51ccffa0
AS
536732011-08-19 Andreas Schwab <schwab@redhat.com>
53674
94d7165f
AS
53675 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53676 expectations for long double.
53677
51ccffa0
AS
53678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53679 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53680
fd708658 536812011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53682
53683 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53684 artificual limit depends upon the system page size.
53685
44f0a71e
UD
536862011-08-17 Ulrich Drepper <drepper@gmail.com>
53687
53688 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53689 * resolv/Makefile: Define CFLAGS-libresolv.
53690
8de79a24
AS
536912011-08-17 Andreas Schwab <schwab@redhat.com>
53692
53693 * nss/makedb.c (compute_tables): Make variables used in nested
53694 function static.
53695
27724598
UD
536962011-08-17 Ulrich Drepper <drepper@gmail.com>
53697
c5305d88
UD
53698 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53699 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53700 if buffer was too small.
53701
27724598
UD
53702 * elf/pldd.c (main): Attach to all threads in the process.
53703 Rewrite /proc handling to use *at functions.
53704
076fe015
UD
537052011-08-16 Ulrich Drepper <drepper@gmail.com>
53706
174baab3
UD
53707 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53708 specifies first scope to show.
53709 (dl_open_worker): Update callers. Move printing scope of new
53710 object to before the relocation.
44f0a71e 53711 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53712 * sysdeps/generic/ldsodefs.h: Update declaration.
53713
076fe015
UD
53714 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53715 string for the scope number.
53716
a60df2c3
UD
537172011-08-14 Ulrich Drepper <drepper@gmail.com>
53718
53719 * nscd/servicescache.c (cache_addserv): Make sure written is always
53720 initialized.
53721
5e4287d1
RM
537222011-08-14 Roland McGrath <roland@hack.frob.com>
53723
85ae0589
RM
53724 * sysdeps/i386/i486/bits/atomic.h
53725 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53726 statement expression, so as to suppress "set but not used" warning.
53727 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53728
69f63097
RM
53729 * string/strncat.c (STRNCAT): Use prototype definition.
53730
675456ef
RM
53731 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53732 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53733 -Iprograms here.
53734 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53735 (localedef-modules): Add localedef.
53736 (locale-modules): Add locale.
53737
5e4287d1
RM
53738 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53739 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53740 to avoid a warning.
53741
9c96ff23
DM
537422011-08-14 David S. Miller <davem@davemloft.net>
53743
53744 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53745 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53746
f9ddf089
UD
537472011-08-13 Ulrich Drepper <drepper@gmail.com>
53748
44f0a71e 53749 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53750 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53751 * elf/rtld.c (dl_main): Set l_name of vDSO.
53752 Call _dl_show_scope when DL_DEBUG_SCOPES.
53753 (process_dl_debug): Recognize scopes flag and also set it for all.
53754 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53755 Declare _dl_show_scope.
53756
1dc27704
UD
53757 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53758 (do_dlopen): Pass caller_dlopen to dl_open.
53759 (__libc_dlopen_mode): Initialize caller_dlopen.
53760
f9ddf089
UD
53761 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53762 of libc. Make tolower call locale-independent. Optimize a bit by
53763 using isdigit instead of isalnum.
53764 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53765
9ac533d3
UD
537662011-08-12 Ulrich Drepper <drepper@gmail.com>
53767
53768 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53769 was a dependency or dynamically loaded.
53770
89edf2e9
UD
537712011-08-11 Ulrich Drepper <drepper@gmail.com>
53772
8e999d29
UD
53773 * intl/l10nflist.c: Allow architecture-specific pop function.
53774 * sysdeps/x86_64/l10nflist.c: New file.
53775
89edf2e9
UD
53776 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53777 classification.
53778
14d96785
AS
537792011-08-10 Andreas Schwab <schwab@redhat.com>
53780
53781 * include/dirent.h: Add libc_hidden_proto for scandirat and
53782 scandirat64. Don't declare __scandirat64.
53783 * dirent/scandirat.c: Add libc_hidden_def.
53784 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53785 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53786
6761ac04
DM
537872011-08-10 David S. Miller <davem@davemloft.net>
53788
53789 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53790 enum.
53791 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53794
c55fbd1e
UD
537952011-08-09 Ulrich Drepper <drepper@gmail.com>
53796
53797 * Versions.def [libc]: Add GLIBC_2.15.
53798 * dirent/Makefile (routines): Add scandirat and scandirat64.
53799 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53800 GLIBC_2.15.
53801 * dirent/dirent.h: Declare scandirat and scandirat64.
53802 * dirent/scandirat.c: New file.
53803 * dirent/scandirat64.c: New file.
53804 * sysdeps/wordsize-64/scandirat.c: New file.
53805 * sysdeps/wordsize-64/scandirat64.c: New file.
53806 * dirent/opendir.c: Define opendirat.
53807 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53808 using scandirat.
53809 * dirent/scandir64.c: Adjust for scandir.c change.
53810 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53811 __scandirat64, and __scandir_cancel_handler.
53812 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53813 additional parameter and use openat instead of open (outside of ld.so).
53814 Add new __opendir as wrapper around __opendirat.
53815 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53816 here without requiring old scandirat implementation.
53817
879165f2
UD
538182011-08-08 Ulrich Drepper <drepper@gmail.com>
53819
53820 * dirent/scandir.c (cancel_handler): Renamed to
53821 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53822 defined. Adjust users.
53823 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53825
cb7e923b
UD
538262011-08-04 Ulrich Drepper <drepper@gmail.com>
53827
16292edd
UD
53828 * string/test-string.h (IMPL): Use __STRING to expand name and then
53829 stringify it.
53830
cb7e923b
UD
53831 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53832 of cleanups.
53833
cff82933
LD
538342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53835
53836 * string/Makefile: Update.
53837 (strop-tests): Append strncat.
53838 * string/test-wcscmp.c: New file.
53839 New comprehensive test for wcscmp.
53840 * string/test-strcmp.c: Update.
53841 (WIDE): New define.
53842
9be9bfcc
AS
538432011-07-22 Andreas Schwab <schwab@redhat.com>
53844
53845 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53846 line.
53847
2e96f1c7
AS
538482011-07-26 Andreas Schwab <schwab@redhat.com>
53849
53850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53851 encoding to ACE if AI_IDN.
53852
85188888
JJ
538532011-08-01 Jakub Jelinek <jakub@redhat.com>
53854
53855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53856 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53857
5fa16e9b
LD
538582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53859
53860 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53861 Fix overflow bug in strncat.
53862 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53863
53864 * string/test-strncat.c: Update.
53865 Add new tests for checking overflow bugs.
53866
538672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53868
53869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53870 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53871 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53872 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53874 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53875 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53876 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53877 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53878
53879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53880 (USE_AS_STRCAT): Define.
53881 Add strcat and strncat support.
53882 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53883
8c1a459f
AS
538842011-07-25 Andreas Schwab <schwab@redhat.com>
53885
53886 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53887 __n bigger than INT_MAX+1.
53888 (__strncmp_g): Likewise.
53889
bba33c28
UD
538902011-07-23 Ulrich Drepper <drepper@gmail.com>
53891
798be72d
UD
53892 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53893 * libio/stido.h: Likewise.
53894
8accd4dc
UD
53895 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53896 (AF_NFC): Define.
53897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53898 (AF_NFC): Define.
53899
cbff0d96
UD
53900 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53901 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53902 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53903 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53904 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53905
9191c04a
UD
53906 [BZ #13021]
53907 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53908 installed.
53909
bba33c28
UD
53910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53911 typo.
53912 (_dl_x86_64_save_sse): Likewise.
53913
90f139dd
UD
539142011-07-22 Ulrich Drepper <drepper@gmail.com>
53915
1aae088a
UD
53916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53917 OSXSAVE.
53918 (_dl_x86_64_save_sse): Likewise.
53919
8e2045f5
UD
53920 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53921
90f139dd
UD
53922 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53923
1d002f25
AS
539242011-07-21 Andreas Schwab <schwab@redhat.com>
53925
53926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53927 change.
53928 (_dl_x86_64_save_sse): Use correct AVX check.
53929
21137f89
UD
539302011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53931
53932 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53933 bug in strncpy/strncat.
53934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53935
a65c0b7a
UD
539362011-07-21 Ulrich Drepper <drepper@gmail.com>
53937
53938 * string/tester.c (test_strcat): Add tests for different alignments
53939 of source and destination.
53940 (test_strncat): Likewise.
53941
6986b98a
UD
539422011-07-20 Ulrich Drepper <drepper@gmail.com>
53943
90bb2039
UD
53944 [BZ #12852]
53945 * posix/glob.c (glob): Check passed in values before using them in
53946 expressions to avoid some overflows.
53947 (glob_in_dir): Likewise.
53948
5644ef54
UD
53949 [BZ #13007]
53950 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53951 check for AVX enablement so that we don't crash with old kernels and
53952 new hardware.
53953 * elf/tst-audit4.c: Add same checks here.
53954 * elf/tst-audit6.c: Likewise.
53955
53956 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53957
bfc9dc9b
AS
539582011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53959
53960 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53961
702e64bb
UD
539622011-07-20 Ulrich Drepper <drepper@gmail.com>
53963
53964 * po/cs.po: Update from translation team.
53965 * po/bg.po: Likewise.
53966
295e904f
MP
539672011-07-12 Marek Polacek <mpolacek@redhat.com>
53968
53969 * misc/sys/cdefs.h: Add support for const attribute.
53970 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53971 to gnu_dev_{major,minor,makedev} functions.
53972
3ff94596
MP
539732011-07-20 Marek Polacek <mpolacek@redhat.com>
53974
53975 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53976
28b59fca
AS
539772011-07-20 Andreas Schwab <schwab@redhat.com>
53978
53979 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53980 strlen results.
53981
19df733e
AK
539822011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53983
53984 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53985 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53986 register in order to avoid conflicts with the soft frame pointer
53987 being held in r11 when necessary.
53988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53989 (INTERNAL_VSYSCALL_NCS): Likewise.
53990
c8835729
MP
539912011-07-14 Marek Polacek <mpolacek@redhat.com>
53992
53993 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53994 * elf/dl-fini.c (_dl_fini): Adjust caller.
53995 * elf/dl-close.c (_dl_close_worker): Likewise.
53996 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53997
b902330c
MP
539982011-07-15 Marek Polacek <mpolacek@redhat.com>
53999
8991e135
MP
54000 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54001 "aux_cache->nlibs < 0".
54002
b902330c
MP
54003 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54004 in the reload-count case.
54005
99710781
LD
540062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54007
54008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54009 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54010 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54011 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54012 * sysdeps/x86_64/multiarch/strcat.S: New file.
54013 * sysdeps/x86_64/multiarch/strncat.S: New file.
54014 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54015 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54016 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54017 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54018 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54019 (USE_AS_STRCAT): Define.
54020 Add strcat and strncat support.
54021 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54022 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54023 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54024 * string/strncat.c: Update.
54025 (USE_AS_STRNCAT): Define.
54026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54027 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54028 and i7.
54029 * sysdeps/x86_64/multiarch/init-arch.h
54030 (bit_Prefer_PMINUB_for_stringop): New.
54031 (index_Prefer_PMINUB_for_stringop): Likewise.
54032 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54033 bit_Prefer_PMINUB_for_stringop.
54034
7dc6bd90
UD
540352011-07-19 Ulrich Drepper <drepper@gmail.com>
54036
54037 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54038 buffer64.
54039 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54040 of casting of buffer.
54041 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54042 buffer32 and buffer64.
54043 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54044 writes instead of casting of buffer.
54045 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54046 buffer32.
54047 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54048 casting of buffer.
54049
e0e72284
AS
540502011-07-19 Andreas Schwab <schwab@redhat.com>
54051
54052 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54053
feb1eb0b
UD
540542011-07-19 Ulrich Drepper <drepper@gmail.com>
54055
54056 * nscd/nscd.c (termination_handler): Don't do anything for a database
54057 if it has not yet been initialized.
54058
298711ff
UD
540592011-07-18 Ulrich Drepper <drepper@gmail.com>
54060
54061 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54062
540632011-07-15 Marek Polacek <mpolacek@redhat.com>
54064
54065 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54066
f9d68389
UD
540672011-07-18 Ulrich Drepper <drepper@gmail.com>
54068
54069 * po/nl.po: Update from translation team.
54070 * po/sv.po: Likewise.
54071
db290cf5
RM
540722011-07-16 Roland McGrath <roland@hack.frob.com>
54073
54074 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54075 now disallowed by GCC.
5c550700 54076
fd5e21c7
RM
54077 * configure.in (use-default-link): Default to yes if a test -shared
54078 link meets our qualifications.
54079 * configure: Regenerated.
54080
5c550700
RM
54081 * config.make.in (output-format): New variable.
54082 * configure.in: Check for ld --print-output-format support.
54083 * configure: Regenerated.
54084 * Makerules ($(common-objpfx)format.lds)
54085 [$(output-format) != unknown]: Just use $(output-format),
54086 instead of the linker-script munging.
54087
9fa2c032
RM
540882011-07-14 Roland McGrath <roland@hack.frob.com>
54089
a6928d51
RM
54090 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54091 of $(common-objpfx)shlib.lds.
54092 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54093
661607b3
RM
54094 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54095 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54096
9fa2c032
RM
54097 * configure.in (-z relro check): Adjust test code to add a large
54098 writable data section after it.
54099 * configure: Regenerated.
54100
defe9061
RM
541012011-07-11 Roland McGrath <roland@hack.frob.com>
54102
54103 * configure.in (-z relro check): Fix test code to make the variable
54104 truly const.
54105 * configure: Regenerated.
54106
319b9ad4
UD
541072011-07-11 Ulrich Drepper <drepper@gmail.com>
54108
54109 * nscd/nscd.h (struct traced_file): Define.
54110 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54111 elements. Add traced_files.
54112 (inotify_fd): Declare.
54113 (register_traced_file): Declare.
54114 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54115 (inotify_fd): Export.
54116 (resolv_conf_descr): Remove.
54117 (nscd_init): Move inotify descriptor creation to main.
54118 Don't register files for notification here.
54119 (register_traced_file): New function.
54120 (invalidate_cache): Don't use reset_res to determine whether to call
54121 res_init, go through the list of registered files.
54122 (main_loop_poll): The inotify descriptors are now stored in the
54123 structures for the traced files.
54124 (main_loop_epoll): Likewise
54125 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54126 to __nss_disable_nscd.
54127 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54128 for a database anymore. Check the records for all the registered
54129 files instead.
54130 * nss/Makefile (libnss_files-routines): Add files-init.
54131 (libnss_db-routines): Add db-init.
54132 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54133 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54134 * nss/nss_db/db-init.c: New file.
54135 * nss/nss_files/files-init.c: New file.
54136 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54137 __nss_lookup_function.
54138 (__nss_lookup_function): Call nss_load_library.
54139 (nss_load_all_libraries): New function.
54140 (__nss_disable_nscd): Take parameter with callback function for files
54141 to register. Set is_nscd. Load all the DSOs for the NSS modules
54142 used for the cached services.
54143 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54144 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54145 options for features to all the files in nscd.
54146
54147 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54148
23bee3e8
RM
541492011-07-10 Roland McGrath <roland@hack.frob.com>
54150
54151 * csu/elf-init.c (__libc_csu_init): Comment typo.
54152
46a5b7f0
UD
541532011-07-09 Ulrich Drepper <drepper@gmail.com>
54154
54155 * po/pl.po: Update from translation team.
54156 * po/ja.po: Likewise.
54157 * po/ru.po: Likewise.
54158 * po/ko.po: Likewise.
54159 * po/fr.po: Likewise.
54160
d30cf5bb
RM
541612011-07-09 Roland McGrath <roland@hack.frob.com>
54162
113ddea4
RM
54163 * configure.in (.ctors/.dtors header and trailer check):
54164 Use an empirical test on a built program.
54165 * configure: Regenerated.
54166
574920b4
RM
54167 * configure.in (-z relro check): Use an empirical test on a built DSO.
54168 Detect, but do not require, on ia64.
54169 * configure: Regenerated.
54170
d30cf5bb
RM
54171 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54172 Update tests that use readelf to use $READELF instead.
54173 * configure: Regenerated.
54174
8538fdb3
UD
541752011-07-08 Ulrich Drepper <drepper@gmail.com>
54176
54177 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54178 if the result is not used.
54179
04d08991
AJ
541802011-07-05 Andreas Jaeger <aj@suse.de>
54181
54182 [BZ#9696]
54183 * stdlib/tst-strtod.c: Add testcase.
54184
de283087
AD
541852011-07-07 Ulrich Drepper <drepper@gmail.com>
54186
4e5f31c8 54187 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54188 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54189 The latter has a higher limit. Take additional parameter to pass to
54190 the new function.
54191 (__pathconf): Pass file to __statfs_link_max.
54192 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54193 __statfs_link_max.
54194 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54195 __statfs_link_max.
54196
de283087
AD
54197 [BZ #12868]
54198 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54199 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54200 Handle Lustre.
54201 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54202 (__statfs_filesize_max): Likewise.
54203 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54204
c75fa153
AJ
542052011-07-05 Andreas Jaeger <aj@suse.de>
54206
54207 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54208
1a544854
UD
542092011-07-06 Marek Polacek <mpolacek@redhat.com>
54210
54211 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54212 `status' variable.
54213 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54214 Likewise.
54215
6f0eec67
UD
542162011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54217
54218 * Makefile (strop-tests): Add strncat.
54219 * string/test-strncat.c: New file.
54220
aae30307
UD
542212011-06-30 Marek Polacek <mpolacek@redhat.com>
54222
54223 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54224
c0cfb5eb
UD
542252011-06-21 Andreas Jaeger <aj@suse.de>
54226
54227 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54228 Copy rule from iconvdata/Makefile.
54229
01636b21
UD
542302011-07-06 Ulrich Drepper <drepper@gmail.com>
54231
54232 [BZ #12922]
54233 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54234 but no long options are defined, just return 'W'.
54235
9895c8bc
UD
542362011-06-22 Marek Polacek <mpolacek@redhat.com>
54237
54238 [BZ #9696]
54239 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54240
5d4cf042
UD
542412011-07-06 Ulrich Drepper <drepper@gmail.com>
54242
54243 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54244 netgroups to read.
960e5535 54245 (innetgr): Likewise.
5d4cf042 54246
751eb97e
RM
542472011-07-05 Roland McGrath <roland@hack.frob.com>
54248
54249 * config.make.in (install_root): Default to $(DESTDIR).
54250
f15f1e45
UD
542512011-07-05 Ulrich Drepper <drepper@gmail.com>
54252
54253 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54254
4e34ac6a
RM
542552011-07-02 Roland McGrath <roland@hack.frob.com>
54256
5e9b6af4
RM
54257 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54258
84f9ea0f
RM
54259 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54260 containing directory rather than embedding absolute directory names.
54261
ea5ee9f7
RM
54262 * scripts/check-local-headers.sh: Rewritten using awk.
54263 Match by word, not by line. Print error messages for matches.
54264 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54265
1b74661a
RM
54266 * Makerules [shlib-lds-flags empty]:
54267 ($(common-objpfx)libc_pic.opts): New target.
54268 ($(common-objpfx)libc_pic.os.clean): New target.
54269 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54270
54271 * config.make.in (OBJCOPY): New variable.
54272 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54273 * configure: Regenerated.
54274
f781ef40
RM
54275 * config.make.in (use-default-link): New variable.
54276 * configure.in (use_default_link): Grok --with-default-link to set it.
54277 * configure: Regenerated.
54278 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54279 (shlib-lds, shlib-lds-flags): Define to empty.
54280
2d4fa81e
RM
54281 * Makerules (shlib-lds): New variable.
54282 (shlib-lds-flags): New variable.
54283 (build-shlib, build-moduile, build-module-asneeded): Use it.
54284 ($(common-objpfx)libc.so): Use $(shlib-lds).
54285 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54286 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54287
31fffa6b
RM
54288 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54289 DT_FLAGS/DT_FLAGS_1 with zero flags.
54290
4e34ac6a
RM
54291 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54292 linker script munging.
54293
fcfc776b
UD
542942011-07-02 Ulrich Drepper <drepper@gmail.com>
54295
54296 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54297 as 128-bit value.
54298 * crypt/sha512.c (sha512_process_block): Perform total addition using
54299 128-bit if possible.
54300 (__sha512_finish_ctx): Likewise.
54301 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54302 as 64-bit value.
54303 * crypt/sha256.c (SWAP64): Define.
54304 (sha256_process_block): Perform total addition using 64-bit if
54305 possible.
54306 (__sha256_finish_ctx): Likewise.
54307
99231d9a
UD
543082011-07-01 Ulrich Drepper <drepper@gmail.com>
54309
54310 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54312 * nscd/hstcache.c (cache_addhst): Likewise.
54313 * nscd/grpcache.c (cache_addgr): Likewise.
54314 * nscd/aicache.c (addhstaiX): Likewise
54315 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54316
445b4a53
TK
543172011-07-01 Thorsten Kukuk <kukuk@suse.de>
54318
54319 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
6d4d8e8e
AS
543252011-07-01 Andreas Schwab <schwab@redhat.com>
54326
54327 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54328 domain only when needed.
54329
89f654c5
AS
543302011-06-30 Andreas Schwab <schwab@redhat.com>
54331
54332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54333 is always restored.
54334
cf3b23ff
UD
543352011-06-29 Ulrich Drepper <drepper@gmail.com>
54336
54337 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54338 are re-adding the entry.
54339 * nscd/servicescache.c (cache_addserv): Likewise.
54340
751626f9
AJ
543412011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54342
54343 * sysdeps/generic/dl-irel.h: fix protection against multiple
54344 inclusions.
54345 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54346
9113ea1f
UD
543472011-06-28 Ulrich Drepper <drepper@gmail.com>
54348
5c0b8d90
UD
54349 [BZ #12935]
54350 * malloc/memusage.sh: Fix quoting in message.
54351 * debug/xtrace.sh: Likewise.
54352
9113ea1f
UD
54353 * configure.in: Remove support for --experimental-malloc option, make
54354 it the default.
54355 * config.make.in: Likewise.
54356 * malloc/Makefile: Likewise.
54357
a4172181
AS
543582011-06-27 Andreas Schwab <schwab@redhat.com>
54359
54360 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54361 two-byte characters.
54362
78a7eee7
RM
543632011-06-27 Roland McGrath <roland@hack.frob.com>
54364
62bede13
RM
54365 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54366 AC_CACHE_CHECK invocation.
54367 * configure: Regenerated.
54368
78a7eee7
RM
54369 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54370
5ce33a62
UD
543712011-06-27 Ulrich Drepper <drepper@gmail.com>
54372
034807a9
UD
54373 [BZ #12350]
54374 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54375 bit from old_res_options.
54376
4902da17
UD
54377 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54378
5ce33a62
UD
54379 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54380 value type for setfct.
54381
c2344f56
L
543822011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54383
54384 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54385 __gettimeofday instead of gettimeofday.
54386
68468076
UD
543872011-06-26 Ulrich Drepper <drepper@gmail.com>
54388
54389 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54390
acb0d739
L
543912011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54392
54393 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54394
54395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54396 info.
54397
8912479f
L
543982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54399
54400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54401 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54402 strcpy-sse2-unaligned strncpy-sse2-unaligned
54403 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54404 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54405 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54406 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54407 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54409 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54410 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54411 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54412 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54413 (STRCPY): Support SSE2 and SSSE3 versions.
54414
d5495a11
UD
544152011-06-24 Ulrich Drepper <drepper@gmail.com>
54416
54417 [BZ #12874]
54418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54419 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54420 kernels which artificially limit size of requests.
54421
0b1cbaae
L
544222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54423
54424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54425 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54426 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54427 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54428 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54429 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54430 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54431 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54432 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54433 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54434 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54435 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54436 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54437 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54438 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54440 Enable unaligned load optimization for Intel Core i3, i5 and i7
54441 processors.
54442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54443 Define.
54444 (index_Fast_Unaligned_Load): Define.
54445 (HAS_FAST_UNALIGNED_LOAD): Define.
54446
07f494a0
MP
544472011-06-23 Marek Polacek <mpolacek@redhat.com>
54448
54449 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54450
fa3fc0fe
UD
544512011-06-22 Ulrich Drepper <drepper@gmail.com>
54452
54453 [BZ #12907]
54454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54455 until it is clear that the information is realy needed.
54456 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54457
e12df166
AS
544582011-06-22 Andreas Schwab <schwab@redhat.com>
54459
54460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54461
852eb34d
UD
544622011-06-22 Ulrich Drepper <drepper@gmail.com>
54463
84e2a551
UD
54464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54465 /sys/devices/system/cpu/online if it is usable.
54466
852eb34d
UD
54467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54468 reading the information from the /proc filesystem to once a second.
54469
6e502e19
UD
544702011-06-21 Andreas Jaeger <aj@suse.de>
54471
54472 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54473 NULL after inclusion of kernel headers.
54474
75d39ff2
UD
544752011-06-21 Ulrich Drepper <drepper@gmail.com>
54476
51f9aa6a
UD
54477 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54478 calls to internal_setent.
54479
c0244a9d
UD
54480 [BZ #12885]
54481 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54482 addresses using gethostbyname4_r ignore IPv4 addresses.
54483
c5e3c2ae
UD
54484 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54485 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54486
75d39ff2
UD
54487 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54488
42675c6f
DM
544892011-06-20 David S. Miller <davem@davemloft.net>
54490
54491 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54492 inclusions.
54493 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54494
54495 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54496 (elf_irel): Use it.
54497 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54498 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54499 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54500 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54501 * sysdeps/x86_64/dl-irel.h: Likewise.
54502
54503 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54504 * elf/dl-sym.c: Likewise.
54505
57912a71
UD
545062011-06-15 Ulrich Drepper <drepper@gmail.com>
54507
54508 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54509 need to dereference resplen2.
54510
ee22793d
AS
545112011-06-14 Andreas Schwab <schwab@redhat.com>
54512
54513 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54514
a9e836b0
UD
545152011-06-15 Ulrich Drepper <drepper@gmail.com>
54516
77fb9117
UD
54517 * Makeconfig: Define vardbdir and inst_vardbdir.
54518 * nss/Makefile: Add rules to install db-Makefile.
54519
40c1b22c
UD
54520 * nss/nss_db/db-XXX.c: Cleanup.
54521
9f2da732
UD
54522 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54523 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54524 GLIBC_PRIVATE.
54525 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54526 * nss/makedb.c: Implement -g option to specify that value strings
54527 are generated and should not be added to table iterated over for
54528 get*ent calls.
54529 * nss/nss_db/db-initgroups.c: New file.
54530
82e9a1f7
UD
54531 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54532 interface.
54533
c41af17e
UD
54534 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54535 (internal_getgrouplist): Adjust to name change.
54536 Update use_initgroups_entry if this is not the first call.
54537 * nss/databases.def: Add initgroups entry.
54538
a9e836b0
UD
54539 * nss/makedb.c (compute_tables): Check result of multiple hash table
54540 sizes to minimize maximum chain length.
54541
2666d441
UD
545422011-06-14 Ulrich Drepper <drepper@gmail.com>
54543
54544 * Versions.def: Add entry for libnss_db.
54545 * shlib-versions: Likewise.
54546 * nss/Makefile: Add rules to build libnss_db.
54547 * nss/Versions: Add libnss_db information. Organize libnss_files
54548 entries better.
54549 * nss/db-Makefile: Add gshadow support. Change rules for the new
54550 makedb progra. Some minor improvements to generate smaller files.
54551 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54552 here from...
54553 * nss/makedb.c: ...here.
54554 Improve database format to be smaller and require less memory at
54555 runtime.
54556 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54557 db anymore.
54558 * nss/nss_db/db-netgrp.c: Likewise.
54559 * nss/nss_db/db-open.c: Likewise.
54560 * nss/nss_files/flies-XXX.x: Adjust comments.
54561 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54562 * nss/nss_files/files-grp.c: Likewise.
54563 * nss/nss_files/files-hosts.c: Likewise.
54564 * nss/nss_files/files-network.c: Likewise.
54565 * nss/nss_files/files-proto.c: Likewise.
54566 * nss/nss_files/files-pwd.c: Likewise.
54567 * nss/nss_files/files-rpc.c: Likewise.
54568 * nss/nss_files/files-service.c: Likewise.
54569 * nss/nss_files/files-sgrp.c: Likewise.
54570 * nss/nss_files/files-spwd.c: Likewise.
54571 * nss/nss_db/db-alias.c: Removed.
54572 * nss/nss_db/dummy-db.h: Removed.
54573
9ee76b5a
UD
545742011-06-02 Ulrich Drepper <drepper@gmail.com>
54575
54576 * nss/makedb.c: Rewritten to not use database library.
54577 * nss/Makefile: Update to build new makedb program.
54578
c71ca1f8
AJ
545792011-06-14 Andreas Jaeger <aj@suse.de>
54580
54581 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54582 memset declaration.
54583
3154bfb8
UD
545842011-06-10 Andreas Schwab <schwab@redhat.com>
54585
54586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54587 tmpbuf.
54588
b350afab
RM
545892011-06-10 Roland McGrath <roland@hack.frob.com>
54590
decd4e50
RM
54591 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54592 * elf/Makefile ($(objpfx)ld.so): Likewise.
54593
5615eaf2
RM
54594 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54595 Don't list ld.so twice in dependencies.
54596
54597 * posix/bug-regex31.c: Include <stdlib.h>.
54598
54599 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54600
54601 * nis/nss_compat/compat-spwd.c
54602 (getspent_next_nss_netgr): Remove unused variable.
54603 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54604
54605 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54606 nonmembers" output to use the right array.
54607
54608 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54609
54610 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54611
54612 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54613 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54614 * catgets/gencat.c (read_input_file): Likewise.
54615 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54616
54617 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54618 variable definition inside #if's controlling its use.
54619
54620 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54621
54622 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54623
54624 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54625
54626 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54627 unreachable code.
54628
54629 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54630
b68e08db
RM
54631 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54632 * configure: Regenerated.
54633
b350afab
RM
54634 * Makerules: Revert last change.
54635 * elf/Makefile: Likewise.
54636
28368601
RM
546372011-06-09 Roland McGrath <roland@hack.frob.com>
54638
54639 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54640 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54641 (reloc-link): Likewise.
54642
11988f8f
UD
546432011-06-09 Ulrich Drepper <drepper@gmail.com>
54644
54645 * elf/Makefile: Add rules to build pldd.
54646 * elf/pldd.c: New file.
54647 * elf/pldd-xx.c: New file.
54648
e80fab37
UD
546492011-06-07 Ulrich Drepper <drepper@gmail.com>
54650
54651 * version.h: Update for 2.15 development version.
54652
9b849836
DM
546532011-06-07 David S. Miller <davem@davemloft.net>
54654
54655 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54656 ifuncs.
54657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54658 elf_machine_lazy_rel): Likewise.
54659 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54661 elf_machine_lazy_rel): Likewise.
54662 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54663 dl_hwcap via passed in argument.
54664 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54665 Likewise.
54666
5a31b283
AK
546672011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54668
54669 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54670
069e52f8
RM
546712011-06-06 Roland McGrath <roland@hack.frob.com>
54672
54673 [BZ #12849]
54674 * manual/fdl-1.1.texi: New file, verbatim from:
54675 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54676 * manual/lgpl-2.1.texi: New file, verbatim from:
54677 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54678 * manual/Makefile (licenses): New variable, list those new file names.
54679 (texis): Use it.
54680 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54681
54682 * manual/fdl.texi: File removed.
54683 * manual/lesser.texi: File removed.
54684 * manual/libc.texinfo (Copying, Documentation License):
54685 Use new @include file names, put @appendix directive before @include.
54686
f16846a5
JJ
546872011-06-04 Jakub Jelinek <jakub@redhat.com>
54688
54689 [BZ #12841]
54690 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54691 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54692 (mq_open): Add __NTH.
54693
3d29045b
L
546942011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54695
54696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54697 Assume Intel Core i3/i5/i7 processor if AVX is available.
54698
8c297311
UD
546992011-05-31 Ulrich Drepper <drepper@gmail.com>
54700
54701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54702 typo.
54703
c8fc0c91
UD
547042011-05-31 Andreas Schwab <schwab@redhat.com>
54705
54706 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54707 memory. Use alloca_account. Fix memory leak when retrying.
54708
5b27a807
UD
547092011-05-31 Ulrich Drepper <drepper@gmail.com>
54710
356f8bc6
UD
54711 * version.h (RELEASE): Bump for 2.14 release.
54712 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54713
5b27a807
UD
54714 * config.make.in (RANLIB): Remove entry.
54715
01f16ab0
UD
547162011-05-30 Ulrich Drepper <drepper@gmail.com>
54717
41fce8bd
UD
54718 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54719 (libc.pot): Work around missing support for .ksh extension in xgettext.
54720
4769ae77
UD
54721 [BZ #12684]
54722 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54723 if both request failed.
54724 (send_dg): In case of server errors clear resplen or *resplen2.
54725
6b1e7d19
UD
54726 [BZ #12454]
54727 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54728 when there are multiple maps.
54729 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54730 (_dl_fini): Remove test here.
54731
01f16ab0
UD
54732 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54733
b1ebd700
UD
547342011-05-29 Ulrich Drepper <drepper@gmail.com>
54735
7ae22829
UD
54736 [BZ #12350]
54737 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54738 bit from old_res_options.
54739 (gaih_inet): Likewise.
54740
553149f6 54741 [BZ #11099]
18a84741 54742 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54743 as signed.
54744
652ffab1
UD
54745 * resolv/res_init.c (res_setoptions): Make the code more compact.
54746
16985fd0
UD
54747 [BZ #11558]
54748 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54749 set RES_USEVC.
54750
0464f746
UD
54751 [BZ #11634]
54752 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54753
7d17596c
UD
54754 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54755
cf6bbbd7
UD
54756 [BZ #11781]
54757 * malloc/malloc.h: Declare malloc hook variables as volatile.
54758
13f1ab36
UD
54759 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54760 in last patch.
54761
b1ebd700
UD
54762 [BZ #11799]
54763 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54764 raise in the comment.
80e2212d
UD
54765 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54766 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54767 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54768
ce67228d
UD
547692011-05-28 Ulrich Drepper <drepper@gmail.com>
54770
8887a920
UD
54771 [BZ #12811]
54772 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54773 grow the buffers more if it already has to be sufficient.
54774 (build_wcs_upper_buffer): Likewise.
54775 * posix/regexec.c (check_matching): Likewise.
54776 (clean_state_log_if_needed): Likewise.
54777 (extend_buffers): Don't enlarge buffers beyond size of the input
54778 buffer.
54779 Patches mostly by Emil Wojak <emil@wojak.eu>.
54780 * posix/bug-regex32.c: New file.
54781 * posix/Makefile (tests): Add bug-regex32.
54782
4f031072
UD
54783 * locale/findlocale.c (_nl_find_locale): Return right away if
54784 _nl_explode_name failed.
54785 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54786
d0478f0c
UD
54787 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54788
de81b246
UD
54789 * debug/xtrace.sh: Unify messages.
54790 * malloc/memusage.sh: Likewise.
54791
c738465a
UD
54792 [BZ #12813]
54793 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54794 time symbol from vDSO. Substitute with vsyscall if not available.
54795 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54796 __vdso_time.
54797
f1f929d7
UD
54798 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54799 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54800 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54801 Add sendmmsg and internal_sendmmsg.
54802 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54804 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54805
ce67228d
UD
54806 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54807 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54808 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54809
e57420c6
UD
548102011-05-27 Ulrich Drepper <drepper@gmail.com>
54811
a8509ca5
UD
54812 [BZ #12813]
54813 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54814 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54815 available.
54816 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54817 __vdso_getcpu.
54818
e57420c6
UD
54819 [BZ #12814]
54820 * iconvdata/Makefile (tests): Add bug-iconv9.
54821 * iconvdata/bug-iconv9.c: New file.
54822
4d07db15
AS
548232011-05-27 Andreas Schwab <schwab@redhat.com>
54824
54825 [BZ #12814]
54826 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54827
ea486f69
JJ
548282011-05-25 Jakub Jelinek <jakub@redhat.com>
54829
54830 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54831 (struct user_regs_struct): Change intcs field back to cs.
54832
6f038433
UD
548332011-05-25 Ulrich Drepper <drepper@gmail.com>
54834
54835 * po/ja.po: Update from translation team.
54836
67f86a25
UD
548372011-05-23 Ulrich Drepper <drepper@gmail.com>
54838
54839 [BZ #12795]
54840 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54841 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54842
def7fbd6
AS
548432011-05-20 Andreas Schwab <schwab@redhat.com>
54844
54845 * stdlib/longlong.h: Update from GCC.
54846
f50ef8f1
AS
548472011-05-23 Andreas Schwab <schwab@redhat.com>
54848
54849 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54850 parameter name.
54851 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54852 Add parameter name.
54853 (__sysconf): Pass it down.
54854
de7ce8f1
UD
548552011-05-22 Ulrich Drepper <drepper@gmail.com>
54856
f2962a71
UD
54857 [BZ #12671]
54858 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54859 some situations.
54860 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54861 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54862 add in in __libc_use_alloca calls. Adjust callers.
54863 (glob): Use malloc in some situations.
54864
de7ce8f1
UD
54865 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54866 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54867 pltexit.
54868
aec84f53
UD
548692011-05-21 Ulrich Drepper <drepper@gmail.com>
54870
05bb4a68
UD
54871 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54872 and CLOCK_BOOTTIME_ALARM.
54873
7ea72f99
UD
54874 [BZ #12782]
54875 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54876 is returned.
54877
7e4afad5
UD
54878 * string/_strerror.c (__strerror_r): Print negative errors as signed
54879 numbers.
54880
8e211fec
UD
54881 [BZ #12777]
54882 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54883 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54884 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54885
f7d82dc9
UD
54886 * configure.in: Fix typo in redirection and correct removal of test
54887 files in two cases.
54888
cc9e536d
UD
54889 [BZ #12788]
54890 * locale/setlocale.c (new_composite_name): Fix test to check for
54891 identical name of all categories.
54892
aec84f53
UD
54893 [BZ #12792]
54894 * libio/filedoalloc.c (local_isatty): New function.
54895 (_IO_file_doallocate): Use local_isatty.
54896 * stdio-common/perror.c (perror): In case a new stream is used
54897 forward the stream error.
54898 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54899 error flag.
54900
78e64fdc
RT
549012011-05-20 Ulrich Drepper <drepper@gmail.com>
54902
34a9094f
UD
54903 [BZ #11869]
54904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54905 alloca.
54906 * include/alloca.h (extend_alloca_account): Define.
54907
78e64fdc
RT
54908 [BZ #11857]
54909 * posix/regex.h: Fix comments with documentation of user-accessible
54910 fields after compilation and describe correct free'ing of pattern
54911 after re_compile_pattern.
54912 Patch by Reuben Thomas <rrt@sc3d.org>.
54913
457bddfc
RA
549142011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54915
54916 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54917 and -mno-altivec to prevent the compiler from using Altivec and/or
54918 VSX instructions when the corresponding registers are not available.
54919
a4527b51
AS
549202011-05-19 Andreas Schwab <schwab@redhat.com>
54921
54922 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54923
ed690b2f
UD
549242011-05-19 Ulrich Drepper <drepper@gmail.com>
54925
54926 * libio/freopen.c (freopen): Use __dup2, not dup2.
54927 * libio/freopen64.c (freopen64): Likewise.
54928
8db73634
L
549292011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54930
54931 [BZ #12775]
54932 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54933 * math/Makefile (tests): Add test-powl.
54934 (CFLAGS-test-powl.c): Define.
54935 * math/test-powl.c: New file.
54936
0a197a9d
L
549372011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54938
54939 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54940
ee30c380
UD
549412011-05-17 Ulrich Drepper <drepper@gmail.com>
54942
54943 [BZ #11837]
54944 * iconvdata/gb18030.c: Update to GB18020-2005.
54945
6ce75379
UD
549462011-05-16 Ulrich Drepper <drepper@gmail.com>
54947
a4b89fd8
AR
54948 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54949 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54950 Patch by Aharon Robbins <arnold@skeeve.com>.
54951
ea389b12
UD
54952 [BZ #11892]
54953 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54954 on the stack.
54955
68a3f91f
UD
54956 [BZ #11895]
54957 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54958 through underflows.
54959
15cc7dd1
UD
54960 [BZ #12766]
54961 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54962 point to strings before performing equality test for error_one_per_line
54963 mode.
54964
f3799213
UD
54965 [BZ #11697]
54966 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54967
d79a9c94
UD
54968 [BZ #11820]
54969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54970 (struct user_fpregs_struct): Avoid __uint*_t types.
54971
56e5eb46
UD
54972 [BZ #6420]
54973 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54974 symbol info. Use it instead of calling _dl_addr locally.
54975 (lock_and_info): New function.
54976 (tr_freehook): Call lock_and_info and pass symbol info as additional
54977 parameter to tr_where.
54978 (tr_mallochook): Likewise.
54979 (tr_reallochook): Likewise.
54980 (tr_memalignhook): Likewise.
54981
6ce75379
UD
54982 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54983 used and couldn't be at all thread-safe.
54984
f8a3b5bf
UD
549852011-05-15 Ulrich Drepper <drepper@gmail.com>
54986
94b7cc37
UD
54987 * libio/freopen.c (freopen): Don't close old file descriptor
54988 before the new one is opened. Instead dup the new file descriptor
54989 to the old one after the new stream is created.
54990 * libio/freopen64.c (freopen64): Likewise.
54991 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54992 * libio/fileops.c (_IO_new_file_close_it): Handle new
54993 _IO_FLAGS2_NOCLOSE flag.
54994 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54995 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54996 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54997 _IO_FLAGS2_NOCLOSE flag.
54998 * include/unistd.h: Add hidden_proto for dup3.
54999 Define __have_dup3.
55000 * io/dup3.c: Define hidden symbol.
55001 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55002
bd25564e
UD
55003 [BZ #7101]
55004 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55005 when an incomplete long option is used.
55006 * posix/tst-getopt_long1.c: New file.
55007 * posix/Makefile (tests): Add tst-getopt_long1.
55008
c84cfef4
UD
55009 [BZ #10138]
55010 * scripts/config.guess: Update from autoconf-2.68.
55011 * scripts/config.sub: Likewise.
55012
3b85df27
UD
55013 [BZ #10157]
55014 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55015 tests into ...
55016 (has_cpuclock): ...this. New function.
55017 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55018 macro here based on has_cpuclock code.
55019
15a856b1
UD
55020 [BZ #10149]
55021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55022 First byte (not low byte) is now always NUL.
55023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55024
05f399e6
UD
55025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55026 Use non-cancelable interfaces.
55027
10a52685 55028 [BZ #9809]
94ecc67d
UD
55029 * locale/iso-639.def: Add entry for Sorani.
55030
f8a3b5bf
UD
55031 [BZ #11901]
55032 * include/stdlib.h: Move include protection to the right place.
55033 Define abort_msg_s. Declare __abort_msg with it.
55034 * stdlib/abort.c (__abort_msg): Adjust type.
55035 * assert/assert.c (__assert_fail_base): New function. Majority
55036 of code from __assert_fail. Allocate memory for __abort_msg with
55037 mmap.
55038 (__assert_fail): Now call __assert_fail_base.
55039 * assert/assert-perr.c: Remove bulk of implementation. Use
55040 __assert_fail_base.
55041 * include/assert.hL Declare __assert_fail_base.
55042 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55043 mmap.
55044 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55045
1af4e298
UD
550462011-05-14 Ulrich Drepper <drepper@gmail.com>
55047
f8a3b5bf 55048 [BZ #11952]
d26dfc60
MG
55049 [BZ #12453]
55050 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55051 until all modules are registered in the DTV.
55052 * elf/Makefile: Add rules to build and run tst-tls19.
55053 * elf/tst-tls19.c: New file.
55054 * elf/tst-tls19mod1.c: New file.
55055 * elf/tst-tls19mod2.c: New file.
55056 * elf/tst-tls19mod3.c: New file.
55057 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55058
2fc54d6f
UD
55059 [BZ #12083]
55060 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55061 correctly.
55062
98d76b46
UD
55063 [BZ #12601]
55064 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55065 two-byte sequence errors.
55066 * iconvdata/Makefile (tests): Add bug-iconv8.
55067 * iconvdata/bug-iconv8.c: New file.
55068
da3c19ef
UD
55069 [BZ #12626]
55070 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55071 buf2 definition.
55072
ca408c15
UD
55073 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55074
d6f67f7d
UD
55075 [BZ #12432]
55076 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55077 (dummy_getcfa): New function.
55078 (init): Get _Unwind_GetCFA address, use dummy if not found.
55079 (backtrace_helper): In recursion check, also check whether CFA changes.
55080 (__backtrace): Completely initialize arg.
55081
1af4e298 55082 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55083 storing incomplete byte sequence in state object. Avoid testing for
55084 guaranteed too small input if we know there is enough data available.
1af4e298 55085
da62f81b
AS
550862011-05-11 Andreas Schwab <schwab@redhat.com>
55087
55088 * Makeconfig (+link-pie): Indent.
55089 * Rules (binaries-pie): Define if $(have-fpie) and
55090 $(build-shared).
55091 (binaries-shared): Also filter out $(binaries-pie).
55092 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55093 * nscd/Makefile (others-pie): Add nscd.
55094 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55095 ($(objpfx)nscd): Remove command override.
55096 * login/Makefile (others-pie): Add pt_chown.
55097 ($(objpfx)pt_chown): Remove command override.
55098 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55099 remove command overrides.
55100
fcabc0f8
UD
551012011-05-13 Ulrich Drepper <drepper@gmail.com>
55102
20030ae6
UD
55103 * libio/tst_putwc.c: Fix error messages.
55104
fcabc0f8
UD
55105 [BZ #12724]
55106 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55107 currently writing and seek to current position when not.
55108 * libio/Makefile (tests): Add bug-fclose1.
55109 * libio/bug-fclose1.c: New file.
55110
320a5dc0
PB
551112011-05-12 Ulrich Drepper <drepper@gmail.com>
55112
55113 [BZ #12511]
55114 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55115 don't set DF_1_NODELETE here.
55116 (do_lookup_x): When entering new entry test for copy relocation
55117 and if necessary set DF_1_NODELETE flag.
55118 * elf/tst-unique4.cc: New file.
55119 * elf/tst-unique4.h: New file.
55120 * elf/tst-unique4lib.cc: New file.
55121 * elf/Makefile: Add rules to build and run tst-unique4.
55122 Patch by Piotr Bury <pbury@goahead.com>.
55123
22836f52
UD
551242011-05-11 Ulrich Drepper <drepper@gmail.com>
55125
f574184a
UD
55126 [BZ #12052]
55127 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55128
e1fb097f
UD
55129 [BZ #12625]
55130 * misc/mntent_r.c (addmntent): Flush the stream after the output
55131
22836f52
UD
55132 [BZ #12393]
55133 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55134 (is_trusted_path_normalize): Skip initial colon. Append slash
55135 to empty buffer. Duplicate is_trusted_path code but allow
55136 constructed patch to be prefix.
55137 (is_dst): Allow $ORIGIN followed by /.
55138 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55139 Correct testing of result of is_trusted_path_normalize
55140 (decompose_rpath): Fix warning.
55141
7b3b0b2a
UD
551422011-05-10 Ulrich Drepper <drepper@gmail.com>
55143
55144 [BZ #11257]
55145 * grp/initgroups.c (internal_getgrouplist): When we found the service
55146 list through the initgroups entry in nsswitch.conf do not always
55147 continue on a successful lookup. Don't always use the
eac80ce2 55148 __nss_group_database value if it is set.
7b3b0b2a
UD
55149 * nss/nsswitch.conf (initgroups): Change action for successful db
55150 lookup to continue for compatibility.
55151
2a81eaa5
UD
551522011-05-09 Ulrich Drepper <drepper@gmail.com>
55153
be97a69e
UD
55154 [BZ #11532]
55155 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55156 and CP774 modules.
55157 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55158 and CP774 modules.
55159 * iconvdata/tst-tables.sh: Likewise.
55160 * iconvdata/cp770.c: New file.
55161 * iconvdata/cp771.c: New file.
55162 * iconvdata/cp772.c: New file.
55163 * iconvdata/cp773.c: New file.
55164 * iconvdata/cp774.c: New file.
55165 * iconvdata/testdata/CP770: New file.
55166 * iconvdata/testdata/CP770..UTF8: New file.
55167 * iconvdata/testdata/CP771: New file.
55168 * iconvdata/testdata/CP771..UTF8: New file.
55169 * iconvdata/testdata/CP772: New file.
55170 * iconvdata/testdata/CP772..UTF8: New file.
55171 * iconvdata/testdata/CP773: New file.
55172 * iconvdata/testdata/CP773..UTF8: New file.
55173 * iconvdata/testdata/CP774: New file.
55174 * iconvdata/testdata/CP774..UTF8: New file.
55175
55176 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55177 END CHARMAP line.
55178 * iconvdata/gen-8bit-gap.sh: Likewise.
55179 * iconvdata/gen-8bit.sh: Likewise.
55180
c1e9e399
UD
55181 * locale/iso-639.def: Add ary entry.
55182
24c55fb3 55183 [BZ #11258]
96b4b1b0
UD
55184 * locale/C-translit.h.in: Add U20A1 transliteration.
55185
bdc2f971
KB
55186 [BZ #12178]
55187 * locale/iso-639.def: Add wae entry.
55188 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55189
2952b117
UD
55190 [BZ #12545]
55191 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55192 for n.
55193
2a81eaa5
UD
55194 [BZ #12711]
55195 * locale/C-translit.h.in: Add entry for U20B9.
55196 Patch by pravin.d.s@gmail.com.
55197
28377d1b
UD
551982011-05-08 Ulrich Drepper <drepper@gmail.com>
55199
7fb90fb8
UD
55200 [BZ #12713]
55201 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55202 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55203 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55204 in rtld. Use *stat64.
7fb90fb8 55205 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55206 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55207 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55208 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55209 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55210 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55211 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55212 __fstatat64 macros.
7fb90fb8
UD
55213 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55214 * dirent/rewinddir.c: Add libc_hidden_def.
55215 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55216 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55217
28377d1b
UD
55218 * include/dirent.h (__alloc_dir): Add flags parameter.
55219 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55220 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55221 __alloc_dir.
55222 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55223 from fdopendir if O_CLOEXEC is already set.
55224
66bdbaa4
AM
552252011-03-15 Alan Modra <amodra@gmail.com>
55226
55227 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55228 l_tls_firstbyte_offset non-zero. Save padding offset in
55229 l_tls_firstbyte_offset for later use.
55230 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55231 freeing static tls block.
55232
95721191
JN
552332011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55234
55235 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55236 where #ifdef was intended. The intent is to prevent ARG_MAX from
55237 being defined by the kernel headers.
55238
f87dfb1f
UD
552392011-05-07 Ulrich Drepper <drepper@gmail.com>
55240
55241 [BZ #12734]
55242 * resolv/resolv.h: Define RES_NOTLDQUERY.
55243 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55244 no-tld-query and set RES_NOTLDQUERY.
55245 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55246 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55247 modern BIND to search name as TLD unless forbidden.
55248
47c3cd7a
UD
552492011-05-07 Petr Baudis <pasky@suse.cz>
55250 Ulrich Drepper <drepper@gmail.com>
55251
55252 [BZ #12393]
55253 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55254 (is_trusted_path): ...to here.
c1e9ea35 55255 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55256 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55257 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55258
8a35c912
PP
552592011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55260
55261 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55262 __BEGIN/__END_DECLS.
55263
acd41f47
UD
552642011-05-06 Ulrich Drepper <drepper@gmail.com>
55265
55266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55267 NSS_STATUS_NOTFOUND if no record was found.
55268
597df647
AS
552692011-05-05 Andreas Schwab <schwab@redhat.com>
55270
55271 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55272 (headers-not-in-tirpc): Remove rpc/netdb.h
55273 * resolv/netdb.h: Revert last change.
55274
b9af1301
PP
552752011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55276
55277 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55278 circular dependency between libgcc.a and libc.a.
55279
4e34d5f5
AS
552802011-05-05 Andreas Schwab <schwab@redhat.com>
55281
55282 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55283 * nis/Makefile: Don't install rpcsvc/*.
55284 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55285 instead of <rpc/types.h>.
55286 (MAXHOSTNAMELEN): Define.
55287
00ee369c
AS
552882011-05-03 Andreas Schwab <schwab@redhat.com>
55289
55290 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55291
0b592a30
MB
552922011-04-28 Maciej Babinski <mbabinski@google.com>
55293
55294 [BZ #12714]
55295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55296 gethostbyname4_r when IPv6 results are possible.
55297
6e04cbbe
UD
552982011-05-02 Ulrich Drepper <drepper@gmail.com>
55299
55300 [BZ #12723]
55301 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55302 _PC_PIPE_BUF handling.
55303
e4ecafe0
BH
553042011-04-30 Bruno Haible <bruno@clisp.org>
55305
55306 [BZ #12717]
55307 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55308 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55309 to 'int'.
55310 * inet/getnameinfo.c (getnameinfo): Likewise.
55311
125ee683
UD
553122011-04-29 Ulrich Drepper <drepper@gmail.com>
55313
55314 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55315 to groups setting in database lookup.
55316 * nss/nsswitch.conf: Add initgroups entry.
55317
b722481a
EB
553182011-04-22 Ulrich Drepper <drepper@gmail.com>
55319
55320 [BZ #12685]
55321 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55322 mode string.
55323 Patch by Eric Blake <eblake@redhat.com>.
55324
4df46dbd
L
553252011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55326
55327 * sunrpc/Makefile (need-export-routines): Add svc_run.
55328 (routines): Remove svc_run.
55329 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55330 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55331 * sunrpc/svc_run.c (svc_run): Likewise.
55332 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55333
e84142d2
UD
553342011-04-21 Ulrich Drepper <drepper@gmail.com>
55335
55336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55337 problem in reallocation in last patch.
55338
877175d8
UD
553392011-04-20 Ulrich Drepper <drepper@gmail.com>
55340
55341 * sunrpc/Makefile: Move inclusion of Rules.
55342
ab8eed78
UD
553432011-04-19 Ulrich Drepper <drepper@gmail.com>
55344
55345 * nss/nss_files/files-initgroups.c: New file.
55346 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55347 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55348 _nss_files_initgroups_dyn.
55349
e3d8f584
RS
553502011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55351
55352 * elf/elf.h (R_ARM_IRELATIVE): Define.
55353
af190f45
UD
553542011-04-19 Ulrich Drepper <drepper@gmail.com>
55355
55356 * po/ru.po: Update from translation team.
55357
53cf59ef
UD
553582011-04-17 Ulrich Drepper <drepper@gmail.com>
55359
55360 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55361 dependencies.
55362
4c559bcd
MF
553632011-02-06 Mike Frysinger <vapier@gentoo.org>
55364
55365 [BZ #12653]
55366 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55367 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55371
4420675c
AS
553722011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55373
55374 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55375 differing bytes.
55376 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55377 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55379
75ea32ab
UD
553802011-04-17 Ulrich Drepper <drepper@gmail.com>
55381
55382 [BZ #12420]
55383 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55384 storing it.
55385 * stdlib/bug-getcontext.c: New file.
55386 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55387
27390476
AK
553882011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55389
55390 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55391 instructions into .machine "z9-109".
55392 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55393 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55394
10442705
AK
553952011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55396
55397 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55398 between environment variables and auxiliary vector.
55399
7b57bfe5
UD
554002011-04-16 Ulrich Drepper <drepper@gmail.com>
55401
55402 * Makefile: Add rules to build linkobj/libc.so.
55403 * include/libc-symbols.h: Define libc_hidden_nolink.
55404 * include/rpc/auth.h: Mark functions which are to be hidden.
55405 * include/rpc/auth_des.h: Likewise.
55406 * include/rpc/auth_unix.h: Likewise.
55407 * include/rpc/clnt.h: Likewise.
55408 * include/rpc/des_crypt.h: Likewise.
55409 * include/rpc/key_prot.h: Likewise.
55410 * include/rpc/pmap_clnt.h: Likewise.
55411 * include/rpc/pmap_prot.h: Likewise.
55412 * include/rpc/pmap_rmt.h: Likewise.
55413 * include/rpc/rpc_msg.h: Likewise.
55414 * include/rpc/svc.h: Likewise.
55415 * include/rpc/svc_auth.h: Likewise.
55416 * include/rpc/xdr.h: Likewise.
55417 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55418 * nss/Makefile: Likewise.
55419 * sunrpc/Makefile: Don't install headers. Build library with normal
55420 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55421 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55422 for the compat linking library. Remove use of INTDEF/INTUSE.
55423 * sunrpc/auth_none.c: Likewise.
55424 * sunrpc/auth_unix.c: Likewise.
55425 * sunrpc/authdes_prot.c: Likewise.
55426 * sunrpc/authuxprot.c: Likewise.
55427 * sunrpc/clnt_gen.c: Likewise.
55428 * sunrpc/clnt_perr.c: Likewise.
55429 * sunrpc/clnt_raw.c: Likewise.
55430 * sunrpc/clnt_simp.c: Likewise.
55431 * sunrpc/clnt_tcp.c: Likewise.
55432 * sunrpc/clnt_udp.c: Likewise.
55433 * sunrpc/clnt_unix.c: Likewise.
55434 * sunrpc/des_crypt.c: Likewise.
55435 * sunrpc/des_soft.c: Likewise.
55436 * sunrpc/get_myaddr.c: Likewise.
55437 * sunrpc/key_call.c: Likewise.
55438 * sunrpc/key_prot.c: Likewise.
55439 * sunrpc/netname.c: Likewise.
55440 * sunrpc/pm_getmaps.c: Likewise.
55441 * sunrpc/pm_getport.c: Likewise.
55442 * sunrpc/pmap_clnt.c: Likewise.
55443 * sunrpc/pmap_prot.c: Likewise.
55444 * sunrpc/pmap_prot2.c: Likewise.
55445 * sunrpc/pmap_rmt.c: Likewise.
55446 * sunrpc/publickey.c: Likewise.
55447 * sunrpc/rpc_cmsg.c: Likewise.
55448 * sunrpc/rpc_common.c: Likewise.
55449 * sunrpc/rpc_dtable.c: Likewise.
55450 * sunrpc/rpc_prot.c: Likewise.
55451 * sunrpc/rpc_thread.c: Likewise.
55452 * sunrpc/rtime.c: Likewise.
55453 * sunrpc/svc.c: Likewise.
55454 * sunrpc/svc_auth.c: Likewise.
55455 * sunrpc/svc_authux.c: Likewise.
55456 * sunrpc/svc_raw.c: Likewise.
55457 * sunrpc/svc_run.c: Likewise.
55458 * sunrpc/svc_simple.c: Likewise.
55459 * sunrpc/svc_tcp.c: Likewise.
55460 * sunrpc/svc_udp.c: Likewise.
55461 * sunrpc/svc_unix.c: Likewise.
55462 * sunrpc/svcauth_des.c: Likewise.
55463 * sunrpc/xcrypt.c: Likewise.
55464 * sunrpc/xdr.c: Likewise.
55465 * sunrpc/xdr_array.c: Likewise.
55466 * sunrpc/xdr_float.c: Likewise.
55467 * sunrpc/xdr_intXX_t.c: Likewise.
55468 * sunrpc/xdr_mem.c: Likewise.
55469 * sunrpc/xdr_rec.c: Likewise.
55470 * sunrpc/xdr_ref.c: Likewise.
55471 * sunrpc/xdr_sizeof.c: Likewise.
55472 * sunrpc/xdr_stdio.c: Likewise.
55473
e6c61494
UD
554742011-04-10 Ulrich Drepper <drepper@gmail.com>
55475
55476 [BZ #12650]
55477 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55478 * sysdeps/ia64/dl-tls.h: Likewise.
55479 * sysdeps/powerpc/dl-tls.h: Likewise.
55480 * sysdeps/s390/dl-tls.h: Likewise.
55481 * sysdeps/sh/dl-tls.h: Likewise.
55482 * sysdeps/sparc/dl-tls.h: Likewise.
55483 * sysdeps/x86_64/dl-tls.h: Likewise.
55484 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55485
34fe483e
AS
554862011-03-14 Andreas Schwab <schwab@redhat.com>
55487
55488 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55489 rpath element also skip the following colon.
55490 (expand_dynamic_string_token): Add is_path parameter and pass
55491 down to DL_DST_REQUIRED and _dl_dst_substitute.
55492 (decompose_rpath): Call expand_dynamic_string_token with
55493 non-zero is_path. Ignore empty rpaths.
55494 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55495 with zero is_path.
55496
f12a32e6
AS
554972011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55498
55499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55500 Make cancelable.
55501
38a7d692
UD
555022011-04-09 Ulrich Drepper <drepper@gmail.com>
55503
55504 [BZ #12655]
55505 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55506 Patch by Filipe David Manana <fdmanana@apache.org>.
55507
e451d22b
AS
555082011-04-07 Andreas Schwab <schwab@redhat.com>
55509
55510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55511 Maintain aligned stack.
55512 (CHECK_RSP): Remove unused macro.
55513
dedc7c7b
UD
555142011-04-03 Ulrich Drepper <drepper@gmail.com>
55515
55516 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55517 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55518
94521213
UD
555192011-04-02 Ulrich Drepper <drepper@gmail.com>
55520
55521 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55522
8cb700c0 55523 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55524
0354e355
L
555252011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55526
55527 [BZ #12518]
55528 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55529 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55530 * sysdeps/x86_64/memmove.c: New file.
55531 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55532 (memcpy): Renamed to ...
55533 (__new_memcpy): This.
55534 (memcpy): Provide GLIBC_2_14 memcpy.
55535 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55536 (memcpy): Provide GLIBC_2_2_5 memcpy.
55537
8593482f
UD
555382011-04-01 Ulrich Drepper <drepper@gmail.com>
55539
55540 [BZ #12631]
55541 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55542
81a5726b
AS
555432011-03-30 Andreas Schwab <schwab@redhat.com>
55544
55545 * misc/syncfs.c: New file.
55546 * misc/Makefile (routines): Add syncfs.
55547 * posix/unistd.h: Declare syncfs.
55548 * sysdeps/unix/syscalls.list: Add syncfs.
55549
00e5419f
AS
555502011-04-01 Andreas Schwab <schwab@redhat.com>
55551
55552 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55553 open_by_handle_at.
55554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55559 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55561
748876bf
UD
555622011-04-01 Ulrich Drepper <drepper@gmail.com>
55563
658e451d
UD
55564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55565 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55566 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55567 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55568 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55570 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55571
748876bf
UD
55572 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55573 sync_file_range.c with -fexceptions.
55574 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55575 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55576 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55577 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55578 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55579 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55581 sync_file_range as cancellation point
55582 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55583 now a wrapper around __call_sync_file_range with cancellation handling.
55584 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55585 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55586 function name to __call_sync_file_range.
55587 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55588 Add call_sync_file_range.
748876bf 55589
6e63d5e1
AS
555902011-04-01 Andreas Schwab <schwab@redhat.com>
55591
55592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55593 bits/timex.h.
6e63d5e1 55594
46998f74
UD
555952011-04-01 Ulrich Drepper <drepper@gmail.com>
55596
4c1423ed
UD
55597 * iconv/iconv.h: Fix typo in comment.
55598 * io/fcntl.h: Likewise.
55599 * libio/stdio.h: Likewise.
55600 * posix/spawn.h: Likewise.
55601 * posix/unistd.h: Likewise.
55602 * stdlib/stdlib.h: Likewise.
55603 * time/time.h: Likewise.
55604 * wcsmbs/wchar.h: Likewise.
55605
158648c0
UD
55606 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55607 open_by_handle): Add.
55608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55609 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55610 Augment a few comments.
55611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55616 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55617 open_by_handle.
55618
46998f74
UD
55619 * io/fcntl.h (AT_EMPTY_PATH): Define.
55620
83fe108b
UD
556212011-03-30 Ulrich Drepper <drepper@gmail.com>
55622
55623 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55624 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55625 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55626 to...
55627 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55628 * Versions.def: Add GLIBC_2.14.
55629 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55630 Export.
83fe108b 55631
bb242059
UD
556322011-03-22 Ulrich Drepper <drepper@gmail.com>
55633
55634 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55635 round counter.
55636 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55637
c97a1282
L
556382011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55639
55640 [BZ #12597]
55641 * string/test-strncmp.c (do_page_test): New function.
55642 (check2): Likewise.
55643 (test_main): Call check2.
55644 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55645
2a115601
UD
556462011-03-20 Ulrich Drepper <drepper@gmail.com>
55647
55648 [BZ #12587]
55649 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55650 Handle cache information in CPU leaf 4.
55651 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55652
8126d904
UD
556532011-03-18 Ulrich Drepper <drepper@gmail.com>
55654
042c49c6 55655 [BZ #12583]
8126d904
UD
55656 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55657 character representation.
55658 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55659
ccfe366e
RA
556602011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55661
55662 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55663 END(__isnan) to END(__isnanf) to match function entry point/label
55664 EALIGN(__isnanf,...).
55665
c6e13027
JJ
556662011-03-10 Jakub Jelinek <jakub@redhat.com>
55667
55668 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55669
33f85a3f
UD
556702011-03-10 Ulrich Drepper <drepper@gmail.com>
55671
028478fa
UD
55672 [BZ #12510]
55673 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55674 copy from the symbol referenced in the relocation to initialize the
55675 used variable.
55676 Patch by Piotr Bury <pbury@goahead.com>.
55677 * elf/Makefile: Add rules to build and tst-unique3.
55678 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55679 * elf/tst-unique3.cc: New file.
55680 * elf/tst-unique3.h: New file.
55681 * elf/tst-unique3lib.cc: New file.
55682 * elf/tst-unique3lib2.cc: New file.
55683
33f85a3f
UD
55684 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55685
03592fc7
MF
556862011-03-10 Mike Frysinger <vapier@gentoo.org>
55687
55688 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55689 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55690 to _start.
03592fc7 55691
6a5ee102
UD
556922011-03-06 Ulrich Drepper <drepper@gmail.com>
55693
55694 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55695 to-be-loaded object along a path to loader is ld.so.
55696
7e4ba49c
HJ
556972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55698 Ulrich Drepper <drepper@gmail.com>
55699
55700 * sysdeps/x86_64/memset.S: After aligning destination, code
55701 branches to different locations depending on the value of
55702 misalignment, when multiarch is enabled. Fix this.
55703
557042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55705
55706 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55707 Set _x86_64_preferred_memory_instruction for AMD processsors.
55708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55709 Set bit_Prefer_SSE_for_memop for AMD processors.
55710
13a804de
UD
557112011-03-04 Ulrich Drepper <drepper@gmail.com>
55712
55713 * libio/fmemopen.c (fmemopen): Optimize a bit.
55714
9d25c392
AS
557152011-03-03 Andreas Schwab <schwab@redhat.com>
55716
55717 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55718
a5543c6a
RM
557192011-03-03 Roland McGrath <roland@redhat.com>
55720
55721 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55722
012d35f7
DM
557232011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55724
7e4ba49c 55725 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55726 __bzero_ultra1 instead of __memset_ultra1.
55727
4bff6e01
AS
557282011-02-23 Andreas Schwab <schwab@redhat.com>
55729 Ulrich Drepper <drepper@gmail.com>
55730
55731 [BZ #12509]
55732 * include/link.h (struct link_map): Add l_orig_initfini.
55733 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55734 returning unsuccessfully.
55735 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55736 close of a file loaded at startup, restore the original l_initfini
55737 list.
55738 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55739 list, store the pointer.
55740 * elf/Makefile ($(objpfx)noload-mem): New rule.
55741 (noload-ENV): Define.
55742 (tests): Add $(objpfx)noload-mem.
55743 * elf/noload.c: Include <memcheck.h>.
55744 (main): Call mtrace. Close all opened handles.
55745
f2092faf
AS
557462011-02-17 Andreas Schwab <schwab@redhat.com>
55747
55748 [BZ #12454]
55749 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55750 dependencies are missing.
55751
6c8a2e88
ST
557522011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55753
f2092faf 55754 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55755 Hurd needs munmap.
55756 * sysdeps/mach/hurd/ifreq.h: New file.
55757
84a42118
PB
557582011-01-27 Petr Baudis <pasky@suse.cz>
55759 Ulrich Drepper <drepper@gmail.com>
55760
071f805e 55761 [BZ 12445]#
84a42118
PB
55762 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55763 to extend_alloca().
55764 * stdio-common/bug23.c: New file.
55765 * stdio-common/Makefile (tests): Add bug23.
55766
e23fe25b
AS
557672010-09-28 Andreas Schwab <schwab@redhat.com>
55768 Ulrich Drepper <drepper@gmail.com>
55769
55770 [BZ #12489]
55771 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55772 before performing relro protection. At old place add assertion
55773 to make sure nothing changed.
55774
d3f02e10
NS
557752011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55776 Glauber de Oliveira Costa <glommer@gmail.com>
55777
55778 * elf/elf.h: Add new ARM TLS relocs.
55779
d55fd7a5
RA
557802011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55781
55782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55783 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55784 cast from r3.
55785 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55786 'tests' variable.
55787 * sysdeps/wordsize-64/tst-writev.c: New file.
55788
2206397e
RA
557892011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55790
55791 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55792 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55793 insns in _dl_start to prevent a TOC reference before relocs are
55794 resolved.
55795
e9433893
UD
557962011-02-15 Ulrich Drepper <drepper@gmail.com>
55797
55798 [BZ #12469]
55799 * Makeconfig: Remove RANLIB definition.
55800 * Makerules: Don't use RANLIB.
55801 * aclocal.m4: Remove ranlib test.
55802 * configure.in: No need to check for ranlib.
55803 * elf/rtld-Rules: Don't use RANLIB.
55804
f75286c6
ST
558052011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55806
8e31c82d
ST
55807 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55808 protection macro.
55809 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55810 inclusion protection macro.
55811
f75286c6
ST
55812 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55813 SIGRTMIN and SIGRTMAX and print information in that case only when
55814 SIGRTMIN is defined.
55815
c1d0e639
JJ
558162011-02-11 Jakub Jelinek <jakub@redhat.com>
55817
55818 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55819 arginfo fn returning -1.
55820
55821 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55822 and thousands string is zero terminated.
55823
edf9294e
AS
558242011-02-03 Andreas Schwab <schwab@redhat.com>
55825
55826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55827 sysdeps/unix/sysv/linux/bits/socket.h.
55828
2b7e92df
ST
558292011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55830
edf9294e
AS
55831 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55832 (__CPU_COUNT): Remove old macros.
55833 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55834 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55835 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55836 (__sched_cpualloc, __sched_cpufree): Add declarations.
55837
a4c7ea7b
UD
558382011-02-05 Ulrich Drepper <drepper@gmail.com>
55839
55840 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55841 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55842 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55843 (readdhstai): Return value of addhstaiX call.
55844 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55845 (addgrbyX): Return value returned by cache_addgr.
55846 (readdgrbyname): Return value returned by addgrbyX.
55847 (readdgrbygid): Likewise.
55848 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55849 (addpwbyX): Return value returned by cache_addpw.
55850 (readdpwbyname): Return value returned by addhstbyX.
55851 (readdpwbyuid): Likewise.
55852 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55853 (addservbyX): Return value returned by cache_addserv.
55854 (readdservbyname): Return value returned by addservbyX:
55855 (readdservbyport): Likewise.
55856 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55857 (addhstbyX): Return value returned by cache_addhst.
55858 (readdhstbyname): Return value returned by addhstbyX.
55859 (readdhstbyaddr): Likewise.
55860 (readdhstbynamev6): Likewise.
55861 (readdhstbyaddrv6): Likewise.
55862 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55863 (readdinitgroups): Return value returned by addinitgroupsX.
55864 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55865 (prune_cache): Keep track of timeout value of re-added entries.
55866 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55867 * nscd/nscd.h: Adjust prototypes of readd* functions.
55868
a0bf67cc
RM
558692011-02-04 Roland McGrath <roland@redhat.com>
55870
55871 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55872 (nis_stats): Likewise.
55873 * nis/nis_modify.c (nis_modify): Likewise.
55874 * nis/nis_remove.c (nis_remove): Likewise.
55875 * nis/nis_add.c (nis_add): Likewise.
55876
55877 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55878
55879 * posix/fnmatch_loop.c: Add some consts.
55880
55881 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55882
435b95eb
L
558832011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55884
55885 [BZ #12460]
55886 * config.make.in (config-cflags-novzeroupper): Define.
55887 * configure.in: Substitute libc_cv_cc_novzeroupper.
55888 * elf/Makefile (AVX-CFLAGS): Define.
55889 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55890 (CFLAGS-tst-auditmod4a.c): Likewise.
55891 (CFLAGS-tst-auditmod4b.c): Likewise.
55892 (CFLAGS-tst-auditmod6b.c): Likewise.
55893 (CFLAGS-tst-auditmod6c.c): Likewise.
55894 (CFLAGS-tst-auditmod7b.c): Likewise.
55895 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55896
8517b15e
UD
558972011-02-02 Ulrich Drepper <drepper@gmail.com>
55898
55899 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55900 function to the callback.
55901 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55902
10a656fe
AS
559032011-02-02 Andreas Schwab <schwab@redhat.com>
55904
55905 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55906 of errno.
55907
968dad0a
UD
559082011-01-19 Ulrich Drepper <drepper@gmail.com>
55909
9f94d2ea 55910 [BZ #11724]
968dad0a
UD
55911 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55912 of constructors.
55913 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55914 of destructors.
55915 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55916
55917 [BZ #11724]
55918 * elf/Makefile: Add rules to build and run new test.
55919 * elf/tst-initorder.c: New file.
55920 * elf/tst-initorder.exp: New file.
55921 * elf/tst-initordera1.c: New file.
55922 * elf/tst-initordera2.c: New file.
55923 * elf/tst-initordera3.c: New file.
55924 * elf/tst-initordera4.c: New file.
55925 * elf/tst-initorderb1.c: New file.
55926 * elf/tst-initorderb2.c: New file.
55927 * elf/tst-order-a1.c: New file.
55928 * elf/tst-order-a2.c: New file.
55929 * elf/tst-order-a3.c: New file.
55930 * elf/tst-order-a4.c: New file.
55931 * elf/tst-order-b1.c: New file.
55932 * elf/tst-order-b2.c: New file.
55933 * elf/tst-order-main.c: New file.
55934 New test case by George Gensure <werkt0@gmail.com>.
55935
86e92359
UD
559362010-10-01 Andreas Schwab <schwab@redhat.com>
55937
55938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55939 decoding ACE if AI_CANONIDN.
55940
5d5732b0
UD
559412011-01-18 Ulrich Drepper <drepper@gmail.com>
55942
55943 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55944
a77e8cbc
UD
559452011-01-17 Ulrich Drepper <drepper@gmail.com>
55946
6392473f
UD
55947 * version.h (RELEASE): Bump for 2.13 release.
55948 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55949
620a0529
UD
55950 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55951
18ba70a5
UD
55952 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55953 MADV_NOHUGEPAGE.
32465c3e
UD
55954 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55956 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55957 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55958 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55959 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55960
c0dafcf1
UD
55961 * posix/getconf.c: Update copyright year.
55962 * catgets/gencat.c: Likewise.
55963 * csu/version.c: Likewise.
55964 * debug/catchsegv.sh: Likewise.
55965 * debug/xtrace.sh: Likewise.
55966 * elf/ldconfig.c: Likewise.
55967 * elf/ldd.bash.in: Likewise.
55968 * elf/sprof.c (print_version): Likewise.
55969 * iconv/iconv_prog.c: Likewise.
55970 * iconv/iconvconfig.c: Likewise.
55971 * locale/programs/locale.c: Likewise.
55972 * locale/programs/localedef.c: Likewise.
55973 * malloc/memusage.sh: Likewise.
55974 * malloc/mtrace.pl: Likewise.
55975 * nscd/nscd.c (print_version): Likewise.
55976 * nss/getent.c: Likewise.
55977
a77e8cbc
UD
55978 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55979 PF_CAIF, and PF_ALG.
55980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55981
77e8bddf
AS
559822011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55983
1f20b93a
AS
55984 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55985 (modules-names): Use them.
55986 (ifunc-test-modules, ifunc-pie-tests): Define.
55987 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55988 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55989 (test-extras): Likewise.
55990 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55991 $(compile-command.c).
55992 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55993 (all-built-dso): Define.
55994 (check-textrel.out, check-execstack.out): Depend on it.
55995
77e8bddf
AS
55996 * configure.in: Don't override --enable-multi-arch.
55997
bc425b33
UD
559982011-01-15 Ulrich Drepper <drepper@gmail.com>
55999
56000 [BZ #6812]
56001 * nscd/hstcache.c (tryagain): Define.
56002 (cache_addhst): Return tryagain not notfound for temporary errors.
56003 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56004 failed.
56005
794c3ad3
UD
560062011-01-14 Ulrich Drepper <drepper@gmail.com>
56007
70181fdd
UD
56008 [BZ #10563]
56009 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56010 to make the syscall.
56011 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56012
794c3ad3
UD
56013 [BZ #12378]
56014 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56015 and fall back to matching as normal character if the string ends before
56016 the matching ']' is found. This is what POSIX requires.
56017 * posix/testfnm.c: Adjust test result.
56018 * posix/globtest.sh: Adjust test result. Add new test.
56019 * posix/tst-fnmatch.input: Likewise.
56020 * posix/tst-fnmatch2.c: Add new test.
56021
68dc9497
AS
560222010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56023
56024 * elf/Makefile (check-execstack): Revert last change. Depend on
56025 check-execstack.h.
56026 (check-execstack.h): New target.
56027 (generated): Add check-execstack.h.
56028 * elf/check-execstack.c: Include "check-execstack.h".
56029 (main): Revert last change.
56030 (handle_file): Return zero if GNU_STACK is absent and
56031 DEFAULT_STACK_PERMS doesn't include PF_X.
56032
451f001b
UD
560332011-01-13 Ulrich Drepper <drepper@gmail.com>
56034
cfa28e56
UD
56035 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56036 in child fails because the descriptor is already closed.
8cf8ce17
UD
56037 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56038 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56039 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56040
1086d70d
UD
56041 [BZ #12397]
56042 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56043 syscall.
56044
451f001b
UD
56045 [BZ #10484]
56046 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56047 temporary buffer used to handle multi lookups locally.
a85b5cb4 56048 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56049
08769175
UD
560502011-01-12 Ulrich Drepper <drepper@gmail.com>
56051
56052 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56053 loader is ld.so.
56054
5e49c52e
UD
560552011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56056
56057 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56058 alignment for SSE2.
56059
60522a5f
UD
560602011-01-12 Ulrich Drepper <drepper@gmail.com>
56061
56062 [BZ #12394]
56063 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56064 characters. When rounding increased number of integer digits recompute
56065 number of groups.
56066 * stdio-common/tst-grouping.c: New file.
56067 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56068
f257bbd7
UD
560692011-01-09 Ulrich Drepper <drepper@gmail.com>
56070
56071 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56072 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56073
56074 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56075 void.
56076 * bits/select.h: Likewise.
56077
fa9c15cb
UD
560782011-01-08 Ulrich Drepper <drepper@gmail.com>
56079
56080 * po/ja.po: Update from translation team.
56081
16c2895f
DM
560822011-01-04 David S. Miller <davem@sunset.davemloft.net>
56083
56084 [BZ #11155]
56085 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56086 implementation just like for lxstat, fxstatat, et al.
56087
2543fef2
JM
560882010-12-27 Jim Meyering <meyering@redhat.com>
56089
56090 [BZ #12348]
56091 * posix/regexec.c (build_trtable): Return failure indication upon
56092 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56093
98727dbe
UD
560942010-12-25 Ulrich Drepper <drepper@gmail.com>
56095
5bd6dc5c
UD
56096 [BZ #12201]
56097 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56098 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56101
97983464
UD
56102 [BZ #12207]
56103 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56104
98727dbe
UD
56105 [BZ #12204]
56106 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56107 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56108
4a531bb0
L
561092010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56110
56111 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56112 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56113 script has SORT_BY_INIT_PRIORITY.
56114 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56115 NO_CTORS_DTORS_SECTIONS is defined.
56116 * elf/soinit.c: Likewise.
56117 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56118 NO_CTORS_DTORS_SECTIONS is defined.
56119 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56120 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56121 * sysdeps/sh/init-first.c: Likewise.
56122 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56123
07eb4b71
UD
561242010-12-24 Ulrich Drepper <drepper@gmail.com>
56125
56126 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56127 always use the slow path.
56128
30950a5f
RA
561292010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56130
56131 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56132 similar rule which adds the sysdep directories to the header search in
56133 order to pick up the correct platform stackinfo.h.
56134 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56135 perform test if it is, otherwise return successfully without testing.
56136 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56137 DEFAULT_STACK_PERMS define in stackinfo.h.
56138 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56139 defined in stackinfo.h.
56140 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56141 DEFAULT_STACK_PERMS defined in stackinfo.h.
56142 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56143 * sysdeps/ia64/stackinfo.h: Likewise.
56144 * sysdeps/s390/stackinfo.h: Likewise.
56145 * sysdeps/sh/stackinfo.h: Likewise.
56146 * sysdeps/sparc/stackinfo.h: Likewise.
56147 * sysdeps/x86_64/stackinfo.h: Likewise.
56148 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56149 PF_X for powerpc64. Retain PF_X for powerpc32.
56150
db753e2c
UD
561512010-12-19 Ulrich Drepper <drepper@gmail.com>
56152
14b697f7
UD
56153 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56154 accurately.
db753e2c
UD
56155 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56156 GETDENTS_64BIT_ALIGNED.
56157
28300719
UD
561582010-12-14 Ulrich Drepper <dreper@gmail.com>
56159
14b697f7 56160 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56161
4f197237
AS
561622010-12-10 Andreas Schwab <schwab@redhat.com>
56163
dbb0472f
AS
56164 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56165 _GNU_SOURCE.
56166
4f197237
AS
56167 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56168 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56169 Remove __restrict.
56170 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56171 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56172
fb88ac72
UD
561732010-12-09 Ulrich Drepper <drepper@gmail.com>
56174
56175 [BZ #11655]
56176 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56177 are initialized.
56178
42acbb92
JJ
561792010-12-09 Jakub Jelinek <jakub@redhat.com>
56180
56181 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56182
c038d98d
UD
561832010-12-03 Ulrich Drepper <drepper@gmail.com>
56184
56185 * po/it.po: Update from translation team.
56186
3a4a2499
L
561872010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56188
56189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56190 unused codes.
56191
1e24cf6e
UD
561922010-11-30 Ulrich Drepper <drepper@gmail.com>
56193
56194 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56195
a7690819
AS
561962010-11-24 Andreas Schwab <schwab@redhat.com>
56197
56198 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56199 specially.
56200 (gaih_getanswer_slice): Likewise.
56201
3bf8d1b1
JJ
562022010-10-20 Jakub Jelinek <jakub@redhat.com>
56203
56204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56205
6db52fbb
PB
562062010-05-31 Petr Baudis <pasky@suse.cz>
56207
56208 [BZ #11149]
56209 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56210 silently even in the chroot mode.
56211
eaca7569
UD
562122010-11-22 Ulrich Drepper <drepper@gmail.com>
56213
56214 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56215 last patch a bit. Pretty printing
56216
3056dcdb
UD
562172010-05-31 Petr Baudis <pasky@suse.cz>
56218
56219 [BZ #10085]
56220 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56221 initialization of skip_initgroups_dyn.
56222
cf7c9078
UD
562232010-11-19 Ulrich Drepper <drepper@gmail.com>
56224
56225 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56226 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56227
a1fb5e3e
UD
562282010-11-16 Ulrich Drepper <drepper@gmail.com>
56229
56230 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56231
3540d66b
AS
562322010-11-11 Andreas Schwab <schwab@redhat.com>
56233
56234 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56235 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56236 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56237 ($(objpfx)tst-fnmatch-mem): New rule.
56238 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56239 * posix/tst-fnmatch.c (main): Call mtrace.
56240
13b69574
L
562412010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56242
56243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56244 Support Intel processor model 6 and model 0x2c.
56245
da93d214
LM
562462010-11-10 Luis Machado <luisgpm@br.ibm.com>
56247
56248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56249 signed comparison.
56250
8ca52c6e
L
562512010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56252
56253 [BZ #12205]
56254 * string/test-strncasecmp.c (check_result): New function.
56255 (do_one_test): Use it.
56256 (check1): New function.
56257 (test_main): Use it.
56258 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56259 Support strcasecmp and strncasecmp.
56260
69da074d
UD
562612010-11-08 Ulrich Drepper <drepper@gmail.com>
56262
56263 [BZ #12194]
56264 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56265 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56266
ff02d528
L
562672010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56268
56269 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56270 IFUNC support.
56271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56272 memset-x86-64.
56273 * sysdeps/x86_64/multiarch/bzero.S: New file.
56274 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56275 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56276 * sysdeps/x86_64/multiarch/memset.S: New file.
56277 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56279 Set bit_Prefer_SSE_for_memop for Intel processors.
56280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56281 Define.
56282 (index_Prefer_SSE_for_memop): Define.
56283 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56284
344d0b54
LM
562852010-11-04 Luis Machado <luisgpm@br.ibm.com>
56286
56287 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56288 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56289
c0dde15b
UD
562902010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56291
56292 [BZ #12191]
56293 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56294 (__x86_64_raw_data_cache_size_half): Likewise.
56295 (__x86_64_raw_shared_cache_size): Likewise.
56296 (__x86_64_raw_shared_cache_size_half): Likewise.
56297
56298 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56299 (__x86_64_raw_data_cache_size_half): Likewise.
56300 (__x86_64_raw_shared_cache_size): Likewise.
56301 (__x86_64_raw_shared_cache_size_half): Likewise.
56302 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56303 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56304 and __x86_64_raw_shared_cache_size_half. Round
56305 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56306 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56307 to multiple of 256 bytes.
56308
0e516e0e
MS
563092010-11-03 Ulrich Drepper <drepper@gmail.com>
56310
56311 [BZ #12167]
56312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56313 of inacessible symlinks. Verify result of symlink before returning it.
56314 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56315 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56316
0e012e87
ER
563172010-10-28 Erich Ritz <erichritz@gmail.com>
56318
56319 * math/math.h (isinf): Fix typo in comment.
56320
de0ff7bc
UD
563212010-11-01 Ulrich Drepper <drepper@gmail.com>
56322
56323 * po/da.po: Update from translation team.
56324
fa41c84d
UD
563252010-10-26 Ulrich Drepper <drepper@gmail.com>
56326
56327 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56328 is added to the list.
56329
f0967738
AK
563302010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56331 Ulrich Drepper <drepper@gmail.com>
56332
56333 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56334 the global list here. Move code to...
56335 (_dl_add_to_namespace_list): ...here. New function.
56336 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56337 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56338 * elf/dl-load.c (lose): Don't remove the element from the list.
56339 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56340 (_dl_map_object): Likewise.
56341
563422010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56343
56344 [BZ #12159]
56345 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56346 into all bytes of SSE register.
56347 Patch by Richard Li <richardpku@gmail.com>.
56348
f0967738 563492010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56350
56351 [BZ #12140]
56352 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56353 perturbing.
56354
d0b9e94f
MB
563552010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56356
56357 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56358 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56359 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56360 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56362 submachine.
56363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56364
8e9f92e9
AS
563652010-10-22 Andreas Schwab <schwab@redhat.com>
56366
56367 * include/dlfcn.h (__RTLD_SECURE): Define.
56368 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56369 mode & __RTLD_SECURE instead.
56370 (open_path): Rename preloaded parameter to secure.
56371 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56372 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56373 * elf/dl-deps.c (openaux): Likewise.
56374 * elf/rtld.c (struct map_args): Remove is_preloaded.
56375 (map_doit): Don't use it.
56376 (dl_main): Likewise.
56377 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56378 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56379
bc96fbda
AS
563802010-09-09 Andreas Schwab <schwab@redhat.com>
56381
56382 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56383 (sysd-rules-targets): Remove duplicates.
56384 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56385 rtld-%.$o dependency.
56386
22cd1c9b
AS
563872010-10-18 Andreas Schwab <schwab@redhat.com>
56388
56389 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56390 _dl_map_object do it.
56391
18edac48
UD
563922010-10-19 Ulrich Drepper <drepper@gmail.com>
56393
56394 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56395 fast fma builtins, define the macros in the C99 standard.
56396 (FP_FAST_FMAF): Likewise.
56397 (FP_FAST_FMAL): Likewise.
56398 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56399
56400 * bits/mathdef.h: Update copyright year.
56401 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56402
d2050124
MM
564032010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56404
56405 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56406 builtins, define the macros in the C99 standard.
56407 (FP_FAST_FMAF): Likewise.
56408 (FP_FAST_FMAL): Likewise.
56409 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56410 multiply/add.
56411 (FP_FAST_FMAF): Likewise.
56412
475facd1
JJ
564132010-10-15 Jakub Jelinek <jakub@redhat.com>
56414
56415 [BZ #3268]
56416 * math/libm-test.inc (fma_test): Some new testcases.
56417 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56418 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56419 y and infinite z. Do multiplication by C already in long double.
56420 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56422 y and infinite z. Do bitwise or of inexact bit into u.d.
56423 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56424 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56425 * sysdeps/i386/fpu/s_fma.S: Removed.
56426 * sysdeps/i386/fpu/s_fmal.S: Removed.
56427
7c08a05c
JJ
564282010-10-16 Jakub Jelinek <jakub@redhat.com>
56429
56430 [BZ #3268]
56431 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56433 computation is not scheduled after fetestexcept. Fix value
56434 of minimum denormal long double.
56435
f3f7372d
JJ
564362010-10-14 Jakub Jelinek <jakub@redhat.com>
56437
56438 [BZ #3268]
56439 * math/libm-test.inc (fma_test): Add some more tests.
56440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56441 correctly.
56442
14d43591
AS
564432010-10-15 Andreas Schwab <schwab@redhat.com>
56444
56445 * scripts/data/localplt-s390-linux-gnu.data: New file.
56446 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56447
5e908464
JJ
564482010-10-13 Jakub Jelinek <jakub@redhat.com>
56449
56450 [BZ #3268]
56451 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56452 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56453 instead of dbl-64.
56454 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56455 inlines.
56456 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56458 if one of x and y is very large and the other is subnormal.
56459 * sysdeps/s390/fpu/s_fmaf.c: New file.
56460 * sysdeps/s390/fpu/s_fma.c: New file.
56461 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56462 * sysdeps/powerpc/fpu/s_fma.S: New file.
56463 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56464 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56465 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56466
564672010-10-12 Jakub Jelinek <jakub@redhat.com>
56468
56469 [BZ #3268]
56470 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56471 fma tests.
56472 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56473 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56474 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56475 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56476 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56477 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56478 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56479
b833d51f
UD
564802010-10-12 Ulrich Drepper <drepper@redhat.com>
56481
56482 [BZ #12078]
56483 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56484 * posix/bug-regex31.input: Add test case.
56485
1751705d
UD
564862010-10-11 Ulrich Drepper <drepper@gmail.com>
56487
e9b9cbf5
UD
56488 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56489 * posix/bug-regex31.input: New file.
56490
56491 [BZ #12078]
56492 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56493 (parse_sub_exp): Fix last change, use postorder.
56494
ef06edbe
UD
56495 * posix/bug-regex31.c: New file.
56496 * posix/Makefile: Add rules to build and run bug-regex31.
56497
a129c80d
UD
56498 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56499
56500 [BZ #12078]
56501 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56502
b76b818e
UD
56503 [BZ #12108]
56504 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56505 to have entries in sys_siglist.
56506
1751705d
UD
56507 [BZ #12093]
56508 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56509 be NULL.
56510
9ff8d36f
JJ
565112010-10-07 Jakub Jelinek <jakub@redhat.com>
56512
56513 [BZ #3268]
56514 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56515 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56516 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56517 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56518 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56519 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56520 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56521 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56522 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56523 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56524 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56525 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56526 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56527 * math/ftestexcept.c (fetestexcept): Likewise.
56528 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56529 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56530 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56531 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56532 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56533 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56534 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56535
af325969
UD
565362010-10-11 Ulrich Drepper <drepper@gmail.com>
56537
c579b202 56538 [BZ #12107]
af325969
UD
56539 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56540 newline.
56541
67a67b95
UD
565422010-10-06 Ulrich Drepper <drepper@gmail.com>
56543
56544 * string/bug-strstr1.c: New file.
56545 * string/Makefile: Add rules to build and run bug-strstr1.
56546
5fb308bc
EB
565472010-10-05 Eric Blake <eblake@redhat.com>
56548
56549 [BZ #12092]
56550 * string/str-two-way.h (two_way_long_needle): Always clear memory
56551 when skipping input due to the shift table.
56552
45db99c7
UD
565532010-10-03 Ulrich Drepper <drepper@gmail.com>
56554
3b111893
UD
56555 [BZ #12005]
56556 * malloc/mcheck.c: Handle large requests.
56557
45db99c7
UD
56558 [BZ #12077]
56559 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56560 for strncmp and strncasecmp.
56561 * string/stratcliff.c: Add tests for strcmp and strncmp.
56562 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56563
cf7a1eb8
NI
565642010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56565
56566 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56567 __set_fpscr.
56568
6484ba5e
AJ
565692010-09-30 Andreas Jaeger <aj@suse.de>
56570
56571 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56572 (CGROUP_SUPER_MAGIC): Define.
56573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56574 Handle btrfs and cgroup file systems.
56575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56576 Likewise.
56577
91c42559
LM
565782010-09-27 Luis Machado <luisgpm@br.ibm.com>
56579
56580 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56581 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56582
87a97932
AK
565832010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56584
56585 [BZ #12067]
56586 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56587 trying to locate the ELF header.
56588
c21cc9bc
AS
565892010-09-27 Andreas Schwab <schwab@redhat.com>
56590
56591 [BZ #11611]
56592 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56593 Mask out sign-bit copies when constructing f_fsid.
56594
315970f6
PB
565952010-09-24 Petr Baudis <pasky@suse.cz>
56596
56597 * debug/stack_chk_fail_local.c: Add missing licence exception.
56598 * debug/warning-nop.c: Likewise.
56599
1ac7a2c7
JM
566002010-09-15 Joseph Myers <joseph@codesourcery.com>
56601
56602 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56603 implementing getdents64 using getdents syscall, set d_type if
56604 __ASSUME_GETDENTS32_D_TYPE.
56605
56801c50
AS
566062010-09-16 Andreas Schwab <schwab@redhat.com>
56607
56608 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56609 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56610
dda51327
UD
566112010-09-21 Ulrich Drepper <drepper@redhat.com>
56612
56613 [BZ #12037]
56614 * posix/unistd.h: Undo change of feature selection for ftruncate from
56615 2010-01-11.
56616
8ffcee4a
UD
566172010-09-20 Ulrich Drepper <drepper@redhat.com>
56618
a545ecd9 56619 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56620 detection.
56621
e24f0a8b
AS
566222010-09-20 Andreas Schwab <schwab@redhat.com>
56623
56624 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56625 fanotify_mark.
56626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56627
7291c56f
AS
566282010-09-14 Andreas Schwab <schwab@redhat.com>
56629
56630 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56631 variables after CHECK_SP call.
56632 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56633
bc5fb037
AS
566342010-09-13 Andreas Schwab <schwab@redhat.com>
56635 Ulrich Drepper <drepper@redhat.com>
56636
56637 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56638 re-relocationg ld.so.
56639 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56640 _dl_init_paths call.
56641 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56642 here anymore.
56643
e66e7419
UD
566442010-09-14 Ulrich Drepper <drepper@redhat.com>
56645
56646 * resolv/res_init.c (__res_vinit): Count the default server we added.
56647
c044aa75
CLT
566482010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56649 Ulrich Drepper <drepper@redhat.com>
56650
56651 [BZ #11968]
56652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56653 (____longjmp_chk): Use %ebx for saving value across system call.
56654 Add unwind info.
56655
32cf4069
AS
566562010-09-06 Andreas Schwab <schwab@redhat.com>
56657
56658 * manual/Makefile: Don't mix pattern rules with normal rules.
56659
817328ee
AS
566602010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56661
56662 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56663 operation.
56664 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56665 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56666 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56667 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56669 Likewise.
56670
29fddf61
UD
566712010-09-04 Ulrich Drepper <drepper@redhat.com>
56672
56673 [BZ #11979]
56674 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56675 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56676
0959ffc9
UD
566772010-09-02 Ulrich Drepper <drepper@redhat.com>
56678
56679 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56680 * sysdeps/x86_64/addmul_1.S: Likewise.
56681 * sysdeps/x86_64/lshift.S: Likewise.
56682 * sysdeps/x86_64/mul_1.S: Likewise.
56683 * sysdeps/x86_64/rshift.S: Likewise.
56684 * sysdeps/x86_64/sub_n.S: Likewise.
56685 * sysdeps/x86_64/submul_1.S: Likewise.
56686
ece29840
ST
566872010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56688
0959ffc9
UD
56689 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56690 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56691 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56692 * bits/sched.h [__need_schedparam]
ece29840 56693 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56694 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56695 (__defined_schedparam): Define to 1.
ece29840
ST
56696 (__sched_param): New structure, identical to sched_param.
56697 (__need_schedparam): Undefine.
56698
e53a31fe
MF
566992010-08-31 Mike Frysinger <vapier@gentoo.org>
56700
fdc0c10d
MF
56701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56702 (epoll_create1): Declare.
56703
e53a31fe
MF
56704 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56705
a726d796
AS
567062010-08-31 Andreas Schwab <schwab@redhat.com>
56707
56708 [BZ #7066]
56709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56710 shifting retval into place.
56711
2f3e3dc7
UD
567122010-09-01 Ulrich Drepper <drepper@redhat.com>
56713
f2933da9
UD
56714 * nis/rpcsvc/nis.h: Update copyright notice.
56715 * nis/rpcsvc/nis.x: Likewise.
56716 * nis/rpcsvc/nis_callback.h: Likewise.
56717 * nis/rpcsvc/nis_callback.x: Likewise.
56718 * nis/rpcsvc/nis_object.x: Likewise.
56719 * nis/rpcsvc/nis_tags.h: Likewise.
56720 * nis/rpcsvc/yp.h: Likewise.
56721 * nis/rpcsvc/yp.x: Likewise.
56722 * nis/rpcsvc/ypupd.h: Likewise.
56723 * nis/yp_xdr.c: Likewise.
56724 * nis/ypupdate_xdr.c: Likewise.
56725
2f3e3dc7
UD
56726 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56727 mainly the body of pmap_getport. Add parameters to specify timeouts.
56728 (pmap_getport): Use __libc_rpc_getport.
56729 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56730 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56731 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56732
f3dcc2f9
AS
567332010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56734
56735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56736 fanotify_mark.
56737
6d34eb5b
RM
567382010-08-27 Roland McGrath <roland@redhat.com>
56739
56740 * sysdeps/i386/i686/multiarch/Makefile
56741 (CFLAGS-varshift.c): New variable.
56742
9ea3de11
UD
567432010-08-27 Ulrich Drepper <drepper@redhat.com>
56744
c96d23fc
UD
56745 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56746 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56747
9ea3de11
UD
56748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56749
56750 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56751
623aac7f
L
567522010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56753
56754 * sysdeps/x86_64/strlen.S: Unroll the loop.
56755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56756 strlen-sse2 strlen-sse2-bsf.
56757 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56758 __strlen_no_bsf if bit_Slow_BSF is set.
56759 (__strlen_sse42): Removed.
56760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56761 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56762
8b2b7715
RM
567632010-08-25 Roland McGrath <roland@redhat.com>
56764
56765 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56766 * sysdeps/x86_64/multiarch/varshift.c: New file.
56767 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56768 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56769 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56770 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56771
e73015f2
L
567722010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56773
56774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56775 strlen-sse2 strlen-sse2-bsf.
56776 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56777 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56778 (__strlen_sse2): Removed.
56779 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56782 bit_Slow_BSF for Atom.
56783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56784 (index_Slow_BSF): Define.
56785 (HAS_SLOW_BSF): Define.
56786
df24a73e
UD
567872010-08-25 Ulrich Drepper <drepper@redhat.com>
56788
56789 [BZ #10851]
56790 * resolv/res_init.c (__res_vinit): When no server address at all
56791 is given default to loopback.
56792
f2ac4868
RM
567932010-08-24 Roland McGrath <roland@redhat.com>
56794
09055553
RM
56795 * configure.in: Remove config-name.h generation.
56796 * configure: Regenerated.
56797 * config-name.in: File removed.
56798 * scripts/config-uname.sh: New file.
56799 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56800 ($(objdir)config-name.h): New target.
56801
f2ac4868
RM
56802 * sunrpc/rpc_parse.h: Avoid nested comment.
56803
73f27d5e
RH
568042010-08-24 Richard Henderson <rth@redhat.com>
56805 Ulrich Drepper <drepper@redhat.com>
56806 H.J. Lu <hongjiu.lu@intel.com>
56807
56808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56810 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56811 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56812 _mm_alignr_epi8 with _mm_loadu_si128.
56813 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56814 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56815 (__m128i_shift_right): Removed.
56816 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56817 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56818 * sysdeps/x86_64/multiarch/varshift.h: New file.
56819 * sysdeps/x86_64/multiarch/varshift.S: New file.
56820
84b9230c
MF
568212010-08-21 Mike Frysinger <vapier@gentoo.org>
56822
56823 * configure.in: Move assembler checks to before sysdep dir checking.
56824
9bbd0ddc
PB
568252010-08-20 Petr Baudis <pasky@suse.cz>
56826
56827 * LICENSES: Sync the sunrpc license.
56828
9da4bb31
UD
568292010-08-19 Ulrich Drepper <drepper@redhat.com>
56830
a7ab6ec8
UD
56831 * sunrpc/auth_des.c: Update copyright notice once again.
56832 * sunrpc/auth_none.c: Likewise.
56833 * sunrpc/auth_unix.c: Likewise.
56834 * sunrpc/authdes_prot.c: Likewise.
56835 * sunrpc/authuxprot.c: Likewise.
56836 * sunrpc/bindrsvprt.c: Likewise.
56837 * sunrpc/clnt_gen.c: Likewise.
56838 * sunrpc/clnt_perr.c: Likewise.
56839 * sunrpc/clnt_raw.c: Likewise.
56840 * sunrpc/clnt_simp.c: Likewise.
56841 * sunrpc/clnt_tcp.c: Likewise.
56842 * sunrpc/clnt_udp.c: Likewise.
56843 * sunrpc/clnt_unix.c: Likewise.
56844 * sunrpc/des_crypt.c: Likewise.
56845 * sunrpc/des_soft.c: Likewise.
56846 * sunrpc/get_myaddr.c: Likewise.
56847 * sunrpc/getrpcport.c: Likewise.
56848 * sunrpc/key_call.c: Likewise.
56849 * sunrpc/key_prot.c: Likewise.
56850 * sunrpc/openchild.c: Likewise.
56851 * sunrpc/pm_getmaps.c: Likewise.
56852 * sunrpc/pm_getport.c: Likewise.
56853 * sunrpc/pmap_clnt.c: Likewise.
56854 * sunrpc/pmap_prot.c: Likewise.
56855 * sunrpc/pmap_prot2.c: Likewise.
56856 * sunrpc/pmap_rmt.c: Likewise.
56857 * sunrpc/rpc/auth.h: Likewise.
56858 * sunrpc/rpc/auth_unix.h: Likewise.
56859 * sunrpc/rpc/clnt.h: Likewise.
56860 * sunrpc/rpc/des_crypt.h: Likewise.
56861 * sunrpc/rpc/key_prot.h: Likewise.
56862 * sunrpc/rpc/netdb.h: Likewise.
56863 * sunrpc/rpc/pmap_clnt.h: Likewise.
56864 * sunrpc/rpc/pmap_prot.h: Likewise.
56865 * sunrpc/rpc/pmap_rmt.h: Likewise.
56866 * sunrpc/rpc/rpc.h: Likewise.
56867 * sunrpc/rpc/rpc_des.h: Likewise.
56868 * sunrpc/rpc/rpc_msg.h: Likewise.
56869 * sunrpc/rpc/svc.h: Likewise.
56870 * sunrpc/rpc/svc_auth.h: Likewise.
56871 * sunrpc/rpc/types.h: Likewise.
56872 * sunrpc/rpc/xdr.h: Likewise.
56873 * sunrpc/rpc_clntout.c: Likewise.
56874 * sunrpc/rpc_cmsg.c: Likewise.
56875 * sunrpc/rpc_common.c: Likewise.
56876 * sunrpc/rpc_cout.c: Likewise.
56877 * sunrpc/rpc_dtable.c: Likewise.
56878 * sunrpc/rpc_hout.c: Likewise.
56879 * sunrpc/rpc_main.c: Likewise.
56880 * sunrpc/rpc_parse.c: Likewise.
56881 * sunrpc/rpc_parse.h: Likewise.
56882 * sunrpc/rpc_prot.c: Likewise.
56883 * sunrpc/rpc_sample.c: Likewise.
56884 * sunrpc/rpc_scan.c: Likewise.
56885 * sunrpc/rpc_scan.h: Likewise.
56886 * sunrpc/rpc_svcout.c: Likewise.
56887 * sunrpc/rpc_tblout.c: Likewise.
56888 * sunrpc/rpc_util.c: Likewise.
56889 * sunrpc/rpc_util.h: Likewise.
56890 * sunrpc/rpcinfo.c: Likewise.
56891 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56892 * sunrpc/rpcsvc/key_prot.x: Likewise.
56893 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56894 * sunrpc/rpcsvc/mount.x: Likewise.
56895 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56896 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56897 * sunrpc/rpcsvc/rex.x: Likewise.
56898 * sunrpc/rpcsvc/rstat.x: Likewise.
56899 * sunrpc/rpcsvc/rusers.x: Likewise.
56900 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56901 * sunrpc/rpcsvc/spray.x: Likewise.
56902 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56903 * sunrpc/rtime.c: Likewise.
56904 * sunrpc/svc.c: Likewise.
56905 * sunrpc/svc_auth.c: Likewise.
56906 * sunrpc/svc_authux.c: Likewise.
56907 * sunrpc/svc_raw.c: Likewise.
56908 * sunrpc/svc_run.c: Likewise.
56909 * sunrpc/svc_simple.c: Likewise.
56910 * sunrpc/svc_tcp.c: Likewise.
56911 * sunrpc/svc_udp.c: Likewise.
56912 * sunrpc/svc_unix.c: Likewise.
56913 * sunrpc/svcauth_des.c: Likewise.
56914 * sunrpc/xcrypt.c: Likewise.
56915 * sunrpc/xdr.c: Likewise.
56916 * sunrpc/xdr_array.c: Likewise.
56917 * sunrpc/xdr_float.c: Likewise.
56918 * sunrpc/xdr_mem.c: Likewise.
56919 * sunrpc/xdr_rec.c: Likewise.
56920 * sunrpc/xdr_ref.c: Likewise.
56921 * sunrpc/xdr_sizeof.c: Likewise.
56922 * sunrpc/xdr_stdio.c: Likewise.
56923
9da4bb31
UD
56924 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56925 handling.
56926
bdaa77bc
AS
569272010-08-19 Andreas Schwab <schwab@redhat.com>
56928
56929 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56930
fe2f79db
LM
569312010-08-19 Luis Machado <luisgpm@br.ibm.com>
56932
56933 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56934 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56935 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56936 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56937 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56938 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56939 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56940 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56942 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56943 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56944 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56945 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56946 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56947
b9b42ee0
AB
569482010-07-26 Anton Blanchard <anton@samba.org>
56949
56950 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56951 * malloc/arena.c (heap_trim): Likewise.
56952
1c06ba31
UD
569532010-08-16 Ulrich Drepper <drepper@redhat.com>
56954
56955 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56956 here. Not...
56957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56958 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56959
f8392f40
L
569602010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56961
56962 * sysdeps/i386/elf/Makefile: New file.
56963
3162f12e
AS
569642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56965
56966 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56967 from fanotify_init.
56968 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56970
28c90b2c
UD
569712010-08-15 Ulrich Drepper <drepper@redhat.com>
56972
56973 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56974 of strncasecmp_l.
1feccb6c 56975 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56976
ca6bb004
UD
569772010-08-14 Ulrich Drepper <drepper@redhat.com>
56978
e9f82e0d
UD
56979 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56980 strncase_l-nonascii.
56981 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56982 Add strncase_l-ssse3.
56983 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56984 * sysdeps/x86_64/strcmp.S: Likewise.
56985 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56986 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56987 * sysdeps/x86_64/strncase.S: New file.
56988 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56989 * sysdeps/x86_64/strncase_l.S: New file.
56990 * string/Makefile (strop-tests): Add strncasecmp.
56991 * string/test-strncasecmp.c: New file.
56992
56993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56994 warning.
56995
ca6bb004
UD
56996 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56997 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56998
052fa7b3
AS
569992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57000
57001 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57002
962dba78
UD
570032010-08-12 Ulrich Drepper <drepper@redhat.com>
57004
57005 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57006 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57007 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57008
bebff237
AM
570092010-05-01 Alan Modra <amodra@gmail.com>
57010
57011 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57012 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57013 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57014 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57015 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57016 tidying. Don't tail-call __sigjmp_save for static lib.
57017 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57018 save location.
57019 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57020 (CALL_MCOUNT): Add eh info, and nop after bl.
57021 (TAIL_CALL_SYSCALL_ERROR): New macro.
57022 (PSEUDO_RET): Use it.
57023 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57024 Correct save location of integer regs and cr.
57025 (_dl_profile_resolve): Correct cr save location. Delete nops
57026 after bl when SHARED. Reduce cfi size a little by better
57027 placement of cfi directives.
57028 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57029 make a stack frame. Instead use parm save area as a temp.
57030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57031 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57033 Don't make a stack frame for parent, use parm save area.
57034 Increase child stack frame to 112 bytes. Don't save unused reg,
57035 and adjust reg usage. Set up cfi on error recovery and
57036 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57038 (__makecontext): Add dummy nop after jump to exit.
57039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57040 Use correct parm save area and cr save, reduce stack frame.
57041 Correct cfi for possible PSEUDO_RET frame setup.
57042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57043 Branch to local label emitted by PSEUDO_RET rather than
57044 __syscall_error.
57045
02637374
AS
570462010-08-12 Andreas Schwab <schwab@redhat.com>
57047
57048 [BZ #11904]
57049 * locale/programs/locale.c (print_assignment): New function.
57050 (show_locale_vars): Use it.
57051
c3e2f19b
UD
570522010-08-11 Ulrich Drepper <drepper@redhat.com>
57053
3cdaa6ad
UD
57054 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57055 field.
57056 (struct statfs64): Likewise.
57057 (_STATFS_F_FLAGS): Define.
57058 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57060 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57061 (ST_VALID): Define locally.
57062 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57063 __statvfs_getflags, use the provided value.
57064 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57065 __ASSUME_STATFS_F_FLAGS.
57066
754f7da3
UD
57067 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57068
10b3bedc
UD
57069 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57070 Add sys/fanotify.h.
57071 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57072 fanotify_mask for GLIBC_2.13.
57073 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57074 fanotify_init and fanotify_mark.
57075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57076 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57077
c08fb0d7
UD
57078 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57079 Add prlimit.
57080 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57081 prlimit64 for GLIBC_2.13.
57082 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57083 prlimit64.
57084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57085 syscall.
57086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57087 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57088 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57089 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57090 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57091 add prlimit alias.
57092 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57093
15bac72b
UD
57094 [BZ #11903]
57095 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57096 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57097
c3e2f19b
UD
57098 * nss/Makefile: Add rules to build and run tst-nss-test1.
57099 * shlib-versions: Add entry for libnss_test1.
57100 * nss/nss_test1.c: New file.
57101 * nss/tst-nss-test1.c: New file.
57102
57103 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57104 (__nss_configure_lookup): Set appropriate entry in
57105 __nss_configure_lookup to true.
57106 * nss/nsswitch.h: Define enum with indeces of databases in
57107 databases and __nss_database_custom arrays. Declare
57108 __nss_database_custom.
57109 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57110 to avoid using nscd when custom rules are installed.
57111 * nss/getXXbyYY_r.c: Likewise.
57112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57113
57114 * nss/nss_files/files-parse.c: Whitespace fixes.
57115
f15ce4d8
UD
571162010-08-09 Ulrich Drepper <drepper@redhat.com>
57117
57118 [BZ #11883]
57119 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57120 * posix/fnmatch_loop.c: Likewise.
57121
d22e4cc9
AK
571222010-07-17 Andi Kleen <ak@linux.intel.com>
57123
57124 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57125 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57126 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57127 * Versions.def [GLIBC_2.13]: Add.
57128
805bc17d
UD
571292010-08-06 Ulrich Drepper <drepper@redhat.com>
57130
57131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57132 Also fail if tpwd after pwuid call is NULL.
57133
5a42321d
ST
571342010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57135
57136 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57137 when converting to ms.
57138
fd3ebeda
ST
571392010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57140
57141 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57142 EOPNOTSUPP errors with ENOTTY.
57143 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57144 EOPNOTSUPP errors with ENOTTY.
57145
73507d3a
UD
571462010-07-31 Ulrich Drepper <drepper@redhat.com>
57147
57148 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57149 Add strcasecmp_l-ssse3.
57150 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57151 strcasecmp.
57152 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57153 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57154 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57155
fe36dd02
UD
571562010-07-30 Ulrich Drepper <drepper@redhat.com>
57157
66f6765a
UD
57158 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57159
42e08a54
UD
57160 * string/Makefile (strop-tests): Add strcasecmp.
57161 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57162 strcasecmp_l-nonascii.
57163 (gen-as-const-headers): Add locale-defines.sym.
57164 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57165 * sysdeps/x86_64/strcasecmp.S: New file.
57166 * sysdeps/x86_64/strcasecmp_l.S: New file.
57167 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57168 * sysdeps/x86_64/locale-defines.sym: New file.
57169 * string/test-strcasecmp.c: New file.
57170
fe36dd02
UD
57171 * string/test-strcasestr.c: Test both ends of the range of characters.
57172 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57173
48cbc0d6
RM
571742010-07-29 Roland McGrath <roland@redhat.com>
57175
76e6d6bc 57176 [BZ #11856]
48cbc0d6
RM
57177 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57178
880113d9
UD
571792010-07-27 Ulrich Drepper <drepper@redhat.com>
57180
57181 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57182 for ld.so.
57183
deb9cabb
AS
571842010-07-27 Andreas Schwab <schwab@redhat.com>
57185
57186 * manual/memory.texi (Malloc Tunable Parameters): Document
57187 M_PERTURB.
57188
1c7570ff
RM
571892010-07-26 Roland McGrath <roland@redhat.com>
57190
57191 [BZ #11840]
57192 * configure.in (-fgnu89-inline check): Set and substitute
57193 gnu89_inline, not libc_cv_gnu89_inline.
57194 * configure: Regenerated.
57195 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57196
24fb0f88
UD
571972010-07-26 Ulrich Drepper <drepper@redhat.com>
57198
57199 * string/test-strnlen.c: New file.
57200 * string/Makefile (strop-tests): Add strnlen.
57201 * string/tester.c (test_strnlen): Add a few more test cases.
57202 * string/tst-strlen.c: Better error reporting.
57203
57204 * sysdeps/x86_64/strnlen.S: New file.
57205
8e96b93a
UD
572062010-07-24 Ulrich Drepper <drepper@redhat.com>
57207
57208 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57209 lower-latency instructions.
57210
dbc676d4
UD
572112010-07-23 Ulrich Drepper <drepper@redhat.com>
57212
57213 * string/test-strcasestr.c: New file.
57214 * string/test-strstr.c: New file.
57215 * string/Makefile (strop-tests): Add strstr and strcasestr.
57216 * string/str-two-way.h: Don't undefine MAX.
57217 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57218
f6a31e0e
AS
572192010-07-21 Andreas Schwab <schwab@redhat.com>
57220
57221 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57222 strcasestr-nonascii.
57223 (CFLAGS-strcasestr-nonascii.c): Define.
57224 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57226 Remove unused attribute.
57227
5dbc3b6c
RM
572282010-07-20 Roland McGrath <roland@redhat.com>
57229
57230 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57231 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57232 ld.so.cache was broken. With it, there is no way to disable dsocaps
57233 like LD_HWCAP_MASK can disable hwcaps.
57234
23d101d8
EPM
572352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57236
57237 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57238
cc9f2e47
UD
572392010-07-16 Ulrich Drepper <drepper@redhat.com>
57240
57241 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57242 call in strcasestr.
57243 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57244 __strcasestr_sse42_nonascii.
57245 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57246 strcasestr-nonascii.c.
57247 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57248
77c1b069
LM
572492010-06-15 Luis Machado <luisgpm@br.ibm.com>
57250
57251 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57252 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57253 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57254 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57255
440566c3
UD
572562010-07-09 Ulrich Drepper <drepper@redhat.com>
57257
57258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57259 fcntl.
57260
5be9d05d
AS
572612010-07-06 Andreas Schwab <schwab@redhat.com>
57262
c30b7ee2 57263 [BZ #11577]
5be9d05d
AS
57264 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57265 dl_signal_cerror.
57266
8a492a67
UD
572672010-07-06 Ulrich Drepper <drepper@redhat.com>
57268
57269 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57270 _PC_PIPE_BUF using F_GETPIPE_SZ.
57271
713df3d5
RM
572722010-07-05 Roland McGrath <roland@redhat.com>
57273
57274 * manual/arith.texi (Rounding Functions): Fix rint description
57275 implicit in round description.
57276
702e8f14
UD
572772010-07-02 Ulrich Drepper <drepper@redhat.com>
57278
57279 * elf/Makefile: Fix linking for a few tests to make recent linker
57280 happy.
57281
52ed8be9
AS
572822010-06-30 Andreas Schwab <schwab@redhat.com>
57283
57284 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57285 $(common-objpfx)libc_nonshared.a.
57286
f47c9a11
LM
572872010-06-21 Luis Machado <luisgpm@br.ibm.com>
57288
57289 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57290 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57291 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57292 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57293 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57294 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57295 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57296 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57311 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57312 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57313 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57314 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57315 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57316 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57317 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57318 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57319 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57320 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57321 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57322 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57337
6fb8cbcb
L
573382010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57339
57340 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57341 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57342 * string/memmove.c (memmove): Renamed to ...
57343 (MEMMOVE): ...this. Default to memmove.
57344 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57345 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57346 (END_CHK): Define.
57347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57348 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57349 mempcpy-ssse3-back memmove-ssse3-back.
57350 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57353 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57354 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57355 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57356 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57357 * sysdeps/x86_64/multiarch/memmove.c: New file.
57358 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57359 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57360 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57361 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57362 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57364 Define.
57365 (index_Fast_Copy_Backward): Define.
57366 (HAS_ARCH_FEATURE): Define.
57367 (HAS_FAST_REP_STRING): Define.
57368 (HAS_FAST_COPY_BACKWARD): Define.
57369
4e733bac 573702010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57371
57372 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57373 Restore proper fallback handling.
57374
63c4ed22
UD
573752010-06-19 Ulrich Drepper <drepper@redhat.com>
57376
ac2b484c
UD
57377 [BZ #11701]
57378 * posix/group_member.c (__group_member): Correct checking loop.
57379
63c4ed22
UD
57380 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57381 OOM in getpwuid_r correctly. Return error number when the caller
57382 should return, otherwise -1.
57383 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57384 call returning > 0 value.
57385 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57386
765ade4b
AS
573872010-06-07 Andreas Schwab <schwab@redhat.com>
57388
57389 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57390 libc_nonshared.a from targets in modules-names.
57391
80da2e09
KS
573922010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57393
57394 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57395 requires it.
57396
158db122
LM
573972010-06-10 Luis Machado <luisgpm@br.ibm.com>
57398
57399 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57400 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57401 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57403
caa78cf8
AS
574042010-06-02 Andreas Schwab <schwab@redhat.com>
57405
57406 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57407
b2ef2c01
UD
574082010-06-14 Ulrich Drepper <drepper@redhat.com>
57409
57410 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57411 and F_GETPIPE_SZ.
57412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57417 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57418
fbd643b6
RM
574192010-06-14 Roland McGrath <roland@redhat.com>
57420
57421 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57422
f32f2869
JJ
574232010-06-07 Jakub Jelinek <jakub@redhat.com>
57424
57425 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57426 __REDIRECT followed by __THROW.
57427 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57428 * posix/getopt.h (getopt): Likewise.
57429
2a50c078
EPM
574302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57431
57432 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57433 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57434 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57435 in AT_FLAGS.
57436 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57437 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57438
eb5ad2eb
LM
574392010-05-28 Luis Machado <luisgpm@br.ibm.com>
57440
57441 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57442
3c88fe1e
L
574432010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57444
57445 [BZ #11640]
57446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57447 Properly check family and model.
57448
d2f73151
TY
574492010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57450
57451 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57452
ebd2e13d
LM
574532010-05-24 Luis Machado <luisgpm@br.ibm.com>
57454
57455 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57456
b32b8b45
UD
574572010-05-21 Ulrich Drepper <drepper@redhat.com>
57458
57459 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57460 symbol reference.
57461
9acbe24d
AS
574622010-05-19 Andreas Schwab <schwab@redhat.com>
57463
57464 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57465 symbol reference.
57466
f0ccf6ea
AS
574672010-05-21 Andreas Schwab <schwab@redhat.com>
57468
3d04ff3a
AS
57469 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57470 and internal_recvmmsg.
57471 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57472 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57473 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57474 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57475
f0ccf6ea
AS
57476 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57477 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57478 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57479
5b08ac57
AS
574802010-05-20 Andreas Schwab <schwab@redhat.com>
57481
57482 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57483
4828935d
LM
574842010-05-17 Luis Machado <luisgpm@br.ibm.com>
57485
57486 POWER7 optimizations.
57487 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57488 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57489
373d545e
UD
574902010-05-19 Ulrich Drepper <drepper@redhat.com>
57491
57492 * version.h: Update for 2.13 development version.
57493
21a2b1ae
AS
574942010-05-12 Andrew Stubbs <ams@codesourcery.com>
57495
57496 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57497 exceptions. Return 0.
57498
3f7dcb2b
RM
574992010-05-07 Roland McGrath <roland@redhat.com>
57500
57501 * elf/ldconfig.c (main): Add a const.
57502
5f24d53a 575032010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57504
a160f8d8
UD
57505 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57506 (args_options): Add no-idn option.
57507 (ahosts_keys_int): Add idn_flags to ai_flags.
57508 (parse_option): Handle 'i' option to clear idn_flags.
57509
5f24d53a
UD
57510 * malloc/malloc.c (_int_free): Possible race in the most recently
57511 added check. Only act on the data if no current modification
57512 happened.
265bb1ce
UD
57513
57514See ChangeLog.17 for earlier changes.