]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix v9/64-bit strcmp when string ends in multiple zero bytes.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5331255b
DM
12014-05-01 David S. Miller <davem@davemloft.net>
2
3 [BZ #16885]
4 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5 multiple zero bytes exist at the end of a string.
6 Reported by Aurelien Jarno <aurelien@aurel32.net>
7
8 * string/test-strcmp.c (check): Add explicit test for situations where
9 there are multiple zero bytes after the first.
10
4fdfe821
AS
112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12
13 [BZ #16890]
14 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15 when compiling wprintf.
16 * stdio-common/tstdiomisc.c (t3): New function.
17 (main): Call it.
18
0cdddc25
SE
192014-05-01 Steve Ellcey <sellcey@mips.com>
20
21 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
24 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25
6426d77e
SE
262014-05-01 Steve Ellcey <sellcey@mips.com>
27
28 * stdlib/longlong.h: Updated from GCC.
29
6d96f5e4
WN
302014-05-01 Will Newton <will.newton@linaro.org>
31 Bernard Ogden <bernie.ogden@linaro.org>
32
7470db0c
WN
33 * NEWS: Update fixed bug list.
34
6d96f5e4
WN
35 [BZ #15119]
36 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37
211d653c
DM
382014-04-30 David S. Miller <davem@davemloft.net>
39
4fa262fa
DM
40 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41 (libc_feholdexcept_setround_sparc_ctx): New function.
42 (libc_fesetenv_sparc_ctx): Likewise.
43 (libc_feupdateenv_sparc_ctx): Likewise.
44 (libc_feholdsetround_sparc_ctx): Likewise.
45 (libc_feholdexcept_setround_ctx): Define.
46 (libc_feholdexcept_setroundf_ctx): Likewise.
47 (libc_feholdexcept_setroundl_ctx): Likewise.
48 (libc_fesetenv_ctx): Likewise.
49 (libc_fesetenvf_ctx): Likewise.
50 (libc_fesetenvl_ctx): Likewise.
51 (libc_feupdateenv_ctx): Likewise.
52 (libc_feupdateenvf_ctx): Likewise.
53 (libc_feupdateenvl_ctx): Likewise.
54 (libc_feresetround_ctx): Likewise.
55 (libc_feresetroundf_ctx): Likewise.
56 (libc_feresetroundl_ctx): Likewise.
57 (libc_feholdsetround_ctx): Likewise.
58 (libc_feholdsetroundf_ctx): Likewise.
59 (libc_feholdsetroundl_ctx): Likewise.
60
1d3d93ef
DM
61 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
62 with __USE_GNU instead of XOPEN cpp guards.
63
8aa583c3
DM
64 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
65 0.
66
211d653c
DM
67 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
68 with XOPEN cpp guards.
69
60c8f1f6
JB
702014-04-30 Julian Brown <julian@codesourcery.com>
71
72 [BZ #16888]
73 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
74 handling.
75
9a461d46
JM
762014-04-30 Joseph Myers <joseph@codesourcery.com>
77
d0f5b3f8
JM
78 [BZ #9894]
79 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
80 Change to 2.6.32.
81 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
82 * sysdeps/unix/sysv/linux/configure: Regenerated.
83 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
84 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
85 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
86 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
87 * README: Update reference to required Linux kernel version.
88 * manual/install.texi (Linux): Update reference to required Linux
89 kernel headers version.
90 * INSTALL: Regenerated.
91
9a461d46
JM
92 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
93 header inclusion.
94 [POSIX] (limits.h): Likewise.
95 [POSIX] (math.h): Likewise.
96 [POSIX] (sys/wait.h): Likewise.
97 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
98 function.
99 [POSIX] (stddef.h): Do not allow header inclusion.
100
1775babf
AZ
1012014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
102
57f41c40 103 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 104
8f630cca
YY
1052014-04-30 Yang Yingliang <yangyingliang@huawei.com>
106
107 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
108 Return immediately after lll_futex_wake.
109
1cdeb237
SP
1102014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
111
bc8f194c
SP
112 [BZ #16791]
113 * nscd/nscd-client.h (datahead_init_common): Initialize entire
114 structure.
115 (datahead_init_pos): Call datahead_init_common early.
116 (datahead_init_neg): Likewise.
117
1cdeb237
SP
118 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
119 datahead_init_neg): New functions.
120 * nscd/aicache.c (addhstaiX): Use them.
121 * nscd/grpcache.c (cache_addgr): Likewise.
122 * nscd/hstcache.c (cache_addhst): Likewise.
123 * nscd/initgrcache.c (addinitgroupsX): Likewise.
124 * nscd/netgroupcache.c (do_notfound): Likewise.
125 (addgetnetgrentX): Likewise.
126 (addinnetgrX): Likewise.
127 * nscd/pwdcache.c (cache_addpw): Likewise.
128 * nscd/servicescache.c (cache_addserv): Likewise.
129
16b293a7
SP
1302014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
131 Atsushi Onoe <atsushi@onoe.org>
132
133 [BZ #14308]
134 [BZ #12994]
135 [BZ #13651]
136 * resolv/res_query.c (__libc_res_nsearch): Return if at least
137 one response is valid.
138 * resolv/res_send.c (send_dg): Check for validity of other
139 response if the current response is a referral.
140
a28a9b94
SE
1412014-04-29 Steve Ellcey <sellcey@mips.com>
142
143 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
144
2ca180e9
SL
1452014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
146
147 [BZ #16823]
148 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
149 Always divide by positive zero when computing -Inf result.
150 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
151 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
152
18f2945a
AZ
1532014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154
155 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
156 FPSCR if value do not change.
157 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
158 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
159 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
160 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
161 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
162 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
163 function.
164
5abebba4
CD
1652014-05-29 Carlos O'Donell <carlos@systemhalted.org>
166
167 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
168 * sysdeps/unix/sysv/linux/hppa: Move directory from
169 ports/systeps/unix/sysv/linux/hppa.
170 * README: Update listing for hppa-*-linux-gnu.
171
f7ed60c2
OB
1722014-04-28 Ondřej Bílka <neleai@seznam.cz>
173
fff763a5
OB
174 [BZ #16754]
175 * manual/stdio.texi (Hook functions): Fix types of stream hook
176 functions.
f7ed60c2
OB
177 [BZ #16854]
178 * socket/sys/socket.h: Fix typo in comment.
179
df639d73
WD
1802014-04-28 Wilco <wdijkstr@arm.com>
181
f7ed60c2 182 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
183 * sysdeps/arm/math_private.h: New file.
184 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
185
48332d82
L
1862014-04-25 H.J. Lu <hongjiu.lu@intel.com>
187
188 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
189 with __int128_t.
190 (La_x86_64_retval): Likewise.
191
e5e0d9a4
IB
1922014-04-24 Ian Bolton <ian.bolton@arm.com>
193
194 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
195 fpsr if value didn't change.
196 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
197 to fpcr if value didn't change.
198 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
199 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
200 fpsr or fpcr if value didn't change.
201 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
202 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
203 fpcr if value didn't change.
204 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
205 to fpsr if value didn't change.
206
bacc75f7
SP
2072014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
208
209 * nptl/tst-sem3.c: Use test-skeleton.c
210 (main): Rename to do_test. Use return instead of
211 exit.
212 * nptl/tst-sem4.c: Use test-skeleton.c
213 (main): Rename to do_test.
214
a059d359
DM
2152014-04-22 David S. Miller <davem@davemloft.net>
216
217 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
218 (struct sigaction): New struct member __glibc_reserved0, change
219 type of sa_flags to int.
220
ea6c92f3
YZ
2212014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
222
223 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
224 (COUNT_LEADING_ZEROS_0): Define for AArch64.
225
766c4a36
SP
2262014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
227
228 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
229 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
230
140cc7ab
VK
2312014-04-22 Will Newton <will.newton@linaro.org>
232 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
233
234 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
235 (__longjmp): Add longjmp and longjmp_target SystemTap
236 probes.
237 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
238 (__sigsetjmp): Add setjmp SystemTap probe.
239
c54e5cf7
CD
2402014-04-17 Carlos O'Donell <carlos@redhat.com>
241
242 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
243 match manual order.
244
75ffb047
AZ
2452014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246
247 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
248
2cd925f7
AZ
249 * sysdeps/powerpc/fpu/fenv_private.h
250 (libc_feholdexcept_setroundl_ctx): Define to
251 libc_feholdexcept_setround_ppc_ctx.
252 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
253 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
254 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
255 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
256
39e6cd8d
IB
2572014-04-17 Ian Bolton <ian.bolton@arm.com>
258
259 * sysdeps/aarch64/math-tests.h: New file.
260
f9281df9
SY
2612014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
262
263 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
264 New.
265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
266 Check and set bit_AVX2_Usable.
267 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
268 macro.
269 (bit_AVX2): Likewise.
270 (index_AVX2_Usable): Likewise.
271 (CPUID_AVX2): Likewise.
272 (HAS_AVX2): Likewise.
273
37d35007
WN
2742014-04-17 Will Newton <will.newton@linaro.org>
275
7c677662
WN
276 * manual/setjmp.texi (System V contexts): Add note that
277 calling setcontext on a context created by a call to a
278 signal handler is undefined. Update text to note that
279 setcontext from a signal handler is possible but not
280 recommended.
281
37d35007 282 [BZ #16629]
e04a4e9d
WN
283 * stdlib/tst-setcontext.c: Include signal.h.
284 (main): Check that the signal stack before and
285 after swapcontext is the same.
286
37d35007
WN
287 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
288 Re-implement to restore registers in user code and avoid
289 rt_sigreturn system call.
290
423a7160
W
2912014-04-17 Wilco <wdijkstr@arm.com>
292
293 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
294 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
295 * math/test-fenv.c: Skip exception trap tests on targets which only
296 support non-stop mode.
297
bc93ab29
IB
2982014-04-17 Ian Bolton <ian.bolton@arm.com>
299 Wilco Dijkstra <wilco.dijkstra@arm.com>
300
301 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
302 (libc_feholdsetround_aarch64_ctx)
303 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
304 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
305 (libc_feresetround_ctx, libc_feresetroundf_ctx)
306 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
307 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
308 (libc_feresetround_noexl_ctx): Define.
309
95fc5fa3
RH
3102014-04-16 Richard Henderson <rth@redhat.com>
311
ddb04724
RH
312 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
313
d77c0899
RH
314 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
315 unwind tables.
316
a3df56fc
RH
317 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
318 const from the non-libc, non-ldso copy.
319
95fc5fa3
RH
320 * sysdeps/alpha/libm-test-ulps: Regenerate.
321
7e0b6763
IB
3222014-04-16 Ian Bolton <ian.bolton@arm.com>
323 Wilco Dijkstra <wilco.dijkstra@arm.com>
324
325 * sysdeps/aarch64/fpu/math_private.h: New file.
326
a9ea2e0c
MS
3272014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
328
329 * sysdeps/aarch64/libm-test-ulps: Regenerate.
330
ea8ba7cd
IZ
3312014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
332
333 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
334 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
336 Intel MPX bound registers before _dl_profile_fixup.
337 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
338 registers after _dl_profile_fixup. Save and restore bound
339 registers bnd0/bnd1 when calling _dl_call_pltexit.
340 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
341 (LR_BND_OFFSET): Likewise.
342 (LRV_BND0_OFFSET): Likewise.
343 (LRV_BND1_OFFSET): Likewise.
344
9f2a4fbc
ST
3452014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
346
347 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
348 to...
349 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
350 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
351 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
352 fields.
9f2a4fbc 353
fd15a59b
ST
3542014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
355
356 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
357
f19dfa0a
SL
3582014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
359
360 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
361
4fa8bc3b
SL
3622014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
363
364 [BZ #14770]
365 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
366 * sysdeps/s390/configure: Regenerate.
367
8ea587db
SL
368 [BZ #16824]
369 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
370 Set round-to-nearest internally to reduce error accumulation.
371
aa5f0ff1
AM
3722014-04-16 Alan Modra <amodra@gmail.com>
373
374 [BZ #16740]
375 [BZ #16619]
376 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
377 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 378 * NEWS: Update fixed bug list.
aa5f0ff1 379
bb9c256f
SP
3802014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
381
382 * benchtests/Makefile: Depend on libraries in build directory.
383 (bench-math): Separate out math tests.
384 (bench-pthread): Separate out pthread tests.
385 (bench): Include math and pthread tests.
386
f737dfd0
CD
3872014-04-14 Carlos O'Donell <carlos@redhat.com>
388
389 [BZ #16831]
390 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
391 _dl_debug_initialize.
392
0699f766
CD
393 * configure.ac: Remove SELinux header check.
394 * configure: Regenerate.
395 * nscd/selinux.c (perms): Array of const char* to permission names.
396 (nscd_request_avc_has_perm): Call security_deny_unknown to find
397 default policy. Call string_to_security_class and string_to_av_perm to
398 translate strings. Enforce default policy and call avs_has_perm with
399 results of translated strings.
400
809bd45f
DM
4012014-04-13 David S. Miller <davem@davemloft.net>
402
403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
404
89e691f2
AM
4052014-04-12 Allan McRae <allan@archlinux.org>
406
407 [BZ #16838]
408 * manual/string.texi (Collation Functions): Fix qsort argument
409 order in example.
410 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
411
9c9daaeb
CM
4122014-04-11 Chris Metcalf <cmetcalf@tilera.com>
413
414 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
415 Make the test a no-op if there are no exceptions defined.
416
95561fb9
PP
4172014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
418
fe8d072c 419 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
420 enable-hardcoded-path-in-tests
421
970c602a
WN
4222014-04-11 Will Newton <will.newton@linaro.org>
423
424 * benchtests/Makefile (extra-objs): Add json-lib.o.
425 (bench-func): Tidy up JSON output.
426 * benchtests/bench-skeleton.c: Include json-lib.h.
427 (main): Use JSON library functions to do output of
428 benchmark results.
429 * benchtests/bench-timing-type.c (main): Output the
430 timing type simply, leaving formatting to the user.
431 * benchtests/json-lib.c: New file.
432 * benchtests/json-lib.h: Likewise.
433
36875b06
TR
4342014-04-11 Torvald Riegel <triegel@redhat.com>
435
436 [BZ #15215]
437 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
438 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
439 memory barriers. Add comments.
440 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
441 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
442 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
443 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
444 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
445 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
446
579db35a
SL
4472014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
448
449 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
450 * sysdeps/s390/s390-64/configure.ac: ... this ...
451 * sysdeps/s390/configure.ac: ... to here.
452 * sysdeps/s390/s390-32/configure: Delete file.
453 * sysdeps/s390/s390-64/configure: Delete file.
454 * sysdeps/s390/configure: Regenerate.
455
c12e9f37
JAPH
4562014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
457
458 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
459
439bda32
WN
4602014-04-11 Will Newton <will.newton@linaro.org>
461
462 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
463 to zero if it is not defined elsewhere. (mtrim): Test
464 the value of MALLOC_DEBUG with #if rather than #ifdef.
465
6a5d6ea1
TR
4662014-04-10 Torvald Riegel <triegel@redhat.com>
467
468 * benchtests/pthread_once-inputs: New file.
469 * benchtests/pthread_once-source.c: New file.
470 * benchtests/README: Update documentation.
471
a4c75cfd
IZ
4722014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
473 H.J. Lu <hongjiu.lu@intel.com>
474
475 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
476 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
477 * sysdeps/x86_64/configure: Regenerated.
478 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
479 macro.
480 (REGISTER_SAVE_RAX): Likewise.
481 (REGISTER_SAVE_RCX): Likewise.
482 (REGISTER_SAVE_RDX): Likewise.
483 (REGISTER_SAVE_RSI): Likewise.
484 (REGISTER_SAVE_RDI): Likewise.
485 (REGISTER_SAVE_R8): Likewise.
486 (REGISTER_SAVE_R9): Likewise.
487 (REGISTER_SAVE_BND0): Likewise.
488 (REGISTER_SAVE_BND1): Likewise.
489 (REGISTER_SAVE_BND2): Likewise.
490 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
491 bound registers when calling _dl_fixup.
492
27822ce6
AZ
4932014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494
495 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
496 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
497 of its definition.
27822ce6
AZ
498 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
499 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
500 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
501 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
502 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
503 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
504 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
505
a88ddc90
PTB
5062014-04-09 Peter Brett <peter@peter-b.co.uk>
507
508 [BZ #15514]
509 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
510 pathconf(_PC_NAME_MAX).
511
01f8eac2
AZ
5122014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
513
514 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
515 Remove macro usage.
516 (__PTHREAD_SPINS): Move definition to ...
517 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
518 (__PTHREAD_SPINS): ... here.
519 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
520 (__PTHREAD_SPIN): Likewise.
521 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
522 (__PTHREAD_SPIN): Likewise.
523 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
524 (__PTHREAD_SPIN): Likewise.
525 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
526 (__PTHREAD_SPIN): Likewise.
527 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
528 (__PTHREAD_SPIN): Likewise.
529 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
530 (__PTHREAD_SPIN): Likewise.
531 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
532 (__PTHREAD_SPIN): Likewise.
533 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
534 (__PTHREAD_SPIN): Likewise.
535 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
536 (__PTHREAD_SPIN): Likewise.
537 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
538 (__PTHREAD_SPIN): Likewise.
539 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
540 (__PTHREAD_SPIN): Likewise.
541 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
542 (__PTHREAD_SPIN): Likewise.
543
de21c33c
AZ
544 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
545 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
546 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
547 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
548 imply folder.
549 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
550 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
551 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
552 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
553 correct imply path.
554 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
555 strlen symbol for non multi-arch builds.
556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
557 missing hidden_def and weak_alias.
558
862c472e
CD
5592014-04-08 Carlos O'Donell <carlos@redhat.com>
560
561 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
562
8667f90e
WN
5632014-04-07 Will Newton <will.newton@linaro.org>
564
565 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
566 and contents. [!_LIBC] Remove #ifndef and contents.
567 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
568 * string/memccpy.c (__memccpy): Use ANSI prototype.
569 * string/memfrob.c (memfrob): Likewise.
570 * string/strcoll.c (STRCOLL): Likewise.
571 * string/strlen.c (strlen): Likewise.
572 * string/strtok.c (STRTOK): Likewise.
573 * string/strcat.c: Remove unused #include of memcopy.h.
574 (strcat): Use ANSI prototype.
575 * string/strchr.c: Remove unused #include of memcopy.h.
576 (strchr): Use ANSI prototype.
577 * string/strcmp.c: Remove unused #include of memcopy.h.
578 (strcmp): Use ANSI prototype.
579 * string/strcpy.c: Remove unused #include of memcopy.h.
580 (strcpy): Use ANSI prototype.
581
7ffa9423
AZ
5822014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
583
584 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
585 * config.make.in (config-extra-cppflags): Set it from
586 libc_extra_cppflags.
587 * configure.ac (libc_extra_cflags): Make it accumulate over
588 configure fragments.
589 (libc_extra_cppflags): New flag.
590 * configure. Regenerate.
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
592 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
593 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
595
8bd70862
AZ
596 [BZ #16815]
597 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
598 result for FE_DOWNWARD rounding mode.
599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
600 Likewise.
601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
602
d42f3448
CM
6032014-04-04 Chris Metcalf <cmetcalf@tilera.com>
604
605 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
606 in function argument name.
607
1c21d115
DS
6082014-04-03 David Svoboda <svoboda@cert.org>
609
610 [BZ #5666]
611 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
612 explicitly.
613
fcccd512
RM
6142014-04-03 Roland McGrath <roland@hack.frob.com>
615
616 * elf/dl-unmap-segments.h: New file.
617 * sysdeps/generic/ldsodefs.h
618 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
619 * elf/dl-close.c: Include <dl-unmap-segments.h>.
620 * elf/dl-fptr.c: Likewise.
621 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
622 * sysdeps/aarch64/tlsdesc.c: Likewise.
623 * sysdeps/arm/tlsdesc.c: Likewise.
624 * sysdeps/i386/tlsdesc.c: Likewise.
625 * sysdeps/tile/dl-runtime.c: Likewise.
626 * sysdeps/x86_64/tlsdesc.c: Likewise.
627 * elf/dl-load.h: New file.
628 * elf/dl-load.c: Include it.
629 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
630 Macros moved to dl-load.h.
631 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
632 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
633 Use _dl_unmap_segments in place of __munmap.
634 Break out segment-mapping loop into ...
635 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
636
f6488e2b
WN
6372014-04-03 Will Newton <will.newton@linaro.org>
638
639 * elf/dl-lookup.c (do_lookup_x): Remove comment
640 referring to nested function and move variable
641 declarations down to before first use.
642
6f05bafe
JM
6432014-04-02 Joseph Myers <joseph@codesourcery.com>
644
a84e78c8
JM
645 [BZ #16799]
646 [BZ #16800]
647 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
648 with 0 numerator.
649 * math/s_catanf.c (__catanf): Likewise.
650 * math/s_catanh.c (__catanh): Likewise.
651 * math/s_catanhf.c (__catanhf): Likewise.
652 * math/s_catanhl.c (__catanhl): Likewise.
653 * math/s_catanl.c (__catanl): Likewise.
654 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
655 by positive zero when computing -Inf result.
656 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
657 (catanh_test): Likewise.
658 * sysdeps/i386/fpu/libm-test-ulps: Update.
659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
660
6f05bafe
JM
661 [BZ #16789]
662 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
663 instead of using underflowing value in computing result.
664 * math/s_clog10.c (__clog10): Likewise.
665 * math/s_clog10f.c (__clog10f): Likewise.
666 * math/s_clog10l.c (__clog10l): Likewise.
667 * math/s_clogf.c (__clogf): Likewise.
668 * math/s_clogl.c (__clogl): Likewise.
669 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
670 (clog10_test): Likewise.
671 * sysdeps/i386/fpu/libm-test-ulps: Update.
672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
673
b0abbc21
AM
6742014-04-02 Alan Modra <amodra@gmail.com>
675
676 [BZ #16739]
677 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
678 output when value is near a power of two. Use int64_t for lx and
679 remove casts. Use decimal rather than hex exponent constants.
680 Don't use long double multiplication when double will suffice.
681 * math/libm-test.inc (nextafter_test_data): Add tests.
682 * NEWS: Add 16739 and 16786 to bug list.
683
af6b1797
AM
684 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
685
483818d7
AM
686 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
687
f6c55796
WN
6882014-04-01 Will Newton <will.newton@linaro.org>
689
690 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
691 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
692
13f7fe35
FW
6932014-04-01 Florian Weimer <fweimer@redhat.com>
694
695 [BZ #13347]
696 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
697 * nptl/tst-setuid2.c: New file.
698 * nptl/Makefile (xtests): Add tst-setuid2.
699
c859b32e
AM
7002014-04-01 Alan Modra <amodra@gmail.com>
701
702 [BZ #16786]
703 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
704
54fa2475
JM
7052014-03-31 Joseph Myers <joseph@codesourcery.com>
706
8795b4a4
JM
707 [BZ #6803]
708 [BZ #6804]
709 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
710 set errno as appropriate.
711 * math/w_scalbf.c (__scalbf): Likewise.
712 * math/w_scalbl.c (__scalbl): Likewise.
713 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
714 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
715 * math/libm-test.inc (scalb_test_data): Add errno expectations.
716 Add more NaN tests.
717
54fa2475
JM
718 [BZ #16349]
719 * math/w_atan2.c: Include <errno.h>.
720 (__atan2): Set errno for result underflowing to zero.
721 * math/w_atan2f.c: Include <errno.h>.
722 (__atan2f): Set errno for result underflowing to zero.
723 * math/w_atan2l.c: Include <errno.h>.
724 (__atan2l): Set errno for result underflowing to zero.
725 * math/auto-libm-test-in: Don't allow missing errno for some atan2
726 tests.
727 * math/auto-libm-test-out: Regenerated.
728
757d9dd5
AZ
7292014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730
731 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
732 Encode instruction correctly in little endian.
733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
734 Likewise.
735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
736 Likewise.
737 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
738 Likewise.
739 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
740 Likewise.
741
d7a68734
JM
7422014-03-31 Joseph Myers <joseph@codesourcery.com>
743
47c5adeb
JM
744 [BZ #9894]
745 * sysdeps/unix/sysv/linux/kernel-features.h
746 [__sparc__ && !__arch64__ && !__sparc_v9__]
747 (__ASSUME_SET_ROBUST_LIST): Do not define.
748 [__sparc__ && !__arch64__ && !__sparc_v9__]
749 (__ASSUME_FUTEX_LOCK_PI): Likewise.
750 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
751 Likewise.
752 * sysdeps/unix/sysv/linux/arm/kernel-features.h
753 (__ASSUME_FUTEX_LOCK_PI): Undefine.
754 (__ASSUME_REQUEUE_PI): Likewise.
755 (__ASSUME_SET_ROBUST_LIST): Likewise.
756 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
757 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
758 Undefine.
759 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
760 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
761 Likewise.
762 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
763 Likewise.
764 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
765 Likewise.
766 * sysdeps/unix/sysv/linux/mips/kernel-features.h
767 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
768 Undefine.
769 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
770 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
771 Likewise.
772
d7a68734
JM
773 [BZ #16648]
774 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
775 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
776 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
777
c760f5c2
WN
7782014-03-31 Will Newton <will.newton@linaro.org>
779
780 * benchtests/Makefile (bench): Add ffs and ffsll to list
781 of tests.
782 * benchtests/ffs-inputs: New file.
783 * benchtests/ffsll-inputs: Likewise.
784
ea6029b1
JM
7852014-03-29 Joseph Myers <joseph@codesourcery.com>
786
787 [BZ #16770]
788 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
789 too large before casting to int.
790 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
791 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
792 * math/libm-test.inc (scalb_test_data): Add more tests.
793
cf806aff
SP
7942014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
795
56737508
SP
796 * benchtests/Makefile (DETAILED_OPT): New make option.
797 (bench-func): Run benchmark program with -d if DETAILED_OPT is
798 set.
799 * benchtests/bench-skeleton.c: Include stdbool.h.
800 (main): Store and print timings per input.
801 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
802 member to each argument value.
803 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
804 (_print_arg_data): Initialize per-input timing to 0.
805
cb5e4aad
SP
806 * benchtests/Makefile (timing-type): New binary.
807 (bench-clean): Also remove bench-timing-type.
808 (bench): New target for timing-type.
809 (bench-func): Print output in JSON format.
810 * benchtests/bench-skeleton.c (main): Print output in JSON
811 format.
812 * benchtests/bench-timing-type.c: New file.
813 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
814 (TIMING_PRINT_STATS): Remove.
815 * benchtests/scripts/bench.py (_print_arg_data): Store variant
816 name separately.
817
cf806aff
SP
818 * benchtests/bench-modf.c: Remove.
819 * benchtests/modf-inputs: New inputs file.
820
289e0779
JM
8212014-03-28 Joseph Myers <joseph@codesourcery.com>
822
823 [BZ #16362]
824 * math/s_clog10.c (M_PI_LOG10E): New macro.
825 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
826 imaginary parts are 0.
827 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
828 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
829 imaginary parts are 0.
830 * math/s_clog10l.c (M_PI_LOG10El): New macro.
831 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
832 imaginary parts are 0.
833 * math/libm-test.inc (clog10_test_data): Update expected results
834 for when real and imaginary parts are 0.
835
277ae3f1
PP
8362014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
837
838 * elf/dl-load.c: Finish conversion of __builtin_expect into
839 __glibc_{un}likely.
840
03a7091f
JM
8412014-03-27 Joseph Myers <joseph@codesourcery.com>
842
843 [BZ #16348]
844 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
845 1+x for argument with exponent below -67.
846 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
847 Likewise.
848 * math/auto-libm-test-in: Add more tests of exp.
849 * math/auto-libm-test-out: Regenerated.
850
ea7d8b95
SP
8512014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
852
dd3022d7
SP
853 [BZ #16759]
854 * inet/getnetgrent_r.c (get_nonempty_val): New function.
855 (nscd_getnetgrent): Use it.
856
ea7d8b95
SP
857 [BZ #16760]
858 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
859 of stpcpy.
860
df5b85da
AK
8612014-03-27 Andi Kleen <ak@linux.intel.com>
862
57f41c40
AS
863 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
864 (lll_robust_lock, lll_cond_lock, lll_timedlock)
865 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
866 (lll_robust_unlock): Remove out of line section. Use cfi
867 intrinsics.
df5b85da 868 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
869 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
870 (lll_robust_lock, lll_cond_lock, lll_timedlock)
871 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
872 (lll_robust_unlock): Remove out of line section. Use cfi
873 intrinsics.
df5b85da
AK
874 (LLL_STUB_UNWIND_INFO*): Remove.
875
fbd6b5a4
SP
8762014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
877
878 [BZ #16758]
879 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
880 blank values.
881
1b26b855
PP
8822014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
883
884 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
885
9be36fb8
JM
8862014-03-26 Joseph Myers <joseph@codesourcery.com>
887
888 [BZ #16198]
889 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
890 fnstenv.
891 * math/test-fenv-preserve.c: New file.
892 * math/Makefile (tests): Add test-fenv-preserve.
893
60a2f3c1
WN
8942014-03-26 Will Newton <will.newton@linaro.org>
895
896 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
897
a5e5f1e2
RM
8982014-03-25 Roland McGrath <roland@hack.frob.com>
899
900 * scripts/versionlist.awk: Partition the version sets and emit all
901 GLIBC_* (sorted) before all others (sorted).
902
00f4012a
JM
9032014-03-25 Joseph Myers <joseph@codesourcery.com>
904
905 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
906 GLIBC_2.2.5 version.
907
7bc5a741
AZ
9082014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
909
910 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
911 calls.
912
7578473b
AZ
913 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
914 previous change.
915
f3f1dab3
AZ
916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
917
6da36183
AS
9182014-03-25 Andreas Schwab <schwab@suse.de>
919
920 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
921 label to be used after in6ailist is initialized.
922
f3f1dab3 9232014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 924
7578473b 925 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
926 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
927
046651c1
JM
9282014-03-25 Joseph Myers <joseph@codesourcery.com>
929
930 [BZ #16357]
931 [BZ #16599]
932 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
933 min_plus_half.
934 (fp_formats): Update initializers.
935 (init_fp_formats): Initialize new field.
936 (output_for_one_input_case): Allow underflow for results up to
937 min_plus_half.
938 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
939 * math/auto-libm-test-in: Don't mark some underflows from asin and
940 atanh as spurious.
941 * math/auto-libm-test-out: Regenerated.
942 * sysdeps/i386/fpu/libm-test-ulps: Update.
943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
944
003e49ed
AS
9452014-03-25 Andreas Schwab <schwab@suse.de>
946
947 * libio/Makefile (tst-ftell-partial-wide-ENV)
948 (tst-ftell-active-handler-ENV): Define.
949
de031874
SL
9502014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
951
952 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
953
55a81e3b
PP
9542014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
955
956 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
957
f3426898
JM
9582014-03-24 Joseph Myers <joseph@codesourcery.com>
959
960 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
961 * sysdeps/x86_64/fpu/multiarch/e_exp.c
962 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
963
a42faf59
PP
9642014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
965
966 [BZ #16634]
a42faf59 967 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
968 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
969 (open_path): Change from boolean 'secure' to complete flag 'mode'
970 (_dl_map_object): Adjust.
a42faf59
PP
971 * elf/Makefile (tests): Add tst-dlopen-aout.
972 * elf/tst-dlopen-aout.c: New test.
973
50936127
SL
9742014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
975
976 [BZ #16714]
977 * sysdeps/unix/sysv/linux/s390/bits/stat.h
978 (struct stat): Rename member pad0 to __glibc_reserved0.
979
26011b5c
SL
980 [BZ #16712]
981 * sysdeps/s390/s390-32/bits/wordsize.h
982 (__WORDSIZE32_SIZE_ULONG): New define.
983 * sysdeps/s390/s390-64/bits/wordsize.h
984 (__WORDSIZE32_SIZE_ULONG): Likewise.
985 * sysdeps/generic/stdint.h (SIZE_MAX):
986 Define as UL if __WORDSIZE32_SIZE_ULONG.
987
a2d86bf1
SL
988 [BZ #16713]
989 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
990 (__glibc_reserved0): New variable.
991 (sa_flags): Change type to int.
992
78b6eebc
SL
993 * posix/Makefile (before-compile): Use += before-compile instead
994 of a :=.
995
f1399b5a
SL
996 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
997 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
998
a071766e
AS
9992014-03-20 Andreas Schwab <schwab@suse.de>
1000
1001 [BZ #16743]
1002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1003 non-matching result from nscd.
1004
27c673b8
SP
10052014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1006
1007 * scripts/bench.py: Moved to ...
1008 * benchtests/scripts/bench.py: ... here.
1009 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1010
44152e4b
AS
10112014-03-24 Andreas Schwab <schwab@suse.de>
1012
1013 [BZ #16002]
1014 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1015 alloca_account and account alloca use for struct in6ailist.
1016
b376a11a
JM
10172014-03-24 Joseph Myers <joseph@codesourcery.com>
1018
1019 [BZ #16284]
1020 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1021 rounding mode to recompute results that overflow to infinity or
1022 underflow to zero.
1023 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1024 bug 16284.
1025 * math/auto-libm-test-out: Regenerated.
1026 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1027 (ccosh_test): Likewise.
1028 (csin_test_data): Use plus_oflow.
1029 (csin_test): Use ALL_RM_TEST.
1030 (csinh_test_data): Use plus_oflow.
1031 (csinh_test): Use ALL_RM_TEST.
1032 * sysdeps/i386/fpu/libm-test-ulps: Update.
1033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1034
f7be7376
JM
10352014-03-21 Joseph Myers <joseph@codesourcery.com>
1036
1ca2d03e
JM
1037 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1038 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1039 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1040
f7be7376
JM
1041 [BZ #16731]
1042 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1043 when x - 1 is zero.
1044 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1045 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1046 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1047 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1048 argument is 1.
1049 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1050 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1051 zero.
1052 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1053 * sysdeps/i386/fpu/libm-test-ulps: Update.
1054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1055
fdf4534d
SP
10562014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1057
df26ea53
SP
1058 * scripts/bench.pl: Remove file.
1059 * scripts/bench.py: New benchmark script.
1060 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1061 * benchtests/README: Mention python dependency.
1062 * scripts/pylintrc: New file.
1063 * scripts/pylint: New file.
1064
fdf4534d
SP
1065 * bits/mathdef.h: Use #ifdef instead of #if.
1066 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1067 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1068 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1069 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1070 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1071 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1072
6f23d093
AZ
10732014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1075
1076 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1078 and strpbrk-ppc64 objects.
1079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1080 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1081 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1082 multiarch strpbrk for POWER7.
1083 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1084 multiarch strpbrk for PPC64.
1085 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1086 ifunc selector.
1087 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1088 strpbrk for POWER7.
1089
8c92dfff
JM
10902014-03-20 Joseph Myers <joseph@codesourcery.com>
1091
1092 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1093 (atan_test): Likewise.
1094 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1095 (atanh_test): Use ALL_RM_TEST.
1096 (atan2_test_data): Likewise.
1097 (cabs_test): Likewise.
1098 (cacosh_test): Likewise.
1099 (carg_test): Likewise.
1100 (casin_test): Likewise.
1101 (casinh_test): Likewise.
1102 (cbrt_test): Likewise.
1103 (csqrt_test): Likewise.
1104 (erf_test): Likewise.
1105 (erfc_test): Likewise.
1106 (pow10_test): Likewise.
1107 (exp2_test): Likewise.
1108 (hypot_test): Likewise.
1109 (j0_test): Likewise.
1110 (j1_test): Likewise.
1111 (lgamma_test): Likewise.
1112 (gamma_test): Likewise.
1113 (sincos_test): Likewise.
1114 (tanh_test): Likewise.
1115 (y0_test): Likewise.
1116 (y1_test): Likewise.
1117 * sysdeps/i386/fpu/libm-test-ulps: Update.
1118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1119
6eaf95cb
AZ
11202014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1121
a387428c
SP
1122 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1124 and strcspn-ppc64 objects.
1125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1126 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1127 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1128 multiarch strcspn for POWER7.
1129 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1130 multiarch strcspn for PPC64.
1131 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1132 ifunc selector.
1133 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1134 strcspn for POWER7.
1135
ae3a5dff
JM
11362014-03-20 Joseph Myers <joseph@codesourcery.com>
1137
1138 * math/gen-libm-test.pl (generate_testfile): Expect only function
1139 name as argument to AUTO_TESTS_* and pass results for all rounding
1140 modes to parse_args.
1141 (parse_auto_input): Separate inputs of automatic tests from
1142 outputs before storing in %auto_tests.
1143 * math/libm-test.inc (acos_test_data): Update call to
1144 AUTO_TESTS_f_f.
1145 (acos_test): Use ALL_RM_TEST.
1146 (acos_tonearest_test_data): Remove.
1147 (acos_test_tonearest): Likewise.
1148 (acos_towardzero_test_data): Likewise.
1149 (acos_test_towardzero): Likewise.
1150 (acos_downward_test_data): Likewise.
1151 (acos_test_downward): Likewise.
1152 (acos_upward_test_data): Likewise.
1153 (acos_test_upward): Likewise.
1154 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1155 (asin_test_data): Likewise.
1156 (asin_test): Use ALL_RM_TEST.
1157 (asin_tonearest_test_data): Remove.
1158 (asin_test_tonearest): Likewise.
1159 (asin_towardzero_test_data): Likewise.
1160 (asin_test_towardzero): Likewise.
1161 (asin_downward_test_data): Likewise.
1162 (asin_test_downward): Likewise.
1163 (asin_upward_test_data): Likewise.
1164 (asin_test_upward): Likewise.
1165 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1166 (atan_test_data): Likewise.
1167 (atanh_test_data): Likewise.
1168 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1169 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1170 (carg_test_data): Likewise.
1171 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1172 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1173 (ccosh_test_data): Likewise.
1174 (cexp_test_data): Likewise.
1175 (clog_test_data): Likewise.
1176 (clog10_test_data): Likewise.
1177 (cos_test_data): Update call to AUTO_TESTS_f_f.
1178 (cos_test): Use ALL_RM_TEST.
1179 (cos_tonearest_test_data): Remove.
1180 (cos_test_tonearest): Likewise.
1181 (cos_towardzero_test_data): Likewise.
1182 (cos_test_towardzero): Likewise.
1183 (cos_downward_test_data): Likewise.
1184 (cos_test_downward): Likewise.
1185 (cos_upward_test_data): Likewise.
1186 (cos_test_upward): Likewise.
1187 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1188 (cosh_test): Use ALL_RM_TEST.
1189 (cosh_tonearest_test_data): Remove.
1190 (cosh_test_tonearest): Likewise.
1191 (cosh_towardzero_test_data): Likewise.
1192 (cosh_test_towardzero): Likewise.
1193 (cosh_downward_test_data): Likewise.
1194 (cosh_test_downward): Likewise.
1195 (cosh_upward_test_data): Likewise.
1196 (cosh_test_upward): Likewise.
1197 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1198 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1199 (ctan_test_data): Likewise.
1200 (ctan_test): Use ALL_RM_TEST.
1201 (ctan_tonearest_test_data): Remove.
1202 (ctan_test_tonearest): Likewise.
1203 (ctan_towardzero_test_data): Likewise.
1204 (ctan_test_towardzero): Likewise.
1205 (ctan_downward_test_data): Likewise.
1206 (ctan_test_downward): Likewise.
1207 (ctan_upward_test_data): Likewise.
1208 (ctan_test_upward): Likewise.
1209 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1210 (ctanh_test): Use ALL_RM_TEST.
1211 (ctanh_tonearest_test_data): Remove.
1212 (ctanh_test_tonearest): Likewise.
1213 (ctanh_towardzero_test_data): Likewise.
1214 (ctanh_test_towardzero): Likewise.
1215 (ctanh_downward_test_data): Likewise.
1216 (ctanh_test_downward): Likewise.
1217 (ctanh_upward_test_data): Likewise.
1218 (ctanh_test_upward): Likewise.
1219 (erf_test_data): Update call to AUTO_TESTS_f_f.
1220 (erfc_test_data): Likewise.
1221 (exp_test_data): Likewise.
1222 (exp_test): Use ALL_RM_TEST.
1223 (exp_tonearest_test_data): Remove.
1224 (exp_test_tonearest): Likewise.
1225 (exp_towardzero_test_data): Likewise.
1226 (exp_test_towardzero): Likewise.
1227 (exp_downward_test_data): Likewise.
1228 (exp_test_downward): Likewise.
1229 (exp_upward_test_data): Likewise.
1230 (exp_test_upward): Likewise.
1231 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1232 (exp10_test): Use ALL_RM_TEST.
1233 (exp10_tonearest_test_data): Remove.
1234 (exp10_test_tonearest): Likewise.
1235 (exp10_towardzero_test_data): Likewise.
1236 (exp10_test_towardzero): Likewise.
1237 (exp10_downward_test_data): Likewise.
1238 (exp10_test_downward): Likewise.
1239 (exp10_upward_test_data): Likewise.
1240 (exp10_test_upward): Likewise.
1241 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1242 (expm1_test_data): Likewise.
1243 (expm1_test): Use ALL_RM_TEST.
1244 (expm1_tonearest_test_data): Remove.
1245 (expm1_test_tonearest): Likewise.
1246 (expm1_towardzero_test_data): Likewise.
1247 (expm1_test_towardzero): Likewise.
1248 (expm1_downward_test_data): Likewise.
1249 (expm1_test_downward): Likewise.
1250 (expm1_upward_test_data): Likewise.
1251 (expm1_test_upward): Likewise.
1252 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1253 (fma_test): Use ALL_RM_TEST.
1254 (fma_towardzero_test_data): Remove.
1255 (fma_test_towardzero): Likewise.
1256 (fma_downward_test_data): Likewise.
1257 (fma_test_downward): Likewise.
1258 (fma_upward_test_data): Likewise.
1259 (fma_test_upward): Likewise.
1260 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1261 (j0_test_data): Update call to AUTO_TESTS_f_f.
1262 (j1_test_data): Likewise.
1263 (jn_test_data): Update call to AUTO_TESTS_if_f.
1264 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1265 (log_test_data): Update call to AUTO_TESTS_f_f.
1266 (log10_test_data): Likewise.
1267 (log1p_test_data): Likewise.
1268 (log2_test_data): Likewise.
1269 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1270 (pow_tonearest_test_data): Likewise.
1271 (sin_test_data): Update call to AUTO_TESTS_f_f.
1272 (sin_test): Use ALL_RM_TEST.
1273 (sin_tonearest_test_data): Remove.
1274 (sin_test_tonearest): Likewise.
1275 (sin_towardzero_test_data): Likewise.
1276 (sin_test_towardzero): Likewise.
1277 (sin_downward_test_data): Likewise.
1278 (sin_test_downward): Likewise.
1279 (sin_upward_test_data): Likewise.
1280 (sin_test_upward): Likewise.
1281 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1282 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1283 (sinh_test): Use ALL_RM_TEST.
1284 (sinh_tonearest_test_data): Remove.
1285 (sinh_test_tonearest): Likewise.
1286 (sinh_towardzero_test_data): Likewise.
1287 (sinh_test_towardzero): Likewise.
1288 (sinh_downward_test_data): Likewise.
1289 (sinh_test_downward): Likewise.
1290 (sinh_upward_test_data): Likewise.
1291 (sinh_test_upward): Likewise.
1292 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1293 (sqrt_test): Use ALL_RM_TEST.
1294 (sqrt_tonearest_test_data): Remove.
1295 (sqrt_test_tonearest): Likewise.
1296 (sqrt_towardzero_test_data): Likewise.
1297 (sqrt_test_towardzero): Likewise.
1298 (sqrt_downward_test_data): Likewise.
1299 (sqrt_test_downward): Likewise.
1300 (sqrt_upward_test_data): Likewise.
1301 (sqrt_test_upward): Likewise.
1302 (tan_test_data): Update call to AUTO_TESTS_f_f.
1303 (tan_test): Use ALL_RM_TEST.
1304 (tan_tonearest_test_data): Remove.
1305 (tan_test_tonearest): Likewise.
1306 (tan_towardzero_test_data): Likewise.
1307 (tan_test_towardzero): Likewise.
1308 (tan_downward_test_data): Likewise.
1309 (tan_test_downward): Likewise.
1310 (tan_upward_test_data): Likewise.
1311 (tan_test_upward): Likewise.
1312 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1313 (tgamma_test_data): Likewise.
1314 (y0_test_data): Likewise.
1315 (y1_test_data): Likewise.
1316 (yn_test_data): Update call to AUTO_TESTS_if_f.
1317 (main): Do not call removed functions.
1318
d71aeee8
JM
13192014-03-19 Joseph Myers <joseph@codesourcery.com>
1320
1321 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1322 (ldexp_test_data): Remove.
1323 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1324 scalbn_test_data.
1325 (scalb_test): Use ALL_RM_TEST.
1326
baaf1ded
AS
13272014-03-19 Andreas Schwab <schwab@suse.de>
1328
1329 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1330
b1115e91
JM
13312014-03-19 Joseph Myers <joseph@codesourcery.com>
1332
1333 [BZ #16649]
1334 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1335 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1336 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1337 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1338 (__ASSUME_PREADV): Undefine.
1339 (__ASSUME_PWRITEV): Likewise.
1340
0283ecca
RM
13412014-03-18 Roland McGrath <roland@hack.frob.com>
1342
7d375303
RM
1343 * bits/mman-linux.h: Add comment about non-Linux use.
1344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1345 bits/mman-linux.h resting place.
1346
0283ecca
RM
1347 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1348 * bits/mman-linux.h: ... here.
1349
aebe1003
AZ
13502014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1351
1352 * conform/conformtest.pl: Add standard definition when calling C
1353 preprocessor on data files.
1354 (checknamespace): Remove unused variable.
1355
b29b6bb8
JM
13562014-03-18 Joseph Myers <joseph@codesourcery.com>
1357
1358 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1359 minus_oflow, plus_uflow and minus_uflow in expected results.
1360 * math/libm-test.inc (scalbn_test_data): Add more tests of
1361 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1362 minus_uflow.
1363 (scalbn_test): Use ALL_RM_TEST.
1364 (scalbln_test_data): Add more tests of negative arguments. Use
1365 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1366 (scalbln_test): Use ALL_RM_TEST.
1367
c8f8fa15
RM
13682014-03-18 Roland McGrath <roland@hack.frob.com>
1369
1370 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1371
fede7a5f
WN
13722014-03-18 Will Newton <will.newton@linaro.org>
1373
1374 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1375 inaccurate comment.
1376
80cf0a58
JM
13772014-03-18 Joseph Myers <joseph@codesourcery.com>
1378
1379 * Makerules [!subdir] (check-abi): Exit with error status if a
1380 test failed.
1381
b3620862
JM
13822014-03-17 Joseph Myers <joseph@codesourcery.com>
1383
1384 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1385 for rint. Include results for all rounding modes.
1386 (nearbyint_test): Use ALL_RM_TEST.
1387 (rint_test_data): Include all tests used for nearbyint.
1388
788bba36
WN
13892014-03-17 Will Newton <will.newton@linaro.org>
1390
04ec140a
WN
1391 * nptl/sysdeps/pthread/pthread.h: Revert previous
1392 change.
1393
7579d8d5
WN
1394 * sysdeps/generic/ldsodefs.h: Revert previous
1395 change.
1396
c15cf13a
WN
1397 * libio/genops.c: Revert previous change.
1398 * libio/libioP.h: Likewise.
1399 * stdio-common/vfprintf.c: Likewise.
1400
d0ac1324
WN
1401 * sysdeps/generic/math_private.h: Revert previous
1402 change.
1403
9290130a
WN
1404 * sysdeps/generic/math_private.h: Check whether
1405 HAVE_RM_CTX is defined with #ifdef rather
1406 than #if.
1407
afb466fc
WN
1408 * argp/argp-fmtstream.h: Check whether
1409 __STRICT_ANSI__ is defined with #ifdef rather
1410 than #if.
1411 * argp/argp.h: Likewise.
1412
f7efd7c3
WN
1413 * libio/genops.c: Check whether
1414 _IO_JUMPS_OFFSET is defined with #ifdef rather
1415 than #if.
1416 * libio/libioP.h: Likewise.
1417 * stdio-common/vfprintf.c: Likewise.
1418
53f1bed3
WN
1419 * sysdeps/generic/ldsodefs.h: Check whether
1420 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1421 than #if.
1422
788bba36
WN
1423 * nptl/sysdeps/pthread/pthread.h: Check
1424 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1425 its value.
1426
fcd89ebe
SP
14272014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1428
ae42bbc5
SP
1429 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1430 setting O_APPEND.
1431 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1432 test case.
1433
ea33158c
SP
1434 [BZ #16680]
1435 * libio/fileops.c (_IO_file_open): Seek to end of file but
1436 don't cache the offset.
1437 (get_file_offset): Remove function.
1438 (do_ftell): Use cached offset when available.
1439 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1440 don't cache the offset.
1441 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1442 case.
1443 (do_one_test): Call it.
1444 (do_ftell_test): Fix up expected old offset for a+ mode.
1445 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1446 available.
1447
b1dbb426
SP
1448 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1449 up test status with function return status.
1450 (do_write_test): Likewise.
1451 (do_append_test): Likewise.
1452
fcd89ebe
SP
1453 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1454 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1455 Remove.
1456
9962a2d3
JM
14572014-03-17 Joseph Myers <joseph@codesourcery.com>
1458
1459 * math/gen-libm-test.pl (parse_args): Handle results specified for
1460 each rounding mode separately.
1461 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1462 tests and results from lrint_tonearest_test_data,
1463 lrint_towardzero_test_data, lrint_downward_test_data and
1464 lrint_upward_test_data.
1465 (lrint_test): Use ALL_RM_TEST.
1466 (lrint_tonearest_test_data): Remove.
1467 (lrint_test_tonearest): Likewise.
1468 (lrint_towardzero_test_data): Likewise.
1469 (lrint_test_towardzero): Likewise.
1470 (lrint_downward_test_data): Likewise.
1471 (lrint_test_downward): Likewise.
1472 (lrint_upward_test_data): Likewise.
1473 (lrint_test_upward): Likewise.
1474 (llrint_test_data): Merge in per-rounding-mode tests and results
1475 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1476 llrint_downward_test_data and llrint_upward_test_data.
1477 (llrint_test): Use ALL_RM_TEST.
1478 (llrint_tonearest_test_data): Remove.
1479 (llrint_test_tonearest): Likewise.
1480 (llrint_towardzero_test_data): Likewise.
1481 (llrint_test_towardzero): Likewise.
1482 (llrint_downward_test_data): Likewise.
1483 (llrint_test_downward): Likewise.
1484 (llrint_upward_test_data): Likewise.
1485 (llrint_test_upward): Likewise.
1486 (rint_test_data): Merge in per-rounding-mode tests and results
1487 from rint_tonearest_test_data, rint_towardzero_test_data,
1488 rint_downward_test_data and rint_upward_test_data. Add
1489 per-rounding-mode results for tests not in those arrays.
1490 (rint_test): Use ALL_RM_TEST.
1491 (rint_tonearest_test_data): Remove.
1492 (rint_test_tonearest): Likewise.
1493 (rint_towardzero_test_data): Likewise.
1494 (rint_test_towardzero): Likewise.
1495 (rint_downward_test_data): Likewise.
1496 (rint_test_downward): Likewise.
1497 (rint_upward_test_data): Likewise.
1498 (rint_test_upward): Likewise.
1499 (main): Don't call removed functions.
1500
5006148e
RM
15012014-03-14 Roland McGrath <roland@hack.frob.com>
1502
1503 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1504 "Compiled on ..." crapola. It is anti-useful.
1505
d6fe5e58
JM
15062014-03-14 Joseph Myers <joseph@codesourcery.com>
1507
1508 * scripts/evaluate-test.sh: Handle fourth argument to determine
1509 whether test run should stop on failure.
1510 * Makeconfig (stop-on-test-failure): New variable.
1511 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1512 $(stop-on-test-failure).
1513 * Makefile (tests): Give a summary of results from testing and
1514 exit with failure status if they include an ERROR or FAIL.
1515 (xtests): Likewise.
1516 * manual/install.texi (Configuring and compiling): Mention
1517 stop-on-test-failure=y.
1518 * INSTALL: Regenerated.
1519
498a2233
RM
15202014-03-14 Roland McGrath <roland@hack.frob.com>
1521
22dbc19d
RM
1522 * scripts/versionlist.awk: New file.
1523 * Makerules [$(build-shared) = yes]
1524 (postclean-generated): Add Versions.def, not Versions.def.v and
1525 Versions.def.v.i.
1526 ($(common-objpfx)Versions.def.v.i): Target removed.
1527 ($(common-objpfx)Versions.def): New target.
1528 ($(common-objpfx)Versions.all): Depend on that rather that
1529 $(common-objpfx)Versions.def.v.
1530 * Versions.def: File removed.
1531
498a2233
RM
1532 * Makeconfig (+gccwarn): Add -Wundef.
1533 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1534 a dl-sysdep.h breaking its contract.
1535 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1536 * include/stackinfo.h: New file.
1537 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1538 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1539 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1540 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1541 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1542 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1543 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1544 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1545 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1546 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1547 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1548 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1549 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1550 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1551 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1552
c7de5025
AZ
15532014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1554
1555 [BZ #16707]
1556 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1557 implementation.
1558 * math/libm-test.inc (round_test_data): Add more tests.
1559
98fb27a3
AZ
1560 [BZ #16706]
1561 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1562 implementation.
1563 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1564
374f7f61
AZ
1565 [BZ #16701]
1566 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1567 implementation.
1568 * math/libm-test.inc (ceil_test_data): Add more tests.
1569
4655c291
AZ
1570 * math/libm-test.inc (trunc_test_data): Add more tests related to
1571 BZ#16414.
1572
d7329d4b
RM
15732014-03-14 Roland McGrath <roland@hack.frob.com>
1574
1575 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1576 with #if rather than #ifdef.
1577 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1578
aa4de9ce
L
15792014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1580
1581 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1582 first. Disable AVX-512 GCC support if assembler doesn't support
1583 it.
1584 * sysdeps/x86_64/configure: Regenerated.
1585
2e03fae7
CD
15862014-03-13 Carlos O'Donell <carlos@redhat.com>
1587
1588 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1589 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1590 (__old_pthread_attr_setstack): Likewise.
1591 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1592 [!_STACK_GROWS_DOWN]: Likewise.
1593
43ca83ec
MF
15942014-03-13 Mike Frysinger <vapier@gentoo.org>
1595
1596 * config.make.in (have-bash2): Delete.
1597 * configure.ac (libc_cv_have_bash2): Delete.
1598 * configure: Regenerate.
1599 * elf/Makefile (common-ldd-rewrite): Rename to ...
1600 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1601 (sh-ldd-rewrite): Delete.
1602 (bash-ldd-rewrite): Delete.
1603 (have-bash2): Delete checks.
57f41c40
AS
1604 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1605 ldd-rewrite.
c66e48b4
MF
1606
1607 * config.make.in (have-ksh): Delete.
1608 (KSH): Delete.
1609 * configure.ac (libc_cv_have_ksh): Delete.
1610 * configure: Regenerate.
1611
b93834ef
MF
1612 * elf/Makefile: Delete $(have-ksh) check.
1613 ($(objpfx)sotruss): Change KSH to BASH.
1614 * elf/sotruss.ksh: Rename to ...
1615 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1616 function style to match POSIX. Drop ksh vim mode setting.
1617
f3a4632a
MF
1618 * manual/time.texi (Specifying the Time Zone with TZ): Change
1619 Tuesday to Thursday.
1620
5896c8bd
MF
1621 * debug/tst-longjmp_chk2.c: Update header comment.
1622 (stackoverflow_handler): Add comment. Call assert on pass value.
1623
2d63a517
IZ
16242014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1625
1626 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1627 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1628 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1629 (La_x86_64_vector): Add zmm.
1630 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1631 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1632 ($(objpfx)tst-audit10): New target.
1633 ($(objpfx)tst-audit10.out): Likewise.
1634 (tst-audit10-ENV): New.
1635 (AVX512-CFLAGS): Likewise.
1636 (CFLAGS-tst-audit10.c): Likewise.
1637 (CFLAGS-tst-auditmod10a.c): Likewise.
1638 (CFLAGS-tst-auditmod10b.c): Likewise.
1639 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1640 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1641 * sysdeps/x86_64/configure: Regenerated.
1642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1643 AVX-512 zmm register support.
1644 (_dl_x86_64_save_sse): Likewise.
1645 (_dl_x86_64_restore_sse): Likewise.
1646 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1647 size vector registers.
1648 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1649 (ZMM_SIZE): Likewise.
1650 * sysdeps/x86_64/tst-audit10.c: New file.
1651 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1652 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1653
44c4e5d5
RM
16542014-03-13 Roland McGrath <roland@hack.frob.com>
1655
1656 * configure.ac (HAVE_EHDR_START): New check.
1657 * configure: Regenerated.
1658 * config.h.in (HAVE_EHDR_START): New #undef.
1659 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1660 assuming the lowest-addressed segment maps the start of the file.
1661
acd6e389
JM
16622014-03-13 Joseph Myers <joseph@codesourcery.com>
1663
1664 * INSTALL: Regenerated.
1665
6f918f36
WN
16662014-03-13 Will Newton <will.newton@linaro.org>
1667
1668 * manual/setjmp.texi (System V contexts): Improve
1669 clarity and grammar of documentation.
1670
798212a0
PP
16712014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1672
1673 [BZ #16381]
798212a0 1674 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1675 (tests-pie): Add tst-pie2.
798212a0
PP
1676 * elf/tst-pie2.c: New file.
1677 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1678 for ET_EXEC.
1679 * elf/rtld.c (map_doit): Load executable as lt_executable.
1680 (dl_main): Likewise.
1681
abe6d90c
JM
16822014-03-12 Joseph Myers <joseph@codesourcery.com>
1683
1684 [BZ #16642]
1685 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1686 (__ASSUME_PSELECT): Undefine.
1687
dd3946c6
AZ
16882014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689
1690 [BZ #16689]
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1692 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1693 static build.
1694 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1695 selector for static builds.
1696
c44496df
SP
16972014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1698
1699 [BZ #16695]
1700 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1701 key in the buffer.
1702
27c7220a
AZ
17032014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1704
57f41c40
AS
1705 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1706 IFUNC selector for static builds.
27c7220a 1707
600fa361
JM
17082014-03-11 Joseph Myers <joseph@codesourcery.com>
1709
76c96cf7
JM
1710 * sysdeps/mips/math_private.h [__mips_hard_float]
1711 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1712 libc_feresetround_mips_ctx.
1713 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1714 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1715 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1716
600fa361
JM
1717 [BZ #16677]
1718 * math/s_nextafter.c (__nextafter): Do not return value from
1719 overflowing computation.
1720 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1721 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1722 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1723 Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1725 Likewise.
1726 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1727 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1728
d7706c32
RM
17292014-03-11 Roland McGrath <roland@hack.frob.com>
1730
1731 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1732 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1733 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1734 the new mov targetting sp.
1735
4facea47
AZ
17362014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1737
1738 [BZ #16683]
1739 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1740 Define it for static builds as well.
1741 (NO_BZERO_IMPL): Likewise.
1742
e65caf1f
VR
17432014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1744
1745 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1746 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1747 multiarch strspn for PPC64.
1748 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1749 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1751 (__libc_ifunc_impl_list): Likewise.
1752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1753 multiarch optimizations
1754 * string/strspn.c (strspn): Using macro to redefine symbol name.
1755
ba9cc071
AZ
17562014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1757 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1758
1759 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1760 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1761 multiarch strncat for PPC64.
1762 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1763 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1765 (__libc_ifunc_impl_list): Likewise.
1766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1767 multiarch optimizations
1768
8b4ff974
SP
17692014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1770
1771 [BZ #16639]
1772 * nscd/nscd.service: Make service type forking.
1773
54b46a4b
AZ
17742014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1775
1776 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1777 sign in non default rounding modes.
1778 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1779
e9996ef7
JM
17802014-03-08 Joseph Myers <joseph@codesourcery.com>
1781
1782 * math/libm-test.inc (ALL_RM_TEST): New macro.
1783 (ceil_test): Use ALL_RM_TEST.
1784 (cimag_test): Likewise.
1785 (conj_test): Likewise.
1786 (copysign_test): Likewise.
1787 (cproj_test): Likewise.
1788 (creal_test): Likewise.
1789 (fabs_test): Likewise.
1790 (floor_test): Likewise.
1791 (fmax_test): Likewise.
1792 (fmin_test): Likewise.
1793 (fmod_test): Likewise.
1794 (fpclassify_test): Likewise.
1795 (frexp_test): Likewise.
1796 (ilogb_test): Likewise.
1797 (isfinite_test): Likewise.
1798 (finite_test): Likewise.
1799 (isgreater_test): Likewise.
1800 (isgreaterequal_test): Likewise.
1801 (isinf_test): Likewise.
1802 (isless_test): Likewise.
1803 (islessequal_test): Likewise.
1804 (islessgreater_test): Likewise.
1805 (isnan_test): Likewise.
1806 (isnormal_test): Likewise.
1807 (issignaling_test): Likewise.
1808 (isunordered_test): Likewise.
1809 (logb_test): Likewise.
1810 (logb_downward_test_data): Remove.
1811 (logb_test_downward): Likewise.
1812 (lround_test): Use ALL_RM_TEST.
1813 (llround_test): Likewise.
1814 (modf_test): Likewise.
1815 (nexttoward_test): Likewise.
1816 (remainder_test): Likewise.
1817 (drem_test): Likewise.
1818 (remainder_tonearest_test_data): Likewise.
1819 (remainder_test_tonearest): Likewise.
1820 (drem_test_tonearest): Likewise.
1821 (remainder_towardzero_test_data): Likewise.
1822 (remainder_test_towardzero): Likewise.
1823 (drem_test_towardzero): Likewise.
1824 (remainder_downward_test_data): Likewise.
1825 (remainder_test_downward): Likewise.
1826 (drem_test_downward): Likewise.
1827 (remainder_upward_test_data): Likewise.
1828 (remainder_test_upward): Likewise.
1829 (drem_test_upward): Likewise.
1830 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1831 (round_test): Use ALL_RM_TEST.
1832 (signbit_test): Likewise.
1833 (trunc_test): Likewise.
1834 (significand_test): Likewise.
1835 (main): Don't call removed functions.
1836
bc61d27c
JM
18372014-03-07 Joseph Myers <joseph@codesourcery.com>
1838
5c780849
JM
1839 [BZ #16674]
1840 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1841 || __USE_XOPEN2K8].
1842 (ILL_ILLOPN): Likewise.
1843 (ILL_ILLADR): Likewise.
1844 (ILL_ILLTRP): Likewise.
1845 (ILL_PRVOPC): Likewise.
1846 (ILL_PRVREG): Likewise.
1847 (ILL_COPROC): Likewise.
1848 (ILL_BADSTK): Likewise.
1849 (FPE_INTDIV): Likewise.
1850 (FPE_INTOVF): Likewise.
1851 (FPE_FLTDIV): Likewise.
1852 (FPE_FLTOVF): Likewise.
1853 (FPE_FLTUND): Likewise.
1854 (FPE_FLTRES): Likewise.
1855 (FPE_FLTINV): Likewise.
1856 (FPE_FLTSUB): Likewise.
1857 (SEGV_MAPERR): Likewise.
1858 (SEGV_ACCERR): Likewise.
1859 (BUS_ADRALN): Likewise.
1860 (BUS_ADRERR): Likewise.
1861 (BUS_OBJERR): Likewise.
1862 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1863 (TRAP_TRACE): Likewise.
1864 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1865 __USE_XOPEN2K8].
1866 (CLD_KILLED): Likewise.
1867 (CLD_DUMPED): Likewise.
1868 (CLD_TRAPPED): Likewise.
1869 (CLD_STOPPED): Likewise.
1870 (CLD_CONTINUED): Likewise.
1871 (POLL_IN): Likewise.
1872 (POLL_OUT): Likewise.
1873 (POLL_MSG): Likewise.
1874 (POLL_ERR): Likewise.
1875 (POLL_PRI): Likewise.
1876 (POLL_HUP): Likewise.
1877 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1878 Likewise.
1879 (ILL_ILLOPN): Likewise.
1880 (ILL_ILLADR): Likewise.
1881 (ILL_ILLTRP): Likewise.
1882 (ILL_PRVOPC): Likewise.
1883 (ILL_PRVREG): Likewise.
1884 (ILL_COPROC): Likewise.
1885 (ILL_BADSTK): Likewise.
1886 (FPE_INTDIV): Likewise.
1887 (FPE_INTOVF): Likewise.
1888 (FPE_FLTDIV): Likewise.
1889 (FPE_FLTOVF): Likewise.
1890 (FPE_FLTUND): Likewise.
1891 (FPE_FLTRES): Likewise.
1892 (FPE_FLTINV): Likewise.
1893 (FPE_FLTSUB): Likewise.
1894 (SEGV_MAPERR): Likewise.
1895 (SEGV_ACCERR): Likewise.
1896 (BUS_ADRALN): Likewise.
1897 (BUS_ADRERR): Likewise.
1898 (BUS_OBJERR): Likewise.
1899 (BUS_MCEERR_AR): Likewise.
1900 (BUS_MCEERR_AO): Likewise.
1901 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1902 (TRAP_TRACE): Likewise.
1903 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1904 __USE_XOPEN2K8].
1905 (CLD_KILLED): Likewise.
1906 (CLD_DUMPED): Likewise.
1907 (CLD_TRAPPED): Likewise.
1908 (CLD_STOPPED): Likewise.
1909 (CLD_CONTINUED): Likewise.
1910 (POLL_IN): Likewise.
1911 (POLL_OUT): Likewise.
1912 (POLL_MSG): Likewise.
1913 (POLL_ERR): Likewise.
1914 (POLL_PRI): Likewise.
1915 (POLL_HUP): Likewise.
1916 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1917 (ILL_ILLOPN): Likewise.
1918 (ILL_ILLADR): Likewise.
1919 (ILL_ILLTRP): Likewise.
1920 (ILL_PRVOPC): Likewise.
1921 (ILL_PRVREG): Likewise.
1922 (ILL_COPROC): Likewise.
1923 (ILL_BADSTK): Likewise.
1924 (FPE_INTDIV): Likewise.
1925 (FPE_INTOVF): Likewise.
1926 (FPE_FLTDIV): Likewise.
1927 (FPE_FLTOVF): Likewise.
1928 (FPE_FLTUND): Likewise.
1929 (FPE_FLTRES): Likewise.
1930 (FPE_FLTINV): Likewise.
1931 (FPE_FLTSUB): Likewise.
1932 (SEGV_MAPERR): Likewise.
1933 (SEGV_ACCERR): Likewise.
1934 (BUS_ADRALN): Likewise.
1935 (BUS_ADRERR): Likewise.
1936 (BUS_OBJERR): Likewise.
1937 (BUS_MCEERR_AR): Likewise.
1938 (BUS_MCEERR_AO): Likewise.
1939 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1940 (TRAP_TRACE): Likewise.
1941 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1942 __USE_XOPEN2K8].
1943 (CLD_KILLED): Likewise.
1944 (CLD_DUMPED): Likewise.
1945 (CLD_TRAPPED): Likewise.
1946 (CLD_STOPPED): Likewise.
1947 (CLD_CONTINUED): Likewise.
1948 (POLL_IN): Likewise.
1949 (POLL_OUT): Likewise.
1950 (POLL_MSG): Likewise.
1951 (POLL_ERR): Likewise.
1952 (POLL_PRI): Likewise.
1953 (POLL_HUP): Likewise.
1954 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1955 Likewise.
1956 (ILL_ILLOPN): Likewise.
1957 (ILL_ILLADR): Likewise.
1958 (ILL_ILLTRP): Likewise.
1959 (ILL_PRVOPC): Likewise.
1960 (ILL_PRVREG): Likewise.
1961 (ILL_COPROC): Likewise.
1962 (ILL_BADSTK): Likewise.
1963 (ILL_BADIADDR): Likewise.
1964 (ILL_BREAK): Likewise.
1965 (FPE_INTDIV): Likewise.
1966 (FPE_INTOVF): Likewise.
1967 (FPE_FLTDIV): Likewise.
1968 (FPE_FLTOVF): Likewise.
1969 (FPE_FLTUND): Likewise.
1970 (FPE_FLTRES): Likewise.
1971 (FPE_FLTINV): Likewise.
1972 (FPE_FLTSUB): Likewise.
1973 (FPE_DECOVF): Likewise.
1974 (FPE_DECDIV): Likewise.
1975 (FPE_DECERR): Likewise.
1976 (FPE_INVASC): Likewise.
1977 (FPE_INVDEC): Likewise.
1978 (SEGV_MAPERR): Likewise.
1979 (SEGV_ACCERR): Likewise.
1980 (SEGV_PSTKOVF): Likewise.
1981 (BUS_ADRALN): Likewise.
1982 (BUS_ADRERR): Likewise.
1983 (BUS_OBJERR): Likewise.
1984 (BUS_MCEERR_AR): Likewise.
1985 (BUS_MCEERR_AO): Likewise.
1986 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1987 (TRAP_TRACE): Likewise.
1988 (TRAP_BRANCH): Likewise.
1989 (TRAP_HWBKPT): Likewise.
1990 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1991 __USE_XOPEN2K8].
1992 (CLD_KILLED): Likewise.
1993 (CLD_DUMPED): Likewise.
1994 (CLD_TRAPPED): Likewise.
1995 (CLD_STOPPED): Likewise.
1996 (CLD_CONTINUED): Likewise.
1997 (POLL_IN): Likewise.
1998 (POLL_OUT): Likewise.
1999 (POLL_MSG): Likewise.
2000 (POLL_ERR): Likewise.
2001 (POLL_PRI): Likewise.
2002 (POLL_HUP): Likewise.
2003 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2004 (ILL_ILLOPN): Likewise.
2005 (ILL_ILLADR): Likewise.
2006 (ILL_ILLTRP): Likewise.
2007 (ILL_PRVOPC): Likewise.
2008 (ILL_PRVREG): Likewise.
2009 (ILL_COPROC): Likewise.
2010 (ILL_BADSTK): Likewise.
2011 (FPE_INTDIV): Likewise.
2012 (FPE_INTOVF): Likewise.
2013 (FPE_FLTDIV): Likewise.
2014 (FPE_FLTOVF): Likewise.
2015 (FPE_FLTUND): Likewise.
2016 (FPE_FLTRES): Likewise.
2017 (FPE_FLTINV): Likewise.
2018 (FPE_FLTSUB): Likewise.
2019 (SEGV_MAPERR): Likewise.
2020 (SEGV_ACCERR): Likewise.
2021 (BUS_ADRALN): Likewise.
2022 (BUS_ADRERR): Likewise.
2023 (BUS_OBJERR): Likewise.
2024 (BUS_MCEERR_AR): Likewise.
2025 (BUS_MCEERR_AO): Likewise.
2026 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2027 (TRAP_TRACE): Likewise.
2028 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2029 __USE_XOPEN2K8].
2030 (CLD_KILLED): Likewise.
2031 (CLD_DUMPED): Likewise.
2032 (CLD_TRAPPED): Likewise.
2033 (CLD_STOPPED): Likewise.
2034 (CLD_CONTINUED): Likewise.
2035 (POLL_IN): Likewise.
2036 (POLL_OUT): Likewise.
2037 (POLL_MSG): Likewise.
2038 (POLL_ERR): Likewise.
2039 (POLL_PRI): Likewise.
2040 (POLL_HUP): Likewise.
2041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2042 (ILL_ILLOPN): Likewise.
2043 (ILL_ILLADR): Likewise.
2044 (ILL_ILLTRP): Likewise.
2045 (ILL_PRVOPC): Likewise.
2046 (ILL_PRVREG): Likewise.
2047 (ILL_COPROC): Likewise.
2048 (ILL_BADSTK): Likewise.
2049 (FPE_INTDIV): Likewise.
2050 (FPE_INTOVF): Likewise.
2051 (FPE_FLTDIV): Likewise.
2052 (FPE_FLTOVF): Likewise.
2053 (FPE_FLTUND): Likewise.
2054 (FPE_FLTRES): Likewise.
2055 (FPE_FLTINV): Likewise.
2056 (FPE_FLTSUB): Likewise.
2057 (SEGV_MAPERR): Likewise.
2058 (SEGV_ACCERR): Likewise.
2059 (BUS_ADRALN): Likewise.
2060 (BUS_ADRERR): Likewise.
2061 (BUS_OBJERR): Likewise.
2062 (BUS_MCEERR_AR): Likewise.
2063 (BUS_MCEERR_AO): Likewise.
2064 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2065 (TRAP_TRACE): Likewise.
2066 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2067 __USE_XOPEN2K8].
2068 (CLD_KILLED): Likewise.
2069 (CLD_DUMPED): Likewise.
2070 (CLD_TRAPPED): Likewise.
2071 (CLD_STOPPED): Likewise.
2072 (CLD_CONTINUED): Likewise.
2073 (POLL_IN): Likewise.
2074 (POLL_OUT): Likewise.
2075 (POLL_MSG): Likewise.
2076 (POLL_ERR): Likewise.
2077 (POLL_PRI): Likewise.
2078 (POLL_HUP): Likewise.
2079 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2080 (ILL_ILLOPN): Likewise.
2081 (ILL_ILLADR): Likewise.
2082 (ILL_ILLTRP): Likewise.
2083 (ILL_PRVOPC): Likewise.
2084 (ILL_PRVREG): Likewise.
2085 (ILL_COPROC): Likewise.
2086 (ILL_BADSTK): Likewise.
2087 (FPE_INTDIV): Likewise.
2088 (FPE_INTOVF): Likewise.
2089 (FPE_FLTDIV): Likewise.
2090 (FPE_FLTOVF): Likewise.
2091 (FPE_FLTUND): Likewise.
2092 (FPE_FLTRES): Likewise.
2093 (FPE_FLTINV): Likewise.
2094 (FPE_FLTSUB): Likewise.
2095 (SEGV_MAPERR): Likewise.
2096 (SEGV_ACCERR): Likewise.
2097 (BUS_ADRALN): Likewise.
2098 (BUS_ADRERR): Likewise.
2099 (BUS_OBJERR): Likewise.
2100 (BUS_MCEERR_AR): Likewise.
2101 (BUS_MCEERR_AO): Likewise.
2102 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2103 (TRAP_TRACE): Likewise.
2104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2105 __USE_XOPEN2K8].
2106 (CLD_KILLED): Likewise.
2107 (CLD_DUMPED): Likewise.
2108 (CLD_TRAPPED): Likewise.
2109 (CLD_STOPPED): Likewise.
2110 (CLD_CONTINUED): Likewise.
2111 (POLL_IN): Likewise.
2112 (POLL_OUT): Likewise.
2113 (POLL_MSG): Likewise.
2114 (POLL_ERR): Likewise.
2115 (POLL_PRI): Likewise.
2116 (POLL_HUP): Likewise.
2117 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2118 (ILL_ILLOPN): Likewise.
2119 (ILL_ILLADR): Likewise.
2120 (ILL_ILLTRP): Likewise.
2121 (ILL_PRVOPC): Likewise.
2122 (ILL_PRVREG): Likewise.
2123 (ILL_COPROC): Likewise.
2124 (ILL_BADSTK): Likewise.
2125 (ILL_DBLFLT): Likewise.
2126 (ILL_HARDWALL): Likewise.
2127 (FPE_INTDIV): Likewise.
2128 (FPE_INTOVF): Likewise.
2129 (FPE_FLTDIV): Likewise.
2130 (FPE_FLTOVF): Likewise.
2131 (FPE_FLTUND): Likewise.
2132 (FPE_FLTRES): Likewise.
2133 (FPE_FLTINV): Likewise.
2134 (FPE_FLTSUB): Likewise.
2135 (SEGV_MAPERR): Likewise.
2136 (SEGV_ACCERR): Likewise.
2137 (BUS_ADRALN): Likewise.
2138 (BUS_ADRERR): Likewise.
2139 (BUS_OBJERR): Likewise.
2140 (BUS_MCEERR_AR): Likewise.
2141 (BUS_MCEERR_AO): Likewise.
2142 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2143 (TRAP_TRACE): Likewise.
2144 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2145 __USE_XOPEN2K8].
2146 (CLD_KILLED): Likewise.
2147 (CLD_DUMPED): Likewise.
2148 (CLD_TRAPPED): Likewise.
2149 (CLD_STOPPED): Likewise.
2150 (CLD_CONTINUED): Likewise.
2151 (POLL_IN): Likewise.
2152 (POLL_OUT): Likewise.
2153 (POLL_MSG): Likewise.
2154 (POLL_ERR): Likewise.
2155 (POLL_PRI): Likewise.
2156 (POLL_HUP): Likewise.
2157 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2158 (ILL_ILLOPN): Likewise.
2159 (ILL_ILLADR): Likewise.
2160 (ILL_ILLTRP): Likewise.
2161 (ILL_PRVOPC): Likewise.
2162 (ILL_PRVREG): Likewise.
2163 (ILL_COPROC): Likewise.
2164 (ILL_BADSTK): Likewise.
2165 (FPE_INTDIV): Likewise.
2166 (FPE_INTOVF): Likewise.
2167 (FPE_FLTDIV): Likewise.
2168 (FPE_FLTOVF): Likewise.
2169 (FPE_FLTUND): Likewise.
2170 (FPE_FLTRES): Likewise.
2171 (FPE_FLTINV): Likewise.
2172 (FPE_FLTSUB): Likewise.
2173 (SEGV_MAPERR): Likewise.
2174 (SEGV_ACCERR): Likewise.
2175 (BUS_ADRALN): Likewise.
2176 (BUS_ADRERR): Likewise.
2177 (BUS_OBJERR): Likewise.
2178 (BUS_MCEERR_AR): Likewise.
2179 (BUS_MCEERR_AO): Likewise.
2180 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2181 (TRAP_TRACE): Likewise.
2182 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2183 __USE_XOPEN2K8].
2184 (CLD_KILLED): Likewise.
2185 (CLD_DUMPED): Likewise.
2186 (CLD_TRAPPED): Likewise.
2187 (CLD_STOPPED): Likewise.
2188 (CLD_CONTINUED): Likewise.
2189 (POLL_IN): Likewise.
2190 (POLL_OUT): Likewise.
2191 (POLL_MSG): Likewise.
2192 (POLL_ERR): Likewise.
2193 (POLL_PRI): Likewise.
2194 (POLL_HUP): Likewise.
2195 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2196 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2197
bc61d27c
JM
2198 [BZ #16670]
2199 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2200 before #include of <time.h>.
2201 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2202 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2203 (test-xfail-UNIX98/sched.h/conform): Likewise.
2204
302949e2
MS
22052014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2206
2207 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2208 error absence of trapping exception support.
2209 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2210
a00f522a
JM
22112014-03-07 Joseph Myers <joseph@codesourcery.com>
2212
6f99f280
JM
2213 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2214 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2215 * timezone/Makefile (testdata): Move definition above include of
2216 Rules.
2217 (test-zones): New variable.
2218 (tests-special): Add zone files.
2219 (build-testdata): Use $(evaluate-test).
2220
0b20a9e8
JM
2221 * elf/Makefile (tests-special): Rename tests to end with .out.
2222 ($(objpfx)noload-mem): Likewise.
2223 ($(objpfx)tst-leaks1-mem): Likewise.
2224 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2225 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2226 $(objpfx)test-iconvconfig.out.
2227 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2228 set -e inside subshell and redirect output to file.
2229 * iconvdata/Makefile (generated): Rename tests to end with .out.
2230 Correct type.
2231 (tests-special): Rename tests to end with .out.
2232 ($(objpfx)mtrace-tst-loading): Likewise.
2233 * intl/Makefile (generated): Likewise.
2234 (tests-special): Likewise.
2235 ($(objpfx)mtrace-tst-gettext): Likewise.
2236 * misc/Makefile (generated): Likewise.
2237 (tests-special): Likewise.
2238 ($(objpfx)tst-error1-mem): Likewise.
2239 * nptl/Makefile (tests-special): Likewise.
2240 ($(objpfx)tst-stack3-mem): Likewise.
2241 (generated): Likewise.
2242 * posix/Makefile (generated): Likewise.
2243 (tests-special): Likewise.
2244 (xtests-special): Likewise.
2245 ($(objpfx)tst-fnmatch-mem): Likewise.
2246 ($(objpfx)bug-regex2-mem): Likewise.
2247 ($(objpfx)bug-regex14-mem): Likewise.
2248 ($(objpfx)bug-regex21-mem): Likewise.
2249 ($(objpfx)bug-regex31-mem): Likewise.
2250 ($(objpfx)tst-vfork3-mem): Likewise.
2251 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2252 ($(objpfx)tst-pcre-mem): Likewise.
2253 ($(objpfx)tst-boost-mem): Likewise.
2254 ($(objpfx)bug-ga2-mem): Likewise.
2255 ($(objpfx)bug-glob2-mem): Likewise.
2256 * resolv/Makefile (generate): Likewise.
2257 (tests-special): Likewise.
2258 (xtests-special): Likewise.
2259 (generated): Likewise.
2260 ($(objpfx)mtrace-tst-leaks): Likewise.
2261 ($(objpfx)mtrace-tst-leaks2): Likewise.
2262
265d52ab
JM
2263 * scripts/merge-test-results.sh: New file.
2264 * Makefile (tests-special-notdir): New variable.
2265 (tests): Run merge-test-results.sh.
2266 (xtests): Likewise.
2267 * Rules (tests-special-notdir): New variable.
2268 (xtests-special-notdir): Likewise.
2269 (tests): Run merge-test-results.sh
2270 (xtests): Likewise.
2271
54ee292d
JM
2272 * Makeconfig (test-xfail-name): New variable.
2273 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2274 compute variable name for expected failures.
2275 * conform/Makefile (conformtest-headers-data): New variable.
2276 (conformtest-standards): Likewise.
2277 (conformtest-headers-ISO): Likewise.
2278 (conformtest-headers-ISO99): Likewise.
2279 (conformtest-headers-ISO11): Likewise.
2280 (conformtest-headers-POSIX): Likewise.
2281 (conformtest-headers-XPG3): Likewise.
2282 (conformtest-headers-XPG4): Likewise.
2283 (conformtest-headers-UNIX98): Likewise.
2284 (conformtest-headers-XOPEN2K): Likewise.
2285 (conformtest-headers-POSIX2008): Likewise.
2286 (conformtest-headers-XOPEN2K8): Likewise.
2287 (conformtest-header-list-base): Likewise.
2288 (conformtest-header-list-tests): Likewise.
2289 (conformtest-header-base): Likewise.
2290 (conformtest-header-tests): Likewise.
2291 (tests-special): Add $(conformtest-header-list-tests). If
2292 [$(fast-check) && !$(cross-compiling)], add
2293 $(conformtest-header-tests) instead of
2294 $(objpfx)run-conformtest.out.
2295 (generated): Add $(conformtest-header-list-base). If
2296 [$(fast-check) && !$(cross-compiling)], add
2297 $(conformtest-header-base). Remove previous setting.
2298 ($(conformtest-header-list-tests)): New target.
2299 (test-xfail-run-conformtest): Remove variable.
2300 ($(objpfx)run-conformtest.out): Remove target.
2301 (test-xfail-ISO11/complex.h/conform): New variable.
2302 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2303 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2304 (test-xfail-XPG3/varargs.h/conform): Likewise.
2305 (test-xfail-XPG4/varargs.h/conform): Likewise.
2306 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2307 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2308 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2309 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2310 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2311 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2312 (test-xfail-XPG3/ftw.h/conform): Likewise.
2313 (test-xfail-XPG3/grp.h/conform): Likewise.
2314 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2315 (test-xfail-XPG3/limits.h/conform): Likewise.
2316 (test-xfail-XPG3/pwd.h/conform): Likewise.
2317 (test-xfail-XPG3/search.h/conform): Likewise.
2318 (test-xfail-XPG3/signal.h/conform): Likewise.
2319 (test-xfail-XPG3/stdio.h/conform): Likewise.
2320 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2321 (test-xfail-XPG3/string.h/conform): Likewise.
2322 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2323 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2324 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2325 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2326 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2327 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2328 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2329 (test-xfail-XPG3/termios.h/conform): Likewise.
2330 (test-xfail-XPG3/time.h/conform): Likewise.
2331 (test-xfail-XPG3/unistd.h/conform): Likewise.
2332 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2333 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2334 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2335 (test-xfail-XPG4/netdb.h/conform): Likewise.
2336 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2337 (test-xfail-XPG4/signal.h/conform): Likewise.
2338 (test-xfail-XPG4/stdio.h/conform): Likewise.
2339 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2340 (test-xfail-XPG4/stropts.h/conform): Likewise.
2341 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2342 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2343 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2344 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2345 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2346 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2347 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2348 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2349 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2350 (test-xfail-XPG4/termios.h/conform): Likewise.
2351 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2352 (test-xfail-XPG4/unistd.h/conform): Likewise.
2353 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2354 (test-xfail-POSIX/sched.h/conform): Likewise.
2355 (test-xfail-POSIX/signal.h/conform): Likewise.
2356 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2357 (test-xfail-POSIX/tar.h/conform): Likewise.
2358 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2359 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2360 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2361 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2362 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2363 (test-xfail-UNIX98/sched.h/conform): Likewise.
2364 (test-xfail-UNIX98/signal.h/conform): Likewise.
2365 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2366 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2367 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2368 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2369 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2370 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2371 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2372 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2373 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2374 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2375 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2376 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2377 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2378 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2379 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2380 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2381 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2382 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2383 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2384 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2385 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2386 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2387 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2388 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2389 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2390 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2391 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2392 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2393 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2394 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2395 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2396 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2397 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2398 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2399 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2400 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2401 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2402 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2403 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2404 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2405 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2406 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2407 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2408 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2409 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2410 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2411 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2412 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2413 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2414 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2415 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2416 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2417 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2418 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2419 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2420 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2421 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2422 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2423 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2424 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2425 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2426 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2427 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2428 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2429 (conformtest-cc-flags): Likewise.
2430 ($(conformtest-header-tests): New target.
2431 * conform/check-header-lists.sh: New file.
2432 * conform/run-conformtest.sh: Remove.
2433
a00f522a
JM
2434 * conform/conformtest.pl: Allow ' and \ in values given for
2435 constants.
2436 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2437 inclusion.
2438 [POSIX] (sys/types.h): Likewise.
2439 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2440 inclusion.
2441 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2442 inclusion.
2443 * conform/data/signal.h-data (SIGIO): Remove expectation.
2444 [XPG3] (SIGBUS): Do not expect.
2445 [POSIX || XPG3] (SIGPOLL): Likewise.
2446 [POSIX || XPG3] (SIGPROF): Likewise.
2447 [POSIX || XPG3] (SIGSYS): Likewise.
2448 [XPG3] (SIGTRAP): Likewise.
2449 [POSIX || XPG3] (SIGURG): Likewise.
2450 [POSIX || XPG3] (SIGVTALRM): Likewise.
2451 [POSIX || XPG3] (SIGXCPU): Likewise.
2452 [POSIX || XPG3] (SIGXFSZ): Likewise.
2453 [POSIX] (SA_SIGINFO): Expect.
2454 [XPG3] (siginfo_t): Do not expect type or contents.
2455 [POSIX] (si_pid): Do not expect element.
2456 [POSIX] (si_uid): Likewise.
2457 [POSIX] (si_addr): Likewise.
2458 [POSIX] (si_status): Likewise.
2459 [POSIX] (si_band): Likewise.
2460 [XPG4] (si_value): Likewise.
2461 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2462 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2463 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2464 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2465 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2466 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2467 [POSIX || XPG3] (ILL_COPROC): Likewise.
2468 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2469 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2470 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2471 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2472 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2473 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2474 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2475 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2476 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2477 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2478 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2479 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2480 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2481 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2482 [POSIX || XPG3] (CLD_EXITED): Likewise.
2483 [POSIX || XPG3] (CLD_KILLED): Likewise.
2484 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2485 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2486 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2487 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2488 [POSIX || XPG3] (POLL_IN): Likewise.
2489 [POSIX || XPG3] (POLL_OUT): Likewise.
2490 [POSIX || XPG3] (POLL_MSG): Likewise.
2491 [POSIX || XPG3] (POLL_ERR): Likewise.
2492 [POSIX || XPG3] (POLL_PRI): Likewise.
2493 [POSIX || XPG3] (POLL_HUP): Likewise.
2494 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2495 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2496 (SIG*): Do not allow.
2497 [XPG3] (si_*): Likewise.
2498 [XPG3] (SI_*): Likewise.
2499 [XPG3 || XPG4] (sigev_*): Likewise.
2500 [XPG3 || XPG4] (SIGEV_*): Likewise.
2501 [XPG3 || XPG4] (sival_*): Likewise.
2502 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2503 [POSIX || XPG3] (BUS_*): Likewise.
2504 [POSIX || XPG3] (CLD_*): Likewise.
2505 [POSIX || XPG3] (FPE_*): Likewise.
2506 [POSIX || XPG3] (ILL_*): Likewise.
2507 [POSIX || XPG3] (POLL_*): Likewise.
2508 [POSIX || XPG3] (SEGV_*): Likewise.
2509 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2510 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2511 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2512 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2513 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2514 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2515 Specify type and value.
2516 (TVERSLEN): Likewise.
2517 (REGTYPE): Likewise.
2518 (AREGTYPE): Likewise.
2519 (LNKTYPE): Likewise.
2520 (SYMTYPE): Likewise.
2521 (CHRTYPE): Likewise.
2522 (BLKTYPE): Likewise.
2523 (DIRTYPE): Likewise.
2524 (FIFOTYPE): Likewise.
2525 (CONTTYPE): Likewise.
2526 (TSUID): Likewise.
2527 (TSGID): Likewise.
2528 (TSVTX): Likewise.
2529 (TUREAD): Likewise.
2530 (TUWRITE): Likewise.
2531 (TUEXEC): Likewise.
2532 (TGREAD): Likewise.
2533 (TGWRITE): Likewise.
2534 (TGEXEC): Likewise.
2535 (TOREAD): Likewise.
2536 (TOWRITE): Likewise.
2537 (TOEXEC): Likewise.
2538 [POSIX] (TSVTX): Expect constant.
2539
aa97dee1
JM
25402014-03-06 Joseph Myers <joseph@codesourcery.com>
2541
f214606a
JM
2542 * Makefile (tests): Change dependencies to ....
2543 (tests-special): ... additions to this variable.
2544 (tests): Depend on $(tests-special).
2545 * Makerules (check-abi-list): New variable.
2546 (check-abi): Depend on $(check-abi-list).
2547 [$(subdir) = elf] (tests-special): Add
2548 $(objpfx)check-abi-libc.out.
2549 [$(build-shared) = yes && subdir] (tests-special): Add
2550 $(check-abi-list).
2551 [$(build-shared) = yes && subdir] (tests): Do not depend on
2552 check-abi.
2553 * Rules (tests): Depend on $(tests-special).
2554 (xtests): Depend on $(xtests-special).
2555 * catgets/Makefile (tests): Change dependencies to ....
2556 (tests-special): ... additions to this variable.
2557 * conform/Makefile (tests): Change dependencies to ....
2558 (tests-special): ... additions to this variable.
2559 * elf/Makefile (tests): Change dependencies to ....
2560 (tests-special): ... additions to this variable.
2561 * grp/Makefile (tests): Change dependencies to ....
2562 (tests-special): ... additions to this variable.
2563 * iconv/Makefile (xtests): Change dependencies to ....
2564 (xtests-special): ... additions to this variable.
2565 * iconvdata/Makefile (tests): Change dependencies to ....
2566 (tests-special): ... additions to this variable.
2567 * intl/Makefile (tests): Change dependencies to ....
2568 (tests-special): ... additions to this variable. Also add
2569 $(objpfx)tst-gettext.out.
2570 * io/Makefile (tests): Change dependencies to ....
2571 (tests-special): ... additions to this variable.
2572 * libio/Makefile (tests): Change dependencies to ....
2573 (tests-special): ... additions to this variable.
2574 * malloc/Makefile (tests): Change dependencies to ....
2575 (tests-special): ... additions to this variable.
2576 * misc/Makefile (tests): Change dependencies to ....
2577 (tests-special): ... additions to this variable.
2578 * nptl/Makefile (tests): Change dependencies to ....
2579 (tests-special): ... additions to this variable.
2580 * nptl_db/Makefile (tests): Change dependencies to ....
2581 (tests-special): ... additions to this variable.
2582 * posix/Makefile (tests): Change dependencies to ....
2583 (tests-special): ... additions to this variable.
2584 (xtests): Change dependencies to ....
2585 (xtests-special): ... additions to this variable.
2586 * resolv/Makefile (tests): Change dependencies to ....
2587 (tests-special): ... additions to this variable.
2588 (xtests): Change dependencies to ....
2589 (xtests-special): ... additions to this variable.
2590 * stdio-common/Makefile (tests): Change dependencies to ....
2591 (tests-special): ... additions to this variable.
2592 (do-tst-unbputc): Remove target.
2593 (do-tst-printf): Likewise.
2594 * stdlib/Makefile (tests): Change dependencies to ....
2595 (tests-special): ... additions to this variable.
2596 * string/Makefile (tests): Change dependencies to ....
2597 (tests-special): ... additions to this variable.
2598 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2599 (tests-special): ... additions to this variable.
2600
81700b53
JM
2601 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2602 whole file.
2603 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2604 whole file.
2605 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2606 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2607
2ea18461
JM
2608 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2609 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2610 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2611 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2612 * conform/data/libgen.h-data [XPG3]: Likewise.
2613 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2614 * conform/data/ndbm.h-data [XPG3]: Likewise.
2615 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2616 * conform/data/netdb.h-data [XPG3]: Likewise.
2617 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2618 * conform/data/poll.h-data [XPG3]: Likewise.
2619 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2620 * conform/data/strings.h-data [XPG3]: Likewise.
2621 * conform/data/stropts.h-data [XPG3]: Likewise.
2622 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2623 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2624 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2625 Likewise.
2626 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2627 * conform/data/sys/time.h-data [XPG3]: Likewise.
2628 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2629 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2630 * conform/data/sys/un.h-data [XPG3]: Likewise.
2631 * conform/data/syslog.h-data [XPG3]: Likewise.
2632 * conform/data/ucontext.h-data [XPG3]: Likewise.
2633 * conform/data/utmpx.h-data [XPG3]: Likewise.
2634 * conform/data/varargs.h-data [UNIX98]: Enable file.
2635
355bc986
JM
2636 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2637
215db402
JM
2638 * math/libm-test.inc (struct test_f_f_data): Move expected results
2639 into structure for each rounding mode.
2640 (struct test_ff_f_data): Likewise.
2641 (struct test_ff_f_data_nexttoward): Likewise.
2642 (struct test_fi_f_data): Likewise.
2643 (struct test_fl_f_data): Likewise.
2644 (struct test_if_f_data): Likewise.
2645 (struct test_fff_f_data): Likewise.
2646 (struct test_c_f_data): Likewise.
2647 (struct test_f_f1_data): Likewise.
2648 (struct test_fF_f1_data): Likewise.
2649 (struct test_ffI_f1_data): Likewise.
2650 (struct test_c_c_data): Likewise.
2651 (struct test_cc_c_data): Likewise.
2652 (struct test_f_i_data): Likewise.
2653 (struct test_ff_i_data): Likewise.
2654 (struct test_f_l_data): Likewise.
2655 (struct test_f_L_data): Likewise.
2656 (struct test_fFF_11_data): Likewise.
2657 (RM_): New macro.
2658 (RM_FE_DOWNWARD): Likewise.
2659 (RM_FE_TONEAREST): Likewise.
2660 (RM_FE_TOWARDZERO): Likewise.
2661 (RM_FE_UPWARD): Likewise.
2662 (RUN_TEST_LOOP_f_f): Update references to expected results.
2663 (RUN_TEST_LOOP_2_f): Likewise.
2664 (RUN_TEST_LOOP_fff_f): Likewise.
2665 (RUN_TEST_LOOP_c_f): Likewise.
2666 (RUN_TEST_LOOP_f_f1): Likewise.
2667 (RUN_TEST_LOOP_fF_f1): Likewise.
2668 (RUN_TEST_LOOP_fI_f1): Likewise.
2669 (RUN_TEST_LOOP_ffI_f1): Likewise.
2670 (RUN_TEST_LOOP_c_c): Likewise.
2671 (RUN_TEST_LOOP_cc_c): Likewise.
2672 (RUN_TEST_LOOP_f_i): Likewise.
2673 (RUN_TEST_LOOP_f_i_tg): Likewise.
2674 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2675 (RUN_TEST_LOOP_f_b): Likewise.
2676 (RUN_TEST_LOOP_f_b_tg): Likewise.
2677 (RUN_TEST_LOOP_f_l): Likewise.
2678 (RUN_TEST_LOOP_f_L): Likewise.
2679 (RUN_TEST_LOOP_fFF_11): Likewise.
2680 * math/gen-libm-test.pl (parse_args): Output four copies of
2681 expected results for each test.
2682
67737b8f
JM
2683 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2684 (__ASSUME_UTIMES): Remove.
2685 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2686 (__ASSUME_UTIMES): Likewise.
2687
aa97dee1
JM
2688 * math/gen-auto-libm-tests.c: Update comment on output format.
2689 (output_for_one_input_case): Generate before-rounding and
2690 after-rounding information as conditions on output flags not
2691 floating-point format.
2692 * math/auto-libm-test-out: Regenerated.
2693 * math/gen-libm-test.pl (cond_value): New function.
2694 (or_cond_value): Use cond_value.
2695 (generate_testfile): Handle conditional exceptions.
2696
e6b6a857
JM
26972014-03-05 Joseph Myers <joseph@codesourcery.com>
2698
2f0a0f44
JM
2699 * math/libm-test.inc (max_valid_error): New variable.
2700 (init_max_error): Take new argument specifying whether function
2701 results are exactly determined. Set max_valid_error and bound
2702 other variables for errors based on this argument.
2703 (set_max_error): Do not record results above max_valid_error.
2704 (check_float_internal): Only accept errors of up to 0.5ulps if
2705 also at most max_valid_error.
2706 (START): Take new argument EXACT and pass it to init_max_error.
2707 (acos_test): Update call to START.
2708 (acos_test_tonearest): Likewise.
2709 (acos_test_towardzero): Likewise.
2710 (acos_test_downward): Likewise.
2711 (acos_test_upward): Likewise.
2712 (acosh_test): Likewise.
2713 (asin_test): Likewise.
2714 (asin_test_tonearest): Likewise.
2715 (asin_test_towardzero): Likewise.
2716 (asin_test_downward): Likewise.
2717 (asin_test_upward): Likewise.
2718 (asinh_test): Likewise.
2719 (atan_test): Likewise.
2720 (atanh_test): Likewise.
2721 (atan2_test): Likewise.
2722 (cabs_test): Likewise.
2723 (cacos_test): Likewise.
2724 (cacosh_test): Likewise.
2725 (carg_test): Likewise.
2726 (casin_test): Likewise.
2727 (casinh_test): Likewise.
2728 (catan_test): Likewise.
2729 (catanh_test): Likewise.
2730 (cbrt_test): Likewise.
2731 (ccos_test): Likewise.
2732 (ccosh_test): Likewise.
2733 (ceil_test): Likewise.
2734 (cexp_test): Likewise.
2735 (cimag_test): Likewise.
2736 (clog_test): Likewise.
2737 (clog10_test): Likewise.
2738 (conj_test): Likewise.
2739 (copysign_test): Likewise.
2740 (cos_test): Likewise.
2741 (cos_test_tonearest): Likewise.
2742 (cos_test_towardzero): Likewise.
2743 (cos_test_downward): Likewise.
2744 (cos_test_upward): Likewise.
2745 (cosh_test): Likewise.
2746 (cosh_test_tonearest): Likewise.
2747 (cosh_test_towardzero): Likewise.
2748 (cosh_test_downward): Likewise.
2749 (cosh_test_upward): Likewise.
2750 (cpow_test): Likewise.
2751 (cproj_test): Likewise.
2752 (creal_test): Likewise.
2753 (csin_test): Likewise.
2754 (csinh_test): Likewise.
2755 (csqrt_test): Likewise.
2756 (ctan_test): Likewise.
2757 (ctan_test_tonearest): Likewise.
2758 (ctan_test_towardzero): Likewise.
2759 (ctan_test_downward): Likewise.
2760 (ctan_test_upward): Likewise.
2761 (ctanh_test): Likewise.
2762 (ctanh_test_tonearest): Likewise.
2763 (ctanh_test_towardzero): Likewise.
2764 (ctanh_test_downward): Likewise.
2765 (ctanh_test_upward): Likewise.
2766 (erf_test): Likewise.
2767 (erfc_test): Likewise.
2768 (exp_test): Likewise.
2769 (exp_test_tonearest): Likewise.
2770 (exp_test_towardzero): Likewise.
2771 (exp_test_downward): Likewise.
2772 (exp_test_upward): Likewise.
2773 (exp10_test): Likewise.
2774 (exp10_test_tonearest): Likewise.
2775 (exp10_test_towardzero): Likewise.
2776 (exp10_test_downward): Likewise.
2777 (exp10_test_upward): Likewise.
2778 (pow10_test): Likewise.
2779 (exp2_test): Likewise.
2780 (expm1_test): Likewise.
2781 (expm1_test_tonearest): Likewise.
2782 (expm1_test_towardzero): Likewise.
2783 (expm1_test_downward): Likewise.
2784 (expm1_test_upward): Likewise.
2785 (fabs_test): Likewise.
2786 (fdim_test): Likewise.
2787 (floor_test): Likewise.
2788 (fma_test): Likewise.
2789 (fma_test_towardzero): Likewise.
2790 (fma_test_downward): Likewise.
2791 (fma_test_upward): Likewise.
2792 (fmax_test): Likewise.
2793 (fmin_test): Likewise.
2794 (fmod_test): Likewise.
2795 (fpclassify_test): Likewise.
2796 (frexp_test): Likewise.
2797 (hypot_test): Likewise.
2798 (ilogb_test): Likewise.
2799 (isfinite_test): Likewise.
2800 (finite_test): Likewise.
2801 (isgreater_test): Likewise.
2802 (isgreaterequal_test): Likewise.
2803 (isinf_test): Likewise.
2804 (isless_test): Likewise.
2805 (islessequal_test): Likewise.
2806 (islessgreater_test): Likewise.
2807 (isnan_test): Likewise.
2808 (isnormal_test): Likewise.
2809 (issignaling_test): Likewise.
2810 (isunordered_test): Likewise.
2811 (j0_test): Likewise.
2812 (j1_test): Likewise.
2813 (jn_test): Likewise.
2814 (ldexp_test): Likewise.
2815 (lgamma_test): Likewise.
2816 (gamma_test): Likewise.
2817 (lrint_test): Likewise.
2818 (lrint_test_tonearest): Likewise.
2819 (lrint_test_towardzero): Likewise.
2820 (lrint_test_downward): Likewise.
2821 (lrint_test_upward): Likewise.
2822 (llrint_test): Likewise.
2823 (llrint_test_tonearest): Likewise.
2824 (llrint_test_towardzero): Likewise.
2825 (llrint_test_downward): Likewise.
2826 (llrint_test_upward): Likewise.
2827 (log_test): Likewise.
2828 (log10_test): Likewise.
2829 (log1p_test): Likewise.
2830 (log2_test): Likewise.
2831 (logb_test): Likewise.
2832 (logb_test_downward): Likewise.
2833 (lround_test): Likewise.
2834 (llround_test): Likewise.
2835 (modf_test): Likewise.
2836 (nearbyint_test): Likewise.
2837 (nextafter_test): Likewise.
2838 (nexttoward_test): Likewise.
2839 (pow_test): Likewise.
2840 (pow_test_tonearest): Likewise.
2841 (pow_test_towardzero): Likewise.
2842 (pow_test_downward): Likewise.
2843 (pow_test_upward): Likewise.
2844 (remainder_test): Likewise.
2845 (drem_test): Likewise.
2846 (remainder_test_tonearest): Likewise.
2847 (drem_test_tonearest): Likewise.
2848 (remainder_test_towardzero): Likewise.
2849 (drem_test_towardzero): Likewise.
2850 (remainder_test_downward): Likewise.
2851 (drem_test_downward): Likewise.
2852 (remainder_test_upward): Likewise.
2853 (drem_test_upward): Likewise.
2854 (remquo_test): Likewise.
2855 (rint_test): Likewise.
2856 (rint_test_tonearest): Likewise.
2857 (rint_test_towardzero): Likewise.
2858 (rint_test_downward): Likewise.
2859 (rint_test_upward): Likewise.
2860 (round_test): Likewise.
2861 (scalb_test): Likewise.
2862 (scalbn_test): Likewise.
2863 (scalbln_test): Likewise.
2864 (signbit_test): Likewise.
2865 (sin_test): Likewise.
2866 (sin_test_tonearest): Likewise.
2867 (sin_test_towardzero): Likewise.
2868 (sin_test_downward): Likewise.
2869 (sin_test_upward): Likewise.
2870 (sincos_test): Likewise.
2871 (sinh_test): Likewise.
2872 (sinh_test_tonearest): Likewise.
2873 (sinh_test_towardzero): Likewise.
2874 (sinh_test_downward): Likewise.
2875 (sinh_test_upward): Likewise.
2876 (sqrt_test): Likewise.
2877 (sqrt_test_tonearest): Likewise.
2878 (sqrt_test_towardzero): Likewise.
2879 (sqrt_test_downward): Likewise.
2880 (sqrt_test_upward): Likewise.
2881 (tan_test): Likewise.
2882 (tan_test_tonearest): Likewise.
2883 (tan_test_towardzero): Likewise.
2884 (tan_test_downward): Likewise.
2885 (tan_test_upward): Likewise.
2886 (tanh_test): Likewise.
2887 (tgamma_test): Likewise.
2888 (trunc_test): Likewise.
2889 (y0_test): Likewise.
2890 (y1_test): Likewise.
2891 (yn_test): Likewise.
2892 (significand_test): Likewise.
2893
e6b6a857
JM
2894 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2895 individual tests in comment.
2896 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2897 (prev_max_error): New variable.
2898 (prev_real_max_error): Likewise.
2899 (prev_imag_max_error): Likewise.
2900 (compare_ulp_data): Don't refer to test names in comment.
2901 (find_test_ulps): Remove function.
2902 (find_function_ulps): Likewise.
2903 (find_complex_function_ulps): Likewise.
2904 (init_max_error): Take function name as argument. Look up ulps
2905 for that function.
2906 (print_ulps): Remove function.
2907 (print_max_error): Use prev_max_error instead of calling
2908 find_function_ulps.
2909 (print_complex_max_error): Use prev_real_max_error and
2910 prev_imag_max_error instead of calling find_complex_function_ulps.
2911 (check_float_internal): Take max_ulp parameter instead of calling
2912 find_test_ulps. Don't call print_ulps.
2913 (check_float): Update call to check_float_internal.
2914 (check_complex): Update calls to check_float_internal.
2915 (START): Pass argument to init_max_error.
2916 * math/gen-libm-test.pl (%results): Don't include "kind"
2917 information.
2918 (parse_ulps): Don't handle ulps of individual tests.
2919 (print_ulps_file): Likewise.
2920 (output_ulps): Likewise.
2921 * math/README.libm-test: Update.
2922 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2923 individual tests.
2924 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2925 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2926 * sysdeps/arm/libm-test-ulps: Likewise.
2927 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2928 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2929 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2930 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2931 * sysdeps/microblaze/libm-test-ulps: Likewise.
2932 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2933 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2935 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2936 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2937 * sysdeps/sh/libm-test-ulps: Likewise.
2938 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2939 * sysdeps/tile/libm-test-ulps: Likewise.
2940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2941
45adef3c
JM
29422014-03-04 Joseph Myers <joseph@codesourcery.com>
2943
2944 * math/libm-test.inc (print_complex_max_error): Check separately
2945 whether real and imaginary errors are within allowed range and
2946 pass 0 to print_complex_function_ulps instead of value within
2947 allowed range.
2948
000232b9
SP
29492014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2950
d4b17258
SP
2951 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2952 formatting.
2953 (get_handles_fopen): Likewise.
2954 (do_write_test): Likewise.
2955
091eff71
SP
2956 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2957
fa3cd248
SP
2958 * libio/fileops.c (do_ftell): Use cached offset when
2959 available.
2960 * libio/iofwide.c (do_ftell_wide): Likewise.
2961 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2962 _IO_file_attach.
2963 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2964
000232b9
SP
2965 [BZ #16532]
2966 * libio/libioP.h (get_file_offset): New function.
2967 * libio/fileops.c (get_file_offset): Likewise.
2968 (do_ftell): Likewise.
2969 (_IO_new_file_seekoff): Split out ftell logic.
2970 * libio/wfileops.c (do_ftell_wide): Likewise.
2971 (_IO_wfile_seekoff): Split out ftell logic.
2972 * libio/tst-ftell-active-handler.c: New test case.
2973 * libio/Makefile (tests): Add it.
2974
116f4d1a
RM
29752014-03-03 Roland McGrath <roland@hack.frob.com>
2976
2977 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2978 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2979
532a6035
SP
29802014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2981
2982 [BZ #16639]
2983 * nscd/connections.c (nscd_init): Call do_exit.
2984 (start_threads): Call do_exit and notify_parent.
2985 (begin_drop_privileges): Call do_exit.
2986 (finish_drop_privileges): Likewise.
2987 * nscd/selinux.c (preserve_capabilities): Likewise.
2988 (install_real_capabilities): Likewise.
2989 (nscd_selinux_enabled): Likewise.
2990 (avc_create_thread): Likewise.
2991 (avc_alloc_lock): Likewise.
2992 (nscd_avc_init): Likewise.
2993 * nscd/nscd.c (parent_fd): New static variable.
2994 (main): Create a pipe between parent and child processes.
2995 Skip closing parent_fd.
2996 (monitor_child): New function.
2997 (do_exit): Likewise.
2998 (notify_parent): Likewise.
2999 * nscd/nscd.h (notify_parent): Likewise.
3000 (do_exit): Likewise.
3001
d6285c9f
CD
30022014-03-03 Carlos O'Donell <carlos@redhat.com>
3003
3004 * malloc/malloc.c (__libc_calloc): Revert last change.
3005
2b85d2a0
AZ
30062014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3007
3008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3009
c7debbdf
RS
30102014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3011
3012 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3014 implementation.
3015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3016 (__libc_ifunc_impl_list): Likewise.
3017 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3018 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3019 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3020 * string/strrchr.c: Define STRRCHR.
3021
235eed86
OB
30222014-02-28 Ondřej Bílka <neleai@seznam.cz>
3023
3024 * benchtest/bench-strtok.c (simple_strtok): Delete.
3025 (strtok_string): Use as benchmark.
3026 * string/strtok (STRTOK): New macro.
3027
8e25d1e7
CD
30282014-02-28 Carlos O'Donell <carlos@redhat.com>
3029
ef563f92
CD
3030 * manual/threads.texi: Add header and standard comments to all
3031 functions.
3032
8e25d1e7
CD
3033 * elf/dl-lookup.c (check_match): New function.
3034 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3035 (do_lookup_x): Remove nested function check_match. Use non-nested
3036 function check_match.
3037
ff71cc37
RM
30382014-02-28 Roland McGrath <roland@hack.frob.com>
3039
f08e9a26
RM
3040 * csu/Makefile (generated, before-compile): Use += rather than =.
3041 * catgets/Makefile (generated, generated-dirs): Likewise.
3042 * debug/Makefile (generated): Likewise.
3043 * dlfcn/Makefile (generated): Likewise.
3044 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3045 * iconvdata/Makefile (before-compile, generated): Likewise.
3046 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3047 * libio/Makefile (generated): Likewise.
3048 * malloc/Makefile (generated): Likewise.
3049 * manual/Makefile (generated, generated-dirs): Likewise.
3050 * misc/Makefile (generated): Likewise.
3051 * posix/Makefile (generated): Likewise.
3052 * resolv/Makefile (generated): Likewise.
3053 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3054 * timezone/Makefile (generated, generated-dirs): Likewise.
3055
ff71cc37
RM
3056 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3057
fe13a20c
AZ
30582014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3059
57f41c40
AS
3060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3061 power8 implementation.
3062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3063 file: POWER8 llround ifunc implementation.
3064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3065 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3066 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3067 POWER8 llround implementation.
3068
57f41c40
AS
3069 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3070 power8 implementation.
3071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3072 file: POWER8 llrint ifunc implementation.
3073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3074 Add POWER8 implementation.
1ad8950a
AZ
3075 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3076 POWER8 llrint implementation.
3077
57f41c40
AS
3078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3079 power8 implementation.
3080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3081 file: POWER8 finite ifunc implementation.
3082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3083 Add POWER8 implementation.
cac626d6
AZ
3084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3085 Likewise.
3086 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3087 POWER8 finite implementation.
3088 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3089
57f41c40
AS
3090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3091 power8 implementation.
3092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3093 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3095 POWER8 implementation.
3096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3097 Likewise.
57f41c40
AS
3098 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3099 isinf implementation.
4393fc11
AZ
3100 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3101
57f41c40
AS
3102 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3103 (INIT_ARCH): Add hwcap2 initialization.
3104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3105 power8 implementation.
3106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3107 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3109 POWER8 implementation.
3110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3111 Likewise.
57f41c40
AS
3112 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3113 isnan implementation.
487972ae
AZ
3114 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3115
7d92b787
JY
31162014-02-27 Joey Ye <joey.ye@arm.com>
3117
3118 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3119 (_FP_NANFRAC_Q): Set to zero.
3120
1cadc858
SP
31212014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3122
3123 [BZ #16623]
3124 * math/auto-libm-test-in: New test inputs.
3125 * math/auto-libm-test-out: Regenerate.
3126 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3127 and DA.
3128 (__cos): Likewise.
3129 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3130
f8c17e79
JM
31312014-02-27 Joseph Myers <joseph@codesourcery.com>
3132
3133 * scripts/evaluate-test.sh: Take new argument indicating whether
3134 failure is expected.
3135 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3136 indicating whether failure is expected.
3137 * conform/Makefile (test-xfail-run-conformtest): New variable.
3138 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3139 level.
3140 * posix/Makefile (test-xfail-annexc): New variable.
3141 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3142
a5f891ac
JM
31432014-02-26 Joseph Myers <joseph@codesourcery.com>
3144
3145 * argp/Makefile: Include Makeconfig immediately after defining
3146 subdir.
3147 * assert/Makefile: Likewise.
3148 * benchtests/Makefile: Likewise.
3149 * catgets/Makefile: Likewise.
3150 * conform/Makefile: Likewise.
3151 * crypt/Makefile: Likewise.
3152 * csu/Makefile: Likewise.
3153 (all): Remove target.
3154 * ctype/Makefile: Include Makeconfig immediately after defining
3155 subdir.
3156 * debug/Makefile: Likewise.
3157 * dirent/Makefile: Likewise.
3158 * dlfcn/Makefile: Likewise.
3159 * gmon/Makefile: Likewise.
3160 * gnulib/Makefile: Likewise.
3161 * grp/Makefile: Likewise.
3162 * gshadow/Makefile: Likewise.
3163 * hesiod/Makefile: Likewise.
3164 * hurd/Makefile: Likewise.
3165 (all): Remove target.
3166 * iconvdata/Makefile: Include Makeconfig immediately after
3167 defining subdir.
3168 * inet/Makefile: Likewise.
3169 * intl/Makefile: Likewise.
3170 * io/Makefile: Likewise.
3171 * libio/Makefile: Likewise.
3172 (all): Remove target.
3173 * locale/Makefile: Include Makeconfig immediately after defining
3174 subdir.
3175 * login/Makefile: Likewise.
3176 * mach/Makefile: Likewise.
3177 (all): Remove target.
3178 * malloc/Makefile: Include Makeconfig immediately after defining
3179 subdir.
3180 (all): Remove target.
3181 * manual/Makefile: Include Makeconfig immediately after defining
3182 subdir.
3183 * math/Makefile: Likewise.
3184 * misc/Makefile: Likewise.
3185 * nis/Makefile: Likewise.
3186 * nss/Makefile: Likewise.
3187 * po/Makefile: Likewise.
3188 (all): Remove target.
3189 * posix/Makefile: Include Makeconfig immediately after defining
3190 subdir.
3191 * pwd/Makefile: Likewise.
3192 * resolv/Makefile: Likewise.
3193 * resource/Makefile: Likewise.
3194 * rt/Makefile: Likewise.
3195 * setjmp/Makefile: Likewise.
3196 * shadow/Makefile: Likewise.
3197 * signal/Makefile: Likewise.
3198 * socket/Makefile: Likewise.
3199 * soft-fp/Makefile: Likewise.
3200 * stdio-common/Makefile: Likewise.
3201 * stdlib/Makefile: Likewise.
3202 * streams/Makefile: Likewise.
3203 * string/Makefile: Likewise.
3204 * sunrpc/Makefile: Likewise.
3205 (all): Remove target.
3206 * sysvipc/Makefile: Include Makeconfig immediately after defining
3207 subdir.
3208 * termios/Makefile: Likewise.
3209 * time/Makefile: Likewise.
3210 * timezone/Makefile: Likewise.
3211 (all): Remove target.
3212 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3213 subdir.
3214 * wctype/Makefile: Likewise.
3215
5b456e9d
SE
32162014-02-26 Steve Ellcey <sellcey@mips.com>
3217
3218 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3219 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3220 (libc_feholdexcept_setround_mips): Ditto.
3221 (libc_feholdsetround): New.
3222 (libc_feholdsetroundf): New.
3223 (libc_feholdsetroundl): New.
3224 (libc_feupdateenv_test_mips): New.
3225 (libc_feupdateenv_test): New.
3226 (libc_feupdateenv_testf): New.
3227 (libc_feupdateenv_testl): New.
3228 (libc_feresetround): New.
3229 (libc_feresetroundf): New.
3230 (libc_feresetroundl): New.
3231 (libc_fetestexcept_mips): New.
3232 (libc_fetestexcept): New.
3233 (libc_fetestexceptf): New.
3234 (libc_fetestexceptl): New.
3235 (HAVE_RM_CTX): New.
3236 (libc_feholdexcept_setround_mips_ctx): New.
3237 (libc_feholdexcept_setround_ctx): New.
3238 (libc_feholdexcept_setroundf_ctx): New.
3239 (libc_feholdexcept_setroundl_ctx): New.
3240 (libc_fesetenv_mips_ctx): New.
3241 (libc_fesetenv_ctx): New.
3242 (libc_fesetenv_ctxf): New.
3243 (libc_fesetenv_ctxl): New.
3244 (libc_feupdateenv_mips_ctx): New.
3245 (libc_feupdateenv_ctx): New.
3246 (libc_feupdateenvf_ctx): New.
3247 (libc_feupdateenvl_ctx): New.
3248 (libc_feholdsetround_mips_ctx): New.
3249 (libc_feholdsetround_ctx): New.
3250 (libc_feholdsetroundf_ctx): New.
3251 (libc_feholdsetroundl_ctx): New.
3252 (libc_feresetround_mips_ctx): New.
3253 (libc_feresetround_ctx): New.
3254 (libc_feresetroundf_ctx): New.
3255 (libc_feresetroundl_ctx): New.
3256
085d0e35
CD
32572014-02-26 Carlos O'Donell <carlos@redhat.com>
3258
f067bf1f
CD
3259 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3260
085d0e35
CD
3261 * manual/ipc.texi: New file.
3262 * manual/Makefile (chapters): Add ipc.
3263 * manual/job.texi: Add "Inter-Process Communication" to next.
3264 * manual/process.texi: Add "Inter-Process Communication" to prev.
3265
86e58c08
AZ
32662014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267
3268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3269
4248f0da
OB
32702014-02-26 Ondřej Bílka <neleai@seznam.cz>
3271
3272 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3273
cf822e3c
OB
3274 * manual/arith.texi: Fix spaces after sentences.
3275 * manual/charset.texi: Likewise.
3276 * manual/errno.texi: Likewise.
3277 * manual/install.texi: Likewise.
3278 * manual/llio.texi: Likewise.
3279 * manual/locale.texi: Likewise.
3280 * manual/maint.texi: Likewise.
3281 * manual/math.texi: Likewise.
3282 * manual/memory.texi: Likewise.
3283 * manual/message.texi: Likewise.
3284 * manual/probes.texi: Likewise.
3285 * manual/resource.texi: Likewise.
3286 * manual/signal.texi: Likewise.
3287 * manual/socket.texi: Likewise.
3288 * manual/stdio.texi: Likewise.
3289 * manual/string.texi: Likewise.
3290 * manual/time.texi: Likewise.
3291 * manual/users.texi: Likewise.
3292
ade40b10
CD
32932014-02-25 Carlos O'Donell <carlos@redhat.com>
3294
3295 [BZ #16632]
3296 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3297 _DEFAULT_SOURCE is defined.
3298
d0503676
CD
32992014-02-25 Ulrich Drepper <drepper@gmail.com>
3300 Carlos O'Donell <carlos@redhat.com>
3301
3302 [BZ #16613]
3303 * elf/dl-tls.c (_dl_count_modids): New function.
3304 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3305 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3306 audit library and increment generation counter.
3307 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3308 * elf/tst-audit9.c: New file.
3309 * elf/tst-auditmod9a.c: New file.
3310 * elf/tst-auditmod9b.c: New file.
3311 * elf/Makefile: Add rules to build and run tst-audit9.
3312
4cbf380c
FW
33132014-02-25 Florian Weimer <fweimer@redhat.com>
3314
3315 [BZ #15347]
3316 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3317
80a56cc3
WN
33182014-02-25 Will Newton <will.newton@linaro.org>
3319
3320 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3321 (__longjmp): Restore sp and lr before restoring callee
3322 saved registers. Add longjmp and longjmp_target
3323 SystemTap probe point.
3324 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3325 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3326 Define to zero to match jmpbuf layout.
3327 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3328 (__sigsetjmp): Save sp and lr before saving callee
3329 saved registers. Add setjmp SystemTap probe point.
3330
3ea0f74e
SL
33312014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3332
3333 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3334
b04acb26
AS
33352014-02-24 Andreas Schwab <schwab@suse.de>
3336
3337 [BZ #15804]
3338 * elf/pldd.c (wait_for_ptrace_stop): New function.
3339 (main): Call it after attaching.
3340
098ad55c
RM
33412014-02-22 Roland McGrath <roland@hack.frob.com>
3342
d4ec6ae1
RM
3343 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3344 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3345 Versions files is now verboten.
3346 * hurd/Versions (libc: GLIBC_2.0):
3347 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3348 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3349 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3350 * mach/Versions: Likewise.
3351
098ad55c
RM
3352 * csu/Versions: Remove unused %include.
3353 * resolv/Versions: Likewise.
3354
acd7f096
JM
33552014-02-21 Joseph Myers <joseph@codesourcery.com>
3356
f0881698
JM
3357 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3358 ($(objpfx)check-local-headers.out): Likewise.
3359 ($(objpfx)begin-end-check.out): Likewise.
3360 * Makerules (check-abi-%.out): Likewise.
3361 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3362 ($(objpfx)test2.cat): Likewise.
3363 ($(objpfx)de/libc.cat): Likewise.
3364 ($(objpfx)test-gencat.out): Likewise.
3365 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3366 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3367 ($(objpfx)noload-mem): Likewise.
3368 ($(objpfx)tst-pathopt.out): Likewise.
3369 ($(objpfx)tst-rtld-load-self.out): Likewise.
3370 ($(objpfx)tst-array1-cmp.out): Likewise.
3371 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3372 ($(objpfx)tst-array2-cmp.out): Likewise.
3373 ($(objpfx)tst-array3-cmp.out): Likewise.
3374 ($(objpfx)tst-array4-cmp.out): Likewise.
3375 ($(objpfx)tst-array5-cmp.out): Likewise.
3376 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3377 ($(objpfx)check-textrel.out): Likewise.
3378 ($(objpfx)check-execstack.out): Likewise.
3379 ($(objpfx)check-localplt.out): Likewise.
3380 ($(objpfx)order2-cmp.out): Likewise.
3381 ($(objpfx)tst-leaks1-mem): Likewise.
3382 ($(objpfx)tst-leaks1-static-mem): Likewise.
3383 ($(objpfx)tst-initorder-cmp.out): Likewise.
3384 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3385 ($(objpfx)tst-unused-dep.out): Likewise.
3386 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3387 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3388 * iconv/Makefile (test-iconvconfig): Likewise.
3389 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3390 ($(objpfx)iconv-test.out): Likewise.
3391 ($(objpfx)tst-tables.out): Likewise.
3392 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3393 ($(objpfx)tst-gettext.out): Likewise.
3394 ($(objpfx)tst-translit.out): Likewise.
3395 ($(objpfx)tst-gettext2.out): Likewise.
3396 ($(objpfx)tst-gettext4.out): Likewise.
3397 ($(objpfx)tst-gettext6.out): Likewise.
3398 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3399 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3400 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3401 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3402 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3403 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3404 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3405 ($(objpfx)wordexp-tst.out): Likewise.
3406 ($(objpfx)annexc.out): Likewise.
3407 ($(objpfx)tst-fnmatch-mem): Likewise.
3408 ($(objpfx)bug-regex2-mem): Likewise.
3409 ($(objpfx)bug-regex14-mem): Likewise.
3410 ($(objpfx)bug-regex21-mem): Likewise.
3411 ($(objpfx)bug-regex31-mem): Likewise.
3412 ($(objpfx)tst-vfork3-mem): Likewise.
3413 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3414 ($(objpfx)tst-pcre-mem): Likewise.
3415 ($(objpfx)tst-boost-mem): Likewise.
3416 ($(objpfx)tst-getconf.out): Likewise.
3417 ($(objpfx)bug-ga2-mem): Likewise.
3418 ($(objpfx)bug-glob2-mem): Likewise.
3419 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3420 ($(objpfx)mtrace-tst-leaks2): Likewise.
3421 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3422 ($(objpfx)tst-printf.out): Likewise.
3423 ($(objpfx)tst-setvbuf1.out): Likewise.
3424 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3425 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3426 ($(objpfx)tst-fmtmsg.out): Likewise.
3427 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3428 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3429
acd7f096
JM
3430 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3431 * bits/sigaction.h [__USE_MISC]: Likewise.
3432 * bits/waitstatus.h: Update #endif comments.
3433 * ctype/ctype.h: Likewise.
3434 * dirent/dirent.h: Likewise.
3435 [__USE_MISC]: Remove redundant conditionals.
3436 * grp/grp.h: Update #endif comments.
3437 [__USE_GNU]: Remove redundant conditionals.
3438 [__USE_MISC]: Likewise.
3439 * inet/netinet/in.h [__USE_GNU]: Likewise.
3440 * io/sys/stat.h [__USE_MISC]: Likewise.
3441 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3442 * libio/bits/stdio.h: Update #endif comments.
3443 [__USE_MISC]: Remove redundant conditionals.
3444 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3445 * libio/stdio.h: Update #endif comments.
3446 [__USE_MISC]: Remove redundant conditionals.
3447 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3448 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3449 * math/math.h: Update #else and #endif comments.
3450 [__USE_MISC]: Remove redundant conditionals.
3451 * misc/sys/uio.h: Update #endif comments.
3452 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3453 * posix/glob.h [__USE_MISC]: Likewise.
3454 * posix/sys/types.h: Update #endif comments.
3455 [__USE_MISC]: Remove redundant conditionals.
3456 * posix/sys/wait.h: Update #endif comments.
3457 [__USE_MISC]: Remove redundant conditionals.
3458 * posix/unistd.h: Update #endif comments.
3459 [__USE_MISC]: Remove redundant conditionals.
3460 * pwd/pwd.h [__USE_GNU]: Likewise.
3461 [__USE_MISC]: Likewise.
3462 * resolv/netdb.h [__USE_GNU]: Likewise.
3463 * signal/signal.h: Update #endif comments.
3464 [__USE_MISC]: Remove redundant conditionals.
3465 * stdlib/stdlib.h: Update #else and #endif comments.
3466 [__USE_MISC]: Remove redundant conditionals.
3467 [__USE_GNU]: Likewise.
3468 * string/bits/string2.h [__USE_MISC]: Likewise.
3469 * string/string.h: Update #endif comments.
3470 [__USE_MISC]: Remove redundant conditionals.
3471 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3472 Likewise.
3473 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3474 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3475 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3476 Likewise.
3477 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3478 Likewise.
3479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3480 comments.
3481 [__USE_MISC]: Remove redundant conditionals.
3482 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3483 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3484 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3485 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3486 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3487 Likewise.
3488 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3489 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3490 Likewise.
3491 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3492 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3493 Likewise.
3494 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3495 Likewise.
3496 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3497 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3498 Likewise.
3499 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3500 Likewise.
3501 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3502 * sysdeps/x86/bits/string.h: Update #endif comments.
3503 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3504 conditionals.
3505 * time/sys/time.h: Update #endif comments.
3506 * time/time.h: Likewise.
3507 [__USE_MISC]: Remove redundant conditionals.
3508
a5d82e4e
YG
35092014-02-21 Yury Gribov <y.gribov@samsung.com>
3510
3511 [BZ #16600]
3512 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3513
9a80491d
AS
35142014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3515
3516 * Versions.def (librt): Add GLIBC_2.17.
3517
105fa381
AC
35182014-02-21 Adam Conrad <adconrad@0c3.net>
3519
3520 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3521 synonym for _SYS_AUXV_H to allow direct inclusion.
3522 * sysdeps/sparc/bits/hwcap.h: Likewise.
3523 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3524 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3525 * sysdeps/sparc/sysdep.h: Likewise.
3526
b8cd1c4e
SP
35272014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3528
3529 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3530
bd939d23
RS
35312014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3532
3533 * benchtests/bench-strrchr.c: Print length instead of position.
3534
5d7b57ca
JM
35352014-02-20 Joseph Myers <joseph@codesourcery.com>
3536
bc688c10
JM
3537 [BZ #16611]
3538 * sysdeps/unix/sysv/linux/kernel-features.h
3539 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3540 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3541 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3542 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3543 Likewise.
3544 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3545 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3546 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3547 (__ASSUME_SENDMMSG): Define instead of using previous
3548 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3549 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3550 (__ASSUME_SENDMMSG_SYSCALL): Define.
3551 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3552 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3553 Likewise.
3554 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3555 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3556 Likewise.
3557 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3558 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3559 Likewise.
3560 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3561 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3562 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3563 [__ASSUME_SENDMMSG]: Change conditionals to
3564 [__ASSUME_SENDMMSG_SOCKETCALL].
3565 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3566 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3567 Define.
3568 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3569 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3570 Likewise.
3571 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3572 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3573 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3574 [!__ASSUME_SENDMMSG]: Change conditional to
3575 [!__ASSUME_SENDMMSG_SOCKETCALL].
3576 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3577 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3578 Define.
3579
0e31b18c
JM
3580 [BZ #16610]
3581 * sysdeps/unix/sysv/linux/kernel-features.h
3582 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3583 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3584 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3585 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3586 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3587 [__i386__ || __sparc__]
3588 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3589 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3590 (__ASSUME_RECVMMSG): Define instead of using previous
3591 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3592 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3593 (__ASSUME_RECVMMSG_SYSCALL): Define.
3594 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3595 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3596 Likewise.
3597 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3598 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3599 Likewise.
3600 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3601 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3602 Likewise.
3603 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3604 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3605 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3606 [__ASSUME_RECVMMSG]: Change condition to
3607 [__ASSUME_RECVMMSG_SOCKETCALL].
3608 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3609 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3610 Define.
3611 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3612 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3613 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3614 Likewise.
3615 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3616 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3617 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3618 [!__ASSUME_RECVMMSG]: Change condition to
3619 [!__ASSUME_RECVMMSG_SOCKETCALL].
3620 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3621 (__ASSUME_RECVMMSG_SYSCALL): Define.
3622
dd481ccf
JM
3623 [BZ #16609]
3624 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3625 __powerpc__ || __s390__ || __sh__ || __sparc__]
3626 (__ASSUME_SOCKETCALL): Define.
3627 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3628 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3629 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3630 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3631 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3632 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3633 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3634 (__ASSUME_ACCEPT4): Define instead of using previous
3635 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3636 __powerpc__ || __sparc__ || __s390__)] condition.
3637 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3638 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3639 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3640 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3641 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3642 [!__ASSUME_ACCEPT4]: Change condition to
3643 [!__ASSUME_ACCEPT4_SOCKETCALL].
3644 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3645 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3646 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3647 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3648 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3649 __ASSUME_ACCEPT4_SYSCALL.
3650 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3651 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3652 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3653 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3654 __ASSUME_ACCEPT4_SYSCALL.
3655 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3656 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3657 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3658 [__ASSUME_ACCEPT4]: Change condition to
3659 [__ASSUME_ACCEPT4_SOCKETCALL].
3660 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3661 (__ASSUME_SOCKETCALL): Define.
3662 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3664 (__ASSUME_SOCKETCALL): Define.
3665 (__ASSUME_ACCEPT4): Remove.
3666 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3667 Define.
3668 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3669 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3670 Likewise.
3671 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3672 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3673
5d7b57ca
JM
3674 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3675 macro.
3676 (HWCAP_ARM_LPAE): Likewise.
3677 (HWCAP_ARM_EVTSTRM): Likewise.
3678 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3679 Add vpfd32, lpae and evtstrm.
3680 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3681 Increase to 22.
3682
63689d61
JM
36832014-02-19 Joseph Myers <joseph@codesourcery.com>
3684
3685 * math/auto-libm-test-in: Add tests of clog10.
3686 * math/auto-libm-test-out: Regenerated.
3687 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690
ab09bf61
AS
36912014-02-18 Andreas Schwab <schwab@suse.de>
3692
3693 [BZ #16574]
3694 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3695 Store non-zero if the second buffer was newly allocated.
3696 (send_dg): Likewise.
3697 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3698 to send_vc and send_dg.
3699 (res_nsend): Pass NULL for ansp2_malloced.
3700 * resolv/res_query.c (__libc_res_nquery): Add parameter
3701 answerp2_malloced and pass it down to __libc_res_nsend.
3702 (res_nquery): Pass additional NULL to __libc_res_nquery.
3703 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3704 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3705 second answer buffer if answerp2_malloced was set.
3706 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3707 (__libc_res_nquerydomain): Add parameter
3708 answerp2_malloced and pass it down to __libc_res_nquery.
3709 (res_nquerydomain): Pass additional NULL to
3710 __libc_res_nquerydomain.
3711 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3712 additional NULL to __libc_res_nsend and __libc_res_nquery.
3713 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3714 additional NULL to __libc_res_nsearch.
3715 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3716 parameter of __libc_res_nsearch to check for separately allocated
3717 second buffer.
3718 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3719 __libc_res_nquery.
3720 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3721 additional NULL to __libc_res_nquery.
3722 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3723 __libc_res_nsearch.
3724 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3725 * include/resolv.h: Update prototypes of __libc_res_nquery,
3726 __libc_res_nsearch, __libc_res_nsend.
3727
a4fb7861
JM
37282014-02-18 Joseph Myers <joseph@codesourcery.com>
3729
c6af2d89
JM
3730 * math/auto-libm-test-in: Add tests of fma.
3731 * math/auto-libm-test-out: Regenerated.
3732 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3733 (fma_towardzero_test_data): Likewise.
3734 (fma_downward_test_data): Likewise.
3735 (fma_upward_test_data): Likewise.
3736 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3737 mpc_mode.
3738 (rounding_modes): Add values for new field.
3739 (func_calc_method): Add value mpfr_fff_f.
3740 (func_calc_desc): Add mpfr_fff_f union field.
3741 (test_function): Add field exact_args.
3742 (FUNC): Add macro argument EXACT_ARGS.
3743 (FUNC_mpfr_f_f): Update call to FUNC.
3744 (FUNC_mpfr_f_f): Likewise.
3745 (FUNC_mpfr_ff_f): Likewise.
3746 (FUNC_mpfr_if_f): Likewise.
3747 (FUNC_mpc_c_f): Likewise.
3748 (FUNC_mpc_c_c): Likewise.
3749 (test_functions): Add fma. Update calls to FUNC.
3750 (handle_input_arg): Add argument exact_args.
3751 (add_test): Update call to handle_input_arg.
3752 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3753 (output_for_one_input_case): Update call to calc_generic_results.
3754 Recalculate exact zero results in each rounding mode.
3755
a4fb7861
JM
3756 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3757 non-negative before setting low bit.
3758 * math/auto-libm-test-in: Mark one asin test possibly having
3759 spurious underflow.
3760 * math/auto-libm-test-out: Regenerated.
3761 * sysdeps/i386/fpu/libm-test-ulps: Update.
3762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3763
ef114eaf
DH
37642014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3765
2b7f4f2c
SP
3766 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3767 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3768 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3769 * README: Add missing listing for microblaze*-*-linux-gnu.
3770
c70a4b1d
MF
37712014-02-16 Mike Frysinger <vapier@gentoo.org>
3772
3773 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3774 * sysdeps/unix/sysv/linux/ia64: Move directory from
3775 ports/sysdeps/unix/sysv/linux/ia64.
3776 * README: Update listing for ia64-*-linux-gnu.
3777
591aeaf7
TD
37782014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3779 Joseph Myers <joseph@codesourcery.com>
3780
3781 * Makeconfig (test-name): New variable.
3782 (evaluate-test): Likewise.
3783 * Makerules (do-test-clean): Remove .test-result files.
3784 (common-mostlyclean): Likewise.
3785 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3786 * scripts/evaluate-test.sh: New file.
3787
6e89caf1
JM
37882014-02-14 Joseph Myers <joseph@codesourcery.com>
3789
7f98f180
JM
3790 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3791 separate $(objpfx)tst-fopenloc-cmp.out and
3792 $(objpfx)tst-fopenloc-mem.out targets.
3793 (tests): Update dependencies.
3794 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3795 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3796 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3797 (tst-rxspencer-no-utf8-ARGS): New variable.
3798 (tst-rxspencer-no-utf8-ENV): Likewise.
3799 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3800 instead of $(objpfx)tst-rxspencer-mem.
3801 ($(objpfx)tst-rxspencer-mem): Change target to
3802 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3803 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3804 * posix/tst-rxspencer-no-utf8.c: New file.
3805
6e89caf1
JM
3806 * elf/Makefile ($(objpfx)order.out): Remove rule.
3807 [$(run-built-tests) = yes] (tests): Depend on
3808 $(objpfx)order-cmp.out.
3809 ($(objpfx)order-cmp.out): New rule.
3810 [$(run-built-tests) = yes] (tests): Depend on
3811 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3812 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3813 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3814 $(objpfx)tst-array5-static-cmp.out.
3815 ($(objpfx)tst-array1.out): Remove rule.
3816 ($(objpfx)tst-array1-cmp.out): New rule.
3817 ($(objpfx)tst-array1-static.out): Remove rule.
3818 ($(objpfx)tst-array1-static-cmp.out): New rule.
3819 ($(objpfx)tst-array2.out): Remove rule.
3820 ($(objpfx)tst-array2-cmp.out): New rule.
3821 ($(objpfx)tst-array3.out): Remove rule.
3822 ($(objpfx)tst-array3-cmp.out): New rule.
3823 ($(objpfx)tst-array4.out): Remove rule.
3824 ($(objpfx)tst-array4-cmp.out): New rule.
3825 ($(objpfx)tst-array5.out): Remove rule.
3826 ($(objpfx)tst-array5-cmp.out): New rule.
3827 ($(objpfx)tst-array5-static.out): Remove rule.
3828 ($(objpfx)tst-array5-static-cmp.out): New rule.
3829 [$(run-built-tests) = yes] (tests): Depend on
3830 $(objpfx)order2-cmp.out.
3831 ($(objpfx)order2.out): Remove rule.
3832 ($(objpfx)order2-cmp.out): New rule.
3833 ($(objpfx)tst-initorder.out): Remove rule.
3834 [$(run-built-tests) = yes] (tests): Depend on
3835 $(objpfx)tst-initorder-cmp.out.
3836 ($(objpfx)tst-initorder-cmp.out): New rule.
3837 ($(objpfx)tst-initorder2.out): Remove rule.
3838 [$(run-built-tests) = yes] (tests): Depend on
3839 $(objpfx)tst-initorder2-cmp.out.
3840 ($(objpfx)tst-initorder2-cmp.out): New rule.
3841 [$(run-built-tests) = yes] (tests): Depend on
3842 $(objpfx)tst-unused-dep-cmp.out.
3843 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3844 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3845 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3846 on $(objpfx)tst-setvbuf1-cmp.out.
3847 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3848 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3849 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3850 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3851 ($(objpfx)tst-svc.out): Remove rule.
3852 ($(objpfx)tst-svc-cmp.out): New rule.
3853
ed9a38e2
JM
38542014-02-13 Joseph Myers <joseph@codesourcery.com>
3855
3856 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3857 * ctype/ctype.h [__USE_MISC]: Likewise.
3858 * dirent/dirent.h [__USE_MISC]: Likewise.
3859 * grp/grp.h [__USE_MISC]: Likewise.
3860 * io/fcntl.h [__USE_MISC]: Likewise.
3861 * io/sys/stat.h [__USE_MISC]: Likewise.
3862 * libio/stdio.h [__USE_MISC]: Likewise.
3863 * posix/unistd.h [__USE_MISC]: Likewise.
3864 * pwd/pwd.h [__USE_MISC]: Likewise.
3865 * stdlib.h [__USE_MISC]: Likewise.
3866 * string/bits/string2.h [__USE_MISC]: Likewise.
3867 * string/string.h [__USE_MISC]: Likewise.
3868 * time/time.h [__USE_MISC]: Likewise.
3869
d6680619
AS
38702014-02-13 Andreas Schwab <schwab@suse.de>
3871
3872 [BZ #16574]
3873 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3874 second answer buffer if it was separately allocated.
3875
ace614b8
JM
38762014-02-12 Joseph Myers <joseph@codesourcery.com>
3877
743151ae
JM
3878 * sysdeps/mips/math-tests.h: Include <features.h>.
3879 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3880 (ROUNDING_TESTS_long_double): Do not define.
3881 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3882 (EXCEPTION_TESTS_long_double): Likewise.
3883 * sysdeps/mips/mips64/libm-test-ulps: Update.
3884
498afc54
JM
3885 * include/features.h (__USE_BSD): Remove macro definitions.
3886 (__USE_SVID): Likewise.
3887 (_BSD_SOURCE): Likewise.
3888 (_SVID_SOURCE): Likewise.
3889 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3890 from definition of _DEFAULT_SOURCE.
3891 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3892 [_DEFAULT_SOURCE].
3893 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3894 * bits/mman.h [__USE_BSD]: Likewise.
3895 * bits/termios.h [__USE_BSD]: Likewise.
3896 * bits/waitstatus.h [__USE_BSD]: Likewise.
3897 * ctype/ctype.h [__USE_SVID]: Likewise.
3898 * dirent/dirent.h [__USE_BSD]: Likewise.
3899 * grp/grp.h [__USE_SVID]: Likewise.
3900 [__USE_BSD]: Likewise.
3901 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3902 * io/fcntl.h [__USE_BSD]: Likewise.
3903 * io/ftw.h [__USE_BSD]: Likewise.
3904 * io/sys/stat.h [__USE_BSD]: Likewise.
3905 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3906 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3907 * libio/stdio.h [__USE_SVID]: Likewise.
3908 [__USE_BSD]: Likewise.
3909 * math/math.h [__USE_SVID]: Likewise.
3910 [__USE_BSD]: Likewise.
3911 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3912 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3913 * misc/search.h [__USE_SVID]: Likewise.
3914 * misc/sys/mman.h [__USE_BSD]: Likewise.
3915 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3916 * misc/sys/uio.h [__USE_BSD]: Likewise.
3917 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3918 * posix/glob.h [__USE_BSD]: Likewise.
3919 * posix/regex.h [__USE_BSD]: Likewise.
3920 * posix/sys/types.h [__USE_BSD]: Likewise.
3921 [__USE_SVID]: Likewise.
3922 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3923 * posix/sys/wait.h [__USE_BSD]: Likewise.
3924 [__USE_SVID]: Likewise.
3925 * posix/unistd.h [__USE_BSD]: Likewise.
3926 [__USE_SVID]: Likewise.
3927 * pwd/pwd.h [__USE_SVID]: Likewise.
3928 * resolv/netdb.h [__USE_BSD]: Likewise.
3929 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3930 * signal/signal.h [__USE_BSD]: Likewise.
3931 [__USE_SVID]: Likewise.
3932 * socket/sys/socket.h [__USE_BSD]: Likewise.
3933 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3934 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3935 [__USE_SVID]: Likewise.
3936 * string/bits/string2.h [__USE_BSD]: Likewise.
3937 [__USE_SVID]: Likewise.
3938 * string/bits/string3.h [__USE_BSD]: Likewise.
3939 * string/endian.h [__USE_BSD]: Likewise.
3940 * string/string.h [__USE_SVID]: Likewise.
3941 [__USE_BSD]: Likewise.
3942 * string/strings.h [__USE_BSD]: Likewise.
3943 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3944 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3945 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3946 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3947 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3948 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3949 Likewise.
3950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3951 Likewise.
3952 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3953 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3954 Likewise.
3955 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3956 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3957 Likewise.
3958 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3959 Likewise.
3960 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3961 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3962 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3963 Likewise.
3964 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3965 Likewise.
3966 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3967 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3968 * termios/termios.h [__USE_BSD]: Likewise.
3969 * time/sys/time.h [__USE_BSD]: Likewise.
3970 * time/time.h [__USE_BSD]: Likewise.
3971 [__USE_SVID]: Likewise.
3972
dd7b064c
JM
3973 * Makefile (subdir_targets): Remove subdir_lint.out.
3974
a2c4c199
JM
3975 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3976 (do-tst-printf): Likewise.
3977 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3978 $(objpfx)tst-printf.out.
3979
8756f740
JM
3980 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3981
1b6dd3f1
JM
3982 * Makerules (check-abi-%): Change target to
3983 $(objpfx)check-abi-%.out.
3984 (check-abi target): Update dependencies.
3985 (check-abi-pattern variable): Redirect output of diff to $@.
3986 (check-abi variable): Likewise.
3987 * elf/Makefile (check-abi): Update dependencies.
3988
ace614b8
JM
3989 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3990 unused.
3991 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3992 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3993 subnormal range.
3994 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3995 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3996 value has largest subnormal exponent.
3997 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3998 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3999 * sysdeps/aarch64/soft-fp/sfp-machine.h
4000 (_FP_TININESS_AFTER_ROUNDING): New macro.
4001 * sysdeps/alpha/soft-fp/sfp-machine.h
4002 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4003 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4004 Likewise.
4005 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4006 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4007 * sysdeps/mips/soft-fp/sfp-machine.h
4008 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4009 * sysdeps/powerpc/soft-fp/sfp-machine.h
4010 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4011 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4012 Likewise.
4013 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4014 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4015 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4016 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4017 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4018 Likewise.
4019
fbfdf9cb
DAS
40202014-02-12 Dylan Alex Simon <dylan@dylex.net>
4021
4022 [BZ #16545]
4023 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4024 model 1.
4025
68b7efaa
RH
40262014-02-12 Richard Henderson <rth@redhat.com>
4027
c70a4b1d 4028 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4029 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4030 * sysdeps/unix/sysv/linux/alpha: Move directory from
4031 ports/sysdeps/unix/sysv/linux/alpha.
4032 * README: Update listing for alpha-*-linux-gnu.
4033
cb4a2928
JM
40342014-02-11 Joseph Myers <joseph@codesourcery.com>
4035
c941736c
JM
4036 * include/features.h: Update comment documenting feature test
4037 macros.
4038 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4039 _DEFAULT_SOURCE.
4040 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4041 (_SVID_SOURCE): Likewise.
4042 (_DEFAULT_SOURCE): Update description of default features.
4043 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4044 with _GNU_SOURCE.
4045 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4046 (S_ISVTX): Likewise.
4047 * manual/math.texi (Mathematical Constants): Likewise.
4048 * manual/signal.texi (Interrupted Primitives): Likewise.
4049 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4050 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4051 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4052 Don't refer to _SVID_SOURCE in warning text.
4053
e8d8d7ec
JM
4054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4055
cb4a2928
JM
4056 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4057 already defined.
4058 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4059 * sysdeps/mips/dl-lookup.c: Remove.
4060 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4061
7e6424e3
AK
40622014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4063
4064 [BZ #16447]
4065 * math/auto-libm-test-in: Add testcase for expl.
4066 * math/auto-libm-test-out: Regenerate.
4067 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4068 calculation of unsafe.
4069 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4070
75eff3fe
MS
40712014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4072
4073 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4074 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4075 ports/sysdeps/unix/sysv/linux/aarch64.
4076 * README: Update listing for aarch64*-*-linux-gnu.
4077
d35f1e80
WN
40782014-02-11 Will Newton <will.newton@linaro.org>
4079
4080 * manual/probes.texi (Mathematical Function Probes): Use
4081 "triggered" instead of "hit".
4082
7b3436d4
WN
4083 * manual/probes.texi (Internal Probes): Add documentation
4084 of setjmp, longjmp and longjmp_target probes.
4085
b4f12ca3
WN
4086 * include/stap-probe.h: Add comment about probe argument
4087 format.
4088
c13a72b7
WN
4089 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4090 definition. (tr_where, tr_freehook, tr_mallochook,
4091 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4092
195b8165
DM
40932014-02-11 David S. Miller <davem@davemloft.net>
4094
4095 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4096 processing int_tests.
4097
2ad7600b
JM
40982014-02-10 Joseph Myers <joseph@codesourcery.com>
4099
4100 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4101 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4102 * sysdeps/unix/sysv/linux/mips: Move directory from
4103 ports/sysdeps/unix/sysv/linux/mips.
4104 * README: Update listing for mips-*-linux-gnu and
4105 mips64-*-linux-gnu.
4106
73588a72
AS
41072014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4108
4109 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4110 * sysdeps/unix/sysv/linux/m68k: Move directory from
4111 ports/sysdeps/unix/sysv/linux/m68k.
4112 * README: Update listing for m68k-*-linux-gnu.
4113
4372980f
CM
41142014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4115
4116 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4117 * sysdeps/unix/sysv/linux/generic: Move directory from
4118 ports/sysdeps/unix/sysv/linux/generic.
4119 * sysdeps/unix/sysv/linux/tile: Move directory from
4120 ports/sysdeps/unix/sysv/linux/tile.
4121 * README: Update listing for tile*-*-linux-gnu.
4122
a1ffb40e
OB
41232014-02-10 Ondřej Bílka <neleai@seznam.cz>
4124
57f41c40
AS
4125 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4126 __builtin_expect.
a1ffb40e
OB
4127 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4128 * catgets/open_catalog.c (__open_catalog): Likewise.
4129 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4130 * debug/confstr_chk.c: Likewise.
4131 * debug/fread_chk.c (__fread_chk): Likewise.
4132 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4133 * debug/getgroups_chk.c: Likewise.
4134 * debug/mbsnrtowcs_chk.c: Likewise.
4135 * debug/mbsrtowcs_chk.c: Likewise.
4136 * debug/mbstowcs_chk.c: Likewise.
4137 * debug/memcpy_chk.c: Likewise.
4138 * debug/memmove_chk.c: Likewise.
4139 * debug/mempcpy_chk.c: Likewise.
4140 * debug/memset_chk.c: Likewise.
4141 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4142 * debug/strcat_chk.c (__strcat_chk): Likewise.
4143 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4144 * debug/strncat_chk.c (__strncat_chk): Likewise.
4145 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4146 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4147 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4148 * debug/wcpncpy_chk.c: Likewise.
4149 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4150 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4151 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4152 * debug/wcsncpy_chk.c: Likewise.
4153 * debug/wcsnrtombs_chk.c: Likewise.
4154 * debug/wcsrtombs_chk.c: Likewise.
4155 * debug/wcstombs_chk.c: Likewise.
4156 * debug/wmemcpy_chk.c: Likewise.
4157 * debug/wmemmove_chk.c: Likewise.
4158 * debug/wmempcpy_chk.c: Likewise.
4159 * debug/wmemset_chk.c: Likewise.
4160 * dirent/scandirat.c (SCANDIRAT): Likewise.
4161 * dlfcn/dladdr1.c (dladdr1): Likewise.
4162 * dlfcn/dladdr.c (dladdr): Likewise.
4163 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4164 * dlfcn/dlerror.c (__dlerror): Likewise.
4165 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4166 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4167 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4168 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4169 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4170 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4171 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4172 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4173 Likewise.
4174 * elf/dl-conflict.c: Likewise.
4175 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4176 * elf/dl-dst.h: Likewise.
4177 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4178 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4179 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4180 * elf/dl-init.c (call_init, _dl_init): Likewise.
4181 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4182 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4183 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4184 Likewise.
a1ffb40e
OB
4185 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4186 Likewise.
4187 * elf/dl-minimal.c (__libc_memalign): Likewise.
4188 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4189 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4190 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4191 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4192 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4193 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4194 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4195 * elf/dl-writev.h (_dl_writev): Likewise.
4196 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4197 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4198 (dl_main): Likewise.
a1ffb40e
OB
4199 * elf/setup-vdso.h (setup_vdso): Likewise.
4200 * grp/compat-initgroups.c (compat_call): Likewise.
4201 * grp/fgetgrent.c (fgetgrent): Likewise.
4202 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4203 * grp/putgrent.c (putgrent): Likewise.
4204 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4205 Likewise.
4206 * hurd/hurdinit.c: Likewise.
4207 * iconvdata/8bit-gap.c (struct): Likewise.
4208 * iconvdata/ansi_x3.110.c : Likewise.
4209 * iconvdata/big5.c : Likewise.
4210 * iconvdata/big5hkscs.c : Likewise.
4211 * iconvdata/cp1255.c: Likewise.
4212 * iconvdata/cp1258.c : Likewise.
4213 * iconvdata/cp932.c : Likewise.
4214 * iconvdata/euc-cn.c: Likewise.
4215 * iconvdata/euc-jisx0213.c : Likewise.
4216 * iconvdata/euc-jp.c: Likewise.
4217 * iconvdata/euc-jp-ms.c : Likewise.
4218 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4219 * iconvdata/gb18030.c : Likewise.
4220 * iconvdata/gbbig5.c (const): Likewise.
4221 * iconvdata/gbgbk.c: Likewise.
4222 * iconvdata/gbk.c : Likewise.
4223 * iconvdata/ibm1364.c : Likewise.
4224 * iconvdata/ibm930.c : Likewise.
4225 * iconvdata/ibm932.c: Likewise.
4226 * iconvdata/ibm933.c : Likewise.
4227 * iconvdata/ibm935.c : Likewise.
4228 * iconvdata/ibm937.c : Likewise.
4229 * iconvdata/ibm939.c : Likewise.
4230 * iconvdata/ibm943.c: Likewise.
4231 * iconvdata/iso_11548-1.c: Likewise.
4232 * iconvdata/iso-2022-cn.c : Likewise.
4233 * iconvdata/iso-2022-cn-ext.c : Likewise.
4234 * iconvdata/iso-2022-jp-3.c: Likewise.
4235 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4236 * iconvdata/iso-2022-kr.c : Likewise.
4237 * iconvdata/iso646.c (gconv_end): Likewise.
4238 * iconvdata/iso_6937-2.c : Likewise.
4239 * iconvdata/iso_6937.c : Likewise.
4240 * iconvdata/iso8859-1.c: Likewise.
4241 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4242 * iconvdata/shift_jisx0213.c : Likewise.
4243 * iconvdata/sjis.c : Likewise.
4244 * iconvdata/t.61.c : Likewise.
4245 * iconvdata/tcvn5712-1.c : Likewise.
4246 * iconvdata/tscii.c: Likewise.
4247 * iconvdata/uhc.c : Likewise.
4248 * iconvdata/unicode.c (gconv_end): Likewise.
4249 * iconvdata/utf-16.c (gconv_end): Likewise.
4250 * iconvdata/utf-32.c (gconv_end): Likewise.
4251 * iconvdata/utf-7.c (base64): Likewise.
4252 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4253 * iconv/gconv_close.c (__gconv_close): Likewise.
4254 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4255 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4256 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4257 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4258 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4259 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4260 * iconv/iconv.c (iconv): Likewise.
4261 * iconv/iconv_close.c: Likewise.
4262 * iconv/loop.c (SINGLE): Likewise.
4263 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4264 * include/atomic.h: Likewise.
4265 * inet/inet6_option.c (option_alloc): Likewise.
4266 * intl/bindtextdom.c (set_binding_values): Likewise.
4267 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4268 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4269 * intl/localealias.c (read_alias_file): Likewise.
4270 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4271 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4272 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4273 * libio/fmemopen.c (fmemopen): Likewise.
4274 * libio/iofgets.c (_IO_fgets): Likewise.
4275 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4276 * libio/iofgetws.c (fgetws): Likewise.
4277 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4278 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4279 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4280 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4281 * locale/findlocale.c (_nl_find_locale): Likewise.
4282 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4283 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4284 Likewise.
4285 * locale/setlocale.c (setlocale): Likewise.
4286 * login/programs/pt_chown.c (main): Likewise.
4287 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4288 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4289 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4290 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4291 * math/e_exp2l.c: Likewise.
4292 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4293 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4294 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4295 * math/s_catan.c (__catan): Likewise.
4296 * math/s_catanf.c (__catanf): Likewise.
4297 * math/s_catanh.c (__catanh): Likewise.
4298 * math/s_catanhf.c (__catanhf): Likewise.
4299 * math/s_catanhl.c (__catanhl): Likewise.
4300 * math/s_catanl.c (__catanl): Likewise.
4301 * math/s_ccosh.c (__ccosh): Likewise.
4302 * math/s_ccoshf.c (__ccoshf): Likewise.
4303 * math/s_ccoshl.c (__ccoshl): Likewise.
4304 * math/s_cexp.c (__cexp): Likewise.
4305 * math/s_cexpf.c (__cexpf): Likewise.
4306 * math/s_cexpl.c (__cexpl): Likewise.
4307 * math/s_clog10.c (__clog10): Likewise.
4308 * math/s_clog10f.c (__clog10f): Likewise.
4309 * math/s_clog10l.c (__clog10l): Likewise.
4310 * math/s_clog.c (__clog): Likewise.
4311 * math/s_clogf.c (__clogf): Likewise.
4312 * math/s_clogl.c (__clogl): Likewise.
4313 * math/s_csin.c (__csin): Likewise.
4314 * math/s_csinf.c (__csinf): Likewise.
4315 * math/s_csinh.c (__csinh): Likewise.
4316 * math/s_csinhf.c (__csinhf): Likewise.
4317 * math/s_csinhl.c (__csinhl): Likewise.
4318 * math/s_csinl.c (__csinl): Likewise.
4319 * math/s_csqrt.c (__csqrt): Likewise.
4320 * math/s_csqrtf.c (__csqrtf): Likewise.
4321 * math/s_csqrtl.c (__csqrtl): Likewise.
4322 * math/s_ctan.c (__ctan): Likewise.
4323 * math/s_ctanf.c (__ctanf): Likewise.
4324 * math/s_ctanh.c (__ctanh): Likewise.
4325 * math/s_ctanhf.c (__ctanhf): Likewise.
4326 * math/s_ctanhl.c (__ctanhl): Likewise.
4327 * math/s_ctanl.c (__ctanl): Likewise.
4328 * math/w_pow.c: Likewise.
4329 * math/w_powf.c: Likewise.
4330 * math/w_powl.c: Likewise.
4331 * math/w_scalb.c (sysv_scalb): Likewise.
4332 * math/w_scalbf.c (sysv_scalbf): Likewise.
4333 * math/w_scalbl.c (sysv_scalbl): Likewise.
4334 * misc/error.c (error_tail): Likewise.
4335 * misc/pselect.c (__pselect): Likewise.
4336 * nis/nis_callback.c (__nis_create_callback): Likewise.
4337 * nis/nis_call.c (__nisfind_server): Likewise.
4338 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4339 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4340 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4341 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4342 * nis/nis_lookup.c (nis_lookup): Likewise.
4343 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4344 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4345 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4346 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4347 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4348 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4349 * nis/nss_compat/compat-initgroups.c (add_group)
4350 (internal_getgrent_r): Likewise.
4351 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4352 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4353 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4354 (internal_getspnam_r): Likewise.
4355 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4356 (_nss_nis_getaliasbyname_r): Likewise.
4357 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4358 (_nss_nis_getntohost_r): Likewise.
4359 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4360 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4361 (_nss_nis_getgrgid_r): Likewise.
4362 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4363 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4364 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4365 (_nss_nis_gethostbyname4_r): Likewise.
4366 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4367 (initgroups_netid): Likewise.
a1ffb40e 4368 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4369 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4370 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4371 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4372 (_nss_nis_getprotobynumber_r): Likewise.
4373 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4374 (_nss_nis_getsecretkey): Likewise.
4375 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4376 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4377 (_nss_nis_getpwuid_r): Likewise.
4378 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4379 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4380 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4381 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4382 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4383 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4384 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4385 Likewise.
57f41c40
AS
4386 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4387 (_nss_nisplus_getntohost_r): Likewise.
4388 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4389 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4390 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4391 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4392 Likewise.
57f41c40
AS
4393 * nis/nss_nisplus/nisplus-initgroups.c
4394 (_nss_nisplus_initgroups_dyn): Likewise.
4395 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4396 (_nss_nisplus_getnetbyaddr_r): Likewise.
4397 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4398 (_nss_nisplus_getprotobynumber_r): Likewise.
4399 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4400 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4401 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4402 Likewise.
57f41c40
AS
4403 * nis/nss_nisplus/nisplus-service.c
4404 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4405 (_nss_nisplus_getservbyport_r): Likewise.
4406 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4407 (_nss_nisplus_getspnam_r): Likewise.
4408 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4409 Likewise.
a1ffb40e
OB
4410 * nscd/aicache.c (addhstaiX): Likewise.
4411 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4412 * nscd/connections.c (register_traced_file, send_ro_fd)
4413 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4414 (main_loop_epoll): Likewise.
a1ffb40e
OB
4415 * nscd/grpcache.c (addgrbyX): Likewise.
4416 * nscd/hstcache.c (addhstbyX): Likewise.
4417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4418 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4419 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4420 (addinnetgrX): Likewise.
4421 * nscd/nscd-client.h (__nscd_acquire_maplock)
4422 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4423 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4424 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4425 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4426 Likewise.
4427 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4428 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4429 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4430 (__nscd_get_map_ref): Likewise.
a1ffb40e 4431 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4432 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4433 Likewise.
a1ffb40e
OB
4434 * nscd/pwdcache.c (addpwbyX): Likewise.
4435 * nscd/selinux.c (preserve_capabilities): Likewise.
4436 * nscd/servicescache.c (addservbyX): Likewise.
4437 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4438 * posix/fnmatch.c (fnmatch): Likewise.
4439 * posix/getopt.c (_getopt_internal_r): Likewise.
4440 * posix/glob.c (glob, glob_in_dir): Likewise.
4441 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4442 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4443 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4444 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4445 * resolv/res_init.c: Likewise.
4446 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4447 * resolv/res_query.c (__libc_res_nquery): Likewise.
4448 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4449 Likewise.
4450 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4451 * stdio-common/perror.c (perror): Likewise.
4452 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4453 * stdio-common/tmpnam.c (tmpnam): Likewise.
4454 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4455 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4456 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4457 Likewise.
a1ffb40e
OB
4458 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4459 * stdlib/putenv.c (putenv): Likewise.
4460 * stdlib/setenv.c (__add_to_environ): Likewise.
4461 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4462 * stdlib/strtol_l.c (INTERNAL): Likewise.
4463 * string/memmem.c (memmem): Likewise.
4464 * string/strerror.c (strerror): Likewise.
4465 * string/strnlen.c (__strnlen): Likewise.
4466 * string/test-memmem.c (simple_memmem): Likewise.
4467 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4468 * sunrpc/pm_getport.c (__get_socket): Likewise.
4469 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4470 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4471 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4472 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4473 Likewise.
4474 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4475 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4476 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4477 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4478 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4479 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4480 Likewise.
4481 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4482 Likewise.
a1ffb40e
OB
4483 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4484 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4485 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4486 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4487 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4489 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4490 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4491 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4492 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4493 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4494 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4495 Likewise.
4496 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4497 Likewise.
4498 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4499 Likewise.
4500 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4501 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4502 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4503 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4504 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4505 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4506 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4507 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4508 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4510 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4512 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4513 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4514 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4515 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4516 Likewise.
a1ffb40e
OB
4517 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4518 Likewise.
4519 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4520 Likewise.
4521 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4522 Likewise.
4523 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4525 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4526 Likewise.
4527 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4528 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4529 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4530 * sysdeps/posix/sleep.c: Likewise.
4531 * sysdeps/posix/tempname.c: Likewise.
4532 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4533 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4534 Likewise.
57f41c40
AS
4535 * sysdeps/powerpc/powerpc32/dl-machine.h
4536 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4537 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4538 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4539 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4540 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4541 Likewise.
4542 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4543 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4544 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4546 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4547 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4548 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4549 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4550 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4551 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4553 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4554 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4556 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4557 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4558 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4559 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4560 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4561 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4562 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4563 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4565 Likewise.
4566 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4567 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4568 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4569 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4570 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4571 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4572 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4573 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4574 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4575 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4576 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4577 Likewise.
4578 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4579 (__posix_fallocate64_l64): Likewise.
4580 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4581 (posix_fallocate): Likewise.
57f41c40
AS
4582 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4583 Likewise.
a1ffb40e 4584 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4585 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4586 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4587 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4588 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4589 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4590 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4591 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4592 (__posix_fallocate64_l64): Likewise.
4593 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4594 Likewise.
4595 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4596 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4597 (__get_clockfreq): Likewise.
a1ffb40e
OB
4598 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4599 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4600 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4601 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4603 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4604 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4605 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4606 Likewise.
4607 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4608 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4609 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4610 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4611 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4612 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4613 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4614 Likewise.
4615 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4616 (posix_fallocate): Likewise.
4617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4618 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4619 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4620 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4621 (elf_machine_rela, elf_machine_rela_relative)
4622 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4623 * time/asctime.c (asctime_internal): Likewise.
4624 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4625 * time/tzset.c (__tzset_parse_tz): Likewise.
4626 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4627 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4628 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4629 * wcsmbs/wcsmbsload.h: Likewise.
4630
f3d338c9
OB
4631 [BZ #15894]
4632 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4633
57f41c40
AS
4634 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4635 (arena_get2): Remove THREAD_STATS conditionals.
4636 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4637 (__malloc_stats, int): Likewise.
bdfe308a 4638
d674667c
MF
46392014-02-08 Mike Frysinger <vapier@gentoo.org>
4640
4641 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4642 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4643
6349768c
MF
4644 * manual/setjmp.texi: Fix typos/grammar errors.
4645
0b7c7473
MF
4646 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4647 Only return early when n is <= 0. Delete unused return statement.
4648
ac8cc9e3
MF
4649 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4650 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4651 * debug/tst-longjmp_chk3.c: New file.
4652
c5bb8e23
MF
4653 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4654 (test_main): Replace code with set_fortify_handler call.
4655 * debug/test-strcpy_chk.c: Likewise.
4656 * debug/tst-chk1.c: Likewise.
4657 * debug/tst-longjmp_chk.c: Likewise.
4658 * test-skeleton.c: Include fcntl.h & paths.h
4659 (set_fortify_handler): Define.
4660
10444e42
MF
4661 * debug/tst-longjmp_chk.c: Add header comment and include
4662 ../test-skeleton.c.
4663 (do_test): Mark static.
4664 (TEST_FUNCTION): Define.
4665
1e805e8d
MF
4666 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4667 (IP_PMTUDISC_INTERFACE): Likewise.
4668 (IP_MULTICAST_IF): Likewise.
4669 (IP_MULTICAST_TTL): Likewise.
4670 (IP_MULTICAST_LOOP): Likewise.
4671 (IP_ADD_MEMBERSHIP): Likewise.
4672 (IP_DROP_MEMBERSHIP): Likewise.
4673 (IP_UNBLOCK_SOURCE): Likewise.
4674 (IP_BLOCK_SOURCE): Likewise.
4675 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4676 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4677 (IP_MSFILTER): Likewise.
4678 (MCAST_JOIN_GROUP): Likewise.
4679 (MCAST_BLOCK_SOURCE): Likewise.
4680 (MCAST_UNBLOCK_SOURCE): Likewise.
4681 (MCAST_LEAVE_GROUP): Likewise.
4682 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4683 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4684 (MCAST_MSFILTER): Likewise.
4685 (IP_MULTICAST_ALL): Likewise.
4686 (IP_UNICAST_IF): Likewise.
4687
73f79bb7
MF
4688 * timezone/Makefile: Delete $(have-ksh) check.
4689 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4690 * timezone/tzselect.ksh: Add +x mode bits.
4691
8da79b60
MF
4692 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4693 (ANON_INODE_FS_MAGIC): Likewise.
4694 (BDEVFS_MAGIC): Likewise.
4695 (BINFMTFS_MAGIC): Likewise.
4696 (BTRFS_TEST_MAGIC): Likewise.
4697 (CRAMFS_MAGIC_WEND): Likewise.
4698 (DEBUGFS_MAGIC): Likewise.
4699 (ECRYPTFS_SUPER_MAGIC): Likewise.
4700 (EXT3_SUPER_MAGIC): Likewise.
4701 (EXT4_SUPER_MAGIC): Likewise.
4702 (FUTEXFS_SUPER_MAGIC): Likewise.
4703 (HOSTFS_SUPER_MAGIC): Likewise.
4704 (HUGETLBFS_MAGIC): Likewise.
4705 (MINIX3_SUPER_MAGIC): Likewise.
4706 (MTD_INODE_FS_MAGIC): Likewise.
4707 (NILFS_SUPER_MAGIC): Likewise.
4708 (OPENPROM_SUPER_MAGIC): Likewise.
4709 (PIPEFS_MAGIC): Likewise.
4710 (PSTOREFS_MAGIC): Likewise.
4711 (QNX6_SUPER_MAGIC): Likewise.
4712 (RAMFS_MAGIC): Likewise.
4713 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4714 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4715 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4716 (SECURITYFS_MAGIC): Likewise.
4717 (SELINUX_MAGIC): Likewise.
4718 (SMACK_MAGIC): Likewise.
4719 (SOCKFS_MAGIC): Likewise.
4720 (SQUASHFS_MAGIC): Likewise.
4721 (STACK_END_MAGIC): Likewise.
4722 (TMPFS_MAGIC): Likewise.
4723 (USBDEVICE_SUPER_MAGIC): Likewise.
4724 (V9FS_MAGIC): Likewise.
4725 (XENFS_SUPER_MAGIC): Likewise.
4726 (CRAMFS_MAGIC): Fix typo in comment.
4727 (EXT2_SUPER_MAGIC): Update comment.
4728 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4729
464263cc
JM
47302014-02-08 Joseph Myers <joseph@codesourcery.com>
4731
c6bfe5c4
JM
4732 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4733 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4734 * sysdeps/unix/sysv/linux/arm: Move directory from
4735 ports/sysdeps/unix/sysv/linux/arm.
4736 * README: Update listing for arm-*-linux-gnueabi.
4737
464263cc
JM
4738 * README: Remove mention of am33.
4739
32749f6c
RM
47402014-02-07 Roland McGrath <roland@hack.frob.com>
4741
4742 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4743 than the comma operator, to avoid "rhs of comma has no effect"
4744 compiler warnings.
4745 (__sigfillset, __sigandset, __sigorset): Likewise.
4746 * include/signal.h (__sigemptyset): Likewise.
4747 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4748
d5b396c1
AM
47492014-02-07 Allan McRae <allan@archlinux.org>
4750
4751 * version.h (RELEASE): Set to "development".
4752 (VERSION): Set to "2.19.90"
4753 * NEWS: Add 2.20 section.
4754
3bfff2ed
CD
47552014-02-06 Carlos O'Donell <carlos@redhat.com>
4756
4757 [BZ #16529]
4758 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4759
ee7cc385
SP
47602014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4761
4762 * manual/contrib.texi: Update entry for Carlos O'Donell,
4763 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4764
f877c4f2
CD
47652014-02-05 Carlos O'Donell <carlos@rehdat.com>
4766
27e839f6
CD
4767 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4768
f877c4f2
CD
4769 * sysdeps/unix/sysv/linux/kernel-features.h
4770 [__LINUX_KERNEL_VERSION >= 0x020621]
4771 (__ASSUME_PROC_PID_TASK_COMM): Define.
4772
68159946
SP
47732014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4774
ba17cdbd
SP
4775 [BZ #16398]
4776 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4777 conversion when destination buffer does not have enough space.
4778 * libio/tst-ftell-partial-wide.c: New test case.
4779 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4780
68159946
SP
4781 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4782 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4783 Leonard and Allan McRae.
4784
2b528732
DM
47852014-02-04 David S. Miller <davem@davemloft.net>
4786
4787 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4788 32-bit.
4789
0ff82463
AZ
47902014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4791
57f41c40
AS
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4793 New file
c01603f7
AZ
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4795 New file
57f41c40
AS
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4797 New file.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4799 New file.
c01603f7
AZ
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4801 New file.
57f41c40
AS
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4803 New file.
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4805 New file.
c01603f7
AZ
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4807 New file.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4809 New file.
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4811 New file.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4813 New file.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4815 New file.
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4817 New file.
4818
48192014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4820
0ff82463
AZ
4821 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4822 * shlib-versions: Likewise.
4823
1695c773
AZ
48242014-02-04 Roland McGrath <roland@hack.frob.com>
4825 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4826
4827 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4828 (abilist-pattern): New variable, set to %-le.abilist.
4829
4830 * Makerules (abilist-pattern): New variable.
4831 (vpath): Use $(abilist-pattern) in place of %.abilist.
4832 (check-abi-% pattern rule): Likewise.
4833 (check-abi, update-abi): Likewise.
4834
6c0ce4b4
EW
48352014-02-04 Eric Wong <normalperson@yhbt.net>
4836
4837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4838
481e3524
CD
48392014-02-03 Carlos O'Donell <carlos@redhat.com>
4840
4841 * manual/startup.texi: Add next, previous, and top entries for
4842 the `Program Arguments' and `Environment Variables' nodes.
4843
375592d3
AO
48442014-02-03 Alexandre Oliva <aoliva@redhat.com>
4845
4846 * manual/macros.texi: Add comments before MTASC-safety macros.
4847
f54838ba
AO
4848 * manual/users.texi: Document MTASC-safety properties.
4849
57f41c40
AS
4850 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4851 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
4852 @deftypefun, and add @safety note.
4853 * manual/signal.texi: Move comments that analyze the above
4854 functions to their home place.
4855
fd3daba4
AM
48562014-02-03 Allan McRae <allan@archlinux.org>
4857
4858 * po/sl.po: Update Slovenian translation from translation project.
4859
597636d7
AO
48602014-02-02 Alexandre Oliva <aoliva@redhat.com>
4861
4862 * manual/time.texi (timegm): Add missing blank after @c.
4863 Reported by Joseph Myers <joseph@codesourcery.com>.
4864
ee196e3c
AO
48652014-02-01 Alexandre Oliva <aoliva@redhat.com>
4866
4867 * manual/check-safety.sh: New.
4868 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4869
f8d529d5
AO
4870 * manual/terminal.texi: Document MTASC-safety properties.
4871
de55fdf4
AO
4872 * manual/filesys.texi: Document MTASC-safety properties.
4873
c3299c08
AO
4874 * manual/errno.texi: Document MTASC-safety properties.
4875
06e90b14
AO
4876 * manual/intro.texi: Document safety identifiers and
4877 conditionals.
4878
1acd4371
AO
4879 * manual/string.texi (wcstok): Fix prototype.
4880 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4881
23e5b8cb
AO
4882 * manual/time.texi: Document MTASC-safety properties.
4883
11087373
AO
4884 * manual/string.texi: Document MTASC-safety properties.
4885
5da2c93d
AO
4886 * manual/threads.texi: Document MTASC-safety properties.
4887
171e9210
AO
4888 * manual/stdio.texi: Document MTASC-safety properties.
4889
d9e02532
AO
4890 * manual/syslog.texi: Document MTASC-safety properties.
4891
6af8bab7
AO
4892 * manual/sysinfo.texi: Document MTASC-safety properties.
4893
663b02d7
AO
4894 * manual/startup.texi: Document MTASC-safety properties.
4895
973f180b
AO
4896 * manual/socket.texi: Document MTASC-safety properties.
4897
8f3c25c8
AO
4898 * manual/signal.texi: Document MTASC-safety properties.
4899
542210fb
AO
49002014-01-31 Alexandre Oliva <aoliva@redhat.com>
4901
4902 * manual/setjmp.texi: Document MTASC-safety properties.
4903
433c45a2
AO
4904 * manual/search.texi: Document MTASC-safety properties.
4905
c8ce789c
AO
4906 * manual/resource.texi: Document MTASC-safety properties.
4907
19f5d29c
AO
4908 * manual/process.texi: Document MTASC-safety properties.
4909
e2dfb7f4
AO
4910 * manual/platform.texi: Document MTASC-safety properties.
4911
8c1413f5
AO
4912 * manual/pipe.texi: Document MTASC-safety properties.
4913
03483ada
AO
4914 * manual/pattern.texi: Document MTASC-safety properties.
4915
29e7e2df
AO
4916 * manual/message.texi: Document MTASC-safety properties.
4917
9f529d7c
AO
4918 [BZ #12751]
4919 * manual/memory.texi: Document MTASC-safety properties.
4920
27aaa791
AO
4921 * manual/math.texi: Document MTASC-safety properties.
4922
f2d58726
AO
4923 * manual/locale.texi: Document MTASC-safety properties.
4924
2cc3615c
AO
4925 * manual/llio.texi: Document MTASC-safety properties.
4926
d9f0ec97
AO
4927 * manual/libdl.texi: New.
4928
e7c4409a
AO
4929 * manual/lang.texi: Document MTASC-safety properties.
4930
27bdc63c
AO
4931 * manual/job.texi: Document MTASC-safety properties.
4932
a7b90ea9
AO
4933 * manual/getopt.texi: Document MTASC-safety properties.
4934
c49130e3
AO
4935 * manual/ctype.texi: Document MTASC-safety properties.
4936
0d23a5c1
MR
49372014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4938
4939 [BZ #16046]
4940 * csu/libc-tls.c (static_map): Remove variable.
4941 (__libc_setup_tls): Use main executable's link map for TLS data.
4942 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4943 casing for LM_ID_BASE and GL(dl_nns).
4944 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4945 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4946 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4947 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4948 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4949 member.
4950 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4951 l_phnum members.
4952
0037bb60
AO
49532014-01-30 Alexandre Oliva <aoliva@redhat.com>
4954
4955 * manual/debug.texi: Document MTASC-safety properties.
4956
409e00bd
L
49572014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4958
4959 [BZ #16510]
4960 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4961 of __x86_64__ when disabling x87 inline functions.
4962
86e60666
AO
49632014-01-29 Alexandre Oliva <aoliva@redhat.com>
4964
4965 * manual/charset.texi: Document MTASC-safety properties.
4966
76167637
AO
4967 * manual/crypt.texi: Document MTASC-safety properties.
4968
e567f2a0
AO
4969 * manual/conf.texi: Document MTASC-safety properties.
4970
b719dafd
AO
4971 * manual/arith.texi: Document MTASC-safety properties.
4972
4a16c662
AO
4973 * manual/argp.texi: Document MTASC-safety properties.
4974
0a57b83e
AO
4975 * manual/macros.texi: Introduce macros to document multi
4976 thread, asynchronous signal and asynchronous cancellation
4977 safety properties.
4978 * manual/intro.texi: Introduce the properties themselves.
4979
feab2397
KK
49802014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4981
4982 * sysdeps/sh/sh4/Makefile: New file.
4983
1c0d11bc
AS
49842014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4985
4986 * math/gen-libm-test.pl ($srcdir): New variable.
4987 ($auto_input): Use it.
4988
af37a8a3
SP
49892014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
d7b00f98
SP
4991 [BZ #16506]
4992 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4993 access beyond array bounds when parsing netgroups file.
4994
af37a8a3
SP
4995 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4996 the old buffer before realloc.
4997
0c00f062
AM
49982014-01-27 Allan McRae <allan@archlinux.org>
4999
5000 * po/fr.po: Update French translation from translation project.
5001
7d69a1b0
KK
50022014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5003
5004 * sysdeps/sh/libm-test-ulps: Regenerate.
5005
6e697ff7
DM
50062014-01-24 David S. Miller <davem@davemloft.net>
5007
5008 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5009
9cadb35c
KK
50102014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5011
5012 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5013 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5014
5d41dadf
SP
50152013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5016
5017 [BZ #16474]
5018 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5019 string pointers after reallocation.
5020
0bad441c
KK
50212014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5022
5023 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5024 __SH4A__ instead of __SH_FPU_ANY__.
5025
7007c661
KK
50262014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5027
5028 * sysdeps/sh/fpu_control.h: New file.
5029 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5030 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5031 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5032 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5033 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5034 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5035 * sysdeps/sh/sys/ucontext.h: Remove.
5036 * sysdeps/sh/sys: Remove directory.
5037
0f0c35e4
AK
50382014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5039
5040 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5041 s390/sys/ucontext.h.
5042 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5043 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5044
4959e284
L
50452014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5046
5047 [BZ #15605]
5048 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5049
d98720e0
AZ
50502014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5051
5052 [BZ#16431]
5053 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5054 Adjust the vDSO correctly for internal calls.
5055 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5056
91cbd0bc
AM
50572014-01-20 Allan McRae <allan@archlinux.org>
5058
5059 * po/ca.po: Update Catalan translation from translation project.
5060
7a02cfad
MF
50612014-01-16 Mike Frysinger <vapier@gentoo.org>
5062
5063 * sysdeps/s390/sotruss-lib.c: New file.
5064
736c304a
AZ
50652014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5066
5067 [BZ#16430]
6e077ee5 5068 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5069 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5070 local calls issues by not having a PLT stub required for IFUNC calls.
5071 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5072
94d0cea0
JM
50732014-01-16 Joseph Myers <joseph@codesourcery.com>
5074
5075 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5076 * math/test-fpucw-static.c: Likewise.
5077
980cb518
SP
50782013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5079
5080 [BZ #16453]
5081 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5082
2393fc01
AZ
50832014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5084
5085 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5086 implementation for powerpc.
5087
d359bcc2
OB
50882014-01-15 Ondřej Bílka <neleai@seznam.cz>
5089
5090 [BZ #14782]
5091 * sysdeps/posix/system.c (__libc_system): Do not enable
5092 asynchronous cancellation.
5093
7beb48cb
AK
50942014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5095
5096 [BZ #16427]
5097 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5098 handling only for numbers special also in the IEEE case.
5099
c20d5bf5
AK
51002014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5101
5102 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5103
e83bd4ee
AM
51042014-01-11 Allan McRae <allan@archlinux.org>
5105
76d0ea69
AM
5106 * po/bg.po: Update Bulgarian translation from translation project.
5107
e83bd4ee
AM
5108 * po/de.po: Update German translation from translation project.
5109
bc2ba20a
RM
51102014-01-10 Roland McGrath <roland@hack.frob.com>
5111
5112 * sysdeps/generic/gcc-compat.h: New file.
5113
649ecea2
SP
51142014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5115
5116 * benchtests/asin-inputs: Correct slow inputs.
5117 * benchtests/acos-inputs: Likewise.
5118
1b19c006
AM
51192014-01-10 Allan McRae <allan@archlinux.org>
5120
a46dab08
AM
5121 * po:sv.po: Update Swedish translation from translation project.
5122
421df74a
AM
5123 * po/vi.po: Update Vietnamese translation from translation project.
5124
d61c51a7
AM
5125 * po/eo.po: Update Esperanto translation from translation project.
5126
0339a319
AM
5127 * po/cs.po: Update Czech translation from translation project.
5128
94ad3e99
AM
5129 * po/nl.po: Update Dutch translation from translation project.
5130
e349ca71
AM
5131 * po/pl.po: Update Polish translation from translation project.
5132
ddf930c1
AM
5133 * po/ru.po: Update Russian translation from translation project.
5134
1b19c006
AM
5135 * po/uk.po: Update Ukrainian translation from translation project.
5136
9f236c49
BM
51372014-01-08 Brooks Moses <bmoses@google.com>
5138
5139 * elf/dl-load.c: Fix comment typo.
5140
cd6701cf
CD
51412014-01-08 Carlos O'Donell <carlos@redhat.com>
5142
5143 * po/header.pot: Rename to...
5144 * po/pot.header: ... this.
5145 * po/Makefile: Use pot.header.
5146
66671c84
YK
51472014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5148 Maxim Kuvyrkov <maxim@kugelworks.com>
5149
5150 [BZ #16394]
cd6701cf
CD
5151 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5152 SRC and DEST against LEN.
66671c84 5153
38f34581
AZ
51542014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5155
5156 [BZ #16414]
5157 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5158 implementation.
5159 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5160
51612014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5162
5163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5164
4c327f2a
JM
51652014-01-08 Joseph Myers <joseph@codesourcery.com>
5166
5167 [BZ #16408]
5168 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5169 for large positive arguments.
5170
b821f414
JM
51712014-01-07 Joseph Myers <joseph@codesourcery.com>
5172
1f0f2067
JM
5173 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5174
a5a326f6
JM
5175 * math/auto-libm-test-in: Mark various tests with
5176 xfail-rounding:ldbl-128ibm.
5177 * math/auto-libm-test-out: Regenerated.
5178
b821f414
JM
5179 [BZ #16407]
5180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5181 Increase overflow threshold.
5182
94c8a4bc
OB
51832014-01-07 Ondřej Bílka <neleai@seznam.cz>
5184
5185 [BZ #14286]
5186 * stdio-common/vfprintf.c: Check for integer overflow.
5187
87ded0c3
AK
51882014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5189
5190 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5191 the first argument and return value of __tls_get_addr_internal.
5192
c5eebdd0
AK
51932014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5194
5195 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5196 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5197
05d138ef
AK
51982014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5199
5200 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5201 * sysdeps/s390/rtld-global-offsets.sym: New file.
5202 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5203 GLIBC_2.19 symbol.
5204 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5205 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5206 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5207 ... this.
5208 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5209 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5210 ... this.
5211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5212 Regenerate.
5213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5214 Regenerate.
5215 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5216 halfs of GPRs for high_gprs contexts.
5217 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5218 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5219 field.
5220 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5221 uc_flags field.
5222 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5223 64 bit versions:
5224 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5225 for high GPRs (uc_high_gprs) and for future extensions
5226 (__reserved).
5227 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5228 for future extensions (__reserved).
5229 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5230 64 bit versions:
5231 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5232 SC_HIGHGPRS offset definition.
5233 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5234 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5235
93a45ff1
AK
5236 * Versions.def: Add GLIBC_2.19 for libpthread.
5237 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5238 siglongjmp for libpthread with GLIBC_2.19 symver.
5239 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5240 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5241 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5242 * sysdeps/s390/__longjmp.c: New file.
5243 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5244 * sysdeps/s390/longjmp.c: New file.
5245 * sysdeps/s390/setjmp.S: New file.
5246 * sysdeps/s390/sigjmp.S: New file.
5247 * sysdeps/s390/v1-longjmp.c: New file.
5248 * sysdeps/s390/v1-setjmp.h: New file.
5249 * sysdeps/s390/v1-sigjmp.c: New file.
5250 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5251 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5252 GLIBC_2.19 version.
5253 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5254 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5255 versioned symbols for ____longjmp_chk.
5256 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5257 Likewise.
5258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5259 Regenerate.
5260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5261 Regenerate.
5262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5263 Regenerate.
5264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5265 Regenerate.
5266 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5267 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5268 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5269 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5270 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5271 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5272 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5273 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5274 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5275 * sysdeps/s390/rtld-__longjmp.c: New file.
5276 * sysdeps/s390/rtld-setjmp.S: New file.
5277
eb3fc44b
JM
52782014-01-06 Joseph Myers <joseph@codesourcery.com>
5279
5280 [BZ #16400]
5281 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5282 Return -__logl (x) for small positive arguments without evaluating
5283 a polynomial.
5284
9341dde4
MF
52852014-01-06 Mike Frysinger <vapier@gentoo.org>
5286
5287 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5288 Rename to ...
5289 (__ptrace_peeksiginfo_args): ... this.
5290 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5292 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5293
4cff0293
AM
52942014-01-06 Allan McRae <allan@archlinux.org>
5295
5296 * inet/netinet/in.h: Fix typo in comment.
5297
75595dcf
AJ
52982014-01-05 Andreas Jaeger <aj@suse.de>
5299
5300 * sysdeps/i386/fpu/libm-test-ulps: Update.
5301
79c1e109
AM
53022014-01-05 Allan McRae <allan@archlinux.org>
5303
dd804818
AM
5304 * po/libc.pot: Regenerated.
5305
79c1e109
AM
5306 * malloc/memusagestat.c: Fix gettext call formatting.
5307
0c813d1f
SK
53082014-01-04 Sami Kerola <kerolasa@iki.fi>
5309
5310 * nscd/nscd.c: Improve usage() output.
5311
20f4a8d9
MF
53122014-01-04 Mike Frysinger <vapier@gentoo.org>
5313
5314 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5315 * sysdeps/unix/sysv/linux/configure: Regenerated.
5316 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5317 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5318
22562bb2
JM
53192014-01-03 Joseph Myers <joseph@codesourcery.com>
5320
5321 [BZ #16390]
5322 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5323 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5324
d7ad2d9b
AZ
53252014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5326
5327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5328 extra tokens at end of #undef directive.
5329 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5331 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5332
7dd009d8
JM
53332014-01-03 Joseph Myers <joseph@codesourcery.com>
5334
24db925a
JM
5335 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5336
7dd009d8
JM
5337 * math/auto-libm-test-in: Mark various tests with
5338 xfail-rounding:ldbl-128ibm.
5339 * math/auto-libm-test-out: Regenerated.
5340
396e3ecf
JM
53412014-01-02 Joseph Myers <joseph@codesourcery.com>
5342
819e5d50
JM
5343 [BZ #16386]
5344 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5345 numbers with subnormal high part when calculating exponent.
5346
90b6a1e5
JM
5347 [BZ #16385]
5348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5349 fabs.
5350
396e3ecf
JM
5351 [BZ #16384]
5352 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5353 M_LN2l.
5354 (__ieee754_acoshl): Use __log1pl not __log1p.
5355
6c8dbf00
OB
53562013-01-02 Ondřej Bílka <neleai@seznam.cz>
5357
57f41c40
AS
5358 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5359 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5360 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5361 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5362 (reused_arena, arena_get2): Convert to GNU style.
5363 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5364 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5365 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5366 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5367 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5368 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5369 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5370 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5371 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5372 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5373 * malloc/malloc.h: Likewise.
57f41c40
AS
5374 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5375 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5376 * malloc/mcheck.h: Likewise.
57f41c40
AS
5377 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5378 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5379 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5380 * malloc/morecore.c (__default_morecore): Likewise.
5381 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5382 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5383 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5384 (print_and_abort): Likewise.
6c8dbf00
OB
5385 * malloc/obstack.h: Likewise.
5386 * malloc/set-freeres.c (__libc_freeres): Likewise.
5387 * malloc/tst-mallocstate.c (main): Likewise.
5388 * malloc/tst-mtrace.c (main): Likewise.
5389 * malloc/tst-realloc.c (do_test): Likewise.
5390
d4124212
SP
53912013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5392
9a3c6a6f
SP
5393 [BZ #16366]
5394 * nscd/netgroupcache.c (do_notfound): New function.
5395 (addgetnetgrentX): Use it.
5396
d4124212
SP
5397 [BZ # 16365]
5398 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5399 NSS_STATUS_NOTFOUND.
5400
97b9a009
JM
54012014-01-01 Joseph Myers <joseph@codesourcery.com>
5402
5403 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5405
d4697bc9
AM
54062014-01-01 Allan McRae <allan@archlinux.org>
5407
ddb3687f
AM
5408 * scripts/update-copyrights: Update configure input file suffix.
5409
88726d48
AM
5410 * NEWS: Update copyright year.
5411 * catgets/gencat.c: Likewise.
5412 * csu/version.c: Likewise.
5413 * debug/catchsegv.sh: Likewise.
5414 * debug/pcprofiledump.c: Likewise.
5415 * debug/xtrace.sh: Likewise.
5416 * elf/ldconfig.c: Likewise.
5417 * elf/ldd.bash.in: Likewise.
5418 * elf/pldd.c: Likewise.
5419 * elf/sotruss.ksh: Likewise.
5420 * elf/sprof.c: Likewise.
5421 * iconv/iconv_prog.c: Likewise.
5422 * iconv/iconvconfig.c: Likewise.
5423 * locale/programs/locale.c: Likewise.
5424 * locale/programs/localedef.c: Likewise.
5425 * login/programs/pt_chown.c: Likewise.
5426 * malloc/memusage.sh: Likewise.
5427 * malloc/memusagestat.c: Likewise.
5428 * malloc/mtrace.pl: Likewise.
5429 * manual/libc.texinfo: Likewise.
5430 * nscd/nscd.c: Likewise.
5431 * nss/getent.c: Likewise.
5432 * nss/makedb.c: Likewise.
5433 * posix/getconf.c: Likewise.
5434 * scripts/test-installation.pl: Likewise.
5435
d4697bc9
AM
5436 * All files with FSF copyright notices: Update copyright dates
5437 using scripts/update-copyrights.
5438 * intl/plural.c: Regenerated.
5439 * locale/programs/charmap-kw.h: Likewise.
5440 * locale/programs/locfile-kw.h: Likewise.
5441
c8590f9d
MF
54422013-12-31 Mike Frysinger <vapier@gentoo.org>
5443
5444 * sysdeps/unix/sysv/linux/configure: Regenerated.
5445 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5446 the linux/fanotify.h header.
5447 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5448 HAVE_LINUX_FANOTIFY_H is defined.
5449
b19221b9
SP
54502013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5451
dd1d85e5
SP
5452 * benchtests/cos-inputs: New inputs.
5453 * benchtests/sin-inputs: Likewise.
5454
1acbb90f
SP
5455 * benchtests/atan-inputs: New inputs. Fix name of multiple
5456 precision fallback inputs.
5457
4c012ed3
SP
5458 * benchtests/atanh-inputs: New inputs.
5459 * benchtests/tanh-inputs: Likewise.
5460
eff98324
SP
5461 * benchtests/acosh-inputs: New inputs.
5462 * benchtests/asinh-inputs: Likewise.
5463
ce641152
SP
5464 * benchtests/cosh-inputs: New inputs.
5465 * benchtests/sinh-inputs: Likewise.
5466
b19221b9
SP
5467 * benchtests/acos-inputs: Add more inputs.
5468 * benchtests/asin-inputs: Likewise.
5469
030a4976 54702013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5471
030a4976 5472 [BZ #16375]
9dcc8f11
VS
5473 * manual/arith.texi: Fix spelling.
5474 * manual/charset.texi: Likewise.
5475 * manual/errno.texi: Likewise.
5476 * manual/filesys.texi: Likewise.
5477 * manual/lang.texi: Likewise.
5478 * manual/llio.texi: Likewise.
5479 * manual/locale.texi: Likewise.
5480 * manual/message.texi: Likewise.
5481 * manual/resource.texi: Likewise.
5482 * manual/search.texi: Likewise.
5483 * manual/setjmp.texi: Likewise.
5484 * manual/stdio.texi: Likewise.
5485 * manual/string.texi: Likewise.
5486 * manual/sysinfo.texi: Likewise.
5487 * manual/time.texi: Likewise.
5488
11520a57
CD
54892013-12-27 Carlos O'Donell <carlos@redhat.com>
5490
5491 * po/sl.po: New file.
5492
471103ae
MF
54932013-12-27 Mike Frysinger <vapier@gentoo.org>
5494
5495 * .gitignore: Add core/.gdbinit/.gdb_history.
5496
6c9642ed
AM
54972013-12-27 Allan McRae <allan@archlinux.org>
5498
5499 [BZ #16369]
5500 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5501 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5502
3f637079
BM
55032013-12-24 Brooks Moses <bmoses@google.com>
5504
5505 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5506 all compilers that claim C++98 compliance, not just GCC.
5507 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5508 Likewise.
5509
abc26e99
MK
55102013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5511
5512 * NEWS: Restore accidentally deleted bug-fix entries.
5513
362b47fe
MK
55142013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5515 Ondřej Bílka <neleai@seznam.cz>
5516
5517 [BZ #15073]
5518 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5519 have_lock.
362b47fe 5520
b9bcbbcb
OB
55212013-12-23 Ondřej Bílka <neleai@seznam.cz>
5522
5523 [BZ #12986]
5524 * manual/stdio.texi (String Input Conversions): Clarify that character
5525 classes are not supported.
5526
fb55fcd2
AZ
55272013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5528
5529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5530
ef7344f0
JM
55312013-12-22 Joseph Myers <joseph@codesourcery.com>
5532
4f40e4b3
JM
5533 [BZ #16337]
5534 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5535 Calculate results for small negative arguments directly rather
5536 than using reflection formula with special underflow handling.
5537
ef7344f0
JM
5538 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5539 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5540 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5541 (fchflags): Likewise.
5542 (revoke): Likewise.
5543 (setlogin): Likewise.
5544 (sigaltstack): Likewise.
5545 (wait4): Likewise.
5546 (sigblock): Remove.
5547 (sigsetmask): Likewise.
5548 (wait3): Likewise.
5549 (waitpid): Likewise.
5550 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5551 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5552 file.
5553 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5554 * sysdeps/unix/bsd/Makefile: ... here.
5555 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5556 * sysdeps/unix/bsd/Versions: ... here.
5557 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5558 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5559 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5560 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5561 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5562 * sysdeps/unix/bsd/sigblock.c: ... here.
5563 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5564 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5565 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5566 * sysdeps/unix/bsd/sigvec.c: ... here.
5567 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5568 * sysdeps/unix/bsd/tcdrain.c: ... here.
5569 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5570 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5571 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5572 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5573 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5574 * sysdeps/unix/bsd/wait.c: ... here.
5575 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5576 * sysdeps/unix/bsd/wait3.c: ... here.
5577 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5578 * sysdeps/unix/bsd/waitpid.c: ... here.
5579
5b0626b9
JM
55802013-12-21 Joseph Myers <joseph@codesourcery.com>
5581
5582 [BZ #16356]
5583 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5584 round-to-nearest for [!USE_AS_EXPM1L].
5585 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5586 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5587 more tests of exp and exp10. Expect some exp10 tests to miss
5588 exceptions or fail in directed rounding modes.
5589 * math/auto-libm-test-out: Regenerated.
5590 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5591 (exp10_test_tonearest): New function.
5592 (exp10_towardzero_test_data): New array.
5593 (exp10_test_towardzero): New function.
5594 (exp10_downward_test_data): New array.
5595 (exp10_test_downward): New function.
5596 (exp10_upward_test_data): New array.
5597 (exp10_test_upward): New function.
5598 (main): Call the new functions.
5599 * sysdeps/i386/fpu/libm-test-ulps: Update.
5600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5601
7fda5682
JM
56022013-12-20 Joseph Myers <joseph@codesourcery.com>
5603
31e3a405
JM
5604 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5605 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5606 * math/auto-libm-test-out: Regenerated.
5607 * math/libm-test.inc (acosh_test_data): Add more tests.
5608 (atanh_test_data): Likewise.
5609 (ceil_test_data): Likewise.
5610 (copysign_test_data): Likewise.
5611 * sysdeps/i386/fpu/libm-test-ulps: Update.
5612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5613
85bff96a
JM
5614 * timezone/checktab.awk: Update from tzcode 2013i.
5615 * timezone/private.h: Likewise.
5616 * timezone/scheck.c: Likewise.
5617 * timezone/tzfile.h: Likewise.
5618 * timezone/tzselect.ksh: Likewise.
5619 * timezone/zdump.c: Likewise.
5620 * timezone/zic.c: Likewise.
5621
b7867a3b
JM
5622 * math/auto-libm-test-in: Add tests of cpow.
5623 * math/auto-libm-test-out: Regenerated.
5624 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5625 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5626 mpc_cc_c.
5627 (func_calc_desc): Add mpc_cc_c union field.
5628 (test_functions): Add cpow.
5629 (special_fill_2pi): New function.
5630 (special_real_inputs): Add 2pi.
5631 (calc_generic_results): Handle mpc_cc_c.
5632 * sysdeps/i386/fpu/libm-test-ulps: Update.
5633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5634
7fda5682
JM
5635 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5636 csqrt, ctan and ctanh.
5637 * math/auto-libm-test-out: Regenerated.
5638 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5639 (TEST_COND_x86): Likewise.
5640 (ccos_test_data): Use AUTO_TESTS_c_c.
5641 (ccosh_test_data): Likewise.
5642 (cexp_test_data): Likewise.
5643 (clog_test_data): Likewise.
5644 (csqrt_test_data): Likewise.
5645 (ctan_test_data): Likewise.
5646 (ctan_tonearest_test_data): Likewise.
5647 (ctan_towardzero_test_data): Likewise.
5648 (ctan_downward_test_data): Likewise.
5649 (ctan_upward_test_data): Likewise.
5650 (ctanh_test_data): Likewise.
5651 (ctanh_tonearest_test_data): Likewise.
5652 (ctanh_towardzero_test_data): Likewise.
5653 (ctanh_downward_test_data): Likewise.
5654 (ctanh_upward_test_data): Likewise.
5655 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5656 mpc_c_c.
5657 (func_calc_desc): Add mpc_c_c union field.
5658 (FUNC_mpc_c_c): New macro.
5659 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5660 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5661 ctanh.
5662 (special_fill_min_subnorm_p120): New function.
5663 (special_real_inputs): Add min_subnorm_p120.
5664 (calc_generic_results): Handle mpc_c_c.
5665 * sysdeps/i386/fpu/libm-test-ulps: Update.
5666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5667
5ff8d60e
SP
56682013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5669
57f41c40
AS
5670 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5671 (do_sin_slow): New functions.
5672 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5673 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5674
84ba214c
SP
5675 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5676 Use M to change sign of result instead of X. Assume X is
5677 positive.
5678 (csloww1): Likewise.
5679 (__sin): Adjust.
5680 (__cos): Adjust.
5681
975195e4
SP
5682 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5683 arguments A and DA.
5684 (__sin): Adjust.
5685 (__cos): Likewise.
5686
5ff8d60e
SP
5687 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5688 (__cos): Likewise.
5689 (sloww1): Don't adjust sign of DX.
5690 (csloww1): Likewise.
5691 (sloww2): Use X directly and don't adjust sign of DX.
5692 (csloww2): Likewise.
5693
eb983568
JM
56942013-12-19 Joseph Myers <joseph@codesourcery.com>
5695
64a17f1a
JM
5696 * math/auto-libm-test-in: Add tests of cabs and carg.
5697 * math/auto-libm-test-out: Regenerated.
5698 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5699 (carg_test_data): Likewise.
5700 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5701 mpc_c_f.
5702 (func_calc_desc): Add mpc_c_f union field.
5703 (test_functions): Add cabs and carg.
5704 (calc_generic_results): Handle mpc_c_f.
5705
eb983568
JM
5706 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5707 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5708 as a macro and a compat symbol.
5709 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5710 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5711 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5712 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5713 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5714 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5715 not use .hidden.
5716 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5717 Likewise.
5718 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5719 Likewise.
5720 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5721 Likewise.
5722 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5723 Likewise.
5724 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5725 Likewise.
5726 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5727 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5728 from GLIBC_2.3.2.
5729
6eeb678a
AZ
57302013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5731
5732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5733
6f6fc482
JM
57342013-12-19 Joseph Myers <joseph@codesourcery.com>
5735
21fea2e2
JM
5736 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5737 trailing whitespace removed.
5738 * scripts/config.guess: Update to version 2013-11-29.
5739 * scripts/config.sub: Update to version 2013-10-01.
5740
6f6fc482
JM
5741 * math/auto-libm-test-in: Add tests of sincos.
5742 * math/auto-libm-test-out: Regenerated.
5743 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5745 mpfr_f_11.
5746 (func_calc_desc): Add mpfr_f_11 union field.
5747 (test_functions): Add sincos.
5748 (calc_generic_results): Handle mpfr_f_11.
5749 * sysdeps/i386/fpu/libm-test-ulps: Update.
5750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5751
83f5c32d
AS
57522013-12-19 Andreas Schwab <schwab@suse.de>
5753
5754 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5755 CALL_MCOUNT.
5756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5757 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5758 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5759
c688b419
JM
57602013-12-19 Joseph Myers <joseph@codesourcery.com>
5761
335ee092
JM
5762 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5763 * sysdeps/i386/fpu/libm-test-ulps: Update.
5764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5765
f88acd39
JM
5766 [BZ #16293]
5767 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5768 round-to-nearest mode when using frndint.
5769 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5770 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5771 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5772 Likewise.
5773 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5774 sinh test to fail.
5775 * math/auto-libm-test-out: Regenerated.
5776 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5777 (TEST_COND_x86): Likewise.
5778 (expm1_tonearest_test_data): New array.
5779 (expm1_test_tonearest): New function.
5780 (expm1_towardzero_test_data): New array.
5781 (expm1_test_towardzero): New function.
5782 (expm1_downward_test_data): New array.
5783 (expm1_test_downward): New function.
5784 (expm1_upward_test_data): New array.
5785 (expm1_test_upward): New function.
5786 (main): Run the new test functions.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5789
c688b419
JM
5790 * include/features.h: Update comment documenting feature test
5791 macros. Mention _DEFAULT_SOURCE in comment.
5792 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5793 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5794 _BSD_SOURCE and _SVID_SOURCE.
5795 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5796 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5797 !_SVID_SOURCE]: Likewise.
5798 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5799 (__USE_POSIX_IMPLICITLY): Define.
5800 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5801 (_POSIX_SOURCE): Undefine and redefine.
5802 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5803 (_POSIX_C_SOURCE): Likewise.
5804 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5805 (Feature Test Macros): Update documentation of default features.
5806
9f6e964c
RS
58072013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5808
5809 * benchtests/Makefile: Add bench-strtok.
5810 * benchtests/bench-strtok.c: New file: strtok benchtest.
5811
ee0a148a
AM
58122013-12-19 Allan McRae <allan@archlinux.org>
5813
5814 * manual/install.texi: Suppress menu for plain text output.
5815 * INSTALL: Regenerated.
5816
b9ab448f
BM
58172013-12-18 Brooks Moses <bmoses@google.com>
5818
5819 [BZ #15846]
5820 * misc/getauxval.c: Include errno.h.
5821 (__getauxval): Set errno to ENOENT if the requested type is not
5822 found.
5823 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5824 don't declare with __attribute_const__.
5825 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5826 * manual/startup.texi: Document that getauxval sets errno.
5827
23776487
JM
58282013-12-18 Joseph Myers <joseph@codesourcery.com>
5829
f889953b
JM
5830 * math/auto-libm-test-in: Add tests of jn and yn.
5831 * math/auto-libm-test-out: Regenerated.
5832 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5833 (yn_test_data): Likewise.
5834 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5835 mpfr_if_f.
5836 (func_calc_desc): Add mpfr_if_f union field.
5837 (FUNC_mpfr_if_f): New macro.
5838 (test_functions): Add jn and yn.
5839 (calc_generic_results): Assert type of second input for
5840 mpfr_ff_f. Handle mpfr_if_f.
5841 (output_for_one_input_case): Disable all checking for arguments
5842 fitting floating-point types in case of an integer argument.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5845
23776487
JM
5846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5847 Don't expect fegetround reference in libm.so.
5848
cb756c6d
MS
58492013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5850
5851 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5852 $(config-cflags-nofma).
5853
2dec468f
JM
58542013-12-18 Joseph Myers <joseph@codesourcery.com>
5855
5953eb3a
JM
5856 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5857 * math/auto-libm-test-out: Regenerated.
5858
2dec468f
JM
5859 [BZ #16338]
5860 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5861 to determine exponent and adjust argument to have exponent of -1.
5862 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5863 log2.
5864 * math/auto-libm-test-out: Regenerated.
5865 * sysdeps/i386/fpu/libm-test-ulps: Update.
5866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5867
4d84e6ad
OB
58682013-12-18 Ondřej Bílka <neleai@seznam.cz>
5869
5870 * manual/probes.texi: Remove cases when per-thread arenas are
5871 disabled.
5872
1818483b
AS
58732013-12-18 Andreas Schwab <schwab@suse.de>
5874
5875 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5876 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5877 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5878 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5879 * sysdeps/i386/i686/multiarch/Makefile: Update.
5880 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5881
25de95bf
JM
58822013-12-17 Joseph Myers <joseph@codesourcery.com>
5883
5884 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5885 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5886
674762d9
PE
58872013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5888
ed27ed83 5889 [BZ #15968]
0748546f
PE
5890 Support TZ transition times < 00:00:00.
5891 This is needed for version-3 tz-format files; it supports time
5892 stamps past 2037 for America/Godthab (the only entry in the tz
5893 database for which this change is relevant).
5894 * manual/time.texi (TZ Variable): Document transition times
5895 from -167:59:59 through -00:00:01.
5896 * time/tzset.c (tz_rule): Time of day is now signed.
5897 (__tzset_parse_tz): Parse negative time of day.
5898
4480e934
PE
5899 Document TZ transition times >= 25:00:00.
5900 * manual/time.texi (TZ Variable): Document transition times from
5901 25:00:00 through 167:59:59. These are already supported, and this
5902 support will help with version-3 tz-format files.
5903
69947401
PE
5904 * manual/time.texi (TZ Variable): Modernize North America example
5905 to reflect current (i.e., 2007-and-later) daylight saving rules.
5906
674762d9
PE
5907 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5908
7011c262
JM
59092013-12-17 Joseph Myers <joseph@codesourcery.com>
5910
2fc6557e
JM
5911 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5912 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5915 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5916 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5917 * sysdeps/unix/bsd/clock.c: Likewise.
5918 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5919 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5920 * sysdeps/unix/bsd/init-posix.c: Likewise.
5921 * sysdeps/unix/bsd/poll.c: Likewise.
5922 * sysdeps/unix/bsd/ptsname.c: Likewise.
5923 * sysdeps/unix/bsd/seekdir.c: Likewise.
5924 * sysdeps/unix/bsd/setegid.c: Likewise.
5925 * sysdeps/unix/bsd/seteuid.c: Likewise.
5926 * sysdeps/unix/bsd/setgid.c: Likewise.
5927 * sysdeps/unix/bsd/setrgid.c: Likewise.
5928 * sysdeps/unix/bsd/setruid.c: Likewise.
5929 * sysdeps/unix/bsd/setsid.c: Likewise.
5930 * sysdeps/unix/bsd/setuid.c: Likewise.
5931 * sysdeps/unix/bsd/sigaction.c: Likewise.
5932 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5933 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5934 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5935 * sysdeps/unix/bsd/telldir.c: Likewise.
5936 * sysdeps/unix/bsd/times.c: Likewise.
5937 * sysdeps/unix/bsd/usleep.c: Likewise.
5938
029c7b25
JM
5939 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5940 ($(objpfx)libbsd-compat.a): Remove rule.
5941
7011c262
JM
5942 * include/features.h (__FAVOR_BSD): Do not define.
5943 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5944 features conflicting with POSIX.
5945 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5946 (_BSD_SOURCE): Remove description of not being a subset of other
5947 feature test macros.
5948 * manual/job.texi (getpgrp): Do not document BSD version.
5949 (getpgid): Do not document by reference to BSD getpgrp.
5950 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5951 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5952 * signal/signal.h [__FAVOR_BSD]: Likewise.
5953 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5954 instead of making contents conditional on [__FAVOR_BSD].
5955 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5956
affb6f78
AZ
59572013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5958
5959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5960
c88769dd
JM
59612013-12-17 Joseph Myers <joseph@codesourcery.com>
5962
6432a540
JM
5963 [BZ #16314]
5964 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5965 values below 2**-450, not 2**-500.
5966 * math/auto-libm-test-in: Don't allow spurious underflow from
5967 hypot.
5968 * math/auto-libm-test-out: Regenerated.
5969
c88769dd
JM
5970 [BZ #16316]
5971 [BZ #16330]
5972 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5973 values of ha and hb and sort them after adjusting subnormal
5974 arguments.
5975 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5976 Likewise.
5977 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5978 values of ea and eb and sort them after adjusting subnormal
5979 arguments.
5980 * math/auto-libm-test-in: Do not expect some hypot tests of
5981 subnormals to fail. Add more hypot tests.
5982 * math/auto-libm-test-out: Regenerated.
5983
29618f6b
KK
59842013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5985
5986 [BZ #13304]
5987 * sysdeps/sh/s_fma.c: New file.
5988 * sysdeps/sh/s_fmaf.c: New file.
5989 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5990 version.
5991 * sysdeps/sh/Implies: Add sh/soft-fp.
5992
eacfdfbf
RM
59932013-12-16 Roland McGrath <roland@hack.frob.com>
5994
5995 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5996 level of indirection to members `objname', `errstring', `malloced'.
5997 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5998 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5999 it as the __longjmp argument (just pass 1 instead).
6000 (_dl_catch_error): Initialize C with argument pointers and address of
6001 volatile local ERRCODE rather than copying values out of C at return.
6002
ff362e5b
JM
60032013-12-16 Joseph Myers <joseph@codesourcery.com>
6004
6005 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6006 * math/auto-libm-test-out: Regenerated.
6007 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6008 (hypot_test_data): Likewise.
6009 (pow_test_data): Likewise.
6010 (pow_tonearest_test_data): Likewise.
6011 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6012 mpfr_ff_f.
6013 (func_calc_desc): Add mpfr_ff_f union field.
6014 (FUNC_mpfr_ff_f): New macro.
6015 (test_functions): Add atan2, hypot and pow.
6016 (special_fill_min): New function.
6017 (special_fill_minus_min): Likewise.
6018 (special_fill_min_subnorm): Likewise.
6019 (special_fill_minus_min_subnorm): Likewise.
6020 (special_real_inputs): Add min, -min, min_subnorm and
6021 -min_subnorm.
6022 (calc_generic_results): Handle mpfr_ff_f.
6023 * sysdeps/i386/fpu/libm-test-ulps: Update.
6024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6025
5764c27f
WN
60262013-12-16 Will Newton <will.newton@linaro.org>
6027
6028 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6029 (Aligned Memory Blocks): Add documentation for aligned_alloc
6030 and suggest it as an alternative to posix_memalign.
6031 (Hooks for Malloc): Document __memalign_hook is also called
6032 for aligned_alloc. (Summary of Malloc): Add summary for
6033 aligned alloc. Document __memalign_hook is also called
6034 for aligned_alloc.
6035
0a096e44
WN
60362013-12-16 Will Newton <will.newton@linaro.org>
6037
6038 * manual/memory.texi (Malloc Examples): Clarify default
6039 alignment documentation. Suggest posix_memalign rather
6040 than memalign or valloc.
6041 (Aligned Memory Blocks): Remove suggestion to use memalign
6042 or valloc. Remove obsolete comment about BSD.
6043 Document memalign errno values and mark the function obsolete.
6044 Document posix_memalign returned error codes. Mark valloc
6045 as obsolete. (Hooks for Malloc): __memalign_hook is also
6046 called for posix_memalign and valloc.
6047 (Summary of Malloc): Add posix_memalign to function summary.
6048 __memalign_hook is also called for posix_memalign and valloc.
6049
8d561986
SP
60502013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6051
6052 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6053 TAYLOR_SIN.
6054 (__sin): Adjust.
6055 (__cos): Likewise.
6056 (sloww): Use mynumber union. Expand ternary operator into
6057 if-else statements.
6058 (cslow): use mynumber union.
6059
73616a74
AM
60602013-12-16 Allan McRae <allan@archlinux.org>
6061
9e8ac24b
AM
6062 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6063 * configure: Regenerated.
6064
6f8e37eb
AM
6065 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6066
8894bad3
AM
6067 [BZ #14120]
6068 * configure.ac: Added --enable-maintainer-mode. Check for
6069 autoconf when enabled.
6070 * configure: Regenerated.
6071
73616a74
AM
6072 * nscd/nscd.service: New file.
6073 * nscd/nscd.tmpfiles: New file.
6074
584b18eb
OB
60752013-12-14 Ondřej Bílka <neleai@seznam.cz>
6076
6077 [BZ #12100]
6078 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6079 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6080 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6081 (strstr): Add __strstr_sse2_unaligned ifunc.
6082 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6083 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6084 (strcasestr): Remove __strcasestr_sse42 ifunc.
6085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6088
8a5c7897
KK
60892013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6090
6091 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6092 * sysdeps/sh/bits/fenv.h: ... here.
6093 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6094
fd712ef3
AZ
60952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6096
6097 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6098
42fcb46c
AZ
6099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6100 hypotf multiarch implementations.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6104 multiarch hypot for PPC64.
6105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6108 multiarch hypotf for PPC64.
6109
83efded4
AZ
6110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6111 modff multiarch implementations.
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6115 multiarch modf for PPC64.
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6119 multiarch modff for PPC64.
6120
43e246d2
AZ
6121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6122 and logl multiarch implementations.
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6126 multiarch logb for PPC64.
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6130 multiarch logb for PPC64.
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6134 multiarch logb for PPC64.
6135
8fdad123
AZ
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6137 isinff multiarch implementation.
6138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6139 file.
6140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6142 multiarch isinf for PPC64.
6143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6144 file.
6145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6146 multiarch isinff for PPC64.
6147
1481d706
AZ
6148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6149 finitef multiarch implementation.
6150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6151 file.
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6154 multiarch finite for PPC64.
6155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6156 file.
6157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6158 multiarch finitef for PPC64.
6159
5ccd5fc8
AZ
6160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6161 lrint multiarch implementation.
6162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6163 file.
6164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6166 multiarch llrint for PPC64.
6167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6168 multiarch lrint for PPC64.
6169
2568f3fa
AZ
6170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6171 copysignf multiarch implementation.
6172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6173 file.
6174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6175 file.
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6177 multiarch copysign for PPC64.
6178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6179 multiarch copysignf for PPC64.
6180
1cb341fd
AZ
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6182 multiarch implementation.
6183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6184 file.
6185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6186 file.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6188 file.
6189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6190 file.
6191 multiarch llround for PPC64.
6192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6193 multiarch trunc for PPC64.
6194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6195 multiarch truncf for PPC64.
6196
59a3e194
AZ
6197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6198 multiarch implementation.
6199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6200 file.
6201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6202 file.
6203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6204 file.
6205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6206 file.
6207 multiarch llround for PPC64.
6208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6209 multiarch round for PPC64.
6210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6211 multiarch roundf for PPC64.
6212
357fd3b4
AZ
6213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6214 multiarch implementation.
6215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6216 file.
6217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6218 file.
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6220 file.
6221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6222 file.
6223 multiarch llround for PPC64.
6224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6225 multiarch floor for PPC64.
6226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6227 multiarch floorf for PPC64.
6228
96770f12
AZ
6229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6230 multiarch implementation.
6231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6232 file.
6233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6234 file.
6235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6236 file.
6237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6238 file.
6239 multiarch llround for PPC64.
6240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6241 multiarch ceil for PPC64.
6242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6243 multiarch ceilf for PPC64.
6244
c3627f6e
AZ
6245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6246 multiarch implementation.
6247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6248 file.
6249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6250 file.
6251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6252 file.
6253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6254 multiarch llround for PPC64.
6255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6256 multiarch lround for PPC64.
6257
b2284ad7
AZ
6258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6259 multiarch implementation.
6260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6263 file.
6264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6267 multiarch isnan for PPC64.
6268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6269 multiarch isnanf for PPC64.
6270
69bbc63d
AZ
6271 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6272 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6273 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6274 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6275 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6277
c24517c9
AZ
6278 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6279 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6282
a52374e8
AZ
6283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6284 multiarch implementations.
6285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6286 (__libc_ifunc_impl_list): Likewise.
6287 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6288 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6290 multiarch stpcpy for PPC64.
6291
7f5ec113
AZ
6292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6293 multiarch implementations.
6294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6295 (__libc_ifunc_impl_list): Likewise.
6296 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6297 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6298 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6299 multiarch strcpy for PPC64.
6300
e28bcd42
AZ
6301 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6302 redefine function name.
6303 (_wordcopy_fwd_dest_aligned): Likewise.
6304 (_wordcopy_bwd_aligned): Likewise.
6305 (_wordcopy_bwd_dest_aligned): Likewise.
6306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6307 multiarch implementations.
6308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6309 (__libc_ifunc_impl_list): Likewise.
6310 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6311 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6312 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6313 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6314 multiarch wcscpy for PPC64.
6315
92cacfce
AZ
6316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6317 multiarch implementations.
6318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6319 (__libc_ifunc_impl_list): Likewise.
6320 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6321 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6322 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6324 multiarch wcscpy for PPC64.
6325
7b714620
AZ
6326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6327 multiarch implementations.
6328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6329 (__libc_ifunc_impl_list): Likewise.
6330 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6331 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6332 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6333 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6334 multiarch wcsrchr for PPC64.
6335
16fd2ae3
AZ
6336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6337 multiarch implementations.
6338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6339 (__libc_ifunc_impl_list): Likewise.
6340 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6341 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6342 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6343 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6344 multiarch wcschr for PPC64.
6345
9ee2969b
AZ
6346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6347 multiarch implementations.
6348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6349 (__libc_ifunc_impl_list): Likewise.
6350 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6351 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6352 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6353 multiarch strchrnul for PPC64.
6354
372dc060
AZ
6355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6356 implementations.
6357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6358 (__libc_ifunc_impl_list): Likewise.
6359 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6360 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6361 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6362 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6363 strchr for PPC64.
6364
24c2c3b9
AZ
6365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6366 implementations.
6367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6368 (__libc_ifunc_impl_list): Likewise.
6369 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6370 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6371 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6372 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6373 strncmp for PPC64.
6374
1c92d9a0
AZ
6375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6376 multiarch implementations.
6377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6378 (__libc_ifunc_impl_list): Likewise.
6379 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6380 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6381 strncasecmp for PPC64.
6382 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6383 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6384 multiarch strncasecmp_l for PPC64.
6385
17de3ee3
AZ
6386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6387 multiarch implementations.
6388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6389 (__libc_ifunc_impl_list): Likewise.
6390 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6391 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6392 multiarch strcasecmp for PPC64.
6393 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6394 file.
6395 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6396 multiarch strcasecmp_l for PPC64.
6397
62982bf9
AZ
6398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6399 implementations.
6400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6401 (__libc_ifunc_impl_list): Likewise.
6402 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6403 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6404 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6405 strnlen for PPC64.
6406
a65f4904
AZ
6407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6408 implementations.
6409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6410 (__libc_ifunc_impl_list): Likewise.
6411 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6413 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6414 strlen for PPC64.
6415
1fd005ad
AZ
6416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6417 implementations.
6418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6419 (__libc_ifunc_impl_list): Likewise.
6420 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6421 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6422 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6423 rawmemrchr for PPC64.
6424
cd05ba91
AZ
6425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6426 implementation.
6427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6428 (__libc_ifunc_impl_list): Likewise.
6429 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6431 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6432 memrchr for PPC64.
6433
870f8676
AZ
6434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6435 implementation.
6436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6437 (__libc_ifunc_impl_list): Likewise.
6438 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6439 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6440 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6441 memchr for PPC64.
6442
f00be62b
AZ
6443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6444 implementation.
6445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6446 (__libc_ifunc_impl_list): Likewise.
6447 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6448 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6449 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6450 mempcpy for PPC64.
6451
8a29a3d0
AZ
6452 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6453 avoid cretion of __bzero symbol.
6454 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6455 Likewise.
6456 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6457 Likewise.
6458 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6459 Likewise.
6460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6461 multiarch implementations.
6462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6463 (__libc_ifunc_impl_list): Likewise.
6464 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6465 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6466 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6467 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6468 bzero for PPC32.
6469 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6470 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6471 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6472 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6473 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6474 memset for PPC64.
6475 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6476
07253fcf
AZ
6477 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6479 implementations.
6480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6481 (__libc_ifunc_impl_list): Likewise.
6482 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6483 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6484 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6485 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6486 memcmp for PPC64.
6487
b5beafbc
AZ
6488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6489 multiarch for POWER/PPC64.
6490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6491 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6492 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6493 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6495 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6498 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6499 memcpy for PPC64.
6500
5e6a4d4b
AZ
6501 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6502 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6503 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6504 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6505 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6506 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6507 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6508 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6509 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6510 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6511 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6512 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6513 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6514 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6515 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6523
ddfab6dc
KK
65242013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6525
6526 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6527
19b5525e
SP
65282013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6529
6530 * benchtests/Makefile (bench): Add exp2 and log2.
6531 (LDLIBS-bench-exp2): Add -lm.
6532 (LDLIBS-bench-log2): Likewise.
6533 * benchtests/exp2-inputs: New inputs file.
6534 * benchtests/log2-inputs: New inputs file.
6535 * benchtests/log-inputs: Add new inputs.
6536 * benchtests/tan-inputs: Likewise.
6537
196f7f5d
SP
65382013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6539
7a74607f
SP
6540 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6541 definition...
57f41c40
AS
6542 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6543 (csloww2): ... from here.
7a74607f 6544
196f7f5d
SP
6545 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6546 instead of structures.
6547 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6548 (POLYNOMIAL): Likewise.
6549 (TAYLOR_SLOW): Likewise.
6550 (__sin): Likewise.
6551 (__cos): Likewise.
6552 (slow1): Likewise.
6553 (slow2): Likewise.
6554 (sloww): Likewise.
6555 (sloww1); Likewise.
6556 (sloww2): Likewise.
6557 (bsloww1): Likewise.
6558 (bsloww2): Likewise.
6559 (cslow2): Likewise.
6560 (csloww): Likewise.
6561 (csloww1): Likewise.
6562 (csloww2): Likewise.
6563
0dfa665c
OB
65642013-12-10 Ondřej Bílka <neleai@seznam.cz>
6565
6566 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6567 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6568 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6569 * malloc/hooks.c (realloc_check): Likewise.
6570
5782a80f
OB
6571 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6572 * malloc/arena.c: Remove PER_THREAD conditional.
6573 [!PER_THREAD]: Remove code.
6574 (ptmalloc_unlock_all2): Likewise.
6575 (ptmalloc_init): Likewise.
6576 (_int_new_arena): Likewise.
6577 (arena_get2): Likewise.
6578 * malloc/hooks.c (__malloc_get_state): Likewise.
6579 (__malloc_set_state): Likewise.
6580 * malloc/malloc.c: Likewise.
6581 (struct malloc_state): Likewise.
6582 (struct malloc_par): Likewise.
6583 (__libc_realloc): Likewise.
6584 (__libc_mallopt): Likewise.
6585
aeb95445
AZ
65862013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6587
6588 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6589
e8349efd
OB
65902013-12-09 Ondřej Bílka <neleai@seznam.cz>
6591
6592 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6593 macro to a function. Check for zero perturb_byte.
6594 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6595
f3eeb3fc 6596 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6597 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6598 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6599 force_reg by atomic_forced_read.
6600 * malloc/arena.c (ptmalloc_init): Likewise.
6601 * malloc/hooks.c (top_check): Likewise.
6602
be2f9009
AZ
66032013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604
6605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6606
e7b914bd
MT
66072013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6608
6609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6610
9f0be4f8
JM
66112013-12-08 Joseph Myers <joseph@codesourcery.com>
6612
6613 * math/auto-libm-test-in: Add tests of lgamma.
6614 * math/auto-libm-test-out: Regenerated.
6615 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6616 (M_LOG_2_SQRT_PIl): Likewise.
6617 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6618 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6619 mpfr_f_f1.
6620 (func_calc_desc): Add mpfr_f_f1 union field.
6621 (ARGS1): New macro.
6622 (ARGS2): Likewise.
6623 (ARGS3): Likewise.
6624 (ARGS4): Likewise.
6625 (RET1): Likewise.
6626 (RET2): Likewise.
6627 (CALC): Likewise.
6628 (FUNC): Likewise.
6629 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6630 (test_functions): Add lgamma.
6631 (calc_generic_results): Handle mpfr_f_f1.
6632 * sysdeps/i386/fpu/libm-test-ulps: Update.
6633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6634
24eeafdb
AZ
66352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6636
6637 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6638 __mpn_add_n for PowerPC64/POWER7.
6639 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6640 __mpn_sub_n for PowerPC64/POWER7.
6641
4a2c0fd4
AZ
6642 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6643 __mpn_addmul_1 for PowerPC64.
6644 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6645 __mpn_submul_1 for PowerPC64.
6646 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6647 for PowerPC64.
6648 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6649 for PowerPC64.
6650
4b5b548c
FS
66512013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6652
6653 [BZ #15089]
6654 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6655
0a3ac0aa
AZ
66562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6657
6658 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6659
ccdc8438
AZ
6660 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6661 add multiarch folders.
6662 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6663 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6664 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6665 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6666 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6667 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6668 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6669 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6670 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6671 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6672 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6679
2e973d99
AZ
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6681 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6683 New file.
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6685 New file.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6687 multiarch __ieee754_hypot for PowerPC32.
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6689 New file.
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6691 New file.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6693 multiarch __ieee754_hypotf for PowerPC32.
6694
2d9470b2
AZ
6695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6696 long_double_symbol only if __logbl is defined.
6697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6698 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6699 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6700 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6702 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6703 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6704 path for implementation.
6705 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6706 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6708 logb, and logbl multiarch implementations for PowerPC32.
6709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6710 file.
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6712 file.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6714 multiarch logb for PowerPC32.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6716 file.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6718 file.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6720 multiarch logbf for PowerPC32.
6721 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6723 file.
6724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6725 multiarch logbl implementation for PowerPC32.
6726
5212ffce
AZ
6727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6728 and modff multiarch implementations.
6729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6730 New file.
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6732 New file.
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6734 multiarch modf for PowerPC32.
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6736 New file.
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6738 New file.
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6740 multiarch modff for PowerPC32.
6741
79dccf31
AZ
6742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6743 and lrintf multiarch implementations.
6744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6745 New file.
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6747 New file.
6748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6749 multiarch lrint for PowerPC32.
6750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6751 file: multiarch lrintf for PowerPC32.
6752
deb66480
AZ
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6754 and lroundf multiarch implementations.
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6756 New file.
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6758 New file.
6759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6760 New file.
6761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6762 multiarch lround for PowerPC32.
6763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6764 file: multiarch lroundf for PowerPC32.
6765
264b036b
AZ
6766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6767 copysign and copysignf multiarch implementations.
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6769 New file.
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6771 New file.
6772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6773 file: multiarch copysign for PowerPC32.
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6775 file: multiarch copysignf for PowerPC32.
6776
d47db6c9
AZ
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6778 and truncf multiarch implementations.
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6780 New file.
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6782 file.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6784 multiarch trunc for PowerPC32.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6786 New file.
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6788 New file.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6790 multiarch truncf for PowerPC32.
6791
ddb60b5a
AZ
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6793 and roundf multiarch implementations.
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6795 New file.
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6797 file.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6799 multiarch round for PowerPC32.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6801 New file.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6803 New file.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6805 multiarch roundf for PowerPC32.
6806
bedcf49b
AZ
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6808 and floorf multiarch implementations.
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6810 New file.
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6812 file.
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6814 multiarch floor for PowerPC32.
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6816 New file.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6818 New file.
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6820 multiarch floorf for PowerPC32.
6821
35ae5b40
AZ
6822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6823 and ceilf multiarch implementations.
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6825 New file.
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6827 file.
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6829 multiarch ceil for PowerPC32.
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6831 New file.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6833 file.
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6835 multiarch ceilf for PowerPC32.
6836
ae1a4cd9
AZ
6837 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6838 is defined.
6839 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6840 FINITEF is defined.
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6842 and finitef multiarch implementations.
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6844 New file.
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6846 file.
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6848 multiarch finite for PowerPC32.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6850 New file.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6852 file: multiarch finitef for PowerPC32.
6853
64fffd65
AZ
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6855 and isinff multiarch implementations.
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6857 file.
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6859 file.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6861 multiarch isinf for PowerPC32.
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6863 New file.
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6865 multiarch isinff for PowerPC32.
6866
8e4e7ba2
AZ
6867 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6868 alias when __isnan is defined.
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6870 and isnanf multiarch implementations.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6872 file.
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6874 file.
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6876 file.
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6878 file.
6879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6880 multiarch isnan for PowerPC32.
6881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6882 New file.
6883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6884 New file.
6885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6886 multiarch isnanf for PowerPC32.
6887
ddba588e
AZ
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6889 and sqrtf multiarch implementations.
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6891 file.
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6893 file.
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6895 multiarch sqrt for PowerPC32.
6896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6897 file.
6898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6899 file.
6900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6901 multiarch sqrtf for PowerPC32.
6902
0f96a2f0
AZ
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6904 and llroundf multiarch implementations.
6905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6906 New file.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6908 New file.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6910 New file.
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6912 file: multiarch llround for PowerPC32.
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6914 file: multiarch llroundf for PowerPC32.
6915
c9b5d79e
AZ
6916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6917 multiarch PowerPC32 fpu implementations.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6919 New file.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6921 New file.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6923 multiarch llrint for PowerPC32.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6925 New file.
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6927 New file.
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6929 file.
6930
9cbb3aab
AZ
6931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6932
ea5a72f8
AZ
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6934 file.
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6936 file.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6938 file.
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6940 multiarch wordcopy for PPC32.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6942 wordcopy objects.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6944 (__libc_ifunc_impl_list): Likewise.
6945 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6946 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6947 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6948 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6949 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6950 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6951
93be09e7
AZ
6952 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6954 file.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6956 file.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6958 file.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6960 multiarch wcscpy for PPC32.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6962 multiarch objects.
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6964 (__libc_ifunc_impl_list): Likewise.
6965 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6966 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6967 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6968 sysdeps/powerpc/power6/wcscpy.c.
6969
bb04e529
AZ
6970 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6972 file.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6974 file.
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6976 file.
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6978 multiarch wcsrchr for PPC32.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6980 multiarch objects.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6982 (__libc_ifunc_impl_list): Likewise.
6983 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6984 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6985 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6986 sysdeps/powerpc/power6/wcsrchr.c.
6987
05b5cd1c
AZ
6988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6989 file.
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6991 file.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6994 multiarch wcschr for PPc32.
6995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6996 multiarch objects.
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6998 (__libc_ifunc_impl_list): Likewise.
6999 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7000 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7001 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7002 sysdeps/powerpc/power6/wcschr.c.
7003
ba964147
AZ
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7006 file.
7007 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7008 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7009 file: multiarch strchr for PPC32.
7010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7011 multiarch objects.
7012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7013 (__libc_ifunc_impl_list): Likewise.
7014
31c81aaa
AZ
7015 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7016 name.
7017 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7018 file.
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7020 file.
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7022 multiarch strchrnul for PPC32.
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7024 multiarch objects.
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7026 (__libc_ifunc_impl_list): Likewise.
7027
0d0607d9
AZ
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7029 file.
7030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7031 multiarch strncasecmp for PPC32.
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7033 file.
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7035 multiarch strncasecmp_l for PPC32.
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7037 strncasecmp multiarch objects.
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7039 (__libc_ifunc_impl_list): Likewise.
7040
4dfd5c86
AZ
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7042 file.
7043 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7044 multiarch strncasecmp for PPC32.
7045 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7046 New file.
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7048 multiarch strcasecmp_l for PPC32.
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7050 multiarch objects.
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7052 (__libc_ifunc_impl_list): Likewise.
7053
a19e01a3
AZ
7054 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7055 file.
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7057 file.
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7059 multiarch strncmp for PPC32.
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7061 multiarch objects.
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7063 (__libc_ifunc_impl_list): Likewise.
7064
ae9cf7a2
AZ
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7066 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7067 file.
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7071 multiarch objects.
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7073 (__libc_ifunc_impl_list): Likewise.
7074
3148bb7d
AZ
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7076 file.
7077 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7078 file.
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7081 multiarch objects.
7082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7083 (__libc_ifunc_impl_list): Likewise.
7084
7af8b946
AZ
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7086 file.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7088 file.
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7090 multiarch rawmemchr for PPC32.
7091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7092 multiarch objects.
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7094 (__libc_ifunc_impl_list): Likewise.
7095
03a6aa6a
AZ
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7097 file.
7098 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7099 file.
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7101 file: memrchr multiarch for PPC32.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7103 multiarch objects.
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7105 (__libc_ifunc_impl_list): Likewise.
7106
1c62e6d9
AZ
7107 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7108 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7109 file.
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7112 multiarch memchr for PPC32.
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7114 multiarch objects.
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7116 (__libc_ifunc_impl_list): Likewise.
7117
87da8bdb
AZ
7118 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7120 file.
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7122 file.
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7124 file: multiarch mempcpy for PPC32.
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7126 multiarch objects.
7127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7128 (__libc_ifunc_impl_list): Likewise.
7129
20ed4714
AZ
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7131 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7133 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7134 multiarch bzero for PPC32.
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7136 file.
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7138 file.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7140 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7141 file: multiarch memset for PPC32.
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7144 memset multiarch objects.
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7146 (__libc_ifunc_impl_list): Likewise.
7147
ab3e3a46
AZ
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7149 file.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7152 memcmp for PPC32.
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7155 multiarch objects.
7156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7157 (__libc_ifunc_impl_list): Likewise.
7158
930de6f0
AZ
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7160 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7162 file.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7164 file.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7166 file.
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7168 multiarch memcpy for PPC32.
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7170 multiarch objects.
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7172 (__libc_ifunc_impl_list): Likewise.
7173
4c628e00
AZ
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7175 support multiarch for POWER/PPC32.
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7177 Likewise.
7178 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7180 Implies file to make multiarch folder appers before the fpu and
7181 default folder for power4 configuration.
7182
f4479220
SP
71832013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7184
7185 * scripts/bench.pl: Append volatile keyword to type.
7186
8517800f
KK
71872013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7188
7189 * sysdeps/sh/sotruss-lib.c: New file.
7190 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7191
180138f1
AZ
71922013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7193
7194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7195
bbf37bdc
JM
71962013-12-05 Joseph Myers <joseph@codesourcery.com>
7197
e47cc4e0
JM
7198 [BZ #6810]
7199 * math/w_tgamma.c: Include <errno.h>.
7200 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7201 * math/w_tgammaf.c: Include <errno.h>.
7202 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7203 * math/w_tgammal.c: Include <errno.h>.
7204 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7205 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7206 underflow. Add more tgamma tests.
7207 * math/auto-libm-test-out: Regenerated.
7208 * sysdeps/i386/fpu/libm-test-ulps: Update.
7209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7210
bbf37bdc
JM
7211 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7212 sin, sinh, tan, tanh, tgamma, y0 and y1.
7213 * math/auto-libm-test-out: Regenerated.
7214 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7215 (TEST_COND_x86): Likewise.
7216 (M_E2l): Remove macro.
7217 (M_E3l): Likewise.
7218 (M_2_SQRT_PIl): Likewise.
7219 (M_SQRT_PIl): Likewise.
7220 (M_1_DIV_El): Likewise.
7221 (log_test_data): Use AUTO_TESTS_f_f.
7222 (log10_test_data): Likewise.
7223 (log1p_test_data): Likewise.
7224 (log2_test_data): Likewise.
7225 (sin_test_data): Likewise.
7226 (sin_tonearest_test_data): Likewise.
7227 (sin_towardzero_test_data): Likewise.
7228 (sin_downward_test_data): Likewise.
7229 (sin_upward_test_data): Likewise.
7230 (sinh_test_data): Likewise.
7231 (sinh_tonearest_test_data): Likewise.
7232 (sinh_towardzero_test_data): Likewise.
7233 (sinh_downward_test_data): Likewise.
7234 (sinh_upward_test_data): Likewise.
7235 (tan_test_data): Likewise.
7236 (tan_tonearest_test_data): Likewise.
7237 (tan_towardzero_test_data): Likewise.
7238 (tan_downward_test_data): Likewise.
7239 (tan_upward_test_data): Likewise.
7240 (tanh_test_data): Likewise.
7241 (tgamma_test_data): Likewise.
7242 (y0_test_data): Likewise.
7243 (y1_test_data): Likewise.
7244 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7245 (special_real_inputs): Add pi/4.
7246 * sysdeps/i386/fpu/libm-test-ulps: Update.
7247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7248
eb5ad6b9
AZ
72492013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7250
7251 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7252 "longjmp_target" static probes.
7253 (__longjmp): Rename to __longjmp_symbol.
7254 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7255 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7256 on which longjmp to generate.
7257 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7258 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7259 probe.
7260 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7261 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7262 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7263 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7264 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7265 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7267 __longjmp_symbol based on which __longjmp to generate.
7268 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7269 probe.
7270 (setjmp): Rename to setjmp_symbol.
7271 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7272 (_setjmp): Rename to _setjmp_symbol.
7273 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7274 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7275 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7276 which setjmp to generate.
7277 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7278 "longjmp_target" static probes.
7279
d136c6dc
SP
72802013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7281
9298ecba
SP
7282 * benchtests/README: Add note about output arguments.
7283 * benchtests/bench-sincos.c: Remove file.
7284 * benchtests/sincos-inputs: New file.
7285 * scripts/bench.pl: Identify output arguments and define
7286 static variables for them.
7287
232983e9
SP
7288 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7289
d136c6dc
SP
7290 [BZ #15941]
7291 * Makefile (INSTALL): Add install-plain.texi as the primary
7292 dependency.
7293 * manual/install-plain.texi: New file.
7294 * manual/install.texi: Include node directive only for
7295 non-plaintext output.
7296
699ff837
JM
72972013-12-04 Joseph Myers <joseph@codesourcery.com>
7298
ab07cea8
JM
7299 * stdlib/longlong.h: Update from GCC.
7300
699ff837
JM
7301 [BZ #6807]
7302 [BZ #15901]
7303 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7304 * math/w_j0f.c (y0f): Likewise.
7305 * math/w_j0l.c (__y0l): Likewise.
7306 * math/w_j1.c (y1): Likewise.
7307 * math/w_j1f.c (y1f): Likewise.
7308 * math/w_j1l.c (__y1l): Likewise
7309 * math/w_jn.c (yn): Likewise.
7310 * math/w_jnf.c (ynf): Likewise.
7311 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7312 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7313 value for Bessel function domain errors outside _SVID_ mode.
7314 Adjust sign of return value for yn (negative integer, 0).
7315 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7316 by zero in return for negative x and set sign appropriately for
7317 negative n.
7318 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7319 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7320 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7321 expectations in error cases.
7322 (y1_test_data): Likewise.
7323 (yn_test_data): Likewise.
7324 * sysdeps/i386/fpu/libm-test-ulps: Update.
7325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7326
5b118558
UW
73272013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7328
7329 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7330 "64" to "64-v1". Add "64-v2".
7331 (abi-64-options): Rename to ...
7332 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7333 (abi-64-condition): Rename to ...
7334 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7335 (abi-64-ld-soname): Rename to ...
7336 (abi-64-v1-ld-soname): ... this.
7337 (abi-64-v2-options): Define.
7338 (abi-64-v2-condition): Likewise.
7339 (abi-64-v2-ld-soname): Likewise.
7340 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7341 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7345
61cd8fe4
UW
73462013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7347 Alan Modra <amodra@gmail.com>
7348
7349 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7350 New versions for use with the ELFv2 ABI.
7351 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7352 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7353 declaration.
7354 (struct La_ppc64v2_retval): Likewise.
7355 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7356 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7357 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7358 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7359 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7360 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7361 Do not save or restore CR.
7362 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7363 (_dl_profile_resolve): Do no save or restore CR. Support extended
7364 return values for ELFv2 ABI. Fix location of FPR return registers.
7365 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7366 updated values for _CALL_ELF == 2.
7367 (La_regs, La_retval, int_retval): Likewise.
7368
8b8a692c
UW
73692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7370
7371 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7372 (FRAME_MIN_SIZE_PARM): Likewise.
7373 (FRAME_BACKCHAIN): Likewise.
7374 (FRAME_CR_SAVE): Likewise.
7375 (FRAME_LR_SAVE): Likewise.
7376 (FRAME_TOC_SAVE): Likewise.
7377 (FRAME_PARM_SAVE): Likewise.
7378 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7379 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7380 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7381 (call_mcount_parm_offset): New macro.
7382 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7383 (PROF): Use symbolic stack frame offsets.
7384 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7385 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7386 Redefine in terms of FRAME_MIN_SIZE.
7387 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7388 (_dl_profile_resolve): Likewise. Update comment.
7389 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7390 symbols stack frame offsets.
7391 (__sigsetjmp): Likewise.
7392 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7393 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7394 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7395 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7396
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7398 (FRAME_BACKCHAIN): Remove.
7399 (FRAME_CR_SAVE): Likewise.
7400 (FRAME_LR_SAVE): Likewise.
7401 (FRAME_COMPILER_DW): Likewise.
7402 (FRAME_LINKER_DW): Likewise.
7403 (FRAME_TOC_SAVE): Likewise.
7404 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7405 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7406 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7407 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7409 (CHECK_SP): Use symbolic stack frame offsets.
7410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7411 zone" instead of caller's parameter save area for temp storage.
7412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7413 Likewise. Also, use symbolic stack frame offsets.
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7415 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7416 our own stack frame instead of the caller's.
7417 (__socket): Use symbolic stack frame offsets.
7418
122b66de
UW
74192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7420 Alan Modra <amodra@gmail.com>
7421
7422 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7423 Define.
57f41c40
AS
7424 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7425 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7426 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7427 New function.
7428 (elf_machine_fixup_plt): Call it.
7429 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7430 reloc arguments.
7431 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7432 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7433 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7434 r2 before calling target.
7435
696caf1d
UW
74362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7437 Alan Modra <amodra@gmail.com>
7438
7439 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7440 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7441 versions of macros to support ELFv2 ABI.
7442 (LOCALENTRY): New macro.
7443 (ENTRY, EALIGN): Use it.
7444 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7445 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7446 fall through into ENTRY entry point.
7447 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7448 Only define if _CALL_ELF != 2.
7449
7450 (elf_machine_matches_host): Verify ABI version matches.
7451 (RTLD_START): Use LOCALENTRY.
7452 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7453 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7454 (PLT_ENTRY_WORDS): New macro.
7455 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7456 (elf_machine_runtime_setup): Support ELFv2 ABI.
7457 (elf_machine_fixup_plt): Likewise.
7458 (elf_machine_plt_conflict): Likewise.
7459 (resolve_ifunc): Likewise.
7460 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7461 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7462 Likewise.
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7464 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7466 (makecontext): Support ELFv2 ABI.
7467 * elf/elf.h (EF_PPC64_ABI): Define.
7468
d31beafa
UW
74692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7470
57f41c40
AS
7471 * sysdeps/powerpc/powerpc64/sysdep.h
7472 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7473 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7474 (ENTRY) [ASSEMBLER]: ... but instead here ...
7475 (EALIGN) [ASSEMBLER]: ... and here.
7476 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7477 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7478 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7479 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7480 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7481 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7482 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7483 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7485 Use PPC64_LOAD_FUNCPTR.
7486
b525166b
UW
7487 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7488
7ec07d9a
AM
74892013-12-04 Alan Modra <amodra@gmail.com>
7490
7491 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7492 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7493 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7494 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7495
7496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7497 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7498 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7499 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7500 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7501 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7502
5162e7dd
UW
75032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7504
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7506 (__makecontext): Fix incorrect CFI when backtracing out of
7507 context created via makecontext.
7508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7509 (__setcontext): Fix incorrect CFI during switch to new context.
7510 (__novec_setcontext): Likewise.
7511
19e3372b
OB
75122013-12-04 Ondřej Bílka <neleai@seznam.cz>
7513
7514 [BZ #4772]
7515 * time/strptime_l.c (__strptime_internal): Allow modifiers
7516 in strptime.
7517 * time/tst-strptime.c (day_tests): Add testcase.
7518
ecaf142d
SP
75192013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7520
7521 * scripts/bench.pl: Skip over blank lines.
7522
fbf964ae
PE
75232013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7524
7525 [BZ #926]
7526 * manual/time.texi (Calendar Time): Clarify what timezone functions
7527 use.
7528
fa60a674
AZ
75292013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7530
7531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7532
d674f0ef
OB
75332013-12-04 Ondřej Bílka <neleai@seznam.cz>
7534
7535 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7536 implementation.
7537 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7538 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7539 * debug/memset_chk.c (__memset_chk): Likewise.
7540 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7541 * debug/strncpy_chk.c: Likewise.
7542
17dea188
JM
75432013-12-03 Joseph Myers <joseph@codesourcery.com>
7544
749008ff
JM
7545 [BZ #15268]
7546 [BZ #15425]
7547 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7548 (__ieee754_exp): For possibly underflowing results, check size of
7549 result and force underflow exception if required.
7550 * math/auto-libm-test-in: Add more tests of exp.
7551 * math/auto-libm-test-out: Regenerated.
7552 * sysdeps/i386/fpu/libm-test-ulps: Update.
7553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7554
17dea188
JM
7555 [BZ #16283]
7556 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7557 * math/w_exp2f.c (__exp2f): Likewise.
7558 * math/w_exp2l.c (__exp2l): Likewise.
7559 * math/auto-libm-test-in: Do not allow missing errno on exp2
7560 underflow.
7561 * math/auto-libm-test-out: Regenerated.
7562
b20de2c3
OB
75632013-12-03 Ondřej Bílka <neleai@seznam.cz>
7564
7565 [BZ #16274]
7566 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7567 handle filename validation.
7568 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7569 (do_open): Delete.
7570
d8e2dbe3
JM
75712013-12-03 Joseph Myers <joseph@codesourcery.com>
7572
34e16df5
JM
7573 [BZ #6786]
7574 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7575 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7576 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7577 <float.h>.
7578 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7579 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7580 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7582 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7583 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7584 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7585 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7586 Add more erfc tests.
7587 * math/auto-libm-test-out: Regenerated.
7588 * sysdeps/i386/fpu/libm-test-ulps: Update.
7589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7590
d8e2dbe3
JM
7591 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7592 exp2, expm1, j0 and j1.
7593 * math/auto-libm-test-out: Regenerated.
7594 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7595 (erfc_test_data): Likewise.
7596 (exp_test_data): Likewise.
7597 (exp_tonearest_test_data): Likewise.
7598 (exp_towardzero_test_data): Likewise.
7599 (exp_downward_test_data): Likewise.
7600 (exp_upward_test_data): Likewise.
7601 (exp10_test_data): Likewise.
7602 (exp2_test_data): Likewise.
7603 (expm1_test_data): Likewise.
7604 (j0_test_data): Likewise.
7605 (j1_test_data): Likewise.
7606 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7607 (input_flag_type): Add flag_xfail_rounding.
7608 (input_flags): Add xfail-rounding.
7609 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7610 (output_for_one_input_case): Handle flag_xfail_rounding.
7611 * sysdeps/i386/fpu/libm-test-ulps: Update.
7612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7613
18d14251
AJ
76142013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7615
3d2e6075 7616 [BZ #16289]
18d14251
AJ
7617 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7618 division by 0.
7619
520d437b
SP
76202013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7621
7622 [BZ #16195]
7623 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7624 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7625 (STAP_PROBE0): New macro.
7626 (STAP_PROBE1): Likewise.
7627 (STAP_PROBE2): Likewise.
7628 (STAP_PROBE3): Likewise.
7629 (STAP_PROBE4): Likewise.
7630
416e0145
OB
76312013-12-02 Ondřej Bílka <neleai@seznam.cz>
7632
7633 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7634
9d17796a
SE
76352013-12-02 Steve Ellcey <sellcey@mips.com>
7636
7637 * benchtests/Makefile (bench): Add sqrt.
7638 (LDLIBS-bench-sqrt): New.
7639 * benchtests/sqrt-input: New.
7640
f524d6a8
PS
76412013-12-02 Pavel Simerda <psimerda@redhat.com>
7642
639a0ef8
PS
7643 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7644 (GAIH_EAI): Likewise.
7645 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7646 (gaih_inet): Likewise.
7647 (getaddrinfo): Don't use GAIH_EAI.
7648
f524d6a8
PS
7649 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7650 (struct gaih): Remove definition.
7651
df3aedaf
SP
76522013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7653
7654 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7655 Use HERRNOP directly.
7656
1ab19dec
AZ
76572013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7658
b42ad38d 7659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7660
176b0c79
JM
76612013-11-30 Joseph Myers <joseph@codesourcery.com>
7662
7663 * math/gen-auto-libm-tests.c (test_functions): Add more
7664 single-argument functions.
7665 (special_fill_pi_2): New function.
7666 (special_fill_minus_pi_2): Likewise.
7667 (special_fill_pi_6): Likewise.
7668 (special_fill_minus_pi_6): Likewise.
7669 (special_fill_pi_3): Likewise.
7670 (special_fill_2pi_3): Likewise.
7671 (special_fill_e): Likewise.
7672 (special_fill_1_e): Likewise.
7673 (special_fill_e_minus_1): Likewise.
7674 (special_real_inputs): Add more special inputs.
7675 (output_for_one_input_case): Do not require ERANGE on underflow to
7676 zero if round-to-nearest result does not underflow to zero, unless
7677 exact results required.
7678 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7679 atan, atanh, cbrt, cos and cosh.
7680 * math/auto-libm-test-out: Regenerated.
7681 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7682 (acos_tonearest_test_data): Likewise.
7683 (acos_towardzero_test_data): Likewise.
7684 (acos_downward_test_data): Likewise.
7685 (acos_upward_test_data): Likewise.
7686 (acosh_test_data): Likewise.
7687 (asin_test_data): Likewise.
7688 (asin_tonearest_test_data): Likewise.
7689 (asin_towardzero_test_data): Likewise.
7690 (asin_upward_test_data): Likewise.
7691 (asinh_test_data): Likewise.
7692 (atan_test_data): Likewise.
7693 (atanh_test_data): Likewise.
7694 (cbrt_test_data): Likewise.
7695 (cos_test_data): Likewise.
7696 (cos_tonearest_test_data): Likewise.
7697 (cos_towardzero_test_data): Likewise.
7698 (cos_downward_test_data): Likewise.
7699 (cos_upward_test_data): Likewise.
7700 (cosh_test_data): Likewise.
7701 (cosh_tonearest_test_data): Likewise.
7702 (cosh_towardzero_test_data): Likewise.
7703 (cosh_downward_test_data): Likewise.
7704 (cosh_upward_test_data): Likewise.
7705 * sysdeps/i386/fpu/libm-test-ulps: Update.
7706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7707
ffb536d0
JM
77082013-11-29 Joseph Myers <joseph@codesourcery.com>
7709
2a77a467
JM
7710 [BZ #6787]
7711 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7712 * math/w_exp10f.c (__exp10f): Likewise.
7713 * math/w_exp10l.c (__exp10l): Likewise.
7714 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7715 errno settings in existing tests.
7716
ea3bc4e8
JM
7717 [BZ #14032]
7718 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7719 precision control set to double precision.
7720 * sysdeps/i386/fpu/w_sqrt.c: New file.
7721 * math/auto-libm-test-in: Add more tests.
7722 * math/auto-libm-test-out: Update.
7723
0712c9d8
JM
7724 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7725 (sqrt_test_tonearest): New function.
7726 (sqrt_towardzero_test_data): New variable.
7727 (sqrt_test_towardzero): New function.
7728 (sqrt_downward_test_data): New variable.
7729 (sqrt_test_downward): New function.
7730 (sqrt_upward_test_data): New variable.
7731 (sqrt_test_upward): New function.
7732 (main): Call the new functions.
7733
ffb536d0
JM
7734 * math/gen-auto-libm-tests.c: New file.
7735 * math/auto-libm-test-in: Likewise.
7736 * math/auto-libm-test-out: New generated file.
7737 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7738 variables.
7739 (%beautify): Add generated representations of zero.
7740 (top level): Set $auto_input and call parse_auto_input.
7741 (beautify): Remove trailing "f" from hex float constants.
7742 (parse_args): Handle XFAIL_TEST.
7743 (convert_condition): New function.
7744 (or_value): Likewise.
7745 (or_cond_value): Likewise.
7746 (generate_testfile): Handle AUTO_TESTS_* lines.
7747 (parse_auto_input): New function.
7748 * math/libm-test.inc (XFAIL_TEST): New macro.
7749 (ERRNO_UNCHANGED): Update value.
7750 (ERRNO_EDOM): Likewise.
7751 (ERRNO_ERANGE): Likewise.
7752 (IGNORE_RESULT): Likewise.
7753 (TEST_COND_flt_32): New macro.
7754 (TEST_COND_dbl_64): Likewise.
7755 (TEST_COND_ldbl_96_intel): Likewise.
7756 (TEST_COND_ldbl_96_m68k): Likewise.
7757 (TEST_COND_ldbl_128): Likewise.
7758 (TEST_COND_ldbl_128ibm): Likewise.
7759 (TEST_COND_long32): Likewise.
7760 (TEST_COND_long64): Likewise.
7761 (TEST_COND_before_rounding): Likewise.
7762 (TEST_COND_after_rounding): Likewise.
7763 (enable_test): Handle XFAIL_TEST flag.
7764 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7765 with finite results.
7766 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7767 auto-libm-test-out.
7768
acd98a8e
AK
77692013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7770 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7771
7772 [BZ #16214]
7773 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7774 __tls_get_addr_internal instead of __tls_get_offset in order to
7775 avoid GOT pointer dependency. Make rtld export
7776 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7777 __tls_get_addr since we are a __tls_get_offset platform.
7778 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7779 GOT pointer being set up before.
7780 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7781
3c1c46a6
JM
77822013-11-28 Joseph Myers <joseph@codesourcery.com>
7783
7475aef5
JM
7784 * manual/math.texi (Errors in Math Functions): Document accuracy
7785 goals.
7786
8bca7cd8
JM
7787 [BZ #15004]
7788 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7789 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7791 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7798 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7804
91a1f3fe
JM
7805 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7806 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7807 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7808 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7809 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7810 Likewise.
7811 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7812 Likewise.
7813 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7814 Likewise.
7815 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7816 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7817 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7818 atomic-feupdateenv and flt-rounds.
7819 * sysdeps/powerpc/nofpu/Versions (libc): Add
7820 __atomic_feholdexcept, __atomic_feclearexcept,
7821 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7822 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7823 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7824 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7825 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7826 here.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7828 Update.
7829
c5df7609
JM
7830 * manual/arith.texi (FP Exceptions): Document that exceptions may
7831 not be raised when matherr is used.
7832 (Math Error Reporting): Document overflow in directed rounding
7833 modes. Document that errno may not be set when finite values are
7834 returned on overflow. Document intent to set errno on underflow
7835 only for underflow to zero.
7836
3c1c46a6
JM
7837 [BZ #16271]
7838 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7839 round-to-nearest then adjust result for other rounding modes.
7840 * include/fenv.h (fegetround): Use libm_hidden_proto.
7841 * math/fegetround.c (fegetround): Use libm_hidden_def.
7842 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7843 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7844 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7845 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7846 Likewise.
7847 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7848 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7849 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7850 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7851
5a4c6d53
SP
78522013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7853
7854 [BZ #16077]
7855 * nss/Versions (libnss_files): Add
7856 _nss_files_gethostbyname3_r.
7857 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7858 New function.
7859 (HOST_DB_LOOKUP): Remove macro.
7860 (_nss_files_gethostbyname_r): Implement function without the
7861 HOST_DB_LOOKUP macro.
7862 (_nss_files_gethostbyname2_r): Likewise.
7863
897b98ba
OB
78642013-11-28 Ondřej Bílka <neleai@seznam.cz>
7865
7866 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7867
6f476861
UB
78682013-11-26 Uros Bizjak <ubizjak@gmail.com>
7869
7870 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7871 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7872 warning.
7873
bd12ab55
AZ
78742013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7875
7876 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7877 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7878 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7879 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7880 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7881 __fe_nomask_env_priv and attribute_hidden.
7882 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7883 (libc_feupdateenv_test_ppc): Likewise.
7884 (libc_feresetround_ppc): Likewise.
7885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7886 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7887 compat_symbol macro.
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7889 (__fe_nomask_env): Likewise.
7890 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7891
52bb6543
OB
78922013-11-26 Ondřej Bílka <neleai@seznam.cz>
7893
7894 * string/Makefile: Remove ifunc tests.
7895 * string/test-string.h: Define TEST_IFUNC.
7896 * string/test-bcopy-ifunc.c: Remove.
7897 * string/test-bzero-ifunc.c: Likewise.
7898 * string/test-memccpy-ifunc.c: Likewise.
7899 * string/test-memchr-ifunc.c: Likewise.
7900 * string/test-memcmp-ifunc.c: Likewise.
7901 * string/test-memcpy-ifunc.c: Likewise.
7902 * string/test-memmem-ifunc.c: Likewise.
7903 * string/test-memmove-ifunc.c: Likewise.
7904 * string/test-mempcpy-ifunc.c: Likewise.
7905 * string/test-memrchr-ifunc.c: Likewise.
7906 * string/test-memset-ifunc.c: Likewise.
7907 * string/test-rawmemchr-ifunc.c: Likewise.
7908 * string/test-stpcpy-ifunc.c: Likewise.
7909 * string/test-stpncpy-ifunc.c: Likewise.
7910 * string/test-strcasecmp-ifunc.c: Likewise.
7911 * string/test-strcasestr-ifunc.c: Likewise.
7912 * string/test-strcat-ifunc.c: Likewise.
7913 * string/test-strchr-ifunc.c: Likewise.
7914 * string/test-strchrnul-ifunc.c: Likewise.
7915 * string/test-strcmp-ifunc.c: Likewise.
7916 * string/test-strcpy-ifunc.c: Likewise.
7917 * string/test-strcspn-ifunc.c: Likewise.
7918 * string/test-strlen-ifunc.c: Likewise.
7919 * string/test-strncasecmp-ifunc.c: Likewise.
7920 * string/test-strncat-ifunc.c: Likewise.
7921 * string/test-strncmp-ifunc.c: Likewise.
7922 * string/test-strncpy-ifunc.c: Likewise.
7923 * string/test-strnlen-ifunc.c: Likewise.
7924 * string/test-strpbrk-ifunc.c: Likewise.
7925 * string/test-strrchr-ifunc.c: Likewise.
7926 * string/test-strspn-ifunc.c: Likewise.
7927 * string/test-strstr-ifunc.c: Likewise.
7928
ab260039 79292013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7930
7931 * benchtests/Makefile: Remove ifunc tests.
7932 * benchtests/bench-string.h: Define TEST_IFUNC.
7933 * benchtests/bench-bcopy-ifunc.c: Remove.
7934 * benchtests/bench-bzero-ifunc.c: Likewise.
7935 * benchtests/bench-memccpy-ifunc.c: Likewise.
7936 * benchtests/bench-memchr-ifunc.c: Likewise.
7937 * benchtests/bench-memcmp-ifunc.c: Likewise.
7938 * benchtests/bench-memcpy-ifunc.c: Likewise.
7939 * benchtests/bench-memmem-ifunc.c: Likewise.
7940 * benchtests/bench-memmove-ifunc.c: Likewise.
7941 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7942 * benchtests/bench-memrchr-ifunc.c: Likewise.
7943 * benchtests/bench-memset-ifunc.c: Likewise.
7944 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7945 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7946 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7947 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7948 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7949 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7950 * benchtests/bench-strcat-ifunc.c: Likewise.
7951 * benchtests/bench-strchr-ifunc.c: Likewise.
7952 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7953 * benchtests/bench-strcmp-ifunc.c: Likewise.
7954 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7955 * benchtests/bench-strcpy-ifunc.c: Likewise.
7956 * benchtests/bench-strcspn-ifunc.c: Likewise.
7957 * benchtests/bench-strlen-ifunc.c: Likewise.
7958 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7959 * benchtests/bench-strncat-ifunc.c: Likewise.
7960 * benchtests/bench-strncmp-ifunc.c: Likewise.
7961 * benchtests/bench-strncpy-ifunc.c: Likewise.
7962 * benchtests/bench-strnlen-ifunc.c: Likewise.
7963 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7964 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7965 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7966 * benchtests/bench-strspn-ifunc.c: Likewise.
7967 * benchtests/bench-strstr-ifunc.c: Likewise.
7968
79692013-11-26 Ondřej Bílka <neleai@seznam.cz>
7970
ab260039
OB
7971 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7972
d1d9eaf4 79732013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7974
d1d9eaf4
OB
7975 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7976 * rt/aio.h: Likewise.
7977 * sysdeps/gnu/bits/utmp.h: Likewise.
7978 * sysdeps/gnu/bits/utmpx.h: Likewise.
7979 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7980 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7981 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7982 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7983 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7984 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7985 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7986 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7987 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7988 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7989 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7990 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7991 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7993 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7994 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7995 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7996 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7997 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7998 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7999 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8000 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8001 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8002 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8003 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8005 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8006 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8007 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8008 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8009 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8010 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8012 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8013 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8014 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8015 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8016 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8017 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8018 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8019 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8020 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8021
a7624ed9
CD
80222013-11-25 Carlos O'Donell <carlos@redhat.com>
8023
8024 [BZ #16245]
8025 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8026 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8027
63cfe52b
JM
80282013-11-25 Joseph Myers <joseph@codesourcery.com>
8029
8030 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8031 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8032 Likewise.
8033
41e8926a
AZ
80342013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8035
8036 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8037 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8038 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8039 (__fesetround): Remove define.
8040 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8041 rounding and exceptions handling.
8042 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8043 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8044 (__fe_nomask_env): Likewise.
8045 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8046 __fegetround instead of fegetround.
8047 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8048 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8049
6851bd4d
RM
80502013-11-21 Roland McGrath <roland@hack.frob.com>
8051
070906ff
RM
8052 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8053 it's there.
8054
6851bd4d
RM
8055 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8056
84ae135d
MI
80572013-11-21 Meador Inge <meadori@codesourcery.com>
8058
8059 [BZ #11157]
8060 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8061 (encrypt_r): Likewise.
8062 * malloc/obstack.h (obstack_free): Likewise.
8063 * posix/unistd.h (encrypt): Likewise.
8064
daf75146
GM
80652013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8066
8067 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8068 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8069 DL_CALL_DT_FINI() that call the functions directly.
8070 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8071 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8072 * elf/dl-fini.c: Likewise.
8073
10ad46bc
OB
80742013-11-20 Ondřej Bílka <neleai@seznam.cz>
8075
8076 * malloc/hooks.c (memalign_check): Add alignment rounding.
8077 * malloc/malloc.c (_mid_memalign): New function.
8078 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8079 Implement by calling _mid_memalign.
8080 * manual/probes.texi (Memory Allocation Probes): Remove
8081 memory_valloc_retry and memory_pvalloc_retry.
8082
f3fd2628
SP
80832013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8084
4712799f
SP
8085 * locale/programs/locarchive.c (open_archive): Add const
8086 qualifier to ARCHIVEFNAME and copy default fname to
8087 DEFAULT_FNAME.
8088
0417b20f
SP
8089 [BZ #15601]
8090 * libio/tst-widetext.input: Rename Oriya to Odia.
8091 * locale/iso-639.def: Likewise.
8092
f3fd2628
SP
8093 * manual/probes.texi (Mathematical Function Probes): Add
8094 documentation for sin, cos, asin and acos probes.
8095 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8096 (__sin32): Add slowasin probe.
8097 (__cos32): Add slowacos probe.
8098 (__mpsin): Add slowsin probe.
8099 (__mpcos): Add slowcos probe.
8100
73c1ce4f
JM
81012013-11-19 Joseph Myers <joseph@codesourcery.com>
8102
8103 [BZ #15483]
8104 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8105 thread-local __sim_exceptions_thread and global
8106 __sim_exceptions_global.
8107 (__sim_disabled_exceptions): Change to thread-local
8108 __sim_disabled_exceptions_thread and global
8109 __sim_disabled_exceptions_global.
8110 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8111 and global __sim_round_mode_global.
8112 (__simulate_exceptions): Use thread-local floating-point state and
8113 set global state from it as needed.
8114 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8115 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8116 __sim_round_mode_thread.
8117 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8118 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8119 and global __sim_exceptions_global.
8120 (__sim_disabled_exceptions): Change to thread-local
8121 __sim_disabled_exceptions_thread and global
8122 __sim_disabled_exceptions_global.
8123 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8124 and global __sim_round_mode_global.
8125 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8126 (SIM_SET_GLOBAL): Likewise.
8127 * sysdeps/powerpc/soft-fp/sfp-machine.h
8128 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8129 __sim_round_mode_thread.
8130 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8131 __sim_disabled_exceptions_thread.
8132 (__sim_exceptions): Change to __sim_exceptions_thread.
8133 (__sim_disabled_exceptions): Change to
8134 __sim_disabled_exceptions_thread.
8135 (__sim_round_mode): Change to __sim_round_mode_thread.
8136 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8137 thread-local floating-point state and set global state from it as
8138 needed.
8139 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8140 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8141 (__sim_disabled_exceptions): Remove extern declaration.
8142 (feenableexcept): Use thread-local floating-point state and set
8143 global state from it as needed.
8144 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8145 extern declaration.
8146 (__sim_disabled_exceptions): Likewise.
8147 (__sim_round_mode): Likewise.
8148 (__fegetenv): Use thread-local floating-point state.
8149 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8150 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8151 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8152 floating-point state and set global state from it as needed.
8153 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8154 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8155 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8156 Likewise.
8157 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8158 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8159 Likewise.
8160 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8161 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8162 Use __sim_round_mode_thread.
8163 * math/test-fenv-tls.c: New file.
8164 * math/Makefile (tests): Add test-fenv-tls.
8165 ($(objpfx)test-fenv-tls): Depend on
8166 $(common-objpfx)nptl/libpthread.so.
8167
b5449b12
AS
81682013-11-19 Andreas Schwab <schwab@suse.de>
8169
8170 * locale/programs/locale.c (show_info): Decode wordarray elements.
8171 * locale/categories.def (LC_MONETARY): Add element for
8172 _NL_MONETARY_CRNCYSTR.
8173 * locale/C-monetary.c (conversion_rate): New variable.
8174 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8175 element.
8176
e186536b
CM
81772013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8178
8179 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8180 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8181
5c349950
PP
81822013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8183
8184 * elf/Makefile (tst-auxv): New test.
8185 * elf/tst-auxv.c: New
8186 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8187
699df45b
JM
81882013-11-18 Joseph Myers <joseph@codesourcery.com>
8189
8190 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8191 (hidden_proto): Caller changed.
8192 (hidden_tls_proto): New macro.
8193 (libc_hidden_tls_proto): Likewise.
8194 (rtld_hidden_tls_proto): Likewise.
8195 (libm_hidden_tls_proto): Likewise.
8196 (libresolv_hidden_tls_proto): Likewise.
8197 (librt_hidden_tls_proto): Likewise.
8198 (libdl_hidden_tls_proto): Likewise.
8199 (libnss_files_hidden_tls_proto): Likewise.
8200 (libnsl_hidden_tls_proto): Likewise.
8201 (libnss_nisplus_hidden_tls_proto): Likewise.
8202 (libutil_hidden_tls_proto): Likewise.
8203
b7589107
OB
82042013-11-18 Ondřej Bílka <neleai@seznam.cz>
8205
8206 [BZ #10253]
8207 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8208 (decompose_rpath): Defer expansion to fillin_rpath.
8209 (_dl_init_paths): Pass linkmap to fillin_rpath.
8210
250c23bd
RS
82112013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8212
8213 * benchtests/Makefile: Add strsep.
8214 * benchtests/bench-strsep.c: New file: strsep benchtest.
8215 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8216
a7931fcf
AS
82172013-11-18 Andreas Schwab <schwab@suse.de>
8218
8219 * locale/programs/locale.c (show_info) [case byte]: Check for
8220 '\377' instead of '\177'.
8221 * locale/C-monetary.c (not_available): Always use "\377".
8222 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8223 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8224 detect unavailable sign_posn locale elements.
8225 * locale/localeconv.c (__localeconv): For grouping and
8226 mon_grouping handle "\177" and "\377" like no grouping.
8227 (INT_ELEM): New macro. Use it to set all numeric members.
8228 * locale/programs/ld-monetary.c (monetary_read)
8229 <tok_mon_grouping>: Normalize single -1 to the empty string.
8230 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8231 Likewise.
8232
728dab0e
OB
82332013-11-07 Ondřej Bílka <neleai@seznam.cz>
8234
8235 [BZ #16055]
8236 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8237 when we match (nil).
8238 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8239
66294491
JM
82402013-11-16 Joseph Myers <joseph@codesourcery.com>
8241
ce665817
JM
8242 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8243 (NO_TEST_INLINE): Update value.
8244 (ERRNO_UNCHANGED): Likewise.
8245 (ERRNO_EDOM): Likewise.
8246 (ERRNO_ERANGE): Likewise.
8247 (IGNORE_RESULT): Likewise.
8248 (check_float_internal): Check signs of NaN results if
8249 TEST_NAN_SIGN used.
8250 (check_complex): Pass TEST_NAN_SIGN flag through to second
8251 check_float_internal call.
8252 (copysign_test_data): Add tests with quiet NaNs as second
8253 argument. Use TEST_NAN_SIGN.
8254 (fabs_test_data): Add test of negative quiet NaN argument. Use
8255 TEST_NAN_SIGN.
8256 (signbit_test_data): Add tests of quiet NaN argument.
8257 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8258
ee1466a9
JM
8259 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8260 $ignore_result.
8261 (parse_args): Handle function results specified as IGNORE.
8262 * math/libm-test.inc (IGNORE_RESULT): New macro.
8263 (check_float_internal): Do not check numerical result if flag
8264 IGNORE_RESULT set.
8265 (check_complex): Pass through IGNORE_RESULT to second
8266 check_float_internal call.
8267 (check_int): Do not check numerical result if flag IGNORE_RESULT
8268 set.
8269 (check_long): Likewise.
8270 (check_bool): Likewise.
8271 (check_longlong): Likewise.
8272 (lrint_test_data): Add tests of infinite and NaN arguments.
8273 (lrint_tonearest_test_data): Likewise.
8274 (lrint_towardzero_test_data): Likewise.
8275 (lrint_downward_test_data): Likewise.
8276 (lrint_upward_test_data): Likewise.
8277 (llrint_test_data): Likewise.
8278 (llrint_tonearest_test_data): Likewise.
8279 (llrint_towardzero_test_data): Likewise.
8280 (llrint_downward_test_data): Likewise.
8281 (llrint_upward_test_data): Likewise.
8282 (lround_test_data): Likewise.
8283 (llround_test_data): Likewise.
8284
14407b7e
JM
8285 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8286 (ERRNO_UNCHANGED): Update value.
8287 (ERRNO_EDOM): Likewise.
8288 (ERRNO_ERANGE): Likewise.
8289 (NO_TEST_INLINE_FLOAT): New macro.
8290 (NO_TEST_INLINE_DOUBLE): Likewise.
8291 (enable_test): New function.
8292 (RUN_TEST_f_f): Check enable_test before running test.
8293 (RUN_TEST_2_f): Likewise.
8294 (RUN_TEST_fff_f): Likewise.
8295 (RUN_TEST_c_f): Likewise.
8296 (RUN_TEST_f_f1): Likewise.
8297 (RUN_TEST_fF_f1): Likewise.
8298 (RUN_TEST_fI_f1): Likewise.
8299 (RUN_TEST_ffI_f1): Likewise.
8300 (RUN_TEST_c_c): Likewise.
8301 (RUN_TEST_cc_c): Likewise.
8302 (RUN_TEST_f_i): Likewise.
8303 (RUN_TEST_f_i_tg): Likewise.
8304 (RUN_TEST_ff_i_tg): Likewise.
8305 (RUN_TEST_f_b): Likewise.
8306 (RUN_TEST_f_b_tg): Likewise.
8307 (RUN_TEST_f_l): Likewise.
8308 (RUN_TEST_f_L): Likewise.
8309 (RUN_TEST_fFF_11): Likewise.
8310 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8311 conditionals.
8312 (cosh_test_data): Likewise.
8313 (exp_test_data): Likewise.
8314 (expm1_test_data): Likewise.
8315 (hypot_test_data): Likewise.
8316 (pow_test_data): Likewise.
8317 (sinh_test_data): Likewise.
8318 (tanh_test_data): Likewise.
8319 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8320 flags argument.
8321
ca07f197
JM
8322 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8323 tests with quiet NaN input and output.
8324 (acosh_test_data): Likewise.
8325 (asin_test_data): Likewise.
8326 (asinh_test_data): Likewise.
8327 (atan_test_data): Likewise.
8328 (atanh_test_data): Likewise.
8329 (atan2_test_data): Likewise.
8330 (cbrt_test_data): Likewise.
8331 (cos_test_data): Likewise.
8332 (cosh_test_data): Likewise.
8333 (erf_test_data): Likewise.
8334 (erfc_test_data): Likewise.
8335 (exp_test_data): Likewise.
8336 (exp10_test_data): Likewise.
8337 (exp2_test_data): Likewise.
8338 (expm1_test_data): Likewise.
8339 (hypot_test_data): Likewise.
8340 (j0_test_data): Likewise.
8341 (j1_test_data): Likewise.
8342 (jn_test_data): Likewise.
8343 (lgamma_test_data): Likewise.
8344 (log_test_data): Likewise.
8345 (log10_test_data): Likewise.
8346 (log1p_test_data): Likewise.
8347 (log2_test_data): Likewise.
8348 (pow_test_data): Likewise.
8349 (scalb_test_data): Likewise.
8350 (sin_test_data): Likewise.
8351 (sincos_test_data): Likewise.
8352 (sinh_test_data): Likewise.
8353 (tan_test_data): Likewise.
8354 (tanh_test_data): Likewise.
8355 (tgamma_test_data): Likewise.
8356 (y0_test_data): Likewise.
8357 (y1_test_data): Likewise.
8358 (yn_test_data): Likewise.
8359
66294491
JM
8360 [BZ #16167]
8361 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8362 argument being NaN and avoid computations with second argument in
8363 that case.
8364 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8365 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8366 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8367
1820b143
CL
83682013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8369
8370 * locale/iso-639.def: Add Chitwani Tharu (the).
8371
714bd261
AS
83722013-11-14 Andreas Schwab <schwab@suse.de>
8373
8374 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8375 word instead of empty string.
8376
7ab44563
AZ
83772013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8378
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8380 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8382 (__fe_nomask_env): Likewise.
8383
e8470ea2
SE
83842013-11-13 Steve Ellcey <sellcey@mips.com>
8385
8386 * benchtests/bench-timing.h: Include time.h.
8387
17c1d9f0
L
83882013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8389
8390 [BZ #15997]
8391 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8392 to 3.4.0 for x32.
8393 * sysdeps/unix/sysv/linux/configure: Regenerated.
8394
9310c284
JM
83952013-11-13 Joseph Myers <joseph@codesourcery.com>
8396
8397 [BZ #16151]
8398 * stdlib/strtod_l.c (round_and_return): Do not consider
8399 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8400 exponent one less than half the least subnormal exponent.
8401 * stdlib/test-strtod-round-data: Add more tests.
8402 * stdlib/tst-strtod-round.c (tests): Regenerated.
8403
7a2ad8cf
AZ
84042013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8405
8406 [BZ #14143]
8407 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8408 (__fe_mask_env): Likewise.
8409 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8410 libm_hidden_proto and add function prototype.
8411 (__fe_mask_env): Add function prototype.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8413 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8415 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8417 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8418
50727aa7
MS
84192013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8420
b2f386c1 8421 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8422 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8423
a615be46
MS
84242013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8425
8426 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8427 of htab_find_slot().
8428
7ddace62
DM
84292013-11-11 David S. Miller <davem@davemloft.net>
8430
8431 [BZ #16150]
8432 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8433 symbol in the non-vis3 case in static builds.
8434 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8435 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8436 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8437 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8438
9182aa67
JK
84392013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8440
8441 [BZ #387]
8442 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8443 it is empty.
8444
450a2e2d
AZ
84452013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8446
b2f386c1
SP
8447 * benchtests/Makefile: Add bench-strtod.
8448 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8449
8ec3f656
AS
84502013-11-11 Andreas Schwab <schwab@suse.de>
8451
8452 [BZ #16153]
8453 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8454 terminating NUL in key length.
8455
76a9b998
AZ
84562013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8457
8458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8459 Add artificial ODP entry for vDSO symbol for PPC64.
8460 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8461 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8462
e4368156
OB
84632013-11-07 Ondřej Bílka <neleai@seznam.cz>
8464
8465 [BZ #15374]
8466 * nss/getent.c (services_keys): Recognize services starting with digit.
8467
8d6bb57c
DM
84682013-11-06 David S. Miller <davem@davemloft.net>
8469
8470 [BZ #15985]
8471 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8472 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8473
e256c421
WN
84742013-11-06 Will Newton <will.newton@linaro.org>
8475
8476 * manual/memory.texi (Malloc Examples): Remove register
8477 keyword from examples.
8478
f6e12daa 84792013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8480
f6e12daa 8481 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8482
9d880655
AS
84832013-11-04 Joseph Myers <joseph@codesourcery.com>
8484
fd2f9486 8485 [BZ #6981]
9d880655
AS
8486 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8487 depending on [__GCC_IEC_559 > 0].
8488 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8489 depending on [__GCC_IEC_559_COMPLEX > 0].
8490
ae129d3c
CL
84912013-11-03 Chris Leonard <cjl@sugarlabs.org>
8492
8493 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8494 to iso-639.def.
8495
4a15c2a4 84962013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8497
8498 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8499
8b35e35d
OB
85002013-11-01 Ondřej Bílka <neleai@seznam.cz>
8501
8502 [BZ #16112]
8503 * malloc/malloc (malloc_info): Do not handle first bin as
8504 special case.
8505
1d70fd6c
CL
85062013-11-01 Chris Leonard <cjl@sugarlabs.org>
8507
8508 * locale/iso-639.def: Add Central Nahuatl (nhn).
8509
8c5c2600
BH
85102013-11-01 Bruno Haible <bruno@clisp.org>
8511
8512 [BZ #7003]
8513 * manual/math.texi (BSD Random): Specify range upper bound as
8514 in POSIX.
8515
da5579c2
CL
85162013-10-31 Chris Leonard <cjl@sugarlabs.org>
8517
8518 * locale/iso-639.def: Add Meadow Mari (mhr).
8519
5d30d853
OB
85202013-10-31 Ondřej Bílka <neleai@seznam.cz>
8521
8522 [BZ #14752], [BZ #15763]
8523 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8524 Validate name.
8525 * rt/tst_shm.c: Add test for escaping directory.
8526
a4966c61
AS
85272013-10-31 Andreas Schwab <schwab@suse.de>
8528
8a43e768 8529 [BZ #15917]
a4966c61
AS
8530 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8531 followed by 'x' as part of digit sequence.
8532 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8533
28d708c4
MAP
85342013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8535
8536 [BZ #16037]
8537 * configure.ac: allow GNU Make 4.0 and greater.
8538 * configure: Regenerated.
8539
a56ee40b
WN
85402013-10-30 Will Newton <will.newton@linaro.org>
8541
8542 [BZ #16038]
8543 * malloc/hooks.c (memalign_check): Limit alignment to the
8544 maximum representable power of two.
8545 * malloc/malloc.c (__libc_memalign): Likewise.
8546 * malloc/tst-memalign.c (do_test): Add test for very
8547 large alignment values.
8548 * malloc/tst-posix_memalign.c (do_test): Likewise.
8549
c6e4925d
OB
85502013-10-30 Ondřej Bílka <neleai@seznam.cz>
8551
8552 [BZ #11087]
8553 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8554 (munmap_chunk): Likewise.
8555 (mremap_chunk): Likewise.
8556
85572013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8558
8a43e768 8559 [BZ #15799]
bbea82f7
OB
8560 * stdlib/div.c (div): Remove obsolete code.
8561 * stdlib/ldiv.c (ldiv): Likewise.
8562 * stdlib/lldiv.c (lldiv): Likewise.
8563
977f4b31
SP
85642013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8565
8566 [BZ #16071]
8567 * nss/nss_files/files-XXX.c (get_contents_ret): New
8568 enumerator.
8569 (get_contents): New function.
8570 (internal_getent): Use it. Expand size of LINEBUFLEN.
8571
cb8a6dbd
MF
85722013-10-30 Mike Frysinger <vapier@gentoo.org>
8573
8574 * configure.in: Moved to ...
8575 * configure.ac: ... here. Change reference to configure.in
8576 to configure.ac.
8577 * sysdeps/arm/preconfigure.ac: ... here.
8578 configure.in to configure.ac.
8579 * sysdeps/gnu/configure.in: Moved to ...
8580 * sysdeps/gnu/configure.ac: ... here.
8581 * sysdeps/i386/configure.in: Moved to ...
8582 * sysdeps/i386/configure.ac: ... here.
8583 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8584 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8585 * sysdeps/mach/configure.in: Moved to ...
8586 * sysdeps/mach/configure.ac: ... here.
8587 * sysdeps/mach/hurd/configure.in: Moved to ...
8588 * sysdeps/mach/hurd/configure.ac: ... here.
8589 * sysdeps/powerpc/configure.in: Moved to ...
8590 * sysdeps/powerpc/configure.ac: ... here.
8591 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8592 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8593 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8594 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8595 * sysdeps/s390/s390-32/configure.in: Moved to ...
8596 * sysdeps/s390/s390-32/configure.ac: ... here.
8597 * sysdeps/s390/s390-64/configure.in: Moved to ...
8598 * sysdeps/s390/s390-64/configure.ac: ... here.
8599 * sysdeps/sh/configure.in: Moved to ...
8600 * sysdeps/sh/configure.ac: ... here.
8601 * sysdeps/sparc/configure.in: Moved to ...
8602 * sysdeps/sparc/configure.ac: ... here.
8603 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8604 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8605 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8606 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8607 * sysdeps/x86_64/configure.in: Moved to ...
8608 * sysdeps/x86_64/configure.ac: ... here.
8609 * sysdeps/x86_64/preconfigure.in: Moved to ...
8610 * sysdeps/x86_64/preconfigure.ac: ... here.
8611 * aclocal.m4: Change reference to configure.in to configure.ac.
8612 * config.h.in: Likewise.
8613 * manual/install.texi: Likewise.
8614 * manual/maint.texi: Likewise.
8615 * Makefile: Likewise.
8616 * malloc/Makefile: Likewise.
8617 * nscd/Makefile: Likewise.
8618 * Makeconfig: Change reference to configure.in and
8619 preconfigure.in to configure.ac and preconfigure.ac
8620 respectively.
8621 * INSTALL: Regenerated.
8622 * configure: Likewise.
8623 * sysdeps/gnu/configure: Likewise.
8624 * sysdeps/i386/configure: Likewise.
8625 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8626 * sysdeps/mach/configure: Likewise.
8627 * sysdeps/mach/hurd/configure: Likewise.
8628 * sysdeps/powerpc/configure: Likewise.
8629 * sysdeps/powerpc/powerpc32/configure: Likewise.
8630 * sysdeps/powerpc/powerpc64/configure: Likewise.
8631 * sysdeps/s390/s390-32/configure: Likewise.
8632 * sysdeps/s390/s390-64/configure: Likewise.
8633 * sysdeps/sh/configure: Likewise.
8634 * sysdeps/sparc/configure: Likewise.
8635 * sysdeps/unix/sysv/linux/configure: Likewise.
8636 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8637 * sysdeps/x86_64/configure: Likewise.
8638 * sysdeps/x86_64/preconfigure: Likewise.
8639
36a4953a
AS
86402013-10-29 Andreas Schwab <schwab@suse.de>
8641
8642 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8643
c79a1204
SP
86442013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8645
dfa1b402
SP
8646 * benchtests/pow-inputs: Add new inputs.
8647
54f73d9c
SP
8648 * benchtests/exp-inputs: Add new inputs.
8649
c79a1204
SP
8650 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8651 conditional check for return value.
8652 (__cos32): Likewise.
8653
67beb545 86542013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8655
8656 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8657 to provide a boost for large inputs with word alignment.
8658 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8659 implementation based on optimized PPC64 strcpy.
8660 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8661 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8662 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8663 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8664
151659f6
OB
86652013-10-25 Ondřej Bílka <neleai@seznam.cz>
8666
482a077e 8667 [BZ #2801]
151659f6
OB
8668 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8669
10b0f26b
OB
86702013-10-25 Ondřej Bílka <neleai@seznam.cz>
8671
8672 [BZ #14876]
8673 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8674 * time/tst-strptime.c (day_tests): Add testcase.
8675
ca42d35e
OB
86762013-10-25 Ondřej Bílka <neleai@seznam.cz>
8677
482a077e 8678 [BZ #14029]
ca42d35e
OB
8679 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8680
52e6d801
FB
86812013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8682
8683 [BZ #16074]
8684 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8685 MAP_FAILED on error.
8686
7cbcdb36
SP
86872013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8688
8689 [BZ #16072]
8690 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8691 heap for large requests.
8692
894f3f10
AM
86932013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8694
8695 [BZ #9954]
8696 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8697 result if the result has no associated interface.
8698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8699 interface for all 127.X.Y.Z addresses.
8700
b85545a6
CL
87012013-10-24 Chris Leonard <cjl@sugarlabs.org>
8702
8703 * locale/iso-639.def: Add Ligurian (lij)
8704
d1f23d46
OB
87052013-10-21 Ondřej Bílka <neleai@seznam.cz>
8706
8707 [BZ #15825]
8708 * sunrpc/rpc_main.c: Document rpcgen -5.
8709
4db5b08f
MS
87102013-10-19 Michael Stahl <mstahl@redhat.com>
8711
8712 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8713
a471e96a
OB
87142013-10-19 Ondřej Bílka <neleai@seznam.cz>
8715
d1f23d46 8716 [BZ #10278]
a471e96a
OB
8717 * posix/glob.c: Match only directories when trailing slash is present.
8718 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8719 (main): Add testcase.
8720
45c30c61
OB
87212013-10-19 Ondřej Bílka <neleai@seznam.cz>
8722
8723 [BZ #15670]
8724 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8725
484c12fb
CD
87262013-10-18 Carlos O'Donell <carlos@redhat.com>
8727
3d7dc513
CD
8728 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8729 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8730 AUTH_DES and cindex for FIPS 140-2.
8731 (DES Encryption): Add cindex FIPS 46-3.
8732
484c12fb
CD
8733 * locale/locarchive.h (struct locarhandle): Add fname.
8734 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8735 if an optional argument was specified to --list-archive,
8736 otherwise NULL.
8737 * locale/programs/locarchive.c (show_archive_content): Take new
8738 argument fname and pass it via ah.fname to open_archive.
8739 * locale/programs/localedef.h: Update decl.
8740 (open_archive): If AH->fname is non-null, open that file
8741 rather than the default file name, and don't ignore ENOENT.
8742 (create_archive): Set AH.fname to NULL.
8743 (delete_locales_from_archive): Likewise.
8744 (add_locales_to_archive): Likewise.
8745 * locale/programs/locfile.c (write_all_categories): Likewise.
8746
3c8325fb
JM
87472013-10-18 Joseph Myers <joseph@codesourcery.com>
8748 Aldy Hernandez <aldyh@redhat.com>
8749
8750 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8751 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8752 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8753 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8754 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8755 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8756 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8757 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8758 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8759 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8760 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8761 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8762 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8763 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8764 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8765 Likewise.
8766 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8767 Likewise.
8768 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8769 Likewise.
8770 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8771 Likewise.
8772 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8773 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8774 Likewise.
8775 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8776 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8777 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8778 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8779 Likewise.
8780 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8781 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8782 * sysdeps/powerpc/preconfigure: Likewise.
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8784 Likewise.
8785 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8786 Replace contents of file by #include of <fenv_libc.h>.
8787 * sysdeps/powerpc/soft-fp/sfp-machine.h
8788 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8789 and <sys/prctl.h>.
8790 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8791 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8792 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8793 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8797 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8798 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8799 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8803 Allow copysignl PLT reference to be missing.
8804
5abe0682
RS
88052013-10-18 Richard Sandiford <richard@codesourcery.com>
8806 Joseph Myers <joseph@codesourcery.com
8807
8808 [BZ #15948]
8809 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8810 single character.
8811 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8812
c7738d08
SP
88132013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8814
8815 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8816 * elf/tst-tls1.c: Likewise.
8817 * elf/tst-tls10.h: Likewise.
8818 * elf/tst-tls14.c: Likewise.
8819 * elf/tst-tls2.c: Likewise.
8820 * elf/tst-tls3.c: Likewise.
8821 * elf/tst-tls4.c: Likewise.
8822 * elf/tst-tls5.c: Likewise.
8823 * elf/tst-tls6.c: Likewise.
8824 * elf/tst-tls7.c: Likewise.
8825 * elf/tst-tls8.c: Likewise.
8826 * elf/tst-tls9.c: Likewise.
8827 * elf/tst-tlsmod1.c: Likewise.
8828 * elf/tst-tlsmod13.c: Likewise.
8829 * elf/tst-tlsmod13a.c: Likewise.
8830 * elf/tst-tlsmod14a.c: Likewise.
8831 * elf/tst-tlsmod16a.c: Likewise.
8832 * elf/tst-tlsmod16b.c: Likewise.
8833 * elf/tst-tlsmod2.c: Likewise.
8834 * elf/tst-tlsmod3.c: Likewise.
8835 * elf/tst-tlsmod4.c: Likewise.
8836 * elf/tst-tlsmod5.c: Likewise.
8837 * elf/tst-tlsmod6.c: Likewise.
8838
0bfcf2c7
OB
88392013-10-18 Ondřej Bílka <neleai@seznam.cz>
8840
8841 [BZ #12486]
8842 * malloc/malloc.c: remove checks for statistics.
8843
264aad1e
OB
88442013-10-17 Ondřej Bílka <neleai@seznam.cz>
8845
8846 [BZ #15277]
8847 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8848 * inet/tst-network.c: Add testcase.
8849
b957ced8
AS
88502013-10-17 Andreas Schwab <schwab@suse.de>
8851
8852 [BZ #15218]
8853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8854 to determine canonical name.
8855
c5d5d574
OB
88562013-10-17 Ondřej Bílka <neleai@seznam.cz>
8857
8858 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8859 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8861 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8863 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8864 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8882 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8883 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8887 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8888 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8916
e5c2c2d0
JM
89172013-10-17 Joseph Myers <joseph@codesourcery.com>
8918
8919 [BZ #16041]
8920 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8921 make result into a quiet NaN.
8922
51ca9e29
JM
89232013-10-16 Joseph Myers <joseph@codesourcery.com>
8924
8925 * soft-fp/adddf3.c: Fix horizontal whitespace.
8926 * soft-fp/addsf3.c: Likewise.
8927 * soft-fp/addtf3.c: Likewise.
8928 * soft-fp/divdf3.c: Likewise.
8929 * soft-fp/divsf3.c: Likewise.
8930 * soft-fp/divtf3.c: Likewise.
8931 * soft-fp/double.h: Likewise.
8932 * soft-fp/eqdf2.c: Likewise.
8933 * soft-fp/eqsf2.c: Likewise.
8934 * soft-fp/eqtf2.c: Likewise.
8935 * soft-fp/extenddftf2.c: Likewise.
8936 * soft-fp/extended.h: Likewise.
8937 * soft-fp/extendsfdf2.c: Likewise.
8938 * soft-fp/extendsftf2.c: Likewise.
8939 * soft-fp/extendxftf2.c: Likewise.
8940 * soft-fp/fixdfdi.c: Likewise.
8941 * soft-fp/fixdfsi.c: Likewise.
8942 * soft-fp/fixdfti.c: Likewise.
8943 * soft-fp/fixsfdi.c: Likewise.
8944 * soft-fp/fixsfsi.c: Likewise.
8945 * soft-fp/fixsfti.c: Likewise.
8946 * soft-fp/fixtfdi.c: Likewise.
8947 * soft-fp/fixtfsi.c: Likewise.
8948 * soft-fp/fixtfti.c: Likewise.
8949 * soft-fp/fixunsdfdi.c: Likewise.
8950 * soft-fp/fixunsdfsi.c: Likewise.
8951 * soft-fp/fixunsdfti.c: Likewise.
8952 * soft-fp/fixunssfdi.c: Likewise.
8953 * soft-fp/fixunssfsi.c: Likewise.
8954 * soft-fp/fixunssfti.c: Likewise.
8955 * soft-fp/fixunstfdi.c: Likewise.
8956 * soft-fp/fixunstfsi.c: Likewise.
8957 * soft-fp/fixunstfti.c: Likewise.
8958 * soft-fp/floatdidf.c: Likewise.
8959 * soft-fp/floatdisf.c: Likewise.
8960 * soft-fp/floatditf.c: Likewise.
8961 * soft-fp/floatsidf.c: Likewise.
8962 * soft-fp/floatsisf.c: Likewise.
8963 * soft-fp/floatsitf.c: Likewise.
8964 * soft-fp/floattidf.c: Likewise.
8965 * soft-fp/floattisf.c: Likewise.
8966 * soft-fp/floattitf.c: Likewise.
8967 * soft-fp/floatundidf.c: Likewise.
8968 * soft-fp/floatundisf.c: Likewise.
8969 * soft-fp/floatunditf.c: Likewise.
8970 * soft-fp/floatunsidf.c: Likewise.
8971 * soft-fp/floatunsisf.c: Likewise.
8972 * soft-fp/floatunsitf.c: Likewise.
8973 * soft-fp/floatuntidf.c: Likewise.
8974 * soft-fp/floatuntisf.c: Likewise.
8975 * soft-fp/floatuntitf.c: Likewise.
8976 * soft-fp/fmadf4.c: Likewise.
8977 * soft-fp/fmasf4.c: Likewise.
8978 * soft-fp/fmatf4.c: Likewise.
8979 * soft-fp/gedf2.c: Likewise.
8980 * soft-fp/gesf2.c: Likewise.
8981 * soft-fp/getf2.c: Likewise.
8982 * soft-fp/ledf2.c: Likewise.
8983 * soft-fp/lesf2.c: Likewise.
8984 * soft-fp/letf2.c: Likewise.
8985 * soft-fp/muldf3.c: Likewise.
8986 * soft-fp/mulsf3.c: Likewise.
8987 * soft-fp/multf3.c: Likewise.
8988 * soft-fp/negdf2.c: Likewise.
8989 * soft-fp/negsf2.c: Likewise.
8990 * soft-fp/negtf2.c: Likewise.
8991 * soft-fp/op-1.h: Likewise.
8992 * soft-fp/op-2.h: Likewise.
8993 * soft-fp/op-4.h: Likewise.
8994 * soft-fp/op-8.h: Likewise.
8995 * soft-fp/op-common.h: Likewise.
8996 * soft-fp/quad.h: Likewise.
8997 * soft-fp/single.h: Likewise.
8998 * soft-fp/soft-fp.h: Likewise.
8999 * soft-fp/sqrtdf2.c: Likewise.
9000 * soft-fp/sqrtsf2.c: Likewise.
9001 * soft-fp/sqrttf2.c: Likewise.
9002 * soft-fp/subdf3.c: Likewise.
9003 * soft-fp/subsf3.c: Likewise.
9004 * soft-fp/subtf3.c: Likewise.
9005 * soft-fp/truncdfsf2.c: Likewise.
9006 * soft-fp/trunctfdf2.c: Likewise.
9007 * soft-fp/trunctfsf2.c: Likewise.
9008 * soft-fp/trunctfxf2.c: Likewise.
9009 * soft-fp/unorddf2.c: Likewise.
9010 * soft-fp/unordsf2.c: Likewise.
9011 * soft-fp/unordtf2.c: Likewise.
9012
9ebb0332
JM
90132013-10-15 Joseph Myers <joseph@codesourcery.com>
9014
9015 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9016 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9017
4b1a6d8b
OB
90182013-10-15 Ondřej Bílka <neleai@seznam.cz>
9019
9020 * elf/dl-libc.c: Clear initfini list after freeing.
9021
1e145589
JM
90222013-10-14 Joseph Myers <joseph@codesourcery.com>
9023
9024 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9025 * soft-fp/addsf3.c: Likewise.
9026 * soft-fp/addtf3.c: Likewise.
9027 * soft-fp/divdf3.c: Likewise.
9028 * soft-fp/divsf3.c: Likewise.
9029 * soft-fp/divtf3.c: Likewise.
9030 * soft-fp/double.h: Likewise.
9031 * soft-fp/eqdf2.c: Likewise.
9032 * soft-fp/eqsf2.c: Likewise.
9033 * soft-fp/eqtf2.c: Likewise.
9034 * soft-fp/extenddftf2.c: Likewise.
9035 * soft-fp/extended.h: Likewise.
9036 * soft-fp/extendsfdf2.c: Likewise.
9037 * soft-fp/extendsftf2.c: Likewise.
9038 * soft-fp/extendxftf2.c: Likewise.
9039 * soft-fp/fixdfdi.c: Likewise.
9040 * soft-fp/fixdfsi.c: Likewise.
9041 * soft-fp/fixdfti.c: Likewise.
9042 * soft-fp/fixsfdi.c: Likewise.
9043 * soft-fp/fixsfsi.c: Likewise.
9044 * soft-fp/fixsfti.c: Likewise.
9045 * soft-fp/fixtfdi.c: Likewise.
9046 * soft-fp/fixtfsi.c: Likewise.
9047 * soft-fp/fixtfti.c: Likewise.
9048 * soft-fp/fixunsdfdi.c: Likewise.
9049 * soft-fp/fixunsdfsi.c: Likewise.
9050 * soft-fp/fixunsdfti.c: Likewise.
9051 * soft-fp/fixunssfdi.c: Likewise.
9052 * soft-fp/fixunssfsi.c: Likewise.
9053 * soft-fp/fixunssfti.c: Likewise.
9054 * soft-fp/fixunstfdi.c: Likewise.
9055 * soft-fp/fixunstfsi.c: Likewise.
9056 * soft-fp/fixunstfti.c: Likewise.
9057 * soft-fp/floatdidf.c: Likewise.
9058 * soft-fp/floatdisf.c: Likewise.
9059 * soft-fp/floatditf.c: Likewise.
9060 * soft-fp/floatsidf.c: Likewise.
9061 * soft-fp/floatsisf.c: Likewise.
9062 * soft-fp/floatsitf.c: Likewise.
9063 * soft-fp/floattidf.c: Likewise.
9064 * soft-fp/floattisf.c: Likewise.
9065 * soft-fp/floattitf.c: Likewise.
9066 * soft-fp/floatundidf.c: Likewise.
9067 * soft-fp/floatundisf.c: Likewise.
9068 * soft-fp/floatunsidf.c: Likewise.
9069 * soft-fp/floatunsisf.c: Likewise.
9070 * soft-fp/floatuntidf.c: Likewise.
9071 * soft-fp/floatuntisf.c: Likewise.
9072 * soft-fp/floatuntitf.c: Likewise.
9073 * soft-fp/fmadf4.c: Likewise.
9074 * soft-fp/fmasf4.c: Likewise.
9075 * soft-fp/fmatf4.c: Likewise.
9076 * soft-fp/gedf2.c: Likewise.
9077 * soft-fp/gesf2.c: Likewise.
9078 * soft-fp/getf2.c: Likewise.
9079 * soft-fp/ledf2.c: Likewise.
9080 * soft-fp/lesf2.c: Likewise.
9081 * soft-fp/letf2.c: Likewise.
9082 * soft-fp/muldf3.c: Likewise.
9083 * soft-fp/mulsf3.c: Likewise.
9084 * soft-fp/multf3.c: Likewise.
9085 * soft-fp/negdf2.c: Likewise.
9086 * soft-fp/negsf2.c: Likewise.
9087 * soft-fp/negtf2.c: Likewise.
9088 * soft-fp/op-1.h: Likewise.
9089 * soft-fp/op-2.h: Likewise.
9090 * soft-fp/op-4.h: Likewise.
9091 * soft-fp/op-8.h: Likewise.
9092 * soft-fp/op-common.h: Likewise.
9093 * soft-fp/quad.h: Likewise.
9094 * soft-fp/single.h: Likewise.
9095 * soft-fp/soft-fp.h: Likewise.
9096 * soft-fp/sqrtdf2.c: Likewise.
9097 * soft-fp/sqrtsf2.c: Likewise.
9098 * soft-fp/sqrttf2.c: Likewise.
9099 * soft-fp/subdf3.c: Likewise.
9100 * soft-fp/subsf3.c: Likewise.
9101 * soft-fp/subtf3.c: Likewise.
9102 * soft-fp/truncdfsf2.c: Likewise.
9103 * soft-fp/trunctfdf2.c: Likewise.
9104 * soft-fp/trunctfsf2.c: Likewise.
9105 * soft-fp/trunctfxf2.c: Likewise.
9106 * soft-fp/unorddf2.c: Likewise.
9107 * soft-fp/unordsf2.c: Likewise.
9108 * soft-fp/unordtf2.c: Likewise.
9109
17c48a60
OB
91102013-10-14 Ondřej Bílka <neleai@seznam.cz>
9111
9112 [BZ #15672]
9113 * misc/error.c (error_tail): Fix possible buffer overflow.
9114
cabba934
OB
91152013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9116
9117 [BZ #13028]
9118 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9119 address.
9120
94bf958a
PM
91212013-10-14 P. J. McDermott <pj@pehjota.net>
9122
9123 [BZ #832]
9124 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9125 testing pipefail option.
9126
71b4dea7
JM
91272013-10-12 Joseph Myers <joseph@codesourcery.com>
9128
9129 * soft-fp/double.h: Indent preprocessor directives inside #if.
9130 * soft-fp/extended.h: Likewise.
9131 * soft-fp/op-2.h: Likewise.
9132 * soft-fp/op-4.h: Likewise.
9133 * soft-fp/op-common.h: Likewise.
9134 * soft-fp/quad.h: Likewise.
9135 * soft-fp/single.h: Likewise.
9136 * soft-fp/soft-fp.h: Likewise.
9137
55602758
YC
91382013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9139
9140 * iconv/iconv_prog.c: Fix typos.
9141 * stdio-common/psiginfo-data.h: Likewise.
9142
9cd83302
RT
91432013-10-12 Reuben Thomas <rrt@sc3d.org>
9144
9145 [BZ #15764]
9146 * locale/setlocale.c: Fix typo.
9147
99fd9f47
JM
91482013-10-12 Joseph Myers <joseph@codesourcery.com>
9149
b7ea74f0
JM
9150 [BZ #16036]
9151 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9152 signaling NaN arguments.
9153 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9154 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9155
8a509447
JM
9156 [BZ #14910]
9157 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9158 unordered operands.
9159 * soft-fp/gesf2.c (__gesf2): Likewise.
9160 * soft-fp/getf2.c (__getf2): Likewise.
9161 * soft-fp/ledf2.c (__ledf2): Likewise.
9162 * soft-fp/lesf2.c (__lesf2): Likewise.
9163 * soft-fp/letf2.c (__letf2): Likewise.
9164
98998e9f
JM
9165 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9166 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9167 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9168 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9169 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9170 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9171 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9172 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9173 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9174 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9175 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9176 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9177 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9178 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9179 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9180 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9181 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9182 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9183 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9184 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9185 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9186 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9187 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9188 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9189 * soft-fp/floattidf.c (__floattidf): Likewise.
9190 * soft-fp/floattisf.c (__floattisf): Likewise.
9191 * soft-fp/floattitf.c (__floattitf): Likewise.
9192 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9193 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9194 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9195 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9196 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9197 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9198 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9199 * soft-fp/gesf2.c (__gesf2): Likewise.
9200 * soft-fp/getf2.c (__getf2): Likewise.
9201 * soft-fp/ledf2.c (__ledf2): Likewise.
9202 * soft-fp/lesf2.c (__lesf2): Likewise.
9203 * soft-fp/letf2.c (__letf2): Likewise.
9204
8edc4a11
JM
9205 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9206 Undefine and redefine.
9207 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9208 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9209 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9210 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9211 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9212 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9213 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9214 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9215 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9216 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9217 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9218 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9219 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9220 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9221 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9222
8399acaf
JM
9223 [BZ #16032]
9224 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9225 without decrementing exponent if mantissa >= that for the
9226 denominator, not >.
9227 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9228 denominator, not >. Decrement exponent in < case instead of
9229 incrementing in >= case.
9230 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9231 without decrementing exponent if mantissa >= that for the
9232 denominator, not >.
9233
99fd9f47
JM
9234 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9235 computing saturated result for unsigned overflow.
9236
10e1cf6b
SP
92372013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9238 Jeff Law <law@redhat.com>
9239
9240 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9241 (atan2Mp): Add systemtap probe marker.
9242 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9243 (__ieee754_log): Add systemtap probe marker.
9244 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9245 (atanMp): Add systemtap probe marker.
9246 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9247 (tanMp): Add systemtap probe marker.
9248 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9249 (__slowexp): Add systemtap probe marker.
9250 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9251 (__slowpow): Add systemtap probe marker.
9252 * manual/probes.texi: Document probes.
9253
3d110c7c
EB
92542013-10-11 Eric Biggers <ebiggers3@gmail.com>
9255
9256 [BZ #15362]
9257 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9258 written.
9259 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9260 written.
9261 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9262 written to buffer but not flushed.
9263 * libio/iofwrite_u.c: Likewise.
9264 * libio/iopadn.c: Return bytes returned even if EOF was
9265 encountered.
9266 * libio/iowpadn.c: Likewise.
9267 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9268 if _IO_padn does not write the whole buffer.
9269 [!COMPILE_WPRINTF] (PAD): Likewise.
9270
75b4202a
DM
92712013-10-10 David S. Miller <davem@davemloft.net>
9272
9273 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9274 directory block.
9275
6c6352e6
JM
92762013-10-10 Joseph Myers <joseph@codesourcery.com>
9277
33b853c3
JM
9278 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9279 instead of FSF address.
9280 * soft-fp/fixdfti.c: Likewise.
9281 * soft-fp/fixsfti.c: Likewise.
9282 * soft-fp/fixtfti.c: Likewise.
9283 * soft-fp/fixunsdfti.c: Likewise.
9284 * soft-fp/fixunssfti.c: Likewise.
9285 * soft-fp/fixunstfti.c: Likewise.
9286 * soft-fp/floattidf.c: Likewise.
9287 * soft-fp/floattisf.c: Likewise.
9288 * soft-fp/floattitf.c: Likewise.
9289 * soft-fp/floatuntidf.c: Likewise.
9290 * soft-fp/floatuntisf.c: Likewise.
9291 * soft-fp/floatuntitf.c: Likewise.
9292 * soft-fp/trunctfxf2.c: Likewise.
9293
6c6352e6
JM
9294 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9295 * soft-fp/fixdfti.c: Likewise.
9296 * soft-fp/fixsfti.c: Likewise.
9297 * soft-fp/fixtfti.c: Likewise.
9298 * soft-fp/fixunsdfti.c: Likewise.
9299 * soft-fp/fixunssfti.c: Likewise.
9300 * soft-fp/fixunstfti.c: Likewise.
9301 * soft-fp/floattidf.c: Likewise.
9302 * soft-fp/floattisf.c: Likewise.
9303 * soft-fp/floattitf.c: Likewise.
9304 * soft-fp/floatuntidf.c: Likewise.
9305 * soft-fp/floatuntisf.c: Likewise.
9306 * soft-fp/floatuntitf.c: Likewise.
9307 * soft-fp/trunctfxf2.c: Likewise.
9308
3bf78b71
DM
93092013-10-10 David S. Miller <davem@davemloft.net>
9310
9311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9312
6f10289e
JM
93132013-10-10 Joseph Myers <joseph@codsourcery.com>
9314
bd878fc0
JM
9315 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9316 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9317 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9318 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9319 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9320 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9321 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9322
6f10289e
JM
9323 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9324 for NaNs before doing comparisons on argument.
9325 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9326 Likewise.
9327
321e2684
WN
93282013-10-10 Will Newton <will.newton@linaro.org>
9329
9330 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9331 passed to _int_memalign does not overflow.
9332
40fefba1
TR
93332013-10-10 Torvald Riegel <triegel@redhat.com>
9334
9335 * scripts/bench.pl: Add include-sources directive.
9336 * benchtests/README: Update documentation.
9337
2ae21ed2
JM
93382013-10-10 Joseph Myers <joseph@codesourcery.com>
9339
dcc2dd3f
JM
9340 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9341 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9342 instead of FP_INIT_ROUNDMODE.
9343 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9344 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9345
2ae21ed2
JM
9346 [BZ #16034]
9347 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9348 copy class of input value.
9349 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9350 not handle exceptions.
9351 * soft-fp/negsf2.c (__negsf2): Likewise.
9352 * soft-fp/negtf2.c (__negtf2): Likewise.
9353 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9354
cb8f9562
JM
93552013-10-09 Joseph Myers <joseph@codesourcery.com>
9356
9357 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9358 semicolon. From Linux kernel.
9359
5b60c59d
AB
93602013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9361
9362 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9363
b86835ca
YC
93642013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9365
9366 [BZ #156]
9367 * manual/socket.texi: Added statement about buffer
9368 for gethostbyname2_r.
9369
e7044ea7
OB
93702013-10-08 Ondřej Bílka <neleai@seznam.cz>
9371
9372 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9373 Use .p2align directive instead, throughout.
9374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9375 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9376 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9377 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9378 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9379 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9380 * sysdeps/x86_64/strchr.S: Likewise.
9381 * sysdeps/x86_64/strrchr.S: Likewise.
9382
09544cbc
SP
93832013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9384
88576635
SP
9385 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9386
e7b2d1dd
SP
9387 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9388
09544cbc
SP
9389 * sysdeps/generic/math_private.h (__mpsin1): Remove
9390 declaration.
9391 (__mpcos1): Likewise.
9392 (__mpsin): New argument __range_reduce.
9393 (__mpcos): Likewise.
9394 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9395 (slow): Use __mpsin and __mpcos.
9396 (slow1): Likewise.
9397 (slow2): Likewise.
9398 (sloww): Likewise.
9399 (sloww1): Likewise.
9400 (sloww2): Likewise.
9401 (bsloww): Likewise.
9402 (bsloww1): Likewise.
9403 (bsloww2): Likewise.
9404 (cslow2): Likewise.
9405 (csloww): Likewise.
9406 (csloww1): Likewise.
9407 (csloww2): Likewise.
9408 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9409 range_reduce. Merge in __mpsin1.
9410 (__mpcos): Likewise.
9411 (__mpsin1): Remove.
9412 (__mpcos1): Likewise.
9413
7602d070
JM
94142013-10-07 Joseph Myers <joseph@codesourcery.com>
9415
9416 * locale/loadlocale.c (_nl_intern_locale_data): Use
9417 LOCFILE_ALIGNED_P.
9418 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9419 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9420 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9421 obstack data is appropriately aligned.
9422 (obstack_int32_grow_fast): Likewise.
9423 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9424 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9425 (add_locale_uint32_array): Likewise.
9426
a357259b
SP
94272013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9428
9429 * benchtests/Makefile: Remove ARGLIST and RET variables.
9430 ($(objpfx)bench-%.c): Pass only function name to the script.
9431 * benchtests/README: Update documentation.
9432 * benchtests/acos-inputs: Add new directives.
9433 * benchtests/acosh-inputs: Likewise.
9434 * benchtests/asin-inputs: Likewise.
9435 * benchtests/asinh-inputs: Likewise.
9436 * benchtests/atan-inputs: Likewise.
9437 * benchtests/atanh-inputs: Likewise.
9438 * benchtests/cos-inputs: Likewise.
9439 * benchtests/cosh-inputs: Likewise.
9440 * benchtests/exp-inputs: Likewise.
9441 * benchtests/log-inputs: Likewise.
9442 * benchtests/pow-inputs: Likewise.
9443 * benchtests/rint-inputs: Likewise.
9444 * benchtests/sin-inputs: Likewise.
9445 * benchtests/sinh-inputs: Likewise.
9446 * benchtests/tan-inputs: Likewise.
9447 * benchtests/tanh-inputs: Likewise.
9448 * scripts/bench.pl: Add support for new directives.
9449
9ec1b13d
AM
94502013-10-07 Alan Modra <amodra@gmail.com>
9451
9452 * README: Fix careless merge.
9453
8b7d57cd
AM
94542013-10-05 Alan Modra <amodra@gmail.com>
9455
9456 * NEWS: Mention powerpc64le support and bugs fixed.
9457 * README: Both big-endian and little-endian powerpc64 supported.
9458
7b7bab13
ST
94592013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9460
57f41c40
AS
9461 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9462 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9463 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9464 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9465
d39baad1
RA
94662013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9467
9468 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9469 match prototype.
9470
cd78f7e7
JM
94712013-10-04 Joseph Myers <joseph@codesourcery.com>
9472
29d73d86
JM
9473 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9474 Move -mhard-float appending from
9475 ports/sysdeps/powerpc/powerpc32/Makefile.
9476 [$(with-fp) = yes] (ASFLAGS): Likewise.
9477 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9478 * sysdeps/powerpc/nofpu: Move directory from
9479 ports/sysdeps/powerpc/nofpu.
9480 * sysdeps/powerpc/soft-fp: Move directory from
9481 ports/sysdeps/powerpc/soft-fp.
9482 * sysdeps/powerpc/powerpc32/405: Move directory from
9483 ports/sysdeps/powerpc/powerpc32/405.
9484 * sysdeps/powerpc/powerpc32/440: Move directory from
9485 ports/sysdeps/powerpc/powerpc32/440.
9486 * sysdeps/powerpc/powerpc32/464: Move directory from
9487 ports/sysdeps/powerpc/powerpc32/464.
9488 * sysdeps/powerpc/powerpc32/476: Move directory from
9489 ports/sysdeps/powerpc/powerpc32/476.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9491 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9493 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9495 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9497 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9499 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9500 * README: Update for powerpc-*-linux-gnu software floating point
9501 support in libc.
9502
e246b347
JM
9503 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9504 case to powerpc/powerpc32*.
9505 * sysdeps/unix/sysv/linux/configure: Regenerated.
9506
89c2003e
JM
9507 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9508 (_FPU_MASK_OM): Define as 0x04.
9509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9510 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9511 0x00c10080.
9512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9513 0x0000003c.
9514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9515
cd78f7e7
JM
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9517 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9518 getcontext_e500.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9520 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9521 setcontext_e500.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9523 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9524 and setcontext_e500.
9525
c755294d
CL
95262013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9527
9528 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9529
e16d221c
SP
95302013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9531
9532 * manual/threads.texi (Default Thread Attributes): Fix typo.
9533
215c7d43
WN
95342013-10-04 Will Newton <will.newton@linaro.org>
9535
9536 * malloc/Makefile: Add tst-memalign.
9537 * malloc/tst-memalign.c: New file.
9538
27d0461b
WN
9539 * malloc/tst-posix_memalign.c: Add comments.
9540 (do_test): Add comments and call free on all potentially
9541 allocated pointers. Add space after cast.
9542
1bc92709
WN
9543 * malloc/tst-pvalloc.c: Add comments.
9544 (do_test): Add comments and call free on all potentially
9545 allocated pointers. Remove duplicate check for NULL pointer.
9546 Add space after cast.
9547
66a9be9d
WN
9548 * malloc/tst-valloc.c: Add comments.
9549 (do_test): Add comments and call free on all potentially
9550 allocated pointers. Remove duplicate check for NULL pointer.
9551 Add space after cast.
9552
4cb81307
AM
95532013-10-04 Alan Modra <amodra@gmail.com>
9554
9555 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9556 Use stdint types in rather than __attribute__((mode())).
9557 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9558
f8e3e9f3
AM
95592013-10-04 Alan Modra <amodra@gmail.com>
9560
9561 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9562 Correct handling of unaligned relocs for little-endian.
9563 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9564
8f9ebb08
AM
95652013-10-04 Alan Modra <amodra@gmail.com>
9566
9567 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9568 * configure: Regenerate.
9569 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9570 * shlib-versions: Likewise.
9571
0edf96c2
AM
95722013-10-04 Alan Modra <amodra@gmail.com>
9573
9574 * string/tester.c (test_memrchr): Increment reported test cycle.
9575
e0f7a380
AM
95762013-10-04 Alan Modra <amodra@gmail.com>
9577
9578 * string/test-memcpy.c (do_one_test): When reporting errors, print
9579 string address and don't overrun end of string.
9580
466b0393
AM
95812013-10-04 Alan Modra <amodra@gmail.com>
9582
9583 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9584 insrdi. Make better use of reg selection to speed exit slightly.
9585 Schedule entry path a little better. Remove useless "are we done"
9586 checks on entry to main loop. Handle wrapping around zero address.
9587 Correct main loop count. Handle single left-over word from main
9588 loop inline rather than by using loop_small. Remove extra word
9589 case in loop_small caused by wrong loop count. Add little-endian
9590 support.
9591 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9593 cache hint.
9594 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9595 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9596 support. Avoid rlwimi.
9597 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9598
3be87c77
AM
95992013-10-04 Alan Modra <amodra@gmail.com>
9600
9601 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9602 insrdi. Formatting.
3be87c77
AM
9603 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9604 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9605 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9606 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9607 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9608 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9609
759cfef3
AM
96102013-10-04 Alan Modra <amodra@gmail.com>
9611
9612 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9613 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9614 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9615 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9616 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9617 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9618 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9619 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9620 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9621 use of regs. Use power7 mtocrf. Tidy function tails.
9622
fe6e95d7
AM
96232013-10-04 Alan Modra <amodra@gmail.com>
9624
9625 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9626 Formatting. Consistently use rXXX register defines or rN defines.
9627 Use early exit labels that avoid restoring unused non-volatile regs.
9628 Make cr field use more consistent with rWORDn compares. Rename
9629 regs used as shift registers for unaligned loop, using rN defines
9630 for short lifetime/multiple use regs.
9631 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9632 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9633 addi 1,1,64 to pop stack frame. Simplify return value code.
9634 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9635
664318c3
AM
96362013-10-04 Alan Modra <amodra@gmail.com>
9637
9638 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9639 support. Correct typos, formatting. Optimize tail. Use insrdi
9640 rather than rlwimi.
9641 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9642 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9643 little-endian support. Correct typos.
9644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9645 rather than rlwimi.
9646 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9647 in loop and entry code to keep "and." results.
9648 (strchr): Add little-endian support. Comment. Move cntlzd
9649 earlier in tail.
9650 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9651
43b84013
AM
96522013-10-04 Alan Modra <amodra@gmail.com>
9653
9654 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9655 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9656 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9657 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9658
8a7413f9
AM
96592013-10-04 Alan Modra <amodra@gmail.com>
9660
9661 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9662 (rTMP): Define as r11.
9663 (strcmp): Add little-endian support. Optimise tail.
9664 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9665 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9666 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9667 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9668 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9669 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9670 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9671
33ee81de
AM
96722013-10-04 Alan Modra <amodra@gmail.com>
9673
9674 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9675 little-endian support. Remove unnecessary "are we done" tests.
9676 Handle "s" wrapping around zero and extremely large "size".
9677 Correct main loop count. Handle single left-over word from main
9678 loop inline rather than by using small_loop. Correct comments.
9679 Delete "zero" tail, use "end_max" instead.
9680 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9681
db9b4570
AM
96822013-10-04 Alan Modra <amodra@gmail.com>
9683
9684 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9685 support. Don't branch over align.
9686 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9687 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9688 support. Rearrange tmp reg use to suit. Comment.
9689 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9690
f7c399cf
AM
96912013-10-04 Alan Modra <amodra@gmail.com>
9692
9693 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9694
0b2c2ace
AM
96952013-10-04 Alan Modra <amodra@gmail.com>
9696
9697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9698 conditional form of branch and link when obtaining pc.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9700
02f04a6c
AM
97012013-10-04 Alan Modra <amodra@gmail.com>
9702
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9704 HIWORD/LOWORD.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9707
9b874b2f
AM
97082013-10-04 Alan Modra <amodra@gmail.com>
9709
9710 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9711 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9712 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9713 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9714 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9715 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9716 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9717 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9718 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9719 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9720
be1e5d31
AB
97212013-10-04 Anton Blanchard <anton@au1.ibm.com>
9722 Alistair Popple <alistair@ozlabs.au.ibm.com>
9723 Alan Modra <amodra@gmail.com>
9724
9725 [BZ #15723]
9726 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9727 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9728 _dl_hwcap access for little-endian.
9729 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9730 destroy vmx regs when saving unaligned.
9731 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9732 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9733 destroy vmx regs when saving unaligned.
9734
fef13a78
AM
97352013-10-04 Alan Modra <amodra@gmail.com>
9736
9737 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9738 Don't use a union to pack hi/low value.
9739
76a66d51
AB
97402013-10-04 Anton Blanchard <anton@au1.ibm.com>
9741
9742 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9743 for little-endian.
9744 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9745 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9746 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9747 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9748 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9749
6a31fe7f
AM
97502013-10-04 Alan Modra <amodra@gmail.com>
9751
9752 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9753 constants to usual value for .cst8 section, and remove redundant
9754 high address load.
9755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9756 constant for 0x1p52. Load little-endian words of double from
9757 correct stack offsets.
9758
7b88401f
AM
97592013-10-04 Alan Modra <amodra@gmail.com>
9760
9761 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9762 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9763 words of double from correct stack offsets.
9764 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9766 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9768 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9769 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9770 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9771 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9772 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9773 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9774 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9775 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9776 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9778 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9779 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9780 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9781
9c008155
AM
97822013-10-04 Alan Modra <amodra@gmail.com>
9783
9784 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9785 64-bit int/double union.
9786 (_FPU_SETCW): Likewise.
9787 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9788 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9789
da13146d
AM
97902013-10-04 Alan Modra <amodra@gmail.com>
9791
9792 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9793 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9794
603e8410
AM
97952013-10-04 Alan Modra <amodra@gmail.com>
9796
9797 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9798 use vector int constants.
9799 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9800
4a28b3ca
AB
98012013-10-04 Anton Blanchard <anton@au1.ibm.com>
9802
9803 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9804 array with long long.
9805 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9806 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9807 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9808 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9809 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9810 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9811 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9812 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9813 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9814 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9815 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9816 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9817 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9818
2ca85d2b
AB
98192013-10-04 Anton Blanchard <anton@au1.ibm.com>
9820
9821 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9822 (__signbit): Likewise. Correct for little-endian.
9823 (__signbitl): Call __signbit.
9824 (lrint): Correct for little-endian.
9825 (lrintf): Call lrint.
9826
62a728ae
AM
98272013-10-04 Alan Modra <amodra@gmail.com>
9828
9829 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9830 union 32-bit int array member with 64-bit int array.
9831 (t515, tm256): Double rather than long double.
9832 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9833
32c301df
AM
98342013-10-04 Alan Modra <amodra@gmail.com>
9835
9836 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9837 Delete.
9838 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9840 version of math_ldbl.h.
9841
650ef4bd
AM
98422013-10-04 Alan Modra <amodra@gmail.com>
9843
9844 [BZ #15734], [BZ #15735]
9845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9846 all uses of ieee875 long double macros and unions. Simplify test
9847 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9848 ldbl_extract_mantissa value for ix,iy exponents. Properly
9849 normalize after ldbl_extract_mantissa, and don't add hidden bit
9850 already handled. Don't treat low word of ieee854 mantissa like
9851 low word of IBM long double and mask off bit when testing for
9852 zero.
9853 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9854 all uses of ieee875 long double macros and unions. Simplify tests
9855 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9856 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9857 two1022, instead use their values. Recognise that tests for large
9858 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9859 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9860 Rewrite all uses of ieee875 long double macros and unions. Simplify
9861 test for 0.0L and nan. Correct negation.
9862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9863 ieee875 long double macros and unions. Correct output for large
9864 magnitude x. Correct absolute value calculation.
9865 (__erfcl): Likewise.
9866 * math/libm-test.inc: Add tests for errors discovered in IBM long
9867 double versions of fmodl, remainderl, erfl and erfcl.
9868
765714ca
AM
98692013-10-04 Alan Modra <amodra@gmail.com>
9870
9871 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9872 all uses of ieee854 long double macros and unions. Simplify tests
9873 for long doubles that are fully specified by the high double.
9874 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9875 Likewise.
9876 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9877 Remove dead code too.
9878 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9879 (__ieee754_ynl): Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9883 Remove dead code too.
9884 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9888 Simplify.
9889 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9890 Simplify.
9891 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9894 Comment on variable precision.
9895 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9897 Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9902 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9903
4ebd120c
AM
99042013-10-04 Alan Modra <amodra@gmail.com>
9905
9906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9907 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9908 all uses of ieee854 long double macros and unions.
9909 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9912 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9913 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9915 Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9922 Simplify sign and nan test too.
9923 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9926 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9927 Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9930 Likewise.
9931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9934 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9937
1b6adf88
AM
99382013-10-04 Alan Modra <amodra@gmail.com>
9939
9940 * stdio-common/printf_size.c (__printf_size): Don't use
9941 union ieee854_long_double in fpnum union.
9942 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9943 signbit macro to retrieve sign from long double.
9944 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9945 retrieve sign from long double.
9946 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9947 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9949 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9950 * math/test-misc.c (main): Don't use union ieee854_long_double.
9951
4cf69995
AM
99522013-10-04 Alan Modra <amodra@gmail.com>
9953
9954 [BZ #15680]
9955 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9956 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9957 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9958 calculation. Remove unnecessary test for denormal exponent.
9959 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9960 Correct handling of denormals. Avoid undefined shift behaviour.
9961 Correct normalisation of low mantissa when low double is denormal.
9962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9963 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9964 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9965 Correct normalisation of low mantissa. Test for overflow of high
9966 mantissa and normalise.
9967 (ldbl_nearbyint): Use more readable constant for two52.
9968 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9969 (__mpn_construct_long_double): Fix test for overflow of high
9970 mantissa and correct normalisation. Avoid undefined shift.
9971
9605ca6c
AM
99722013-10-04 Alan Modra <amodra@gmail.com>
9973
9974 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9975 (union ibm_extended_long_double): Define as an array of ieee754_double.
9976 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9977 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9978 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9979 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9987
975569d0
JM
99882013-10-03 Joseph Myers <joseph@codesourcery.com>
9989
d3d23756
JM
9990 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9991 page size instead of calling getpagesize.
9992
975569d0
JM
9993 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9994 (LOCFILE_ALIGN_MASK): Likewise.
9995 (LOCFILE_ALIGN_UP): Likewise.
9996 (LOCFILE_ALIGNED_P): Likewise.
9997 * locale/programs/ld-collate.c (collate_output): Use the new
9998 macros instead of __alignof__ (int32_t).
9999 * locale/weight.h (findidx): Likewise.
10000
b1fe1f2b
OB
100012013-10-03 Ondřej Bílka <neleai@seznam.cz>
10002
10003 [BZ #431]
10004 * manual/string.texi: Fix strncat and wcsncat.
10005
5f855e35
BM
100062013-10-03 Brooks Moses <bmoses@google.com>
10007
10008 [BZ #15915]
10009 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10010 * Makerules: ...here, and adjust associated comments.
10011
3cef6009
WN
100122013-10-02 Will Newton <will.newton@linaro.org>
10013
10014 * malloc/Makefile: Add tst-pvalloc.
10015 * malloc/tst-pvalloc.c: New file.
10016
7815420b
WN
100172013-10-02 Will Newton <will.newton@linaro.org>
10018
10019 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10020 improve test coverage.
10021
4868b204
WN
100222013-10-02 Will Newton <will.newton@linaro.org>
10023
10024 * malloc/Makefile: Add tst-posix_memalign.
10025 * malloc/tst-posix_memalign.c: New file.
10026
29c793b3
EB
100272013-10-01 Eric Blake <eblake@redhat.com>
10028
10029 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10030 Use __THROWNL rather than __THROW on static functions.
10031
fd967522
PM
100322013-09-30 Petr Machata <pmachata@redhat.com>
10033
10034 * elf/elf.h (R_AARCH64_ABS16): New macro.
10035 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10036 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10037 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10038 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10039 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10040 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10041 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10042 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10043 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10044 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10045 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10046 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10047 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10048 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10049 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10050 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10051 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10052 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10053 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10054 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10055 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10056 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10057 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10058 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10059 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10060 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10061 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10062 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10063 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10064 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10065 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10066 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10067 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10068 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10069 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10070 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10071 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10072 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10073 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10074 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10075 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10076 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10077 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10078 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10079 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10080 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10081 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10082 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10083 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10084 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10085 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10086 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10087 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10088 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10089 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10090 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10091 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10092 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10093 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10094 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10095 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10096 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10097 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10098 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10099 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10100 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10101 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10102 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10103 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10104 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10105 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10106 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10107 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10108 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10109 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10110 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10111 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10112 (R_AARCH64_TLSDESC_LDR): Likewise.
10113 (R_AARCH64_TLSDESC_ADD): Likewise.
10114 (R_AARCH64_TLSDESC_CALL): Likewise.
10115
b2179107
AS
101162013-09-30 Andreas Schwab <schwab@suse.de>
10117
10118 [BZ #15048]
10119 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10120 the nss database lookup.
10121 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10123
47f28d0a
MF
101242013-09-28 Mike Frysinger <vapier@gentoo.org>
10125
10126 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10127
101282013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10129
10130 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10131 ${Bash-specific parameter/pattern/string} parameter expansion.
10132 * sysdeps/unix/make-syscalls.sh: Likewise.
10133
f4518a17
KK
101342013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10135
10136 * sysdeps/sh/stackguard-macros.h: New file.
10137
dc1a95c7
OB
101382013-09-26 Ondřej Bílka <neleai@seznam.cz>
10139
10140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10142 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10143 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10144 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10145 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10146
5ebbff8f
AZ
101472013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10148
10149 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10150 Fix thread ID register.
10151
4fd2cf9f
JM
101522013-09-25 Joseph Myers <joseph@codesourcery.com>
10153
10154 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10155 [POSIX || UNIX98]: Require rather than permitting all symbols from
10156 <time.h>.
10157 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10158 element of struct sched_param.
10159 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10160 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10161 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10162 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10163 constant.
10164
12c22bc4
OL
101652013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10166
10167 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10168 argument calculation.
10169
a03d8ea7
JM
101702013-09-24 Joseph Myers <joseph@codesourcery.com>
10171
10172 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10173 Expect macro.
10174 [POSIX] (pthread_attr_t): Do not require type.
10175 [POSIX] (pthread_cond_t): Likewise.
10176 [POSIX] (pthread_condattr_t): Likewise.
10177 [POSIX] (pthread_key_t): Likewise.
10178 [POSIX] (pthread_mutex_t): Likewise.
10179 [POSIX] (pthread_mutexattr_t): Likewise.
10180 [POSIX] (pthread_once_t): Likewise.
10181 [POSIX] (pthread_t): Likewise.
10182 [POSIX-based standards] (pthread_atfork): Expect function.
10183
6055173a
JM
101842013-09-24 Joseph Myers <joseph@codesourcery.com>
10185 Richard Sandiford <richard@codesourcery.com>
10186
10187 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10188 (swap_endianness_p): New extern variable.
10189 (set_big_endian): New inline function.
10190 (maybe_swap_uint32): Likewise.
10191 (maybe_swap_uint32_array): Likewise.
10192 (maybe_swap_uint32_obstack): Likewise.
10193 * locale/programs/locfile.c: Include <stdbool.h>.
10194 (swap_endianness_p): New variable.
10195 (add_locale_uint32): Call maybe_swap_uint32.
10196 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10197 (write_locale_data): Call maybe_swap_uint32_array.
10198 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10199 maybe_swap_uint32.
10200 (obstack_int32_grow_fast): Likewise.
10201 (output_weightwc): Call maybe_swap_uint32_obstack.
10202 (collate_output): Likewise.
10203 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10204 (OPT_LITTLE_ENDIAN): Likewise.
10205 (options): Add --little-endian and --big-endian options.
10206 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10207 * locale/programs/locarchive.c: Include "locfile.h".
10208 (GET): New macro.
10209 (SET): Likewise.
10210 (INC): Likewise.
10211 (create_archive): Use the new macros to access fields of
10212 structures directly mapped from or written to locale archives.
10213 (oldlocrecentcmp): Likewise.
10214 (enlarge_archive): Likewise.
10215 (insert_name): Likewise.
10216 (add_alias): Likewise.
10217 (add_locale): Likewise.
10218 (delete_locales_from_archive): Likewise.
10219 (show_archive_content): Likewise.
10220 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10221 locale data.
10222
39bf0bb4
RM
102232013-09-24 Roland McGrath <roland@hack.frob.com>
10224
10225 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10226 http://www.gnu.org/doc/freemanuals.texi.
10227 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10228
f02eed10
WN
102292013-09-24 Will Newton <will.newton@linaro.org>
10230
10231 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10232 macro.
10233
a3a6c312
JM
102342013-09-23 Joseph Myers <joseph@codesourcery.com>
10235
10236 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10237 unsigned char.
10238
107375ac
MR
102392013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10240
10241 * manual/threads.texi (POSIX Threads): Fix a typo.
10242
141f3a77
SP
102432013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10244
303e567a
SP
10245 [BZ #14547]
10246 * string/tst-strcoll-overflow.c: New test case.
10247 * string/Makefile (xtests): Add tst-strcoll-overflow.
10248 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10249 cache if string sizes may cause integer overflow.
10250
141f3a77
SP
10251 [BZ #14547]
10252 * string/strcoll_l.c (coll_seq): New members rule, idx,
10253 save_idx and back_us.
10254 (get_next_seq_nocache): New function.
10255 (do_compare_nocache): New function.
10256 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10257 when malloc fails.
10258
c61b4d41
CD
102592013-09-23 Carlos O'Donell <carlos@redhat.com>
10260
0b1f8e35
CD
10261 [BZ #15754]
10262 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10263 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10264 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10265
c61b4d41
CD
10266 [BZ #15754]
10267 * elf/Makefile (tests): Add tst-ptrguard1.
10268 (tests-static): Add tst-ptrguard1-static.
10269 (tst-ptrguard1-ARGS): Define.
10270 (tst-ptrguard1-static-ARGS): Define.
10271 * elf/tst-ptrguard1.c: New file.
10272 * elf/tst-ptrguard1-static.c: New file.
10273 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10274 * sysdeps/i386/stackguard-macros.h: Likewise.
10275 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10276 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10277 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10278 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10279 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10280 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10281
102822013-09-23 Hector Marco <hecmargi@upv.es>
10283 Ismael Ripoll <iripoll@disca.upv.es>
10284 Carlos O'Donell <carlos@redhat.com>
10285
10286 [BZ #15754]
10287 * sysdeps/generic/stackguard-macros.h: Define
10288 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10289 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10290 Define __pointer_chk_guard_local.
10291 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10292 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10293
f5f4e7b4
VV
102942013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10295
10296 [BZ #15859]
10297 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10298
5bb43a43
AS
102992013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10300
10301 * include/string.h (__ffs): Declare as hidden.
10302 * string/ffs.c (__ffs): Define as hidden.
10303 * sysdeps/i386/ffs.c (__ffs): Likewise.
10304 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10305 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10306 * sysdeps/s390/ffs.c (__ffs): Likewise.
10307 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10308
3ea5be54
AO
103092013-09-20 Alexandre Oliva <aoliva@redhat.com>
10310
ffb89e53
AO
10311 * NEWS: Mention malloc probes.
10312
322dea08
AO
10313 * malloc/arena.c (new_heap): New memory_heap_new probe.
10314 (grow_heap): New memory_heap_more probe.
10315 (shrink_heap): New memory_heap_less probe.
10316 (heap_trim): New memory_heap_free probe.
10317 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10318 (systrim): New memory_sbrk_less probe.
10319 * manual/probes.texi: Document them.
10320
655673f3
AO
10321 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10322 * manual/probes.texi: Document it.
10323
35fed6f1
AO
10324 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10325 (__libc_realloc): Add memory_realloc_retry probe.
10326 (__libc_memalign): Add memory_memalign_retry probe.
10327 (__libc_valloc): Add memory_valloc_retry probe.
10328 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10329 (__libc_calloc): Add memory_calloc_retry probe.
10330 * manual/probes.texi: Document them.
10331
6999d38c
AO
10332 * malloc/arena.c (get_free_list): Add probe
10333 memory_arena_reuse_free_list.
10334 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10335 and memory_arena_reuse.
10336 (arena_get2) [!PER_THREAD]: Likewise.
10337 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10338 memory_arena_reuse_realloc.
10339 * manual/probes.texi: Document them.
10340
0653427f
AO
10341 * malloc/malloc.c (__libc_free): Add
10342 memory_mallopt_free_dyn_thresholds probe.
10343 (__libc_mallopt): Add multiple memory_mallopt probes.
10344 * manual/probes.texi: Document them.
10345
3ea5be54
AO
10346 * malloc/malloc.c: Include stap-probe.h.
10347 (__libc_mallopt): Add memory_mallopt probe.
10348 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10349 * manual/probes.texi: New.
10350 * manual/Makefile (chapters): Add probes.
10351 * manual/threads.texi: Set next node.
10352
e35696c3 103532013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10354
e35696c3
CL
10355 [BZ #15963, #13985]
10356 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10357 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10358 Add `Chinese' to `nan' entry name.
10359
4aafb73c
SP
103602013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10361
10362 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10363 (POLYNOMIAL): Likewise.
10364 (TAYLOR_SINCOS): Likewise.
10365 (TAYLOR_SLOW): Likewise.
10366 (__sin): Use TAYLOR_SINCOS.
10367 (__cos): Likewise.
10368 (slow): Use TAYLOR_SLOW.
10369 (sloww): Likewise.
10370 (bsloww): Likewise.
10371 (csloww): Likewise.
10372
d84f25c7
LD
103732013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10374
10375 * stdlib/strtod_l.c: Fix buffer overrun.
10376
5eea0404
SP
103772013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10378
7849ff93
SP
10379 * benchtests/Makefile (bench): Add sincos.
10380 * benchtests/bench-sincos.c: New file.
10381
cfa3c886
SP
10382 * math/libm-test.inc (cos_test_data): New test inputs.
10383 (sin_test_data): Likewise.
10384
b348e1e3
SP
10385 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10386 macro.
10387 (__sin): Use it.
10388 (__cos): Likewise.
10389 (slow1): Likewise.
10390 (slow2): Likewise.
10391 (sloww1): Likewise.
10392 (sloww2): Likewise.
10393 (bsloww1): Likewise.
10394 (bsloww2): Likewise.
10395 (cslow2): Likewise.
10396 (csloww1): Likewise.
10397 (csloww2): Likewise.
10398
6cce25f8
SP
10399 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10400 function.
10401 (__sin): Use it.
10402 (__cos): Likewise.
10403
5eea0404
SP
10404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10405 gotos.
10406 (__cos): Likewise.
10407
9c21573c
MR
104082013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10409
10410 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10411 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10412 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10413 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10414 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10415 * elf/cache.c (print_entry): Handle the new cache flags.
10416
24d22e65
JM
104172013-09-18 Joseph Myers <joseph@codesourcery.com>
10418 Aldy Hernandez <aldyh@redhat.com>
10419
10420 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10421 Change condition to [_SOFT_FLOAT].
10422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10434 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10437 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10438 declaration.
10439
d13ef066
JM
104402013-09-18 Joseph Myers <joseph@codesourcery.com>
10441
2e071de0
JM
10442 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10443 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10444 (__longjmp): Use LOAD_GP to load saved GPRs.
10445 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10446 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10447 (__sigsetjmp): Use SAVE_GP to save GPRs.
10448
d13ef066
JM
10449 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10450 Do not append -msoft-float.
10451 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10452
97a0650b
SP
104532013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10454
10455 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10456
11ca09e9
JM
104572013-09-17 Joseph Myers <joseph@codesourcery.com>
10458
10459 [BZ #15966]
10460 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10461 (_FPU_GETCW): Use initial "__" on variable and field names but not
10462 on macro parameter name.
10463 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10464 parentheses around reference to macro parameter.
10465
08ffcf34
RS
104662013-09-13 Richard Sandiford <richard@codesourcery.com>
10467
10468 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10469 prototype.
10470 (ctype_startup): Use uint32_t in cast and sizeof for
10471 ctype->charnames.
10472
ae7080d3
JL
104732013-09-11 Jia Liu <proljc@gmail.com>
10474
10475 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10476 __daddr_t_defined.
10477 [__FreeBSD__]: Likewise.
10478
5905e7b3
OB
104792013-09-11 Ondřej Bílka <neleai@seznam.cz>
10480
10481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10482 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10483 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10484 (strchr): Remove __strchr_sse42 ifunc selection.
10485 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10486 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10487
b987c776
WN
104882013-09-11 Will Newton <will.newton@linaro.org>
10489
10490 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10491 parameter to RES. Remove hardcoded 1000 value.
10492 * benchtests/bench-skeleton.c (main): Pass RES parameter
10493 to TIMING_INIT and multiply result by 1000.
10494
ddf985af
AZ
104952013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10496
10497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10498
ffdd3181
AS
104992013-09-11 Andreas Schwab <schwab@suse.de>
10500
10501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10502 if not defined.
10503 (O_TMPFILE) [__USE_GNU]: Define.
10504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10505 Define.
10506
b73ed247
WN
105072013-09-11 Will Newton <will.newton@linaro.org>
10508
10509 [BZ #15857]
10510 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10511 does not overflow.
10512
55e17aad
WN
105132013-09-11 Will Newton <will.newton@linaro.org>
10514
10515 [BZ #15856]
10516 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10517 does not overflow.
10518
1159a193
WN
105192013-09-11 Will Newton <will.newton@linaro.org>
10520
10521 [BZ #15855]
10522 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10523 does not overflow.
10524
5905e7b3 105252013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10526
10527 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10528 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10530 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10531 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10532
cdfc721b
AM
105332013-09-10 Allan McRae <allan@archlinux.org>
10534
aa04af00
AM
10535 [BZ #15748]
10536 * manual/arith.texi (Parsing of Floats): Clarify
10537 cross-reference.
10538
cdfc721b
AM
10539 [BZ #15849]
10540 * manual/install.texi (Running make install): Mention
10541 --enable-pt-chown.
10542 * INSTALL: Regenerated.
10543
95e7cf29
MR
105442013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10545
10546 * csu/init-first.c (_init): Remove the !SHARED condition around
10547 FPU control word initialization.
10548 * elf/dl-support.c (_dl_fpu_control): New variable.
10549 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10550 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10551 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10552 * math/test-fpucw-static.c: New file.
10553 * math/test-fpucw-ieee.c: New file.
10554 * math/test-fpucw-ieee-static.c: New file.
10555 * math/Makefile (tests): Add `test-fpucw-ieee' and
10556 `$(tests-static)'.
10557 (tests-static): New variable.
10558 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10559 dependency to...
10560 [($(build-shared),yes)]
10561 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10562 ... this.
10563 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10564 New dependency.
10565
83e43bf0
AM
105662013-09-09 Allan McRae <allan@archlinux.org>
10567
a9f5ce09
AM
10568 [BZ #15939]
10569 * manual/string.texi (Collation Functions): Fix typo in
10570 strcoll example.
10571 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10572
34829bc2
AM
10573 [BZ #15893]
10574 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10575
3932737d
AM
10576 [BZ #15892]
10577 * libio/memstream.c (open_memstream): Fix memory leak.
10578 * libio/wmemstream.c (open_wmemstream): Likewise.
10579
83e43bf0
AM
10580 [BZ #15895]
10581 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10582
0c66b8e9
WN
105832013-09-09 Will Newton <will.newton@linaro.org>
10584
10585 * malloc/Makefile: Add tst-realloc to tests.
10586 * malloc/tst-realloc.c: New file.
10587
f6b00fd1
AM
105882013-09-09 Allan McRae <allan@archlinux.org>
10589
10590 [BZ #15844]
10591 * COPYING: Update from GNU website to fix FSF address.
10592 * COPYING.LIB: Likewise.
10593
eec55e16
DM
105942013-09-06 David S. Miller <davem@davemloft.net>
10595
10596 * po/zh_TW.po: Update Chinese (traditional) translation from
10597 translation project.
10598
1ecbb381
RS
105992013-09-06 Richard Sandiford <richard@codesourcery.com>
10600 Joseph Myers <joseph@codesourcery.com>
10601
10602 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10603 "localeinfo.h".
10604 (obstack_chunk_alloc): New macro.
10605 (obstack_chunk_free): Likewise.
10606 (record_offset): New function.
10607 (init_locale_data): Likewise.
10608 (align_locale_data): Likewise.
10609 (add_locale_empty): Likewise.
10610 (add_locale_raw_data): Likewise.
10611 (add_locale_raw_obstack): Likewise.
10612 (add_locale_string): Likewise.
10613 (add_locale_wstring): Likewise.
10614 (add_locale_uint32): Likewise.
10615 (add_locale_uint32_array): Likewise.
10616 (add_locale_char): Likewise.
10617 (start_locale_structure): Likewise.
10618 (end_locale_structure): Likewise.
10619 (start_locale_prelude): Likewise.
10620 (end_locale_prelude): Likewise.
10621 (write_locale_data): Take locale_file structure rather than an
10622 iovec.
10623 * locale/programs/locfile.h: Include "obstack.h".
10624 (struct locale_file): Change to store locale file contents instead
10625 of header.
10626 (init_locale_data): New prototype.
10627 (align_locale_data): Likewise.
10628 (add_locale_empty): Likewise.
10629 (add_locale_raw_data): Likewise.
10630 (add_locale_raw_obstack): Likewise.
10631 (add_locale_string): Likewise.
10632 (add_locale_wstring): Likewise.
10633 (add_locale_uint32): Likewise.
10634 (add_locale_uint32_array): Likewise.
10635 (add_locale_char): Likewise.
10636 (start_locale_structure): Likewise.
10637 (end_locale_structure): Likewise.
10638 (start_locale_prelude): Likewise.
10639 (end_locale_prelude): Likewise.
10640 (write_locale_data): Update prototype.
10641 * locale/programs/3level.h (struct TABLE): Remove result field.
10642 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10643 Use new locale_file interface.
10644 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10645 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10646 * locale/programs/ld-address.c (address_output): Use new
10647 locale_file interface.
10648 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10649 NO_ADD_LOCALE.
10650 (collate_finish): Don't call collseq_table_finalize.
10651 (collate_output): Use new locale_file interface.
10652 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10653 in file.
10654 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10655 (TABLE): Move defines earlier in file.
10656 (ELEMENT): Likewise.
10657 (DEFAULT): Likewise.
10658 (wctrans_table_add): Move macro and inline function earlier in
10659 file.
10660 (struct wctype_table): Move type earlier in file.
10661 (add_locale_wctype_table): New static prototype.
10662 (struct locale_ctype_t): Use logical types instead of struct iovec
10663 pointers for members.
10664 (ctype_output): Use new locale_file interface.
10665 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10666 new locale_file interface.
10667 (allocate_arrays): Update for use of new locale_file interface.
10668 * locale/programs/ld-identification.c (identification_output): Use
10669 new locale_file interface.
10670 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10671 * locale/programs/ld-messages.c (messages_output): Likewise.
10672 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10673 * locale/programs/ld-name.c (name_output): Likewise.
10674 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10675 * locale/programs/ld-paper.c (paper_output): Likewise.
10676 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10677 * locale/programs/ld-time.c (time_output): Likewise.
10678
e029e2e5
AZ
106792013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10680
10681 * benchtests/Makefile: Add memrchr benchmark.
10682 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10683 benchmark as memrchr.
10684 * benchtests/bench-memrchr-ifunc.c: New file.
10685 * benchtests/bench-memrchr.c: New file.
10686
bbf6e8e4
WN
106872013-09-06 Will Newton <will.newton@linaro.org>
10688
10689 * benchtests/Makefile (string-bench): Add memcpy.
10690
6c82a2f8
CD
106912013-09-05 Carlos O'Donell <carlos@redhat.com>
10692 Cong Wang <amwang@redhat.com>
10693
e732c5f0 10694 [BZ #15850]
6c82a2f8
CD
10695 * sysdeps/unix/sysv/linux/bits/in.h
10696 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10697 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10698 before __USE_KERNEL_IPV6_DEFS uses.
10699 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10700 IPPROTO_BEETPH.
10701 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10702 sockaddr_in6, or ipv6_mreq.
10703
5430fc65
AZ
107042013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10705
10706 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10707 memory access for final bytes in some large inputs.
10708 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10709
4660856c
AZ
107102013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10711
10712 * string/test-memrchr.c: New file.
10713 * string/test-memrchr-ifunc.c: New file.
10714 * string/Makefile: Add new memrchr testcase.
10715
bb8ea713
MF
107162013-09-05 Mike Frysinger <vapier@gentoo.org>
10717
10718 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10719 fanotify_init returns EPERM.
10720
b92a20b5
JM
107212013-09-04 Joseph Myers <joseph@codesourcery.com>
10722
10723 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10724 errors.
10725 (top level): Treat second token from macro or constant entries for
10726 allowed headers as allowed.
10727 * include/complex.h: Condition internal declarations on
10728 [!_ISOMAC].
10729 * include/fenv.h: Condition include of <stdbool.h> and internal
10730 declarations on [!_ISOMAC].
7447ccd9
CL
10731
107322013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10733
3e181dda 10734 [BZ #15923]
7447ccd9
CL
10735 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10736
3f2e46a4
JM
107372013-09-04 Joseph Myers <joseph@codesourcery.com>
10738
10739 * configure.in (--enable-versioning): Remove configure option.
10740 (libc_cv_asm_symver_directive): Remove configure test.
10741 (libc_cv_ld_version_script_option): Likewise.
10742 (VERSIONING): Remove variable and AC_SUBST.
10743 (DO_VERSIONING): Remove AC_DEFINE.
10744 * configure: Regenerated.
10745 * config.h.in (DO_VERSIONING): Remove macro.
10746 * Makerules [$(versioning) = yes]: Change conditionals to
10747 [$(build-shared) = yes].
10748 * config.make.in (versioning): Remove variable.
10749 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10750 [$(build-shared) = yes].
10751 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10752 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10753 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10754 [$(build-shared) = yes].
10755 * extra-lib.mk [$(versioning) = yes]: Likewise.
10756 * hurd/Makefile [$(versioning) = yes]: Likewise.
10757 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10758 [SHARED].
10759 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10760 [SHARED].
10761 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10762 [SHARED && !NO_HIDDEN].
10763 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10764 [SHARED].
10765 [SHARED && DO_VERSIONING]: Likewise..
10766 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10767 [$(build-shared) = yes].
10768 * manual/install.texi (--disable-versioning): Remove
10769 documentation.
10770 * INSTALL: Regenerated.
10771 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10772 to [SHARED].
10773 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10774 [$(build-shared) = yes].
10775 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10776 * sysdeps/i386/i686/multiarch/strstr-c.c
10777 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10778 [SHARED && !NO_HIDDEN].
10779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10780 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10781 * sysdeps/powerpc/powerpc32/dl-machine.c
10782 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10783 * sysdeps/powerpc/powerpc32/sysdep.h
10784 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10785 to [SHARED && PIC && !NO_HIDDEN].
10786 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10787 conditional to [SHARED].
10788
44558701
WN
107892013-09-04 Will Newton <will.newton@linaro.org>
10790
10791 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10792 * benchtests/bench-string.h: Include bench-timing.h instead
10793 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10794 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10795 call to HP_TIMING_DIFF_INIT.
10796 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10797 instead of hp-timing.h macros.
10798 * benchtests/bench-memchr.c: Likewise.
10799 * benchtests/bench-memcmp.c: Likewise.
10800 * benchtests/bench-memcpy.c: Likewise.
10801 * benchtests/bench-memmem.c: Likewise.
10802 * benchtests/bench-memmove.c: Likewise.
10803 * benchtests/bench-memset.c: Likewise.
10804 * benchtests/bench-rawmemchr.c: Likewise.
10805 * benchtests/bench-strcasecmp.c: Likewise.
10806 * benchtests/bench-strcasestr.c: Likewise.
10807 * benchtests/bench-strcat.c: Likewise.
10808 * benchtests/bench-strchr.c: Likewise.
10809 * benchtests/bench-strcmp.c: Likewise.
10810 * benchtests/bench-strcpy.c: Likewise.
10811 * benchtests/bench-strcpy_chk.c: Likewise.
10812 * benchtests/bench-strlen.c: Likewise.
10813 * benchtests/bench-strncasecmp.c: Likewise.
10814 * benchtests/bench-strncat.c: Likewise.
10815 * benchtests/bench-strncmp.c: Likewise.
10816 * benchtests/bench-strncpy.c: Likewise.
10817 * benchtests/bench-strnlen.c: Likewise.
10818 * benchtests/bench-strpbrk.c: Likewise.
10819 * benchtests/bench-strrchr.c: Likewise.
10820 * benchtests/bench-strspn.c: Likewise.
10821 * benchtests/bench-strstr.c: Likewise.
10822
cae16d66
WN
108232013-09-04 Will Newton <will.newton@linaro.org>
10824
10825 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10826
ffa3cd7f
JM
108272013-09-03 Joseph Myers <joseph@codesourcery.com>
10828
10829 [BZ #15427]
10830 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10831 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10832 * math/libm-test.inc (lgamma_test_data): Add more tests.
10833 * sysdeps/i386/fpu/libm-test-ulps: Update.
10834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10835
8f02859f
OB
108362013-09-03 Ondřej Bílka <neleai@seznam.cz>
10837
10838 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10839 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10840 Add ifunc.
10841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10842 Add strcmp-sse2-unaligned
10843 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10844
18d43716
MF
108452013-09-02 Mike Frysinger <vapier@gentoo.org>
10846
10847 * Versions.def (libc): Add GLIBC_2.19.
10848
ac444012
MF
108492013-09-02 Mike Frysinger <vapier@gentoo.org>
10850
10851 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10852 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10853
b7835e32
JM
108542013-09-02 Joseph Myers <joseph@codesourcery.com>
10855
10856 [BZ #14155]
10857 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10858 intermediate calculations in recurrence.
10859 (__ieee754_ynf): Likewise.
10860 * math/libm-test.inc (jn_test_data): Do not allow spurious
10861 underflow exception. Add more tests.
10862 (yn_test_data): Add more tests.
10863 * sysdeps/i386/fpu/libm-test-ulps: Update.
10864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10865
8220f4f0
OB
108662013-09-02 Ondřej Bílka <neleai@seznam.cz>
10867
10868 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10869
f24a6d08
OB
108702013-08-30 Ondřej Bílka <neleai@seznam.cz>
10871
10872 * csu/init-first.c: Fix then/than typos.
10873 * locale/programs/ld-collate.c: Likewise.
10874 * locale/programs/linereader.h: Likewise.
10875 * manual/charset.texi: Likewise.
10876 * manual/filesys.texi: Likewise.
10877 * manual/stdio.texi: Likewise.
10878 * manual/string.texi: Likewise.
10879 * stdlib/fmtmsg.c: Likewise.
10880 * sysdeps/i386/stpncpy.S: Likewise.
10881 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10882 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10883 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10884 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10885
382466e0
OB
108862013-08-30 Ondřej Bílka <neleai@seznam.cz>
10887
10888 * elf/dl-open.c: Fix typos.
10889 * iconvdata/gbbig5.c: Likewise.
10890 * iconvdata/iso-2022-jp.c: Likewise.
10891 * iconv/gconv_int.h: Likewise.
10892 * iconv/loop.c: Likewise.
10893 * nis/rpcsvc/nis.h: Likewise.
10894 * resolv/ns_name.c: Likewise.
10895 * stdio-common/vfscanf.c: Likewise.
10896 * streams/stropts.h: Likewise.
10897 * sunrpc/rpc_thread.c: Likewise.
10898 * sysdeps/i386/strpbrk.S: Likewise.
10899 * sysdeps/ieee754/k_standard.c: Likewise.
10900 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10902 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10903 * sysdeps/mach/hurd/profil.c: Likewise.
10904 * sysdeps/s390/dl-procinfo.h: Likewise.
10905 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10906 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10907 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10908 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10910
0186c6e9
OB
109112013-08-30 Ondřej Bílka <neleai@seznam.cz>
10912
10913 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10915
d4e16af1
OB
109162013-08-29 Ondřej Bílka <neleai@seznam.cz>
10917
10918 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10919 aix specific files.
10920 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10921 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10922 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10923 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10924 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10925 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10926 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10927 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10928
88335980
TS
109292013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10930 Roland McGrath <roland@hack.frob.com>
10931
10932 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10933 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10934
ed479b02
ST
109352013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10936
10937 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10938 __executable_start symbol instead of _start.
10939
f1cc4c86
TS
109402013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10941
d821f07c
TS
10942 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10943 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10944 Move macros to...
10945 * sysdeps/gnu/ldsodefs.h: ... this new file.
10946
c54290cf
TS
10947 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10948 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10949 instead of ELFOSABI_LINUX.
10950
0007fc9b 10951 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10952 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10953 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10954 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10955 Likewise.
10956 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10957 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10958 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10959 Likewise.
10960 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10961 (ibm_extended_long_double): Add ieee_nan member.
10962 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10963 (do_test): New function.
10964
f1cc4c86
TS
10965 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10966 TEST_TRUNC.
10967 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10968 functions, renamed from truncdfsf_test, trunctfsf_test,
10969 trunctfdf_test.
10970 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10971 functions.
10972 (do_test): Run all these.
10973
6f65e668
OB
109742013-08-29 Ondřej Bílka <neleai@seznam.cz>
10975
10976 * argp/argp-help.c: Fix typos.
10977 * argp/argp-parse.c: Likewise.
10978 * debug/backtracesyms.c: Likewise.
10979 * elf/elf.h: Likewise.
10980 * malloc/malloc.c: Likewise.
10981 * nis/nis_print.c: Likewise.
10982 * resolv/res_comp.c: Likewise.
10983 * stdlib/stdlib.h: Likewise.
10984 * sunrpc/clnt_tcp.c: Likewise.
10985 * sunrpc/clnt_udp.c: Likewise.
10986 * sunrpc/clnt_unix.c: Likewise.
10987 * sysdeps/unix/bsd/ptsname.c: Likewise.
10988 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10989 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10991 Likewise.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10993 Likewise.
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10995 Likewise.
6f65e668
OB
10996 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10997
3a309239
SP
109982013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10999
11000 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11002
3b813b29
MF
110032013-08-27 Mike Frysinger <vapier@gentoo.org>
11004
11005 [BZ #15897]
11006 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11007 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11008 ($(objpfx)bug-dl-leaf): New rule.
11009 ($(objpfx)bug-dl-leaf.so): Likewise.
11010 ($(objpfx)bug-dl-leaf.out): Likewise.
11011 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11012 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11013 * dlfcn/bug-dl-leaf.c: New test.
11014 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11015 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11016 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11017 (dlclose): Likewise.
11018 (dlmopen): Likewise.
11019
8cc3269f
RM
110202013-08-27 Roland McGrath <roland@hack.frob.com>
11021
7f9d0034
RM
11022 * include/netdb.h [!_ISOMAC]:
11023 Don't include <tls.h>.
11024 (h_errno, __libc_h_errno): Move declaration and macros out of
11025 [_LIBC_REENTRANT].
11026
fb431262
RM
11027 * include/resolv.h [_RESOLV_H_]:
11028 Don't include <tls.h>.
11029 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11030 * resolv/res_libc.c: Don't include <tls.h>.
11031 (_res): Use __attribute__ ((nocommon)) in place of
11032 __attribute__ ((section (".bss"))).
11033
bd81123a
RM
11034 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11035 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11036
c4e42566
RM
11037 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11038
f890a59b
RM
11039 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11040 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11041
11042 * resolv/res_mkquery.c: Include <sys/time.h>.
11043
5d1f0a09
RM
11044 * inet/ifreq.c: Moved to ...
11045 * sysdeps/unix/ifreq.c: ... here.
11046 * inet/ifreq.c: New file, true stub version.
11047
6fcf28b3
RM
11048 * socket/sa_len.c: New file.
11049 * socket/Makefile (aux): Add it.
11050 * sysdeps/unix/sysv/linux/Makefile
11051 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11052 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11053 and #include <socket/sa_len.c>.
11054 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11055 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11056
e041fb8b
RM
11057 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11058 * bits/socket.h: ... here.
11059
8cc3269f
RM
11060 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11061 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11062 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11063
5d228a43
AS
110642013-08-27 Andreas Schwab <schwab@suse.de>
11065
45b8accc
AS
11066 [BZ #15736]
11067 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11068 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11069 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11070 * string/test-strcasecmp.c (test_main): Run tests in several
11071 locales.
11072 * string/test-strncasecmp.c (test_main): Likewise.
11073
5d228a43
AS
11074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11075 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11076 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11078 (__strncasecmp_ssse3) [PIC]: Likewise.
11079
59d112a4
RM
110802013-08-26 Roland McGrath <roland@hack.frob.com>
11081
53234cc3
RM
11082 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11083
59d112a4
RM
11084 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11085 instead of explicitly declaring xdecrypt.
11086 * nis/nss_nis/nis-publickey.c: Likewise.
11087
595aba70
SP
110882013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11089
11090 [BZ #15890]
11091 * nscd/aicache.c: Include res_hconf.h.
11092 (addhstaiX): Initialize res_hconf.
11093
ffabd393
AS
110942013-08-26 Andreas Schwab <schwab@suse.de>
11095
11096 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11097 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11098
e0a69f5c
SP
110992013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11100
11101 * nscd/aicache.c (addhstaiX): Fix indentation.
11102
8c12f01d
MF
111032013-08-25 Mike Frysinger <vapier@gentoo.org>
11104
11105 * configure.ac: Quote $build_pt_chown test.
11106 * configure: Regenerated.
11107
8fe89494
JM
111082013-08-23 Joseph Myers <joseph@codesourcery.com>
11109
11110 [BZ #15532]
11111 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11112 * math/s_cexpf.c (__cexpf): Likewise.
11113 * math/s_cexpl.c (__cexpl): Likewise.
11114 * math/libm-test.inc (cexp_test_data): Correct expected return
11115 value for NaN + i0. Add another test.
11116
75b181d6
DM
111172013-08-22 David S. Miller <davem@davemloft.net>
11118
11119 * po/ca.po: Update Catalan translation from translation project.
936241e4 11120 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11121
acd06bb1
JM
111222013-08-21 Joseph Myers <joseph@codesourcery.com>
11123
11124 [BZ #15797]
11125 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11126 is infinite, not alongside NaN test.
11127 * math/s_fdimf.c (__fdimf): Likewise.
11128 * math/s_fdiml.c (__fdiml): Likewise.
11129 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11130 errno is unchanged.
11131
c0c3f78a
OB
111322013-08-21 Ondřej Bílka <neleai@seznam.cz>
11133
11134 * argp/argp-help.c: Fix typos.
11135 * crypt/speeds.c: Likewise.
11136 * csu/check_fds.c: Likewise.
11137 * elf/dl-load.c: Likewise.
11138 * elf/dl-open.c: Likewise.
11139 * elf/reldep3.c: Likewise.
11140 * elf/reldep.c: Likewise.
11141 * elf/sprof.c: Likewise.
11142 * iconv/iconv_charmap.c: Likewise.
11143 * iconv/skeleton.c: Likewise.
11144 * iconv/strtab.c: Likewise.
11145 * io/lockf64.c: Likewise.
11146 * libio/libioP.h: Likewise.
11147 * resolv/gai_notify.c: Likewise.
11148 * resolv/ns_name.c: Likewise.
11149 * resolv/ns_samedomain.c: Likewise.
11150 * resolv/res_send.c: Likewise.
11151 * stdlib/random.c: Likewise.
11152 * sunrpc/rpc/xdr.h: Likewise.
11153 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11154 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11155 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11156 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11157 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11158 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11159 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11160 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11161 * sysdeps/mach/hurd/check_fds.c: Likewise.
11162 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11163 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11164 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11165 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11166 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11167 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11168 * sysdeps/pthread/aio_notify.c: Likewise.
11169 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11170 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11171 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11173 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11174
46ed1038
LD
111752013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11176
11177 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11178 version if bit_Slow_SSE4_2 is set.
11179 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11180 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11181
d400dcac
AZ
111822013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11183
11184 [BZ #15867]
11185 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11186 trampoline stack frame information.
11187 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11189 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11190 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11191 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11192 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11193 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11194 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11195 sa_flags value.
11196 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11197 interrupting a syscall and set with option SA_SIGINFO.
11198
42c8fdd8
JM
111992013-08-20 Joseph Myers <joseph@codesourcery.com>
11200
c980f2f4
JM
11201 [BZ #15531]
11202 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11203 argument is infinite.
11204 * math/s_cprojf.c (__cprojf): Likewise.
11205 * math/s_cprojl.c (__cprojl): Likewise.
11206 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11207 * math/libm-test.inc (cproj_test_data): Add more tests.
11208
0716c4fc
JM
11209 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11210
42c8fdd8
JM
11211 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11212 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11213 size. Use __ffs to determine corresponding shift.
11214
b31469d0
JM
112152013-08-20 Joseph Myers <joseph@codesourcery.com>
11216 Roland McGrath <roland@hack.frob.com>
11217
11218 * Makefile (INSTALL): Remove trailing blank lines from output of
11219 makeinfo.
11220
4e39af6e
AK
112212013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11222
11223 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11224 Align 32 bit compat elf_greg to 8 bytes.
11225
f315524e
AA
112262013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11227
11228 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11229
1326ba1a
SP
112302013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11231
11232 * string/strcoll_l.c (coll_seq): New structure.
11233 (get_next_seq_cached): New function.
11234 (get_next_seq): New function.
11235 (do_compare): New function.
11236 (STRCOLL): Use GNU style definition. Simplify implementation
11237 by using get_next_seq, get_next_seq_cached and do_compare.
11238
91ce4085
FW
112392013-08-16 Florian Weimer <fweimer@redhat.com>
11240
11241 [BZ #14699]
11242 CVE-2013-4237
11243 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11244 member.
11245 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11246 member.
11247 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11248 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11249 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11250 conditional.
11251 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11252 GETDENTS_64BIT_ALIGNED.
11253 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11254 * manual/filesys.texi (Reading/Closing Directory): Document
11255 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11256 strongly.
11257 * manual/conf.texi (Limits for Files): Add portability note to
11258 NAME_MAX, PATH_MAX.
11259 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11260
ca0a6bc4
AS
112612013-08-13 Andreas Schwab <schwab@suse.de>
11262
11263 [BZ #15749]
11264 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11265 of fabs.
11266 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11267 LDBL_MAX_EXP >= 16384]: Add tests for it.
11268
6c1fd795
DM
112692013-08-12 David S. Miller <davem@davemloft.net>
11270
11271 * version.h (RELEASE): Set to "development".
11272 (VERSION): Set to "2.18.90".
11273 * NEWS: Add 2.19 section.
11274
31ad488d
DM
112752013-08-03 David S. Miller <davem@davemloft.net>
11276
11277 * po/ko.po: Update Korean translation from translation project.
11278
db24e684
DM
112792013-08-01 David S. Miller <davem@davemloft.net>
11280
11281 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11282 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11283 Bilka.
11284
f723285b
DM
112852013-07-30 David S. Miller <davem@davemloft.net>
11286
11287 * po/fr.po: Update French translation from translation project.
11288
3cbc52db
DM
112892013-07-28 David S. Miller <davem@davemloft.net>
11290
30bbc0cc
DM
11291 * po/cs.po: Update Czech translation from translation project.
11292
3cbc52db
DM
11293 * po/sv.po: Update Swedish translation from translation project.
11294
d492e6d0
DM
112952013-07-27 David S. Miller <davem@davemloft.net>
11296
f1a7f492
DM
11297 * po/eo.po: Update Esperanto translation from translation project.
11298
90e62a4a
DM
11299 * po/vi.po: Update Vietnamese translation from translation project.
11300
d492e6d0
DM
11301 * po/de.po: Update German translation from translation project.
11302
d4baa62d
DM
113032013-07-26 David S. Miller <davem@davemloft.net>
11304
641aa7b4
DM
11305 * po/bg.po: Update Bulgarian translation from translation project.
11306
d4baa62d
DM
11307 * po/nl.po: Update Dutch translation from translation project.
11308 * po/pl.po: Update Polish translation from translation project.
11309 * po/ru.po: Update Russian translation from translation project.
11310
61a9dcb9
DM
113112013-07-24 David S. Miller <davem@davemloft.net>
11312
11313 * po/libc.pot: Update.
11314
7b1f8b58
AZ
113152013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11316
11317 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11318 variable page size.
11319 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11321 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11322
a8fc7a03
AK
113232013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11324
11325 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11326
e4608715
CD
113272013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11328 Andreas Schwab <schwab@suse.de>
11329 Roland McGrath <roland@hack.frob.com>
11330 Joseph Myers <joseph@codesourcery.com>
11331 Carlos O'Donell <carlos@redhat.com>
11332
11333 [BZ #15755]
11334 * config.h.in: Define HAVE_PT_CHOWN.
11335 * config.make.in (build-pt-chown): New variable.
11336 * configure.in (--enable-pt_chown): New configure option.
11337 * configure: Regenerate.
11338 * login/Makefile: Include Makeconfig. Build pt_chown only if
11339 build-pt-chown is enabled.
11340 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11341 pt_chown to fix pty ownership.
11342 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11343 CLOSE_ALL_FDS.
11344 * manual/install.texi (Configuring and compiling): Mention
11345 --enable-pt_chown. Add @findex for grantpt.
11346 * INSTALL: Regenerate.
11347
da2d62df
DM
113482013-07-20 David S. Miller <davem@davemloft.net>
11349
11350 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11351 difference between 32-bit and 64-bit.
11352
d7e06450
CD
113532013-07-15 Carlos O'Donell <carlos@redhat.com>
11354
11355 [BZ #15711]
11356 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11357 Avoid system header dependency with -ffreestanding.
11358 ($(objpfx)bits/syscall%d): Likewise.
11359
f959cfd7
DM
113602013-07-13 David S. Miller <davem@davemloft.net>
11361
11362 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11363 underflows from atanl/atan2l due to bug 15319.
11364 (casinh_test_data): Likewise.
11365
c61f8513
DM
113662013-07-07 David S. Miller <davem@davemloft.net>
11367
11368 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11369
72c90ed0
JA
113702013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11371
11372 * sysdeps/i386/fpu/libm-test-ulps: Update.
11373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11374
52dfbe13
SP
113752013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11376
11377 * configure.in (--enable-lock-elision): Fix message text.
11378 * INSTALL: Regenerate.
11379 * configure: Regenerate.
11380
3f169543
AZ
113812013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11382
11383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11384
521c6785
AJ
113852013-07-03 Andreas Jaeger <aj@suse.de>
11386
11387 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11388 define.
11389 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11390 (ptrace_peeksiginfo_args): Add.
11391 (__ptrace_peeksiginfo_flags): Add.
11392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11394 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11395
d2cc15cb
AM
113962013-07-03 Allan McRae <allan@archlinux.org>
11397
11398 * sysdeps/i386/fpu/libm-test-ulps: Update.
11399
3aaeeca7
DM
114002013-07-02 David S. Miller <davem@davemloft.net>
11401
11402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11403
5314ed1a
MT
114042013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11405
11406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11407
67338156
JM
114082013-07-02 Joseph Myers <joseph@codesourcery.com>
11409
11410 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11412
1717da59
AK
114132013-07-02 Andi Kleen <ak@linux.intel.com>
11414
11415 * config.h.in (ENABLE_LOCK_ELISION): Add.
11416 * configure.in (--enable-lock-elision): Add option.
11417 * manual/install.texi: Document --enable lock elision.
11418 * configure: Regenerate
11419 * INSTALL: Regenerate.
11420
1c81621c
L
114212013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11422
11423 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11424 SSE4.2 strcasecmp for libc.a.
11425 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11426
77f01ab5
JM
114272013-07-02 Joseph Myers <joseph@codesourcery.com>
11428
11429 [BZ #13304]
11430 * soft-fp/op-common.h (_FP_FMA): New macro.
11431 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11432 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11433 (_FP_MUL_MEAT_1_imm): ... here.
11434 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11435 (_FP_MUL_MEAT_1_wide): ... here.
11436 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11437 (_FP_MUL_MEAT_1_hard): ... here.
11438 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11439 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11440 (_FP_MUL_MEAT_2_wide): ... here.
11441 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11442 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11443 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11444 (_FP_MUL_MEAT_2_gmp): ... here.
11445 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11446 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11447 (_FP_MUL_MEAT_4_wide): ... here.
11448 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11449 (_FP_MUL_MEAT_4_gmp): ... here.
11450 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11451 (_FP_WFRACBITS_DW_S): Likewise.
11452 (_FP_WFRACXBITS_DW_S): Likewise.
11453 (_FP_HIGHBIT_DW_S): Likewise.
11454 (FP_FMA_S): Likewise.
11455 (_FP_FRAC_HIGH_DW_S): Likewise.
11456 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11457 (_FP_WFRACBITS_DW_D): Likewise.
11458 (_FP_WFRACXBITS_DW_D): Likewise.
11459 (_FP_HIGHBIT_DW_D): Likewise.
11460 (FP_FMA_D): Likewise.
11461 (_FP_FRAC_HIGH_DW_D): Likewise.
11462 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11463 (_FP_WFRACBITS_DW_E): Likewise.
11464 (_FP_WFRACXBITS_DW_E): Likewise.
11465 (_FP_HIGHBIT_DW_E): Likewise.
11466 (FP_FMA_E): Likewise.
11467 (_FP_FRAC_HIGH_DW_E): Likewise.
11468 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11469 (_FP_WFRACBITS_DW_Q): Likewise.
11470 (_FP_WFRACXBITS_DW_Q): Likewise.
11471 (_FP_HIGHBIT_DW_Q): Likewise.
11472 (FP_FMA_Q): Likewise.
11473 (_FP_FRAC_HIGH_DW_Q): Likewise.
11474 * soft-fp/fmasf4.c: New file.
11475 * soft-fp/fmadf4.c: Likewise.
11476 * soft-fp/fmatf4.c: Likewise.
11477
6308fd9a
LD
114782013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11479
11480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11481 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11482 Silvermont.
11483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11484 macro.
11485 (index_Slow_SSE4_2): Likewise.
11486 (index_Prefer_PMINUB_for_stringop): Likewise.
11487 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11488 bit_Slow_SSE4_2 is set.
11489 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11490 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11491
89cd9569
RA
114922013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11493
11494 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11495 rtld_global._dl_hwcap2.
11496 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11497 POWER8.
11498 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11499 POWER8 feature descriptions defined in _dl_hwcap2.
11500 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11501 string handling for POWER8 feature bits.
11502 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11503 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11504 _dl_powerpc_cap_flags.
11505 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11506 * sysdeps/powerpc/rtld-global-offsets.sym
11507 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11508 _dl_hwcap2 in the rtld_global_ro structure.
11509
1ae8bfe0
RA
115102013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11511
11512 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11513 hardware capabilities in support of AT_HWCAP2.
11514 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11515 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11516 GLRO(dl_hwcap2).
11517 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11518 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11519 explicitly the unknown a_type display mechanism is used.
11520 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11521 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11522 struct member.
11523 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11524 to macro prototype for AT_HWCAP2 support.
11525 * sysdeps/i386/dl-procinfo.h: Likewise.
11526 * sysdeps/s390/dl-procinfo.h: Likewise.
11527 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11528 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11529 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11530 return -1 for unknown a_type display fallback.
11531 * sysdeps/sparc/dl-procinfo.h: Likewise.
11532 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11533 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11534
8fbec010
JM
115352013-06-28 Joseph Myers <joseph@codesourcery.com>
11536
11537 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11538 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11539
0432680e
PY
115402013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11541
11542 [BZ #12492]
11543 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11544 mprotect making __stack_prot writable.
11545
ce61a2ad
NF
115462013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11547 Joseph Myers <joseph@codesourcery.com>
11548
11549 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11550 as being properly aligned.
11551
f91f1c0f
MR
115522013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11553
3d0f5d0c
MR
11554 * dlfcn/modstatic5.c: New file.
11555 * dlfcn/tststatic5.c: New file.
11556 * dlfcn/Makefile (tests): Add tststatic5.
11557 (tests-static): Likewise.
11558 (modules-names): Add modstatic5.
11559 (tststatic5-ENV): New variable.
11560 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11561
f91f1c0f
MR
11562 [BZ #15022]
11563 * elf/dl-support.c (_dl_main_map): New variable.
11564 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11565 (_dl_nns, _dl_load_adds): Set to 1.
11566 (_dl_initial_searchlist): Refer to _dl_main_map.
11567 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11568 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11569 call to _dl_get_origin.
11570 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11571 around call_map.
11572 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11573 * dlfcn/modstatic3.c: New file.
11574 * dlfcn/tststatic3.c: New file.
11575 * dlfcn/tststatic4.c: New file.
11576 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11577 (tests-static): Likewise.
11578 (modules-names): Add modstatic3.
11579 (tststatic3-ENV, tststatic4-ENV): New variables.
11580 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11581 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11582
cbe7d24b
JM
115832013-06-26 Joseph Myers <joseph@codesourcery.com>
11584
11585 * configure.in (CC): Require GCC version 4.4 or later.
11586 * configure: Regenerated.
11587 * manual/install.texi (Tools for Compilation): Update GCC version
11588 requirement.
11589 * INSTALL: Regenerated.
11590
11b8a0e1
LD
115912013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11592
11593 [BZ #15674]
bb5bb87c
L
11594 * string/test-memcmp.c (check2): New.
11595 (main): Call check2.
11596
11b8a0e1
LD
11597 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11598
b0037103
MR
115992013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11600
11601 [BZ #15022]
11602 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11603 over to...
11604 (dl_open_worker) [!SHARED]: ... here.
11605
c18c701d
RA
116062013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11607
11608 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11609
1d17fa5f
RH
116102013-06-25 Richard Henderson <rth@redhat.com>
11611
11612 * locale/programs/locarchive.c: Include <libc-internal.h>
11613
8fcb833a
JM
116142013-06-25 Joseph Myers <joseph@codesourcery.com>
11615
11616 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11617 trailing whitespace removed.
11618
17db6e8d
MF
116192013-06-24 Mike Frysinger <vapier@gentoo.org>
11620
11621 [BZ #10283]
17db6e8d
MF
11622 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11623 * locale/programs/locarchive.c: Include libc-mmap.h.
11624 (prepare_address_space): Take two new outputs (the mmap base and len).
11625 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11626 values.
11627 (create_archive): Declare new mmap base and len values for
11628 prepare_address_space, and store the result in ah.
11629 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11630 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11631 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11632 Declare new mmap base and len values for
11633 prepare_address_space, and store the result in new_ah.
11634 (open_archive): Declare new mmap base and len values for
11635 prepare_address_space, and store the result in ah.
11636 (close_archive): If ah->mmap_base is not NULL, use that and
11637 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11638 * sysdeps/generic/libc-mmap.h: New file.
11639
d605071e
MF
116402013-06-24 Mike Frysinger <vapier@gentoo.org>
11641
11642 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11643 (ALIGN_UP): Likewise.
11644 (PTR_ALIGN_DOWN): Likewise.
11645 (PTR_ALIGN_UP): Likewise.
11646
2f063a6e
RA
116472013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11648
11649 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11650 entry mapped to PPC_PLATFORM_POWER8.
11651 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11652 POWER8.
11653 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11654 (_dl_string_platform): Add case for exporting platform position for
11655 POWER8.
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11657 search path to sysdeps/powerpc/powerpc32/power8 directory.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11659 search path to sysdeps/powerpc/powerpc64/power8 directory.
11660 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11661 power7 directories.
11662 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11663 power7 directories.
11664
a31ee4b3
SP
116652013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11666
a74ca98f
SP
11667 * INSTALL: Regenerate.
11668
a31ee4b3
SP
11669 * nscd/connections.c (nscd_init): Fix comment.
11670
695c378f
JM
116712013-06-22 Joseph Myers <joseph@codesourcery.com>
11672
d8412221
JM
11673 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11674
695c378f
JM
11675 [BZ #15667]
11676 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11677 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11678
d1d54715
MR
116792013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11680
11681 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11682 DL_DST_REQ_STATIC.
11683 (DL_DST_REQ_STATIC): Remove macro.
11684
8fdda7af
JM
116852013-06-21 Joseph Myers <joseph@codesourcery.com>
11686
11687 [BZ #7006]
11688 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11689 with a shift of 0 bits.
11690
f3bc5e5a
MR
116912013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11692
11693 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11694 $(tststatic-ENV).
11695
be09e8c9
KK
116962013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11697
11698 [BZ #15655]
11699 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11700
85c2e611
AZ
117012013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11702
11703 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11704 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11705 accepts -fno-tree-loop-distribute-patterns.
11706 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11707 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11708 recursive call.
11709 * string/memset.c (memset): Likewise.
11710 * string/test-memmove.c (simple_memmove): Disable loop transformation
11711 to library calls.
11712 * string/test-memset.c (simple_memset): Likewise.
11713 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11714 * benchtests/bench-memset.c (simple_memset): Likewise.
11715 * configure: Regenerated.
11716
c91e0825
JM
117172013-06-20 Joseph Myers <joseph@codesourcery.com>
11718
b8c792af
JM
11719 * math/test-misc.c (main): Ignore fesetround failure when failures
11720 of subsequent rounding tests would be ignored.
11721
c91e0825
JM
11722 [BZ #15654]
11723 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11724 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11725 * math/fegetenv.c (__fegetenv): Return 0.
11726 * math/fegetexcept.c (fegetexcept): Return 0.
11727 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11728 FE_TONEAREST.
11729 * math/feholdexcpt.c (feholdexcept): Return 0.
11730 * math/fesetenv.c (__fesetenv): Return 0.
11731 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11732 argument FE_TONEAREST.
11733 * math/feupdateenv.c (__feupdateenv): Return 0.
11734 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11735
bfcacbde
RM
117362013-06-18 Roland McGrath <roland@hack.frob.com>
11737
11738 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11739 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11740 ($(objpfx)rtld-%.os rules): Use them.
11741
e55a9b25
AZ
117422013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11743
11744 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11745 fields.
11746
346d65b3
RM
117472013-06-17 Roland McGrath <roland@hack.frob.com>
11748
12086fb4
RM
11749 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11750 length of target pattern, then descending length of dependency pattern.
11751 * configure.in (AWK): Require gawk 3.1.2 or newer.
11752 * manual/install.texi (Tools for Compilation): Say that we do.
11753 * configure: Regenerated.
11754
346d65b3
RM
11755 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11756 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11757 * scripts/sysd-rules.awk: ... this new script.
11758 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11759 than a glob-style pattern.
11760
1a846317
JM
117612013-06-17 Joseph Myers <joseph@codesourcery.com>
11762
11763 * math/test-misc.c (main): Do not treat incorrectly rounded
11764 conversions as failure unless ROUNDING_TESTS passes.
11765
8fc75e6f
JM
117662013-06-15 Joseph Myers <joseph@codesourcery.com>
11767
3711a167
JM
11768 [BZ #15631]
11769 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11770 restore exception state around main square root computation, then
11771 check for inexactness explicitly.
11772
8fc75e6f
JM
11773 * math/libm-test.inc (fma_test_data): Add another test.
11774
61dd6208
SP
117752013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11776
adf23d2c
SP
11777 * manual/threads.texi (Non-POSIX Extensions): New document
11778 node. Document pthread_getattr_default_np and
11779 pthread_setattr_default_np.
11780
61dd6208
SP
11781 * Versions.def (libpthread): Add GLIBC_2.18.
11782 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11784 Likewise.
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11786 Likewise.
11787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11788 Likewise.
11789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11790 Likewise.
11791 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11792 Likewise.
11793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11794 Likewise.
11795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11796 Likewise.
11797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11798 Likewise.
11799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11800 Likewise.
11801
d086fc7b
LD
118022013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11803
11804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11805 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11806
747ef469
SP
118072013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11808 H.J. Lu <hjl.tools@gmail.com>
11809
11810 [BZ #15627]
11811 * sysdeps/x86_64/rtld-memset.c: Remove file.
11812 * sysdeps/x86_64/rtld-memset.S: New file.
11813
1b2feed2
JM
118142013-06-14 Joseph Myers <joseph@codesourcery.com>
11815
11816 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11817 (test_in_one_mode): Take arguments for whether the rounding mode
11818 is supported for each floating-point type.
11819 (do_test): Pass new arguments to test_in_one_mode using
11820 ROUNDING_TESTS.
11821
a58ad3f8
RM
118222013-06-13 Roland McGrath <roland@hack.frob.com>
11823
11824 * posix/tst-waitid.c (do_test): Distinguish different instances of
11825 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11826 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11827 before entering the kernel for waitpid.
11828
c204ab28
SP
118292013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11830
11831 * NEWS: Fix note on clock function precision. Text by Roland
11832 McGrath.
11833
f4a29fba
RM
118342013-06-13 Roland McGrath <roland@hack.frob.com>
11835
11836 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11837 it into place only when and if the sanity check passes.
11838
1f24b9ad
JM
118392013-06-13 Joseph Myers <joseph@codesourcery.com>
11840
11841 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11842 output for whether conversion result is exact. Take argument
11843 indicating whether type is IBM long double.
11844 (round_for_all): Change need_exact field to ibm_ld.
11845 * stdlib/tst-strtod-round.c (struct exactness): New type.
11846 (struct test): Change bool ld_ok field to struct exactness exact.
11847 (TEST): Update all definitions for change to field.
11848 (tests): Regenerate array contents.
11849 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11850 field value. Check for IBM long double here.
11851 (do_test): Update calls to test_in_one_mode.
11852
58206c68
SP
118532013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11854
11855 [BZ #12515]
11856 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11857 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11858
2d6f4c5b 118592013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11860
11861 [BZ #15605]
11862 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11863 generated by the compiler on loop optimizations.
11864 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11865 general definitions.
11866
94f2c076
JM
118672013-06-12 Joseph Myers <joseph@codesourcery.com>
11868
11869 * math/bug-nextafter.c: Include <math-tests.h>.
11870 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11871 the relevant type.
11872 * math/bug-nexttoward.c: Include <math-tests.h>.
11873 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11874 the relevant type.
11875 * math/test-misc.c: Include <math-tests.h>.
11876 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11877 the relevant type.
11878
e0e50a0a
AJ
118792013-06-12 Andreas Jaeger <aj@suse.de>
11880
11881 * po/ia.po: Update Interlingua translation from translation
11882 project.
11883
25061094
SP
118842013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11885
11886 * include/fenv.h: Include stdbool.h.
11887 (struct rm_ctx): New structure.
11888 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11889 Define macro.
11890 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11891 (SET_RESTORE_ROUNDF): Likewise.
11892 (SET_RESTORE_ROUNDL): Likewise.
11893 (SET_RESTORE_ROUND_NOEX): Likewise.
11894 (SET_RESTORE_ROUND_NOEXF): Likewise.
11895 (SET_RESTORE_ROUND_NOEXL): Likewise.
11896 (SET_RESTORE_ROUND_53BIT): Likewise.
11897 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11898 (libc_feresetround_noexf_ctx): Likewise.
11899 (libc_feresetround_noexl_ctx): Likewise.
11900 (libc_feholdsetround_53bit_ctx): Likewise.
11901 (libc_feresetround_53bit_ctx): Likewise.
11902 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11903 (libc_feholdexcept_setround_sse_ctx): New function.
11904 (libc_fesetenv_sse_ctx): Likewise.
11905 (libc_feupdateenv_sse_ctx): Likewise.
11906 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11907 (libc_feholdexcept_setround_387_ctx): Likewise.
11908 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11909 (libc_feholdsetround_387_prec_ctx): Likewise.
11910 (libc_feholdsetround_387_ctx): Likewise.
11911 (libc_feholdsetround_387_53bit_ctx): Likewise.
11912 (libc_feholdsetround_sse_ctx): Likewise.
11913 (libc_feresetround_sse_ctx): Likewise.
11914 (libc_feresetround_387_ctx): Likewise.
11915 (libc_feupdateenv_387_ctx): Likewise.
11916 (libc_feholdexcept_setroundf_ctx): Define macro.
11917 (libc_fesetenvf_ctx): Likewise.
11918 (libc_feupdateenvf_ctx): Likewise.
11919 (libc_feholdsetroundf_ctx): Likewise.
11920 (libc_feresetroundf_ctx): Likewise.
11921 (libc_feholdexcept_setround_ctx): Likewise.
11922 (libc_fesetenv_ctx): Likewise.
11923 (libc_feupdateenv_ctx): Likewise.
11924 (libc_feholdsetround_ctx): Likewise.
11925 (libc_feresetround_ctx): Likewise.
11926 (libc_feholdexcept_setroundl_ctx): Likewise.
11927 (libc_feupdateenvl_ctx): Likewise.
11928 (libc_feholdsetroundl_ctx): Likewise.
11929 (libc_feresetroundl_ctx): Likewise.
11930 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11931 (libc_feresetround_53bit_ctx): Likewise.
11932
59b30555
SP
119332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11934
11935 * locale/iso-639.def: Convert to UTF-8.
11936
f1d73d30
JM
119372013-06-11 Joseph Myers <joseph@codesourcery.com>
11938
11939 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11940 (EXCEPTION_TESTS_double): Likewise.
11941 (EXCEPTION_TESTS_long_double): Likewise.
11942 (EXCEPTION_TESTS): Likewise.
11943 * math/libm-test.inc (test_exceptions): Only test exceptions if
11944 EXCEPTION_TESTS (FLOAT).
11945
94aca5e7
SP
119462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11947
11948 * benchtests/Makefile (string-bench): Add strcpy_chk and
11949 stpcpy_chk.
11950 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11951 * benchtests/bench-stpcpy_chk.c: New file.
11952 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11953 * benchtests/bench-strcpy_chk.c: New file.
11954 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11955 code.
11956 (do_test): Likewise.
11957
fac0c5f2
RA
119582013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11959
11960 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11961 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11962 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11963 with tabs where appropriate.
11964 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11965 dl-procinfo.h.
11966 [PPC_PLATFORM_PPC440]: Likewise.
11967 [PPC_PLATFORM_PPC464]: Likewise.
11968 [PPC_PLATFORM_PPC476]: Likewise.
11969 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11970 ppc464, and ppc476 platform strings merging from ports/
11971 dl-procinfo.h.
11972
f22bc486
AS
119732013-06-11 Andreas Schwab <schwab@suse.de>
11974
11975 [BZ #14991]
11976 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11977 (from_ucs4_idx): Regenerate.
11978 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11979 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11980 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11981 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11982 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11983 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11984 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11985 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11986 from FROM_LOOP and TO_LOOP specific macros.
11987 (BODY): Handle combining characters.
11988 * iconvdata/BIG5HKSCS.irreversible: Update.
11989 * iconvdata/BIG5HKSCS.precomposed: New file.
11990 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11991 characters.
11992 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11993
c1f75dc3
SP
119942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11995
4eacded2
SP
11996 * include/sys/time.h: Fix indentation and add copyright header.
11997
fec799f8
SP
11998 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11999 (do_test): Likewise.
12000 * string/test-memchr.c (do_one_test): Likewise.
12001 (do_test): Likewise.
12002 * string/test-memcmp.c (do_one_test): Likewise.
12003 (do_test): Likewise.
12004 * string/test-memcpy.c (do_one_test): Likewise.
12005 (do_test): Likewise.
12006 * string/test-memmem.c (do_one_test): Likewise.
12007 (do_test): Likewise.
12008 (do_random_tests): Likewise.
12009 * string/test-memmove.c (do_one_test): Likewise.
12010 (do_test): Likewise.
12011 * string/test-memset.c (do_one_test): Likewise.
12012 (do_test): Likewise.
12013 * string/test-rawmemchr.c (do_one_test): Likewise.
12014 (do_test): Likewise.
12015 * string/test-strcasecmp.c (do_one_test): Likewise.
12016 (do_test): Likewise.
12017 * string/test-strcasestr.c (do_one_test): Likewise.
12018 (do_test): Likewise.
12019 * string/test-strcat.c (do_one_test): Likewise.
12020 (do_test): Likewise.
12021 * string/test-strchr.c (do_one_test): Likewise.
12022 (do_test): Likewise.
12023 * string/test-strcmp.c (do_one_test): Likewise.
12024 (do_test): Likewise.
12025 * string/test-strcpy.c (do_one_test): Likewise.
12026 (do_test): Likewise.
12027 * string/test-string.h: Likewise.
12028 (test_init): Likewise.
12029 * string/test-strlen.c (do_one_test): Likewise.
12030 (do_test): Likewise.
12031 * string/test-strncasecmp.c (do_one_test): Likewise.
12032 (do_test): Likewise.
12033 * string/test-strncat.c (do_one_test): Likewise.
12034 (do_test): Likewise.
12035 * string/test-strncmp.c (do_one_test): Likewise.
12036 (do_test_limit): Likewise.
12037 (do_test): Likewise.
12038 * string/test-strncpy.c (do_one_test): Likewise.
12039 (do_test): Likewise.
12040 * string/test-strnlen.c (do_one_test): Likewise.
12041 (do_test): Likewise.
12042 * string/test-strpbrk.c (do_one_test): Likewise.
12043 (do_test): Likewise.
12044 * string/test-strrchr.c (do_one_test): Likewise.
12045 (do_test): Likewise.
12046 * string/test-strspn.c (do_one_test): Likewise.
12047 (do_test): Likewise.
12048 * string/test-strstr.c (do_one_test): Likewise.
12049 (do_test): Likewise.
12050
97020474
SP
12051 * benchtests/Makefile (string-bench): Add string benchmarks.
12052 * benchtests/bench-bcopy-ifunc.c: New file.
12053 * benchtests/bench-bcopy.c: New file.
12054 * benchtests/bench-bzero-ifunc.c: New file.
12055 * benchtests/bench-bzero.c: New file.
12056 * benchtests/bench-memccpy-ifunc.c: New file.
12057 * benchtests/bench-memccpy.c: New file.
12058 * benchtests/bench-memchr-ifunc.c: New file.
12059 * benchtests/bench-memchr.c: New file.
12060 * benchtests/bench-memcmp-ifunc.c: New file.
12061 * benchtests/bench-memcmp.c: New file.
12062 * benchtests/bench-memmem-ifunc.c: New file.
12063 * benchtests/bench-memmem.c: New file.
12064 * benchtests/bench-memmove-ifunc.c: New file.
12065 * benchtests/bench-memmove.c: New file.
12066 * benchtests/bench-mempcpy-ifunc.c: New file.
12067 * benchtests/bench-mempcpy.c: New file.
12068 * benchtests/bench-memset-ifunc.c: New file.
12069 * benchtests/bench-memset.c: New file.
12070 * benchtests/bench-rawmemchr-ifunc.c: New file.
12071 * benchtests/bench-rawmemchr.c: New file.
12072 * benchtests/bench-stpcpy-ifunc.c: New file.
12073 * benchtests/bench-stpcpy.c: New file.
12074 * benchtests/bench-stpncpy-ifunc.c: New file.
12075 * benchtests/bench-stpncpy.c: New file.
12076 * benchtests/bench-strcasecmp-ifunc.c: New file.
12077 * benchtests/bench-strcasecmp.c: New file.
12078 * benchtests/bench-strcasestr-ifunc.c: New file.
12079 * benchtests/bench-strcasestr.c: New file.
12080 * benchtests/bench-strcat-ifunc.c: New file.
12081 * benchtests/bench-strcat.c: New file.
12082 * benchtests/bench-strchr-ifunc.c: New file.
12083 * benchtests/bench-strchr.c: New file.
12084 * benchtests/bench-strchrnul-ifunc.c: New file.
12085 * benchtests/bench-strchrnul.c: New file.
12086 * benchtests/bench-strcmp-ifunc.c: New file.
12087 * benchtests/bench-strcmp.c: New file.
12088 * benchtests/bench-strcpy-ifunc.c: New file.
12089 * benchtests/bench-strcpy.c: New file.
12090 * benchtests/bench-strcspn-ifunc.c: New file.
12091 * benchtests/bench-strcspn.c: New file.
12092 * benchtests/bench-strlen-ifunc.c: New file.
12093 * benchtests/bench-strlen.c: New file.
12094 * benchtests/bench-strncasecmp-ifunc.c: New file.
12095 * benchtests/bench-strncasecmp.c: New file.
12096 * benchtests/bench-strncat-ifunc.c: New file.
12097 * benchtests/bench-strncat.c: New file.
12098 * benchtests/bench-strncmp-ifunc.c: New file.
12099 * benchtests/bench-strncmp.c: New file.
12100 * benchtests/bench-strncpy-ifunc.c: New file.
12101 * benchtests/bench-strncpy.c: New file.
12102 * benchtests/bench-strnlen-ifunc.c: New file.
12103 * benchtests/bench-strnlen.c: New file.
12104 * benchtests/bench-strpbrk-ifunc.c: New file.
12105 * benchtests/bench-strpbrk.c: New file.
12106 * benchtests/bench-strrchr-ifunc.c: New file.
12107 * benchtests/bench-strrchr.c: New file.
12108 * benchtests/bench-strspn-ifunc.c: New file.
12109 * benchtests/bench-strspn.c: New file.
12110 * benchtests/bench-strstr-ifunc.c: New file.
12111 * benchtests/bench-strstr.c: New file.
12112
c1f75dc3
SP
12113 * benchtests/Makefile: Disable parallel execution of targets.
12114 (string-bench): Add memcpy.
12115 (benchset): New variable to store a list of benchmark sets.
12116 (bench-func): Renamed from bench.
12117 (bench-set): New target.
12118 (bench): Depend on bench-func and bench-set.
12119 * benchtests/README: Add section on benchmark sets.
12120 * benchtests/bench-memcpy-ifunc.c: New file.
12121 * benchtests/bench-memcpy.c: New file.
12122 * benchtests/bench-string.h: New file.
12123
50fd745b
AS
121242013-06-11 Andreas Schwab <schwab@suse.de>
12125
12126 [BZ #15577]
12127 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12128 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12129 values in the triple.
12130 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12131 terminator in the group key.
12132
3ee7e9fe
AJ
121332013-06-11 Andreas Jaeger <aj@suse.de>
12134
12135 * po/zh_TW.po: Update Chinese (traditional) translation from
12136 translation project.
12137
89fb6835
SP
121382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12139
12140 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12141 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12142 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12144 (clock_getcpuclockid): Likewise.
12145 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12146 Add weak_alias and libc_hidden_def.
12147 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12148 * rt/clock_gettime.c (clock_gettime): Rename to
12149 __clock_gettime. Add weak_alias and libc_hidden_def.
12150 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12151 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12152 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12153 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12154 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12155 Likewise.
12156 * rt/clock_settime.c (clock_settime): Rename to
12157 __clock_settime. Add weak_alias and libc_hidden_def.
12158 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12159
0efa6f8b
JM
121602013-06-10 Joseph Myers <joseph@codesourcery.com>
12161
b8c61b4b
JM
12162 * mach/err_boot.sub: Remove trailing whitespace.
12163 * mach/err_ipc.sub: Likewise.
12164 * mach/err_mach.sub: Likewise.
12165
0efa6f8b
JM
12166 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12167 (ROUNDING_TESTS_double): Likewise.
12168 (ROUNDING_TESTS_long_double): Likewise.
12169 (ROUNDING_TESTS): Likewise.
12170 * math/libm-test.inc: Include <math-tests.h>.
12171 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12172 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12173 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12174 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12175
50b818bf
SP
121762013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12177
12178 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12179 of assigning.
12180
60d2f8f3
JM
121812013-06-08 Joseph Myers <joseph@codesourcery.com>
12182
4902d2c3
JM
12183 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12184 otherwise empty TRANS lines.
12185 * sysdeps/gnu/errlist.c: Regenerated.
12186
60d2f8f3
JM
12187 * catgets/gencat.c (error_print): Use (void) in function
12188 definition.
12189 * crypt/crypt_util.c (__init_des): Likewise.
12190 * crypt/speeds.c (Stop): Likewise.
12191 (main): Likewise.
12192 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12193 * inet/ruserpass.c (token): Likewise.
12194 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12195 * intl/localealias.c (extend_alias_table): Likewise.
12196 * intl/plural-exp.c (init_germanic_plural): Likewise.
12197 * libio/fcloseall.c (__fcloseall): Likewise.
12198 * libio/genops.c (_IO_flush_all): Likewise.
12199 (_IO_flush_all_linebuffered): Likewise.
12200 (_IO_cleanup): Likewise.
12201 (_IO_iter_begin): Likewise.
12202 (_IO_iter_end): Likewise.
12203 (_IO_list_lock): Likewise.
12204 (_IO_list_unlock): Likewise.
12205 (_IO_list_resetlock): Likewise.
12206 * libio/getchar.c (getchar): Likewise.
12207 * libio/getchar_u.c (getchar_unlocked): Likewise.
12208 * libio/getwchar.c (getwchar): Likewise.
12209 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12210 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12211 * login/getpt.c (__getpt): Likewise.
12212 * login/tst-utmp.c (main): Likewise.
12213 * malloc/hooks.c (__malloc_check_init): Likewise.
12214 * malloc/malloc.c (__malloc_stats): Likewise.
12215 * malloc/mtrace.c (tr_break): Likewise.
12216 (mtrace): Likewise.
12217 (muntrace): Likewise.
12218 * misc/fstab.c (endfsent): Likewise.
12219 * misc/getclktck.c (__getclktck): Likewise.
12220 * misc/getdtsz.c (__getdtablesize): Likewise.
12221 * misc/gethostid.c (gethostid): Likewise.
12222 * misc/getpagesize.c (__getpagesize): Likewise.
12223 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12224 (__get_nprocs): Likewise.
12225 (__get_phys_pages): Likewise.
12226 (__get_avphys_pages): Likewise.
12227 * misc/getttyent.c (getttyent): Likewise.
12228 (setttyent): Likewise.
12229 (endttyent): Likewise.
12230 * misc/getusershell.c (getusershell): Likewise.
12231 (endusershell): Likewise.
12232 (setusershell): Likewise.
12233 (initshells): Likewise.
12234 * misc/hsearch.c (__hdestroy): Likewise.
12235 * misc/sync.c (sync): Likewise.
12236 * misc/syslog.c (closelog_internal): Likewise.
12237 (closelog): Likewise.
12238 * misc/ttyslot.c (ttyslot): Likewise.
12239 * misc/vhangup.c (vhangup): Likewise.
12240 * posix/fork.c (__fork): Likewise.
12241 * posix/getegid.c (__getegid): Likewise.
12242 * posix/geteuid.c (__geteuid): Likewise.
12243 * posix/getgid.c (__getgid): Likewise.
12244 * posix/getpid.c (__getpid): Likewise.
12245 * posix/getppid.c (__getppid): Likewise.
12246 * posix/getuid.c (__getuid): Likewise.
12247 * posix/pause.c (pause): Likewise.
12248 * posix/setpgrp.c (setpgrp): Likewise.
12249 * posix/setsid.c (__setsid): Likewise.
12250 * posix/test-vfork.c (noop): Likewise.
12251 * resolv/gethnamaddr.c (_endhtent): Likewise.
12252 (_gethtent): Likewise.
12253 (ht_endhostent): Likewise.
12254 (gethostent): Likewise.
12255 (dns_service): Likewise.
12256 * stdlib/drand48.c (drand48): Likewise.
12257 * stdlib/lrand48.c (lrand48): Likewise.
12258 * stdlib/mrand48.c (mrand48): Likewise.
12259 * stdlib/rand.c (rand): Likewise.
12260 * stdlib/random.c (__random): Likewise.
12261 * stdlib/setenv.c (clearenv): Likewise.
12262 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12263 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12264 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12265 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12266 (__get_nprocs): Likewise.
12267 (__get_phys_pages): Likewise.
12268 (__get_avphys_pages): Likewise.
12269 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12270 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12271 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12272 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12273 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12274 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12275 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12276 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12277 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12278 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12279 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12280 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12281 * sysdeps/posix/clock.c (clock): Likewise.
12282 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12283 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12284 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12285 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12286 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12287 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12288 (__get_nprocs_conf): Likewise.
12289 (__get_phys_pages): Likewise.
12290 (__get_avphys_pages): Likewise.
12291 * time/clock.c (clock): Likewise.
12292 * time/tzset.c (__tzname_max): Likewise.
12293
2e09a79a
JM
122942013-06-07 Joseph Myers <joseph@codesourcery.com>
12295
12296 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12297 (__bswap_32): Do not use "register".
12298 * crypt/crypt.c (_ufc_doit_r): Likewise.
12299 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12300 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12301 * gmon/gmon.c (__monstartup): Likewise.
12302 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12303 * hurd/hurdmalloc.c (more_memory): Likewise.
12304 (malloc): Likewise.
12305 (free): Likewise.
12306 (realloc): Likewise.
12307 (malloc_fork_prepare): Likewise.
12308 (malloc_fork_parent): Likewise.
12309 (malloc_fork_child): Likewise.
12310 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12311 (_svcauth_des): Likewise.
12312 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12313 * inet/inet_net.c (inet_network): Likewise.
12314 * inet/inet_netof.c (inet_netof): Likewise.
12315 * inet/rcmd.c (__validuser2_sa): Likewise.
12316 * io/fts.c (fts_open): Likewise.
12317 (fts_load): Likewise.
12318 (fts_close): Likewise.
12319 (fts_read): Likewise.
12320 (fts_children): Likewise.
12321 (fts_build): Likewise.
12322 (fts_stat): Likewise.
12323 (fts_sort): Likewise.
12324 (fts_alloc): Likewise.
12325 (fts_lfree): Likewise.
12326 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12327 (_IO_file_xsgetn): Likewise.
12328 (_IO_file_xsgetn_mmap): Likewise.
12329 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12330 (_IO_cookie_write): Likewise.
12331 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12332 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12333 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12334 * malloc/obstack.c (_obstack_begin): Likewise.
12335 (_obstack_begin_1): Likewise.
12336 (_obstack_newchunk): Likewise.
12337 (_obstack_allocated_p): Likewise.
12338 (obstack_free): Likewise.
12339 (_obstack_memory_used): Likewise.
12340 * misc/getttyent.c (getttynam): Likewise.
12341 (getttyent): Likewise.
12342 (skip): Likewise.
12343 (value): Likewise.
12344 * misc/getusershell.c (initshells): Likewise.
12345 * misc/syslog.c (__vsyslog_chk): Likewise.
12346 * misc/ttyslot.c (ttyslot): Likewise.
12347 * nis/nis_hash.c (__nis_hash): Likewise.
12348 * posix/fnmatch_loop.c (FCT): Likewise.
12349 * posix/getconf.c (print_all): Likewise.
12350 (main): Likewise.
12351 * posix/getopt.c (exchange): Likewise.
12352 * posix/glob.c (globfree): Likewise.
12353 (prefix_array): Likewise.
12354 (__glob_pattern_type): Likewise.
12355 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12356 (NS_GET32): Likewise.
12357 (NS_PUT16): Likewise.
12358 (NS_PUT32): Likewise.
12359 * resolv/gethnamaddr.c (getanswer): Likewise.
12360 (gethostbyname2): Likewise.
12361 (gethostbyaddr): Likewise.
12362 (_gethtent): Likewise.
12363 (_gethtbyname2): Likewise.
12364 (_gethtbyaddr): Likewise.
12365 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12366 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12367 * resolv/res_init.c (__res_vinit): Likewise.
12368 (net_mask): Likewise.
12369 * resolv/res_mkquery.c (outchar): Likewise.
12370 (PRINT): Likewise.
12371 * stdio-common/printf_fp.c (outchar): Likewise.
12372 (PRINT): Likewise.
12373 * stdio-common/printf_fphex.c (outchar): Likewise.
12374 (PRINT): Likewise.
12375 * stdio-common/printf_size.c (outchar): Likewise.
12376 (PRINT): Likewise.
12377 * stdio-common/test_rdwr.c (main): Likewise.
12378 * stdio-common/tfformat.c (matches): Likewise.
12379 * stdio-common/vfprintf.c (outchar): Likewise.
12380 (printf_unknown): Likewise.
12381 (buffered_vfprintf): Likewise.
12382 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12383 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12384 (ReadFile): Likewise.
12385 * stdlib/qsort.c (SWAP): Likewise.
12386 (_quicksort): Likewise.
12387 * stdlib/setenv.c (__add_to_environ): Likewise.
12388 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12389 * stdlib/strtol_l.c (__strtol_l): Likewise.
12390 * stdlib/tst-strtod.c (main): Likewise.
12391 * stdlib/tst-strtol.c (main): Likewise.
12392 * stdlib/tst-strtoll.c (main): Likewise.
12393 * string/bits/string2.h (__strcmp_cc): Likewise.
12394 (__strcmp_cg): Likewise.
12395 (__strcspn_c1): Likewise.
12396 (__strcspn_c2): Likewise.
12397 (__strcspn_c3): Likewise.
12398 (__strspn_c1): Likewise.
12399 (__strspn_c2): Likewise.
12400 (__strspn_c3): Likewise.
12401 (__strsep_1c): Likewise.
12402 (__strsep_2c): Likewise.
12403 (__strsep_3c): Likewise.
12404 * string/memccpy.c (__memccpy): Likewise.
12405 * string/stpcpy.c (__stpcpy): Likewise.
12406 * string/strcmp.c (strcmp): Likewise.
12407 * string/strrchr.c (strrchr): Likewise.
12408 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12409 Likewise.
12410 * sysdeps/mach/hurd/getcwd.c
12411 (_hurd_canonicalize_directory_name_internal): Likewise.
12412 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12413 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12414 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12415 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12416 Likewise, in both definitions.
12417 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12418 definitions.
12419 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12420 64] (__bswap_64): Likewise.
12421 * time/test_time.c (main): Likewise.
12422 * time/tzfile.c (__tzfile_read): Likewise.
12423 (__tzfile_compute): Likewise.
12424 * time/tzset.c (__tzset_parse_tz): Likewise.
12425 (tzset_internal): Likewise.
12426 (compute_change): Likewise.
12427 * wcsmbs/wcscat.c (__wcscat): Likewise.
12428 * wcsmbs/wcschr.c (wcschr): Likewise.
12429 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12430 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12431 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12432 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12433 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12434 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12435 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12436 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12437 * wcsmbs/wmemset.c (wmemset): Likewise.
12438
9e54314b
JM
124392013-06-06 Joseph Myers <joseph@codesourcery.com>
12440
12441 * scripts/config.guess: Update to version 2013-05-16.
12442 * scripts/config.sub: Update to version 2013-04-24.
12443 * scripts/install-sh: Update to version 2011-11-20.07.
12444 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12445 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12446
350635a5
OB
124472013-06-06 Ondřej Bílka <neleai@seznam.cz>
12448
12449 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12450 * elf/sln.c: Likewise.
12451 * hurd/hurd/ioctl.h: Likewise.
12452 * hurd/hurdmalloc.c: Likewise.
12453 * hurd/xattr.c: Likewise.
12454 * include/shlib-compat.h: Likewise.
12455 * inet/ruserpass.c: Likewise.
12456 * libio/iofgets_u.c: Likewise.
12457 * libio/iofgetws_u.c: Likewise.
12458 * locale/programs/ld-identification.c: Likewise.
12459 * locale/programs/ld-time.c: Likewise.
12460 * mach/msg-destroy.c: Likewise.
12461 * nss/nss_files/files-netgrp.c: Likewise.
12462 * resolv/res_data.c: Likewise.
12463 * soft-fp/op-1.h: Likewise.
12464 * soft-fp/op-2.h: Likewise.
12465 * soft-fp/op-4.h: Likewise.
12466 * soft-fp/op-common.h: Likewise.
12467 * stdio-common/printf_fphex.c: Likewise.
12468 * stdlib/strtod_l.c: Likewise.
12469 * sunrpc/rpc/clnt.h: Likewise.
12470 * sysdeps/generic/framestate.c: Likewise.
12471 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12472 * sysdeps/i386/bsd-setjmp.S: Likewise.
12473 * sysdeps/i386/__longjmp.S: Likewise.
12474 * sysdeps/i386/setjmp.S: Likewise.
12475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12476 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12477 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12478 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12480 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12491 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12493 * sysdeps/ieee754/support.c: Likewise.
12494 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12495 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12496 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12497 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12498 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12499 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12500 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12501 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12502 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12503 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12504 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12505 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12506 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12507 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12508 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12509 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12510 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12512
44a988af
OB
125132013-06-05 Ondřej Bílka <neleai@seznam.cz>
12514
25506f09 12515 * posix/transbug.c: Remove executable mode.
44a988af 12516
9c84384c
JM
125172013-06-05 Joseph Myers <joseph@codesourcery.com>
12518
12519 * crypt/speeds.c: Remove trailing whitespace.
12520 * dlfcn/default.c: Likewise.
12521 * elf/ifuncdep2.c: Likewise.
12522 * elf/ifuncmain1.c: Likewise.
12523 * elf/ifuncmain1vis.c: Likewise.
12524 * elf/testobj.h: Likewise.
12525 * elf/tst-stackguard1.c: Likewise.
12526 * gmon/sys/gmon.h: Likewise.
12527 * hurd/hurdmsg.c: Likewise.
12528 * hurd/new-fd.c: Likewise.
12529 * hurd/ports-get.c: Likewise.
12530 * iconvdata/ibm1008_420.c: Likewise.
12531 * inet/tst-getni1.c: Likewise.
12532 * inet/tst-getni2.c: Likewise.
12533 * libio/ioungetc.c: Likewise.
12534 * libio/wfiledoalloc.c: Likewise.
12535 * manual/libm-err-tab.pl: Likewise.
12536 * math/w_dremf.c: Likewise.
12537 * misc/ftruncate.c: Likewise.
12538 * posix/bug-glob2.c: Likewise.
12539 * posix/tst-pcre.c: Likewise.
12540 * posix/wait4.c: Likewise.
12541 * resolv/README: Likewise.
12542 * resolv/res_debug.h: Likewise.
12543 * resolv/tst-inet_ntop.c: Likewise.
12544 * setjmp/bug269-setjmp.c: Likewise.
12545 * soft-fp/extended.h: Likewise.
12546 * soft-fp/op-1.h: Likewise.
12547 * soft-fp/op-2.h: Likewise.
12548 * soft-fp/op-4.h: Likewise.
12549 * soft-fp/op-8.h: Likewise.
12550 * soft-fp/testit.c: Likewise.
12551 * stdio-common/bug16.c: Likewise.
12552 * stdlib/random.c: Likewise.
12553 * sunrpc/rpcsvc/rquota.x: Likewise.
12554 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12555 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12557 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12558 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12559 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12560 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12561 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12562 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12563 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12564 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12565 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12566 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12567 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12583 * sysdeps/ieee754/s_lib_version.c: Likewise.
12584 * sysdeps/mach/hurd/check_fds.c: Likewise.
12585 * sysdeps/mach/hurd/getsockname.c: Likewise.
12586 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12587 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12588 * sysdeps/powerpc/bits/link.h: Likewise.
12589 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12590 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12591 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12592 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12593 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12594 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12595 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12596 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12597 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12599 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12600 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12601 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12602 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12603 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12604 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12605 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12606 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12607 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12608 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12609 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12610 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12611 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12612 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12613 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12614 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12615 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12616 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12617 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12618 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12620 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12621 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12622 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12623 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12624 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12625 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12626 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12627 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12628 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12629 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12630 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12631 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12632 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12633 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12634 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12635 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12636 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12637 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12638 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12639 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12641 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12642 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12643 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12644 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12645 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12646 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12647 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12648 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12649 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12650 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12651 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12652 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12653 * sysdeps/powerpc/sysdep.h: Likewise.
12654 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12655 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12656 * sysdeps/sh/dl-trampoline.S: Likewise.
12657 * sysdeps/sh/memset.S: Likewise.
12658 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12659 * sysdeps/sh/strlen.S: Likewise.
12660 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12661 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12662 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12663 * sysdeps/sparc/sparc32/rem.S: Likewise.
12664 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12665 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12666 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12667 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12668 * sysdeps/sparc/sparc32/urem.S: Likewise.
12669 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12670 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12671 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12672 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12673 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12674 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12675 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12676 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12677 * sysdeps/unix/bsd/times.c: Likewise.
12678 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12679 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12683 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12684 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12685 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12686 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12687 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12688 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12689 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12690 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12691 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12692 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12693 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12694 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12695 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12696 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12697 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12698 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12699 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12700 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12701 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12702 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12703 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12704 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12705 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12706 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12707 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12708 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12709 * sysdeps/x86_64/strcspn.S: Likewise.
12710
869378a5
RA
127112013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12712
12713 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12714 generated file. Regenerate properly from gen-translit.pl.
12715 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12716 locale/C-translit.h.
12717
840e2943
AS
127182013-06-05 Andreas Schwab <schwab@suse.de>
12719
12720 [BZ #15100]
12721 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12722 week as 6 instead of -1.
12723 * time/tst-strptime.c (day_tests): Add test case.
12724
4c60cb0c
SP
127252013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12726
12727 * sysdeps/generic/math_private.h
12728 (libc_feholdexcept_setround_53bit): Replace with
12729 libc_feholdsetround_53bit.
12730 (libc_feupdateenv_53bit): Replace with
12731 libc_feresetround_53bit.
12732 (SET_RESTORE_ROUND_53BIT): Adjust.
12733
d180203e
SP
127342013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12735
96df079a
SP
12736 * string/test-strchrnul.c: Add copyright header.
12737
d180203e
SP
12738 * posix/tst-getaddrinfo4.c: Increase test timeout.
12739
8b0ccb2d
CD
127402013-06-03 Carlos O'Donell <carlos@redhat.com>
12741
12742 [BZ #15536]
12743 * math/libm-test.inc (MAX_EXP): Remove
12744 (MIN_EXP): Define.
12745 (ulp): Use MIN_EXP - MANT_DIG.
12746 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12747
3b3c4d40
CD
127482013-05-31 Carlos O'Donell <carlos@redhat.com>
12749
12750 * po/be.po: Revert last change.
12751 * po/zh_CN.po: Likewise.
12752 * po/header.pot: Likewise.
12753
fab7ce3f
JM
127542013-05-31 Joseph Myers <joseph@codesourcery.com>
12755
12756 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12757 link-libc-deps to empty as target-specific variable.
12758 * Makerules (link-libc-args): New variable.
12759 (libc-for-link): Likewise.
12760 (link-libc-deps): Likewise.
12761 (lib%.so): Depend on $(link-libc-deps). Link with
12762 $(link-libc-args).
12763 (build-module): Link with $(link-libc-args).
12764 (build-module-asneeded): Likewise.
12765 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12766 list of objects.
12767 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12768 target-specific variable.
12769 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12770 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12771 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12772 libc.
12773 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12774 libc and ld.so.
12775 ($(objpfx)libpcprofile.so): Likewise.
12776 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12777 libc_nonshared.a.
12778 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12779 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12780 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12781 $(link-libc-deps).
12782 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12783 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12784 * login/Makefile ($(objpfx)libutil.so): Likewise.
12785 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12786 * math/Makefile ($(objpfx)libm.so): Likewise.
12787 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12788 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12789 variable instead of depending directly on libc.
12790 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12791 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12792 $(link-libc-deps).
12793 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12794 libc.
12795 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12796 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12797 ($(objpfx)libanl.so): Likewise.
12798 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12799 ld.so.
12800 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12801 $(link-libc-deps).
12802 * sysdeps/i386/fpu/Makefile: Remove file.
12803 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12804 ($(objpfx)libm.so): Remove dependency on ld.so.
12805
eca5920c
PF
128062013-05-30 Patsy Franklin <pfrankli@redhat.com>
12807
12808 [BZ # 15553]
12809 * nis/yp_xdr.c (XDRMAXNAME): Define.
12810 (XDRMAXRECORD): Define.
12811 (xdr_domainname): Use XDRMAXNAME.
12812 (xdr_mapname): Likewise.
12813 (xdr_peername): Likewise.
12814 (xdr_keydat): Use XDRMAXRECORD.
12815 (xdr_valdat): Likewise.
12816
128172013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12818
12819 [BZ #14256]
12820 * manual/errno.texi (ESTALE): Update to account for more than
12821 just NFS file systems.
12822 * sysdeps/gnu/errlist.c: Regenerated.
12823
b9375348
SP
128242013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12825
12826 [BZ #15465]
12827 * elf/Makefile (tests): Add tst-null-argv.
12828 (modules-names): Add tst-null-argv-lib.
12829 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12830 (tst-null-argv-ENV): Set environment for tst-null-argv.
12831 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12832 (RTLD_PROGNAME): New macro.
12833 * elf/tst-null-argv.c: New test case.
12834 * elf/tst-null-argv-lib.c: Library for test case.
12835 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12836 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12837 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12838 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12839 * elf/dl-init.c (call_init): Likewise.
12840 (_dl_init): Likewise.
12841 * elf/dl-load.c (print_search_path): Likewise.
12842 (_dl_map_object): Likewise.
12843 * elf/dl-lookup.c (do_lookup_x): Likewise.
12844 (add_dependency): Likewise.
12845 (_dl_lookup_symbol_x): Likewise.
12846 (_dl_debug_bindings): Likewise.
12847 * elf/dl-open.c (_dl_show_scope): Likewise.
12848 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12849 * elf/dl-version.c (match_symbol): Likewise.
12850 (_dl_check_map_versions): Likewise.
12851 * elf/rtld.c (dl_main): Likewise.
12852 (print_unresolved): Use RTLD_PROGNAME.
12853 (print_missing_version): Likewise.
12854 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12855 (elf_machine_rela): Likewise.
12856 * sysdeps/powerpc/powerpc32/dl-machine.c
12857 (__process_machine_rela): Likewise.
12858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12859 Likewise.
12860 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12861 Likewise.
12862 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12863 Likewise.
12864 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12865 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12866 Likewise.
12867 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12868 Likewise.
12869 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12870
8a9f20c8
CD
128712013-05-28 Carlos O'Donell <carlos@redhat.com>
12872
12873 * po/be.po: Add descriptive title.
12874 * po/zh_CN.po: Likewise.
12875 * po/header.pot: Likewise.
12876
0e60d68e
MF
128772013-05-28 Mike Frysinger <vapier@gentoo.org>
12878
12879 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12880 error message.
12881 (enlarge_archive): Likewise.
12882
56b672e9
BN
128832013-05-28 Ben North <ben@redfrontdoor.org>
12884
12885 * manual/arith.texi (frexp): It is the magnitude of the return
12886 value which lies in [0.5, 1), not the return value itself.
12887
5e056687
AZ
128882013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12889
12890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12891
2b66ef5d
TS
128922013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12893
528c2405
TS
12894 * stdio-common/bug26.c (main): Correct fscanf template.
12895
07b4c13d
TS
12896 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12897 declare _dl_skip_args.
12898
ec9dd97c
TS
12899 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12900 Don't declare.
12901
2b66ef5d
TS
12902 * manual/platform.texi: Add missing @end deftypefun.
12903
4f8dfe27
JM
129042013-05-24 Joseph Myers <joseph@codesourcery.com>
12905
0323d086
JM
12906 [BZ #15529]
12907 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12908 bit of mantissa of 2^16382.
12909 * math/libm-test.inc (hypot_test_data): Add more tests.
12910
dd4259b9
JM
12911 * math/libm-test.inc: Add drem and pow10 to list of tested
12912 functions.
12913 (pow10_test): New function.
12914 (drem_test): Likewise.
12915 (drem_test_tonearest): Likewise.
12916 (drem_test_towardzero): Likewise.
12917 (drem_test_downward): Likewise.
12918 (drem_test_upward): Likewise.
12919 (main): Call the new functions.
12920
4f8dfe27
JM
12921 * math/libm-test.inc (finite_test_data): Remove.
12922 (finite_test): Run tests from isfinite_test_data.
12923 (gamma_test_data): Remove.
12924 (gamma_test): Run tests from lgamma_test_data.
12925 * sysdeps/i386/fpu/libm-test-ulps: Update.
12926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12927
d116b7c4
AZ
129282013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12929
12930 * manual/platform.texi: Add PowerPC PPR function set documentation.
12931 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12932 implementation.
12933
e96e3767
CD
129342013-05-24 Carlos O'Donell <carlos@redhat.com>
12935
12936 * math/libm-test.inc (MAX_EXP): Define.
12937 (ULPDIFF): Define.
12938 (ulp): New function.
12939 (check_float_internal): Use ULPDIFF.
12940 (cpow_test): Disable failing test.
12941 (check_ulp): Test ulp() implemetnation.
12942 (main): Call check_ulp before starting tests.
12943
b679a606
JM
129442013-05-24 Joseph Myers <joseph@codesourcery.com>
12945
e8bdba36
JM
12946 * math/gen-libm-test.pl (generate_testfile): Do not handle
12947 START_DATA and END_DATA.
12948 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12949 END_DATA.
12950 (acos_tonearest_test_data): Likewise.
12951 (acos_towardzero_test_data): Likewise.
12952 (acos_downward_test_data): Likewise.
12953 (acos_upward_test_data): Likewise.
12954 (acosh_test_data): Likewise.
12955 (asin_test_data): Likewise.
12956 (asin_tonearest_test_data): Likewise.
12957 (asin_towardzero_test_data): Likewise.
12958 (asin_downward_test_data): Likewise.
12959 (asin_upward_test_data): Likewise.
12960 (asinh_test_data): Likewise.
12961 (atan_test_data): Likewise.
12962 (atanh_test_data): Likewise.
12963 (atan2_test_data): Likewise.
12964 (cabs_test_data): Likewise.
12965 (cacos_test_data): Likewise.
12966 (cacosh_test_data): Likewise.
12967 (carg_test_data): Likewise.
12968 (casin_test_data): Likewise.
12969 (casinh_test_data): Likewise.
12970 (catan_test_data): Likewise.
12971 (catanh_test_data): Likewise.
12972 (cbrt_test_data): Likewise.
12973 (ccos_test_data): Likewise.
12974 (ccosh_test_data): Likewise.
12975 (ceil_test_data): Likewise.
12976 (cexp_test_data): Likewise.
12977 (cimag_test_data): Likewise.
12978 (clog_test_data): Likewise.
12979 (clog10_test_data): Likewise.
12980 (conj_test_data): Likewise.
12981 (copysign_test_data): Likewise.
12982 (cos_test_data): Likewise.
12983 (cos_tonearest_test_data): Likewise.
12984 (cos_towardzero_test_data): Likewise.
12985 (cos_downward_test_data): Likewise.
12986 (cos_upward_test_data): Likewise.
12987 (cosh_test_data): Likewise.
12988 (cosh_tonearest_test_data): Likewise.
12989 (cosh_towardzero_test_data): Likewise.
12990 (cosh_downward_test_data): Likewise.
12991 (cosh_upward_test_data): Likewise.
12992 (cpow_test_data): Likewise.
12993 (cproj_test_data): Likewise.
12994 (creal_test_data): Likewise.
12995 (csin_test_data): Likewise.
12996 (csinh_test_data): Likewise.
12997 (csqrt_test_data): Likewise.
12998 (ctan_test_data): Likewise.
12999 (ctan_tonearest_test_data): Likewise.
13000 (ctan_towardzero_test_data): Likewise.
13001 (ctan_downward_test_data): Likewise.
13002 (ctan_upward_test_data): Likewise.
13003 (ctanh_test_data): Likewise.
13004 (ctanh_tonearest_test_data): Likewise.
13005 (ctanh_towardzero_test_data): Likewise.
13006 (ctanh_downward_test_data): Likewise.
13007 (ctanh_upward_test_data): Likewise.
13008 (erf_test_data): Likewise.
13009 (erfc_test_data): Likewise.
13010 (exp_test_data): Likewise.
13011 (exp_tonearest_test_data): Likewise.
13012 (exp_towardzero_test_data): Likewise.
13013 (exp_downward_test_data): Likewise.
13014 (exp_upward_test_data): Likewise.
13015 (exp10_test_data): Likewise.
13016 (exp2_test_data): Likewise.
13017 (expm1_test_data): Likewise.
13018 (fabs_test_data): Likewise.
13019 (fdim_test_data): Likewise.
13020 (finite_test_data): Likewise.
13021 (floor_test_data): Likewise.
13022 (fma_test_data): Likewise.
13023 (fma_towardzero_test_data): Likewise.
13024 (fma_downward_test_data): Likewise.
13025 (fma_upward_test_data): Likewise.
13026 (fmax_test_data): Likewise.
13027 (fmin_test_data): Likewise.
13028 (fmod_test_data): Likewise.
13029 (fpclassify_test_data): Likewise.
13030 (frexp_test_data): Likewise.
13031 (gamma_test_data): Likewise.
13032 (hypot_test_data): Likewise.
13033 (ilogb_test_data): Likewise.
13034 (isfinite_test_data): Likewise.
13035 (isgreater_test_data): Likewise.
13036 (isgreaterequal_test_data): Likewise.
13037 (isinf_test_data): Likewise.
13038 (isless_test_data): Likewise.
13039 (islessequal_test_data): Likewise.
13040 (islessgreater_test_data): Likewise.
13041 (isnan_test_data): Likewise.
13042 (isnormal_test_data): Likewise.
13043 (issignaling_test_data): Likewise.
13044 (isunordered_test_data): Likewise.
13045 (j0_test_data): Likewise.
13046 (j1_test_data): Likewise.
13047 (jn_test_data): Likewise.
13048 (ldexp_test_data): Likewise.
13049 (lgamma_test_data): Likewise.
13050 (lrint_test_data): Likewise.
13051 (lrint_tonearest_test_data): Likewise.
13052 (lrint_towardzero_test_data): Likewise.
13053 (lrint_downward_test_data): Likewise.
13054 (lrint_upward_test_data): Likewise.
13055 (llrint_test_data): Likewise.
13056 (llrint_tonearest_test_data): Likewise.
13057 (llrint_towardzero_test_data): Likewise.
13058 (llrint_downward_test_data): Likewise.
13059 (llrint_upward_test_data): Likewise.
13060 (log_test_data): Likewise.
13061 (log10_test_data): Likewise.
13062 (log1p_test_data): Likewise.
13063 (log2_test_data): Likewise.
13064 (logb_test_data): Likewise.
13065 (logb_downward_test_data): Likewise.
13066 (lround_test_data): Likewise.
13067 (llround_test_data): Likewise.
13068 (modf_test_data): Likewise.
13069 (nearbyint_test_data): Likewise.
13070 (nextafter_test_data): Likewise.
13071 (nexttoward_test_data): Likewise.
13072 (pow_test_data): Likewise.
13073 (pow_tonearest_test_data): Likewise.
13074 (pow_towardzero_test_data): Likewise.
13075 (pow_downward_test_data): Likewise.
13076 (pow_upward_test_data): Likewise.
13077 (remainder_test_data): Likewise.
13078 (remainder_tonearest_test_data): Likewise.
13079 (remainder_towardzero_test_data): Likewise.
13080 (remainder_downward_test_data): Likewise.
13081 (remainder_upward_test_data): Likewise.
13082 (remquo_test_data): Likewise.
13083 (rint_test_data): Likewise.
13084 (rint_tonearest_test_data): Likewise.
13085 (rint_towardzero_test_data): Likewise.
13086 (rint_downward_test_data): Likewise.
13087 (rint_upward_test_data): Likewise.
13088 (round_test_data): Likewise.
13089 (scalb_test_data): Likewise.
13090 (scalbn_test_data): Likewise.
13091 (scalbln_test_data): Likewise.
13092 (signbit_test_data): Likewise.
13093 (sin_test_data): Likewise.
13094 (sin_tonearest_test_data): Likewise.
13095 (sin_towardzero_test_data): Likewise.
13096 (sin_downward_test_data): Likewise.
13097 (sin_upward_test_data): Likewise.
13098 (sincos_test_data): Likewise.
13099 (sinh_test_data): Likewise.
13100 (sinh_tonearest_test_data): Likewise.
13101 (sinh_towardzero_test_data): Likewise.
13102 (sinh_downward_test_data): Likewise.
13103 (sinh_upward_test_data): Likewise.
13104 (sqrt_test_data): Likewise.
13105 (tan_test_data): Likewise.
13106 (tan_tonearest_test_data): Likewise.
13107 (tan_towardzero_test_data): Likewise.
13108 (tan_downward_test_data): Likewise.
13109 (tan_upward_test_data): Likewise.
13110 (tanh_test_data): Likewise.
13111 (tgamma_test_data): Likewise.
13112 (trunc_test_data): Likewise.
13113 (y0_test_data): Likewise.
13114 (y1_test_data): Likewise.
13115 (yn_test_data): Likewise.
13116 (significand_test_data): Likewise.
13117
b679a606
JM
13118 * math/gen-libm-test.pl (@functions): Remove variable.
13119 (generate_testfile): Don't handle START and END lines.
13120 * math/libm-test.inc (START): New macro.
13121 (END): Likewise.
13122 (END_COMPLEX): Likewise.
13123 (acos_test): Use END macro without arguments.
13124 (acos_test_tonearest): Likewise.
13125 (acos_test_towardzero): Likewise.
13126 (acos_test_downward): Likewise.
13127 (acos_test_upward): Likewise.
13128 (acosh_test): Likewise.
13129 (asin_test): Likewise.
13130 (asin_test_tonearest): Likewise.
13131 (asin_test_towardzero): Likewise.
13132 (asin_test_downward): Likewise.
13133 (asin_test_upward): Likewise.
13134 (asinh_test): Likewise.
13135 (atan_test): Likewise.
13136 (atanh_test): Likewise.
13137 (atan2_test): Likewise.
13138 (cabs_test): Likewise.
13139 (cacos_test): Use END_COMPLEX macro without arguments.
13140 (cacosh_test): Likewise.
13141 (carg_test): Use END macro without arguments.
13142 (casin_test): Use END_COMPLEX macro without arguments.
13143 (casinh_test): Likewise.
13144 (catan_test): Likewise.
13145 (catanh_test): Likewise.
13146 (cbrt_test): Use END macro without arguments.
13147 (ccos_test): Use END_COMPLEX macro without arguments.
13148 (ccosh_test): Likewise.
13149 (ceil_test): Use END macro without arguments.
13150 (cexp_test): Use END_COMPLEX macro without arguments.
13151 (cimag_test): Use END macro without arguments.
13152 (clog_test): Use END_COMPLEX macro without arguments.
13153 (clog10_test): Likewise.
13154 (conj_test): Likewise.
13155 (copysign_test): Use END macro without arguments.
13156 (cos_test): Likewise.
13157 (cos_test_tonearest): Likewise.
13158 (cos_test_towardzero): Likewise.
13159 (cos_test_downward): Likewise.
13160 (cos_test_upward): Likewise.
13161 (cosh_test): Likewise.
13162 (cosh_test_tonearest): Likewise.
13163 (cosh_test_towardzero): Likewise.
13164 (cosh_test_downward): Likewise.
13165 (cosh_test_upward): Likewise.
13166 (cpow_test): Use END_COMPLEX macro without arguments.
13167 (cproj_test): Likewise.
13168 (creal_test): Use END macro without arguments.
13169 (csin_test): Use END_COMPLEX macro without arguments.
13170 (csinh_test): Likewise.
13171 (csqrt_test): Likewise.
13172 (ctan_test): Likewise.
13173 (ctan_test_tonearest): Likewise.
13174 (ctan_test_towardzero): Likewise.
13175 (ctan_test_downward): Likewise.
13176 (ctan_test_upward): Likewise.
13177 (ctanh_test): Likewise.
13178 (ctanh_test_tonearest): Likewise.
13179 (ctanh_test_towardzero): Likewise.
13180 (ctanh_test_downward): Likewise.
13181 (ctanh_test_upward): Likewise.
13182 (erf_test): Use END macro without arguments.
13183 (erfc_test): Likewise.
13184 (exp_test): Likewise.
13185 (exp_test_tonearest): Likewise.
13186 (exp_test_towardzero): Likewise.
13187 (exp_test_downward): Likewise.
13188 (exp_test_upward): Likewise.
13189 (exp10_test): Likewise.
13190 (exp2_test): Likewise.
13191 (expm1_test): Likewise.
13192 (fabs_test): Likewise.
13193 (fdim_test): Likewise.
13194 (finite_test): Likewise.
13195 (floor_test): Likewise.
13196 (fma_test): Likewise.
13197 (fma_test_towardzero): Likewise.
13198 (fma_test_downward): Likewise.
13199 (fma_test_upward): Likewise.
13200 (fmax_test): Likewise.
13201 (fmin_test): Likewise.
13202 (fmod_test): Likewise.
13203 (fpclassify_test): Likewise.
13204 (frexp_test): Likewise.
13205 (gamma_test): Likewise.
13206 (hypot_test): Likewise.
13207 (ilogb_test): Likewise.
13208 (isfinite_test): Likewise.
13209 (isgreater_test): Likewise.
13210 (isgreaterequal_test): Likewise.
13211 (isinf_test): Likewise.
13212 (isless_test): Likewise.
13213 (islessequal_test): Likewise.
13214 (islessgreater_test): Likewise.
13215 (isnan_test): Likewise.
13216 (isnormal_test): Likewise.
13217 (issignaling_test): Likewise.
13218 (isunordered_test): Likewise.
13219 (j0_test): Likewise.
13220 (j1_test): Likewise.
13221 (jn_test): Likewise.
13222 (ldexp_test): Likewise.
13223 (lgamma_test): Likewise.
13224 (lrint_test): Likewise.
13225 (lrint_test_tonearest): Likewise.
13226 (lrint_test_towardzero): Likewise.
13227 (lrint_test_downward): Likewise.
13228 (lrint_test_upward): Likewise.
13229 (llrint_test): Likewise.
13230 (llrint_test_tonearest): Likewise.
13231 (llrint_test_towardzero): Likewise.
13232 (llrint_test_downward): Likewise.
13233 (llrint_test_upward): Likewise.
13234 (log_test): Likewise.
13235 (log10_test): Likewise.
13236 (log1p_test): Likewise.
13237 (log2_test): Likewise.
13238 (logb_test): Likewise.
13239 (logb_test_downward): Likewise.
13240 (lround_test): Likewise.
13241 (llround_test): Likewise.
13242 (modf_test): Likewise.
13243 (nearbyint_test): Likewise.
13244 (nextafter_test): Likewise.
13245 (nexttoward_test): Likewise.
13246 (pow_test): Likewise.
13247 (pow_test_tonearest): Likewise.
13248 (pow_test_towardzero): Likewise.
13249 (pow_test_downward): Likewise.
13250 (pow_test_upward): Likewise.
13251 (remainder_test): Likewise.
13252 (remainder_test_tonearest): Likewise.
13253 (remainder_test_towardzero): Likewise.
13254 (remainder_test_downward): Likewise.
13255 (remainder_test_upward): Likewise.
13256 (remquo_test): Likewise.
13257 (rint_test): Likewise.
13258 (rint_test_tonearest): Likewise.
13259 (rint_test_towardzero): Likewise.
13260 (rint_test_downward): Likewise.
13261 (rint_test_upward): Likewise.
13262 (round_test): Likewise.
13263 (scalb_test): Likewise.
13264 (scalbn_test): Likewise.
13265 (scalbln_test): Likewise.
13266 (signbit_test): Likewise.
13267 (sin_test): Likewise.
13268 (sin_test_tonearest): Likewise.
13269 (sin_test_towardzero): Likewise.
13270 (sin_test_downward): Likewise.
13271 (sin_test_upward): Likewise.
13272 (sincos_test): Likewise.
13273 (sinh_test): Likewise.
13274 (sinh_test_tonearest): Likewise.
13275 (sinh_test_towardzero): Likewise.
13276 (sinh_test_downward): Likewise.
13277 (sinh_test_upward): Likewise.
13278 (sqrt_test): Likewise.
13279 (tan_test): Likewise.
13280 (tan_test_tonearest): Likewise.
13281 (tan_test_towardzero): Likewise.
13282 (tan_test_downward): Likewise.
13283 (tan_test_upward): Likewise.
13284 (tanh_test): Likewise.
13285 (tgamma_test): Likewise.
13286 (trunc_test): Likewise.
13287 (y0_test): Likewise.
13288 (y1_test): Likewise.
13289 (yn_test): Likewise.
13290 (significand_test): Likewise.
13291
bae143d2
OB
132922013-05-24 Ondřej Bílka <neleai@seznam.cz>
13293
13294 [BZ #15381]
13295 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13296
9323d39b
EM
132972013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13298
d4ea44a0 13299 [BZ #14894]
9323d39b
EM
13300 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13301 __ppc_mdoio and __ppc_mdoom.
13302 * manual/platform.texi: Document new functions __ppc_yield,
13303 __ppc_mdoio and __ppc_mdoom.
13304
13e23af7
CD
133052013-05-22 Carlos O'Donell <carlos@redhat.com>
13306
13307 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13308 (main): Mention "tls" pseudo-hwcap is legacy.
13309 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13310
351fe550
JM
133112013-05-22 Joseph Myers <joseph@codesourcery.com>
13312
13313 * math/gen-libm-test.pl (parse_args): Output only string of
13314 arguments as text for test name, not full call or descriptions of
13315 tests for extra outputs.
13316 (generate_testfile): Do not pass function name to parse_args.
13317 Generate this_func variable from START.
13318 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13319 field to arg_str.
13320 (struct test_ff_f_data): Likewise.
13321 (test_ff_f_data_nexttoward): Likewise.
13322 (struct test_fi_f_data): Likewise.
13323 (struct test_fl_f_data): Likewise.
13324 (struct test_if_f_data): Likewise.
13325 (struct test_fff_f_data): Likewise.
13326 (struct test_c_f_data): Likewise.
13327 (struct test_f_f1_data): Likewise. Remove field extra_name.
13328 (struct test_fF_f1_data): Likewise.
13329 (struct test_ffI_f1_data): Likewise.
13330 (struct test_c_c_data): Rename test_name field to arg_str.
13331 (struct test_cc_c_data): Likewise.
13332 (struct test_f_i_data): Likewise.
13333 (struct test_ff_i_data): Likewise.
13334 (struct test_f_l_data): Likewise.
13335 (struct test_f_L_data): Likewise.
13336 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13337 and extra2_name.
13338 (COMMON_TEST_SETUP): New macro.
13339 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13340 (COMMON_TEST_CLEANUP): Likewise.
13341 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13342 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13343 macros.
13344 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13345 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13346 macros.
13347 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13348 (RUN_TEST_fff_f): Take argument string. Call new setup and
13349 cleanup macros.
13350 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13351 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13352 macros.
13353 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13354 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13355 macros.
13356 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13357 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13358 cleanup macros.
13359 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13360 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13361 cleanup macros.
13362 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13363 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13364 cleanup macros.
13365 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13366 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13367 macros.
13368 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13369 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13370 macros.
13371 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13372 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13373 macros.
13374 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13375 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13376 cleanup macros.
13377 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13378 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13379 cleanup macros.
13380 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13381 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13382 macros.
13383 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13384 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13385 cleanup macros.
13386 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13387 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13388 macros.
13389 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13390 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13391 macros.
13392 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13393 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13394 cleanup macros.
13395 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13396
85118d4d
EBM
133972013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13398
13399 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13400 to _sifields.sigfault.
13401 (si_addr_lsb): Define new macro.
13402 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13404 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13405
7a44c18f
CD
134062013-05-03 Carlos O'Donell <carlos at redhat.com>
13407
13408 [BZ #15441]
13409 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13410 returns -1.
13411 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13412 null return -1.
13413 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13414 loading the domain.
13415
b50a7181
JM
134162013-05-22 Joseph Myers <joseph@codesourcery.com>
13417
13418 * math/gen-libm-test.pl (parse_args): Do not include expected
13419 result in test name.
13420 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13422 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13423 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13426
051063c8
SP
134272013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13428
3ce9e010
SP
13429 * benchtests/Makefile: Sort function entries.
13430
051063c8
SP
13431 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13432 tanh, asinh, acosh, atanh.
13433 * benchtests/acos-inputs: New file.
13434 * benchtests/acosh-inputs: New file.
13435 * benchtests/asin-inputs: New file.
13436 * benchtests/asinh-inputs: New file.
13437 * benchtests/atanh-inputs: New file.
13438 * benchtests/cosh-inputs: New file.
13439 * benchtests/log-inputs: New file.
13440 * benchtests/sinh-inputs: New file.
13441 * benchtests/tanh-inputs: New file.
13442
47c22455
DL
134432013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13444
13445 [BZ #15339]
13446 * posix/tst-getaddrinfo4.c: New test.
13447 * posix/Makefile (tests): Add it.
13448
3d04f5db
SP
134492013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13450
13451 [BZ #15339]
13452 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13453 when no services were used.
13454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13455 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13456
d5dd6189
AS
134572013-05-21 Andreas Schwab <schwab@suse.de>
13458
13459 [BZ #15014]
13460 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13461 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13462 successful.
13463 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13464 redundant variable declarations and reallocation of buffer when
13465 parsing as IPv6 address. Always set NSS status when called from
13466 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13467 buffer too small. Correct computation of needed size.
13468 * nss/Makefile (tests): Add test-digits-dots.
13469 * nss/test-digits-dots.c: New test.
13470
fef94eab
SP
134712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13472
13473 * benchtests/Makefile: Remove instructions for adding
13474 benchmark tests.
13475 * benchtests/README: New file to explain how to execute and
13476 enhance the benchmark tests.
13477
e39adf43
AS
134782013-05-21 Andreas Schwab <schwab@suse.de>
13479
13480 [BZ #15493]
13481 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13482 * setjmp/tst-sigsetjmp.c: New test.
13483
b2b671b6
OB
134842013-05-20 Ondřej Bílka <neleai@seznam.cz>
13485
13486 * sysdeps/x86_64/memset.S (memset): New implementation.
13487 (__bzero): Likewise.
13488 (__memset_tail): New function.
13489
2d48b41c
OB
134902013-05-20 Ondřej Bílka <neleai@seznam.cz>
13491
13492 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13493 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13494 __memcpy_sse2_unaligned ifunc selection.
13495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13496 Add memcpy-sse2-unaligned.S.
13497 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13498 Add: __memcpy_sse2_unaligned.
13499
f16cc3eb
JM
135002013-05-19 Joseph Myers <joseph@codesourcery.com>
13501
3e694268
JM
13502 [BZ #15490]
13503 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13504 math_force_eval before restoring floating-point envrionment.
13505 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13506 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13507 Likewise.
13508 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13509 <math_private.h>.
13510 (__nearbyintl): Use math_force_eval before restoring
13511 floating-point environment.
13512 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13513
db62a907
JM
13514 * math/gen-libm-test.pl (special_functions): Remove.
13515 (parse_args): Don't handle TEST_extra. Handle functions with no
13516 return value.
13517 * math/libm-test.inc (struct test_sincos_data): Replace with
13518 struct test_fFF_11_data.
13519 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13520 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13521 (sincos_test_data): Change element type to struct
13522 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13523 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13524 RUN_TEST_LOOP_sincos.
13525 * math/README.libm-test: Don't mention special handling of
13526 individual functions.
13527 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13528 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13529 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13530 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13531 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13533
f16cc3eb
JM
13534 * math/gen-libm-test.pl (get_variable): Remove function.
13535 (parse_args): Don't show pointer parameters to call in test
13536 names. Use "extra output N" in test names for extra outputs
13537 rather than naming variables.
13538
3779b5b6
JM
135392013-05-18 Joseph Myers <joseph@codesourcery.com>
13540
2ee094ff
JM
13541 [BZ #15488]
13542 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13543 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13544 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13545 double tests.
13546 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13547 disable.
13548 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13549 check_long_double.
13550
3779b5b6
JM
13551 * math/gen-libm-test.pl (@tests): Remove variable.
13552 ($count): Likewise.
13553 (new_test): Remove function.
13554 (show_exceptions): New function.
13555 (special_functions): Use show_exceptions instead of new_test.
13556 (parse_args): Likewise.
13557 (generate_testfile): Pass only function name in generated call to
13558 print_max_error or print_complex_max_error.
13559 (get_ulps): Do not handle complex tests specially.
13560 (output_test): Rename to ...
13561 (get_all_ulps_for_test): ... this. Return a string rather than
13562 printing to a file. Require ulps to be present.
13563 (output_ulps): Generate arrays rather than #defines.
13564 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13565 (struct ulp_data): New type.
13566 (BUILD_COMPLEX_ULP): Remove macro.
13567 (compare_ulp_data): New function.
13568 (find_ulps): Likewise.
13569 (find_test_ulps): Likewise.
13570 (find_function_ulps): Likewise.
13571 (find_complex_function_ulps): Likewise.
13572 (print_max_error): Determine allowed ulps using
13573 find_function_ulps.
13574 (print_complex_max_error): Determine allowed ulps using
13575 find_complex_function_ulps.
13576 (check_float_internal): Determine max ulps using find_test_ulps.
13577 (check_float): Do not take max_ulp parameter. Update call to
13578 check_float_internal.
13579 (check_complex): Likewise.
13580 (check_int): Do not take max_ulp parameter.
13581 (check_long): Likewise.
13582 (check_bool): Likewise.
13583 (check_longlong): Likewise.
13584 (struct test_f_f_data): Remove max_ulp field.
13585 (struct test_ff_f_data): Likewise.
13586 (struct test_ff_f_data_nexttoward): Likewise.
13587 (struct test_fi_f_data): Likewise.
13588 (struct test_fl_f_data): Likewise.
13589 (struct test_if_f_data): Likewise.
13590 (struct test_fff_f_data): Likewise.
13591 (struct test_c_f_data): Likewise.
13592 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13593 (struct test_fF_f1_data): Likewise.
13594 (struct test_ffI_f1_data): Likewise.
13595 (struct test_c_c_data): Remove max_ulp field.
13596 (struct test_cc_c_data): Likewise.
13597 (struct test_f_i_data): Likewise.
13598 (struct test_ff_i_data): Likewise.
13599 (struct test_f_l_data): Likewise.
13600 (struct test_f_L_data): Likewise.
13601 (struct test_sincos_data): Likewise.
13602 (RUN_TEST_f_f): Do not handle ulps.
13603 (RUN_TEST_LOOP_f_f): Likewise.
13604 (RUN_TEST_2_f): Likewise.
13605 (RUN_TEST_LOOP_2_f): Likewise.
13606 (RUN_TEST_fff_f): Likewise.
13607 (RUN_TEST_LOOP_fff_f): Likewise.
13608 (RUN_TEST_c_f): Likewise.
13609 (RUN_TEST_LOOP_c_f): Likewise.
13610 (RUN_TEST_f_f1): Likewise.
13611 (RUN_TEST_LOOP_f_f1): Likewise.
13612 (RUN_TEST_fF_f1): Likewise.
13613 (RUN_TEST_LOOP_fF_f1): Likewise.
13614 (RUN_TEST_fI_f1): Likewise.
13615 (RUN_TEST_LOOP_fI_f1): Likewise.
13616 (RUN_TEST_ffI_f1): Likewise.
13617 (RUN_TEST_LOOP_ffI_f1): Likewise.
13618 (RUN_TEST_c_c): Likewise.
13619 (RUN_TEST_LOOP_c_c): Likewise.
13620 (RUN_TEST_cc_c): Likewise.
13621 (RUN_TEST_LOOP_cc_c): Likewise.
13622 (RUN_TEST_f_i): Likewise.
13623 (RUN_TEST_LOOP_f_i): Likewise.
13624 (RUN_TEST_f_i_tg): Likewise.
13625 (RUN_TEST_LOOP_f_i_tg): Likewise.
13626 (RUN_TEST_ff_i_tg): Likewise.
13627 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13628 (RUN_TEST_f_b): Likewise.
13629 (RUN_TEST_LOOP_f_b): Likewise.
13630 (RUN_TEST_f_b_tg): Likewise.
13631 (RUN_TEST_LOOP_f_b_tg): Likewise.
13632 (RUN_TEST_f_l): Likewise.
13633 (RUN_TEST_LOOP_f_l): Likewise.
13634 (RUN_TEST_f_L): Likewise.
13635 (RUN_TEST_LOOP_f_L): Likewise.
13636 (RUN_TEST_sincos): Likewise.
13637 (RUN_TEST_LOOP_sincos): Likewise.
13638
8269107f
JM
136392013-05-17 Joseph Myers <joseph@codesourcery.com>
13640
bb38759d
JM
13641 [BZ #15480]
13642 [BZ #15485]
13643 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13644 main case of finite arguments, set rounding mode to FE_TONEAREST
13645 and discard exceptions.
13646 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13647 exceptions.
13648 (remainder_tonearest_test_data): New variable.
13649 (remainder_test_tonearest): New function.
13650 (remainder_towardzero_test_data): New variable.
13651 (remainder_test_towardzero): New function.
13652 (remainder_downward_test_data): New variable.
13653 (remainder_test_downward): New function.
13654 (remainder_upward_test_data): New variable.
13655 (remainder_test_upward): New function.
13656 (main): Call the new test functions.
13657
a00bdcf0
JM
13658 * math/libm-test.inc (struct test_f_f1_data): Remove field
13659 extra_init.
13660 (struct test_fF_f1_data): Likewise.
13661 (struct test_ffI_f1_data): Likewise.
13662 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13663 based on value of EXTRA_EXPECTED.
13664 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13665 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13666 EXTRA_VAR based on value of EXTRA_EXPECTED.
13667 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13668 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13669 EXTRA_VAR based on value of EXTRA_EXPECTED.
13670 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13671 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13672 EXTRA_VAR based on value of EXTRA_EXPECTED.
13673 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13674 * math/gen-libm-test.pl (parse_args): Don't output initializers
13675 for extra output values.
13676
de407f79
JM
13677 * math/libm-test.inc (check_int): Expect result to be exactly
13678 equal to expected value and do not handle ulps.
13679 (check_long): Likewise.
13680 (check_longlong): Likewise.
13681
8269107f
JM
13682 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13683 exceptions.
13684 (cimag_test_data): Likewise.
13685 (conj_test_data): Likewise.
13686 (copysign_test_data): Likewise.
13687 (cproj_test_data): Likewise.
13688 (creal_test_data): Likewise.
13689 (fabs_test_data): Likewise.
13690 (fdim_test_data): Likewise.
13691 (finite_test_data): Likewise.
13692 (floor_test_data): Likewise.
13693 (fmax_test_data): Likewise.
13694 (fmin_test_data): Likewise.
13695 (fmod_test_data): Likewise.
13696 (fpclassify_test_data): Likewise.
13697 (frexp_test_data): Likewise.
13698 (ilogb_test_data): Likewise.
13699 (isfinite_test_data): Likewise.
13700 (isgreater_test_data): Likewise.
13701 (isgreaterequal_test_data): Likewise.
13702 (isinf_test_data): Likewise.
13703 (isless_test_data): Likewise.
13704 (islessequal_test_data): Likewise.
13705 (islessgreater_test_data): Likewise.
13706 (isnan_test_data): Likewise.
13707 (isnormal_test_data): Likewise.
13708 (issignaling_test_data): Likewise.
13709 (isunordered_test_data): Likewise.
13710 (ldexp_test_data): Likewise.
13711 (lrint_test_data): Likewise.
13712 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13713 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13714 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13715 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13716 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13717 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13718 test input.
13719 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13720 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13721 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13722 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13723 that test input.
13724 (lrint_downward_test_data): Test for "inexact" exceptions.
13725 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13726 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13727 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13728 test input.
13729 (lrint_upward_test_data): Test for "inexact" exceptions.
13730 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13731 test input.
13732 (llrint_test_data): Test for "inexact" exceptions.
13733 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13734 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13735 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13736 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13737 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13738 (llrint_downward_test_data): Test for "inexact" exceptions.
13739 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13740 (llrint_upward_test_data): Test for "inexact" exceptions.
13741 (logb_test_data): Likewise.
13742 (logb_downward_test_data): Likewise.
13743 (nextafter_test_data): Likewise.
13744 (nexttoward_test_data): Likewise.
13745 (remainder_test_data): Likewise.
13746 (remquo_test_data): Likewise.
13747 (scalbn_test_data): Likewise.
13748 (scalbln_test_data): Likewise.
13749 (signbit_test_data): Likewise.
13750 (sqrt_test_data): Likewise.
13751 (significand_test_data): Likewise.
13752
48a18de1
SP
137532013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13754
13755 [BZ #15424]
13756 * benchtests/bench-modf.c (struct args): Mark arg0 as
13757 volatile.
13758 * scripts/bench.pl: Mark members of struct args as volatile.
13759
13d3b41a
AZ
137602013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13761
68191c1d 13762 [BZ # 15497]
13d3b41a
AZ
13763 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13764 negative infinity on POWER6 or lower.
13765 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13766
2848b105
MR
137672013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13768
13769 [BZ #15442]
13770 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13771 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13772 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13773 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13774 (_FP_SETQNAN): New macro.
13775 (_FP_SETQNAN_SEMIRAW): Likewise.
13776 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13777 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13778 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13779 (FP_EXTEND): Use _FP_FRAC_SNANP.
13780 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13781 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13782 into account.
13783 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13784 New macro.
13785 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13786 Likewise.
13787
323e5cb7
JM
137882013-05-16 Joseph Myers <joseph@codesourcery.com>
13789
c58b274f
JM
13790 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13791 with DIVIDE_BY_ZERO_EXCEPTION.
13792 (gamma_test_data): Likewise.
13793 (lgamma_test_data): Likewise.
13794 (log_test_data): Likewise.
13795 (log10_test_data): Likewise.
13796 (log2_test_data): Likewise.
13797 (tgamma_test_data): Likewise.
13798
0ab34904
JM
13799 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13800 (acos_test_tonearest): Likewise.
13801 (acos_test_towardzero): Likewise.
13802 (acos_test_downward): Likewise.
13803 (acos_test_upward): Likewise.
13804 (acosh_test): Likewise.
13805 (asin_test): Likewise.
13806 (asin_test_tonearest): Likewise.
13807 (asin_test_towardzero): Likewise.
13808 (asin_test_downward): Likewise.
13809 (asin_test_upward): Likewise.
13810 (asinh_test): Likewise.
13811 (atan_test): Likewise.
13812 (atanh_test): Likewise.
13813 (atan2_test): Likewise.
13814 (cabs_test): Likewise.
13815 (cacos_test): Likewise.
13816 (cacosh_test): Likewise.
13817 (casin_test): Likewise.
13818 (casinh_test): Likewise.
13819 (catan_test): Likewise.
13820 (catanh_test): Likewise.
13821 (cbrt_test): Likewise.
13822 (ccos_test): Likewise.
13823 (ccosh_test): Likewise.
13824 (cexp_test): Likewise.
13825 (clog_test): Likewise.
13826 (clog10_test): Likewise.
13827 (cos_test): Likewise.
13828 (cos_test_tonearest): Likewise.
13829 (cos_test_towardzero): Likewise.
13830 (cos_test_downward): Likewise.
13831 (cos_test_upward): Likewise.
13832 (cosh_test): Likewise.
13833 (cosh_test_tonearest): Likewise.
13834 (cosh_test_towardzero): Likewise.
13835 (cosh_test_downward): Likewise.
13836 (cosh_test_upward): Likewise.
13837 (cpow_test): Likewise.
13838 (csin_test): Likewise.
13839 (csinh_test): Likewise.
13840 (csqrt_test): Likewise.
13841 (ctan_test): Likewise.
13842 (ctan_test_tonearest): Likewise.
13843 (ctan_test_towardzero): Likewise.
13844 (ctan_test_downward): Likewise.
13845 (ctan_test_upward): Likewise.
13846 (ctanh_test): Likewise.
13847 (ctanh_test_tonearest): Likewise.
13848 (ctanh_test_towardzero): Likewise.
13849 (ctanh_test_downward): Likewise.
13850 (ctanh_test_upward): Likewise.
13851 (erf_test): Likewise.
13852 (erfc_test): Likewise.
13853 (exp_test): Likewise.
13854 (exp_test_tonearest): Likewise.
13855 (exp_test_towardzero): Likewise.
13856 (exp_test_downward): Likewise.
13857 (exp_test_upward): Likewise.
13858 (exp10_test): Likewise.
13859 (exp2_test): Likewise.
13860 (expm1_test): Likewise.
13861 (fmod_test): Likewise.
13862 (gamma_test): Likewise.
13863 (hypot_test): Likewise.
13864 (j0_test): Likewise.
13865 (j1_test): Likewise.
13866 (jn_test): Likewise.
13867 (lgamma_test): Likewise.
13868 (log_test): Likewise.
13869 (log10_test): Likewise.
13870 (log1p_test): Likewise.
13871 (log2_test): Likewise.
13872 (logb_test_downward): Likewise.
13873 (pow_test): Likewise.
13874 (pow_test_tonearest): Likewise.
13875 (pow_test_towardzero): Likewise.
13876 (pow_test_downward): Likewise.
13877 (pow_test_upward): Likewise.
13878 (remainder_test): Likewise.
13879 (remquo_test): Likewise.
13880 (sin_test): Likewise.
13881 (sin_test_tonearest): Likewise.
13882 (sin_test_towardzero): Likewise.
13883 (sin_test_downward): Likewise.
13884 (sin_test_upward): Likewise.
13885 (sincos_test): Likewise.
13886 (sinh_test): Likewise.
13887 (sinh_test_tonearest): Likewise.
13888 (sinh_test_towardzero): Likewise.
13889 (sinh_test_downward): Likewise.
13890 (sinh_test_upward): Likewise.
13891 (sqrt_test): Likewise.
13892 (tan_test): Likewise.
13893 (tan_test_tonearest): Likewise.
13894 (tan_test_towardzero): Likewise.
13895 (tan_test_downward): Likewise.
13896 (tan_test_upward): Likewise.
13897 (tanh_test): Likewise.
13898 (tgamma_test): Likewise.
13899 (y0_test): Likewise.
13900 (y1_test): Likewise.
13901 (yn_test): Likewise.
13902
323e5cb7
JM
13903 * math/gen-libm-test.pl (adjust_arg): Remove function.
13904 (special_function): Remove argument $in_func. Only handle
13905 generating output for tables of tests, not inside functions.
13906 (parse_args): Likewise.
13907 (generate_testfile): Remove variable $in_func. Update call to
13908 parse_args.
13909 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13910 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13911 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13912 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13913 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13914 (MAX_VALUE_INIT): Rename macro to max_value.
13915 (MIN_VALUE_INIT): Rename macro to min_value.
13916 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13917 (plus_zero): Remove variable.
13918 (minus_zero): Likewise.
13919 (plus_infty): Likewise.
13920 (minus_infty): Likewise.
13921 (qnan_value): Likewise.
13922 (max_value): Likewise.
13923 (min_value): Likewise.
13924 (min_subnorm_value): Likewise.
13925
e054f494
RA
139262013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13927
13928 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13929 uint64_t or uint32_t usage.
13930 * crypt/sha256-block.c: Likewise.
13931 * crypt/sha256-crypt.c: Likewise.
13932 * crypt/sha256.c: Likewise.
13933 * crypt/sha512-block.c: Likewise.
13934 * crypt/sha512-crypt.c: Likewise.
13935 * crypt/sha512.c: Likewise.
13936 * debug/backtrace-tst.c: Likewise.
13937 * debug/pcprofiledump.c: Likewise.
13938 * elf/cache.c: Likewise.
13939 * elf/dl-cache.c: Likewise.
13940 * elf/dl-misc.c: Likewise.
13941 * elf/dl-profile.c: Likewise.
13942 * elf/dl-support.c: Likewise.
13943 * elf/ldconfig.c: Likewise.
13944 * elf/sprof.c: Likewise.
13945 * iconv/dummy-repertoire.c: Likewise.
13946 * iconv/iconv_charmap.c: Likewise.
13947 * iconv/skeleton.c: Likewise.
13948 * iconvdata/8bit-generic.c: Likewise.
13949 * iconvdata/cp737.h: Likewise.
13950 * iconvdata/cp775.h: Likewise.
13951 * iconvdata/ibm1008.h: Likewise.
13952 * iconvdata/ibm1025.h: Likewise.
13953 * iconvdata/ibm1046.h: Likewise.
13954 * iconvdata/ibm1097.h: Likewise.
13955 * iconvdata/ibm1112.h: Likewise.
13956 * iconvdata/ibm1122.h: Likewise.
13957 * iconvdata/ibm1123.h: Likewise.
13958 * iconvdata/ibm1124.h: Likewise.
13959 * iconvdata/ibm1129.h: Likewise.
13960 * iconvdata/ibm1130.h: Likewise.
13961 * iconvdata/ibm1132.h: Likewise.
13962 * iconvdata/ibm1133.h: Likewise.
13963 * iconvdata/ibm1137.h: Likewise.
13964 * iconvdata/ibm1140.h: Likewise.
13965 * iconvdata/ibm1141.h: Likewise.
13966 * iconvdata/ibm1142.h: Likewise.
13967 * iconvdata/ibm1143.h: Likewise.
13968 * iconvdata/ibm1144.h: Likewise.
13969 * iconvdata/ibm1145.h: Likewise.
13970 * iconvdata/ibm1146.h: Likewise.
13971 * iconvdata/ibm1147.h: Likewise.
13972 * iconvdata/ibm1148.h: Likewise.
13973 * iconvdata/ibm1149.h: Likewise.
13974 * iconvdata/ibm1153.h: Likewise.
13975 * iconvdata/ibm1154.h: Likewise.
13976 * iconvdata/ibm1155.h: Likewise.
13977 * iconvdata/ibm1156.h: Likewise.
13978 * iconvdata/ibm1157.h: Likewise.
13979 * iconvdata/ibm1158.h: Likewise.
13980 * iconvdata/ibm1160.h: Likewise.
13981 * iconvdata/ibm1161.h: Likewise.
13982 * iconvdata/ibm1162.h: Likewise.
13983 * iconvdata/ibm1163.h: Likewise.
13984 * iconvdata/ibm1164.h: Likewise.
13985 * iconvdata/ibm1166.h: Likewise.
13986 * iconvdata/ibm1167.h: Likewise.
13987 * iconvdata/ibm12712.h: Likewise.
13988 * iconvdata/ibm1390.h: Likewise.
13989 * iconvdata/ibm1399.h: Likewise.
13990 * iconvdata/ibm16804.h: Likewise.
13991 * iconvdata/ibm4517.h: Likewise.
13992 * iconvdata/ibm4899.h: Likewise.
13993 * iconvdata/ibm4909.h: Likewise.
13994 * iconvdata/ibm4971.h: Likewise.
13995 * iconvdata/ibm5347.h: Likewise.
13996 * iconvdata/ibm803.h: Likewise.
13997 * iconvdata/ibm856.h: Likewise.
13998 * iconvdata/ibm901.h: Likewise.
13999 * iconvdata/ibm902.h: Likewise.
14000 * iconvdata/ibm9030.h: Likewise.
14001 * iconvdata/ibm9066.h: Likewise.
14002 * iconvdata/ibm921.h: Likewise.
14003 * iconvdata/ibm922.h: Likewise.
14004 * iconvdata/ibm9448.h: Likewise.
14005 * iconvdata/isiri-3342.h: Likewise.
14006 * iconvdata/jis0201.h: Likewise.
14007 * include/link.h: Likewise.
14008 * include/netdb.h: Likewise.
14009 * inet/check_native.c: Likewise.
14010 * inet/check_pf.c: Likewise.
14011 * inet/getipv4sourcefilter.c: Likewise.
14012 * inet/getnameinfo.c: Likewise.
14013 * inet/getsourcefilter.c: Likewise.
14014 * inet/htonl.c: Likewise.
14015 * inet/setipv4sourcefilter.c: Likewise.
14016 * inet/setsourcefilter.c: Likewise.
14017 * inet/test-inet6_opt.c: Likewise.
14018 * inet/tst-network.c: Likewise.
14019 * locale/C-collate.c: Likewise.
14020 * locale/C-ctype.c: Likewise.
14021 * locale/C-time.c: Likewise.
14022 * locale/C-translit.h: Likewise.
14023 * locale/loadarchive.c: Likewise.
14024 * locale/programs/3level.h: Likewise.
14025 * locale/programs/charmap.c: Likewise.
14026 * locale/programs/charmap.h: Likewise.
14027 * locale/programs/ld-address.c: Likewise.
14028 * locale/programs/ld-collate.c: Likewise.
14029 * locale/programs/ld-ctype.c: Likewise.
14030 * locale/programs/ld-identification.c: Likewise.
14031 * locale/programs/ld-measurement.c: Likewise.
14032 * locale/programs/ld-messages.c: Likewise.
14033 * locale/programs/ld-monetary.c: Likewise.
14034 * locale/programs/ld-name.c: Likewise.
14035 * locale/programs/ld-numeric.c: Likewise.
14036 * locale/programs/ld-paper.c: Likewise.
14037 * locale/programs/ld-telephone.c: Likewise.
14038 * locale/programs/ld-time.c: Likewise.
14039 * locale/programs/linereader.c: Likewise.
14040 * locale/programs/locale.c: Likewise.
14041 * locale/programs/locarchive.c: Likewise.
14042 * locale/programs/locfile.h: Likewise.
14043 * locale/programs/repertoire.c: Likewise.
14044 * locale/programs/simple-hash.c: Likewise.
14045 * locale/programs/simple-hash.h: Likewise.
14046 * malloc/memusage.c: Likewise.
14047 * malloc/memusagestat.c: Likewise.
14048 * nis/nis_defaults.c: Likewise.
14049 * nis/nis_hash.c: Likewise.
14050 * nis/nis_print.c: Likewise.
14051 * nis/nis_xdr.c: Likewise.
14052 * nscd/connections.c: Likewise.
14053 * nscd/hstcache.c: Likewise.
14054 * nscd/nscd_gethst_r.c: Likewise.
14055 * nscd/nscd_getserv_r.c: Likewise.
14056 * nscd/nscd_helper.c: Likewise.
14057 * nscd/servicescache.c: Likewise.
14058 * nss/makedb.c: Likewise.
14059 * nss/nss_db/db-XXX.c: Likewise.
14060 * nss/nss_db/db-initgroups.c: Likewise.
14061 * nss/nss_db/db-netgrp.c: Likewise.
14062 * nss/nss_files/files-network.c: Likewise.
14063 * nss/nss_files/files-parse.c: Likewise.
14064 * posix/bug-regex5.c: Likewise.
14065 * posix/fnmatch_loop.c: Likewise.
14066 * posix/regcomp.c: Likewise.
14067 * posix/regexec.c: Likewise.
14068 * posix/tst-rfc3484-2.c: Likewise.
14069 * posix/tst-rfc3484-3.c: Likewise.
14070 * posix/tst-rfc3484.c: Likewise.
14071 * resolv/nss_dns/dns-canon.c: Likewise.
14072 * resolv/nss_dns/dns-network.c: Likewise.
14073 * resolv/res_init.c: Likewise.
14074 * resolv/res_mkquery.c: Likewise.
14075 * resolv/tst-aton.c: Likewise.
14076 * stdlib/cxa_atexit.c: Likewise.
14077 * stdlib/cxa_finalize.c: Likewise.
14078 * stdlib/gen-fpioconst.c: Likewise.
14079 * stdlib/strtol_l.c: Likewise.
14080 * string/tst-endian.c: Likewise.
14081 * sunrpc/auth_des.c: Likewise.
14082 * sunrpc/clnt_udp.c: Likewise.
14083 * sunrpc/rtime.c: Likewise.
14084 * sunrpc/svcauth_des.c: Likewise.
14085 * sunrpc/xdr.c: Likewise.
14086 * sunrpc/xdr_intXX_t.c: Likewise.
14087 * sunrpc/xdr_rec.c: Likewise.
14088 * sysdeps/generic/ldconfig.h: Likewise.
14089 * sysdeps/generic/ldsodefs.h: Likewise.
14090 * sysdeps/generic/memusage.h: Likewise.
14091 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14094 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14101 * sysdeps/posix/getaddrinfo.c: Likewise.
14102 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14103 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14104 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14105 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14106 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14107 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14108 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14109 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14110 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14111 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14112 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14113 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14114 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14115 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14116 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14117 * sysdeps/x86_64/dl-tls.h: Likewise.
14118 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14119 * time/alt_digit.c: Likewise.
14120 * time/era.c: Likewise.
14121 * wcsmbs/tst-c16c32-1.c: Likewise.
14122
8c75f674
JM
141232013-05-16 Joseph Myers <joseph@codesourcery.com>
14124
14125 * math/libm-test.inc (struct test_sincos_data): New type.
14126 (RUN_TEST_LOOP_sincos): New macro.
14127 (sincos_test_data): New variable.
14128 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14129
e6e49e59
RH
141302013-05-16 Richard Henderson <rth@redhat.com>
14131
14132 * math/atest-exp2.c (LIMB64): New macro.
14133 (CONSTSZ): New macro.
14134 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14135 (hexdig): Move ...
14136 (print_mpn_fp): ... to function scope.
14137 (read_mpn_hex): Remove.
14138 (get_log2): Remove.
14139 (exp2_mpn): Use mp_log2.
14140 (main): Use mp_exp1.
14141
15c7c18d
JM
141422013-05-16 Joseph Myers <joseph@codesourcery.com>
14143
105a07df
JM
14144 * math/libm-test.inc: Remove comment about not testing "inexact"
14145 exceptions.
14146 (INEXACT_EXCEPTION): New macro.
14147 (NO_INEXACT_EXCEPTION): Likewise.
14148 (INVALID_EXCEPTION_OK): Update value.
14149 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14150 (OVERFLOW_EXCEPTION_OK): Likewise.
14151 (UNDERFLOW_EXCEPTION_OK): Likewise.
14152 (IGNORE_ZERO_INF_SIGN): Likewise.
14153 (ERRNO_UNCHANGED): Likewise.
14154 (ERRNO_EDOM): Likewise.
14155 (ERRNO_ERANGE): Likewise.
14156 (test_exceptions): Handle testing "inexact" exceptions.
14157 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14158 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14159 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14160 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14161 INEXACT_EXCEPTION.
14162 (rint_towardzero_test_data): Likewise.
14163 (rint_downward_test_data): Likewise.
14164 (rint_upward_test_data): Likewise.
14165
e9eee333
JM
14166 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14167 with OVERFLOW_EXCEPTION.
14168 (exp10_test_data): Likewise.
14169 (exp2_test_data): Likewise.
14170 (expm1_test_data): Likewise.
14171 (lgamma_test_data): Likewise.
14172 (pow_test_data): Likewise.
14173 (tgamma_test_data): Likewise.
14174 (yn_test_data): Remove duplicate test of overflow.
14175
1c38ff73
JM
14176 * math/libm-test.inc (struct test_cc_c_data): New type.
14177 (RUN_TEST_LOOP_cc_c): New macro.
14178 (cpow_test_data): New variable.
14179 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14180
15c7c18d
JM
14181 * math/libm-test.inc (struct test_f_L_data): New type.
14182 (RUN_TEST_LOOP_f_L): New macro.
14183 (llrint_test_data): New variable.
14184 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14185 (llrint_tonearest_test_data): New variable.
14186 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14187 (llrint_towardzero_test_data): New variable.
14188 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14189 (llrint_downward_test_data): New variable.
14190 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14191 (llrint_upward_test_data): New variable.
14192 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14193 (llround_test_data): New variable.
14194 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14195
f137ff13
PC
141962013-05-13 Peter Collingbourne <pcc@google.com>
14197
14198 * math/atest-exp2.c (get_log2): Remove const attribute.
14199
3608cb24
JM
142002013-05-15 Joseph Myers <joseph@codesourcery.com>
14201
14202 * math/libm-test.inc (struct test_f_l_data): New type.
14203 (RUN_TEST_LOOP_f_l): New macro.
14204 (lrint_test_data): New variable.
14205 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14206 (lrint_tonearest_test_data): New variable.
14207 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14208 (lrint_towardzero_test_data): New variable.
14209 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14210 (lrint_downward_test_data): New variable.
14211 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14212 (lrint_upward_test_data): New variable.
14213 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14214 (lround_test_data): New variable.
14215 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14216
39b1f617
PC
142172013-05-15 Peter Collingbourne <pcc@google.com>
14218
1deff3dc
PC
14219 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14220 (EXTRACT_WORDS64) Use where appropriate.
14221 (INSERT_WORDS64) Likewise.
14222
791f3ba0
PC
14223 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14224 constraints with x constraints.
14225 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14226
39b1f617
PC
14227 * malloc/obstack.c (_obstack_compat): Add initializer.
14228
12fba011
EM
142292013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14230
14231 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14232 si_trapno and add si_addr_lsb to _sifields.sigfault.
14233 (si_trapno): Remove macro.
14234 (si_addr_lsb): Define new macro.
14235 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14236
d369f531
JM
142372013-05-15 Joseph Myers <joseph@codesourcery.com>
14238
b861c6c4
JM
14239 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14240 instead of TEST_f_l.
14241 (llrint_test_tonearest): Likewise.
14242 (llrint_test_towardzero): Likewise.
14243 (llrint_test_downward): Likewise.
14244 (llrint_test_upward): Likewise.
14245 (llround_test): Likewise.
14246
7abeee12
JM
14247 * math/libm-test.inc (struct test_f_i_data): Add comment.
14248 (RUN_TEST_LOOP_f_b): New macro.
14249 (RUN_TEST_LOOP_f_b_tg): Likewise.
14250 (finite_test_data): New variable.
14251 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14252 (isfinite_test_data): New variable.
14253 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14254 (isinf_test_data): New variable.
14255 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14256 (isnan_test_data): New variable.
14257 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14258 (isnormal_test_data): New variable.
14259 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14260 (issignaling_test_data): New variable.
14261 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14262 (signbit_test_data): New variable.
14263 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14264
cbe8c4d3
JM
14265 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14266 with INVALID_EXCEPTION.
14267 (acosh_test_data): Likewise.
14268 (asin_test_data): Likewise.
14269 (atanh_test_data): Likewise.
14270 (fmod_test_data): Likewise.
14271 (log_test_data): Likewise.
14272 (log10_test_data): Likewise.
14273 (log2_test_data): Likewise.
14274 (pow_test_data): Likewise.
14275 (sqrt_test_data): Likewise.
14276 (y0_test_data): Likewise.
14277 (y1_test_data): Likewise.
14278 (yn_test_data): Likewise.
14279
5575c0e5
JM
14280 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14281 function contents.
14282
d369f531
JM
14283 * math/libm-test.inc (struct test_ff_i_data): New type.
14284 (RUN_TEST_LOOP_ff_i_tg): New macro.
14285 (isgreater_test_data): New variable.
14286 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14287 (isgreaterequal_test_data): New variable.
14288 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14289 (isless_test_data): New variable.
14290 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14291 (islessequal_test_data): New variable.
14292 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14293 (islessgreater_test_data): New variable.
14294 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14295 (isunordered_test_data): New variable.
14296 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14297
781fd748
DM
142982013-05-14 David S. Miller <davem@davemloft.net>
14299
14300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14301
87aa21df
JM
143022013-05-14 Joseph Myers <joseph@codesourcery.com>
14303
5e908270
JM
14304 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14305
f71172e5
JM
14306 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14307 extra_test to int.
14308 (struct test_f_i_data): Change type of max_ulp to int.
14309
8cfa635a
JM
14310 * math/libm-test.inc (test_ffI_f1_data): New type.
14311 (RUN_TEST_LOOP_ffI_f1): New macro.
14312 (remquo_test_data): New variable.
14313 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14314
2bcb36b2
JM
14315 * setjmp/tst-setjmp-fp.c: New file.
14316 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14317 (link-libm): New variable.
14318 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14319
acbd839a
JM
14320 * math/libm-test.inc (struct test_f_i_data): New type.
14321 (RUN_TEST_LOOP_f_i): New macro.
14322 (RUN_TEST_LOOP_f_i_tg): Likewise.
14323 (fpclassify_test_data): New variable.
14324 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14325 (ilogb_test_data): New variable.
14326 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14327
e414d745
JM
14328 * math/libm-test.inc (scalbln_test): Correct function name in END
14329 call.
14330
d9c2a0fd
JM
14331 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14332 (RUN_TEST_LOOP_fI_f1): New macro.
14333 (frexp_test_data): New variable.
14334 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14335
9dc9095d
JM
14336 * math/libm-test.inc (struct test_fF_f1_data): New type.
14337 (RUN_TEST_LOOP_fF_f1): New macro.
14338 (modf_test_data): New variable.
14339 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14340
87aa21df
JM
14341 * math/libm-test.inc (struct test_f_f1_data): New type.
14342 (RUN_TEST_LOOP_f_f1): New macro.
14343 (gamma_test_data): New variable.
14344 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14345 (lgamma_test_data): New variable.
14346 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14347
141af660
CD
143482013-05-13 Carlos O'Donell <carlos@redhat.com>
14349
14350 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14351 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14352 (main): Comment "tls" pseudo-hwcap.
14353
6d33265c
JM
143542013-05-13 Joseph Myers <joseph@codesourcery.com>
14355
68fc074c
JM
14356 * math/libm-test.inc (struct test_fl_f_data): New type.
14357 (RUN_TEST_LOOP_fl_f): New variable.
14358 (scalbln_test_data): New variable.
14359 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14360
243216e1
JM
14361 * math/libm-test.inc (struct test_fi_f_data): New type.
14362 (RUN_TEST_LOOP_fi_f): New macro.
14363 (ldexp_test_data): New variable.
14364 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14365 (scalbn_test_data): New variable.
14366 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14367
6a1992e2
JM
14368 * math/libm-test.inc (struct test_c_f_data): New type.
14369 (RUN_TEST_LOOP_c_f): New macro.
14370 (cabs_test_data): New variable.
14371 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14372 (carg_test_data): New variable.
14373 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14374 (cimag_test_data): New variable.
14375 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14376 (creal_test_data): New variable.
14377 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14378
0e400df5
JM
14379 * math/libm-test.inc (struct test_if_f_data): New type.
14380 (RUN_TEST_LOOP_if_f): New macro.
14381 (jn_test_data): New variable.
14382 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14383 (yn_test_data): New variable.
14384 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14385
6d33265c
JM
14386 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14387
f98ece5f
AZ
143882013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14389
14390 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14391 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14392
0f7d347b
SP
143932013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14394
43fe811b
SP
14395 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14396 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14397 (bench-deps): Add bench-timing.h.
14398 * benchtests-bench-skeleton.c: Include bench-timing.h.
14399 (main): Use TIMING_* macros instead of clock_gettime.
14400 * benchtests/bench-timing.h: New file.
14401
0f7d347b
SP
14402 [BZ #14582]
14403 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14404 Renamed from _LIB_VERSION.
14405 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14406
601a3a5f
JM
144072013-05-12 Joseph Myers <joseph@codesourcery.com>
14408
4f184d30
JM
14409 * math/libm-test.inc (struct test_fff_f_data): New type.
14410 (RUN_TEST_LOOP_fff_f): New macro.
14411 (fma_test_data): New variable.
14412 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14413 (fma_towardzero_test_data): New variable.
14414 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14415 (fma_downward_test_data): New variable.
14416 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14417 (fma_upward_test_data): New variable.
14418 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14419
08198877
JM
14420 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14421 (struct test_c_c_data): New type.
14422 (RUN_TEST_LOOP_c_c): New macro.
14423 (cacos_test_data): New variable.
14424 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14425 (cacosh_test_data): New variable.
14426 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14427 (casin_test_data): New variable.
14428 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14429 (casinh_test_data): New variable.
14430 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14431 (catan_test_data): New variable.
14432 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14433 (catanh_test_data): New variable.
14434 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14435 (ccos_test_data): New variable.
14436 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14437 (ccosh_test_data): New variable.
14438 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14439 (cexp_test_data): New variable.
14440 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14441 (clog_test_data): New variable.
14442 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14443 (clog10_test_data): New variable.
14444 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14445 (conj_test_data): New variable.
14446 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14447 (cproj_test_data): New variable.
14448 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14449 (csin_test_data): New variable.
14450 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14451 (csinh_test_data): New variable.
14452 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14453 (csqrt_test_data): New variable.
14454 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14455 (ctan_test_data): New variable.
14456 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14457 (ctan_tonearest_test_data): New variable.
14458 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14459 (ctan_towardzero_test_data): New variable.
14460 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14461 (ctan_downward_test_data): New variable.
14462 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14463 (ctan_upward_test_data): New variable.
14464 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14465 (ctanh_test_data): New variable.
14466 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14467 (ctanh_tonearest_test_data): New variable.
14468 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14469 (ctanh_towardzero_test_data): New variable.
14470 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14471 (ctanh_downward_test_data): New variable.
14472 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14473 (ctanh_upward_test_data): New variable.
14474 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14475 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14476 of BUILD_COMPLEX.
14477
601a3a5f
JM
14478 * math/libm-test.inc (struct test_ff_f_data): New type.
14479 (struct test_ff_f_data_nexttoward): Likewise.
14480 (RUN_TEST_LOOP_2_f): New macro.
14481 (RUN_TEST_LOOP_ff_f): Likewise.
14482 (atan2_test_data): New variable.
14483 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14484 (copysign_test_data): New variable.
14485 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14486 (fdim_test_data): New variable.
14487 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14488 (fmax_test_data): New variable.
14489 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14490 (fmin_test_data): New variable.
14491 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14492 (fmod_test_data): New variable.
14493 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14494 (hypot_test_data): New variable.
14495 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14496 (nextafter_test_data): New variable.
14497 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14498 (nexttoward_test_data): New variable.
14499 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14500 (pow_test_data): New variable.
14501 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14502 (pow_tonearest_test_data): New variable.
14503 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14504 (pow_towardzero_test_data): New variable.
14505 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14506 (pow_downward_test_data): New variable.
14507 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14508 (pow_upward_test_data): New variable.
14509 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14510 (remainder_test_data): New variable.
14511 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14512 (scalb_test_data): New variable.
14513 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14514 * sysdeps/i386/fpu/libm-test-ulps: Update.
14515
74c57478
JM
145162013-05-11 Joseph Myers <joseph@codesourcery.com>
14517
8329e4da
JM
14518 * math/libm-test.inc (fma_test): Use max_value instead of local
14519 variable fltmax.
14520 (nextafter_test): Likewise.
14521
74c57478
JM
14522 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14523 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14524 (acos_downward_test_data): New variable.
14525 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14526 (acos_upward_test_data): New variable.
14527 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14528 (acosh_test_data): New variable.
14529 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14530 (asin_test_data): New variable.
14531 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14532 (asin_tonearest_test_data): New variable.
14533 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14534 (asin_towardzero_test_data): New variable.
14535 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14536 (asin_downward_test_data): New variable.
14537 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14538 (asin_upward_test_data): New variable.
14539 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14540 (asinh_test_data): New variable.
14541 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14542 (atan_test_data): New variable.
14543 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14544 (atanh_test_data): New variable.
14545 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14546 (cbrt_test_data): New variable.
14547 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14548 (ceil_test_data): New variable.
14549 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14550 (cos_test_data): New variable.
14551 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14552 (cos_tonearest_test_data): New variable.
14553 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14554 (cos_towardzero_test_data): New variable.
14555 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14556 (cos_downward_test_data): New variable.
14557 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14558 (cos_upward_test_data): New variable.
14559 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14560 (cosh_test_data): New variable.
14561 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14562 (cosh_tonearest_test_data): New variable.
14563 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14564 (cosh_towardzero_test_data): New variable.
14565 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14566 (cosh_downward_test_data): New variable.
14567 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14568 (cosh_upward_test_data): New variable.
14569 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14570 (erf_test_data): New variable.
14571 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14572 (erfc_test_data): New variable.
14573 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14574 (exp_test_data): New variable.
14575 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14576 (exp_tonearest_test_data): New variable.
14577 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14578 (exp_towardzero_test_data): New variable.
14579 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14580 (exp_downward_test_data): New variable.
14581 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14582 (exp_upward_test_data): New variable.
14583 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14584 (exp10_test_data): New variable.
14585 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14586 (exp2_test_data): New variable.
14587 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14588 (expm1_test_data): New variable.
14589 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14590 (fabs_test_data): New variable.
14591 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14592 (floor_test_data): New variable.
14593 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14594 (j0_test_data): New variable.
14595 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14596 (j1_test_data): New variable.
14597 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14598 (log_test_data): New variable.
14599 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14600 (log10_test_data): New variable.
14601 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14602 (log1p_test_data): New variable.
14603 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14604 (log2_test_data): New variable.
14605 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14606 (logb_test_data): New variable.
14607 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14608 (logb_downward_test_data): New variable.
14609 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14610 (nearbyint_test_data): New variable.
14611 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14612 (rint_test_data): New variable.
14613 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14614 (rint_tonearest_test_data): New variable.
14615 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14616 (rint_towardzero_test_data): New variable.
14617 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14618 (rint_downward_test_data): New variable.
14619 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14620 (rint_upward_test_data): New variable.
14621 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14622 (round_test_data): New variable.
14623 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14624 (sin_test_data): New variable.
14625 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14626 (sin_tonearest_test_data): New variable.
14627 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14628 (sin_towardzero_test_data): New variable.
14629 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14630 (sin_downward_test_data): New variable.
14631 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14632 (sin_upward_test_data): New variable.
14633 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14634 (sinh_test_data): New variable.
14635 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14636 (sinh_tonearest_test_data): New variable.
14637 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14638 (sinh_towardzero_test_data): New variable.
14639 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14640 (sinh_downward_test_data): New variable.
14641 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14642 (sinh_upward_test_data): New variable.
14643 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14644 (sqrt_test_data): New variable.
14645 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14646 (tan_test_data): New variable.
14647 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14648 (tan_tonearest_test_data): New variable.
14649 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14650 (tan_towardzero_test_data): New variable.
14651 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14652 (tan_downward_test_data): New variable.
14653 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14654 (tan_upward_test_data): New variable.
14655 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14656 (tanh_test_data): New variable.
14657 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14658 (tgamma_test_data): New variable.
14659 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14660 (trunc_test_data): New variable.
14661 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14662 (y0_test_data): New variable.
14663 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14664 (y1_test_data): New variable.
14665 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14666 (significand_test_data): New variable.
14667 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14668
7187d844
CG
146692013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14670
14671 [BZ #12387]
14672 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14673
f63fae73
PT
146742013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14675
14676 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14677
8a67a4b3
AJ
146782013-05-10 Andreas Jaeger <aj@suse.de>
14679
14680 [BZ #15448]
14681 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14682 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14683
51df539d
JM
146842013-05-10 Joseph Myers <joseph@codesourcery.com>
14685
14686 * math/gen-libm-test.pl (adjust_arg): New function.
14687 (special_functions): Handle generating output in both functions
14688 and arrays.
14689 (parse_args): Likewise.
14690 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14691 $in_func argument to parse_args.
14692 * math/libm-test.inc (struct test_f_f_data): New type.
14693 (IF_ROUND_INIT_): New macro.
14694 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14695 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14696 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14697 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14698 (ROUND_RESTORE_): Likewise.
14699 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14700 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14701 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14702 (ROUND_RESTORE_FE_UPWARD): Likewise.
14703 (RUN_TEST_LOOP_f_f): New macro.
14704 (acos_test_data): New variable.
14705 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14706 (acos_tonearest_test_data): New variable.
14707 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14708
5c637fe5
SP
147092013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14710
14711 * benchtests/bench-skeleton.c (startup): Fix coding style.
14712
ab2b9461
JM
147132013-05-10 Joseph Myers <joseph@codesourcery.com>
14714
14715 [BZ #6809]
14716 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14717 negative infinity argument.
14718 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14719 negative infinity argument.
14720 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14721 negative infinity argument.
14722 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14723 domain errors.
14724
4c0fe6fe
FW
147252013-05-10 Florian Weimer <fweimer@redhat.com>
14726
14727 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14728 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14729 * iconv/iconv_prog.c (main): Likewise.
14730 * locale/programs/charmap-dir.c (charmap_readdir)
14731 (fopen_uncompressed): Likewise.
14732 * locale/programs/locfile.c (siblings_uncached)
14733 (write_locale_data): Use lstat64 instead of lstat.
14734 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14735 stat.
14736
a3375d29
AJ
147372013-05-10 Andreas Jaeger <aj@suse.de>
14738
14739 [BZ #15395]
14740 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14741 localization.
14742 Include <locale.h>.
14743
36129722
CD
147442013-05-09 Carlos O'Donell <carlos@redhat.com>
14745
14746 * elf/dl-close.c (_dl_close_worker): Add comments.
14747
faa7f811
JM
147482013-05-09 Joseph Myers <joseph@codesourcery.com>
14749
ed41ffef
JM
14750 [BZ #15359]
14751 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14752 high part of pi/2.
14753 (__ieee754_rem_pio2l): Update comments.
14754
d0213cd0
JM
14755 [BZ #15429]
14756 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14757 high part of pi/2.
14758 (__ieee754_rem_pio2l): Update comments.
14759
0d3e777a
JM
14760 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14761 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14762
24f56066
JM
14763 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14764 M_PI_4l.
14765
faa7f811
JM
14766 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14767 (M_PI_34_LOG10El): Likewise.
14768 (M_PI2_LOG10El): Likewise.
14769 (M_PI4_LOG10El): Likewise.
14770 (M_PI_LOG10El): Likewise.
14771
e9a5e0fd
AZ
147722013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14773
14774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14775
d8cd06db
JM
147762013-05-08 Joseph Myers <joseph@codesourcery.com>
14777
a0d9f9d7
JM
14778 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14779 (MINUS_ZERO_INIT): Likewise.
14780 (PLUS_INFTY_INIT): Likewise.
14781 (MINUS_INFTY_INIT): Likewise.
14782 (QNAN_VALUE_INIT): Likewise.
14783 (MAX_VALUE_INIT): Likewise.
14784 (MIN_VALUE_INIT): Likewise.
14785 (MIN_SUBNORM_VALUE_INIT): Likewise.
14786 (plus_zero): Initialize with PLUS_ZERO_INIT.
14787 (minus_zero): Initialize with MINUS_ZERO_INIT.
14788 (plus_infty): Initialize with PLUS_INFTY_INIT.
14789 (minus_infty): Initialize with MINUS_INFTY_INIT.
14790 (qnan_value): Initialize with QNAN_VALUE_INIT.
14791 (max_value): Initialize with MAX_VALUE_INIT.
14792 (min_value): Initialize with MIN_VALUE_INIT.
14793 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14794
ae08db3b
JM
14795 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14796 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14797 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14798 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14799
f44bf14a
JM
14800 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14801 (RUN_TEST_2_f): Likewise.
14802 (RUN_TEST_ff_f): Likewise.
14803 (RUN_TEST_fi_f): Likewise.
14804 (RUN_TEST_fl_f): Likewise.
14805 (RUN_TEST_fff_f): Likewise.
14806 (RUN_TEST_c_f): Likewise.
14807 (RUN_TEST_f_f1): Likewise.
14808 (RUN_TEST_fF_f1): Likewise.
14809 (RUN_TEST_fI_f1): Likewise.
14810 (RUN_TEST_ffI_f1): Likewise.
14811 (RUN_TEST_c_c): Likewise.
14812 (RUN_TEST_cc_c): Likewise.
14813 (RUN_TEST_f_i): Likewise.
14814 (RUN_TEST_f_i_tg): Likewise.
14815 (RUN_TEST_ff_i_tg): Likewise.
14816 (RUN_TEST_f_b): Likewise.
14817 (RUN_TEST_f_b_tg): Likewise.
14818 (RUN_TEST_f_l): Likewise.
14819 (RUN_TEST_f_L): Likewise.
14820 (RUN_TEST_sincos): Likewise.
14821 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14822 whether to show exceptions. Do not include ");\n" in return
14823 value.
14824 (special_functions): Output call to RUN_TEST_sincos instead of
14825 check_float calls. Update calls to new_test.
14826 (parse_args): Output call to single RUN_TEST_* macro instead of
14827 check_* calls and other assignments. Update calls to new_test.
14828
d8cd06db
JM
14829 [BZ #2546]
14830 [BZ #2560]
14831 [BZ #5159]
14832 [BZ #15426]
14833 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14834 input to result for tgamma overflow.
14835 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14836 (gamma_coeff): New variable.
14837 (NCOEFF): New macro.
14838 (gamma_positive): New function.
14839 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14840 underflow here. Use gamma_positive instead of exp (lgamma) for
14841 other arguments.
14842 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14843 (gamma_coeff): New variable.
14844 (NCOEFF): New macro.
14845 (gammaf_positive): New function.
14846 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14847 underflow here. Use gamma_positive instead of exp (lgamma) for
14848 other arguments.
14849 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14850 (gamma_coeff): New variable.
14851 (NCOEFF): New macro.
14852 (gammal_positive): New function.
14853 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14854 underflow here. Use gamma_positive instead of exp (lgamma) for
14855 other arguments.
14856 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14857 (gamma_coeff): New variable.
14858 (NCOEFF): New macro.
14859 (gammal_positive): New function.
14860 (__ieee754_gammal_r): Handle positive infinity, overflow and
14861 underflow here. Handle NaN the same as positive infinity. Remove
14862 check x < 0xffffffff for negative integers. Use gamma_positive
14863 instead of exp (lgamma) for other arguments.
14864 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14865 (gamma_coeff): New variable.
14866 (NCOEFF): New macro.
14867 (gammal_positive): New function.
14868 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14869 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14870 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14873 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14874 * sysdeps/generic/math_private.h (__gamma_productf): New
14875 prototype.
14876 (__gamma_product): Likewise.
14877 (__gamma_productl): Likewise.
14878 * math/Makefile (libm-calls): Add gamma_product.
14879 * math/libm-test.inc (tgamma_test): Add more tests.
14880 * sysdeps/i386/fpu/libm-test-ulps: Update.
14881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14882
bb7cf681
OB
148832013-05-08 Ondřej Bílka <neleai@seznam.cz>
14884
14885 * benchtests/bench-skeleton.c (main): Preheat CPU.
14886
ba853947
AJ
148872013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14888
14889 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14890
8347c74c
RM
148912013-05-07 Roland McGrath <roland@hack.frob.com>
14892
14893 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14894 and _dl_skip_args_internal.
14895
e8dd4791
CD
148962013-05-07 Carlos O'Donell <carlos@redhat.com>
14897
14898 * manual/message.texi (Message Translation): Talk about users.
14899 Message to key mapping impacts design.
14900
c7405830
RM
149012013-05-06 Roland McGrath <roland@hack.frob.com>
14902
a9173057
RM
14903 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14904
976e2f03
RM
14905 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14906
9723ffc5
RM
14907 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14908 * sysdeps/wordsize-64/glob64.c: ... here.
14909
962e6658
RM
14910 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14911 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14912 New macros.
14913
ee586a6d
RM
14914 * debug/getlogin_r_chk.c: Moved to ...
14915 * login/getlogin_r_chk.c: ... here.
14916 * debug/Makefile (routines): Move getlogin_r_chk to ...
14917 * login/Makefile (routines): ... here.
14918 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14919 * login/Versions (libc: GLIBC_2.4): ... here.
14920
355f9165
RM
14921 * io/poll.c (__poll): Renamed from poll.
14922 Add libc_hidden_def.
14923 (poll): Define as weak alias.
14924
bd9ffde6
RM
14925 * debug/ptsname_r_chk.c: Moved to ...
14926 * login/ptsname_r_chk.c: ... here.
14927 * debug/Makefile (routines): Move ptsname_r_chk to ...
14928 * login/Makefile (routines): ... here.
14929 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14930 * login/Versions (libc: GLIBC_2.4): ... here.
14931
8fb16a04
RM
14932 * posix/getlogin.c: Moved to ...
14933 * login/getlogin.c: ... here.
14934 * posix/getlogin_r.c: Moved to ...
14935 * login/getlogin_r.c: ... here.
14936 * posix/getlogin_r.c: Moved to ...
14937 * login/getlogin_r.c: ... here.
14938 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14939 * login/Makefile (routines): ... here.
14940 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14941 * login/Versions (libc: GLIBC_2.0): ... here.
14942
b99b892f
RM
14943 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14944 (setrlimit): Define as weak alias.
14945
c7405830
RM
14946 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14947 Call __ names for open, ftruncate, and close.
14948 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14949 (truncate): Define as weak alias.
14950
5bf96de5
JM
149512013-05-06 Joseph Myers <joseph@codesourcery.com>
14952
9ea3513c
JM
14953 * math/gen-libm-test.pl (parse_args): Initialize x before each
14954 test of frexp, modf and remquo.
14955
5bf96de5
JM
14956 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14957 test signgam value.
14958
16e616a7
AZ
149592013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14960
14961 [BZ #15418]
14962 [BZ #15419]
14963 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14964 internal tests.
14965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14966
d5e82754
RM
149672013-05-06 Roland McGrath <roland@hack.frob.com>
14968
14969 * elf/dl-writev.h: New file.
14970 * elf/dl-misc.c: Include it.
14971 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14972 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14973
a7548d41
JM
149742013-05-04 Joseph Myers <joseph@codesourcery.com>
14975
b7dab1e4
JM
14976 * math/libm-test.inc (noXFails): Remove variable.
14977 (noXPasses): Likewise.
14978 (BUILD_COMPLEX_INT): Remove macro.
14979 (print_screen): Remove xfail argument.
14980 (print_screen_max_error): Likewise.
14981 (update_stats): Likewise.
14982 (print_max_error): Likewise. Update calls to other affected
14983 functions.
14984 (print_complex_max_error): Likewise.
14985 (test_single_exception): Update calls to print_screen.
14986 (test_single_errno): Likewise.
14987 (check_float_internal): Remove xfail argument. Update calls to
14988 other affected functions.
14989 (check_float): Likewise.
14990 (check_complex): Likewise.
14991 (check_int): Likewise.
14992 (check_long): Likewise.
14993 (check_bool): Likewise.
14994 (check_longlong): Likewise.
14995 (main): Don't print noXFails and noXPasses.
14996 * math/gen-libm-test.pl (top level): Don't mention expected
14997 failure handling in comment.
14998 (new_test): Don't handle expected failures.
14999 (parse_args): Don't mention expected failure handling in comment.
15000 (generate_testfile): Don't handle expected failures.
15001 (parse_ulps): Likewise.
15002 (print_ulps_file): Likewise.
15003 (get_failure): Remove function.
15004 (output_test): Don't handle expected failures.
15005 * make/README.libm-test: Don't mention expected failure handling.
15006
a7548d41
JM
15007 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15008 (minus_zero): Likewise.
15009 (plus_infty): Likewise.
15010 (minus_infty): Likewise.
15011 (qnan_value): Likewise.
15012 (max_value): Likewise.
15013 (min_value): Likewise.
15014 (min_subnorm_value): Likewise.
15015 (initialize): Do not initialize those variables dynamically.
15016
60bfd54c
RM
150172013-05-03 Roland McGrath <roland@hack.frob.com>
15018
cc0e6ed8
RM
15019 * io/open.c (__open_2): Moved to ...
15020 * io/open_2.c: ... this new file.
15021 * io/open64.c (__open64_2): Moved to ...
15022 * io/open64_2.c: ... this new file.
15023 * io/openat.c (__openat_2): Moved to ...
15024 * io/openat_2.c: ... this new file.
15025 * io/openat64.c (__openat64_2): Moved to ...
15026 * io/openat64_2.c: ... this new file.
15027 * io/Makefile (routines): Add them.
15028 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15029 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15030 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15031 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15032 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15033 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15034 (__openat64): Add hidden_ver.
15035 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15036 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15037
60bfd54c
RM
15038 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15039 Separately conditionalize setting of GLRO(dl_sysinfo) so
15040 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15041 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15042
83e7640f
AZ
150432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15044
15045 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15046 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15047 definition.
15048 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15049 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15050 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15051 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15052 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15053
d5dc2af3
JM
150542013-05-03 Joseph Myers <joseph@codesourcery.com>
15055
c31a5b1e
JM
15056 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15057 test signgam value.
15058
d5dc2af3
JM
15059 * math/libm-test.inc (hypot_test): Do not use
15060 IGNORE_ZERO_INF_SIGN.
15061
164fd39d
AJ
150622013-05-03 Andreas Jaeger <aj@suse.de>
15063
15064 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15065 Linux 3.9.
15066 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15067 (PF_MAX): Adjust for VSOCK change.
15068
8237f48c
AZ
150692013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15070
15071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15072
9df02941
CD
150732013-05-02 Carlos O'Donell <carlos@redhat.com>
15074
15075 [BZ #15264]
15076 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15077 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15078 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15079
d422395e
DM
150802013-05-02 David S. Miller <davem@davemloft.net>
15081
15082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15083
a07c5731
OB
150842013-05-01 Ondřej Bílka <neleai@seznam.cz>
15085
15086 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15087
1324e37f
RM
150882013-05-01 Roland McGrath <roland@hack.frob.com>
15089
15090 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15091
0695940b
RS
150922013-05-01 Richard Smith <richard@metafoo.co.uk>
15093
bb5f27ad 15094 [BZ #14952]
0695940b
RS
15095 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15096 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15097 Use __attribute__ ((__gnu_inline__)).
15098 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15099 Don't use __attribute__ ((__gnu_inline__)).
15100
10de07f5
JM
151012013-05-01 Joseph Myers <joseph@codesourcery.com>
15102
15103 [BZ #15423]
15104 * math/s_catan.c (__catan): Handle small real or imaginary part of
15105 input specially to avoid spurious underflow.
15106 * math/s_catanf.c (__catanf): Likewise.
15107 * math/s_catanh.c (__catanh): Likewise.
15108 * math/s_catanhf.c (__catanhf): Likewise.
15109 * math/s_catanhl.c (__catanhl): Likewise.
15110 * math/s_catanl.c (__catanl): Likewise.
15111 * math/libm-test.inc (catan_test): Add more tests.
15112 (catanh_test): Likewise.
15113 * sysdeps/i386/fpu/libm-test-ulps: Update.
15114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15115
cb4d5414
AZ
151162013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15117
15118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15119
caf84319
JM
151202013-04-30 Joseph Myers <joseph@codesourcery.com>
15121
15122 [BZ #15416]
15123 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15124 accurately for denominator in atan2.
15125 * math/s_catanf.c (__catanf): Likewise.
15126 * math/s_catanh.c (__catanh): Likewise.
15127 * math/s_catanhf.c (__catanhf): Likewise.
15128 * math/s_catanhl.c (__catanhl): Likewise.
15129 * math/s_catanl.c (__catanl): Likewise.
15130 * math/libm-test.inc (catan_test): Add more tests.
15131 (catanh_test): Likewise.
15132 * sysdeps/i386/fpu/libm-test-ulps: Update.
15133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15134
d569c6ee
SP
151352013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15136
6dbe713d
SP
15137 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15138
f0ee064b
SP
15139 * benchtests/Makefile (bench): Remove slow benchmarks.
15140 * benchtests/atan-inputs: Add slow benchmark inputs.
15141 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15142 (BENCH_FUNC): Accept variant offset.
15143 (VARIANT): Define.
15144 * benchtests/bench-skeleton.c (main): Run benchmark for each
15145 variant.
15146 * benchtests/cos-inputs: Add slow benchmark inputs.
15147 * benchtests/exp-inputs: Likewise.
15148 * benchtests/pow-inputs: Likewise.
15149 * benchtests/sin-inputs: Likewise.
15150 * benchtests/slowatan-inputs: Remove.
15151 * benchtests/slowatan.c: Remove.
15152 * benchtests/slowcos-inputs: Remove.
15153 * benchtests/slowcos.c: Remove.
15154 * benchtests/slowexp-inputs: Remove.
15155 * benchtests/slowexp.c: Remove.
15156 * benchtests/slowpow-inputs: Remove.
15157 * benchtests/slowpow.c: Remove.
15158 * benchtests/slowsin-inputs: Remove.
15159 * benchtests/slowsin.c: Remove.
15160 * benchtests/slowtan-inputs: Remove.
15161 * benchtests/slowtan.c: Remove.
15162 * benchtests/tan-inputs: Add slow benchmark inputs.
15163 * scripts/bench.pl: Parse comments and directives.
15164
d569c6ee
SP
15165 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15166 in CPPFLAGS.
15167 ($(objpfx)bench-%.c): Remove *-ITER.
15168 * benchtests/bench-modf.c: Remove definition of ITER.
15169 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15170 (main): Loop for DURATION seconds instead of fixed number of
15171 iterations.
15172 * scripts/bench.pl: Don't expect iterations in parameters.
15173
a6a242fe
RM
151742013-04-29 Roland McGrath <roland@hack.frob.com>
15175
15176 * io/fchdir.c (__fchdir): Renamed from fchdir.
15177 (fchdir): Define as weak alias.
15178
f2da7793
JM
151792013-04-29 Joseph Myers <joseph@codesourcery.com>
15180
15181 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15182 (ERRNO_EDOM): Likewise.
15183 (ERRNO_ERANGE): Likewise.
15184 (noErrnoTests): New variable.
15185 (init_max_error): Set errno to 0.
15186 (test_single_errno): New function.
15187 (test_errno): Likewise.
15188 (check_float_internal): Call test_errno. Set errno to 0.
15189 (check_complex): Refer to errno tests in comment.
15190 (check_int): Call test_errno. Set errno to 0.
15191 (check_long): Likewise.
15192 (check_bool): Likewise.
15193 (check_longlong): Likewise.
15194 (cos_test): Use ERRNO_* flags for errno tests instead of
15195 check_int.
15196 (expm1_test): Likewise.
15197 (fmod_test): Likewise.
15198 (ilogb_test): Likewise.
15199 (lgamma_test): Likewise.
15200 (pow_test): Likewise.
15201 (remainder_test): Likewise.
15202 (sin_test): Likewise.
15203 (tan_test): Likewise.
15204 (yn_test): Likewise.
15205 (initialize): Set errno to 0.
15206 (main): Print number of errno tests.
15207 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15208
b1a36ceb
AJ
152092013-04-29 Andreas Jaeger <aj@suse.de>
15210
c3ed8088
AJ
15211 [BZ #15084]
15212 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15213 and RES_USEVC.
15214
f1a24198
AJ
15215 [BZ #15085]
15216 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15217 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15218 unimplemented.
15219
9ce3b2cb
AJ
15220 [BZ #15380]
15221 * stdlib/random.c (__initstate): Return NULL if
15222 __initstate fails.
15223
f1a24198 15224 [BZ #15086]
b1a36ceb
AJ
15225 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15226 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15227 RES_SNGLKUPREOP.
15228
7e7b6f36
AZ
152292013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15230
15231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15232
4d14f449
JM
152332013-04-29 Joseph Myers <joseph@codesourcery.com>
15234
15235 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15236 of individual tests.
15237 (casin_test): Likewise.
15238 (casinh_test): Likewise.
15239
5b4217d7
JM
152402013-04-27 Joseph Myers <joseph@codesourcery.com>
15241
15242 [BZ #15409]
15243 * math/s_catan.c (__catan): Handle arguments with large real or
15244 imaginary part separately without squaring.
15245 * math/s_catanf.c (__catanf): Likewise.
15246 * math/s_catanh.c (__catanh): Likewise.
15247 * math/s_catanhf.c (__catanhf): Likewise.
15248 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15249 and redefine.
15250 (__catanhl): Handle arguments with large real or imaginary part
15251 separately without squaring.
15252 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15253 and redefine.
15254 (__catanl): Handle arguments with large real or imaginary part
15255 separately without squaring.
15256 * math/libm-test.inc (catan_test): Add more tests.
15257 (catanh_test): Likewise.
15258 * sysdeps/i386/fpu/libm-test-ulps: Update.
15259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15260
4220c3ef
AJ
152612013-04-27 Andreas Jaeger <aj@suse.de>
15262
15263 [BZ #15007]
15264 * stdlib/stdlib.h: Update guards for qecvt.
15265 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15266 <stdlib.h>.
15267
4721b2d1
AM
152682013-04-27 Allan McRae <allan@archlinux.org>
15269
15270 * sysdeps/i386/fpu/libm-test-ulps: Update.
15271
f0302940
JM
152722013-04-26 Joseph Myers <joseph@codesourcery.com>
15273
9457fd95
JM
15274 [BZ #15406]
15275 * math/s_catan.c: Include <float.h>.
15276 (__catan): Ensure underflow exception occurs for underflowed
15277 result.
15278 * math/s_catanf.c: Include <float.h>.
15279 (__catanf): Ensure underflow exception occurs for underflowed
15280 result.
15281 * math/s_catanh.c: Include <float.h>.
15282 (__catanh): Ensure underflow exception occurs for underflowed
15283 result.
15284 * math/s_catanhf.c: Include <float.h>.
15285 (__catanhf): Ensure underflow exception occurs for underflowed
15286 result.
15287 * math/s_catanhl.c: Include <float.h>.
15288 (__catanhl): Ensure underflow exception occurs for underflowed
15289 result.
15290 * math/s_catanl.c: Include <float.h>.
15291 (__catanl): Ensure underflow exception occurs for underflowed
15292 result.
15293 * math/libm-test.inc (catan_test): Add more tests.
15294 (catanh_test): Likewise.
15295
f0302940
JM
15296 [BZ #15405]
15297 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15298 underflowed result.
15299 * math/s_ccoshf.c (__ccoshf): Likewise.
15300 * math/s_ccoshl.c (__ccoshl): Likewise.
15301 * math/s_csin.c (__csin): Likewise.
15302 * math/s_csinf.c (__csinf): Likewise.
15303 * math/s_csinh.c (__csinh): Likewise.
15304 * math/s_csinhf.c (__csinhf): Likewise.
15305 * math/s_csinhl.c (__csinhl): Likewise.
15306 * math/s_csinl.c (__csinl): Likewise.
15307 * math/libm-test.inc (ccos_test): Add more tests.
15308 (ccosh_test): Likewise.
15309 (csin_test): Likewise.
15310 (csinh_test): Likewise.
15311
aa630f59
AZ
153122013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15313
15314 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15315 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15316 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15317 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15318 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15319 powerpc/power5+/fpu folders.
15320 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15321
15322
1b835983
MT
153232013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15324
15325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15326
73709b26
JM
153272013-04-25 Joseph Myers <joseph@codesourcery.com>
15328
15329 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15330 additions to variable.
15331 [$(config-machine) = x86_64] (modules-names): Likewise.
15332 ($(objpfx)tst-audit3): Remove dependency.
15333 ($(objpfx)tst-audit3.out): Likewise.
15334 ($(objpfx)tst-audit4): Likewise.
15335 ($(objpfx)tst-audit4.out): Likewise.
15336 ($(objpfx)tst-audit5): Likewise.
15337 ($(objpfx)tst-audit5.out): Likewise.
15338 ($(objpfx)tst-audit6): Likewise.
15339 ($(objpfx)tst-audit6.out): Likewise.
15340 ($(objpfx)tst-audit7): Likewise.
15341 ($(objpfx)tst-audit7.out): Likewise.
15342 (tst-audit3-ENV): Remove variable.
15343 (tst-audit4-ENV): Likewise.
15344 (tst-audit5-ENV): Likewise.
15345 (tst-audit6-ENV): Likewise.
15346 (tst-audit7-ENV): Likewise.
15347 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15348 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15349 addition to variable.
15350 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15351 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15352 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15353 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15354 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15355 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15356 tst-audit3, tst-audit4 and tst-audit5.
15357 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15358 tst-audit6 and tst-audit7.
15359 [$(subdir) = elf] (modules-names): Add audit modules for those
15360 tests.
15361 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15362 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15363 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15364 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15365 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15366 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15367 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15368 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15369 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15370 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15371 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15372 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15373 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15374 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15375 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15376 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15377 Likewise.
15378 [$(subdir) = elf && $(config-cflags-avx) = yes]
15379 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15380 [$(subdir) = elf && $(config-cflags-avx) = yes]
15381 (CFLAGS-tst-auditmod4a.c): Likewise.
15382 [$(subdir) = elf && $(config-cflags-avx) = yes]
15383 (CFLAGS-tst-auditmod4b.c): Likewise.
15384 [$(subdir) = elf && $(config-cflags-avx) = yes]
15385 (CFLAGS-tst-auditmod6b.c): Likewise.
15386 [$(subdir) = elf && $(config-cflags-avx) = yes]
15387 (CFLAGS-tst-auditmod6c.c): Likewise.
15388 [$(subdir) = elf && $(config-cflags-avx) = yes]
15389 (CFLAGS-tst-auditmod7b.c): Likewise.
15390 * elf/tst-audit3.c: Move to ...
15391 * sysdeps/x86_64/tst-audit3.c: ... here.
15392 * elf/tst-audit4.c: Move to ...
15393 * sysdeps/x86_64/tst-audit4.c: ... here.
15394 * elf/tst-audit5.c: Move to ...
15395 * sysdeps/x86_64/tst-audit5.c: ... here.
15396 * elf/tst-audit6.c: Move to ...
15397 * sysdeps/x86_64/tst-audit6.c: ... here.
15398 * elf/tst-audit7.c: Move to ...
15399 * sysdeps/x86_64/tst-audit7.c: ... here.
15400 * elf/tst-auditmod3a.c: Move to ...
15401 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15402 * elf/tst-auditmod3b.c: Move to ...
15403 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15404 * elf/tst-auditmod4a.c: Move to ...
15405 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15406 * elf/tst-auditmod4b.c: Move to ...
15407 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15408 * elf/tst-auditmod5a.c: Move to ...
15409 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15410 * elf/tst-auditmod5b.c: Move to ...
15411 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15412 * elf/tst-auditmod6a.c: Move to ...
15413 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15414 * elf/tst-auditmod6b.c: Move to ...
15415 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15416 * elf/tst-auditmod6c.c: Move to ...
15417 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15418 * elf/tst-auditmod7a.c: Move to ...
15419 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15420 * elf/tst-auditmod7b.c: Move to ...
15421 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15422
1ef74943
PP
154232013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15424
15425 [BZ #15366]
15426 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15427 define unconditionally.
15428 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15429 define unconditionally.
15430 (INT8_C, INT16_C, etc.): Likewise.
15431
93fd48c5
MR
154322013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15433
ae9552cf
MR
15434 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15435 __ehdr_start with hidden visibility.
15436
93fd48c5
MR
15437 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15438
418601aa
CD
154392013-04-24 Carlos O'Donell <carlos@redhat.com>
15440
15441 * math/libm-test.inc (cos_test): Use accurate hex constants.
15442 (sincost_test): Likewise.
15443
2f38fbfe
JM
154442013-04-24 Joseph Myers <joseph@codesourcery.com>
15445
5e221800
JM
15446 * math/libm-test.inc (catan_test): Add more tests.
15447 (catanh_test): Likewise.
15448
77f143fd
JM
15449 * math/s_catanf.c (__catanf): Use suffixed floating-point
15450 constants.
15451 * math/s_catanhf.c (__catanhf): Likewise.
15452 * math/s_catanhl.c (__catanhl): Likewise.
15453 * math/s_catanl.c (__catanl): Likewise.
15454
2f38fbfe
JM
15455 [BZ #15394]
15456 * math/s_catan.c (__catan): Calculate imaginary part of result
15457 with log1p not log unless computing log of number close to 0.
15458 * math/s_catanf.c (__catanf): Likewise.
15459 * math/s_catanl.c (__catanl): Likewise.
15460 * math/s_catanh.c (__catanh): Calculate real part of result with
15461 log1p not log unless computing log of number close to 0.
15462 * math/s_catanhf.c (__catanhf): Likewise.
15463 * math/s_catanhl.c (__catanhl): Likewise.
15464 * math/libm-test.inc (catan_test): Add more tests.
15465 (catanh_test): Likewise.
15466 * sysdeps/i386/fpu/libm-test-ulps: Update.
15467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15468
45d69176
SP
154692013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15470
15471 * benchtests/Makefile: Mention files in which fast and slow
15472 paths of math functions are implemented.
15473
87f51853
RM
154742013-04-23 Roland McGrath <roland@hack.frob.com>
15475
15476 * sysdeps/posix/timespec_get.c: New file.
15477
3c026539
AZ
154782013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15479
15480 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15481 POWER.
15482 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15483 for POWER.
15484 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15485 powerpc/power5/fpu folders.
15486 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15487 * benchtests/Makefile: Add modf testcase.
15488 * benchtests/bench-modf.c: New file: Benchmark test for mo
15489
ff491d14
SP
154902013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15491
15492 [BZ #14888]
15493 * time/Makefile (tests): Add tst-strptime-whitespace.
15494 * time/strptime_l.c (get_number): Use ISSPACE.
15495 (__strptime_internal): Likewise.
15496 * time/tst-strptime-whitespace.c: New test case.
15497
7ed3f4e8
AS
154982013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15499
15500 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15501 member.
15502 (_nss_files_init): Set it here.
15503
5c95f7b6
HC
155042013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15505
15506 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15507 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15508 unsigned.
15509
d34c9158
JBG
155102013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15511
15512 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15513
2169712d
SP
155142013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15515
15516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15517 size just once.
15518
29c5de99
DM
155192013-04-21 David S. Miller <davem@davemloft.net>
15520
15521 * po/ru.po: Update Russion translation from translation project.
15522
ccdad15d
AC
155232013-04-17 Adam Conrad <adconrad@0c3.net>
15524
15525 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15526 and setfsgid.
15527
0f122b8d
CD
155282013-04-17 Carlos O'Donell <carlos@redhat.com>
15529
5c5b07da 15530 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15531 * configure: Regenerate.
5c5b07da 15532 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15533 Add example to error message.
15534 * sysdeps/i386/configure: Regenerate.
15535
037714dd
SP
155362013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15537
15538 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15539 slowtan.
15540 * benchtests/cos-inputs: New file.
15541 * benchtests/slowcos-inputs: New file.
15542 * benchtests/slowcos.c: New file.
15543 * benchtests/slowtan-inputs: New file.
15544 * benchtests/slowtan.c: New file.
15545 * benchtests/tan-inputs: New file.
15546
e913141d
RM
155472013-04-16 Roland McGrath <roland@hack.frob.com>
15548
15549 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15550 considered kosher.
15551
a2964074
SP
155522013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15553
4856bcd2
SP
15554 * benchtests/Makefile: Include cppflags-iterator.mk to add
15555 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15556
a2964074
SP
15557 * Makefile.in (bench-clean): New target.
15558 * benchtests/Makefile (bench-clean): Likewise.
15559
9fbf9aca
DH
155602013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15561
15562 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15563
207d1e2a
TS
155642013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15565
15566 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15567
306dfba9
AS
155682013-04-15 Andreas Schwab <schwab@suse.de>
15569
15570 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15571 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15572 * nscd/pwdcache.c (cache_addpw): Likewise.
15573 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15574 more than recsize.
15575
206a6699
SP
155762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15577
15578 * benchtests/Makefile (bench): Write all output to
15579 bench-out.tmp together.
15580
0582f6b3
AS
155812013-04-15 Andreas Schwab <schwab@suse.de>
15582
15583 * nscd/nscd.c (main): Don't fork again after closing files.
15584
acb4325f
SP
155852013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15586
5cb26d0a
SP
15587 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15588
acb4325f
SP
15589 * benchtests/Rules (bench-deps): Collect dependencies into a
15590 single variable. Add Makefile to dependencies.
15591 ($(objpfx)bench-%.c): Depend on bench-deps.
15592
47792506
RM
155932013-04-12 Roland McGrath <roland@hack.frob.com>
15594 Xavier Roche <roche+kml2@exalead.com>
15595
15596 [BZ #15361]
15597 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15598 just that it's a file descriptor.
15599 * manual/llio.texi (Synchronizing AIO Operations): Update description
15600 for EBADF error from aio_fsync.
15601
8fc1bee5
SP
156022013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15603
15604 * Rules (bench): Move target definition...
15605 * benchtests/Makefile: ... here.
15606
aba5e333
CD
156072013-04-11 Carlos O'Donell <carlos@redhat.com>
15608
15609 * math/libm-test.inc (cos_test): Fix PI/2 test.
15610 (sincos_test): Likewise.
15611 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15612 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15613
273cdee8
AS
156142013-04-11 Andreas Schwab <schwab@suse.de>
15615
6ecec3b6
AS
15616 [BZ #13988]
15617 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15618 accept exponent character only when digits were seen.
15619 * stdio-common/Makefile (tests): Add bug26.
15620 * stdio-common/bug26.c: New file.
15621
273cdee8
AS
15622 [BZ #14293]
15623 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15624 non-freeable.
15625
8da491f5
SP
156262013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15627
01dc6df9
SP
15628 * Makeconfig (rtld-prefix): Define built linker prefix.
15629 * Rules (run-bench): Use it.
15630 * math/Makefile (run-regen-ulps): Likewise.
15631
8da491f5
SP
15632 * Rules (bench): Remove eval.
15633
abe7f530
SP
156342013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15635 Roland McGrath <roland@hack.frob.com>
15636 Ondrej Bilka <neleai@seznam.cz>
15637
15638 [BZ #15346]
15639 * time/getdate.c: Include ctype.h and alloca.h.
15640 (__getdate_r): Trim leading and trailing spaces of input.
15641 * time/tst-getdate.c (tests): Add tests with leading and
15642 trailing spaces.
15643
61c23e62
RM
156442013-04-08 Roland McGrath <roland@hack.frob.com>
15645
15646 [BZ #14280]
15647 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15648 when computing value.
15649
7208a313
CD
156502013-04-06 Carlos O'Donell <carlos@redhat.com>
15651
085b2d41
CD
15652 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15653 Use testrun.sh to run libm tests.
15654
7208a313
CD
15655 [BZ #15309]
15656 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15657
872c0acd
MM
156582013-04-06 Marko Myllynen <myllynen@redhat.com>
15659
15660 [BZ #15264]
15661 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15662
26510bdd
CD
156632013-04-06 Carlos O'Donell <carlos@redhat.com>
15664
15665 * Makefile.in (regen-ulps): New target.
15666 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15667 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15668 [ifneq (no,$(PERL)] (regen-ulps): New target.
15669 [ifeq (no,$(PERL)] (regen-ulps): New target.
15670 * math/libm-test.inc (ulps_file_name): Define.
15671 (output_dir): New variable.
15672 (options): Add "output-dir" option.
15673 (parse_opt): Handle 'o' case.
15674 (main): If output_dir is non-NULL use it as a prefix
15675 otherwise use "".
15676 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15677
a01f19c8
CD
156782013-04-06 Carlos O'Donell <carlos@redhat.com>
15679
15680 [BZ #10060, #10062]
15681 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15682 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15683 fail configure if __sync_val_compare_and_swap is not inlined.
15684 * sysdeps/i386/configure: Regenerate.
15685 * configure.in: Build for i686 when configured for i386.
15686 * configure: Regenerate.
15687 * README: Remove i386 reference.
15688
b7a329a5
CD
156892013-04-06 Carlos O'Donell <carlos@redhat.com>
15690
15691 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15692 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15693
bf0f50df
TS
156942013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15695
ee091edf
TS
15696 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15697 (lmsnanval): New variables.
15698 (F): Add conversion tests.
15699 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15700 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15701
a8b792d6
TS
15702 * stdio-common/tstdiomisc.c (F): Properly collect individual
15703 tests' results.
15704
a1cbf437
TS
15705 [BZ #14686, #15336]
15706 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15707 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15708 Instead, use input NaN values or generate a qNaN by arithmetic
15709 operation. Also fix bugs to comply with the standard.
15710 * math/libm-test.inc (remainder_test): Add more tests.
15711
8b43a0c9
TS
15712 [BZ #15335, #15342]
15713 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15715 input NaN values or generate a qNaN by arithmetic operation.
15716
d91da4ce
TS
15717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15718 unreachable code.
15719
bf0f50df
TS
15720 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15721 definitions.
15722
05e166c8
JM
157232013-04-03 Joseph Myers <joseph@codesourcery.com>
15724
15725 [BZ #14478]
15726 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15727 underflowed result.
15728 * math/s_cexpf.c (__cexpf): Likewise.
15729 * math/s_cexpl.c (__cexpl): Likewise.
15730 * math/libm-test.inc (cexp_test): Add more tests.
15731
1cef1b19
AS
157322013-04-03 Andreas Schwab <schwab@suse.de>
15733
15734 [BZ #15330]
15735 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15736 order arrays from heap if bigger than alloca cutoff.
15737
74d87055
TS
157382013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15739
15740 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15741 (SNAN_TESTS_double): Refer to GCC PR56831.
15742 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15743 GCC PR56828.
15744
d755bba4
SP
157452013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15746
90d5d5bb
SP
15747 * Rules (bench): Move bench.out after the run is complete.
15748
73e0cd5d
SP
15749 * Rules (bench): Echo currently running benchmark.
15750
64aabd4b
SP
15751 * benchtests/Makefile (bench): Add atan and slowatan.
15752 * benchtests/atan-inputs: New file.
15753 * benchtests/slowatan-inputs: New file.
15754 * benchtests/slowatan.c: New file.
15755
c871eccd
SP
15756 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15757 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15758 its value.
15759
d755bba4
SP
15760 [BZ #15305]
15761 * sysdeps/unix/sysv/linux/kernel-features.h
15762 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15763 __ASSUME_XFS_RESTRICTED_CHOWN.
15764 * sysdeps/unix/sysv/linux/pathconf.c
15765 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15766 Save and restore errno.
15767
52ce4860
JM
157682013-04-02 Joseph Myers <joseph@codesourcery.com>
15769
15770 [BZ #15327]
15771 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15772 arguments using __kernel_casinh.
15773 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15774 arguments using __kernel_casinhf.
15775 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15776 arguments using __kernel_casinhl.
15777 * math/libm-test.inc (cacosh_test): Add more tests.
15778 * sysdeps/i386/fpu/libm-test-ulps: Update.
15779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15780
81f311c2
SP
157812013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15782
e7906a47
SP
15783 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15784 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15785
92e3664b
SP
15786 * bench/Makefile (bench): Add sin and slowsin.
15787 * benchtests/sin-inputs: New file.
15788 * benchtests/slowsin-inputs: New file.
15789 * benchtests/slowsin.c: New file.
15790
81f311c2
SP
15791 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15792 (bench): Add slowexp and slowpow.
15793 (exp-ITER): Increase iterations.
15794 (pow-ITER): Likewise.
15795 * benchtests/exp-inputs: Change input.
15796 * benchtests/pow-inputs: Likewise.
15797 * benchtests/slowexp-inputs: New file.
15798 * benchtests/slowexp.c: New file.
15799 * benchtests/slowpow-inputs: New file.
15800 * benchtests/slowpow.c: New file.
15801
ab0f1aa9
AZ
158022013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15803
15804 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15805 instructions.
15806 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15807 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15808 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15809 * benchtests/Makefile: Add rint benchtest.
15810 * benchtests/rint-inputs: Input for rint benchtest.
15811
57267616
TS
158122013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15813
15814 * Versions.def (libm): Add GLIBC_2.18.
15815 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15816 hidden libm prototypes.
15817 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15818 * math/Makefile (libm-calls): Add s_issignaling.
15819 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15820 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15821 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15822 declaration.
15823 * math/math.h [__USE_GNU] (issignaling): New macro.
15824 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15825 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15826 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15827 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15828 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15830 * manual/arith.texi (issignaling): New section.
15831 * manual/libm-err-tab.pl (@all_functions): Update comment.
15832 * math/gen-libm-test.pl (parse_args): Apply special handling for
15833 issignaling.
15834 * math/libm-test.inc (print_float, issignaling_test): New
15835 functions.
15836 (check_float_internal): Add issignaling checks.
15837 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15838 default definition.
15839 * sysdeps/powerpc/math-tests.h: New file.
15840 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15841 tests.
15842 * math/test-snan.c (TEST_FUNC): Likewise.
15843
6142896d
DM
158442013-03-30 David S. Miller <davem@davemloft.net>
15845
15846 * po/de.po: Update from translation team.
15847
ccc8cadf
JM
158482013-03-30 Joseph Myers <joseph@codesourcery.com>
15849
15850 [BZ #10357]
15851 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15852 imaginary part less than 1.0 and real part less than 0.5
15853 specially.
15854 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15855 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15856 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15857 (cacos_test): Add more tests.
15858 (casin_test): Likewise.
15859 (casinh_test): Likewise.
15860 * sysdeps/i386/fpu/libm-test-ulps: Update.
15861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15862
0f6a8d4b
SP
158632013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15864
0d1029de
SP
15865 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15866 ONE with its value.
15867
c2d94018
SP
15868 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15869 (__pow_mp): Replace ONE and MONE with their values.
15870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15872 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15873 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15874 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15875 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15876
27ec37f1
SP
15877 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15878
a64d7e0e
SP
15879 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15880 (__pow_mp): Replace ZERO and MZERO with their values.
15881 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15882 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15883 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15885 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15886 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15887 (__sqr): Likewise.
15888
d26dd3eb
SP
15889 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15890
0f6a8d4b
SP
15891 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15892
e57b0c61
RM
158932013-03-28 Roland McGrath <roland@hack.frob.com>
15894
15895 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15896 Declare with __attribute__ ((weak)).
15897 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15898 Call __call_tls_dtors only if it's not NULL.
15899
356b3480
RM
159002013-03-28 Roland McGrath <roland@hack.frob.com>
15901
288f7d79
RM
15902 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15903 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15904 magic __ehdr_start linker symbol if it's defined.
15905 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15906 them up here if it was already done.
15907
dc0a0263
RM
15908 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15909 (_dl_aux_init): Use const in cast when setting it.
15910 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15911 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15912 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15913
3d3436ae
RM
15914 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15915 Declare them here.
15916 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15917 * csu/libc-tls.c: Nor here.
15918 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15919
356b3480
RM
15920 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15921 (__libc_message): Never call vsyslog.
15922
b0f1246a
AM
159232013-03-28 Alan Modra <amodra@gmail.com>
15924
15925 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15926 Define as empty.
15927 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15928 Likewise.
15929
fbbe2b9a
AZ
159302013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15931
15932 [BZ #15214]
15933 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15934 underflow.
15935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15936
1728ab37
SP
159372013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15938
7a86be6e
SP
15939 [BZ #15304]
15940 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15941 Don't add gid passed as argument.
15942
1728ab37
SP
15943 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15944
3a7182a1
JM
159452013-03-27 Joseph Myers <joseph@codesourcery.com>
15946
15947 [BZ #15307]
15948 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15949 imaginary part between 1.0 and 1.5 and real part less than 0.5
15950 specially.
15951 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15952 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15953 * math/libm-test.inc (cacos_test): Add more tests.
15954 (casin_test): Likewise.
15955 (casinh_test): Likewise.
15956 * sysdeps/i386/fpu/libm-test-ulps: Update.
15957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15958
6f2e90e7
SP
159592013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15960
5739f705
SP
15961 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15962 constants.
15963 (norm): Likewise.
15964 (denorm): Likewise.
15965 (__dbl_mp): Likewise.
15966 (add_magnitudes): Likewise.
15967 (sub_magnitudes): Likewise.
15968 (__add): Likewise.
15969 (__sub): Likewise.
15970 (__mul): Likewise.
15971 (__sqr): Likewise.
15972 (__inv): Likewise.
15973 (__dvd): Likewise.
15974
e375e83d
SP
15975 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15976 commented code.
15977 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15978 (__dubcos): Likewise.
15979 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15980 (__ieee754_acos): Likewise.
15981 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15982 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15983 (__exp1): Likewise.
15984 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15985 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15986 (log1): Likewise.
15987 (my_log2): Likewise.
15988 (checkint): Likewise.
15989 * sysdeps/ieee754/dbl-64/e_remainder.c
15990 (__ieee754_remainder): Likewise.
15991 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15992 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15993 (bsloww): Likewise.
15994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15995
6f2e90e7
SP
15996 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15997 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15998 MANTISSA_STORE_T to store computations on mantissa. Use
15999 macros for rounding and division.
16000 (denorm): Likewise.
16001 (__dbl_mp): Likewise.
16002 (add_magnitudes): Likewise.
16003 (sub_magnitudes): Likewise.
16004 (__mul): Likewise.
16005 (__sqr): Likewise.
16006 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16007 powers of two in terms of TWOPOW macro.
16008 (mp_no): Make type of mantissa as MANTISSA_T.
16009 [!RADIXI]: Define RADIXI.
16010 [!TWO52]: Define TWO52.
16011 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16012
fce14d4e
AZ
160132013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16014
16015 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16016 llroundl symbol when building for PPC32.
16017
9ad027fb
MW
160182013-03-24 Mark H Weaver <mhw@netris.org>
16019
16020 * manual/arith.texi (Normalization Functions): Fix prototypes for
16021 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16022
e42a38dd
AZ
160232013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16024
16025 [BZ #13889]
16026 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16027 high value to check if expl overflow.
16028 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16029 to check for underflow and overflow.
16030 * math/libm-test.inc: Add exp test.
16031
2e0fb521
DL
160322013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16033
16034 [BZ #11120]
16035 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16036 with NOT_IN_libc.
16037
b5784d95
AZ
160382013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16039
16040 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16041 symbol.
16042
5aa4a1a1
TS
160432013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16044
bdef0be7
TS
16045 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16046 wrap blocks consisting of several statements.
16047
5aa4a1a1
TS
16048 * sysdeps/generic/math-tests.h: New file.
16049 * sysdeps/i386/fpu/math-tests.h: Likewise.
16050 * math/test-snan.c: Include it.
16051 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16052
98c48fe5
JM
160532013-03-21 Joseph Myers <joseph@codesourcery.com>
16054
16055 [BZ #15285]
16056 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16057 (__ieee754_j0l): Do not improve calculations using cos of twice
16058 input for inputs above LDBL_MAX / 2.0L.
16059 (__ieee754_y0l): Likewise.
16060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16061 (__ieee754_j1l): Do not improve calculations using cos of twice
16062 input for inputs above LDBL_MAX / 2.0L.
16063 (__ieee754_y1l): Likewise.
16064 * math/libm-test.inc (j0_test): Add another test.
16065 (j1_test): Likewise.
16066 (y0_test): Likewise.
16067 (y1_test): Likewise.
16068 * sysdeps/i386/fpu/libm-test-ulps: Update.
16069
3775a8bc
SP
160702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16071
16072 * Rules ($(objpfx)bench-%.c): Include code from a C source
16073 file.
16074
0a1b2ae6
JM
160752013-03-21 Joseph Myers <joseph@codesourcery.com>
16076
16077 [BZ #15287]
16078 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16079 imaginary part 1.0 and real part less than 0.5 specially.
16080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16082 * math/libm-test.inc (cacos_test): Add more tests.
16083 (casin_test): Likewise.
16084 (casinh_test): Likewise.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16087
b33d4ce4
SP
160882013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16089
16090 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16091 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16092
bef0b507
JM
160932013-03-20 Joseph Myers <joseph@codesourcery.com>
16094
16095 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16096 * config.make.in (config-cflags-sse4): Remove variable.
16097 (config-cflags-avx): Likewise.
16098 (config-cflags-sse2avx): Likewise.
16099 (config-cflags-novzeroupper): Likewise.
16100 (config-asflags-i686): Likewise.
16101 (have-mfma4): Likewise.
16102 (have-as-vis3): Likewise.
16103 (MIG): Likewise.
16104 * configure.in (MIG): Do not AC_SUBST.
16105 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16106 (libc_cv_cc_sse4): Do not AC_SUBST.
16107 (libc_cv_cc_avx): Likewise.
16108 (libc_cv_cc_sse2avx): Likewise.
16109 (libc_cv_cc_novzeroupper): Likewise.
16110 (libc_cv_cc_fma4): Likewise.
16111 (libc_cv_as_i686): Likewise.
16112 (libc_cv_sparc_as_vis3): Likewise.
16113 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16114 LIBC_CONFIG_VAR.
16115 (config-asflags-i686): Likewise.
16116 (config-cflags-avx): Likewise.
16117 (config-cflags-sse2avx): Likewise.
16118 (have-mfma4): Likewise.
16119 (config-cflags-novzeroupper): Likewise.
16120 * sysdeps/mach/configure.in (MIG): Likewise.
16121 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16122 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16123 LIBC_CONFIG_VAR.
16124 (config-cflags-avx): Likewise.
16125 (config-cflags-sse2avx): Likewise.
16126 (have-mfma4): Likewise.
16127 (config-cflags-novzeroupper): Likewise.
16128 * configure: Regenerated.
16129 * sysdeps/i386/configure: Likewise.
16130 * sysdeps/mach/configure: Likewise.
16131 * sysdeps/sparc/configure: Likewise.
16132 * sysdeps/x86_64/configure: Likewise.
16133
912cc4b3
RM
161342013-03-20 Roland McGrath <roland@hack.frob.com>
16135
16136 [BZ #14812]
16137 * locale/programs/localedef.c (options): Put N_ translation marker
16138 on argument names, not just descriptions.
16139
04eed2b0
MS
161402013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16141
16142 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16143
a065ceff
OB
161442013-03-20 Ondřej Bílka <neleai@seznam.cz>
16145
9bb2a810 16146 [BZ #14176]
a065ceff
OB
16147 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16148
a600e5ce
RM
161492013-03-19 Roland McGrath <roland@hack.frob.com>
16150
16151 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16152 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16153 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16154 [!BEFORE_ABORT] (before_abort): New function.
16155 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16156 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16157 (writev_for_fatal): New function.
16158 (WRITEV_FOR_FATAL): New macro; call that.
16159 (backtrace_and_maps): New function.
16160 (BEFORE_ABORT): New macro; call that.
16161 (struct str_list): Type removed.
16162 (__libc_message, __libc_fatal): Functions removed.
16163 Include <sysdeps/posix/libc_fatal.c> instead.
16164
6b18bea6
JM
161652013-03-19 Joseph Myers <joseph@codesourcery.com>
16166
16167 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16168 constants.
16169 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16170 double constants.
16171
aaa8cb4b
AS
161722013-03-19 Andreas Schwab <schwab@suse.de>
16173
44673770
AS
16174 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16175 * sysdeps/gnu/configure: Regenerate.
16176
aaa8cb4b
AS
16177 * configure.in: Substitute libc_cv_rtlddir.
16178 * configure: Regenerate.
16179 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16180 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16181 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16182 * elf/Makefile (install-others, CFLAGS-interp.c)
16183 (ldso_install, common-ldd-rewrite): Likewise.
16184 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16185 $(inst_slibdir)/$(rtld-installed-name).
16186 * scripts/rellns-sh: Add -p option.
16187 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16188 for source.
16189
d3cfc668
SP
161902013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16191
16192 * manual/nptl.texi: Renamed to ...
16193 * manual/threads.texi: ... this.
16194 * manual/Makefile (chapters): Update.
16195
0e2b9cdd
RM
161962013-03-18 Roland McGrath <roland@hack.frob.com>
16197
16198 [BZ #14812]
16199 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16200 on argument names, not just descriptions.
0e2b9cdd
RM
16201 * malloc/memusagestat.c (options): Likewise.
16202 * nss/getent.c (options): Likewise.
63270c24
RM
16203
162042013-03-18 Benno Schulenberg <bensberg@justemail.net>
16205
16206 [BZ #14812]
16207 * iconv/iconv_prog.c (options): Put N_ translation marker
16208 on argument names, not just descriptions.
16209 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16210
b2e1393c
OB
162112013-03-18 Ondrej Bilka <neleai@seznam.cz>
16212
16213 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16214 implementation which is faster on all x86_64 architectures.
16215 Tested on AMD, Intel Nehalem, SNB, IVB.
16216 * sysdeps/x86_64/strnlen.S: Likewise.
16217
16218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16219 Remove all multiarch strlen and strnlen versions.
16220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16221 Remove strlen and strnlen related parts.
16222
16223 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16224 Inline strlen part.
16225 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16226
16227 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16228 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16229 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16230 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16231 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16232 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16233
ec4ff04d
CD
162342013-03-17 Carlos O'Donell <carlos@redhat.com>
16235
16236 * manual/memory.texi (Malloc Tunable Parameters):
16237 Sort parameters alphabetically. Add comments for missing entries.
16238
cd18e90a
DM
162392013-03-17 David S. Miller <davem@davemloft.net>
16240
16241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16242
2a185d32
JM
162432013-03-16 Joseph Myers <joseph@codesourcery.com>
16244
d2f9799e
JM
16245 [BZ #15283]
16246 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16247 for arguments at most half maximum finite value.
16248 * math/libm-test.inc (j0_test): Add more tests.
16249 (j1_test): Likewise.
16250 (y0_test): Likewise.
16251 (y1_test): Likewise.
16252 * sysdeps/i386/fpu/libm-test-ulps: Update.
16253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16254
2a185d32
JM
16255 [BZ #14155]
16256 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16257 1 / x and functions P and Q for arguments above 0x1p256L.
16258 (__ieee754_y0l): Likewise.
16259 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16260 (__ieee754_y1l): Likewise.
16261 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16262 (j1_test): Likewise.
16263 (y0_test): Likewise.
16264 (y1_test): Likewise.
16265
6cbec759
TS
162662013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16267
16268 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16269 variable.
16270
bc16e260
RM
162712013-03-15 Roland McGrath <roland@hack.frob.com>
16272
aefc9b8c
RM
16273 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16274 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16275 zero since it's initialized to EXEC_PAGESIZE.
16276
bc16e260
RM
16277 * sysdeps/unix/sysv/linux/ldsodefs.h
16278 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16279 * sysdeps/generic/ldsodefs.h: ... here.
16280
a57da955
TS
162812013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16282
af00a34d
TS
16283 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16284
495ded2c
TS
16285 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16286 math/test-snan.c.
16287 * math/test-snan.c: Renamed from
16288 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16289 * math/Makefile (tests): Add test-snan.
16290 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16291 test-powerpc-snan.
16292
777b0332
TS
16293 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16294 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16295 functions.
16296 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16297 __builtin_nan family of functions.
16298 * math/libm-test.inc (initialize): Initialize qnan_value with
16299 __builtin_nan family of functions.
16300 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16301 Remove variables.
16302 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16303 Remove functions.
16304 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16305 storage class. Initialize qNaN_var and sNaN_var with
16306 __builtin_nan and __builtin_nans families of functions,
16307 respectively.
16308
64d063b8
TS
16309 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16310 (sqrt_test): Remove duplicate test with qNaN input.
16311 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16312 (round_test, signbit_test, significand_test): Note missing +/-Inf
16313 as well as qNaN tests.
16314
67e971f1
TS
16315 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16316 qNaN_var. Fix a few strings, too.
16317 * math/libm-test.inc (nan_value): Rename to qnan_value.
16318 * math/gen-libm-test.pl (%beautify): Adjust to that.
16319 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16320 * math/test-misc.c (main): Likewise.
16321 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16322 to __qnan_bytes, and __qnan_union, respectively.
16323 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16324 Likewise.
16325 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16326 and lqnanval, respectively.
16327 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16328 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16329 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16330 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16331
64487e12
TS
16332 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16333 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16334 doubles.
16335
e015e27b
TS
16336 * math/test-misc.c (main): Fix copy'n'pastos.
16337 * misc/tst-efgcvt.c (special): Likewise.
16338
a57da955
TS
16339 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16340 Remove declarations.
16341
1e380345
SP
163422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16343
16344 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16345 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16346 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16347 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16348
ef26eece
AZ
163492013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16350
16351 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16352 macro to return vdso values correctly in IFUNC implementations.
16353 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16354 Optimization by using IFUNC.
16355
8cfdb7e0
SP
163562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16357 Richard Henderson <rth@redhat.com>
16358 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16359
16360 * Makefile.in (bench): New target.
16361 * NEWS: Mention the benchmark framework.
16362 * Rules (bench): Likewise.
16363 (binaries-bench): Generate binaries for functions to
16364 benchmark.
16365 * benchtests/Makefile: New makefile for benchmark tests.
16366 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16367 programs.
16368 * benchtests/exp-inputs: New input file for EXP function.
16369 * benchtests/pow-inputs: New input file for POW function.
16370 * scripts/bench.pl: New script to generate source files for
16371 benchmark programs.
16372
bcda9880
SP
163732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16374
d22ca8cd
SP
16375 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16376 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16377 computations on mantissa. Use macros for rounding and
16378 division.
16379 (denorm): Likewise.
16380 (__dbl_mp): Likewise.
16381 (add_magnitudes): Likewise.
16382 (sub_magnitudes): Likewise.
16383 (__mul): Likewise.
16384 (__sqr): Likewise.
16385 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16386 powers of two in terms of TWOPOW macro.
16387 (mp_no): Make type of mantissa as MANTISSA_T.
16388 [!RADIXI]: Define RADIXI.
16389 [!TWO52]: Define TWO52.
16390 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16391
bcda9880
SP
16392 * manual/nptl.texi (cindex): Modify threads to pthreads.
16393
06d5adfb
JM
163942013-03-15 Joseph Myers <joseph@codesourcery.com>
16395
16396 * sysdeps/x86_64/preconfigure: Regenerated.
16397
41c7328e
JM
163982013-03-14 Joseph Myers <joseph@codesourcery.com>
16399
16400 [BZ #14155]
16401 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16402 0x1p28 and above.
16403 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16404 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16405 0x1p28 and above.
16406 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16407 * math/libm-test.inc (j0_test): Do not allow one spurious
16408 underflow exception.
16409 (y1_test): Likewise.
16410
e25cfa60
SP
164112013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16412
0409959c
SP
16413 * manual/Makefile (chapters): Add nptl.
16414 * manual/debug.texi (Debugging Support): Add link to Threads
16415 chapter.
16416 * manual/nptl.texi: New file.
16417
e25cfa60
SP
16418 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16419
58a1335e
PB
164202013-03-14 Petr Baudis <pasky@ucw.cz>
16421
16422 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16423 for non-NULL pointer before the memory validity test. Pointed
16424 out by Holger Brunck <holger.brunck@keymile.com>.
16425
9dc7c64f
AS
164262013-03-13 Andreas Schwab <schwab@suse.de>
16427
16428 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16429 instead of .os.
16430
54206aa6
JM
164312013-03-13 Joseph Myers <joseph@codesourcery.com>
16432
16433 * timezone/zic.c: Update from tzcode 2013b.
16434
e98cdb38
CD
164352013-03-12 Carlos O'Donell <carlos@redhat.com>
16436
16437 * manual/install.texi (Configuring and compiling):
16438 Mention i686 and i586.
16439 * INSTALL: Regenerate.
16440
9967e003
RM
164412013-03-12 Roland McGrath <roland@hack.frob.com>
16442
16443 * sysdeps/init_array/elf-init.c: New file.
16444 * csu/elf-init.c
16445 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16446 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16447
16448 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16449 __gmon_start__ as global, but as static with a .preinit_array pointer.
16450 * sysdeps/init_array/gmon-start.c: New file. Use that.
16451 * sysdeps/init_array/crti.S: New file, empty except for comments.
16452 * sysdeps/init_array/crtn.S: Likewise.
16453
e6b5a293 164542013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16455
16456 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16457 definining bcopy.
80f844c9
OB
16458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16459 Remove Prefer_SSE_for_memop.
16460 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16461 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16462 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16464 memset-x86-64.
80f844c9 16465 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16466 Remove bzero, memset ifunc support.
80f844c9
OB
16467 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16468 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16469 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16470 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16471
fb6b0fcb
AS
164722013-03-11 Andreas Schwab <schwab@suse.de>
16473
16474 [BZ #15234]
16475 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16476 by SHLIB_COMPAT.
16477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16478 (GLIBC_2.16): Remove pthread_atfork.
16479
3e6bd4b1
PP
164802013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16481
16482 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16483 (ptestcases.h): Likewise.
16484
222d7f00
RM
164852013-03-08 Roland McGrath <roland@hack.frob.com>
16486
16487 * Makeconfig ($(common-objpfx)config.status): Depend on
16488 sysdeps/*/preconfigure{,.in} too.
16489
1ba4f030
JM
164902013-03-08 Joseph Myers <joseph@codesourcery.com>
16491
a222d91a
JM
16492 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16493 (__free_hook): Use void * instead of __malloc_ptr_t.
16494 (__malloc_hook): Likewise.
16495 (__realloc_hook): Likewise.
16496 (__memalign_hook): Likewise.
16497 (__after_morecore_hook): Likewise.
16498 * malloc/arena.c (save_malloc_hook): Likewise.
16499 (save_free_hook): Likewise.
16500 * malloc/hooks.c (malloc_hook_ini): Likewise.
16501 (realloc_hook_ini): Likewise.
16502 (memalign_hook_ini): Likewise.
16503 * malloc/malloc.c (malloc_hook_ini): Likewise.
16504 (realloc_hook_ini): Likewise.
16505 (memalign_hook_ini): Likewise.
16506 (__free_hook): Likewise.
16507 (__malloc_hook): Likewise.
16508 (__realloc_hook): Likewise.
16509 (__memalign_hook): Likewise.
16510 (__libc_malloc): Likewise.
16511 (__libc_free): Likewise.
16512 (__libc_realloc): Likewise.
16513 (__libc_memalign): Likewise.
16514 (__libc_valloc): Likewise.
16515 (__libc_pvalloc): Likewise.
16516 (__libc_calloc): Likewise.
16517 (__posix_memalign): Likewise.
16518 * malloc/morecore.c (__sbrk): Likewise.
16519 (__default_morecore): Likewise.
16520
5cc45e10
JM
16521 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16522
dd54b864
JM
16523 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16524 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16525 __malloc_ptrdiff_t.
16526
1ba4f030
JM
16527 * malloc/malloc.h (__malloc_size_t): Remove macro.
16528 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16529 __malloc_size_t.
16530 (old_memalign_hook): Likewise.
16531 (old_realloc_hook): Likewise.
16532 (struct hdr): Likewise.
16533 (flood): Likewise.
16534 (mallochook): Likewise.
16535 (memalignhook): Likewise.
16536 (reallochook): Likewise.
16537 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16538 (tr_old_realloc_hook): Likewise.
16539 (tr_old_memalign_hook): Likewise.
16540 (tr_mallochook): Likewise.
16541 (tr_reallochook): Likewise.
16542 (tr_memalignhook): Likewise.
16543
edf66e57
AZ
165442013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16545
16546 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16547 default_ldbl_pack and using as default implementation.
16548 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16549 implementation.
16550 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16551 redundant definition.
16552 (ldbl_insert_mantissa): Likewise.
16553 (ldbl_canonicalize): Likewise.
16554 (ldbl_nearbyint): Likewise.
16555 (ldbl_pack): Rename to ldbl_pack_ppc.
16556 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16557 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16558 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16559
6d9145d8
SP
165602013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16561
16562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16563 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16564 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16565 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16567 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16568 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16569 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16570
4dd4e157
AJ
165712013-03-07 Andreas Jaeger <aj@suse.de>
16572
16573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16574 bits/mman-linux.h.
16575
adbb8027
SP
165762013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16577
ce544b5b
SP
16578 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16579 Include mpa.h and declare __MPEXP.
16580 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16581 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16582 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16583 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16584 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16585 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16586 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16587
4cc149fd
SP
16588 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16589 (__slowpow): Use long double EXPL and LOGL functions to
16590 compute POW.
16591 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16592 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16593 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16594 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16595 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16596 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16597
e6ebd4a7
SP
16598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16599 intermediate variable to calculate exponent.
16600 (__sqr): Likewise.
16601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16602 Likewise.
16603 (__sqr): Likewise.
16604
82a9811d
SP
16605 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16606 [!NO__SQR]: Define __sqr.
16607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16608 and NO__SQR. Remove all code except __mul and __sqr. Include
16609 sysdeps/ieee754/dbl-64/mpa.c.
16610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16611
adbb8027
SP
16612 [BZ #12723]
16613 * posix/Makefile (tests): Add tst-pathconf.
16614 * posix/tst-pathconf.c: New test case.
16615 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16616 _PC_PIPE_BUF.
16617 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16618
39120df9
PF
166192013-03-06 Patsy Franklin <pfrankli@redhat.com>
16620
16621 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16622
67525cb8
AJ
166232013-03-06 Andreas Jaeger <aj@suse.de>
16624
664a9ce4
AJ
16625 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16626 definition via __MAP_ANONYMOUS.
16627
8e39047d
AJ
16628 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16629 it's not part of Linux headers.
16630
67525cb8
AJ
16631 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16632 (MAP_HUGE_MASK): Define.
16633
16634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16635 Define.
16636 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16638 Define.
16639 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16640 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16641 Define.
16642 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16643 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16644 Define.
16645 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16646
16647 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16648 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16649 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16650 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16651 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16652 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16653
16654 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16655 Handle f2fs.
16656
16657 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16658 Handle f2fs and efivarfs.
16659
16660 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16661 f2fs.
16662
16663 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16664 (EFIVARFS_MAGIC): Add.
16665 (F2FS_LINK_MAX): Add.
16666
e1b42695
PP
166672013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16668
16669 * stdio-common/vfprintf.c: Replace __builtin_expect with
16670 __glibc_unlikely.
16671
2d67d91a
JM
166722013-03-06 Joseph Myers <joseph@codesourcery.com>
16673
16674 [BZ #13550]
16675 * sysdeps/generic/bp-sym.h: Remove file.
16676 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16677 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16678 <bp-sym.h> and <bp-asm.h>.
16679 (__longjmp): Don't use BP_SYM.
16680 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16681 and <bp-asm.h>.
16682 (memcpy): Don't use BP_SYM.
16683 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16684 <bp-sym.h> and <bp-asm.h>.
16685 (memcpy): Don't use BP_SYM.
16686 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16687 <bp-asm.h>.
16688 (memcpy): Don't use BP_SYM.
16689 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16690 <bp-asm.h>.
16691 (memset): Don't use BP_SYM.
16692 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16693 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16694 (__bzero): Don't use BP_SYM.
16695 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16696 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16697 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16698 <bp-sym.h> and <bp-asm.h>.
16699 (memcmp): Don't use BP_SYM. Remove comment about bounded
16700 pointers.
16701 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16702 <bp-sym.h> and <bp-asm.h>.
16703 (memcpy): Don't use BP_SYM.
16704 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16705 <bp-sym.h> and <bp-asm.h>.
16706 (memset): Don't use BP_SYM.
16707 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16708 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16709 (__bzero): Don't use BP_SYM.
16710 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16711 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16712 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16713 <bp-sym.h> and <bp-asm.h>.
16714 (strncmp): Don't use BP_SYM. Remove comment about bounded
16715 pointers.
16716 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16717 <bp-sym.h> and <bp-asm.h>.
16718 (memcpy): Don't use BP_SYM.
16719 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16720 <bp-sym.h> and <bp-asm.h>.
16721 (memset): Don't use BP_SYM.
16722 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16723 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16724 (__bzero): Don't use BP_SYM.
16725 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16726 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16727 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16728 <bp-sym.h> and <bp-asm.h>.
16729 (__memchr): Don't use BP_SYM.
16730 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16731 <bp-sym.h> and <bp-asm.h>.
16732 (memcmp): Don't use BP_SYM. Remove comment about bounded
16733 pointers.
16734 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16735 <bp-sym.h> and <bp-asm.h>.
16736 (memcpy): Don't use BP_SYM.
16737 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16738 <bp-sym.h> and <bp-asm.h>.
16739 (__mempcpy): Don't use BP_SYM.
16740 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16741 <bp-sym.h> and <bp-asm.h>.
16742 (__memrchr): Don't use BP_SYM.
16743 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16744 <bp-sym.h> and <bp-asm.h>.
16745 (memset): Don't use BP_SYM.
16746 (__bzero): Likewise.
16747 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16748 <bp-sym.h> and <bp-asm.h>.
16749 (__rawmemchr): Don't use BP_SYM.
16750 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16751 <bp-sym.h> and <bp-asm.h>.
16752 (__STRCMP): Don't use BP_SYM.
16753 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16754 <bp-sym.h> and <bp-asm.h>.
16755 (strchr): Don't use BP_SYM.
16756 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16757 <bp-sym.h> and <bp-asm.h>.
16758 (__strchrnul): Don't use BP_SYM.
16759 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16760 <bp-sym.h> and <bp-asm.h>.
16761 (strlen): Don't use BP_SYM.
16762 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16763 <bp-sym.h> and <bp-asm.h>.
16764 (strncmp): Don't use BP_SYM. Remove comment about bounded
16765 pointers.
16766 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16767 <bp-sym.h> and <bp-asm.h>.
16768 (__strnlen): Don't use BP_SYM.
16769 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16770 <bp-sym.h> and <bp-asm.h>.
16771 (__GI__setjmp): Don't use BP_SYM.
16772 (_setjmp): Likewise.
16773 (__sigsetjmp): Likewise.
16774 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16775 (L(start_addresses)): Don't use BP_SYM.
16776 (_start): Likewise.
16777 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16778 <bp-asm.h>.
16779 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16780 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16781 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16782 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16783 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16784 <bp-asm.h>.
16785 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16786 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16787 about bounded pointers.
16788 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16789 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16790 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16791 <bp-asm.h>.
16792 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16793 about bounded pointers. Remove GKM FIXME comments.
16794 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16795 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16796 <bp-asm.h>.
16797 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16798 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16799 Remove GKM FIXME comments.
16800 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16801 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16802 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16803 <bp-asm.h>.
16804 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16805 about bounded pointers. Remove GKM FIXME comment.
16806 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16807 and <bp-asm.h>.
16808 (strncmp): Don't use BP_SYM. Remove comment about bounded
16809 pointers.
16810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16811 <bp-sym.h> and <bp-asm.h>.
16812 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16814 <bp-sym.h> and <bp-asm.h>.
16815 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16816 comment.
16817
cdcf361f
PP
168182013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16819
16820 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16821 call free(NULL).
16822
3c4a2b15
DM
168232013-03-05 David S. Miller <davem@davemloft.net>
16824
16825 * po/es.po: Update from translation team.
16826
cdcf361f 168272013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16828
16829 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16830 <bits/mman-linux.h>.
16831 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16832 is fine.
16833 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16834 <bits/mman-linux.h> to end of file.
16835 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16836 is fine.
16837 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16838 <bits/mman-linux.h> to end of file.
16839 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16840 is fine.
16841 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16842 <bits/mman-linux.h> to end of file.
16843
16844 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16845 (MCL_CURRENT, MCL_FUTURE): Define here.
16846
5f67c04f
AK
168472013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16848
8a4473cc 16849 [BZ #15232]
5f67c04f
AK
16850 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16851 attribute_hidden.
16852 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16853
c3e94a95
AK
168542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16855
16856 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16857 fourth parameter needed for rt_sigprocmask syscall.
16858 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16859 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16860 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16861 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16862 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16863 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16864
cfb6382a
JM
168652013-03-04 Joseph Myers <joseph@codesourcery.com>
16866
16867 [BZ #13550]
16868 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16869 comment about bounded pointers.
16870 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16871 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16872
539d8e01
AJ
168732013-03-04 Andreas Jaeger <aj@suse.de>
16874
16875 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16876 common definitions.
16877
16878 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16879 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16880 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16881 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16882 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16883 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16884
2e167a70 168852013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16886
16887 [BZ #15055]
16888 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16889 __ieee754_sqrl instead of __sqrl.
16890
68508633
JM
168912013-03-01 Joseph Myers <joseph@codesourcery.com>
16892
16893 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16894 * sysdeps/powerpc/fpu_control.h: ... here.
16895 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16896 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16897 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16898 * sysdeps/powerpc/bits/mathinline.h: ... here.
16899
7775448e
RM
169002013-03-01 Roland McGrath <roland@hack.frob.com>
16901
16902 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16903 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16904 to just [NEED_DL_SYSINFO_DSO].
16905 * elf/dl-support.c: Likewise.
16906 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16907 * elf/rtld.c (dl_main): Likewise.
16908 * elf/setup-vdso.h (setup_vdso): Likewise.
16909 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16910 * sysdeps/unix/sysv/linux/dl-sysdep.c
16911 (_dl_discover_osversion): Likewise.
16912
4e9b5995
CD
169132013-03-01 Carlos O'Donell <carlos@redhat.com>
16914
16915 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16916 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16917
e23872c8
SP
169182013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16919
e5c74c63
SP
16920 * NEWS: Mention libm performance improvements and non-x86 PI
16921 futex support.
16922
e23872c8
SP
16923 * csu/libc-start.c (__pthread_initialize_minimal): Change
16924 function arguments.
16925 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16926
b5510883
JM
169272013-02-28 Joseph Myers <joseph@codesourcery.com>
16928
16929 [BZ #13550]
16930 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16931 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16932 <bp-sym.h> and <bp-asm.h>.
16933 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16934 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16935 and <bp-asm.h>.
16936 (memcpy): Don't use BP_SYM.
16937 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16938 <bp-asm.h>.
16939 (__mpn_add_n): Don't use BP_SYM.
16940 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16941 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16942 and <bp-asm.h>.
16943 (__mpn_addmul_1): Don't use BP_SYM.
16944 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16945 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16946 <bp-sym.h>.
16947 (_setjmp): Don't use BP_SYM.
16948 (__novmx_setjmp): Likewise.
16949 (__GI__setjmp): Likewise.
16950 (__vmx_setjmp): Likewise.
16951 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16952 <bp-sym.h>.
16953 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16954 (__bzero): Don't use BP_SYM.
16955 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16956 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16957 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16958 <bp-sym.h> and <bp-asm.h>.
16959 (memcpy): Don't use BP_SYM.
16960 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16963 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16966 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16967 <bp-asm.h>.
16968 (__mpn_lshift): Don't use BP_SYM.
16969 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16970 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16971 <bp-asm.h>.
16972 (memset): Don't use BP_SYM.
16973 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16974 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16975 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16976 <bp-asm.h>.
16977 (__mpn_mul_1): Don't use BP_SYM.
16978 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16979 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16980 <bp-sym.h> and <bp-asm.h>.
16981 (memcmp): Don't use BP_SYM.
16982 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16983 <bp-sym.h> and <bp-asm.h>.
16984 (memcpy): Don't use BP_SYM.
16985 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16986 <bp-sym.h> and <bp-asm.h>.
16987 (memset): Don't use BP_SYM.
16988 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16989 <bp-sym.h> and <bp-asm.h>.
16990 (strncmp): Don't use BP_SYM.
16991 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16992 <bp-sym.h> and <bp-asm.h>.
16993 (memcpy): Don't use BP_SYM.
16994 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16995 <bp-sym.h> and <bp-asm.h>.
16996 (memset): Don't use BP_SYM.
16997 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16998 <bp-sym.h> and <bp-asm.h>.
16999 (__memchr): Don't use BP_SYM.
17000 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17001 <bp-sym.h> and <bp-asm.h>.
17002 (memcmp): Don't use BP_SYM.
17003 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17004 <bp-sym.h> and <bp-asm.h>.
17005 (memcpy): Don't use BP_SYM.
17006 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17007 <bp-sym.h> and <bp-asm.h>.
17008 (__mempcpy): Don't use BP_SYM.
17009 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17010 <bp-sym.h> and <bp-asm.h>.
17011 (__memrchr): Don't use BP_SYM.
17012 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17013 <bp-sym.h> and <bp-asm.h>.
17014 (memset): Don't use BP_SYM.
17015 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17016 <bp-sym.h> and <bp-asm.h>.
17017 (__rawmemchr): Don't use BP_SYM.
17018 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17019 <bp-sym.h> and <bp-asm.h>.
17020 (__STRCMP): Don't use BP_SYM.
17021 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (strchr): Don't use BP_SYM.
17024 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17025 <bp-sym.h> and <bp-asm.h>.
17026 (__strchrnul): Don't use BP_SYM.
17027 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17028 <bp-sym.h> and <bp-asm.h>.
17029 (strlen): Don't use BP_SYM.
17030 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17031 <bp-sym.h> and <bp-asm.h>.
17032 (strncmp): Don't use BP_SYM.
17033 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17034 <bp-sym.h> and <bp-asm.h>.
17035 (__strnlen): Don't use BP_SYM.
17036 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17037 <bp-asm.h>.
17038 (__mpn_rshift): Don't use BP_SYM.
17039 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17040 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17041 <bp-sym.h> and <bp-asm.h>.
17042 (__sigsetjmp): Don't use BP_SYM.
17043 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17044 (L(start_addresses)): Don't use BP_SYM.
17045 (_start): Likewise.
17046 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17047 <bp-asm.h>.
17048 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17049 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17050 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17051 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17052 <bp-asm.h>.
17053 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17054 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17055 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17056 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17057 <bp-asm.h>.
17058 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17059 comments.
17060 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17061 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17062 <bp-asm.h>.
17063 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17064 FIXME comments.
17065 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17066 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17067 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17068 <bp-asm.h>.
17069 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17070 comment.
17071 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17072 and <bp-asm.h>.
17073 (strncmp): Don't use BP_SYM,
17074 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17075 <bp-asm.h>.
17076 (__mpn_sub_n): Don't use BP_SYM.
17077 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17078 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17079 and <bp-asm.h>.
17080 (__mpn_submul_1): Don't use BP_SYM.
17081 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17083 <bp-sym.h> and <bp-asm.h>.
17084 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17086 <bp-sym.h> and <bp-asm.h>.
17087 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17088 comment.
17089
8d19fe64
SP
170902013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17091
17092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17093 Use ZK to minimize writes to Z.
17094 (sub_magnitudes): Simplify code a bit.
17095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17096 Use ZK to minimize writes to Z.
17097 (sub_magnitudes): Simplify code a bit.
17098
85bd816a
RM
170992013-02-27 Roland McGrath <roland@hack.frob.com>
17100
17101 * csu/gmon-start.c: Add special exception to license text.
17102
b5977bf2
RH
171032013-02-27 Richard Henderson <rth@redhat.com>
17104
17105 * scripts/config.guess: Update from config.git.
17106 * scripts/config.sub: Likewise.
17107
11d6e2f2
SP
171082013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17109
09c14ed2
SP
17110 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17111
a688864e
SP
17112 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17113
6295157a
SP
17114 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17115
b8de2202
SP
17116 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17117
11d6e2f2
SP
17118 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17119
7e80ddb8
RM
171202013-02-26 Roland McGrath <roland@hack.frob.com>
17121
17122 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17123 [$(build-shared = yes].
7e80ddb8 17124
7da6d9ed
SP
171252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17126
45f05884
SP
17127 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17128 (__mul): Reduce iterations for calculating mantissa.
17129
2236d359
SP
17130 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17131 MPTWO.
17132 (__mpranred): Likewise.
17133
7da6d9ed
SP
17134 [BZ #15160]
17135 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17136 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17137
b7688c42
PE
171382013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17139
17140 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17141 Define __attribute__.
17142
53a5c423
SP
171432013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17144
17145 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17146 unused.
17147 * posix/regex_internal.h (__attribute): Remove.
17148 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17149 (re_string_context_at): Likewise.
17150 (bitset_not): Use __attribute__ and mark function as possibly
17151 unused.
17152 (bitset_merge): Likewise.
17153 (bitset_mask): Likewise.
17154 (re_string_char_size_at): Likewise.
17155 (re_string_wchar_at): Likewise.
17156 (re_string_elem_size_at): Likewise.
17157
60f5a8b5
SP
171582013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17159
2a983a2e
SP
17160 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17161 code.
17162 (cc32): Likewise.
17163
e69804d1
SP
17164 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17165 (__acr): Likewise.
17166 (__cpy): Likewise.
17167 (norm): Likewise.
17168 (denorm): Likewise.
17169 (__dbl_mp): Likewise.
17170 (add_magnitudes): Likewise.
17171 (sub_magnitudes): Likewise.
17172 (__mul): Likewise.
17173 (__inv): Likewise.
17174
2f22a1e8
SP
17175 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17176 style.
17177
8930ddc7
SP
17178 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17179 style.
17180
dc60cb11
SP
17181 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17182 code.
17183
60f5a8b5
SP
17184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17185 up changes with default code.
17186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17187 Likewise.
17188
b4d1fd33
AM
171892013-02-24 Allan McRae <allan@archlinux.org>
17190
faf6f8bc
AM
17191 * manual/socket.texi (The Internet Namespace): Order menu items
17192 to match that in the file.
17193
b4d1fd33
AM
17194 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17195 node listing of the info page menu.
17196
2366713d
JM
171972013-02-21 Joseph Myers <joseph@codesourcery.com>
17198
17199 [BZ #13550]
17200 * sysdeps/i386/bp-asm.h: Remove file.
17201 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17202 (PARMS): Do not use macros from bp-asm.h.
17203 (S1): Likewise.
17204 (S2): Likewise.
17205 (SIZE): Likewise.
17206 (__mpn_add_n): Do not use BP_SYM
17207 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17208 "bp-asm.h".
17209 (PARMS): Do not use macros from bp-asm.h.
17210 (S1): Likewise.
17211 (SIZE): Likewise.
17212 (__mpn_addmul_1): Do not use BP_SYM
17213 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17214 "bp-asm.h".
17215 (PARMS): Do not use macros from bp-asm.h.
17216 (SIGMSK): Likewise.
17217 (_setjmp): Likewise. Do not use BP_SYM.
17218 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17219 "bp-asm.h".
17220 (PARMS): Do not use macros from bp-asm.h.
17221 (SIGMSK): Likewise.
17222 (setjmp): Likewise. Do not use BP_SYM.
17223 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17224 "bp-asm.h".
17225 (PARMS): Do not use macros from bp-asm.h.
17226 (__frexp): Do not use BP_SYM.
17227 (frexp): Likewise.
17228 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17229 "bp-asm.h".
17230 (PARMS): Do not use macros from bp-asm.h.
17231 (__frexpf): Do not use BP_SYM.
17232 (frexpf): Likewise.
17233 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17234 "bp-asm.h".
17235 (PARMS): Do not use macros from bp-asm.h.
17236 (__frexpl): Do not use BP_SYM.
17237 (frexpl): Likewise.
17238 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17239 "bp-asm.h".
17240 (PARMS): Do not use macros from bp-asm.h.
17241 (__remquo): Do not use BP_SYM.
17242 (remquo): Likewise.
17243 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17244 "bp-asm.h".
17245 (PARMS): Do not use macros from bp-asm.h.
17246 (__remquof): Do not use BP_SYM.
17247 (remquof): Likewise.
17248 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17249 "bp-asm.h".
17250 (PARMS): Do not use macros from bp-asm.h.
17251 (__remquol): Do not use BP_SYM.
17252 (remquol): Likewise.
17253 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17254 "bp-asm.h".
17255 (PARMS): Do not use macros from bp-asm.h.
17256 (DEST): Likewise.
17257 (SRC): Likewise.
17258 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17259 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17260 "bp-asm.h".
17261 (PARMS): Do not use macros from bp-asm.h.
17262 (strlen): Do not use BP_SYM.
17263 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17264 "bp-asm.h".
17265 (PARMS): Do not use macros from bp-asm.h.
17266 (S1): Likewise.
17267 (S2): Likewise.
17268 (SIZE): Likewise.
17269 (__mpn_add_n): Do not use BP_SYM.
17270 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17271 "bp-asm.h".
17272 (PARMS): Do not use macros from bp-asm.h.
17273 (S1): Likewise.
17274 (SIZE): Likewise.
17275 (__mpn_addmul_1): Do not use BP_SYM.
17276 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17277 weak_alias.
17278 (bzero): Likewise.
17279 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17280 "bp-asm.h".
17281 (PARMS): Do not use macros from bp-asm.h.
17282 (S): Likewise.
17283 (SIZE): Likewise.
17284 (__mpn_lshift): Do not use BP_SYM.
17285 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17286 "bp-asm.h".
17287 (PARMS): Do not use macros from bp-asm.h.
17288 (DEST): Likewise.
17289 (SRC): Likewise.
17290 (LEN): Likewise.
17291 (memcpy): Likewise. Do not use BP_SYM.
17292 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17293 libc_hidden_def and weak_alias.
17294 (mempcpy): Do not use BP_SYM in weak_alias.
17295 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17296 "bp-asm.h".
17297 (PARMS): Do not use macros from bp-asm.h.
17298 (DEST): Likewise.
17299 (LEN): Likewise.
17300 [!BZERO_P] (CHR): Likewise.
17301 (memset): Likewise. Do not use BP_SYM.
17302 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17303 "bp-asm.h".
17304 (PARMS): Do not use macros from bp-asm.h.
17305 (S1): Likewise.
17306 (SIZE): Likewise.
17307 (__mpn_mul_1): Do not use BP_SYM.
17308 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17309 "bp-asm.h".
17310 (PARMS): Do not use macros from bp-asm.h.
17311 (S): Likewise.
17312 (SIZE): Likewise.
17313 (__mpn_rshift): Do not use BP_SYM.
17314 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17315 "bp-asm.h".
17316 (PARMS): Do not use macros from bp-asm.h.
17317 (STR): Likewise.
17318 (CHR): Likewise.
17319 (strchr): Likewise. Do not use BP_SYM.
17320 (index): Do not use BP_SYM in weak_alias.
17321 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17322 "bp-asm.h".
17323 (PARMS): Do not use macros from bp-asm.h.
17324 (DEST): Likewise.
17325 (SRC): Likewise.
17326 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17327 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17328 "bp-asm.h".
17329 (PARMS): Do not use macros from bp-asm.h.
17330 (strlen): Do not use BP_SYM.
17331 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17332 "bp-asm.h".
17333 (PARMS): Do not use macros from bp-asm.h.
17334 (S1): Likewise.
17335 (S2): Likewise.
17336 (SIZE): Likewise.
17337 (__mpn_sub_n): Do not use BP_SYM.
17338 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17339 "bp-asm.h".
17340 (PARMS): Do not use macros from bp-asm.h.
17341 (S1): Likewise.
17342 (SIZE): Likewise.
17343 (__mpn_submul_1): Do not use BP_SYM.
17344 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17345 "bp-asm.h".
17346 (PARMS): Do not use macros from bp-asm.h.
17347 (S1): Likewise.
17348 (S2): Likewise.
17349 (SIZE): Likewise.
17350 (__mpn_add_n): Do not use BP_SYM.
17351 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17352 weak_alias.
17353 (bzero): Likewise.
17354 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17355 "bp-asm.h".
17356 (PARMS): Do not use macros from bp-asm.h.
17357 (BLK2): Likewise.
17358 (LEN): Likewise.
17359 (memcmp): Do not use BP_SYM.
17360 (bcmp): Do not use BP_SYM in weak_alias.
17361 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17362 "bp-asm.h".
17363 (PARMS): Do not use macros from bp-asm.h.
17364 (DEST): Likewise.
17365 (SRC): Likewise.
17366 (LEN): Likewise.
17367 (memcpy): Likewise. Do not use BP_SYM.
17368 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17369 "bp-asm.h".
17370 (PARMS): Do not use macros from bp-asm.h.
17371 (DEST): Likewise.
17372 (SRC): Likewise.
17373 (LEN): Likewise.
17374 (memmove): Likewise. Do not use BP_SYM.
17375 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17376 "bp-asm.h".
17377 (PARMS): Do not use macros from bp-asm.h.
17378 (DEST): Likewise.
17379 (SRC): Likewise.
17380 (LEN): Likewise.
17381 (__mempcpy): Likewise. Do not use BP_SYM.
17382 (mempcpy): Do not use BP_SYM in weak_alias.
17383 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17384 "bp-asm.h".
17385 (PARMS): Do not use macros from bp-asm.h.
17386 (DEST): Likewise.
17387 (LEN): Likewise.
17388 [!BZERO_P] (CHR): Likewise.
17389 (memset): Likewise. Do not use BP_SYM.
17390 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17391 "bp-asm.h".
17392 (PARMS): Do not use macros from bp-asm.h.
17393 (STR2): Likewise.
17394 (strcmp): Do not use BP_SYM.
17395 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17396 "bp-asm.h".
17397 (PARMS): Do not use macros from bp-asm.h.
17398 (STR): Likewise.
17399 (DELIM): Likewise.
17400 [USE_AS_STRTOK_R] (SAVE): Likewise.
17401 (FUNCTION): Likewise. Do not use BP_SYM.
17402 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17403 aliases.
17404 (strtok_r): Likewise.
17405 (__GI___strtok_r): Likewise.
17406 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17407 (PARMS): Do not use macros from bp-asm.h.
17408 (S): Likewise.
17409 (SIZE): Likewise.
17410 (__mpn_lshift): Do not use BP_SYM.
17411 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17412 (PARMS): Do not use macros from bp-asm.h.
17413 (STR): Likewise.
17414 (CHR): Likewise.
17415 (__memchr): Do not use BP_SYM.
17416 (memchr): Do not use BP_SYM in weak_alias.
17417 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17418 (PARMS): Do not use macros from bp-asm.h.
17419 (BLK2): Likewise.
17420 (LEN): Likewise.
17421 (memcmp): Do not use BP_SYM.
17422 (bcmp): Do not use BP_SYM in weak_alias.
17423 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17424 (PARMS): Do not use macros from bp-asm.h.
17425 (S1): Likewise.
17426 (SIZE): Likewise.
17427 (__mpn_mul_1): Do not use BP_SYM.
17428 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17429 "bp-asm.h".
17430 (PARMS): Do not use macros from bp-asm.h.
17431 (STR): Likewise.
17432 (CHR): Likewise.
17433 (__rawmemchr): Do not use BP_SYM.
17434 (rawmemchr): Do not use BP_SYM in weak_alias.
17435 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17436 (PARMS): Do not use macros from bp-asm.h.
17437 (S): Likewise.
17438 (SIZE): Likewise.
17439 (__mpn_rshift): Do not use BP_SYM.
17440 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17441 (PARMS): Do not use macros from bp-asm.h.
17442 (SIGMSK): Likewise.
17443 (__sigsetjmp): Likewise. Do not use BP_SYM.
17444 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17445 (_start): Do not use BP_SYM.
17446 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17447 (PARMS): Do not use macros from bp-asm.h.
17448 (DEST): Likewise.
17449 (SRC): Likewise.
17450 (__stpcpy): Likewise. Do not use BP_SYM.
17451 (stpcpy): Do not use BP_SYM in weak_alias.
17452 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17453 "bp-asm.h".
17454 (PARMS): Do not use macros from bp-asm.h.
17455 (DEST): Likewise.
17456 (SRC): Likewise.
17457 (LEN): Likewise.
17458 (__stpncpy): Likewise. Do not use BP_SYM.
17459 (stpncpy): Do not use BP_SYM in weak_alias.
17460 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17461 (PARMS): Do not use macros from bp-asm.h.
17462 (STR): Likewise.
17463 (CHR): Likewise.
17464 (strchr): Likewise. Do not use BP_SYM.
17465 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17466 "bp-asm.h".
17467 (PARMS): Do not use macros from bp-asm.h.
17468 (STR): Likewise.
17469 (CHR): Likewise.
17470 (__strchrnul): Likewise. Do not use BP_SYM.
17471 (strchrnul): Do not use BP_SYM in weak_alias.
17472 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17473 "bp-asm.h".
17474 (PARMS): Do not use macros from bp-asm.h.
17475 (STOP): Likewise.
17476 (strcspn): Do not use BP_SYM.
17477 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17478 "bp-asm.h".
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (STR): Likewise.
17481 (STOP): Likewise.
17482 (strpbrk): Likewise. Do not use BP_SYM.
17483 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17484 "bp-asm.h".
17485 (PARMS): Do not use macros from bp-asm.h.
17486 (STR): Likewise.
17487 (CHR): Likewise.
17488 (strrchr): Likewise. Do not use BP_SYM.
17489 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17490 (PARMS): Do not use macros from bp-asm.h.
17491 (SKIP): Likewise.
17492 (strspn): Do not use BP_SYM.
17493 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17494 (PARMS): Do not use macros from bp-asm.h.
17495 (STR): Likewise.
17496 (DELIM): Likewise.
17497 (SAVE): Likewise.
17498 (FUNCTION): Likewise. Do not use BP_SYM.
17499 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17500 aliases.
17501 (strtok_r): Likewise.
17502 (__GI___strtok_r): Likewise.
17503 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17504 (PARMS): Do not use macros from bp-asm.h.
17505 (S1): Likewise.
17506 (S2): Likewise.
17507 (SIZE): Likewise.
17508 (__mpn_sub_n): Do not use BP_SYM.
17509 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17510 "bp-asm.h".
17511 (PARMS): Do not use macros from bp-asm.h.
17512 (S1): Likewise.
17513 (SIZE): Likewise.
17514 (__mpn_submul_1): Do not use BP_SYM.
17515 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17516 <bp-sym.h>.
17517 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17518 and <bp-asm.h>.
17519 (PARMS): Do not use macros from bp-asm.h.
17520 (FLAGS): Likewise.
17521 (PTID): Likewise.
17522 (TLS): Likewise.
17523 (CTID): Likewise.
17524 (__clone): Do not use BP_SYM.
17525 (clone): Do not use BP_SYM in weak_alias.
17526 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17527 and <bp-asm.h>.
17528 (PARMS): Do not use macros from bp-asm.h.
17529 (LEN): Likewise.
17530 (__mmap64): Do not use BP_SYM.
17531 (mmap64): Do not use BP_SYM in weak_alias.
17532 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17533 <bp-sym.h> and <bp-asm.h>.
17534 (PARMS): Do not use macros from bp-asm.h.
17535 (__posix_fadvise64_l64): Do not use BP_SYM.
17536 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17537 (PARMS): Do not use macros from bp-asm.h.
17538 (NSOPS): Likewise.
17539 (semtimedop): Do not use BP_SYM.
17540 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17541 and <bp-asm.h>.
17542
582a3cff
AM
175432013-02-21 Allan McRae <allan@archlinux.org>
17544
17545 * manual/message.texi (Charset conversion in gettext):
17546 Move @end statement to beginning of line.
17547
bab8a695
SP
175482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17549
80945231
SP
17550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17551 static.
17552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17553 Likewise.
17554
bab8a695
SP
17555 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17556 (denorm): Likewise.
17557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17559
e21d7aa7
AK
175602013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17561
17562 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17563 tail-call to the resolved function if pltexit isn't needed.
17564
4c7a4263
SP
175652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17566
17567 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17568 or Y being zero as being unlikely.
17569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17570 Likewise.
17571
41f49342
CD
175722013-02-20 Carlos O'Donell <carlos@redhat.com>
17573
17574 * manual/nss.texi (System Databases and Name Service Switch):
17575 Remove frobnicate @pxref.
17576
50022a93
TS
175772013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17578
17579 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17580 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17581
08cbd996
PM
175822013-02-20 Petr Machata <pmachata@redhat.com>
17583
17584 * elf/elf.h (R_ARM_TARGET1): New macro.
17585 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17586 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17587 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17588 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17589 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17590 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17591 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17592 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17593 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17594 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17595 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17596 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17597 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17598 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17599 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17600 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17601 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17602 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17603 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17604 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17605 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17606 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17607 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17608 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17609 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17610 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17611 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17612 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17613 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17614 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17615 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17616 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17617 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17618 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17619 (R_ARM_THM_GOT_BREL12): Likewise.
17620 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17621 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17622 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17623 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17624 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17625 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17626 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17627 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17628 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17629
c7b275d6
TS
176302013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17631
17632 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17633 __attribute_used__ to __attribute__ ((unused)).
17634
20cd7fb3
SP
176352013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17636
17637 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17638 powerpc mpa.c.
17639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17640 comment formatting.
17641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17642
92945b52
JM
176432013-02-19 Joseph Myers <joseph@codesourcery.com>
17644
17645 [BZ #13550]
17646 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17647 Remove macro.
17648 (ENTER): Remove both macro definitions.
17649 (LEAVE): Likewise.
17650 (CHECK_BOUNDS_LOW): Likewise.
17651 (CHECK_BOUNDS_HIGH): Likewise.
17652 (CHECK_BOUNDS_BOTH): Likewise.
17653 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17654 (RETURN_BOUNDED_POINTER): Likewise.
17655 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17656 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17657 (POP_ERRNO_LOCATION_RETURN): Likewise.
17658 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17659 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17660 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17661 macros.
17662 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17663 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17664 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17665 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17666 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17667 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17668 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17669 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17670 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17671 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17672 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17673 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17674 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17675 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17676 removed macros.
17677 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17678 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17679 macros.
17680 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17681 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17682 * sysdeps/i386/i586/memset.S (memset): Likewise.
17683 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17684 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17685 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17686 macros.
17687 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17688 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17689 Change uses of L(2) to L(out).
17690 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17691 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17692 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17693 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17694 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17695 removed macros.
17696 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17697 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17698 macros.
17699 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17700 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17701 (RETURN): Do not use macro LEAVE.
17702 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17703 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17704 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17705 * sysdeps/i386/i686/memset.S (memset): Likewise.
17706 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17707 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17708 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17709 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17710 Likewise.
17711 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17712 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17713 L(1_2) and L(1_3) into L(1).
17714 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17715 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17716 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17717 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17718 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17719 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17720 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17721 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17722 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17723 macros.
17724 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17725 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17726 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17727 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17728 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17729 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17730 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17731 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17732 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17733 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17734 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17735 * sysdeps/i386/strspn.S (strspn): Likewise.
17736 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17737 conditional code.
17738 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17739 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17740 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17741 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17742 L(1_3) into L(1_1).
17743 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17744 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17745 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17746 macros.
17747 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17748
2389741a
JJ
177492013-02-19 Jakub Jelinek <jakub@redhat.com>
17750
17751 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17752 macro.
17753
2016b3cd
SP
177542013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17755
e4f22324
SP
17756 * math/atest-exp.c (exp_mpn): Remove ROUND.
17757 * math/atest-exp2.c (exp_mpn): Likewise.
17758 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17759
2016b3cd
SP
17760 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17761 * stdlib/tst-tls-atexit-lib.c: Likewise.
17762 * stdlib/tst-tls-atexit.c: Likewise.
17763
4be9b544
MF
177642013-02-18 Mike Frysinger <vapier@gentoo.org>
17765
17766 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17767 and __attribute_alloc_size__.
17768
2f62b9ee
MF
177692013-02-18 Mike Frysinger <vapier@gentoo.org>
17770
17771 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17772 __attribute_alloc_size__.
17773 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17774 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17775
6ff444c4
MF
177762013-02-18 Mike Frysinger <vapier@gentoo.org>
17777
17778 * include/programs/xmalloc.h: New file.
17779 * catgets/gencat.c: Include it.
17780 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17781 * elf/pldd.c: Likewise.
17782 * iconv/iconv_charmap.c: Likewise.
17783 * iconv/iconvconfig.c: Likewise.
17784 * iconv/strtab.c: Likewise.
17785 * locale/programs/locale.c: Likewise.
17786 * locale/programs/localedef.h: Likewise.
17787 * locale/programs/simple-hash.c: Likewise.
17788 * nscd/nscd.h: Likewise.
17789 * nss/makedb.c: Likewise.
17790 * sysdeps/generic/ldconfig.h: Likewise.
17791
be179c8a
SP
177922013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17793
ba384f6e
SP
17794 * Versions.def: Add GLIBC_2.18.
17795 * include/link.h (struct link_map): New member l_tls_dtor_count.
17796 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17797 (__call_tls_dtors): Likewise.
17798 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17799 __cxa_thread_atexit_impl.
17800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17801 Likewise.
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17803 Likewise.
17804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17805 Likewise.
17806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17807 Likewise.
17808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17810 Likewise.
17811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17812 Likewise.
17813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17815 Likewise.
17816 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17817 (tests): Add test case tst-tls-atexit.
17818 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17819 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17820 (GLIBC_PRIVATE): Add __call_tls_dtors.
17821 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17822 for libstdc++.
17823 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17824 * stdlib/tst-tls-atexit.c: New test case.
17825 * stdlib/tst-tls-atexit-lib.c: New test case.
17826
ffaa74cf 17827 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17828
be179c8a
SP
17829 * elf/Versions (ld): Add _dl_find_dso_for_object.
17830 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17831 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17832 (dl_open_worker): Use _dl_find_dso_for_object.
17833 * elf/dl-sym.c (do_sym): Likewise.
17834 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17835
f78b5caa
AK
178362013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17837
17838 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17839 Syntactic changes only.
17840 (_dl_runtime_profile): Do a tail-call to the resolved function.
17841
29691210
JM
178422013-02-17 Joseph Myers <joseph@codesourcery.com>
17843
17844 [BZ #13550]
17845 * sysdeps/x86_64/bp-asm.h: Remove file.
17846 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17847 <bp-sym.h> and <bp-asm.h>.
17848 (__clone): Do not use BP_SYM.
17849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17850 <bp-sym.h> and <bp-asm.h>.
17851 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17852 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17853 "bp-asm.h".
17854 (_setjmp): Do not use BP_SYM.
17855 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17856 "bp-asm.h".
17857 (setjmp): Do not use BP_SYM.
17858 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17859 libc_hidden_def.
17860 (mempcpy): Do not use BP_SYM in weak_alias.
17861 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17862 "bp-asm.h".
17863 (strchr): Do not use BP_SYM.
17864 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17865 "bp-asm.h".
17866 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17867 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17868 (_start): Do not use BP_SYM.
17869 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17870 "bp-asm.h".
17871 (strcat): Do not use BP_SYM.
17872 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17873 "bp-asm.h".
17874 (STRCMP): Do not use BP_SYM.
17875 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17876 "bp-asm.h".
17877 (STRCPY): Do not use BP_SYM.
17878 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17879 "bp-asm.h".
17880 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17881 "bp-asm.h".
17882 (FUNCTION): Do not use BP_SYM.
17883 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17884 weak_alias.
17885 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17886
f238fd19
AJ
178872013-02-17 Andreas Jaeger <aj@suse.de>
17888
17889 * time/Versions: Sort entries.
17890 * string/Versions: Likewise.
17891 * resolv/Versions: Likewise.
17892 * posix/Versions: Likewise.
17893 * iconv/Versions: Likewise.
17894 * elf/Versions: Likewise.
17895 * wcsmbs/Versions: Likewise.
17896
bd07f23c 178972013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17898
22af19f9
SP
17899 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17900 loop termination condition.
17901
4709fe76
SP
17902 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17903 variable to calculate EZ.
17904 (__sqr): Likewise.
2d0e0f29
SP
17905
17906 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17907 the lower precision input.
17908
daaa7713
JM
179092013-02-15 Joseph Myers <joseph@codesourcery.com>
17910
17911 [BZ #13550]
17912 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17913 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17914 (run-via-rtld-prefix): Do not handle %-bp tests.
17915 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17916 (all-object-suffixes): Remove .ob.
17917 (bppfx): Remove variable.
17918 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17919 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17920 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17921 [$(build-bounded) = yes] (libtype.ob): Likewise.
17922 * Makerules (elide-routines.ob): Remove variable.
17923 (do-tests-clean): Do not handle *-bp.out.
17924 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17925 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17926 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17927 (tests): Do not include $(tests-bp.out).
17928 (xtests): Do not include $(xtests-bp.out).
17929 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17930 [$(build-bounded) = yes] ($(addprefix
17931 $(objpfx),$(binaries-bounded))): Remove rule.
17932 ($(objpfx)%-bp.out): Remove rule.
17933 * config.make.in (build-bounded): Remove variable.
17934 * crypt/Makefile [$(build-bounded) = yes]
17935 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17936 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17937 append to variable.
17938 [$(build-bounded) = yes] (install-lib): Likewise.
17939 [$(build-bounded) = yes] (generated): Likewise.
17940 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17941 Remove rule.
17942 * intl/Makefile [$(build-bounded) = yes]
17943 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17944 * math/Makefile [$(build-bounded) = yes]
17945 ($(tests:%=$(objpfx)%-bp): Likewise.
17946 * misc/Makefile [$(build-bounded) = yes]
17947 ($(objpfx)tst-tsearch-bp): Likewise.
17948 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17949 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17950 Remove dependency.
17951 * string/Makefile (o-objects.ob): Remove variable.
17952 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17953 (CFLAGS-.ob): Remove variable.
17954 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17955 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17956 both definitions of variable.
17957 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17958 (ASFLAGS-.ob): Remove variable.
17959
e97ed6dd
JM
179602013-02-14 Joseph Myers <joseph@codesourcery.com>
17961
2bdd4ca6
JM
17962 [BZ #13550]
17963 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17964 Remove __BOUNDED_POINTERS__ from condition.
17965 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17966 * string/bits/string2.h [!__NO_STRING_INLINES &&
17967 !__BOUNDED_POINTERS__]: Likewise.
17968 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17969 Likewise.
17970 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17971 Remove conditional code.
17972 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17973 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17974 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17975 condition.
17976
e97ed6dd
JM
17977 [BZ #13550]
17978 * csu/libc-start.c: Do not include <bp-sym.h>.
17979 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17980 * elf/dl-open.c: Do not include <bp-sym.h>.
17981 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17982 * math/fegetenv.c: Do not include <bp-sym.h>.
17983 (fegetenv): Do not use BP_SYM in versioned symbols.
17984 * nptl/sysdeps/pthread/bits/libc-lockP.h
17985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17986 <bp-sym.h>.
17987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17988 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17990 (__pthread_mutex_destroy): Likewise.
17991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17992 (__pthread_mutex_lock): Likewise.
17993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17994 (__pthread_mutex_trylock): Likewise.
17995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17996 (__pthread_mutex_unlock): Likewise.
17997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17998 (__pthread_mutexattr_init): Likewise.
17999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18000 (__pthread_mutexattr_destroy): Likewise.
18001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18002 (__pthread_mutexattr_settype): Likewise.
18003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18004 (__pthread_rwlock_init): Likewise.
18005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18006 (__pthread_rwlock_destroy): Likewise.
18007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18008 (__pthread_rwlock_rdlock): Likewise.
18009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18010 (__pthread_rwlock_tryrdlock): Likewise.
18011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18012 (__pthread_rwlock_wrlock): Likewise.
18013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18014 (__pthread_rwlock_trywrlock): Likewise.
18015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18016 (__pthread_rwlock_unlock): Likewise.
18017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18018 (__pthread_key_create): Likewise.
18019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18020 (__pthread_setspecific): Likewise.
18021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18022 (__pthread_getspecific): Likewise.
18023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18024 Likewise.
18025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18026 (_pthread_cleanup_push_defer): Likewise.
18027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18028 (_pthread_cleanup_pop_restore): Likewise.
18029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18030 (pthread_setcancelstate): Likewise.
18031 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18032 <bp-sym.h>.
18033 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18034 (memchr): Do not use BP_SYM in weak_alias.
18035 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18036 (fegetenv): Do not use BP_SYM in versioned symbols.
18037 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18038 (fesetenv): Do not use BP_SYM in versioned symbols.
18039 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18040 (feupdateenv): Do not use BP_SYM in versioned symbols.
18041 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18042 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18043 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18044 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18045 (open64): Do not use BP_SYM in weak_alias.
18046 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18047 (fegetenv): Do not use BP_SYM in versioned symbols.
18048 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18049 (fesetenv): Do not use BP_SYM in versioned symbols.
18050 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18051 (feupdateenv): Do not use BP_SYM in versioned symbols.
18052 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18053 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18054 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18055 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18056 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18057 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18058 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18059 <bp-sym.h>.
18060 (__libc_start_main): Do not use BP_SYM.
18061
d6752ccd
SP
180622013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18063
cb57ce60
SP
18064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18065 redundant return line.
18066 (norm): Likewise.
18067 (denorm): Likewise.
18068 (dbl_mp): Likewise.
18069 (sub_magnitudes): Likewise.
18070 (__add): Likewise.
18071 (__sub): Likewise.
18072 (__mul): Likewise.
18073 (__inv): Likewise.
18074 (__dvd): Likewise.
18075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18076 (norm): Likewise.
18077 (denorm): Likewise.
18078 (dbl_mp): Likewise.
18079 (sub_magnitudes): Likewise.
18080 (__add): Likewise.
18081 (__sub): Likewise.
18082 (__mul): Likewise.
18083 (__inv): Likewise.
18084 (__dvd): Likewise.
18085
f414520d
SP
18086 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18087 instead of __mul.
18088 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18089 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18090 (cc32): Likewise.
18091
d6752ccd
SP
18092 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18093 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18095 of __mul for squares.
18096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18097 function
18098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18099 Likewise.
18100 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18101 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18102
70d9946a
JM
181032013-02-13 Joseph Myers <joseph@codesourcery.com>
18104
18105 [BZ #13550]
18106 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18107 code.
18108 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18109 prototype or function definition. Rename ubp_* variables and
18110 parameters. Remove argv definitions conditional on
18111 [__BOUNDED_POINTERS__].
18112 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18113 * elf/dl-runtime.c (_dl_fixup): Likewise.
18114 * include/set-hooks.h (RUN_HOOK): Likewise.
18115 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18116 definition.
18117 * string/strcpy.c (strcpy): Do not use __unbounded.
18118 * sysdeps/generic/frame.h (struct layout): Likewise.
18119 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18120 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18121 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18122 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18123 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18124 (__backtrace): Likewise.
18125 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18126 use __ptrvalue.
18127 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18128 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18129 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18130 Likewise.
18131 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18132 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18133 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18134 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18135 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18136 Do not use __unbounded.
18137 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18138 Rename __unboundedrlimits parameter to rlimits in prototype.
18139 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18140 Do not use __unbounded.
18141 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18142 not use __ptrvalue.
18143 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18144 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18145 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18146 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18147 __ptrvalue or __unbounded.
18148 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18149 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18150 use __unbounded.
18151 (__new_msgctl): Do not use __ptrvalue.
18152 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18153 __unbounded.
18154 (__libc_msgrcv): Do not use __ptrvalue.
18155 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18156 startup_info): Do not use __unbounded.
18157 (__libc_start_main): Likewise. Rename ubp_* variables and
18158 parameters. Remove argv definitions conditional on
18159 [__BOUNDED_POINTERS__].
18160 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18161 __ptrvalue.
18162 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18163 use __unbounded.
18164 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18165 or __ptrvalue.
18166 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18167 use __unbounded.
18168 (__new_shmctl): Do not use __ptrvalue.
18169 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18170 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18171 Likewise.
18172 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18174 (__libc_sigaction): Likewise.
18175 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18176 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18177 Likewise.
18178 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18179
cc7834d6
OB
181802013-02-13 Ondřej Bílka <neleai@seznam.cz>
18181
ffb1ec7b 18182 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18183
18184 * string/mempcpy.c: Implement by calling memcpy.
18185
bdf02814
SP
181862013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18187
c2af38aa
SP
18188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18189
4e92d59e
SP
18190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18191 evaluation.
18192
909279a5
SP
18193 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18194 values in the mantissa.
18195
bdf02814
SP
18196 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18197 minimize writes to Z.
18198 (sub_magnitudes): Simplify code a bit.
18199
cd525923
RM
182002013-02-12 Roland McGrath <roland@hack.frob.com>
18201
18202 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18203 from the message. The linker prefixes all warnings with that already.
18204
7e2f0d2d
AS
182052013-02-12 Andreas Schwab <schwab@suse.de>
18206
a445af0b
AS
18207 [BZ #15078]
18208 * posix/regexec.c (extend_buffers): Add parameter min_len.
18209 (check_matching): Pass minimum needed length.
18210 (clean_state_log_if_needed): Likewise.
18211 (get_subexp): Likewise.
18212 * posix/Makefile (tests): Add bug-regex34.
18213 (bug-regex34-ENV): Define.
18214 * posix/bug-regex34.c: New file.
18215
7e2f0d2d
AS
18216 [BZ #11561]
18217 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18218 elements compare against the byte sequence of it, not its name.
18219 * posix/Makefile (tests): Add bug-regex35.
18220 (bug-regex35-ENV): Define.
18221 * posix/bug-regex35.c: New file.
18222
a175b684
TV
182232013-02-11 Tom de Vries <tom@codesourcery.com>
18224
18225 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18226 comment.
18227 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18228 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18229 (CHECK_EOL): Add undef.
18230
310998fe 182312013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18232
18233 * bits/stdlib-bsearch.h: New file.
18234 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18235 * stdlib/stdlib.h: Likewise.
41eda41d 18236
8ded91fb
RM
182372013-02-11 Roland McGrath <roland@hack.frob.com>
18238
18239 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18240 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18241 declaration.
18242 * manual/search.texi (Array Search Function): Add missing const in
18243 lfind prototype.
18244 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18245 declaration to use rlim_t.
18246 (Basic Scheduling Functions): Remove erroneous const from
18247 sched_getparam prototype. Remove erroneous * from
18248 sched_get_priority_max and sched_get_priority_min prototypes.
18249 (Resource Usage): Fix summary @comment on vtimes to refer to
18250 sys/vtimes.h rather than vtimes.h.
18251 Add missing *s in vtimes prototype.
18252 (Limits on Resources): Fix ulimit prototype to return long int.
18253 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18254 prototypes to use long int rather than double.
18255 (BSD Random): Fix initstate and setstate to use char *, not void *.
18256 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18257 prototype to make second argument 'struct aiocb64 *const[]'.
18258 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18259 (Status of AIO Operations): Remove erroneous const in aio_return and
18260 aio_return64 prototypes.
18261 (Synchronizing I/O): Fix sync prototype to return void.
18262 * manual/startup.texi (Suboptions): Remove an erroneous const in
18263 getsubopt prototype.
18264 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18265 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18266 use size_t rather than int.
18267 (Scanning All Users): Likewise for getpwent_r.
18268 (Setting Groups): Add missing const to setgroups prototype.
18269 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18270 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18271 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18272 'const void *' rather than 'const char *'.
18273 (Host Address Functions): Likewise for inet_ntop.
18274 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18275 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18276 ssize_t for return value.
18277 (Sending Data): Likewise for send, sendto, sendmsg.
18278 (Socket Option Functions): Add a missing const in setsockopt prototype.
18279 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18280 use wchar_t for the argument.
18281 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18282 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18283 take no arguments.
18284 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18285 double/float/long double for second argument.
18286 Fix return types of significand, significandf, significandl.
18287 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18288 argument in fchmod prototype.
18289 (File Owner): Use uid_t and gid_t in fchown prototype.
18290 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18291 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18292 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18293 use 'const struct dirent **' as argument types to CMP function pointer
18294 argument.
18295 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18296 (File Times): Fix summary magic @comment for struct utimbuf and utime
18297 to refer to utime.h, not time.h.
18298 * manual/string.texi (Argz Functions): Add missing const in
18299 argz_extract and argz_next prototypes.
18300 (Finding Tokens in a String): Likewise for basename.
18301 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18302 (Copying and Concatenation): Fix typo in wmemmove prototype.
18303 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18304 (Signal Stack): Remove erroneous const in sigstack prototype.
18305 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18306 prototype.
18307 (Simple Calendar Time): Likewise for stime.
18308 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18309 prototype.
18310 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18311 say sys/sysctl.h instead.
18312 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18313 and vsyslog prototypes.
18314
fe77fe6d
TV
183152013-02-11 Tom de Vries <tom@codesourcery.com>
18316
18317 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18318 Remove.
18319
3a09b620
RM
183202013-02-11 Roland McGrath <roland@hack.frob.com>
18321
18322 * misc/sys/mman.h: Fix typo in mremap comment.
18323
550a0b89
RM
183242013-02-08 Roland McGrath <roland@hack.frob.com>
18325
18326 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18327 the '\0' terminator.
18328
a2da1673
JM
183292013-02-08 Joseph Myers <joseph@codesourcery.com>
18330
18331 [BZ #13550]
18332 * debug/segfault.c: Don't include <bp-checks.h>.
18333 * sysdeps/generic/bp-checks.h: Remove file.
18334 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18335 (__GETDENTS): Don't use CHECK_N.
18336 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18337 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18338 (__getgroups): Don't use CHECK_N.
18339 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18340 (setgroups): Don't use CHECK_N.
18341 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18342 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18343 (__libc_msgrcv): Don't use CHECK_N.
18344 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18345 (__libc_msgsnd): Don't use CHECK_N.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18347 <bp-checks.h>.
18348 (__libc_pread): Don't use CHECK_N.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18350 include <bp-checks.h>.
18351 (__libc_pread64): Don't use CHECK_N.
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18353 include <bp-checks.h>.
18354 (__libc_pwrite): Don't use CHECK_N.
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18356 include <bp-checks.h>.
18357 (__libc_pwrite64): Don't use CHECK_N.
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18359 <bp-checks.h>.
18360 (__libc_pread): Don't use CHECK_N.
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18362 include <bp-checks.h>.
18363 (__libc_pread64): Don't use CHECK_N.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18365 include <bp-checks.h>.
18366 (__libc_pwrite): Don't use CHECK_N.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18368 include <bp-checks.h>.
18369 (__libc_pwrite64): Don't use CHECK_N.
18370 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18371 (do_pread): Don't use CHECK_N.
18372 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18373 (do_pread64): Don't use CHECK_N.
18374 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18375 (do_pwrite): Don't use CHECK_N.
18376 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18377 (do_pwrite64): Don't use CHECK_N.
18378 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18379 (__libc_readv): Don't use CHECK_N.
18380 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18381 (semop): Don't use CHECK_N.
18382 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18383 <bp-checks.h>.
18384 (semtimedop): Don't use CHECK_N.
18385 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18386 (__libc_pread): Don't use CHECK_N.
18387 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18388 <bp-checks.h>.
18389 (__libc_pread64): Don't use CHECK_N.
18390 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18391 <bp-checks.h>.
18392 (__libc_pwrite): Don't use CHECK_N.
18393 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18394 <bp-checks.h>.
18395 (__libc_pwrite64): Don't use CHECK_N.
18396 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18397 <bp-checks.h>.
18398 (__libc_msgrcv): Don't use CHECK_N.
18399 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18400 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18401 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18402 (__libc_writev): Don't use CHECK_N.
18403
b84660a8
RM
184042013-02-08 Roland McGrath <roland@hack.frob.com>
18405
7f3e75f8
RM
18406 * string/strcpy.c: Removed unused variable.
18407
b84660a8
RM
18408 * Makeconfig (+sysdep-includes): Define with := rather than =.
18409 Use an existing include/ subdir of each sysdeps dir before it.
18410
471514d3
CD
184112013-02-08 Carlos O'Donell <carlos@redhat.com>
18412
18413 * nscd/connection.c (register_traced_file): Comment function.
18414 [HAVE_INOTIFY] (union __inev): Define.
18415 [HAVE_INOTIFY] (inotify_check_files): New function.
18416 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18417 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18418 clear_db_cache.
18419 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18420
b2d3c3be
CD
184212013-02-08 Carlos O'Donell <carlos@redhat.com>
18422
18423 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18424 loaded if not already and that a failure is permanent.
18425
b39949d2
CD
184262013-02-08 Carlos O'Donell <carlos@redhat.com>
18427
ddacd1db 18428 [BZ #15006]
b39949d2
CD
18429 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18430 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18431
b2c9eff4
JM
184322013-02-08 Joseph Myers <joseph@codesourcery.com>
18433
f3aae3f3
JM
18434 [BZ #13550]
18435 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18436 (CHECK_1_NULL_OK): Likewise.
18437 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18438 (__fxstat): Do not use CHECK_1.
18439 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18440 <bp-checks.h>.
18441 (___fxstat64): Do not use CHECK_1.
18442 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18443 <bp-checks.h>.
18444 (__fxstatat): Do not use CHECK_1.
18445 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18446 <bp-checks.h>.
18447 (__fxstatat64): Do not use CHECK_1.
18448 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18449 <bp-checks.h>.
18450 (__fxstat): Do not use CHECK_1.
18451 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18452 <bp-checks.h>.
18453 (__fxstatat): Do not use CHECK_1.
18454 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18455 <bp-checks.h>.
18456 (__getresgid): Do not use CHECK_1.
18457 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18458 <bp-checks.h>.
18459 (__getresuid): Do not use CHECK_1.
18460 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18461 <bp-checks.h>.
18462 (__lxstat): Do not use CHECK_1.
18463 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18464 <bp-checks.h>.
18465 (__old_msgctl): Do not use CHECK_1.
18466 (__new_msgctl): Likewise.
18467 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18468 <bp-checks.h>.
18469 (__new_setrlimit): Do not use CHECK_1.
18470 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18471 <bp-checks.h>.
18472 (__old_shmctl): Do not use CHECK_1.
18473 (__new_shmctl): Likewise.
18474 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18475 <bp-checks.h>.
18476 (__xstat): Do not use CHECK_1.
18477 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18478 (__lxstat): Do not use CHECK_1.
18479 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18480 <bp-checks.h>.
18481 (___lxstat64): Do not use CHECK_1.
18482 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18483 (__old_msgctl): Do not use CHECK_1.
18484 (__new_msgctl): Likewise.
18485 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18486 <bp-checks.h>.
18487 (__gettimeofday): Do not use CHECK_1.
18488 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18489 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18490 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18491 <bp-checks.h>.
18492 (__gettimeofday): Do not use CHECK_1.
18493 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18494 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18495 (__new_shmctl): Do not use CHECK_1.
18496 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18497 <bp-checks.h>.
18498 (do_sigtimedwait): Do not use CHECK_1.
18499 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18500 <bp-checks.h>.
18501 (do_sigwaitinfo): Do not use CHECK_1.
18502 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18503 <bp-checks.h>.
18504 (msgctl): Do not use CHECK_1.
18505 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18506 <bp-checks.h>.
18507 (shmctl): Do not use CHECK_1.
18508 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18509 (ustat): Do not use CHECK_1.
18510 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18511 <bp-checks.h>.
18512 (__fxstat): Do not use CHECK_1.
18513 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18514 <bp-checks.h>.
18515 (__fxstatat): Do not use CHECK_1.
18516 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18517 <bp-checks.h>.
18518 (__lxstat): Do not use CHECK_1.
18519 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18520 <bp-checks.h>.
18521 (__xstat): Do not use CHECK_1.
18522 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18523 (__xstat): Do not use CHECK_1.
18524 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18525 (___xstat64): Do not use CHECK_1.
18526
b2c9eff4
JM
18527 [BZ #13550]
18528 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18529 definitions.
18530 (CHECK_BOUNDS_HIGH): Likewise.
18531 * string/strcpy.c: Do not include <bp-checks.h>.
18532 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18533
f1d70dad
RM
185342013-02-07 Roland McGrath <roland@hack.frob.com>
18535
18536 * nscd/nscd-client.h (__nscd_drop_map_ref):
18537 Add __attribute__ ((unused)).
18538 * nis/nss-nisplus.h (niserr2nss): Likewise.
18539
18540 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18541 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18542
18543 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18544 Remove inline keyword.
18545 * include/rounding-mode.h (round_away): Likewise.
18546 * libio/wfileops.c (adjust_wide_data): Likewise.
18547 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18548 (__m128i_strloadu_tolower): Likewise.
18549 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18550 (__m128i_strloadu_tolower): Likewise.
18551 * time/mktime.c (ydhms_diff): Likewise.
18552 * locale/elem-hash.h (elem_hash): Likewise.
18553 * locale/setlocale.c (setdata): Likewise.
18554 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18555 (re_string_wchar_at): Likewise.
18556 (bitset_not, bitset_merge, bitset_mask): Likewise.
18557 [!(__GNUC__ > 3)] (inline): Remove macro.
18558 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18559 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18560 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18561 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18562 * string/memcmp.c (memcmp_bytes): Likewise.
18563 * locale/programs/locarchive.c (compute_hashval): Likewise.
18564 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18565 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18566 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18567 * nss/getent.c (print_rpc, print_protocols): Likewise.
18568 (print_passwd, print_group, print_aliases): Likewise.
18569 * nis/nss-nisplus.h (niserr2nss): Likewise.
18570 * nscd/connections.c (restart_p): Likewise.
18571 Change return type to bool.
18572
eab55bfb
RM
185732013-02-05 Roland McGrath <roland@hack.frob.com>
18574
7bd642f5
RM
18575 * Makeconfig (all-Depend-files): Add existing
18576 $(sorted-subdirs:=/Depend) files.
18577 (all-subdirs): Remove nss.
18578 * sysdeps/unix/inet/Subdirs: Add it here instead.
18579 * hesiod/Depend: New file.
18580
573c29b2
RM
18581 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18582 instead of calling alloca.
18583
b2e25af0
RM
18584 * io/lseek.c (__lseek): Rename to __libc_lseek.
18585 Define __lseek as an alias.
18586
eab55bfb
RM
18587 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18588
9a0d1941
CD
185892013-02-04 Carlos O'Donell <carlos@redhat.com>
18590
18591 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18592 else clause and remove check for non-standard endianness.
18593
b83bbec4
DM
185942013-02-04 David S. Miller <davem@davemloft.net>
18595
18596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18597
6277fdab
JM
185982013-02-04 Joseph Myers <joseph@codesourcery.com>
18599
18600 [BZ #13550]
18601 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18602 (__ubp_memchr): Remove prototype.
18603 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18604 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18605 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18606 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18607 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18608 Remove alias.
18609 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18610 (__ubp_memchr): Likewise.
18611 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18612 (__ubp_memchr): Likewise.
18613 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18614 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18615 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18616 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18617 CHECK_STRING.
18618 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18619 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18620 (__getcwd): Do not use CHECK_STRING.
18621 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18622 <bp-checks.h>.
18623 (__real_chown): Do not use CHECK_STRING.
18624 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18625 <bp-checks.h>.
18626 (fchownat): Do not use CHECK_STRING.
18627 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18628 CHECK_STRING.
18629 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18630 <bp-checks.h>.
18631 (__lchown): Do not use CHECK_STRING.
18632 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18633 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18634 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18635 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18637 include <bp-checks.h>.
18638 (truncate64): Do not use CHECK_STRING.
18639 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18640 <bp-checks.h>.
18641 (__real_chown): Do not use CHECK_STRING.
18642 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18643 <bp-checks.h>.
18644 (__lchown): Do not use CHECK_STRING.
18645 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18646 <bp-checks.h>.
18647 (__chown): Do not use CHECK_STRING.
18648 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18649 <bp-checks.h>.
18650 (truncate64): Do not use CHECK_STRING.
18651 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18652 Likewise.
18653 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18654 (__xmknod): Do not use CHECK_STRING.
18655 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18656 <bp-checks.h>.
18657 (__xmknodat): Do not use CHECK_STRING.
18658 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18659 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18660
903ae060
AS
186612013-02-04 Andreas Schwab <schwab@suse.de>
18662
18663 [BZ #14142]
18664 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18665 * include/netdb.h: Likewise for h_errno.
18666 * elf/tst-stackguard1.c: Include <tls.h>.
18667
542f9466
JK
186682013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18669
18670 * elf/link.h (struct link_map): Extend the l_addr comment.
18671 * include/link.h (struct link_map): Likewise.
18672
e782a927
JM
186732013-02-01 Joseph Myers <joseph@codesourcery.com>
18674
18675 [BZ #13550]
18676 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18677 (BOUNDED_1): Remove macro.
18678 * debug/backtrace.c: Don't include <bp-checks.h>.
18679 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18680 (__backtrace): Likewise.
18681 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18682 <bp-checks.h>.
18683 (__backtrace): Don't use BOUNDED_1.
18684 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18685 <bp-checks.h>.
18686 (__backtrace): Don't use BOUNDED_1.
18687 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18688 (__backtrace): Don't use BOUNDED_1.
18689 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18690 (shmat): Don't use BOUNDED_N.
18691
8cf28c5e
JM
186922013-01-31 Joseph Myers <joseph@codesourcery.com>
18693
3a7ac8a0
JM
18694 [BZ #13550]
18695 * sysdeps/generic/bp-start.h: Remove file.
18696 * csu/libc-start.c: Don't include <bp-start.h>.
18697 (LIBC_START_MAIN): Set up __environ directly instead of using
18698 INIT_ARGV_and_ENVIRON.
18699 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18700 <bp-start.h>.
18701
f3499f95
JM
18702 [BZ #13550]
18703 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18704 definitions.
18705 (CHECK_FCNTL): Likewise.
18706 (CHECK_N_PAGES): Likewise.
18707
32a45bea
JM
18708 [BZ #13550]
18709 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18710 definitions.
18711 (CHECK_SIGSET_NULL_OK): Likewise.
18712 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18713 <bp-checks.h>.
18714 (sigpending): Don't use CHECK_SIGSET.
18715 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18716 <bp-checks.h>.
18717 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18718 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18719 <bp-checks.h>.
18720 (do_sigsuspend): Don't use CHECK_SIGSET.
18721 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18722 use CHECK_SIGSET.
18723 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18724 (do_sigwait): Don't use CHECK_SIGSET.
18725 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18726 use CHECK_SIGSET.
18727 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18728 include <bp-checks.h>.
18729 (sigpending): Don't use CHECK_SIGSET.
18730 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18731 include <bp-checks.h>.
18732 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18733 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18734 <bp-checks.h>.
18735 (sigpending): Don't use CHECK_SIGSET.
18736 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18737 <bp-checks.h>.
18738 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18739
2e8a5c8c
JM
18740 [BZ #13550]
18741 * sysdeps/generic/bp-semctl.h: Remove file.
18742 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18743 <bp-checks.h> and <bp-semctl.h>.
18744 (__old_semctl): Don't use CHECK_SEMCTL.
18745 (__new_semctl): Likewise.
18746 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18747 and <bp-semctl.h>.
18748 (__old_semctl): Don't use CHECK_SEMCTL.
18749 (__new_semctl): Likewise.
18750 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18751 <bp-checks.h> and <bp-semctl.h>.
18752 (__old_semctl): Don't use CHECK_SEMCTL.
18753 (__new_semctl): Likewise.
18754 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18755 <bp-checks.h> and <bp-semctl.h>.
18756 (semctl): Don't use CHECK_SEMCTL.
18757
c2d54929
JM
18758 [BZ #13550]
18759 * Makerules (elide-bp-thunks): Remove variable.
18760 (elide-routines.oS): Don't use $(elide-bp-thunks).
18761 (elide-routines.os): Likewise.
18762 (elide-routines.o): Likewise.
18763 (elide-routines.op): Likewise.
18764 (elide-routines.og): Likewise.
18765 (objects): Don't use $(bp-thunks).
18766 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18767 include.
18768 (common-generated): Do not add s-proto-bp.d.
18769 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18770 (int): Likewise.
18771 (typ): Likewise.
18772 Do not generate makefile rules for bounded-pointer thunks.
18773 * sysdeps/generic/bp-thunks.h: Remove file.
18774 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18775 * sysdeps/unix/s-proto-bp.S: Likewise.
18776
8cf28c5e
JM
18777 [BZ #15062]
18778 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18779 parts of result separately when argument is not close to line from
18780 -i to i and one part of argument is small.
18781 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18782 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18783 * math/libm-test.inc (cacos_test): Add more tests.
18784 (casin_test): Likewise.
18785 (casinh_test): Likewise.
18786 * sysdeps/i386/fpu/libm-test-ulps: Update.
18787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18788
c4e33b8d
DM
187892013-01-31 David S. Miller <davem@davemloft.net>
18790
18791 * po/de.po: Update from translation team.
18792
3b60b421
MK
187932013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18794
18795 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18796
bb931195
TS
187972013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18798
b5a5da23
TS
18799 * configure.in (_AC_PROG_CC_C89): New definition.
18800 * configure: Regenerate.
18801
bb931195
TS
18802 * configure.in (AC_PROG_CPP): New definition.
18803 * configure: Regenerate.
18804
8c53a12c
JM
188052013-01-23 Joseph Myers <joseph@codesourcery.com>
18806
18807 * debug/tst-backtrace.h: New file.
18808 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18809 (ret): Remove variable.
18810 (x): Likewise.
18811 (FAIL): Remove macro.
18812 (NO_INLINE): Likewise.
18813 (fn1): Use match function instead of strstr.
18814 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18815 (ret): Remove variable.
18816 (x): Likewise.
18817 (FAIL): Remove macro.
18818 (NO_INLINE): Likewise.
18819 (fn): Use match function instead of strstr.
18820 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18821 (ret): Remove variable.
18822 (x): Likewise.
18823 (FAIL): Remove macro.
18824 (NO_INLINE): Likewise.
18825 (handle_signal): Use match function instead of strstr.
18826 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18827 (ret): Remove variable.
18828 (x): Likewise.
18829 (FAIL): Remove macro.
18830 (NO_INLINE): Likewise.
18831 (handle_signal): Use match function instead of strstr.
18832
4858fa2a
RM
188332013-01-23 Roland McGrath <roland@hack.frob.com>
18834
18835 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18836
bae8e7f5
DM
188372013-01-23 David S. Miller <davem@davemloft.net>
18838
18839 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18840 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18841 argument of CAS if possible.
18842 * sysdeps/sparc/sparc64/bits/atomic.h
18843 (__arch_compare_and_exchange_val_32_acq): Likewise.
18844 (__arch_compare_and_exchange_val_64_acq): Likewise.
18845
9cbbc4ae
PT
188462013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18847
18848 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18849 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18850 Include <limits.h>.
67b3f58c 18851 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18852
5655a0b5
AC
188532013-01-23 Adam Conrad <adconrad@0c3.net>
18854
18855 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18856 (LDFLAGS-tst-array5): Likewise.
18857
052aff95
JM
188582013-01-23 Joseph Myers <joseph@codesourcery.com>
18859
18860 [BZ #15036]
18861 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18862 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18863 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18864 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18865
7c1e01aa
DM
188662013-01-21 David S. Miller <davem@davemloft.net>
18867
18868 * sysdeps/sparc/backtrace.c: New file.
18869 * sysdeps/sparc/sparc32/backtrace.h: New file.
18870 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18871 * sysdeps/sparc/sparc64/backtrace.h: New file.
18872 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18873 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18874 -funwind-tables.
18875
ab087e0a
AS
188762013-01-21 Andreas Schwab <schwab@suse.de>
18877
18878 [BZ #15020]
18879 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18880 closed its stdout.
18881
ed689c2f
AS
188822013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18883
18884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18885 "mpa2.h".
18886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18887
31d470ac
JM
188882013-01-18 Joseph Myers <joseph@codesourcery.com>
18889 Mark Mitchell <mark@codesourcery.com>
18890 Tom de Vries <tom@codesourcery.com>
18891 Paul Pluzhnikov <ppluzhnikov@google.com>
18892
18893 * debug/tst-backtrace2.c: New file.
18894 * debug/tst-backtrace3.c: Likewise.
18895 * debug/tst-backtrace4.c: Likewise.
18896 * debug/tst-backtrace5.c: Likewise.
18897 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18898 (CFLAGS-tst-backtrace3.c): Likewise.
18899 (CFLAGS-tst-backtrace4.c): Likewise.
18900 (CFLAGS-tst-backtrace5.c): Likewise.
18901 (LDFLAGS-tst-backtrace2): Likewise.
18902 (LDFLAGS-tst-backtrace3): Likewise.
18903 (LDFLAGS-tst-backtrace4): Likewise.
18904 (LDFLAGS-tst-backtrace5): Likewise.
18905 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18906 tst-backtrace4 and tst-backtrace5.
18907
90567f30 189082013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18909 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18910
18911 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18912 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18913 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18914 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18916 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18917 "+r" and remove output regs list as redundant. Add explicit inline
18918 asm to specify register of return val to work around compiler codegen
18919 bug. Remove (int) cast on return value. Add return type parameter to
18920 use in macro so that this macro does not truncate return value for
18921 64-bit values.
18922 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18923 pass to INTERNAL_VSYSCALL_NCS.
18924 (INLINE_VSYSCALL): Add 'long int' as return type to
18925 INTERNAL_VSYSCALL_NCS macro invocation.
18926 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18927 INTERNAL_VSYSCALL_NCS macro invocation.
18928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18929
d3b9ea61
SP
189302013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18931
0b57daeb
SP
18932 [BZ #14496]
18933 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18934 Fix application of SIMD FP exception mask.
18935
caa99d06
SP
18936 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18937 mp_no from a power of two.
18938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18939 __mpexp_twomm1. Use __pow_mp.
18940
d3b9ea61
SP
18941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18942 multiplication.
18943
1dbaee3c
DM
189442013-01-17 David S. Miller <davem@davemloft.net>
18945
18946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18947
728d7b43
JM
189482013-01-17 Joseph Myers <joseph@codesourcery.com>
18949
18950 [BZ #15023]
18951 * include/complex.h: Condition contents on [!_COMPLEX_H].
18952 (__kernel_casinhf): New prototype.
18953 (__kernel_casinh): Likewise.
18954 (__kernel_casinhl): Likewise.
18955 * math/Makefile (libm_calls): Add k_casinh.
18956 * math/k_casinh.c: New file.
18957 * math/k_casinhf.c: Likewise.
18958 * math/k_casinhl.c: Likewise.
18959 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18960 finite nonzero arguments.
18961 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18962 finite nonzero arguments.
18963 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18964 finite nonzero arguments.
18965 * math/s_casinh.c: Do not include <float.h>.
18966 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18967 * math/s_casinhf.c: Do not include <float.h>.
18968 (__casinhf): Move code for finite nonzero arguments to
18969 k_casinhf.c.
18970 * math/s_casinhl.c: Do not include <float.h>.
18971 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18972 redefine.
18973 (__casinhl): Move code for finite nonzero arguments to
18974 k_casinhl.c.
18975 * math/libm-test.inc (cacos_test): Add more tests.
18976 * sysdeps/i386/fpu/libm-test-ulps: Update.
18977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18978
2a26ef3a
PT
189792013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18980
18981 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18982 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18983 [!HAVE_MREMAP]: Remove [defined linux] case.
18984 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18985
a897655d
SP
189862013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18987
18988 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18989
881ebe89 189902013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18991
18992 * elf/elf.h (R_386_SIZE32): New relocation.
18993 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18994 R_386_SIZE32.
18995 (elf_machine_rela): Likewise.
18996 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18997 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18998
59981e9b
JM
189992013-01-17 Joseph Myers <joseph@codesourcery.com>
19000
19001 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19002 (FP_FAST_FMA): Do not define.
19003 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19004 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19005 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19006 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19007 !_SOFT_FLOAT]: Likewise.
19008 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19009 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19010 value.
19011 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19012 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19013 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19014 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19015 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19016 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19017 file.
19018
cfa8054f
AS
190192013-01-16 Andreas Schwab <schwab@suse.de>
19020
19021 [BZ #14327]
19022 * include/stdlib.h (__mktemp): Add declaration.
19023 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19024 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19025
dd930cc5
SP
190262013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19027
881ebe89
SP
19028 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19029 definitions.
19030 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19031 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19032 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19033 definitions here.
19034 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19035 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19036 definitions.
19037 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19038 and ONE.
19039 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19040 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19041 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19042 definitions.
19043 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19044 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19045 definitions.
19046 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19047
dd930cc5
SP
19048 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19049
c19a9f89
DM
190502013-01-15 David S. Miller <davem@davemloft.net>
19051
1aa61767
DM
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19053 trunc{,f} to libm-sysdep_routes.
19054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19056 file.
19057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19059 file.
19060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19061 file.
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19067 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19068 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19069 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19070
c42d5e98
DM
19071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19072 nearbyint{,f} to libm-sysdep_routes.
19073 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19075 New file.
19076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19077 file.
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19079 New file.
19080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19081 file.
19082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19084 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19085 file.
19086 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19087 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19088 file.
19089 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19090 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19092
c19a9f89
DM
19093 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19094 libc_feholdexcept and libc_fesetenv.
19095
357679d2
MF
190962013-01-15 Mike Frysinger <vapier@gentoo.org>
19097
19098 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19099
65a82e3d
DM
191002013-01-14 David S. Miller <davem@davemloft.net>
19101
8b954ab9
DM
19102 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19103 (SPARC_ASM_VIS2_IFUNC): Likewise.
19104 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19106 use of 'siam' instruction.
19107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19108 Likewise.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19110 Likewise.
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19112 Likewise.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19118 file.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19120 file.
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19122 file.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19124 file.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19130 new VIS2 routines.
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19134 Likewise.
19135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19140 routines to libm-sysdep_routines.
19141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19142
65a82e3d
DM
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19144 fdim/fdimf to libm-sysdep_routines.
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19146 file.
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19149 file.
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19153 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19154 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19155 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19156 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19157
e34ab705
SP
191582013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19159
2a91b573
SP
19160 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19161 to optimize copies.
19162
1066a534
SP
19163 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19166
e34ab705
SP
19167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19168 local variable MPTWO.
19169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19170 Likewise.
19171
aba5e596
MF
191722013-01-13 Mike Frysinger <vapier@gentoo.org>
19173
19174 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19175 GLOB_NOESCAPE.
19176
e557e9e5
MF
191772013-01-13 Mike Frysinger <vapier@gentoo.org>
19178
19179 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19180
0428cec9
MF
191812013-01-13 Mike Frysinger <vapier@gentoo.org>
19182
19183 * manual/pattern.texi (glob_t): Document gl_flags.
19184 (glob64_t): Likewise.
19185
8794a964
DM
191862013-01-11 David S. Miller <davem@davemloft.net>
19187
66438c3f
RM
19188 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19189 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19190 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19191 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19192 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19193 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19194 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19195 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19196 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19197 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19198 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19199 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19200 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19201
4ae4244d
DM
19202 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19203 sparc V9 rather than using V8 code.
19204 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19205 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19206
8794a964
DM
19207 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19208 Move to...
19209 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19210 Here.
19211
6270516e
RM
192122013-01-11 Roland McGrath <roland@hack.frob.com>
19213
19214 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19215 not in the main loop.
19216 * configure: Regenerated.
19217
6a57d931
JM
192182013-01-11 Joseph Myers <joseph@codesourcery.com>
19219
19220 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19221 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19222 to just #else.
19223 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19224 [!__GLIBC_HAVE_LONG_LONG] case.
19225 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19226 condition to just #else.
19227 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19228 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19229 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19230 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19231 unconditional.
19232 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19233 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19234 #elif condition to just #else.
19235 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19236 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19237 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19238 #elif condition to just #else.
19239
0e8529e9
SE
192402013-01-11 Steve Ellcey <sellcey@mips.com>
19241
19242 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19243 (EF_MIPS_ARCH_64): Fix value.
19244 (EF_MIPS_ARCH_32R2): New.
19245 (EF_MIPS_ARCH_64R2): New.
19246
740b3dbe
L
192472013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19248
19249 * Makeconfig (+link-pie-before-libc): New.
19250 (+link-pie-after-libc): Likewise.
19251 (+link-pie-tests): Likewise.
19252 (+link-pie): Rewritten.
19253 (link-before-libc): Remove $(config-LDFLAGS).
19254 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19255 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19256 (config-LDFLAGS): Renamed to ...
19257 (rtld-LDFLAGS): This.
19258 (rtld-tests-LDFLAGS): New macro.
19259 (link-libc-rpath-link): Likewise.
19260 (link-libc-tests-rpath-link): Likewise.
19261 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19262 (link-libc): Prepand $(link-libc-rpath-link).
19263 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19264 (test-program-prefix): New macro.
19265 (test-via-rtld-prefix): Likewise.
19266 (test-program-cmd): Likewise.
19267 (host-test-program-cmd): Likewise.
19268 * Makefile ($(common-objpfx)testrun.sh): Replace
19269 $(run-program-prefix) with $(test-program-prefix).
19270 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19271 $(rtld-LDFLAGS).
19272 ($(common-objpfx)shlib.lds): Likewise.
19273 (build-module-helper): Likewise.
19274 ($(common-objpfx)format.lds): Likewise.
19275 * Rules (binaries-pie-tests): New.
19276 (binaries-pie-notests): Likewise.
19277 (binaries-pie): Rewritten.
19278 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19279 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19280 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19281 (make-test-out): Replace $(host-built-program-cmd) with
19282 $(host-test-program-cmd).
19283 * config.make.in (build-hardcoded-path-in-tests): New variable.
19284 * configure.in (--enable-hardcoded-path-in-tests): New configure
19285 option.
19286 (hardcoded_path_in_tests): New AC_SUBST.
19287 * configure: Regenerated.
19288 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19289 $(built-program-cmd) with $(test-program-cmd).
19290 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19291 (test_program_cmd): This.
19292 * elf/Makefile ($(objpfx)order.out): Run test with
19293 $(test-program-prefix).
19294 ($(objpfx)order2.out): Likewise.
19295 ($(objpfx)tst-initorder.out): Likewise.
19296 ($(objpfx)tst-initorder2.out): Likewise.
19297 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19298 $(test-program-cmd).
19299 ($(objpfx)tst-array1-static.out): Likewise.
19300 ($(objpfx)tst-array2.out): Likewise.
19301 ($(objpfx)tst-array3.out): Likewise.
19302 ($(objpfx)tst-array4.out): Likewise.
19303 ($(objpfx)tst-array5.out): Likewise.
19304 ($(objpfx)tst-array5-static.out): Likewise.
19305 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19306 $(test-program-cmd).
19307 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19308 $(run-program-prefix) with $(test-program-prefix).
19309 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19310 (test_program_prefix): This.
19311 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19312 $(run-program-prefix) with $(test-program-prefix).
19313 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19314 (test_program_prefix): This.
19315 * iconvdata/tst-tables.sh: Likewise.
19316 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19317 $(run-program-prefix) with $(test-program-prefix).
19318 ($(objpfx)tst-translit.out): Likewise.
19319 ($(objpfx)tst-gettext2.out): Likewise.
19320 ($(objpfx)tst-gettext4.out): Likewise.
19321 ($(objpfx)tst-gettext6.out): Likewise.
19322 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19323 (test_program_prefix): This.
19324 * intl/tst-gettext2.sh: Likewise.
19325 * intl/tst-gettext4.sh Likewise.
19326 * intl/tst-gettext6.sh: Likewise.
19327 * intl/tst-translit.sh: Likewise.
19328 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19329 with $(test-program-cmd).
19330 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19331 $(run-program-prefix) with $(test-program-prefix).
19332 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19333 (test_program_prefix): This.
19334 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19335 $(run-program-prefix) with $(test-program-prefix).
19336 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19337 (test_program_prefix): This.
19338 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19339 * posix/Makefile ($(objpfx)globtest.out): Replace
19340 $(run-via-rtld-prefix) and $(test-wrapper) with
19341 $(test-program-prefix) and $(test-via-rtld-prefix).
19342 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19343 $(test-program-prefix).
19344 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19345 $(host-test-program-cmd).
19346 (tst-spawn-ARGS): Likewise.
19347 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19348 $(test-program-prefix).
19349 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19350 (test_via_rtld_prefix): This.
19351 (test_wrapper): Renamed to ...
19352 (test_program_prefix): This.
19353 (run_program_prefix): Replaced by test_program_prefix.
19354 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19355 (test_program_prefix): This.
19356 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19357 with $(host-test-program-cmd).
19358 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19359 $(run-program-prefix) with $(test-program-prefix).
19360 ($(objpfx)tst-printf.out): Likewise.
19361 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19362 $(test-program-cmd).
19363 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19364 (test_program_prefix): This.
19365 * stdio-common/tst-unbputc.sh: Likewise.
19366 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19367 $(run-program-prefix) with $(test-program-prefix).
19368 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19369 (test_program_prefix): This.
19370 * string/Makefile ($(objpfx)tst-svc.out): Replace
19371 $(built-program-cmd) with $(test-program-cmd).
19372
c6fe55cf
AJ
193732013-01-11 Andreas Jaeger <aj@suse.de>
19374
19375 [BZ #15003]
19376 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19377 value. Sync with Linux 3.7.
19378
9e6919c8
DM
193792013-01-10 David S. Miller <davem@davemloft.net>
19380
19381 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19382 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19383 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19384
1c9f1a02
RM
193852013-01-10 Roland McGrath <roland@hack.frob.com>
19386
19387 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19388 never set.
19389 * configure: Regenerated.
19390
b9de2dde
DM
193912013-01-10 David S. Miller <davem@davemloft.net>
19392
19393 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19394 sparc V9 rather than using V8 code.
19395 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19396 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19397
e7f68ef4
RM
193982013-01-10 Roland McGrath <roland@hack.frob.com>
19399
19400 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19401 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19402 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19403 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19404 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19405 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19406 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19407 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19408 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19409 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19410 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19411 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19412 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19413 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19414 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19415 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19416 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19417 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19418 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19419 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19420 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19421 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19422 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19423 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19424 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19425 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19426 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19427
5a47cc9c
DM
194282013-01-10 David S. Miller <davem@davemloft.net>
19429
19430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19431
4cf8f209
L
194322013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19433
19434 * posix/Makefile (tests-static): New variable.
19435 (tests): Add $(tests-static).
19436 (tst-exec-static-ARGS): New variable.
19437 (tst-spawn-static-ARGS): Likewise.
19438 * posix/tst-exec-static.c: New file.
19439 * posix/tst-spawn-static.c: Likewise.
19440 * posix/tst-exec.c: Support run directly.
19441 * posix/tst-spawn.c: Likewise.
19442
fed0faa1
JM
194432013-01-10 Joseph Myers <joseph@codesourcery.com>
19444
828beb13
JM
19445 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19446 long.
19447 * math/bits/mathcalls.h (llrint): Likewise.
19448 (llround): Likewise.
19449 * stdlib/stdlib.h (struct drand48_data): Likewise.
19450 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19451 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19452 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19453 Likewise.
19454 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19455 Likewise.
19456 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19457 (elf_greg_t): Likewise.
19458 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19459 (__jmp_buf): Likewise.
19460 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19461 definitions.
19462 (llrint): Likewise, for all definitions.
19463 (llrintl): Likewise.
19464
fed0faa1
JM
19465 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19466 Remove [__GNUC__] condition.
19467 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19468 condition to just [__USE_ISOC99].
19469 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19470
1a20cb20
L
194712013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19472
19473 [BZ #14200]
19474 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19475 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19476 defined.
19477 (_POSIX_V6_ILP32_OFF32): Likewise.
19478 (_XBS5_ILP32_OFF32): Likewise.
19479 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19480 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19481
751b85f7
SP
194822013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19483
7490eb81
SP
19484 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19485
751b85f7
SP
19486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19487 doubles __mpexp_twomm1. Adjust usage.
19488 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19489 Remove.
19490
988197f0
AS
194912013-01-10 Andreas Schwab <schwab@suse.de>
19492
19493 [BZ #14964]
19494 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19495 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19496
e83d7298
DM
194972013-01-09 David S. Miller <davem@davemloft.net>
19498
034ed64b 19499 [BZ #15003]
57f41c40
AS
19500 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19501 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19502 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19503 (TCP_FASTOPEN): Define.
e83d7298
DM
19504 (tcp_repair_opt): New structure.
19505 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19506 enum values.
57f41c40
AS
19507 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19508 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19509 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19510 (tcp_cookie_transactions): New structure.
19511
d5e0b9bd
AB
195122013-01-09 Anton Blanchard <anton@samba.org>
19513
19514 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19515 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19516 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19517 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19518
0c07e3ea
JM
195192013-01-09 Joseph Myers <joseph@codesourcery.com>
19520
19521 * include/features.h (__USE_ANSI): Remove.
19522
232f7002
RM
195232013-01-09 Roland McGrath <roland@hack.frob.com>
19524
ad98e30c
RM
19525 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19526
232f7002
RM
19527 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19528
950c99ca
SP
195292013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19530
b5792741
SP
19531 * sysdeps/s390/fpu/libm-test-ulps: Update.
19532
47cf2278
SP
19533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19534
950c99ca
SP
19535 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19536 (__acr): Likewise.
19537 (__cpy): Likewise.
19538 (norm): Likewise.
19539 (denorm): Likewise.
19540 (__mp_dbl): Likewise.
19541 (__dbl_mp): Likewise.
19542 (add_magnitudes): Likewise.
19543 (sub_magnitudes): Likewise.
19544 (__add): Likewise.
19545 (__sub): Likewise.
19546 (__mul): Likewise.
19547 (__inv): Likewise.
19548 (__dvd): Likewise.
19549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19550 (__acr): Likewise.
19551 (__cpy): Likewise.
19552 (norm): Likewise.
19553 (denorm): Likewise.
19554 (__mp_dbl): Likewise.
19555 (__dbl_mp): Likewise.
19556 (add_magnitudes): Likewise.
19557 (sub_magnitudes): Likewise.
19558 (__add): Likewise.
19559 (__sub): Likewise.
19560 (__mul): Likewise.
19561 (__inv): Likewise.
19562 (__dvd): Likewise.
19563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19564 (__acr): Likewise.
19565 (__cpy): Likewise.
19566 (norm): Likewise.
19567 (denorm): Likewise.
19568 (__mp_dbl): Likewise.
19569 (__dbl_mp): Likewise.
19570 (add_magnitudes): Likewise.
19571 (sub_magnitudes): Likewise.
19572 (__add): Likewise.
19573 (__sub): Likewise.
19574 (__mul): Likewise.
19575 (__inv): Likewise.
19576 (__dvd): Likewise.
19577
eede9df9
JM
195782013-01-08 Joseph Myers <joseph@codesourcery.com>
19579
19580 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19581 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19582 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19583 2 && __USE_EXTERN_INLINES]: Likewise.
19584
c40ea3d9
AJ
195852013-01-08 Andreas Jaeger <aj@suse.de>
19586
19587 [BZ# 14985]
19588 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19589 Remove.
19590 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19591 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19592
2ccdea26
AB
195932013-01-07 Anton Blanchard <anton@samba.org>
19594
19595 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19596 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19597 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19598 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19599 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19600 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19601 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19602 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19604 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19605 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19606 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19607 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19608 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19609 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19610 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19611 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19612 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19613 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19614 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19615 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19616 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19617 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19618 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19619 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19620 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19621 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19622 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19623 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19624 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19625 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19627 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19628 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19629 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19630 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19631 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19633 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19635 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19637 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19638
a9708fed
JM
196392013-01-07 Joseph Myers <joseph@codesourcery.com>
19640
375607b9
JM
19641 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19642 (__MALLOC_PMT): Likewise.
19643 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19644 [__GNUC__], only on [_LIBC].
19645 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19646 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19647 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19648 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19649 forward declaration.
19650 (realloc_hook_ini): Likewise.
19651 (memalign_hook_ini): Likewise.
19652 (__libc_memalign): Do not use __MALLOC_PMT in variable
19653 declaration.
19654 (__libc_valloc): Likewise.
19655 (__libc_pvalloc): Likewise.
19656 (__libc_calloc): Likewise.
19657 (__posix_memalign): Likewise.
19658
a9708fed
JM
19659 [BZ #14996]
19660 * math/s_casinh.c: Include <float.h>.
19661 (__casinh): Do not do computation with squaring and square root
19662 for large arguments.
19663 * math/s_casinhf.c: Include <float.h>.
19664 (__casinhf): Do not do computation with squaring and square root
19665 for large arguments.
19666 * math/s_casinhl.c: Include <float.h>.
19667 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19668 (__casinhl): Do not do computation with squaring and square root
19669 for large arguments.
19670 * math/libm-test.inc (casin_test): Add more tests.
19671 (casinh_test): Likewise.
19672 * sysdeps/i386/fpu/libm-test-ulps: Update.
19673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19674
afec409a
L
196752013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19676
19677 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19678 (__x86_64_raw_data_cache_size): Likewise.
19679 (__x86_64_data_cache_size_half): Likewise.
19680 (__x86_64_raw_data_cache_size_half): Likewise.
19681 (__x86_64_shared_cache_size): Likewise.
19682 (__x86_64_raw_shared_cache_size): Likewise.
19683 (__x86_64_shared_cache_size_half): Likewise.
19684 (__x86_64_raw_shared_cache_size_half): Likewise.
19685 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19686 to ...
19687 (__x86_data_cache_size): This.
19688 (__x86_64_raw_data_cache_size): Renamed to ...
19689 (__x86_raw_data_cache_size): This.
19690 (__x86_64_data_cache_size_half): Renamed to ...
19691 (__x86_data_cache_size_half): This.
19692 (__x86_64_raw_data_cache_size_half): Renamed to ...
19693 (__x86_raw_data_cache_size_half): This.
19694 (__x86_64_shared_cache_size): Renamed to ...
19695 (__x86_shared_cache_size): This.
19696 (__x86_64_raw_shared_cache_size): Renamed to ...
19697 (__x86_raw_shared_cache_size): This.
19698 (__x86_64_shared_cache_size_half): Renamed to ...
19699 (__x86_shared_cache_size_half): This.
19700 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19701 (__x86_raw_shared_cache_size_half): This.
19702 * sysdeps/x86_64/memcpy.S: Updated.
19703 * sysdeps/x86_64/memset.S: Likewise.
19704 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19705 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19706 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19707
0b3986d0
DM
197082013-01-04 David S. Miller <davem@davemloft.net>
19709
19710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19711
e47686e9
AS
197122013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19713
d643bac1
AS
19714 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19715 1 to avoid redefinition warning.
19716 (__USE_GNU): Don't define.
19717 (init_signaling_nan): Protoize.
19718
e47686e9
AS
19719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19720
b18decba
SP
197212013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19722
fffb407f
SP
19723 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19725 (__cpymn): Likewise.
19726 (norm): Remove commented code.
19727 (denorm): Likewise.
19728 (__mp_dbl): Likewise.
19729 (__inv): Likewise.
19730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19731 (__cpymn): Likewise.
19732 (norm): Remove commented code.
19733 (denorm): Likewise.
19734 (__mp_dbl): Likewise.
19735 (__inv): Likewise.
19736
b18decba
SP
19737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19738 mp_no value for 1.0 and 2.0.
19739 (norm): Use RADIXI instead of radixi.d.
19740 (denorm): Likewise.
19741 (__mul): Use 0.0 instead of zero.d.
19742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19743 mp_no value for 1.0 and 2.0.
19744 (norm): Use RADIXI instead of radixi.d.
19745 (denorm): Likewise.
19746 (__mul): Use 0.0 instead of zero.d.
19747
cdc1c96f
JM
197482013-01-04 Joseph Myers <joseph@codesourcery.com>
19749
19750 [BZ #14994]
19751 * math/s_casinh.c (__casinh): Reduce finite argument to first
19752 quadrant then set signs of results at the end.
19753 * math/s_casinhf.c (__casinhf): Likewise.
19754 * math/s_casinhl.c (__casinhl): Likewise.
19755 * math/libm-test.inc (casin_test): Add more tests.
19756 (casinh_test): Likewise.
19757 * sysdeps/i386/fpu/libm-test-ulps: Update.
19758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19759
302913e1
SP
197602013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19761
6420d207
SP
19762 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19763
a9e48ab4
SP
19764 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19765
b7837264
SP
19766 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19767 declarations.
19768 (denorm): Likewise.
19769 (__mp_dbl): Likewise.
19770 (__inv): Likewise.
19771
f8af25d2
SP
19772 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19773 and adjust the header comment.
19774
302913e1
SP
19775 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19776 variable name from declaration.
19777
5d7dd1ca
L
197782013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19779
19780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19781 Initialize COMMON_CPUID_INDEX_7 element.
19782 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19783 (CPUID_RTM): Likewise.
19784 (HAS_RTM): Likewise.
19785 (COMMON_CPUID_INDEX_7): New enum.
19786
2f5f40f4
AS
197872013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19788
19789 [BZ #14981]
19790 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19791 size is zero, record memory as freed.
19792
4056f4a0
AJ
197932013-01-03 Andreas Jaeger <aj@suse.de>
19794
19795 * po/ia.po: Add new Interlingua translation.
19796
ab15736f 197972012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19798
19799 * locale/programs/localedef.c: Fix description of '--posix' flag.
19800
568035b7
JM
198012013-01-02 Joseph Myers <joseph@codesourcery.com>
19802
e6898b8d
JM
19803 * NEWS: Update dates in second copyright notice.
19804 * README: Update copyright dates in example.
19805 * manual/libc.texinfo: Update copyright dates.
19806 * scripts/test-installation.pl: Update copyright date in --version
19807 output.
19808
0e2f9562
JM
19809 * hurd/ctty-input.c: Fix copyright notice formatting.
19810 * hurd/ctty-output.c: Likewise.
19811 * hurd/dtable.c: Likewise.
19812 * hurd/hurd-raise.c: Likewise.
19813 * hurd/hurdprio.c: Likewise.
19814 * hurd/msgportdemux.c: Likewise.
19815 * misc/sys/file.h: Likewise.
19816 * misc/sys/ioctl.h: Likewise.
19817 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19818 * sysdeps/mach/hurd/chdir.c: Likewise.
19819 * sysdeps/mach/hurd/fchdir.c: Likewise.
19820 * sysdeps/mach/hurd/rename.c: Likewise.
19821 * sysdeps/mach/hurd/rmdir.c: Likewise.
19822 * sysdeps/mach/hurd/seekdir.c: Likewise.
19823 * sysdeps/mach/hurd/setsid.c: Likewise.
19824 * sysdeps/posix/wait3.c: Likewise.
19825
568035b7
JM
19826 * All files with FSF copyright notices: Update copyright dates
19827 using scripts/update-copyrights.
19828 * intl/plural.c: Regenerated.
19829 * locale/programs/charmap-kw.h: Likewise.
19830 * locale/programs/locfile-kw.h: Likewise.
19831
da08f647
SP
198322013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19833
0f5477af
SP
19834 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19835 four values.
19836
44e0d4c2
SP
19837 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19838 calculation loop and add branch prediction.
19839
4d55b4e5
SP
19840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19841 check access beyond bounds of m1np.
19842
da08f647
SP
19843 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19844 MPTWO.
19845 (__inv): Remove local variable MPTWO to use the global
19846 constant.
19847 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19849 variable MPTWO.
19850 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19851 MP3HALFS static const.
19852
8e051029
DM
198532013-01-01 David S. Miller <davem@davemloft.net>
19854
19855 * po/ca.po: Update from translation team.
19856
f4cf5f2d
JM
198572013-01-01 Joseph Myers <joseph@codesourcery.com>
19858
19859 * scripts/update-copyrights: New file.
19860 * Makeconfig: Reformat copyright notice.
19861 * ctype/ctype.h: Likewise.
19862 * debug/swprintf_chk.c: Likewise.
19863 * elf/dl-cache.c: Likewise.
19864 * elf/dl-debug.c: Likewise.
19865 * elf/dl-object.c: Likewise.
19866 * grp/initgroups.c: Likewise.
19867 * hurd/Makefile: Likewise.
19868 * hurd/hurd/signal.h: Likewise.
19869 * hurd/hurdfault.c: Likewise.
19870 * hurd/hurdioctl.c: Likewise.
19871 * hurd/hurdlookup.c: Likewise.
19872 * hurd/intr-msg.c: Likewise.
19873 * iconv/gconv_open.c: Likewise.
19874 * libio/swprintf.c: Likewise.
19875 * locale/lc-ctype.c: Likewise.
19876 * locale/nl_langinfo.c: Likewise.
19877 * mach/Machrules: Likewise.
19878 * mach/Makefile: Likewise.
19879 * malloc/obstack.h: Likewise.
19880 * manual/Makefile: Likewise.
19881 * manual/tsort.awk: Likewise.
19882 * misc/bits/stab.def: Likewise.
19883 * nis/nis_print_group_entry.c: Likewise.
19884 * nis/nis_table.c: Likewise.
19885 * nis/nss_compat/compat-pwd.c: Likewise.
19886 * nis/nss_compat/compat-spwd.c: Likewise.
19887 * po/Makefile: Likewise.
19888 * posix/fnmatch.c: Likewise.
19889 * posix/regex.h: Likewise.
19890 * resolv/Makefile: Likewise.
19891 * resolv/nss_dns/dns-network.c: Likewise.
19892 * resolv/res_hconf.c: Likewise.
19893 * scripts/gen-sorted.awk: Likewise.
19894 * soft-fp/soft-fp.h: Likewise.
19895 * stdio-common/printf.h: Likewise.
19896 * stdlib/monetary.h: Likewise.
19897 * stdlib/random.c: Likewise.
19898 * stdlib/random_r.c: Likewise.
19899 * sysdeps/generic/Makefile: Likewise.
19900 * sysdeps/gnu/Makefile: Likewise.
19901 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19903 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19905 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19908 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19911 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19912 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19914 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19915 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19916 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19917 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19919 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19921 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19922 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19923 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19924 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19925 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19926 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19927 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19928 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19929 * sysdeps/mach/hurd/errnos.awk: Likewise.
19930 * sysdeps/mach/hurd/fork.c: Likewise.
19931 * sysdeps/mach/hurd/getcwd.c: Likewise.
19932 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19933 * sysdeps/mach/hurd/mmap.c: Likewise.
19934 * sysdeps/mach/hurd/utimes.c: Likewise.
19935 * sysdeps/mach/hurd/xmknod.c: Likewise.
19936 * sysdeps/posix/profil.c: Likewise.
19937 * sysdeps/posix/readdir_r.c: Likewise.
19938 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19939 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19940 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19941 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19943 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19944 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19945 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19947 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19948 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19949 * sysdeps/pthread/lio_listio.c: Likewise.
19950 * sysdeps/sparc/dl-procinfo.h: Likewise.
19951 * sysdeps/unix/i386/sysdep.S: Likewise.
19952 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19953 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19954 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19955 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19957 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19958 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19959 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19960 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19961 * sysdeps/wordsize-32/divdi3.c: Likewise.
19962 * time/sys/time.h: Likewise.
19963 * wcsmbs/Makefile: Likewise.
19964
0549fbba
DM
199652013-01-01 David S. Miller <davem@davemloft.net>
19966
a141f1a7
DM
19967 * po/fr.po: Update from translation team.
19968
0549fbba
DM
19969 * catgets/gencat.c: Update copyright year.
19970 * csu/version.c: Likewise.
19971 * debug/catchsegv.sh: Likewise.
19972 * debug/pcprofiledump.c: Likewise.
19973 * debug/xtrace.sh: Likewise.
19974 * elf/ldconfig.c: Likewise.
19975 * elf/ldd.bash.in: Likewise.
19976 * elf/pldd.c: Likewise.
19977 * elf/sotruss.ksh: Likewise.
19978 * elf/sprof.c: Likewise.
19979 * iconv/iconv_prog.c: Likewise.
19980 * iconv/iconvconfig.c: Likewise.
19981 * locale/programs/locale.c: Likewise.
19982 * locale/programs/localedef.c: Likewise.
19983 * login/programs/pt_chown.c: Likewise.
19984 * malloc/memusage.sh: Likewise.
19985 * malloc/memusagestat.c: Likewise.
19986 * malloc/mtrace.pl: Likewise.
19987 * nscd/nscd.c: Likewise.
19988 * nss/getent.c: Likewise.
19989 * nss/makedb.c: Likewise.
19990 * posix/getconf.c: Likewise.
19991
18ea052c
SP
199922012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19993
19994 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19995 numbers.
19996
9c89fca6
MF
199972012-12-30 Mike Frysinger <vapier@gentoo.org>
19998
19999 * math/bits/mathcalls.h (modf): Use __nonnull.
20000
085ec079
SP
200012012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20002
20003 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20004 (split): Use macro CN instead of the bare value.
20005 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20006 could be used.
20007 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20008 instead of the bare value.
20009 (power1): Likewise.
20010
6d9f97e1
SP
200112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20012
d63f73be
SP
20013 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20014 __ATAN_TWOM.
20015 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20016
6d9f97e1
SP
20017 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20018 their values.
20019 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20020 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20021 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20022 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20023
4c4febf5
AJ
200242012-12-28 Andreas Jaeger <aj@suse.de>
20025
af5843ef
AJ
20026 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20027 values are from Linux 3.7.
20028
4c4febf5
AJ
20029 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20030 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20031
99136f82
SP
200322012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20033
2f216c3c 20034 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20035 TRUE case.
20036
99136f82
SP
20037 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20038 (norm): Likewise.
20039 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20040 variables with preprocessor constants.
20041 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20042 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20043 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20044
7fffbdff
BH
200452012-12-27 Bruno Haible <bruno@clisp.org>
20046
20047 [BZ #14317]
20048 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20049 only if needed.
20050
b76eb5f0
SP
200512012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20052
31a7fe5c
SP
20053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20054 and use variable directly.
20055 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20056
b76eb5f0
SP
20057 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20058 MPONE.
20059 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20060 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20061 variable MPONE.
20062 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20064 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20065 include directive. Remove local variable MPONE.
20066 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20067 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20068 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20069
2c8bfe7d
DM
200702012-12-25 David S. Miller <davem@davemloft.net>
20071
20072 * version.h (RELEASE): Set to "development".
20073 (VERSION): Set to "2.17.90".
20074 * NEWS: Add 2.18 section.
20075
147d03b0
DM
200762012-12-21 David S. Miller <davem@davemloft.net>
20077
20078 * po/hr.po: Update from translation team.
20079
a8ebb2b9
AK
200802012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20081
20082 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20083
95b4f1b6
SE
200842012-12-19 Steve Ellcey <sellcey@mips.com>
20085
b2d94007 20086 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20087
cedb2a90
MS
200882012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20089
20090 * manual/contrib.texi (Contributors): Spelling correction.
20091
bbf527d6
DM
200922012-12-15 David S. Miller <davem@davemloft.net>
20093
20094 * po/ru.po: Update from translation team.
20095
bc38c906
DM
200962012-12-13 David S. Miller <davem@davemloft.net>
20097
85429b1a
DM
20098 * NEWS: Mention IFUNC testsuite enhancements.
20099
d283e353
DM
20100 * po/pl.po: Update from translation team.
20101 * po/bg.po: Likewise.
20102
bc38c906
DM
20103 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20104 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20105
a181b0d7
DM
201062012-12-11 David S. Miller <davem@davemloft.net>
20107
4641d57e
DM
20108 * po/sv.po: Update from translation team.
20109
f7bc6495
DM
20110 * po/vi.po: Update from translation team.
20111
6fc9048f
DM
20112 * po/cs.po: Update from translation team.
20113
a181b0d7
DM
20114 * po/de.po: Update from translation team.
20115 * po/eo.po: Likewise.
20116 * po/nl.po: Likewise.
20117
f70bfe80
SP
201182012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20119
3c8b4190
SP
20120 [BZ #14246]
20121 * manual/argp.texi (Argp Helper Functions): Move node to follow
20122 Argp Parsing State.
20123
f70bfe80
SP
20124 [BZ #14872]
20125 * manual/conf.texi (Limits on File System Capacity): Mention if
20126 terminating null is included in the max size.
20127
188f0adf
AJ
201282012-12-10 Andreas Jaeger <aj@suse.de>
20129
20130 * po/cs.po: Update from translation team.
20131
56e7d3ad
SP
201322012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20133
20134 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20135 void pointer and cast to uintptr_t.
20136 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20137 path.
20138 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20139 * sysdeps/s390/s390-64/memset.S: Likewise.
20140
76f2d2ea 201412012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20142
20143 [BZ #14833]
20144 * menual/message.texi (Message Translation): Fix typos.
20145 (Helper programs for gettext): Likewise.
20146
67cbf9a2
AS
201472012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20148
20149 [BZ #14898]
20150 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20151 Change to -1.
20152
682d0e9a
DM
201532012-12-07 David S. Miller <davem@davemloft.net>
20154
20155 * po/libc.pot: Update.
20156
573cd484
RH
201572012-12-07 Richard Henderson <rth@redhat.com>
20158
7e9da188 20159 [BZ #10114]
573cd484
RH
20160 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20161 normal/normal case to before the switch.
20162 (_FP_DIV): Likewise.
20163
e933a943
MF
201642012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20165 Mike Frysinger <vapier@gentoo.org>
20166
20167 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20168 check for __NR_fadvise64_64.
20169
82123268
CM
201702012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20171
20172 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20173 0, not just to plain "0" as a statement.
20174 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20175 with cw.
20176
d9814526
JM
201772012-12-06 Joseph Myers <joseph@codesourcery.com>
20178
20179 * NEWS: Use sourceware.org in Bugzilla URL.
20180
7728c574
SP
201812012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20182
f16946dd
SP
20183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20184 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20185
5704bbcb
SP
20186 * stdio-common/tst-put-error.c (do_test): Add newline to the
20187 padded test to ensure flush.
20188
17aa0516
JL
201892012-12-05 Jeff Law <law@redhat.com>
20190
20191 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20192
363313b5
JM
201932012-12-05 Joseph Myers <joseph@codesourcery.com>
20194
effbd42a
JM
20195 * README: Don't refer to ports add-on as distributed separately.
20196 Mention AArch64 in list of systems supported in the ports add-on.
20197
87600365
JM
20198 * LICENSES: Add more non-FSF copyright and license notices.
20199
a0d7066a
JM
20200 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20201 ((unused)).
20202
66ca5a5b
JM
20203 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20204
363313b5
JM
20205 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20206 10000 as width of padded output.
20207
b37984ad
JM
202082012-12-04 Joseph Myers <joseph@codesourcery.com>
20209
9003570a
JM
20210 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20211
b37984ad
JM
20212 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20213 variable LX with __attribute__ ((unused)).
20214 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20215 Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20219 with __attribute__ ((unused)).
20220
c8df52ec
DM
202212012-12-04 David S. Miller <davem@abraco.davemloft.net>
20222
20223 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20224
b3b099af
JM
202252012-12-04 Joseph Myers <joseph@codesourcery.com>
20226
c33aa6e3
JM
20227 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20228 (CFLAGS-nldbl-acos.c): New variable.
20229 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20316 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20317 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20318 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20319 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20320 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20321 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20322 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20323 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20324 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20325 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20326
20f0018d
JM
20327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20328 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20329
b3b099af
JM
20330 [BZ #14914]
20331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20332 whole low double instead of just low 47 bits when splitting values
20333 into two parts.
20334
029264d1
AM
203352012-12-03 Allan McRae <allan@archlinux.org>
20336
20337 * manual/stdio.texi (Predefined Printf Handlers): Remove
20338 @hsep and @vsep usage.
20339
c9d6789e
MF
203402012-12-03 Mike Frysinger <vapier@gentoo.org>
20341
20342 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20343 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20344
4b7634a5
JL
203452012-12-03 Jeff Law <law@redhat.com>
20346
20347 * time/sys/time.h (settimeofday): Do not mark TV argument
20348 as __nonnull.
20349
eb6cbd24
MF
203502012-12-01 Mike Frysinger <vapier@gentoo.org>
20351
20352 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20353 when currently writing and seek to current position when not.
20354 * libio/Makefile (tests): Remove bug-fclose1.
20355 * libio/bug-fclose1.c: Delete.
20356
f638872a
JM
203572012-12-01 Joseph Myers <joseph@codesourcery.com>
20358
20359 * manual/arith.texi (feenableexcept): Fix typo.
20360 (fedisableexcept): Likewise.
20361
48085d14
RM
203622012-11-30 Roland McGrath <roland@hack.frob.com>
20363
20364 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20365 second, differently-typed declaration, rather than a cast.
20366
1a538b9f
SP
203672012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20368
20369 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20370 * include/rpc/svc.h: ... here.
20371
d07f2ff1 203722012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20373
20374 [BZ #13013]
20375 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20376 depending n and resplen2 to catch cases where answer
20377 equals answerp2.
20378
c93ec1f0
CD
203792012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20380
20381 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20382 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20383
37db69de
MF
203842012-11-29 Mike Frysinger <vapier@gentoo.org>
20385
20386 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20387
e10c4e4f
RM
203882012-11-29 Roland McGrath <roland@hack.frob.com>
20389
20390 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20391
2af1b328
JL
203922012-11-28 Jeff Law <law@redhat.com>
20393
20394 [BZ #13761]
20395 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20396 dataset_temporary. Track alloca usage into alloca_used.
20397 If dataset is large allocate and release it via malloc/free.
20398
111db5b1
FW
203992012-06-04 Florian Weimer <fweimer@redhat.com>
20400
f06cc227 20401 [BZ #14197]
111db5b1
FW
20402 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20403
dd694abd
DM
204042012-11-28 David S. Miller <davem@davemloft.net>
20405
20406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20407
9984dd01
JM
204082012-11-28 Joseph Myers <joseph@codesourcery.com>
20409
20410 [BZ #14803]
20411 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20412 of pi/2 rounded to nearest to 64 bits.
20413 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20414 nearest to 64 bits.
20415 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20416 bits.
20417
14bc93a9
JL
204182012-11-28 Jeff Law <law@redhat.com>
20419 Martin Osvald <mosvald@redhat.com>
20420
20421 [BZ #14889]
20422 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20423 * sunrpc/svc.c: Include time.h.
20424 (__svc_accept_failed): New function.
20425 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20426 any reason other than EINTR, call __svc_accept_failed.
20427 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20428 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20429
e3c6aa3a
AS
204302012-11-28 Andreas Schwab <schwab@suse.de>
20431
20432 * scripts/abilist.awk: Also handle indirect functions in .opd
20433 section.
20434
1bead169
JM
204352012-11-28 Joseph Myers <joseph@codesourcery.com>
20436
20437 [BZ #13881]
20438 * sysdeps/x86/fpu/powl_helper.c: New file.
20439 * sysdeps/x86/fpu/Makefile: Likewise.
20440 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20441 (p3): New object.
20442 (__ieee754_powl): Use __powl_helper for finite arguments except
20443 integer exponents below 8.
20444 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20445 (p3): New object.
20446 (__ieee754_powl): Use __powl_helper for finite arguments except
20447 integer exponents below 8.
20448 * math/libm-test.inc (pow_test): Add more tests and enable some
20449 previously disabled tests.
20450 * sysdeps/i386/fpu/libm-test-ulps: Update.
20451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20452
0817d63d
SP
204532012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20454 Carlos O'Donell <carlos_odonell@mentor.com>
20455
20456 * nss/makedb.c (is_prime): Assert that input is odd and greater
20457 than 4. Note that fact in a comment too.
20458 (next_prime): Add 4 to input.
20459
de2fd463
SP
204602012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20461
20462 [BZ #11741]
20463 * libio/Makefile (tests): Add test case tst-fwrite-error.
20464 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20465 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20466 * libio/tst-fwrite-error.c: New test case.
20467
c515fb51
L
204682012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20469
20470 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20471 before casting to void *.
20472 * include/libc-internal.h (__pointer_type): New macro.
20473 (__integer_if_pointer_type_sub): Likewise.
20474 (__integer_if_pointer_type): Likewise.
20475 (cast_to_integer): Likewise.
20476 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20477 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20478 before casting to atomic64_t.
20479 (atomic_exchange_acq): Likewise.
20480 (__arch_exchange_and_add_body): Likewise.
20481 (__arch_add_body): Likewise.
20482 (atomic_add_negative): Likewise.
20483 (atomic_add_zero): Likewise.
20484
4cf77aa9
JM
204852012-11-26 Joseph Myers <joseph@codesourcery.com>
20486
20487 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20488 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20489 (add_fdes): Likewise.
20490 (linear_search_fdes): Likewise.
20491 (binary_search_unencoded_fdes): Likewise.
20492
d260b3b4
AS
204932012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20494
20495 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20496
67060746
AC
204972012-11-24 Adam Conrad <adconrad@0c3.net>
20498
20499 * configure.in: Autodetect C++ header directories.
20500 * configure: Regenerated.
20501
800938a1
MF
205022012-11-23 Mike Frysinger <vapier@gentoo.org>
20503
20504 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20505
4e6e34e6
AS
205062012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20507
20508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20509
7c7feb47
JM
205102012-11-22 Joseph Myers <joseph@codesourcery.com>
20511
7184dcdf
JM
20512 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20513 LDBL_MANT_DIG == 106]: Disable some tests.
20514 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20515 Likewise.
20516 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20517 Likewise.
20518
0a42601f
JM
20519 [BZ #14871]
20520 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20521 input for small inputs. Return +/- pi/2 for large inputs.
20522 * math/libm-test.inc (atan_test): Add more tests.
20523
79c9b9fe
JM
20524 * sysdeps/generic/unwind-dw2-fde-glibc.c
20525 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20526 __attribute__ ((unused)).
20527
c60d3bf2
JM
20528 [BZ #14645]
20529 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20530 x * y if x and y are nonzero and z is zero.
20531
ef1e0867
JM
20532 [BZ #14811]
20533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20534 nonzero exponents with absolute value below 0x1p-117 to +/-
20535 0x1p-117.
20536
1468ded3
JM
20537 [BZ #14869]
20538 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20539 up arguments below 2**-450, not just those below 2**-500.
20540 * math/libm-test.inc (hypot_test): Add another test.
20541
8e27e3cc
JM
20542 [BZ #14868]
20543 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20544 Return a+b for ratio over 2**120, not 2**60.
20545 * math/libm-test.inc (hypot_test): Add another test.
20546
c9c0279b
JM
20547 * math/libm-test.inc (clog_test): Use
20548 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20549 (clog10_test): Likewise.
20550
7c7feb47
JM
20551 [BZ #6778]
20552 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20553
fff1530e
AS
205542012-11-22 Andreas Schwab <schwab@suse.de>
20555
20556 * sysdeps/i386/fpu/libm-test-ulps: Update.
20557
94558d30
PT
205582012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20559
20560 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20561 printf output with newline.
20562
7e1be741
L
205632012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20564
6bfea974
L
20565 [BZ #14865]
20566 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20567 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20568 -z nodlopen, -z initfirst and -z execstack support.
20569 * configure: Regenerated.
20570
7e1be741
L
20571 * elf/elf.h (DF_1_NODIRECT): New macro.
20572 (DF_1_IGNMULDEF): Likewise.
20573 (DF_1_NOKSYMS): Likewise.
20574 (DF_1_NOHDR): Likewise.
20575 (DF_1_EDITED): Likewise.
20576 (DF_1_NORELOC): Likewise.
20577 (DF_1_SYMINTPOSE): Likewise.
20578 (DF_1_GLOBAUDIT): Likewise.
20579 (DF_1_SINGLETON): Likewise.
20580 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20581 DT_1_SUPPORTED_MASK bits.
20582 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20583
105ce2ce
CD
205842012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20585
20586 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20587
123be9de
TS
205882012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20589
d072f3f7
TS
20590 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20591 macro.
20592
123be9de
TS
20593 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20594 (sendmmsg): Move declarations...
20595 * socket/sys/socket.h: ... here.
20596 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20597 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20598 include it from...
20599 * socket/recvmmsg.c: ... this new file.
20600 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20601 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20602 definition of __sendmmsg hidden.
20603 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20604 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20605 Move ENOSYS stub into and include it from...
20606 * socket/sendmmsg.c: ... this new file.
20607 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20608 (sysdep_routines): Move recvmmsg and sendmmsg...
20609 * socket/Makefile (routines): ... here.
20610 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20611 (GLIBC_PRIVATE): Add __sendmmsg.
20612 * include/sys/socket.h (__sendmmsg): Add declarations.
20613 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20614 sendmmsg.
20615
cf9a5d18
JM
206162012-11-20 Joseph Myers <joseph@codesourcery.com>
20617
20618 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20619 variable I1 with __attribute__ ((unused)).
20620 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20621
ecd4caf9
JM
206222012-11-19 Joseph Myers <joseph@codesourcery.com>
20623
be14d48f
JM
20624 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20625 DUMMY variables with __attribute__ ((unused)).
20626
ecd4caf9
JM
20627 * bits/byteswap.h: Include <bits/types.h>.
20628 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20629
986cab95
PT
206302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20631
20632 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20633 string_t. Do not manually set errno.
20634 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20635 length with __strnlen. Make sure to both set errno and return it on
20636 failure.
20637
6d33cc9d
DM
206382012-11-19 David S. Miller <davem@davemloft.net>
20639
20640 With help from Joseph Myers.
20641 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20642 very large arguments properly.
20643 * math/libm-test.inc (atan_test): New tests.
20644 (atan2_test): New tests.
20645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20647
ee663277
JM
206482012-11-19 Joseph Myers <joseph@codesourcery.com>
20649
877f2d8e
JM
20650 [BZ #14856]
20651 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20652 Define to 3.
20653
116fc08a
JM
20654 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20655 [POSIX] (EADDRNOTAVAIL): Likewise.
20656 [POSIX] (EAFNOSUPPORT): Likewise.
20657 [POSIX] (EALREADY): Likewise.
20658 [POSIX] (ECONNABORTED): Likewise.
20659 [POSIX] (ECONNREFUSED): Likewise.
20660 [POSIX] (ECONNRESET): Likewise.
20661 [POSIX] (EDESTADDRREQ): Likewise.
20662 [POSIX] (EDQUOT): Likewise.
20663 [POSIX] (EHOSTUNREACH): Likewise.
20664 [POSIX] (EIDRM): Likewise.
20665 [POSIX] (EISCONN): Likewise.
20666 [POSIX] (ELOOP): Likewise.
20667 [POSIX] (EMULTIHOP): Likewise.
20668 [POSIX] (ENETDOWN): Likewise.
20669 [POSIX] (ENETUNREACH): Likewise.
20670 [POSIX] (ENOBUFS): Likewise.
20671 [POSIX] (ENODATA): Likewise.
20672 [POSIX] (ENOLINK): Likewise.
20673 [POSIX] (ENOMSG): Likewise.
20674 [POSIX] (ENOPROTOOPT): Likewise.
20675 [POSIX] (ENOSR): Likewise.
20676 [POSIX] (ENOSTR): Likewise.
20677 [POSIX] (ENOTCONN): Likewise.
20678 [POSIX] (ENOTSOCK): Likewise.
20679 [POSIX] (EOPNOTSUPP): Likewise.
20680 [POSIX] (EOVERFLOW): Likewise.
20681 [POSIX] (EPROTO): Likewise.
20682 [POSIX] (EPROTONOSUPPORT): Likewise.
20683 [POSIX] (EPROTOTYPE): Likewise.
20684 [POSIX] (ESTALE): Likewise.
20685 [POSIX] (ETIME): Likewise.
20686 [POSIX] (ETXTBSY): Likewise.
20687 [POSIX] (EWOULDBLOCK): Likewise.
20688 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20689 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20690 [POSIX] (SEEK_CUR): Likewise.
20691 [POSIX] (SEEK_END): Likewise.
20692 [POSIX || UNIX98] (mode_t): Do not require.
20693 [POSIX] (off_t): Likewise.
20694 [POSIX] (pid_t): Likewise.
20695 [POSIX] (sys/stat.h): Do not allow header.
20696 [POSIX] (unistd.h): Likewise.
20697 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20698 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20699 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20700 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20701 require.
20702 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20703 sigevent): Specify elements.
20704 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20705 entry.
20706 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20707 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20708
a483863f
JM
20709 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20710 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20711 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20712 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20713 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20714 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20715 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20716 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20717 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20718 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20719 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20720 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20721 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20722 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20723 Likewise.
20724 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20725 Likewise.
20726 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20727 Likewise.
20728 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20729 Likewise.
20730 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20731 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20732 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20733 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20734 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20735 Specify lower bound on value.
20736 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20737 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20739 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20740 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20742 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20743 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20744 value.
20745 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20746 as optional.
20747 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20748 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20749 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20750 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20751 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20753 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20759 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20760 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20761 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20762 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20763 entry.
20764 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20765 optional.
20766 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20767 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20768 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20769 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20770 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20771 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20772 Likewise.
20773 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20774 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20775 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20776 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20777 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20778 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20779 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20780 as optional.
20781 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20782 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20783 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20784 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20785 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20786 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20787 specify as optional.
20788 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20791 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20792 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20793 [XPG3] (NL_LANGMAX): Likewise.
20794 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20795 [POSIX || XPG3] (NL_NMAX): Likewise.
20796 [POSIX || XPG3] (NL_SETMAX): Likewise.
20797 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20798 [XPG3] (NZERO): Likewise.
20799 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20800 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20801 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20802 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20803 (REG_ERANGE): Expect.
20804 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20805 optional-constant.
20806 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20807 Use (void) in prototype.
20808 [POSIX] (*_t): Allow.
20809 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20810 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20811 (WRDE_BADVAL): Expect.
20812
5ba924e3
JM
20813 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20814 expect.
20815 [XPG3 || XPG4] (O_RSYNC): Likewise.
20816 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20817 Likewise.
20818 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20819 [XPG3 || XPG4] (sigqueue): Likewise.
20820 [XPG3 || XPG4] (sigtimedwait): Likewise.
20821 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20822 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20823 [XPG3 || XPG4] (vsnprintf): Likewise.
20824 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20825 Likewise.
20826 [XPG3 || XPG4] (blksize_t): Likewise.
20827 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20828 Likewise.
20829 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20830 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20831 [XPG3 || XPG4] (struct itimerspec): Likewise.
20832 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20833 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20834 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20835 [XPG3 || XPG4] (clockid_t): Likewise.
20836 [XPG3 || XPG4] (timer_t): Likewise.
20837 [XPG3 || XPG4] (clock_getres): Likewise.
20838 [XPG3 || XPG4] (clock_gettime): Likewise.
20839 [XPG3 || XPG4] (clock_settime): Likewise.
20840 [XPG3 || XPG4] (nanosleep): Likewise.
20841 [XPG3 || XPG4] (timer_create): Likewise.
20842 [XPG3 || XPG4] (timer_delete): Likewise.
20843 [XPG3 || XPG4] (timer_gettime): Likewise.
20844 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20845 [XPG3 || XPG4] (timer_settime): Likewise.
20846 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20847 [XPG3 || XPG4] (getlogin_r): Likewise.
20848 [XPG3 || XPG4] (pread): Likewise.
20849 [XPG3 || XPG4] (pthread_atfork): Likewise.
20850 [XPG3 || XPG4] (pwrite): Likewise.
20851
ee663277
JM
20852 [BZ #14835]
20853 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20854 <bits/siginfo.h>.
20855
942caa16
PT
208562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20857
e19af380
PT
20858 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20859 finalizing MALLSTREAM.
20860
942caa16
PT
20861 * sysdeps/mach/hurd/syncfs.c: New file.
20862
cfde9b46
SP
208632012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20864
20865 [BZ #14719]
20866 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20867 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20868 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20869 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20870 (_nss_dns_gethostbyname4_r): Likewise.
20871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20872 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20873
f6da27e5
PH
208742012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20875
20876 [BZ #13763]
20877 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20878
6665d4a2
SM
208792012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20880
1f51ee92
SM
20881 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20882 * elf/cache.c (print_entry): Print ",AArch64" for
20883 FLAG_AARCH64_LIB64
20884
6665d4a2
SM
20885 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20886 * elf/cache.c (print_entry): Print ",hard-float" for
20887 FLAG_ARM_LIBHF.
20888
05b227bd
DM
208892012-11-18 David S. Miller <davem@davemloft.net>
20890
20891 With help from Joseph Myers.
20892 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20893 cutoff to 2**-13.
20894 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20895 cutoff to 2**-25.
20896 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20897 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20898 small.
20899 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20900 * math/libm-test.inc (y0_test): New tests.
20901 (y1_test): New tests.
20902 * sysdeps/i386/fpu/libm-test-ulps: Update.
20903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20905
786b0b67
AS
209062012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20907
20908 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20909 64-bit targets.
20910 * configure: Regenerated.
20911
8e18b86d
DM
209122012-11-17 David S. Miller <davem@davemloft.net>
20913
20914 [BZ #14811]
20915 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20916 nonzero exponents with absolute value below 0x1p-128 to +/-
20917 0x1p-128.
20918
531f1ae0
JM
209192012-11-17 Joseph Myers <joseph@codesourcery.com>
20920
12df29e2
JM
20921 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20922
150dc1a0
JM
20923 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20924
531f1ae0
JM
20925 * posix/getconf-speclist.c: New file.
20926 * posix/posix-envs.def: Likewise.
20927 * posix/confstr.c (START_ENV_GROUP): New macro.
20928 (END_ENV_GROUP): Likewise.
20929 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20930 (KNOWN_PRESENT_ENV_STRING): Likewise.
20931 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20932 (UNKNOWN_ENVIRONMENT): Likewise.
20933 (confstr): Include posix-envs.def instead of handling
20934 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20935 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20936 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20937 (END_ENV_GROUP): Likewise.
20938 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20939 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20940 (UNKNOWN_ENVIRONMENT): Likewise.
20941 (__sysconf): Include posix-envs.def instead of handling associated
20942 cases directly here.
20943 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20944 preprocessing getconf-speclist.c rather than running getconf or
20945 generating empty file.
20946
a93f9cbc
PT
209472012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20948
20949 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20950
d64d9f87
AL
209512012-11-16 Andrej Lajovic <natrij@gmail.com>
20952
20953 [BZ #14672]
20954 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20955
447885eb
DM
209562012-11-16 David S. Miller <davem@davemloft.net>
20957
20958 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20959 smaller than LDBL_EPSILON/2.0L, just return xm1.
20960
bcbf9830
L
209612012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20962
20963 * elf/tst-array1.c (init): Set constructor priority to 1000.
20964 (fini): Set destructor priority to 1000.
20965 * elf/tst-array2dep.c: Likewise.
20966
2b766585
SP
209672012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20968
20969 [BZ #11741]
20970 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20971 (_IO_new_file_xsputn): Also return EOF if none of the input
20972 data was written when overflow failed.
20973 * libio/iopadn.c (_IO_padn): Likewise.
20974 * libio/iowpadn.c (_IO_wpadn): Likewise.
20975 * stdio-common/tst-put-error.c: Add copyright notice.
20976 (do_test): Add case for printing padded string.
20977 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20978 _IO_padn returned error.
20979 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20980 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20981 return EOF.
20982
b1848fde
SP
209832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20984
20985 * libio/libioP.h: Add comment note that the references to C++
20986 bits are now obsolete.
20987
2fd89785
MS
209882012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20989
20990 * math/libm-test.inc (check_complex): Use asprintf.
20991
e3ea5409
JM
209922012-11-14 Joseph Myers <joseph@codesourcery.com>
20993
20994 * debug/pcprofiledump.c (print_version): Update copyright year.
20995 * malloc/memusagestat.c (print_version): Likewise.
20996
2e64d265
L
209972012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20998
20999 [BZ #14831]
21000 * elf/Makefile (tests): Add tst-audit8.
21001 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21002 ($(objpfx)tst-audit8.out): New target.
21003 (tst-audit8-ENV): New variable.
21004 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21005 audit if l_reloc_result is NULL.
21006 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21007 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21008 * elf/tst-audit8.c: New file.
21009
c485e4d2
MS
210102012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21011
21012 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21013 * misc/Makefile (CFLAGS-select.c): Define.
21014 * posix/Makefile (CFLAGS-pause.c): Define.
21015
3a0d900a
DM
210162012-11-13 David S. Miller <davem@davemloft.net>
21017
21018 * crypt/Makefile: Move test targets after toplevel Rules
21019 inclusion. Grab any necessary sysdep routines when linking.
21020 * crypt/md5.c (md5_process_block): Remove define, we will always
21021 name it __md5_process_block.
21022 (md5_finish_ctx): Update md5_process_block call.
21023 (md5_stream): Likewise.
21024 (md5_process_bytes): Likewise.
21025 (md5_process_block): Rename to __md5_process_block and move to ...
21026 * crypt/md5-block.c: ... here.
21027 * crypt/sha256.c (sha256_process_block): Move to ...
21028 * crypt/sha256-block.c: ... here.
21029 * crypt/sha512.c (sha512_process_block): Move to ...
21030 * crypt/sha512-block.c: ... here.
21031 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21032 path.
21033 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21034 * sysdeps/sparc/sparc64/multiarch/Makefile
21035 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21036 crypt subdir.
21037 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21038 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21039 multiarch changes.
21040 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21041 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21042 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21043 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21044 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21045 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21046 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21047 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21048 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21049 file.
21050 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21051 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21052 file.
21053 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21054
8ca89318
JM
210552012-11-13 Joseph Myers <joseph@codesourcery.com>
21056
e27d476a
JM
21057 * timezone/tzselect.ksh: Update from tzcode git revision
21058 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21059 * timezone/zdump.c: Likewise.
21060 * timezone/zic.c: Likewise.
21061 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21062 in TZVERSION setting, not $(PKGVERSION).
21063 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21064 REPORT_BUGS_TO settings.
21065
8ca89318
JM
21066 [BZ #14838]
21067 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21068 macro.
21069
47594329
MS
210702012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21071
21072 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21073 detection to immediately after _FP_ROUND().
21074 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21075 bits are 0.
21076
640ac3f1
DM
210772012-11-11 David S. Miller <davem@davemloft.net>
21078
21079 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21080 inttypes.h
21081 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21082 __close rather than their public counterparts.
21083
3d2577bb
JM
210842012-11-10 Joseph Myers <joseph@codesourcery.com>
21085
21086 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21087 file.
21088 [UNIX98] (sem_timedwait): Do not expect.
21089 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21090 [XPG4 || UNIX98] (sockatmark): Do not expect.
21091 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21092 (clock_getcpuclockid): Do not expect.
21093 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21094 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21095 Do not expect.
21096 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21097 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21098 [UNIX98] (vwscanf): Likewise.
21099 [UNIX98] (vswscanf): Likewise.
21100
fb1ae1ee
JM
211012012-11-09 Joseph Myers <joseph@codesourcery.com>
21102
9ec6f8bd
JM
21103 * timezone/version.h: Remove file.
21104 * timezone/README: Do not refer to version.h.
21105 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21106 $(objpfx)version.h.
21107 ($(objpfx)zdump.o): Likewise.
c3f81911 21108 ($(objpfx)version.h): New target.
9ec6f8bd 21109
0aa8f8a1
JM
21110 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21111 2012i.
21112 * timezone/README: Don't mention modification to tzselect.ksh.
21113 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21114 work on unmodified tzselect.ksh. Substitute version numbers in
21115 tzselect.ksh.
21116
4e87147f
JM
21117 * Makefile (format-me): Remove.
21118 (INSTALL): Adjust indentation. Use commands directly instead of
21119 using $(format-me).
21120
8b748aed
JM
21121 * aclocal.m4 (ACX_PKGVERSION): New macro.
21122 (ACX_BUGURL): Likewise.
21123 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21124 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21125 (REPORT_BUGS_TO): Likewise.
21126 * configure: Regenerated.
21127 * config.h.in (PKGVERSION): New macro.
21128 (REPORT_BUGS_TO): Likewise.
21129 * config.make.in (PKGVERSION): New variable.
21130 (PKGVERSION_TEXI): Likewise.
21131 (REPORT_BUGS_TO): Likewise.
21132 (REPORT_BUGS_TEXI): Likewise.
21133 * Makefile (format-me): Use -I$(common-objpfx)manual.
21134 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21135 ($(common-objpfx)manual/%): New target.
21136 (manual/%): Remove target.
21137 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21138 (print_version): Use PKGVERSION.
21139 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21140 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21141 and REPORT_BUGS_TO.
21142 ($(objpfx)xtrace): Likewise.
21143 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21144 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21145 (print_version): Use PKGVERSION.
21146 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21147 (do_version): Use PKGVERSION.
21148 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21149 REPORT_BUGS_TO.
21150 (common-ldd-rewrite): Likewise.
21151 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21152 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21153 (print_version): Use PKGVERSION.
21154 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21155 * elf/pldd.c (argp_program_bug_address): Remove variable.
21156 (more_help): New function.
21157 (argp): Use more_help.
21158 (print_version): Use PKGVERSION.
21159 * elf/sln.c (main): Use PKGVERSION.
21160 (usage): Use REPORT_BUGS_TO.
21161 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21162 (top level): Use PKGVERSION.
21163 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21164 (print_version): Use PKGVERSION.
21165 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21166 (print_version): Use PKGVERSION.
21167 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21168 (print_version): Use PKGVERSION.
21169 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21170 (print_version): Use PKGVERSION.
21171 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21172 (print_version): Use PKGVERSION.
21173 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21174 (print_version): Use PKGVERSION.
21175 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21176 and BUGURL.
21177 ($(objpfx)memusage): Likewise.
21178 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21179 (do_version): Use PKGVERSION.
21180 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21181 (print_version): Use PKGVERSION.
21182 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21183 ($PKGVERSION): New variable.
21184 ($REPORT_BUGS_TO): Likewise.
21185 (usage): Use $REPORT_BUGS_TO.
21186 (top level): Use $PKGVERSION.
21187 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21188 ($(objpfx)pkgvers.texi): New rule.
21189 ($(objpfx)stamp-pkgvers): Likewise.
21190 * manual/install.texi: Include pkgvers.texi.
21191 (--with-pkgversion): Document new configure option.
21192 (--with-bugurl): Likewise.
21193 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21194 than necessarily for this particular distribution. Use
21195 REPORT_BUGS_TO for where to report bugs.
21196 * INSTALL: Regenerated.
21197 * manual/libc.texinfo: Include pkgvers.texi.
21198 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21199 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21200 (print_version): Use PKGVERSION.
21201 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21202 (print_version): Use PKGVERSION.
21203 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21204 (print_version): Use PKGVERSION.
21205 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21206 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21207 macro.
21208 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21209 (print_version): Use PKGVERSION.
21210 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21211 (print_version): Use PKGVERSION.
21212 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21213 and PKGVERSION.
21214
92e4b6a9
JM
21215 * timezone/checktab.awk: Update from tzcode 2012i.
21216 * timezone/ialloc.c: Likewise.
21217 * timezone/private.h: Likewise.
21218 * timezone/scheck.c: Likewise.
21219 * timezone/tzfile.h: Likewise.
21220 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21221 (TZVERSION): Hardcode tzcode version number.
21222 * timezone/zdump.c: Update from tzcode 2012i.
21223 * timezone/zic.c: Likewise.
21224 * timezone/version.h: New file.
21225 * timezone/README: Describe version.h. Update upstream location.
21226
9bde902c
JM
21227 [BZ #14824]
21228 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21229 (mktemp): Enable declaration.
21230 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21232 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21234 Likewise.
21235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21236 Likewise.
21237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21238 Likewise.
21239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21240 Likewise.
21241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21242 Likewise.
21243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21244 Likewise.
21245
fb1ae1ee
JM
21246 [BZ #14821]
21247 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21248 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21249 for copies of such integer values.
21250 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21251 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21252
2c1adbcb
AJ
212532012-11-09 Andreas Jaeger <aj@suse.de>
21254
21255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21256 definitions and declarations that are provided by
21257 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21258
d0f8457e
AK
212592012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21260
3a235abb 21261 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21262 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21263 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21264 definition.
21265
57241e26
MS
212662012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21267
21268 * elf/elf.h: Update comment before AArch64 relocations.
21269
60e8270d
DM
212702012-11-07 David S. Miller <davem@davemloft.net>
21271
21272 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21273 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21274 (__start_context): Declare.
21275 (__makecontext_ret): Delete.
21276 (__makecontext): Hook up __start_context instead of
21277 __makecontext_ret.
21278 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21279 (sysdep_routines): Add __start_context when in stdlib.
21280
0fbb0fbc
JM
212812012-11-07 Joseph Myers <joseph@codesourcery.com>
21282
21283 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21284 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21285 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21286 hardcoded "nm".
21287 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21288 (READELF): New variable. Use it instead of hardcoded "readelf".
21289
eb48db7e
L
212902012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21291
21292 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21293 * sysdeps/x86/Makefile: Here.
21294 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21295 * sysdeps/x86/tst-xmmymm.sh: This.
21296
05bcf62a
JM
212972012-11-07 Joseph Myers <joseph@codesourcery.com>
21298
c4b6cf53
JM
21299 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21300 expectations.
21301 [UNIX98] (pthread_barrier_t): Do not expect.
21302 [UNIX98] (pthread_barrierattr_t): Likewise.
21303 [UNIX98] (pthread_spinlock_t): Likewise.
21304 [UNIX98] (pthread_barrier_destroy): Likewise.
21305 [UNIX98] (pthread_barrier_init): Likewise.
21306 [UNIX98] (pthread_barrier_wait): Likewise.
21307 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21308 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21309 [UNIX98] (pthread_barrierattr_init): Likewise.
21310 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21311 [UNIX98] (pthread_getcpuclockid): Likewise.
21312 [UNIX98] (pthread_mutex_timedlock): Likewise.
21313 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21314 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21315 [UNIX98] (pthread_sigmask): Likewise.
21316 [UNIX98] (pthread_spin_destroy): Likewise.
21317 [UNIX98] (pthread_spin_init): Likewise.
21318 [UNIX98] (pthread_spin_lock): Likewise.
21319 [UNIX98] (pthread_spin_trylock): Likewise.
21320 [UNIX98] (pthread_spin_unlock): Likewise.
21321 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21322 Do not expect.
21323 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21324 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21325 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21326 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21327 [XPG3 || XPG4] (pthread_key_t): Likewise.
21328 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21329 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21330 [XPG3 || XPG4] (pthread_once_t): Likewise.
21331 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21332 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21333 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21334 [XPG3 || XPG4] (pthread_t): Likewise.
21335
cbe6e120
JM
21336 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21337 not expect.
21338 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21339
1b126443
JM
21340 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21341 Change function return type to int.
21342
b961a573
JM
21343 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21344 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21345 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21346 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21347 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21348 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21349 [!POSIX] (posix_madvise): Likewise.
21350 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21351 && !UNIX98].
21352 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21353 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21354 (mode_t): Likewise.
21355 (posix_mem_offset): Likewise.
21356 (posix_typed_mem_get_info): Likewise.
21357 (posix_typed_mem_open): Likewise.
21358
9e188909
JM
21359 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21360 Change condition to [XOPEN2K8].
21361
05bcf62a
JM
21362 * conform/conformtest.pl: Preprocess allow-header data with -x c
21363 instead of from stdin.
21364 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21365 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21366 [C99-based standards] (cerfc): Likewise.
21367 [C99-based standards] (cexp2): Likewise.
21368 [C99-based standards] (cexpm1): Likewise.
21369 [C99-based standards] (clog10): Likewise.
21370 [C99-based standards] (clog1p): Likewise.
21371 [C99-based standards] (clog2): Likewise.
21372 [C99-based standards] (clgamma): Likewise.
21373 [C99-based standards] (ctgamma): Likewise.
21374 [C99-based standards] (cerff): Likewise.
21375 [C99-based standards] (cerfcf): Likewise.
21376 [C99-based standards] (cexp2f): Likewise.
21377 [C99-based standards] (cexpm1f): Likewise.
21378 [C99-based standards] (clog10f): Likewise.
21379 [C99-based standards] (clog1pf): Likewise.
21380 [C99-based standards] (clog2f): Likewise.
21381 [C99-based standards] (clgammaf): Likewise.
21382 [C99-based standards] (ctgammaf): Likewise.
21383 [C99-based standards] (cerfl): Likewise.
21384 [C99-based standards] (cerfcl): Likewise.
21385 [C99-based standards] (cexp2l): Likewise.
21386 [C99-based standards] (cexpm1l): Likewise.
21387 [C99-based standards] (clog10l): Likewise.
21388 [C99-based standards] (clog1pl): Likewise.
21389 [C99-based standards] (clog2l): Likewise.
21390 [C99-based standards] (clgammal): Likewise.
21391 [C99-based standards] (ctgammal): Likewise.
21392 * conform/data/inttypes.h-data [C99-based standards]: Include
21393 stdint.h-data. Remove all expectations for stdint.h contents.
21394 [C99-based standards] (PRI*): Do not allow.
21395 [C99-based standards] (SCN*): Likewise.
21396 [C99-based standards] (*_t): Likewise.
21397 [C99-based-standards] (PRId8): Expect macro.
21398 [C99-based-standards] (PRIi8): Likewise.
21399 [C99-based-standards] (PRIo8): Likewise.
21400 [C99-based-standards] (PRIu8): Likewise.
21401 [C99-based-standards] (PRIx8): Likewise.
21402 [C99-based-standards] (PRIX8): Likewise.
21403 [C99-based-standards] (SCNd8): Likewise.
21404 [C99-based-standards] (SCNi8): Likewise.
21405 [C99-based-standards] (SCNo8): Likewise.
21406 [C99-based-standards] (SCNu8): Likewise.
21407 [C99-based-standards] (SCNx8): Likewise.
21408 [C99-based-standards] (PRIdLEAST8): Likewise.
21409 [C99-based-standards] (PRIiLEAST8): Likewise.
21410 [C99-based-standards] (PRIoLEAST8): Likewise.
21411 [C99-based-standards] (PRIuLEAST8): Likewise.
21412 [C99-based-standards] (PRIxLEAST8): Likewise.
21413 [C99-based-standards] (PRIXLEAST8): Likewise.
21414 [C99-based-standards] (SCNdLEAST8): Likewise.
21415 [C99-based-standards] (SCNiLEAST8): Likewise.
21416 [C99-based-standards] (SCNoLEAST8): Likewise.
21417 [C99-based-standards] (SCNuLEAST8): Likewise.
21418 [C99-based-standards] (SCNxLEAST8): Likewise.
21419 [C99-based-standards] (PRIdFAST8): Likewise.
21420 [C99-based-standards] (PRIiFAST8): Likewise.
21421 [C99-based-standards] (PRIoFAST8): Likewise.
21422 [C99-based-standards] (PRIuFAST8): Likewise.
21423 [C99-based-standards] (PRIxFAST8): Likewise.
21424 [C99-based-standards] (PRIXFAST8): Likewise.
21425 [C99-based-standards] (SCNdFAST8): Likewise.
21426 [C99-based-standards] (SCNiFAST8): Likewise.
21427 [C99-based-standards] (SCNoFAST8): Likewise.
21428 [C99-based-standards] (SCNuFAST8): Likewise.
21429 [C99-based-standards] (SCNxFAST8): Likewise.
21430 [C99-based-standards] (PRId16): Likewise.
21431 [C99-based-standards] (PRIi16): Likewise.
21432 [C99-based-standards] (PRIo16): Likewise.
21433 [C99-based-standards] (PRIu16): Likewise.
21434 [C99-based-standards] (PRIx16): Likewise.
21435 [C99-based-standards] (PRIX16): Likewise.
21436 [C99-based-standards] (SCNd16): Likewise.
21437 [C99-based-standards] (SCNi16): Likewise.
21438 [C99-based-standards] (SCNo16): Likewise.
21439 [C99-based-standards] (SCNu16): Likewise.
21440 [C99-based-standards] (SCNx16): Likewise.
21441 [C99-based-standards] (PRIdLEAST16): Likewise.
21442 [C99-based-standards] (PRIiLEAST16): Likewise.
21443 [C99-based-standards] (PRIoLEAST16): Likewise.
21444 [C99-based-standards] (PRIuLEAST16): Likewise.
21445 [C99-based-standards] (PRIxLEAST16): Likewise.
21446 [C99-based-standards] (PRIXLEAST16): Likewise.
21447 [C99-based-standards] (SCNdLEAST16): Likewise.
21448 [C99-based-standards] (SCNiLEAST16): Likewise.
21449 [C99-based-standards] (SCNoLEAST16): Likewise.
21450 [C99-based-standards] (SCNuLEAST16): Likewise.
21451 [C99-based-standards] (SCNxLEAST16): Likewise.
21452 [C99-based-standards] (PRIdFAST16): Likewise.
21453 [C99-based-standards] (PRIiFAST16): Likewise.
21454 [C99-based-standards] (PRIoFAST16): Likewise.
21455 [C99-based-standards] (PRIuFAST16): Likewise.
21456 [C99-based-standards] (PRIxFAST16): Likewise.
21457 [C99-based-standards] (PRIXFAST16): Likewise.
21458 [C99-based-standards] (SCNdFAST16): Likewise.
21459 [C99-based-standards] (SCNiFAST16): Likewise.
21460 [C99-based-standards] (SCNoFAST16): Likewise.
21461 [C99-based-standards] (SCNuFAST16): Likewise.
21462 [C99-based-standards] (SCNxFAST16): Likewise.
21463 [C99-based-standards] (PRId32): Likewise.
21464 [C99-based-standards] (PRIi32): Likewise.
21465 [C99-based-standards] (PRIo32): Likewise.
21466 [C99-based-standards] (PRIu32): Likewise.
21467 [C99-based-standards] (PRIx32): Likewise.
21468 [C99-based-standards] (PRIX32): Likewise.
21469 [C99-based-standards] (SCNd32): Likewise.
21470 [C99-based-standards] (SCNi32): Likewise.
21471 [C99-based-standards] (SCNo32): Likewise.
21472 [C99-based-standards] (SCNu32): Likewise.
21473 [C99-based-standards] (SCNx32): Likewise.
21474 [C99-based-standards] (PRIdLEAST32): Likewise.
21475 [C99-based-standards] (PRIiLEAST32): Likewise.
21476 [C99-based-standards] (PRIoLEAST32): Likewise.
21477 [C99-based-standards] (PRIuLEAST32): Likewise.
21478 [C99-based-standards] (PRIxLEAST32): Likewise.
21479 [C99-based-standards] (PRIXLEAST32): Likewise.
21480 [C99-based-standards] (SCNdLEAST32): Likewise.
21481 [C99-based-standards] (SCNiLEAST32): Likewise.
21482 [C99-based-standards] (SCNoLEAST32): Likewise.
21483 [C99-based-standards] (SCNuLEAST32): Likewise.
21484 [C99-based-standards] (SCNxLEAST32): Likewise.
21485 [C99-based-standards] (PRIdFAST32): Likewise.
21486 [C99-based-standards] (PRIiFAST32): Likewise.
21487 [C99-based-standards] (PRIoFAST32): Likewise.
21488 [C99-based-standards] (PRIuFAST32): Likewise.
21489 [C99-based-standards] (PRIxFAST32): Likewise.
21490 [C99-based-standards] (PRIXFAST32): Likewise.
21491 [C99-based-standards] (SCNdFAST32): Likewise.
21492 [C99-based-standards] (SCNiFAST32): Likewise.
21493 [C99-based-standards] (SCNoFAST32): Likewise.
21494 [C99-based-standards] (SCNuFAST32): Likewise.
21495 [C99-based-standards] (SCNxFAST32): Likewise.
21496 [C99-based-standards] (PRId64): Likewise.
21497 [C99-based-standards] (PRIi64): Likewise.
21498 [C99-based-standards] (PRIo64): Likewise.
21499 [C99-based-standards] (PRIu64): Likewise.
21500 [C99-based-standards] (PRIx64): Likewise.
21501 [C99-based-standards] (PRIX64): Likewise.
21502 [C99-based-standards] (SCNd64): Likewise.
21503 [C99-based-standards] (SCNi64): Likewise.
21504 [C99-based-standards] (SCNo64): Likewise.
21505 [C99-based-standards] (SCNu64): Likewise.
21506 [C99-based-standards] (SCNx64): Likewise.
21507 [C99-based-standards] (PRIdLEAST64): Likewise.
21508 [C99-based-standards] (PRIiLEAST64): Likewise.
21509 [C99-based-standards] (PRIoLEAST64): Likewise.
21510 [C99-based-standards] (PRIuLEAST64): Likewise.
21511 [C99-based-standards] (PRIxLEAST64): Likewise.
21512 [C99-based-standards] (PRIXLEAST64): Likewise.
21513 [C99-based-standards] (SCNdLEAST64): Likewise.
21514 [C99-based-standards] (SCNiLEAST64): Likewise.
21515 [C99-based-standards] (SCNoLEAST64): Likewise.
21516 [C99-based-standards] (SCNuLEAST64): Likewise.
21517 [C99-based-standards] (SCNxLEAST64): Likewise.
21518 [C99-based-standards] (PRIdFAST64): Likewise.
21519 [C99-based-standards] (PRIiFAST64): Likewise.
21520 [C99-based-standards] (PRIoFAST64): Likewise.
21521 [C99-based-standards] (PRIuFAST64): Likewise.
21522 [C99-based-standards] (PRIxFAST64): Likewise.
21523 [C99-based-standards] (PRIXFAST64): Likewise.
21524 [C99-based-standards] (SCNdFAST64): Likewise.
21525 [C99-based-standards] (SCNiFAST64): Likewise.
21526 [C99-based-standards] (SCNoFAST64): Likewise.
21527 [C99-based-standards] (SCNuFAST64): Likewise.
21528 [C99-based-standards] (SCNxFAST64): Likewise.
21529 [C99-based-standards] (PRIdMAX): Likewise.
21530 [C99-based-standards] (PRIiMAX): Likewise.
21531 [C99-based-standards] (PRIoMAX): Likewise.
21532 [C99-based-standards] (PRIuMAX): Likewise.
21533 [C99-based-standards] (PRIxMAX): Likewise.
21534 [C99-based-standards] (PRIXMAX): Likewise.
21535 [C99-based-standards] (SCNdMAX): Likewise.
21536 [C99-based-standards] (SCNiMAX): Likewise.
21537 [C99-based-standards] (SCNoMAX): Likewise.
21538 [C99-based-standards] (SCNuMAX): Likewise.
21539 [C99-based-standards] (SCNxMAX): Likewise.
21540 [C99-based-standards] (PRIdPTR): Likewise.
21541 [C99-based-standards] (PRIiPTR): Likewise.
21542 [C99-based-standards] (PRIoPTR): Likewise.
21543 [C99-based-standards] (PRIuPTR): Likewise.
21544 [C99-based-standards] (PRIxPTR): Likewise.
21545 [C99-based-standards] (PRIXPTR): Likewise.
21546 [C99-based-standards] (SCNdPTR): Likewise.
21547 [C99-based-standards] (SCNiPTR): Likewise.
21548 [C99-based-standards] (SCNoPTR): Likewise.
21549 [C99-based-standards] (SCNuPTR): Likewise.
21550 [C99-based-standards] (SCNxPTR): Likewise.
21551 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21552 allow.
21553 * conform/data/stdint.h-data: Update comments to clarify
21554 requirements.
21555 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21556 type.
21557 [C99-based standards] (INT8_MAX): Likewise.
21558 [C99-based standards] (INT16_MIN): Likewise.
21559 [C99-based standards] (INT16_MAX): Likewise.
21560 [C99-based standards] (INT32_MIN): Likewise.
21561 [C99-based standards] (INT32_MAX): Likewise.
21562 [C99-based standards] (INT64_MIN): Likewise.
21563 [C99-based standards] (INT64_MAX): Likewise.
21564 [C99-based standards] (UINT8_MAX): Likewise.
21565 [C99-based standards] (UINT16_MAX): Likewise.
21566 [C99-based standards] (UINT32_MAX): Likewise.
21567 [C99-based standards] (UINT64_MAX): Likewise.
21568 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21569 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21570 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21571 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21572 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21573 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21574 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21575 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21576 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21577 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21578 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21579 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21580 [C99-based standards] (INT_FAST8_MIN): Likewise.
21581 [C99-based standards] (INT_FAST8_MAX): Likewise.
21582 [C99-based standards] (INT_FAST16_MIN): Likewise.
21583 [C99-based standards] (INT_FAST16_MAX): Likewise.
21584 [C99-based standards] (INT_FAST32_MIN): Likewise.
21585 [C99-based standards] (INT_FAST32_MAX): Likewise.
21586 [C99-based standards] (INT_FAST64_MIN): Likewise.
21587 [C99-based standards] (INT_FAST64_MAX): Likewise.
21588 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21589 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21590 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21591 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21592 [C99-based standards] (INTPTR_MIN): Likewise.
21593 [C99-based standards] (INTPTR_MAX): Likewise.
21594 [C99-based standards] (UINTPTR_MAX): Likewise.
21595 [C99-based standards] (INTMAX_MIN): Likewise.
21596 [C99-based standards] (INTMAX_MAX): Likewise.
21597 [C99-based standards] (UINTMAX_MAX): Likewise.
21598 [C99-based standards] (PTRDIFF_MIN): Likewise.
21599 [C99-based standards] (PTRDIFF_MAX): Likewise.
21600 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21601 [C99-based standards] (SIZE_MAX): Likewise.
21602 [C99-based standards] (WCHAR_MAX): Likewise.
21603 [C99-based standards] (WINT_MAX): Likewise.
21604 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21605 constraint on value.
21606 [C99-based standards] (WCHAR_MIN): Likewise.
21607 [C99-based standards] (WINT_MIN): Likewise.
21608 [C99-based standards] (*_t): Allow.
21609 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21610 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21611 Include math.h-data and complex.h-data. Remove all expectations
21612 of math.h and complex.h contents.
21613 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21614 at end of line.
21615 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21616 (struct tm): Expect tag.
21617 [C99-based-standards] (wcstof): Expect function.
21618 [C99-based-standards] (wcstold): Likewise.
21619 [C99-based-standards] (wcstoll): Likewise.
21620 [C99-based-standards] (wcstoull): Likewise.
21621 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21622 macro-int-constant. Specify type.
21623 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21624 constraint on value.
21625 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21626 Specify type.
21627 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21628 Specify value.
21629 [ISO C standards]: Do not allow headers.
21630 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21631 wcs[abcdefghijklmnopqrstuvwxyz]*.
21632 [ISO C standards] (*_t): Do not allow.
21633 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21634 Expect function.
21635 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21636 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21637 Specify type.
21638 [ISO C standards]: Do not allow headers.
21639 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21640 is[abcdefghijklmnopqrstuvwxyz]*.
21641 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21642 to[abcdefghijklmnopqrstuvwxyz]*.
21643 [ISO C standards] (*_t): Do not allow.
21644 * conform/data/stdalign.h-data: New file.
21645 * conform/data/stdbool.h-data: Likewise.
21646 * conform/data/stdnoreturn.h-data: Likewise.
21647
7514feb8
RM
216482012-11-07 Roland McGrath <roland@hack.frob.com>
21649
21650 [BZ #14815]
21651 * manual/filesys.texi (Directory Entries): Typo fix.
21652 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21653
19b2ecfc
MS
216542012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21655
21656 * elf/elf.h (EM_AARCH64): New macro.
21657 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21658 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21659 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21660 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21661 (R_AARCH64_TLSDESC): Likewise.
21662 (NT_ARM_TLS): Likewise.
21663 (NT_ARM_HW_BREAK): Likewise.
21664 (NT_ARM_HW_WATCH): Likewise.
21665
60e235ee
JM
216662012-11-07 Joseph Myers <joseph@codesourcery.com>
21667
21668 [BZ #14811]
21669 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21670 (__ieee754_powl): Saturate nonzero exponents with absolute value
21671 below 0x1p-79 to +/- 0x1p-79.
21672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21673 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21674 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21675 nonzero exponents with absolute value below 0x1p-32 to +/-
21676 0x1p-32.
21677 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21678 (__ieee754_powl): Saturate nonzero exponents with absolute value
21679 below 0x1p-79 to +/- 0x1p-79.
21680 * math/libm-test.inc (pow_test): Add more tests.
21681
0ab234b7
AK
216822012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21683
21684 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21685 _dl_s390_cap_flags with kernel. Increase string length.
21686 (_dl_s390_platforms): Add z196 and zEC12.
21687
45832f74
JM
216882012-11-07 Joseph Myers <joseph@codesourcery.com>
21689
21690 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21691 Change XOPEN21K to XOPEN2K.
21692
19218757
MK
216932012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21694
21695 * string/memmove.c: Use memcpy when possible.
21696
c5f45721
AJ
216972012-11-06 Andreas Jaeger <aj@suse.de>
21698
21699 * po/eo.po: Update from translation team.
21700
82477c28
JM
217012012-11-06 Joseph Myers <joseph@codesourcery.com>
21702
21703 [BZ #14793]
21704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21705 exponent and small x and y exponents, scale x or y up. Increase
21706 by 2 the exponent used in scaling up.
21707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21709 * math/libm-test.inc (fma_test): Add more tests.
21710 (fma_test_towardzero): Likewise.
21711 (fma_test_downward): Likewise.
21712 (fma_test_upward): Likewise.
21713
99252c8c
JM
217142012-11-05 Joseph Myers <joseph@codesourcery.com>
21715
acfa885f
JM
21716 [BZ #14805]
21717 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21718 fenv_t *.
21719
99252c8c
JM
21720 [BZ #14801]
21721 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21722 namespace for names of struct fields.
21723 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21724 fenv_t fields.
21725 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21726 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21727
d6d98dea
ST
217282012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21729
21730 [BZ #3665]
21731 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21732
e10bb107
TS
217332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21734
21735 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21736 PTR_DEMANGLE.
21737
21738 [BZ #5246]
21739 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21740 PTR_DEMANGLE.
21741
a0c2940d
JM
217422012-11-04 Joseph Myers <joseph@codesourcery.com>
21743
21744 [BZ #14797]
21745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21746 definitely overflow as x * y not x * y + z.
21747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21749 * math/libm-test.inc (fma_test): Add more tests.
21750 (fma_test_towardzero): Likewise.
21751 (fma_test_downward): Likewise.
21752 (fma_test_upward): Likewise.
21753
b830319d
TS
217542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21755
21756 [BZ #157]
21757
21758 * include/stub-tag.h: Remove file.
21759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21760 '#include' of it.
21761 * manual/maint.texi (Porting): Don't reference it.
21762 * Makerules ($(objpfx)stubs): Likewise.
21763 * dirent/closedir.c: Don't include <stub-tag.h>.
21764 * dirent/dirfd.c: Likewise.
21765 * dirent/fdopendir.c: Likewise.
21766 * dirent/getdents.c: Likewise.
21767 * dirent/getdents64.c: Likewise.
21768 * dirent/opendir.c: Likewise.
21769 * dirent/readdir.c: Likewise.
21770 * dirent/readdir64.c: Likewise.
21771 * dirent/readdir64_r.c: Likewise.
21772 * dirent/readdir_r.c: Likewise.
21773 * dirent/rewinddir.c: Likewise.
21774 * dirent/seekdir.c: Likewise.
21775 * dirent/telldir.c: Likewise.
21776 * gmon/profil.c: Likewise.
21777 * grp/setgroups.c: Likewise.
21778 * inet/if_index.c: Likewise.
21779 * io/access.c: Likewise.
21780 * io/chdir.c: Likewise.
21781 * io/chmod.c: Likewise.
21782 * io/chown.c: Likewise.
21783 * io/close.c: Likewise.
21784 * io/dup.c: Likewise.
21785 * io/dup2.c: Likewise.
21786 * io/dup3.c: Likewise.
21787 * io/euidaccess.c: Likewise.
21788 * io/faccessat.c: Likewise.
21789 * io/fchdir.c: Likewise.
21790 * io/fchmod.c: Likewise.
21791 * io/fchmodat.c: Likewise.
21792 * io/fchown.c: Likewise.
21793 * io/fchownat.c: Likewise.
21794 * io/fcntl.c: Likewise.
21795 * io/flock.c: Likewise.
21796 * io/fstatfs.c: Likewise.
21797 * io/fstatfs64.c: Likewise.
21798 * io/fstatvfs.c: Likewise.
21799 * io/fstatvfs64.c: Likewise.
21800 * io/futimens.c: Likewise.
21801 * io/fxstat.c: Likewise.
21802 * io/fxstat64.c: Likewise.
21803 * io/fxstatat.c: Likewise.
21804 * io/fxstatat64.c: Likewise.
21805 * io/getcwd.c: Likewise.
21806 * io/isatty.c: Likewise.
21807 * io/lchmod.c: Likewise.
21808 * io/lchown.c: Likewise.
21809 * io/link.c: Likewise.
21810 * io/linkat.c: Likewise.
21811 * io/lseek.c: Likewise.
21812 * io/lseek64.c: Likewise.
21813 * io/lxstat64.c: Likewise.
21814 * io/mkdir.c: Likewise.
21815 * io/mkdirat.c: Likewise.
21816 * io/mkfifo.c: Likewise.
21817 * io/mkfifoat.c: Likewise.
21818 * io/open.c: Likewise.
21819 * io/open64.c: Likewise.
21820 * io/openat.c: Likewise.
21821 * io/openat64.c: Likewise.
21822 * io/pipe.c: Likewise.
21823 * io/pipe2.c: Likewise.
21824 * io/poll.c: Likewise.
21825 * io/posix_fadvise.c: Likewise.
21826 * io/posix_fadvise64.c: Likewise.
21827 * io/posix_fallocate.c: Likewise.
21828 * io/posix_fallocate64.c: Likewise.
21829 * io/read.c: Likewise.
21830 * io/readlink.c: Likewise.
21831 * io/readlinkat.c: Likewise.
21832 * io/rmdir.c: Likewise.
21833 * io/sendfile.c: Likewise.
21834 * io/sendfile64.c: Likewise.
21835 * io/statfs.c: Likewise.
21836 * io/statfs64.c: Likewise.
21837 * io/statvfs.c: Likewise.
21838 * io/statvfs64.c: Likewise.
21839 * io/symlink.c: Likewise.
21840 * io/symlinkat.c: Likewise.
21841 * io/ttyname.c: Likewise.
21842 * io/ttyname_r.c: Likewise.
21843 * io/umask.c: Likewise.
21844 * io/unlink.c: Likewise.
21845 * io/unlinkat.c: Likewise.
21846 * io/utime.c: Likewise.
21847 * io/utimensat.c: Likewise.
21848 * io/write.c: Likewise.
21849 * io/xmknod.c: Likewise.
21850 * io/xmknodat.c: Likewise.
21851 * io/xstat.c: Likewise.
21852 * io/xstat64.c: Likewise.
21853 * login/getpt.c: Likewise.
21854 * login/grantpt.c: Likewise.
21855 * login/unlockpt.c: Likewise.
21856 * math/e_acoshl.c: Likewise.
21857 * math/e_acosl.c: Likewise.
21858 * math/e_asinl.c: Likewise.
21859 * math/e_atan2l.c: Likewise.
21860 * math/e_atanhl.c: Likewise.
21861 * math/e_coshl.c: Likewise.
21862 * math/e_expl.c: Likewise.
21863 * math/e_fmodl.c: Likewise.
21864 * math/e_gammal_r.c: Likewise.
21865 * math/e_hypotl.c: Likewise.
21866 * math/e_j0l.c: Likewise.
21867 * math/e_j1l.c: Likewise.
21868 * math/e_jnl.c: Likewise.
21869 * math/e_lgammal_r.c: Likewise.
21870 * math/e_log10l.c: Likewise.
21871 * math/e_log2l.c: Likewise.
21872 * math/e_logl.c: Likewise.
21873 * math/e_powl.c: Likewise.
21874 * math/e_rem_pio2l.c: Likewise.
21875 * math/e_sinhl.c: Likewise.
21876 * math/e_sqrtl.c: Likewise.
21877 * math/fclrexcpt.c: Likewise.
21878 * math/fedisblxcpt.c: Likewise.
21879 * math/feenablxcpt.c: Likewise.
21880 * math/fegetenv.c: Likewise.
21881 * math/fegetexcept.c: Likewise.
21882 * math/fegetround.c: Likewise.
21883 * math/feholdexcpt.c: Likewise.
21884 * math/fesetenv.c: Likewise.
21885 * math/fesetround.c: Likewise.
21886 * math/feupdateenv.c: Likewise.
21887 * math/fgetexcptflg.c: Likewise.
21888 * math/fraiseexcpt.c: Likewise.
21889 * math/fsetexcptflg.c: Likewise.
21890 * math/ftestexcept.c: Likewise.
21891 * math/k_cosl.c: Likewise.
21892 * math/k_rem_pio2l.c: Likewise.
21893 * math/k_sinl.c: Likewise.
21894 * math/k_tanl.c: Likewise.
21895 * math/s_asinhl.c: Likewise.
21896 * math/s_atanl.c: Likewise.
21897 * math/s_cbrtl.c: Likewise.
21898 * math/s_erfl.c: Likewise.
21899 * math/s_expm1l.c: Likewise.
21900 * math/s_log1pl.c: Likewise.
21901 * math/s_tanhl.c: Likewise.
21902 * misc/acct.c: Likewise.
21903 * misc/brk.c: Likewise.
21904 * misc/chflags.c: Likewise.
21905 * misc/chroot.c: Likewise.
21906 * misc/fchflags.c: Likewise.
21907 * misc/fgetxattr.c: Likewise.
21908 * misc/flistxattr.c: Likewise.
21909 * misc/fremovexattr.c: Likewise.
21910 * misc/fsetxattr.c: Likewise.
21911 * misc/fsync.c: Likewise.
21912 * misc/ftruncate.c: Likewise.
21913 * misc/futimes.c: Likewise.
21914 * misc/futimesat.c: Likewise.
21915 * misc/getdomain.c: Likewise.
21916 * misc/getdtsz.c: Likewise.
21917 * misc/gethostid.c: Likewise.
21918 * misc/gethostname.c: Likewise.
21919 * misc/getloadavg.c: Likewise.
21920 * misc/getpagesize.c: Likewise.
21921 * misc/getsysstats.c: Likewise.
21922 * misc/getxattr.c: Likewise.
21923 * misc/gtty.c: Likewise.
21924 * misc/ioctl.c: Likewise.
21925 * misc/lgetxattr.c: Likewise.
21926 * misc/listxattr.c: Likewise.
21927 * misc/llistxattr.c: Likewise.
21928 * misc/lremovexattr.c: Likewise.
21929 * misc/lsetxattr.c: Likewise.
21930 * misc/lutimes.c: Likewise.
21931 * misc/madvise.c: Likewise.
21932 * misc/mincore.c: Likewise.
21933 * misc/mlock.c: Likewise.
21934 * misc/mlockall.c: Likewise.
21935 * misc/mmap.c: Likewise.
21936 * misc/mprotect.c: Likewise.
21937 * misc/msync.c: Likewise.
21938 * misc/munlock.c: Likewise.
21939 * misc/munlockall.c: Likewise.
21940 * misc/munmap.c: Likewise.
21941 * misc/preadv.c: Likewise.
21942 * misc/preadv64.c: Likewise.
21943 * misc/ptrace.c: Likewise.
21944 * misc/pwritev.c: Likewise.
21945 * misc/pwritev64.c: Likewise.
21946 * misc/readv.c: Likewise.
21947 * misc/reboot.c: Likewise.
21948 * misc/remap_file_pages.c: Likewise.
21949 * misc/removexattr.c: Likewise.
21950 * misc/revoke.c: Likewise.
21951 * misc/select.c: Likewise.
21952 * misc/setdomain.c: Likewise.
21953 * misc/setegid.c: Likewise.
21954 * misc/seteuid.c: Likewise.
21955 * misc/sethostid.c: Likewise.
21956 * misc/sethostname.c: Likewise.
21957 * misc/setregid.c: Likewise.
21958 * misc/setreuid.c: Likewise.
21959 * misc/setxattr.c: Likewise.
21960 * misc/sstk.c: Likewise.
21961 * misc/stty.c: Likewise.
21962 * misc/swapoff.c: Likewise.
21963 * misc/swapon.c: Likewise.
21964 * misc/sync.c: Likewise.
21965 * misc/syncfs.c: Likewise.
21966 * misc/syscall.c: Likewise.
21967 * misc/truncate.c: Likewise.
21968 * misc/ualarm.c: Likewise.
21969 * misc/usleep.c: Likewise.
21970 * misc/ustat.c: Likewise.
21971 * misc/utimes.c: Likewise.
21972 * misc/vhangup.c: Likewise.
21973 * misc/writev.c: Likewise.
21974 * posix/_exit.c: Likewise.
21975 * posix/alarm.c: Likewise.
21976 * posix/execve.c: Likewise.
21977 * posix/fexecve.c: Likewise.
21978 * posix/fork.c: Likewise.
21979 * posix/fpathconf.c: Likewise.
21980 * posix/getaddrinfo.c: Likewise.
21981 * posix/getegid.c: Likewise.
21982 * posix/geteuid.c: Likewise.
21983 * posix/getgid.c: Likewise.
21984 * posix/getgroups.c: Likewise.
21985 * posix/getlogin.c: Likewise.
21986 * posix/getlogin_r.c: Likewise.
21987 * posix/getpgid.c: Likewise.
21988 * posix/getpid.c: Likewise.
21989 * posix/getppid.c: Likewise.
21990 * posix/getresgid.c: Likewise.
21991 * posix/getresuid.c: Likewise.
21992 * posix/getsid.c: Likewise.
21993 * posix/getuid.c: Likewise.
21994 * posix/glob64.c: Likewise.
21995 * posix/nanosleep.c: Likewise.
21996 * posix/pathconf.c: Likewise.
21997 * posix/pause.c: Likewise.
21998 * posix/posix_madvise.c: Likewise.
21999 * posix/pread.c: Likewise.
22000 * posix/pread64.c: Likewise.
22001 * posix/pwrite.c: Likewise.
22002 * posix/pwrite64.c: Likewise.
22003 * posix/sched_getaffinity.c: Likewise.
22004 * posix/sched_getp.c: Likewise.
22005 * posix/sched_gets.c: Likewise.
22006 * posix/sched_primax.c: Likewise.
22007 * posix/sched_primin.c: Likewise.
22008 * posix/sched_rr_gi.c: Likewise.
22009 * posix/sched_setaffinity.c: Likewise.
22010 * posix/sched_setp.c: Likewise.
22011 * posix/sched_sets.c: Likewise.
22012 * posix/sched_yield.c: Likewise.
22013 * posix/setgid.c: Likewise.
22014 * posix/setlogin.c: Likewise.
22015 * posix/setpgid.c: Likewise.
22016 * posix/setresgid.c: Likewise.
22017 * posix/setresuid.c: Likewise.
22018 * posix/setsid.c: Likewise.
22019 * posix/setuid.c: Likewise.
22020 * posix/sleep.c: Likewise.
22021 * posix/spawni.c: Likewise.
22022 * posix/sysconf.c: Likewise.
22023 * posix/times.c: Likewise.
22024 * posix/wait.c: Likewise.
22025 * posix/wait3.c: Likewise.
22026 * posix/wait4.c: Likewise.
22027 * posix/waitpid.c: Likewise.
22028 * resolv/gai_sigqueue.c: Likewise.
22029 * resource/getpriority.c: Likewise.
22030 * resource/getrlimit.c: Likewise.
22031 * resource/getrusage.c: Likewise.
22032 * resource/nice.c: Likewise.
22033 * resource/setpriority.c: Likewise.
22034 * resource/setrlimit.c: Likewise.
22035 * resource/ulimit.c: Likewise.
22036 * rt/aio_cancel.c: Likewise.
22037 * rt/aio_fsync.c: Likewise.
22038 * rt/aio_read.c: Likewise.
22039 * rt/aio_sigqueue.c: Likewise.
22040 * rt/aio_suspend.c: Likewise.
22041 * rt/aio_write.c: Likewise.
22042 * rt/clock_getres.c: Likewise.
22043 * rt/clock_gettime.c: Likewise.
22044 * rt/clock_nanosleep.c: Likewise.
22045 * rt/clock_settime.c: Likewise.
22046 * rt/lio_listio.c: Likewise.
22047 * rt/mq_close.c: Likewise.
22048 * rt/mq_getattr.c: Likewise.
22049 * rt/mq_notify.c: Likewise.
22050 * rt/mq_open.c: Likewise.
22051 * rt/mq_receive.c: Likewise.
22052 * rt/mq_send.c: Likewise.
22053 * rt/mq_setattr.c: Likewise.
22054 * rt/mq_timedreceive.c: Likewise.
22055 * rt/mq_timedsend.c: Likewise.
22056 * rt/mq_unlink.c: Likewise.
22057 * rt/shm_open.c: Likewise.
22058 * rt/shm_unlink.c: Likewise.
22059 * rt/timer_create.c: Likewise.
22060 * rt/timer_delete.c: Likewise.
22061 * rt/timer_getoverr.c: Likewise.
22062 * rt/timer_gettime.c: Likewise.
22063 * rt/timer_settime.c: Likewise.
22064 * setjmp/__longjmp.c: Likewise.
22065 * setjmp/setjmp.c: Likewise.
22066 * signal/kill.c: Likewise.
22067 * signal/killpg.c: Likewise.
22068 * signal/raise.c: Likewise.
22069 * signal/sigaction.c: Likewise.
22070 * signal/sigaltstack.c: Likewise.
22071 * signal/sigblock.c: Likewise.
22072 * signal/sigignore.c: Likewise.
22073 * signal/sigintr.c: Likewise.
22074 * signal/signal.c: Likewise.
22075 * signal/sigpause.c: Likewise.
22076 * signal/sigpending.c: Likewise.
22077 * signal/sigqueue.c: Likewise.
22078 * signal/sigreturn.c: Likewise.
22079 * signal/sigset.c: Likewise.
22080 * signal/sigsetmask.c: Likewise.
22081 * signal/sigstack.c: Likewise.
22082 * signal/sigsuspend.c: Likewise.
22083 * signal/sigtimedwait.c: Likewise.
22084 * signal/sigvec.c: Likewise.
22085 * signal/sigwait.c: Likewise.
22086 * signal/sigwaitinfo.c: Likewise.
22087 * signal/sysv_signal.c: Likewise.
22088 * socket/accept.c: Likewise.
22089 * socket/accept4.c: Likewise.
22090 * socket/bind.c: Likewise.
22091 * socket/connect.c: Likewise.
22092 * socket/getpeername.c: Likewise.
22093 * socket/getsockname.c: Likewise.
22094 * socket/getsockopt.c: Likewise.
22095 * socket/isfdtype.c: Likewise.
22096 * socket/listen.c: Likewise.
22097 * socket/recv.c: Likewise.
22098 * socket/recvfrom.c: Likewise.
22099 * socket/recvmsg.c: Likewise.
22100 * socket/send.c: Likewise.
22101 * socket/sendmsg.c: Likewise.
22102 * socket/sendto.c: Likewise.
22103 * socket/setsockopt.c: Likewise.
22104 * socket/shutdown.c: Likewise.
22105 * socket/sockatmark.c: Likewise.
22106 * socket/socket.c: Likewise.
22107 * socket/socketpair.c: Likewise.
22108 * stdio-common/ctermid.c: Likewise.
22109 * stdio-common/cuserid.c: Likewise.
22110 * stdio-common/remove.c: Likewise.
22111 * stdio-common/rename.c: Likewise.
22112 * stdio-common/renameat.c: Likewise.
22113 * stdio-common/tempname.c: Likewise.
22114 * stdlib/getcontext.c: Likewise.
22115 * stdlib/makecontext.c: Likewise.
22116 * stdlib/setcontext.c: Likewise.
22117 * stdlib/swapcontext.c: Likewise.
22118 * stdlib/system.c: Likewise.
22119 * streams/fattach.c: Likewise.
22120 * streams/fdetach.c: Likewise.
22121 * streams/getmsg.c: Likewise.
22122 * streams/getpmsg.c: Likewise.
22123 * streams/putmsg.c: Likewise.
22124 * streams/putpmsg.c: Likewise.
22125 * sysdeps/unix/bsd/getpt.c: Likewise.
22126 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22127 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22128 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22130 Likewise.
22131 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22132 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22133 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22134 * sysvipc/msgctl.c: Likewise.
22135 * sysvipc/msgget.c: Likewise.
22136 * sysvipc/msgrcv.c: Likewise.
22137 * sysvipc/msgsnd.c: Likewise.
22138 * sysvipc/semctl.c: Likewise.
22139 * sysvipc/semget.c: Likewise.
22140 * sysvipc/semop.c: Likewise.
22141 * sysvipc/semtimedop.c: Likewise.
22142 * sysvipc/shmat.c: Likewise.
22143 * sysvipc/shmctl.c: Likewise.
22144 * sysvipc/shmdt.c: Likewise.
22145 * sysvipc/shmget.c: Likewise.
22146 * termios/tcdrain.c: Likewise.
22147 * termios/tcflow.c: Likewise.
22148 * termios/tcflush.c: Likewise.
22149 * termios/tcgetattr.c: Likewise.
22150 * termios/tcgetpgrp.c: Likewise.
22151 * termios/tcsendbrk.c: Likewise.
22152 * termios/tcsetattr.c: Likewise.
22153 * termios/tcsetpgrp.c: Likewise.
22154 * time/adjtime.c: Likewise.
22155 * time/clock.c: Likewise.
22156 * time/getitimer.c: Likewise.
22157 * time/gettimeofday.c: Likewise.
22158 * time/setitimer.c: Likewise.
22159 * time/settimeofday.c: Likewise.
22160 * time/stime.c: Likewise.
22161 * time/time.c: Likewise.
22162
221632012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22164
a20492cf
PT
22165 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22166 /usr/old/bin.
22167
72e182e3
PT
22168 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22169 instead of spaces.
22170 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22171
fbeafede
JM
221722012-11-03 Joseph Myers <joseph@codesourcery.com>
22173
5b5b04d6
JM
22174 [BZ #14796]
22175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22176 FE_TONEAREST before applying Dekker multiplication and Knuth
22177 addition. Clear inexact exceptions and check for exact zero
22178 results afterwards.
22179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22180 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22182 * math/libm-test.inc (fma_test): Add more tests.
22183 (fma_test_towardzero): Likewise.
22184 (fma_test_downward): Likewise.
22185 (fma_test_upward): Likewise.
22186 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22187 function.
22188 (libc_fesetround): New macro.
22189 (libc_fesetroundf): Likewise.
22190 (libc_fesetroundl): Likewise.
22191 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22192 function.
22193 (libc_fesetround_387): Likewise.
22194 (libc_fesetroundf): New macro.
22195 (libc_fesetround): Likewise.
22196 (libc_fesetroundl): Likewise.
22197 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22198 function.
22199 (libc_fesetroundf): New macro.
22200 (libc_fesetround): Likewise.
22201 (libc_fesetroundl): Likewise.
22202 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22203 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22204 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22205 libm_hidden_ver.
22206 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22207 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22208 libm_hidden_def.
22209 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22210 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22211 libm_hidden_ver.
22212 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22213 libm_hidden_def.
22214
fbeafede
JM
22215 [BZ #3439]
22216 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22217 integer constant usable in #if and use that to give value to enum
22218 constant.
22219 (FE_DIVBYZERO): Likewise.
22220 (FE_UNDERFLOW): Likewise.
22221 (FE_OVERFLOW): Likewise.
22222 (FE_INVALID): Likewise.
22223 (FE_INVALID_SNAN): Likewise.
22224 (FE_INVALID_ISI): Likewise.
22225 (FE_INVALID_IDI): Likewise.
22226 (FE_INVALID_ZDZ): Likewise.
22227 (FE_INVALID_IMZ): Likewise.
22228 (FE_INVALID_COMPARE): Likewise.
22229 (FE_INVALID_SOFTWARE): Likewise.
22230 (FE_INVALID_SQRT): Likewise.
22231 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22232 (FE_TONEAREST): Likewise.
22233 (FE_TOWARDZERO): Likewise.
22234 (FE_UPWARD): Likewise.
22235 (FE_DOWNWARD): Likewise.
22236 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22237 (FE_DIVBYZERO): Likewise.
22238 (FE_OVERFLOW): Likewise.
22239 (FE_UNDERFLOW): Likewise.
22240 (FE_INEXACT): Likewise.
22241 (FE_TONEAREST): Likewise.
22242 (FE_DOWNWARD): Likewise.
22243 (FE_UPWARD): Likewise.
22244 (FE_TOWARDZERO): Likewise.
22245 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22246 (FE_UNDERFLOW): Likewise.
22247 (FE_OVERFLOW): Likewise.
22248 (FE_DIVBYZERO): Likewise.
22249 (FE_INVALID): Likewise.
22250 (FE_TONEAREST): Likewise.
22251 (FE_TOWARDZERO): Likewise.
22252 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22253 (FE_OVERFLOW): Likewise.
22254 (FE_UNDERFLOW): Likewise.
22255 (FE_DIVBYZERO): Likewise.
22256 (FE_INEXACT): Likewise.
22257 (FE_TONEAREST): Likewise.
22258 (FE_TOWARDZERO): Likewise.
22259 (FE_UPWARD): Likewise.
22260 (FE_DOWNWARD): Likewise.
22261 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22262 (FE_DIVBYZERO): Likewise.
22263 (FE_OVERFLOW): Likewise.
22264 (FE_UNDERFLOW): Likewise.
22265 (FE_INEXACT): Likewise.
22266 (FE_TONEAREST): Likewise.
22267 (FE_DOWNWARD): Likewise.
22268 (FE_UPWARD): Likewise.
22269 (FE_TOWARDZERO): Likewise.
22270
105ca950
CM
222712012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22272
22273 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22274
a542b389
AS
222752012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22276
22277 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22278 commands. Quote $PWD.
22279 (blacklist_exports): Don't use remove_newlines. Replace "declare
22280 -x" by "export".
22281 (remove_newlines): Remove.
22282
f62c8abc
L
222832012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22284
22285 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22286 * stdlib/stdlib.h (atof): Moved to ...
22287 * include/bits/stdlib-float.h: Here. New file.
22288 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22289 * stdlib/bits/stdlib-float.h: New file.
22290 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22291 -mno-sse -mno-mmx.
22292 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22293 <xmmintrin.h>.
22294
0155d5b2
JM
222952012-11-02 Joseph Myers <joseph@codesourcery.com>
22296
a68d0680
JM
22297 * conform/conformtest.pl (@headers): Add fenv.h.
22298 * conform/data/fenv.h-data: New file.
22299 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22300 include of <math/fenv.h>.
22301
caf7f573
JM
22302 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22303 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22304 && !UNIX98]. Enables tests for XOPEN2K8.
22305 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22306 POSIX2008]: Likewise.
22307
6c073ad6
JM
22308 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22309 (struct rusage): Do not expect type or its members.
22310
0155d5b2
JM
22311 [BZ #3439]
22312 * math/math.h (FP_NAN): Define macro to integer constant usable in
22313 #if and use that to give value to enum constant.
22314 (FP_INFINITE): Likewise.
22315 (FP_ZERO): Likewise.
22316 (FP_SUBNORMAL): Likewise.
22317 (FP_NORMAL): Likewise.
22318
b5dcacb4
AS
223192012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22320
22321 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22322 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22323 arguments.
22324
f7934be8
RM
223252012-11-02 Roland McGrath <roland@hack.frob.com>
22326
22327 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22328 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22329 autoconf-time if not.
22330 * configure.in: Remove AC_PREREQ.
22331
d7d08bde
TMQMF
223322012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22333
22334 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22335 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22336 of the internal implementation.
22337
dcdae19a
JM
223382012-11-02 Joseph Myers <joseph@codesourcery.com>
22339
22340 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22341 except include of <misc/sys/syslog.h>.
22342
d6cffd3e
AS
223432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22344
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22346 function returns with a NULL context exit with zero.
22347
b3563932
TMQMF
223482012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22349
22350 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22351
b288a93d
L
223522012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22353
22354 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22355 (run_program_cmd): This.
22356 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22357 (tst_langinfo): New variable. Use it.
22358
a2421a68
SAS
223592012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22360
22361 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22362 floating point opcodes.
22363
6f796e1b
TS
223642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22365
7402596b
TS
22366 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22367 variable.
22368
d0d4f868
TS
22369 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22370
6f796e1b
TS
22371 * sysdeps/mach/hurd/powerpc: Remove directory.
22372 * sysdeps/mach/powerpc: Likewise.
22373
4da224a2
AS
223742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22375
22376 * scripts/check-local-headers.sh: Ignore c++ headers.
22377
341dd673
TS
223782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22379
22380 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22381 __libc_cleanup_region_start argument.
22382
473611b2
JM
223832012-11-01 Joseph Myers <joseph@codesourcery.com>
22384
22385 [BZ #14784]
22386 [BZ #14785]
22387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22388 x * y using scaling, not as x * y + z.
22389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22391 * math/libm-test.inc (fma_test): Add more tests.
22392 (fma_test_towardzero): Likewise.
22393 (fma_test_downward): Likewise.
22394 (fma_test_upward): Likewise.
22395
4078da3d
TS
223962012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22397
22398 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22399
903252aa
JM
224002012-10-31 Joseph Myers <joseph@codesourcery.com>
22401
22402 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22403 New variable.
22404
cbc818d0
TS
224052012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22406
22407 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22408
5a03cb1e
AS
224092012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22410
22411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22412 Fix sort order.
22413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22414 Likewise.
22415
90aff2ff
TMQMF
224162012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22417
22418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22419 Fix the order of the list for glibc 2.17.
22420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22421 Likewise.
22422
1818fcb7
AS
224232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22424
22425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22426
ef82f4da
JM
224272012-10-31 Joseph Myers <joseph@codesourcery.com>
22428
16a0e2ec
JM
22429 [BZ #14610]
22430 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22431 for low part of x being zero before using __atanl (y).
22432 * math/libm-test.inc (atan2_test): Add another test.
22433
0eb69512
JM
22434 * manual/install.texi (Configuring and compiling): Document
22435 general use of test-wrapper and test-wrapper-env.
22436 * INSTALL: Regenerated.
22437
ef82f4da
JM
22438 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22439 (__fma): Do not extract and scale down low bits on after-rounding
22440 systems when result rounded to normal precision would have normal
22441 exponent.
22442 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22443 (__fmal): Do not extract and scale down low bits on after-rounding
22444 systems when result rounded to normal precision would have normal
22445 exponent.
22446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22447 (__fmal): Do not extract and scale down low bits on after-rounding
22448 systems when result rounded to normal precision would have normal
22449 exponent.
22450 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22451 macro.
22452 (fma_test): Add more tests.
22453 (fma_test_towardzero): Likewise.
22454 (fma_test_downward): Likewise.
22455 (fma_test_upward): Likewise.
22456
954ef0d9
L
224572012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22458
22459 * sysdeps/i386/tininess.h: Renamed to ...
22460 * sysdeps/x86/tininess.h: This.
22461 * sysdeps/x86_64/tininess.h: Removed.
22462
df61ffb2
JM
224632012-10-30 Joseph Myers <joseph@codesourcery.com>
22464
22465 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22466 input. Use $(build-program-cmd).
22467 ($(objpfx)tst-array1-static.out): Likewise.
22468 ($(objpfx)tst-array2.out): Likewise.
22469 ($(objpfx)tst-array3.out): Likewise.
22470 ($(objpfx)tst-array4.out): Likewise.
22471 ($(objpfx)tst-array5.out): Likewise.
22472 ($(objpfx)tst-array5-static.out): Likewise.
22473
01767843
CM
224742012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22475
47cc1490
CM
22476 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22477 if defined.
22478
01767843
CM
22479 * nss/nsswitch.h (nss_interface_function): Provide new
22480 macro for use with NSS functions.
22481 * grp/initgroups.c: Use new macro.
22482 * nss/getXXbyYY.c: Likewise.
22483 * nss/getXXbyYY_r.c: Likewise.
22484 * nss/getXXent.c: Likewise.
22485 * nss/getXXent_r.c: Likewise.
22486 * sysdeps/posix/getaddrinfo.c: Likewise.
22487
8321aa97
AJ
224882012-10-30 Andreas Jaeger <aj@suse.de>
22489
22490 * po/ru.po: Update Russion translation from translation project.
22491
2a27fd6d
JM
224922012-10-30 Joseph Myers <joseph@codesourcery.com>
22493
8627a232
JM
22494 [BZ #14152]
22495 [BZ #14783]
22496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22497 result and shift together with sticky bit instead of replicating
22498 round-to-nearest rounding.
22499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22501 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22502 missing underflow exceptions.
22503 (fma_test_towardzero): Add more tests.
22504 (fma_test_downward): Likewise.
22505 (fma_test_upward): Likewise.
22506
2a27fd6d
JM
22507 [BZ #14047]
22508 * sysdeps/generic/tininess.h: New file.
22509 * sysdeps/i386/tininess.h: Likewise.
22510 * sysdeps/sh/tininess.h: Likewise.
22511 * sysdeps/x86_64/tininess.h: Likewise.
22512 * stdlib/tst-strtod-underflow.c: Likewise.
22513 * stdlib/tst-tininess.c: Likewise.
22514 * stdlib/strtod_l.c: Include <tininess.h>.
22515 (round_and_return): Do not set errno for exact underflow cases.
22516 Force an underflow exception when setting errno for underflow.
22517 Determine underflow based on rounding to normal precision if
22518 TININESS_AFTER_ROUNDING.
22519 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22520 ERANGE for exact underflow cases.
22521 * stdlib/Makefile (tests): Add tst-tininess and
22522 tst-strtod-underflow.
22523 ($(objpfx)tst-tininess): Use $(link-libm).
22524 ($(objpfx)tst-strtod-underflow): Likewise.
22525
e7170363
AJ
225262012-10-30 Andreas Jaeger <aj@suse.de>
22527
e5088dc6
AJ
22528 [BZ#14767]
22529 * elf/Makefile (tests): Remove conditional for have-initfini-array
22530 since this is now always required and the variable does not exist
22531 anymore.
22532 (tests-static): Likewise.
22533 (modules-names): Likewise.
22534
e7170363 22535 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22536
22537 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22538 merged with constructor/destructor.
22539 (init_array): Likewise.
22540 * elf/tst-array2dep.c (fini_array): Likewise.
22541 (init_array): Likewise.
22542
60457d8a
MF
225432012-10-29 Mike Frysinger <vapier@gentoo.org>
22544
22545 * manual/message.texi: Delete @cartouche tags.
22546
8bece752
PT
225472012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22548
94ce799f
PT
22549 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22550 EOPNOTSUPP.
22551 * sysdeps/mach/hurd/fsync.c: Likewise.
22552
8bece752
PT
22553 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22554 [_POSIX_REALTIME_SIGNALS]: Change condition to
22555 [_POSIX_REALTIME_SIGNALS > 0].
22556
86ebe6b1
AJ
225572012-10-27 Andreas Jaeger <aj@suse.de>
22558
22559 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22560 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22562 [__WORDSIZE != 64]: Likewise.
22563
54399c08
L
225642012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22565
22566 * iconvdata/tst-table.sh: Remove ${SHELL}.
22567 * iconvdata/tst-tables.sh: Likewise.
22568
e2211bed
DM
225692012-10-25 David S. Miller <davem@davemloft.net>
22570
22571 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22572 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22573 of strtoull.
22574
f303f97c
DM
22575 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22576 ifunc-impl-list.c
22577 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22578 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22579 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22580 file.
22581
1e9d84cd
RM
225822012-10-25 Roland McGrath <roland@hack.frob.com>
22583
22584 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22585 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22586 __getdirentries.
22587
df381762
JM
225882012-10-25 Joseph Myers <joseph@codesourcery.com>
22589 Jim Blandy <jimb@codesourcery.com>
22590
22591 * scripts/cross-test-ssh.sh: New file.
22592 * manual/install.texi (Configuring and compiling): Document use of
22593 cross-test-ssh.sh.
22594 * INSTALL: Regenerated.
22595
bff64913
PT
225962012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22597
22598 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22599 EOPNOTSUPP.
22600
25fe8932
JM
226012012-10-25 Joseph Myers <joseph@codesourcery.com>
22602
22603 * Makeconfig (run-program-prefix): Fix comment.
22604
cc1290d0
JM
226052012-10-24 Joseph Myers <joseph@codesourcery.com>
22606 Jim Blandy <jimb@codesourcery.com>
22607
22608 * Makeconfig (test-wrapper): New variable,
22609 (test-wrapper-env): Likewise.
22610 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22611 (run-built-tests): Define to yes.
22612 (run-program-prefix): Use $(test-wrapper).
22613 (built-program-cmd): Likewise.
22614 * Rules (make-test-out): Use $(test-wrapper-env) and
22615 $(host-built-program-cmd).
22616 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22617 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22618 tst-pathopt.sh.
22619 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22620 $(test-wrapper-env) to tst-rtld-load-self.sh.
22621 ($(objpfx)order2.out): Use $(test-wrapper).
22622 ($(objpfx)tst-initorder.out): Likewise.
22623 ($(objpfx)tst-initorder2.out): Likewise.
22624 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22625 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22626 (test_wrapper_env): New variable. Use it to run ld.so.
22627 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22628 Use it to run ld.so.
22629 (test_wrapper_env): Likewise.
22630 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22631 $(test-wrapper) to run-iconv-test.sh.
22632 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22633 (ICONV): Use $test_wrapper.
22634 * posix/Makefile ($(objpfx)globtest.out): Pass
22635 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22636 globtest.sh, not $(run-program-prefix).
22637 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22638 (test_wrapper): Likewise.
22639 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22640 set together with run_via_rtld_prefix.
22641 (run_program_prefix): Define in terms of test_wrapper and
22642 run_via_rtld_prefix.
22643
6e6249d0
RM
226442012-10-24 Roland McGrath <roland@hack.frob.com>
22645
22646 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22647 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22648 Targets removed.
22649
22650 [BZ #14743]
22651 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22652 Declare __clock_getres, __clock_gettime, __clock_settime,
22653 __clock_nanosleep, and __clock_getcpuclockid.
22654 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22655 Remove librt_hidden_def (clock_gettime).
22656 * sysdeps/unix/clock_gettime.c: Likewise.
22657 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22658 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22659 * rt/clock_getres.c: Define __clock_getres as an alias.
22660 * sysdeps/posix/clock_getres.c: Likewise.
22661 * rt/clock_settime.c: Define __clock_settime as an alias.
22662 * sysdeps/unix/clock_settime.c: Likewise.
22663 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22664 * sysdeps/unix/clock_nanosleep.c: Likewise.
22665 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22666 * rt/clock-compat.c: New file.
22667 * rt/Makefile (librt-routines): Add clock-compat and move
22668 $(clock-routines) to ...
22669 (routines): ... here, new variable.
22670 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22671 Don't add get_clockfreq here.
22672 * rt/Versions (libc: GLIBC_2.17): New version set.
22673 Add clock_* symbols here.
22674 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22675 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22676 (GLIBC_2.17): Add clock_* symbols.
22677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22681 Likewise.
22682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22683 Likewise.
22684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22688 * NEWS: Mention the move.
22689
22690 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22691 Use __open, __read, __close rather than their public counterparts.
22692 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22693 (__get_clockfreq_via_cpuinfo): Likewise.
22694 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22695 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22696
22697 * config.h.in (HAVE_IFUNC): New #undef.
22698 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22699 was successful.
22700 * configure: Regenerated.
22701
0cae3f4b
MF
227022012-10-24 Mike Frysinger <vapier@gentoo.org>
22703
22704 * configure.in: Move READELF check to start of file.
22705 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22706 libc_cv_asm_gnu_indirect_function in the process.
22707 * configure: Regenerated.
22708
8175a253
MF
227092012-10-24 Mike Frysinger <vapier@gentoo.org>
22710
22711 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22712 send the output to /dev/null.
22713 (libc_cv_cc_with_libunwind): Likewise.
22714 (libc_cv_as_noexecstack): Likewise.
22715 * configure: Regenerate.
22716
0708a7d1
JM
227172012-10-24 Joseph Myers <joseph@codesourcery.com>
22718
10b40d85
JM
22719 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22720
0708a7d1
JM
22721 * posix/globtest.sh (TMPDIR): Do not set.
22722 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22723 (testout): Likewise.
22724
9fddec1a
AJ
227252012-10-24 Andreas Jaeger <aj@suse.de>
22726
3a8db22f
AJ
22727 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22728 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22729 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22730 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22731 posix_fadvise64, posix_fallocate64.
22732
9fddec1a
AJ
22733 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22734 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22735 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22736 Likewise.
22737 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22738 Likewise.
22739 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22740
22741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22742 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22743 <bits/fcntl-linux.h>.
22744 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22745
22746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22747 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22748 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22749 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22750 [__WORDSIZE != 64]: Likewise.
22751
ebfd1bbd
JM
227522012-10-23 Joseph Myers <joseph@codesourcery.com>
22753
03ac099f
JM
22754 * Makeconfig (run-built-tests): New variable.
22755 * Rules [$(cross-compiling) = yes]: Change condition to
22756 [$(run-built-tests) = no].
22757 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22758 to [$(run-built-tests) = yes].
22759 * elf/Makefile [$(cross-compiling) = no]: Likewise
22760 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22761 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22762 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22763 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22764 * io/Makefile [$(cross-compiling) = no]: Likewise.
22765 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22766 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22767 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22768 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22769 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22770 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22771 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22772 * string/Makefile [$(cross-compiling) = no]: Likewise.
22773
ebfd1bbd
JM
22774 * posix/Makefile ($(objpfx)globtest.out): Pass
22775 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22776 $(rtld-installed-name).
22777 * posix/globtest.sh (elf_objpfx): Remove variable.
22778 (rtld_installed_name): Likewise.
22779 (library_path): Likewise.
22780 (run_program_prefix): New variable. Use for running globtest
22781 binary.
22782
166bca24
JB
227832012-10-23 Jim Blandy <jimb@codesourcery.com>
22784 Joseph Myers <joseph@codesourcery.com>
22785
22786 * Makeconfig (host-built-program-cmd): New variable.
22787 * elf/Makefile (tst-stackguard1-ARGS): Use
22788 $(host-built-program-cmd).
22789 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22790 (tst-spawn-ARGS): Likewise.
22791 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22792
88866099
JM
227932012-10-23 Joseph Myers <joseph@codesourcery.com>
22794 Jim Blandy <jimb@codesourcery.com>
22795
22796 * Makeconfig (run-via-rtld-prefix): New variable.
22797 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22798 (built-program-cmd): Likewise.
22799
b4b4c296
AJ
228002012-10-22 Andreas Jaeger <aj@suse.de>
22801
22802 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22803 __O_RSYNC if it exists, otherwise to O_SYNC.
22804
6fb54a22
JB
228052012-10-22 Jim Blandy <jimb@codesourcery.com>
22806 Joseph Myers <joseph@codesourcery.com>
22807
22808 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22809 /dev/null.
22810 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22811 from /dev/null
22812 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22813 /dev/null.
22814
481b90b9
AJ
228152012-10-22 Andreas Jaeger <aj@suse.de>
22816
2a0e2669
AJ
22817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22818 Define always.
22819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22820
76e38f9a
AJ
22821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22822 bits/fcntl-linux.h.
22823
7cd37b43
AJ
22824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22825 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22826
481b90b9
AJ
22827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22828 to __O_LARGEFILE.
22829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22830 to __O_LARGEFILE.
22831
aba75984
JB
228322012-10-21 Jim Blandy <jimb@codesourcery.com>
22833 Joseph Myers <joseph@codesourcery.com>
22834
22835 * config.make.in (NM): New variable.
22836
88d4247f
AJ
228372012-10-21 Andreas Jaeger <aj@suse.de>
22838
22839 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22840 definitions and declarations that are provided by
22841 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22842
f2eed205
L
228432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22844
22845 [BZ #14683]
22846 * elf/Makefile (tests-static): Add tst-leaks1-static.
22847 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22848 ($(objpfx)tst-leaks1-static): New rule.
22849 ($(objpfx)tst-leaks1-static-mem): Likewise.
22850 (tst-leaks1-static-ENV): New macro.
22851 * elf/dl-open.c (dl_open_worker): Check the main application
22852 only if SHARED is defined.
22853 * elf/tst-leaks1-static.c: New file.
22854
335e6931
AJ
228552012-10-20 Andreas Jaeger <aj@suse.de>
22856
22857 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22858 generic values for Linux.
22859 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22860 and declarations that are provided by <bits/fcntl-linux.h> and
22861 include <bits/fcntl-linux.h>.
22862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22864
ac5c94d3
RM
228652012-10-20 Roland McGrath <roland@hack.frob.com>
22866
22867 * io/fcntl.h: Move include of <bits/types.h> to the top and
22868 include it unconditionally.
22869
de54b33a
L
228702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22871
228cfb01
L
22872 * wcsmbs/Makefile (tests-ifunc): New variable.
22873 (tests): Add $(tests-ifunc).
22874 * wcsmbs/test-wcschr-ifunc.c: New file.
22875 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22876 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22877 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22878 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22879 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22880
69f07e5f
L
22881 * string/Makefile (tests-ifunc): New variable.
22882 (tests): Add $(tests-ifunc).
22883 * string/test-memccpy.c (TEST_NAME): New macro.
22884 * string/test-memchr.c (TEST_NAME): Likewise.
22885 * string/test-memcmp.c (TEST_NAME): Likewise.
22886 * string/test-memcpy.c (TEST_NAME): Likewise.
22887 * string/test-memmem.c (TEST_NAME): Likewise.
22888 * string/test-memmove.c (TEST_NAME): Likewise.
22889 * string/test-memset.c (TEST_NAME): Likewise.
22890 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22891 * string/test-stpcpy.c (TEST_NAME): Likewise.
22892 * string/test-stpncpy.c (TEST_NAME): Likewise.
22893 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22894 * string/test-strcasestr.c (TEST_NAME): Likewise.
22895 * string/test-strcat.c (TEST_NAME): Likewise.
22896 * string/test-strchr.c (TEST_NAME): Likewise.
22897 * string/test-strcmp.c(TEST_NAME): Likewise.
22898 * string/test-strcpy.c (TEST_NAME): Likewise.
22899 * string/test-strcspn.c (TEST_NAME): Likewise.
22900 * string/test-strlen.c (TEST_NAME): Likewise.
22901 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22902 * string/test-strncmp.c (TEST_NAME): Likewise.
22903 * string/test-strncpy.c (TEST_NAME): Likewise.
22904 * string/test-strnlen.c (TEST_NAME): Likewise.
22905 * string/test-strpbrk.c (TEST_NAME): Likewise.
22906 * string/test-strrchr.c (TEST_NAME): Likewise.
22907 * string/test-strspn.c (TEST_NAME): Likewise.
22908 * string/test-strstr.c (TEST_NAME): Likewise.
22909 * string/test-bcopy-ifunc.c: New file.
22910 * string/test-bzero-ifunc.c: Likewise.
22911 * string/test-memccpy-ifunc.c: Likewise.
22912 * string/test-memchr-ifunc.c: Likewise.
22913 * string/test-memcmp-ifunc.c: Likewise.
22914 * string/test-memcpy-ifunc.c: Likewise.
22915 * string/test-memmem-ifunc.c: Likewise.
22916 * string/test-memmove-ifunc.c: Likewise.
22917 * string/test-mempcpy-ifunc.c: Likewise.
22918 * string/test-memset-ifunc.c: Likewise.
22919 * string/test-rawmemchr-ifunc.c: Likewise.
22920 * string/test-stpcpy-ifunc.c: Likewise.
22921 * string/test-stpncpy-ifunc.c: Likewise.
22922 * string/test-strcasecmp-ifunc.c: Likewise.
22923 * string/test-strcasestr-ifunc.c: Likewise.
22924 * string/test-strcat-ifunc.c: Likewise.
22925 * string/test-strchr-ifunc.c: Likewise.
22926 * string/test-strchrnul-ifunc.c: Likewise.
22927 * string/test-strcmp-ifunc.c: Likewise.
22928 * string/test-strcpy-ifunc.c: Likewise.
22929 * string/test-strcspn-ifunc.c: Likewise.
22930 * string/test-strlen-ifunc.c: Likewise.
22931 * string/test-strncasecmp-ifunc.c: Likewise.
22932 * string/test-strncat-ifunc.c: Likewise.
22933 * string/test-strncmp-ifunc.c: Likewise.
22934 * string/test-strncpy-ifunc.c: Likewise.
22935 * string/test-strnlen-ifunc.c: Likewise.
22936 * string/test-strpbrk-ifunc.c: Likewise.
22937 * string/test-strrchr-ifunc.c: Likewise.
22938 * string/test-strspn-ifunc.c: Likewise.
22939 * string/test-strstr-ifunc.c: Likewise.
22940
de54b33a
L
22941 * debug/Makefile (tests-ifunc): New variable.
22942 (tests): Add $(tests-ifunc).
22943 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22944 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22945 * debug/test-stpcpy_chk-ifunc.c: New file.
22946 * debug/test-strcpy_chk-ifunc.c: Likewise.
22947
88481c16
SP
229482012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22949
22950 [BZ #13601]
22951 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22952 header is not read in.
22953
135948bd
JM
229542012-10-19 Joseph Myers <joseph@codesourcery.com>
22955
89f1c388
JM
22956 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22957 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22958 directly. Pass built executable to script as
22959 $(built-program-cmd).
22960 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22961 $testprogram without using LD_LIBRARY_PATH and $ldso.
22962
e40a0d21
JM
22963 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22964 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22965 $(rtld-installed-name).
22966 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22967 (rtld_installed_name): Likewise.
22968 (library_path): Likewise.
22969 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22970 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22971 $(run-program-prefix) to tst-tables.sh.
22972 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22973 it to run tst-table-from and tst-table-to.
22974 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22975 Pass it to tst-table.sh.
22976 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22977 $(run-program-prefix) to tst-gettext.sh.
22978 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22979 tst-translit.sh.
22980 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22981 tst-gettext2.sh.
22982 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22983 to run tst-gettext.
22984 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22985 to run tst-gettext2.
22986 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22987 to run tst-translit.
22988 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22989 $(run-program-prefix) to tst-mtrace.sh.
22990 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22991 to run tst-mtrace.
22992 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22993 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22994 $(rtld-installed-name).
22995 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22996 (rtld_installed_name): Likewise.
22997 (run_program_prefix): New variable. Use it to run wordexp-test.
22998
728e272a
JM
22999 * Makeconfig (ARCH): Remove all definitions.
23000 (machine): Likewise.
23001 [ARCH]: Remove conditional code.
23002 [!objdir]: Give error.
23003 [!objdir] (objpfx): Remove.
23004 [!objdir] (common-objpfx): Likewise.
23005 [!objdir] (common-objdir): Likewise.
23006 * configure.in (config_makefile): Remove. Hardcode Makefile in
23007 AC_CONFIG_FILES call.
23008 * configure: Regenerated.
23009
d528cdcf
JM
23010 [BZ #13888]
23011 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23012 or TMPDIR.
23013 (testout): Likewise.
23014
135948bd
JM
23015 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23016 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23017 $(rtld-installed-name).
23018 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23019 (rtld_installed_name): Likwise.
23020 (runit): Remove function.
23021 (run_getconf): New variable, Use it for running getconf binary.
23022
38c78296
L
230232012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23024
23025 [BZ #14716]
23026 * string/test-memmem.c (check_result): New function.
23027 (do_one_test): Use it.
23028 (check1): New function.
23029 (test_main): Use it.
23030
d077f65f
MT
230312012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23032
23033 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23034
ced52c71
JM
230352012-10-18 Joseph Myers <joseph@codesourcery.com>
23036
23037 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23038 (_G_LSEEK64): Likewise.
23039 (_G_MMAP64): Likewise.
23040 (_G_FSTAT64): Likewise.
23041 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23042 (_G_LSEEK64): Likewise.
23043 (_G_MMAP64): Likewise.
23044 (_G_FSTAT64): Likewise.
23045 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23046 unconditional. Call __mmap64 directly.
23047 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23048 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23049 __lseek64 directly.
23050 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23051 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23052 __mmap64 directly.
23053 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23054 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23055 __lseek64 directly.
23056 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23057 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23058 __lseek64 directly.
23059 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23060 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23061 __lseek64 directly.
23062 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23063 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23064 __fxstat64 directly.
23065 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23066 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23067 unconditional.
23068 (freopen64) [!_G_OPEN64]: Remove conditional code.
23069 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23070 unconditional.
23071 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23072 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23073 unconditional.
23074 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23075 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23076 unconditional.
23077 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23078 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23079 unconditional.
23080 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23081 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23082 unconditional.
23083 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23084 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23085 unconditional.
23086 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23087 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23088 unconditional.
23089 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23090
b741de23
SP
230912012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23092
23093 [BZ #12140]
23094 * manual/memory.texi (Malloc Tunable Parameters): Add note
23095 about free list pointers overwriting some perturb bytes.
23096 Wording suggested by Roland McGrath.
23097
f9b9d9c9
JM
230982012-10-17 Joseph Myers <joseph@codesourcery.com>
23099
23100 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23101 (lgamma_test): Likewise.
23102 (tgamma_test): Likewise.
23103
172a631a
FW
231042012-10-16 Florian Weimer <fweimer@redhat.com>
23105
23106 [BZ #14700]
23107 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23108 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23109
e9f37252
MK
231102012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23111
23112 * NEWS: Mention BZ #14716.
23113 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23114 when removing AVAILABLE1_USES_J macro.
23115
d394eb74
L
231162012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23117
23118 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23119 (__bswap_64): __uint64_t for unsigned 64-bit int.
23120
ca38dc17
AS
231212012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23122
23123 * include/string.h (memmem): Declare libc hidden alias.
23124 * string/memmem.c (memmem): Define libc hidden alias.
23125 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23126 __read, __close instead of open, read, close.
23127
9a387d1f
L
231282012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23129
ac49ecaf
L
23130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23131 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23132 global and hidden.
23133 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23134 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23135 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23136 Likewise.
23137 (__rawmemchr_sse2): Likewise.
23138 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23139 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23140 (__strchr_sse2): Likewise.
23141 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23142 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23143 (__strcasecmp_sse2): Likewise.
23144 (__strncasecmp_sse2): Likewise.
23145 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23146 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23147 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23148 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23149 (__strrchr_sse2): Likewise.
23150 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23151 ifunc-impl-list.c.
23152 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23153 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23154 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23155 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23156 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23157 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23158 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23159 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23160 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23161 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23162 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23163 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23164 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23165 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23166 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23167 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23168 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23169 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23170 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23171 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23172 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23173 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23174 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23175 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23176 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23177 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23178 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23179 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23180 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23181 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23182
b090e8ea
L
23183 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23184 global and hidden.
23185 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23186 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23187 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23188 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23189 Likewise.
23190 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23191 Likewise.
23192 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23193 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23194 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23195 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23196 ifunc-impl-list.c.
23197 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23198 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23199 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23200 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23201 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23202 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23203 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23204 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23205 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23206 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23207 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23208 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23209 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23210 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23211 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23213 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23214 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23215 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23217 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23219 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23220 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23221 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23222 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23223 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23224 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23225 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23226 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23227 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23228 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23229 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23230 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23231 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23232 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23233 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23234 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23235 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23236 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23237 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23238
11dd4af6
L
23239 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23240 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23241 * include/ifunc-impl-list.h: New file.
23242 * misc/ifunc-impl-list.c: Likewise.
23243 * misc/Makefile (routines): Add ifunc-impl-list.
23244 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23245 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23246 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23247 TEST_NAME]: New variables.
11dd4af6
L
23248 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23249 are defined.
23250 (test_init): Call __libc_ifunc_impl_list to initialize
23251 func_list if TEST_IFUNC and TEST_NAME are defined.
23252
9a387d1f
L
23253 * string/Makefile (strop-tests): Add bcopy and bzero.
23254 * string/test-bcopy.c: New file.
23255 * string/test-bzero.c: Likewise.
23256 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23257 defined.
23258 * string/test-memset.c: Support bzero test if TEST_BZERO is
23259 defined.
23260 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23261 __libc_memmove.
23262 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23263 __libc_memset.
23264 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23265 of memset.
23266
472371b9
JM
232672012-10-10 Joseph Myers <joseph@codesourcery.com>
23268
1e4a9536
JM
23269 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23270 * configure: Regenerated.
23271
d173d12e
JM
23272 * Makeconfig (+link-static-before-libc): Don't include
23273 $(link-static-libc).
23274
472371b9
JM
23275 * libio/libio.h (_IO_pos_t): Remove.
23276
89a3ad0b
AO
232772012-10-10 Alexandre Oliva <aoliva@redhat.com>
23278
23279 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23280 McGrath.
23281
e7451425
AO
232822012-10-10 Alexandre Oliva <aoliva@redhat.com>
23283
23284 * crypt/crypt-entry.c: Include fips-private.h.
23285 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23286 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23287 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23288 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23289
4ba74a35
AO
232902012-10-10 Alexandre Oliva <aoliva@redhat.com>
23291
23292 * crypt/crypt-private.h: Include stdbool.h.
23293 (_ufc_setup_salt_r): Return bool.
23294 * crypt/crypt-entry.c: Include errno.h.
23295 (__crypt_r): Return NULL with EINVAL for bad salt.
23296 * crypt/crypt_util.c (bad_for_salt): New.
23297 (_ufc_setup_salt_r): Check that salt is long enough and within
23298 the specified alphabet.
23299 * crypt/badsalttest.c: New file.
23300 * crypt/Makefile (tests): Add it.
23301 ($(objpfx)badsalttest): New.
23302
f96f1242
MK
233032012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23304
23305 * NEWS: Add entry for BZ #14602.
23306
0e8e0c1c
JM
233072012-10-09 Joseph Myers <joseph@codesourcery.com>
23308
23309 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23310 type-generic.
23311 * math/libm-test.inc: Update comment listing what functions and
23312 macros are tested.
23313 (isgreater_test): New function.
23314 (isgreaterequal_test): Likewise.
23315 (isless_test): Likewise.
23316 (islessequal_test): Likewise.
23317 (islessgreater_test): Likewise.
23318 (isunordered_test): Likewise.
23319 (main): Call the new functions.
23320
273edc5e
RM
233212012-10-09 Roland McGrath <roland@hack.frob.com>
23322
b8493de0
RM
23323 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23324 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23325 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23326 * sysdeps/i386/configure: Regenerated.
23327 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23328 * sysdeps/mach/configure: Regenerated.
23329 * sysdeps/mach/hurd/configure: Regenerated.
23330 * sysdeps/powerpc/configure: Regenerated.
23331 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23332 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23333 * sysdeps/s390/s390-32/configure: Regenerated.
23334 * sysdeps/s390/s390-64/configure: Regenerated.
23335 * sysdeps/sh/configure: Regenerated.
23336 * sysdeps/sparc/configure: Regenerated.
23337 * sysdeps/unix/sysv/linux/configure: Regenerated.
23338 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23339 * sysdeps/x86_64/configure: Regenerated.
23340
273edc5e
RM
23341 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23342 defined. Don't check if MAP is NULL.
23343
c8450f70
JM
233442012-10-09 Joseph Myers <joseph@codesourcery.com>
23345
23346 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23347 (_G_stat64): Likewise.
23348 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23349 (_G_stat64): Likewise.
23350 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23351 instead of struct _G_stat64.
23352 * libio/fileops.c (mmap_remap_check): Likewise.
23353 (decide_maybe_mmap): Likewise.
23354 (_IO_new_file_seekoff): Likewise.
23355 (_IO_file_stat): Likewise.
23356 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23357 _G_off64_t.
23358 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23359 instead of struct _G_stat64.
23360 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23361
57e605ba
MK
233622012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23363
23364 [BZ #14602]
23365 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23366 Replace with ...
23367 (CHECK_EOL): New macro.
23368 (two_way_short_needle): Check beginning of haystack for EOL. Use
23369 CHECK_EOL.
23370 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23371 Replace with CHECK_EOL.
23372 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23373 Replace with CHECK_EOL.
23374
ef1bb361
JM
233752012-10-08 Joseph Myers <joseph@codesourcery.com>
23376
23377 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23378 type-generic.
23379 * math/libm-test.inc: Update comment listing what functions and
23380 macros are tested.
23381 (finite_test): New function.
23382 (isinf_test): Likewise.
23383 (isnan_test): Likewise.
23384 (fpclassify_test): Test subnormal input.
23385 (isfinite_test): Likewise.
23386 (isnormal_test): Likewise.
23387 (main): Call the new functions.
23388
55f11534
JN
233892012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23390
23391 [BZ #14660]
23392 * Makerules (%.dynsym): Force C locale when running
23393 $(OBJDUMP) --dynamic-syms.
23394
1ab29350
AS
233952012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23396
23397 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23398 <stdint.h>.
23399
f1ecb7ef
DM
234002012-10-06 David S. Miller <davem@davemloft.net>
23401
23402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23403 upper 32-bits of the length value in %o2 since we use branch-on-register
23404 tests which consider the entire 64-bit register.
23405
5d41d91a
L
234062012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23407
23408 * string/test-strstr.c (check2): Add a test for page boundary.
23409
3baddb72
DM
234102012-10-05 David S. Miller <davem@davemloft.net>
23411
23412 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23413 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23414 file.
23415 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23416 sysdep_routines.
23417 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23418 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23419 and bzero when HWCAP_SPARC_CRYPTO is present.
23420
9cee5585
L
234212012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23422
d7e0dab9
L
23423 [BZ #14602]
23424 * string/test-strstr.c (check2): New function.
23425 (test_main): Call check2.
23426
03759f47
L
23427 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23428 and bug-strchr1.
23429 * string/bug-strcasestr1.c (do_test): Moved to ...
23430 * string/test-strcasestr.c (check1): Here. New function.
23431 (do_one_test): Break out result checking code into ...
23432 (check_result): This. New function.
23433 (do_one_test): Call check_result.
23434 (test_main): Call check1.
23435 * string/bug-strchr1.c (do_test): Moved to ...
23436 * string/test-strchr.c (check1): Here. New function.
23437 (do_one_test): Break out result checking code into ...
23438 (check_result): This. New function.
23439 (do_one_test): Call check_result.
23440 (test_main): Call check1.
23441 * string/bug-strstr1.c (main): Moved to ...
046f153e 23442 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23443 (do_one_test): Break out result checking code into ...
23444 (check_result): This. New function.
23445 (do_one_test): Call check_result.
23446 (test_main): Call check1.
23447 * string/bug-strcasestr1.c: Removed.
23448 * string/bug-strchr1.c: Likewise.
23449 * string/bug-strstr1.c: Likewise.
23450
53cea63e
L
23451 * elf/Makefile (dl-routines): Add hwcaps.
23452 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23453 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23454 (_dl_important_hwcaps): Moved to ...
23455 * elf/dl-hwcaps.c: Here. New file.
23456 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23457
9cee5585 23458 [BZ #14557]
bb859b06
L
23459 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23460 if IS_IN_rtld isn't defined.
23461
9cee5585
L
23462 * elf/dl-support.c (_dl_sysinfo_map): New.
23463 Include "get-dynamic-info.h" and "setup-vdso.h".
23464 (_dl_non_dynamic_init): Call setup_vdso.
23465 * elf/dynamic-link.h: Don't include <assert.h>.
23466 (elf_get_dynamic_info): Moved to ...
23467 * elf/get-dynamic-info.h: Here. New file.
23468 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23469 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23470 * elf/setup-vdso.h: Here. New file.
23471 * elf/rtld.c: Include "setup-vdso.h".
23472 (dl_main): Call setup_vdso.
23473
23c31b76
JM
234742012-10-05 Joseph Myers <joseph@codesourcery.com>
23475
28234b07
JM
23476 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23477 creal in comment listing functions tested. List finite, isinf,
23478 isnan, isless, islessequal, isgreater, isgreaterequal,
23479 islessgreater, isunordered, lgamma_r and pow10 as functions and
23480 macros not tested. Mention which functions not tested are aliases
23481 for other functions. Fix typo. Note that signs of NaNs are not
23482 tested.
23483
23c31b76
JM
23484 * scripts/config.guess: Update from config.git.
23485 * scripts/config.sub: Likewise.
23486
9043e228
RM
234872012-10-04 Roland McGrath <roland@hack.frob.com>
23488
23489 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23490 * misc/madvise.c (madvise): Renamed to __madvise.
23491 Make madvise a weak alias.
23492 * include/sys/mman.h: Declare __madvise.
23493 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23494 * sysdeps/unix/syscalls.list
23495 (madvise): Make __madvise the strong name, and madvise a weak alias.
23496 * sysdeps/unix/sysv/linux/syscalls.list
23497 (madvise, mmap): Remove redundant entries.
23498 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23499 * malloc/malloc.c (mtrim): Likewise.
23500 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23501
f57f8055
RM
235022012-10-03 Roland McGrath <roland@hack.frob.com>
23503
23504 * sysdeps/mach/hurd/dl-cache.c: File removed.
23505 * config.h.in (USE_LDCONFIG): New #undef.
23506 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23507 * configure: Regenerated.
23508 * elf/Makefile (dl-routines): Add dl-cache only under
23509 [$(use-ldconfig) = yes].
23510 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23511 cache on [USE_LDCONFIG].
23512 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23513 [USE_LDCONFIG].
23514 * elf/rtld.c (dl_main): Likewise.
23515
5bb0c10a
PT
235162012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23517
23518 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23519 _SC_LEVEL4_CACHE_LINESIZE.
23520
010188c6
RM
235212012-10-03 Roland McGrath <roland@hack.frob.com>
23522
23523 * sysdeps/unix/bsd/confstr.h: File removed.
23524
b6c5ec07
AO
235252012-10-02 Alexandre Oliva <aoliva@redhat.com>
23526
23527 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23528 sys/sdt-config.h.
23529
408223d4
RM
235302012-10-02 Roland McGrath <roland@hack.frob.com>
23531
23532 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23533 Make 'mapoff' field ElfW(Off) rather than off_t.
23534
bb9510dc
DL
235352012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23536
fc997c6e
DL
23537 * nscd/Makefile: Remove nscd-cflags and all its users.
23538 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23539 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23540
bb9510dc
DL
23541 [BZ #10631]
23542 * malloc.c (malloc_printerr): Clarify error message.
23543
05699367
L
235442012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23545
23546 [BZ #14648]
23547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23548 Set bit_FMA_Usable if FMA is supported.
23549 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23550 macro.
23551 (bit_FMA4_Usable): Updated.
23552 (index_FMA_Usable): New macro.
23553 (CPUID_FMA): Likewise
23554 (HAS_FMA): Defined with bit_FMA_Usable.
23555
51367701
RM
235562012-10-01 Roland McGrath <roland@hack.frob.com>
23557
23558 * bits/types.h (__swblk_t): Type removed.
23559 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23560 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23562 (__SWBLK_T_TYPE): Likewise.
23563 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23564 (__SWBLK_T_TYPE): Likewise.
23565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23566 (__SWBLK_T_TYPE): Likewise.
23567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23568 (__SWBLK_T_TYPE): Likewise.
23569
4d57bf63 235702012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23571 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23572
23573 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23574 (xdr_mapname): Use YPMAXMAP as maxsize.
23575 (xdr_peername): Use YPMAXPEER as maxsize.
23576 (xdr_keydat): Use YPAXRECORD as maxsize.
23577 (xdr_valdat): Use YPMAXRECORD as maxsize.
23578
93c65d43
RM
235792012-10-01 Roland McGrath <roland@hack.frob.com>
23580
497a03d6
RM
23581 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23582
93c65d43
RM
23583 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23584 * csu/init-first.c: ... here.
23585 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23586 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23587 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23588 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23589 * sysdeps/i386/init-first.c: File removed.
23590 * sysdeps/sh/init-first.c: File removed.
23591
bec749fd
JM
235922012-10-01 Joseph Myers <joseph@codesourcery.com>
23593
23594 [BZ #14645]
23595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23596 if x * y might underflow to zero and z is zero.
23597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23599 * math/libm-test.inc (min_subnorm_value): New variable.
23600 (fma_test): Add more tests.
23601 (fma_test_towardzero): Likewise.
23602 (fma_test_downward): Likewise
23603 (fma_test_upward): Likewise.
23604 (initialize): Set min_subnorm_value.
23605
8ec5b013
JM
236062012-09-29 Joseph Myers <joseph@codesourcery.com>
23607
23608 [BZ #14638]
23609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23610 0 + 0.
23611 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23612 mode for addition resulting in exact zero.
23613 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23615 exact 0 + 0.
23616 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23618 * math/libm-test.inc (fma_test): Add more tests.
23619 (fma_test_towardzero): New function.
23620 (fma_test_downward): Likewise.
23621 (fma_test_upward): Likewise.
23622 (main): Call the new functions.
23623
b1fa802e
DM
236242012-09-28 David S. Miller <davem@davemloft.net>
23625
23626 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23627
d3b9fd9e
RM
236282012-09-28 Roland McGrath <roland@hack.frob.com>
23629
ea4d37b3
RM
23630 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23631 instead of SIGALRM.
23632
ac51c949
RM
23633 * sysdeps/gnu/_G_config.h: Moved to ...
23634 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23635 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23636 * sysdeps/generic/_G_config.h: ... here.
23637
28c195f7
RM
23638 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23639
848917f9
RM
23640 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23641
6bacf05b
RM
23642 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23643 Conditionalize target on [libnss_test1.so-version].
23644
91363dbb
RM
23645 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23646
cc87f7d8
RM
23647 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23648 (elfobjdir): Move out of conditionals.
23649
b1c608fe
RM
23650 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23651 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23652 (__nss_lookup_function): Conditionalize label remove_from_tree on
23653 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23654
1d9a6d96
DM
236552012-09-28 David S. Miller <davem@davemloft.net>
23656
23657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23658 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23659 file.
23660 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23661 sysdep_routines.
23662 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23664 when HWCAP_SPARC_CRYPTO is present.
23665
72581615
PT
236662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23667
23668 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23669
715a900c
JL
236702012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23671
23672 [BZ #6530]
23673 * stdio-common/vfprintf.c (process_string_arg): Revert
23674 2000-07-22 change.
23675
236762011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23677
23678 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23679 for testcase.
23680 * stdio-common/tst-sprintf.c: Include <locale.h>
23681 (main): Test sprintf's handling of incomplete multibyte
23682 characters.
23683
9bac1d86
L
236842012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23685
23686 * elf/dl-runtime.c (VERSYMIDX): Removed.
23687 * elf/dl-version.c (VERSYMIDX): Likewise.
23688 * elf/do-rel.h (VERSYMIDX): Likewise.
23689 (VALIDX): Likewise.
23690 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23691 * elf/rtld.c (VALIDX): Likewise.
23692 (ADDRIDX): Likewise.
9bac1d86
L
23693 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23694 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23695 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23696 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23697 (VALIDX): Likewise.
23698 (ADDRIDX): Likewise.
9bac1d86 23699
b31606c0
PT
237002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23701
23702 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23703
11541177
JL
237042012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23705
23706 [BZ #11438]
23707 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23708 to global scope.
23709 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23710 addresses are in the same scope as 192.0.2/24.
23711 * posix/gai.conf: Document new scope table defaults.
23712
adb26fae
SP
237132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23714
23715 [BZ #5298]
23716 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23717 for ftell. Compute offsets from write pointers instead.
23718 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23719
4573c6b0
SP
237202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23721
23722 [BZ #14543]
23723 * libio/Makefile (tests): New test case tst-fseek.
23724 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23725 combination works in wide mode.
23726 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23727 state when the external buffer state changes.
23728
aa9bbfe6
DM
237292012-09-27 David S. Miller <davem@davemloft.net>
23730
23731 [BZ #14376]
23732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23733 pass reloc->r_addend in as the 'high' argument to
23734 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23735
784421e7
DM
23736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23737
c39bc8b8
PT
237382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23739
23740 * rt/tst-aio2.c: Include <pthread.h>.
23741 * rt/tst-aio3.c: Likewise.
23742
1ccc2399
SE
237432012-09-27 Steve Ellcey <sellcey@mips.com>
23744
23745 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23746
31ed4153
L
237472012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23748
25f5f885
L
23749 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23750 contents on [SHARED].
31ed4153 23751
b7bfe116
MP
237522012-09-26 Marek Polacek <polacek@redhat.com>
23753
23754 [BZ #14530]
23755 [BZ #13741]
23756 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23757 for C++ and GCC <4.3 as well as for non GCC compilers.
23758
43c4edba
MT
237592012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23760
23761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23762
6a1bf82f
RM
237632012-09-25 Roland McGrath <roland@hack.frob.com>
23764
23765 * Makefile.in (all, install): Declare with .PHONY.
23766 Reported by Michael Hope <michael.hope@linaro.org>.
23767
8ad11b9a
TMQMF
237682012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23769
23770 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23771 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23772 system header.
23773 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23774 Likewise.
23775 (sydep_routines): Add the new and the internal functions.
23776 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23777 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23779 (GLIBC_2.17): Add the new function.
23780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23781 (GLIBC_2.17): Likewise.
23782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23783 (GLIBC_2.17): Likewise.
23784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23785 (GLIBC_2.17): Likewise.
23786 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23787
7e2fca8d
AM
237882012-09-25 Alan Modra <amodra@gmail.com>
23789
23790 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23791 Add release barrier before setting once_control to say
23792 initialisation is done. Add hints on lwarx. Use macro in
23793 place of isync.
23794 (clear_once_control): Add release barrier.
23795
b87c4b24
JM
237962012-09-25 Joseph Myers <joseph@codesourcery.com>
23797
d032e0d2
JM
23798 [BZ #13629]
23799 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23800 specially.
23801 * math/s_clog10.c (__clog10): Likewise.
23802 * math/s_clog10f.c (__clog10f): Likewise.
23803 * math/s_clog10l.c (__clog10l): Likewise.
23804 * math/s_clogf.c (__clogf): Likewise.
23805 * math/s_clogl.c (__clogl): Likewise.
23806 * math/Makefile (libm-calls): Add x2y2m1.
23807 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23808 (__x2y2m1): Likewise.
23809 (__x2y2m1l): Likewise.
23810 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23811 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23814 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23815 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23816 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23817 * sysdeps/i386/fpu/libm-test-ulps: Update.
23818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23819
b87c4b24
JM
23820 [BZ #14621]
23821 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23822 int as type of variable DEPTH.
23823 (glob): Use size_t instead of int as type of variables NEWCOUNT
23824 and OLD_PATHC.
23825
6d3bf199
LD
238262012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23827
22bf5c17
LD
23828 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23829 Add s_sincosf-sse2.
23830 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23831 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23832 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23833 macros for using routine as __sincosf_ia32.
23834 Use macro for function declaration and weak_alias.
23835 * sysdeps/i386/fpu/libm-test-ulps: Update.
23836
23837 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23839
23840 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23841 subnormal argument.
23842 * math/s_cexpf.c (__cexpf): Likewise.
23843 * math/s_csinf.c (__csinf): Likewise.
23844 * math/s_csinhf.c (__csinhf): Likewise.
23845 * math/s_ctanf.c (__ctanf): Likewise.
23846 * math/s_ctanhf.c (__ctanhf): Likewise.
23847 * math/s_ccosh.c (__ccoshf): Likewise.
23848 * math/s_cexp.c (__cexpl): Likewise.
23849 * math/s_csin.c (__csin): Likewise.
23850 * math/s_csinh.c (__csinh): Likewise.
23851 * math/s_ctan.c (__ctan): Likewise.
23852 * math/s_ctanh.c (ctanh): Likewise.
23853 * math/s_ccoshl.c (__ccoshl): Likewise.
23854 * math/s_cexpl.c (__cexpl): Likewise.
23855 * math/s_csinl.c (__csinl): Likewise.
23856 * math/s_csinhl.c (__csinhl): Likewise.
23857 * math/s_ctanl.c (__ctanl): Likewise.
23858 * math/s_ctanhl.c (__ctanhl): Likewise.
23859
203e5603
JM
238602012-09-25 Joseph Myers <joseph@codesourcery.com>
23861
23862 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23863 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23864 (_IO_off_t): Define to __off_t, not _G_off_t.
23865 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23866 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23867 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23868 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23869 type of __dummy and __dummy2 fields.
23870 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23871 (_G_ssize_t): Likewise.
23872 (_G_off_t): Likewise.
23873 (_G_pid_t): Likewise.
23874 (_G_uid_t): Likewise.
23875 (_G_wchar_t): Likewise.
23876 (_G_wint_t): Likewise.
23877 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23878 (_G_ssize_t): Likewise.
23879 (_G_off_t): Likewise.
23880 (_G_pid_t): Likewise.
23881 (_G_uid_t): Likewise.
23882 (_G_wchar_t): Likewise.
23883 (_G_wint_t): Likewise.
23884 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23885 (_G_ssize_t): Likewise.
23886 (_G_off_t): Likewise.
23887 (_G_pid_t): Likewise.
23888 (_G_uid_t): Likewise.
23889 (_G_wchar_t): Likewise.
23890 (_G_wint_t): Likewise.
23891
9fab36eb
SP
238922012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23893
23894 * malloc/arena.c: Include malloc-sysdep.h.
23895 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23896 is sufficient to shrink the heap or an unmap is needed.
23897 * sysdeps/generic/malloc-sysdep.h: New file. Define
23898 new function check_may_shrink_heap.
23899 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23900 new function check_may_shrink_heap.
23901
2b4f00d1
SP
239022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23903
23904 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23905 comments.
23906
9a9028b1
DL
239072012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23908
57c69bef
DL
23909 * catgets/test-gencat.sh: Add "set -e".
23910 * elf/tst-pathopt.sh: Likewise.
23911 * grp/tst_fgetgrent.sh: Likewise.
23912 * iconvdata/run-iconv-test.sh: Likewise.
23913 * intl/tst-gettext.sh: Likewise.
23914 * intl/tst-gettext2.sh: Likewise.
23915 * intl/tst-gettext4.sh: Likewise.
23916 * intl/tst-gettext6.sh: Likewise.
23917 * intl/tst-translit.sh: Likewise.
23918 * io/ftwtest-sh: Likewise.
23919 * libio/test-freopen.sh: Likewise.
23920 * malloc/tst-mtrace.sh: Likewise.
23921 * posix/globtest.sh: Likewise.
23922 * posix/tst-getconf.sh: Likewise.
23923 * posix/wordexp-tst.sh: Likewise.
23924 * stdio-common/tst-printf.sh: Likewise.
23925 * stdio-common/tst-unbputc.sh: Likewise.
23926 * stdlib/tst-fmtmsg.sh: Likewise.
23927 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23928 * catgets/Makefile: Do not specify -e option when running
23929 testsuite shell scripts.
23930 * elf/Makefile: Likewise.
23931 * grp/Makefile: Likewise.
23932 * iconvdata/Makefile: Likewise.
23933 * intl/Makefile: Likewise.
23934 * io/Makefile: Likewise.
23935 * libio/Makefile: Likewise.
23936 * malloc/Makefile: Likewise.
23937 * posix/Makefile: Likewise.
23938 * stdio-common/Makefile: Likewise.
23939 * stdlib/Makefile: Likewise.
23940 * sysdeps/x86_64/Makefile: Likewise.
23941
9a9028b1
DL
23942 * io/ftwtest-sh: Add copyright header.
23943 * posix/globtest.sh: Likewise.
23944 * posix/tst-getconf.sh: Likewise.
23945 * posix/wordexp-tst.sh: Likewise.
23946 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23947
ced6f16e
L
239482012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23949
94b32c39
L
23950 [BZ #13679]
23951 * Makeconfig (+link): Defined as $(+link-static) if
23952 $(build-shared) isn't yes.
23953 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23954 isn't yes.
23955 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23956
189e935b
L
23957 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23958
ced6f16e
L
23959 [BZ #14562]
23960 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23961 new chunk size with MALLOC_ALIGN_MASK.
23962
a9f8e53a
JM
239632012-09-24 Joseph Myers <joseph@codesourcery.com>
23964
23965 [BZ #5044]
23966 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23967 <rounding-mode.h>.
23968 (__printf_fphex): Determine rounding using get_rounding_mode and
23969 round_away.
23970 * stdio-common/tst-printf-round.c (struct hex_test): New
23971 structure.
23972 (hex_tests): New variable.
23973 (test_hex_in_one_mode): New function.
23974 (do_test): Also run tests for hex float output.
23975
43153109
JM
239762012-09-21 Joseph Myers <joseph@codesourcery.com>
23977
23978 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23979 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23980 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23981 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23982 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23983 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23984 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23985 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23986
8a26625d
JM
239872012-09-20 Joseph Myers <joseph@codesourcery.com>
23988
23989 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23990 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23991 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23992 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23993
f3fd569c
DL
239942012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23995
23996 [BZ #14579]
23997 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23998 mode only.
23999 * elf/tst-rtld-load-self.sh: New test.
24000 * elf/Makefile: Run it.
24001
63bbedd4
JM
240022012-09-18 Joseph Myers <joseph@codesourcery.com>
24003
24004 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24005 (tst-writev-ENV): Remove.
24006 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24007
626f8b6a
CM
240082012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24009
24010 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24011
b7aaa4d6
JM
240122012-09-17 Joseph Myers <joseph@codesourcery.com>
24013
24014 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24015 unconditional.
24016 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24017 Likewise.
24018 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24019 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24020 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24021 Likewise.
24022
65513990
L
240232012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24024
24025 [BZ #14587]
24026 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24027 * config.make.in (have-cpp-asm-debuginfo): Removed.
24028 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24029 * configure: Regenerated.
24030
784761be
JM
240312012-09-14 Joseph Myers <joseph@codesourcery.com>
24032
24033 [BZ #5044]
24034 * stdio-common/printf_fp.c: Include <stdbool.h> and
24035 <rounding-mode.h>.
24036 (___printf_fp): Determine rounding using get_rounding_mode and
24037 round_away.
24038 * stdio-common/tst-printf-round.c: New file.
24039 * stdio-common/Makefile (tests): Add tst-printf-round.
24040 (link-libm): New variable.
24041 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24042
9503345f
L
240432012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24044
24045 [BZ #14576]
24046 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24047 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24048 Likewise.
24049 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24050 Likewise.
24051
ad35fc00
JM
240522012-09-13 Joseph Myers <joseph@codesourcery.com>
24053
24054 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24055 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24056 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24057 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24058
6c9b0f68
JM
240592012-09-12 Joseph Myers <joseph@codesourcery.com>
24060
24061 [BZ #14518]
24062 * include/rounding-mode.h: New file.
24063 * sysdeps/generic/get-rounding-mode.h: Likewise.
24064 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24065 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24066 (MAX_VALUE): New macro.
24067 (MIN_VALUE): Likewise.
24068 (overflow_value): New function.
24069 (underflow_value): Likewise.
24070 (round_and_return): Use overflow_value and underflow_value to
24071 determine return values in overflow and underflow cases. Use
24072 round_away to determine rounding depending on rounding mode.
24073 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24074 determine return values in overflow and underflow cases.
24075 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24076 (struct test_results): New structure.
24077 (struct test): Use struct test_results to store expected results
24078 for all rounding modes.
24079 (TEST): Include expected results for all rounding modes.
24080 (test_in_one_mode): New function.
24081 (do_test): Use test_in_one_mode to compute and check results.
24082 Check results for all rounding modes.
24083 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24084 $(link-libm).
24085
19fcedd5
AM
240862012-12-09 Allan McRae <allan@archlinux.org>
24087
1e9d84cd 24088 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24089
8bbfd2f1
JM
240902012-09-11 Joseph Myers <joseph@codesourcery.com>
24091
24092 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24093 (_G_int32_t): Likewise.
24094 (_G_uint16_t): Likewise.
24095 (_G_uint32_t): Likewise.
24096 (_G_HAVE_BOOL): Likewise.
24097 (_G_HAVE_ATEXIT): Likewise.
24098 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24099 (_G_HAVE_IO_FILE_OPEN): Likewise.
24100 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24101 (_G_int32_t): Likewise.
24102 (_G_uint16_t): Likewise.
24103 (_G_uint32_t): Likewise.
24104 (_G_HAVE_BOOL): Likewise.
24105 (_G_HAVE_ATEXIT): Likewise.
24106 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24107 (_G_HAVE_IO_FILE_OPEN): Likewise.
24108 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24109 (_G_int32_t): Likewise.
24110 (_G_uint16_t): Likewise.
24111 (_G_uint32_t): Likewise.
24112 (_G_HAVE_BOOL): Likewise.
24113 (_G_HAVE_ATEXIT): Likewise.
24114 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24115 (_G_HAVE_IO_FILE_OPEN): Likewise.
24116
b1dc5912
L
241172012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24118
24119 * csu/libc-tls.c: Update copyright years.
24120
0e886ef9
JM
241212012-09-10 Joseph Myers <joseph@codesourcery.com>
24122
28361c5e
JM
24123 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24124 [!_G_USING_THUNKS]: Remove conditional code.
24125 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24126 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24127
0e886ef9
JM
24128 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24129 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24130 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24131 (_G_VTABLE_LABEL_PREFIX): Likewise.
24132 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24133 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24134 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24135 (_G_VTABLE_LABEL_PREFIX): Likewise.
24136 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24137 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24138 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24139 (_G_VTABLE_LABEL_PREFIX): Likewise.
24140 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24141
bcba7aa2
L
241422012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24143
24144 * libio/Makefile: Include ../Makeconfig before tests.
24145 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24146 only if $(build-shared) is yes.
24147
06585ee8
L
24148 * iconv/gconv_db.c: Update copyright years.
24149
80ccd52c
LD
241502012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24151
24152 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24153 unwind info if defined PIC. Fix special cases description.
24154 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24155
24156 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24157 DP_HI_MASK entry.
24158 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24159
691bc9c1
L
241602012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24161
3d9b46b3
L
24162 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24163
de2139a9
L
24164 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24165 is NULL.
24166
5ca78dd0
L
24167 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24168 (LDLIBS-tst-chk4): This.
24169 (LDFLAGS-tst-chk5): Renamed to ...
24170 (LDLIBS-tst-chk5): This.
24171 (LDFLAGS-tst-chk6): Renamed to ...
24172 (LDLIBS-tst-chk6): This.
24173 (LDFLAGS-tst-lfschk4): Renamed to ...
24174 (LDLIBS-tst-lfschk4): This.
24175 (LDFLAGS-tst-lfschk5): Renamed to ...
24176 (LDLIBS-tst-lfschk5): This.
24177 (LDFLAGS-tst-lfschk6): Renamed to ...
24178 (LDLIBS-tst-lfschk6): This.
24179
691bc9c1
L
24180 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24181 on $(common-objpfx)soversions.mk.
24182
65cafb1c
JM
241832012-09-07 Joseph Myers <joseph@codesourcery.com>
24184
24185 [BZ #10014]
24186 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24187 example host name.
24188
c78ab094
SP
241892012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24190
24191 * malloc/arena.c (arena_get_retry): New function that gets
24192 another arena for the caller to try its request on.
24193 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24194 current arena cannot fulfill the request.
24195 (__libc_memalign): Likewise.
24196 (__libc_memalign): Likewise.
24197 (__libc_pvalloc): Likewise.
24198 (__libc_calloc): Likewise.
24199
01f49f59
JT
242002012-09-05 John Tobey <john.tobey@gmail.com>
24201
24202 [BZ #13542]
24203 * manual/arith.texi (Operations on Complex): Fix description
24204 of carg branch cut.
24205
4c23fed5
JM
242062012-09-06 Joseph Myers <joseph@codesourcery.com>
24207
1d3c8572
JM
24208 [BZ #10014]
24209 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24210 host name.
24211
4c23fed5
JM
24212 [BZ #10038]
24213 * manual/memory.texi (Memory): Make order of menu items match
24214 order of sections.
24215
04570aaa
L
242162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24217
24218 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24219 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24220 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24221
b80af2f4
L
242222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24223
24224 * csu/libc-tls.c (static_dtv): Renamed to ...
24225 (_dl_static_dtv): This. Make it global.
24226 (_dl_initial_dtv): Removed.
24227 (__libc_setup_tls): Updated.
24228 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24229 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24230 DL_INITIAL_DTV.
24231
2abe9f15
PM
242322012-09-06 Petr Machata <pmachata@redhat.com>
24233
24234 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24235 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24236 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24237 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24238
0948c3af
L
242392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24240
24241 [BZ #14545]
24242 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24243 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24244 freeing dtv[-1].
24245
a5055ad1
L
242462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24247
24248 [BZ #14544]
24249 * Makeconfig (link-static-before-libc): Replace $(+prector)
24250 with $(+prectorT).
24251 (link-static-after-libc): Replace $(+postctor) with
24252 $(+postctorT).
24253 (link-bounded): Replace $(+prector)/$(+postctor) with
24254 $(+prectorT)/$(+postctorT).
24255 (+prectorT): New macro.
24256 (+postctorT): Likewise.
24257
ed8c2ecd
JM
242582012-09-06 Joseph Myers <joseph@codesourcery.com>
24259
24260 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24261 (round_str): Handle values above the maximum for IBM long double
24262 as inexact.
24263 * stdlib/tst-strtod-round.c (tests): Regenerated.
24264
14c996c8
AK
242652012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24266
24267 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24268 assembler flag.
24269 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24270 zarch_nohighgprs around the zarch optimized routines.
24271 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24272 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24273 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24274 for zarch.
24275
430d6ce6
DM
242762012-09-05 David S. Miller <davem@davemloft.net>
24277
24278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24279
57f41c40
AS
24280 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24281 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24282 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24283 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24284 entries.
24285
24d4e01b
AO
242862012-09-05 Alexandre Oliva <aoliva@redhat.com>
24287
24288 * malloc/arena.c: Fold copyright years.
24289 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24290
61d58174
AO
242912012-09-05 Alexandre Oliva <aoliva@redhat.com>
24292
24293 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24294
20196a5e
AO
242952012-09-05 Alexandre Oliva <aoliva@redhat.com>
24296
24297 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24298
5c447383
AO
242992012-09-05 Alexandre Oliva <aoliva@redhat.com>
24300
24301 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24302 change internal state upon failure.
24303
fad64255
AO
243042012-09-05 Alexandre Oliva <aoliva@redhat.com>
24305
24306 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24307 * malloc/memusage.c (mmap): Likewise.
24308 (mmap64, mremap): Likewise. Adjust name in comment.
24309
1ffb8c90
SP
243102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24311
24312 * libio/fileops.c: Fix typos in comments.
24313 * libio/oldfileops.c: Likewise.
24314 * libio/wfileops.c: Likewise.
24315
6ef9cc37
SP
243162012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24317
24318 [BZ #1349]
24319 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24320 (tst-malloc-usable-ENV): Set environment for test case.
24321 * malloc/hooks.c (malloc_check_get_size): New function to get
24322 requested size.
24323 * malloc/malloc.c (musable): Use malloc_check_get_size.
24324 * malloc/tst-malloc-usable.c: New test case.
24325
4d038ae3
AS
243262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24327
24328 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24329
c4e85184
AM
243302012-09-05 Allan McRae <allan@archlinux.org>
24331
b9dafc56 24332 [BZ #13966]
c4e85184
AM
24333 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24334 determine header location.
24335 * configure: Regenerated.
24336
e1343020
AS
243372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24338
24339 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24340 float format.
24341 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24342 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24343 format.
e1343020
AS
24344 (test): Regenerate.
24345
0a9f1987
DM
243462012-09-04 David S. Miller <davem@davemloft.net>
24347
24348 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24349 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24350 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24351
29237804
FW
243522012-09-04 Florian Weimer <fweimer@redhat.com>
24353
24354 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24355 failures.
24356
edb3cb88
FW
24357 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24358
60160d83
JM
243592012-09-04 Joseph Myers <joseph@codesourcery.com>
24360
24361 [BZ #9914]
24362 * libio/iogetdelim.c: Include <limits.h>.
24363 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24364 + len + 1 would overflow.
24365
bcd6c8dc
AJ
243662012-09-03 Andreas Jaeger <aj@suse.de>
24367
24368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24369 * sysdeps/i386/fpu/libm-test-ulps: Update.
24370
4ffffbd2
LD
243712012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24372
24373 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24374 Add s_sinf-sse2, s_conf-sse2.
24375
24376 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24377 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24378 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24379 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24380
24381 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24382 for using routine as __sinf_ia32.
24383 Use macro for function declaration and weak_alias.
24384 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24385 for using routine as __cosf_ia32.
24386 Use macro for function declaration and weak_alias.
24387
24388 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24389 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24390
24391 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24392 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24394
24395 * math/libm-test.inc (cos_test): Add more test cases.
24396 (sin_test): Likewise.
24397 (sincos_test): Likewise.
24398
511fa286
AK
243992012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24400
24401 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24402 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24403 hidden.
24404 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24405
5f30cfec
L
244062012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24407
24408 [BZ #14538]
24409 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24410 first element of the GOT.
24411 (elf_machine_load_address): Return the difference between
24412 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24413
0786794f
AM
244142012-09-01 Allan McRae <allan@archlinux.org>
24415
5f30cfec
L
24416 [BZ #13412]
24417 * configure.in (AWK): Require gawk version 3.0 or later.
24418 * configure: Regenerated.
0786794f 24419
26889eac
JM
244202012-09-01 Joseph Myers <joseph@codesourcery.com>
24421
24422 * sysdeps/unix/sysv/linux/kernel-features.h
24423 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24425 [__NR_clock_getres]: Make code unconditional.
24426 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24427 (clock_getcpuclockid): Remove code left unreachable by removal of
24428 conditionals.
24429 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24430 code unconditional.
24431 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24432 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24433 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24434 Make code unconditional.
24435 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24436 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24437 * sysdeps/unix/sysv/linux/clock_settime.c
24438 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24439 conditional code.
24440 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24441 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24442
d22e28b0
L
244432012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24444
24445 [BZ #14476]
24446 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24447 scripts/test-installation.pl.
24448
24449 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24450 and $ld_so_version if it is set.
24451
050af9c4
SP
244522012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24453
24454 [BZ #14516]
24455 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24456 failure if reading from procfs failed.
24457 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24458
ad845c0b
JM
244592012-08-27 Joseph Myers <joseph@codesourcery.com>
24460
24461 * sysdeps/unix/sysv/linux/kernel-features.h
24462 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24463 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24464 Remove conditional code.
24465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24466 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24467 Remove conditional code.
24468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24469 * sysdeps/unix/sysv/linux/i386/fxstat.c
24470 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24472 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24473 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24474 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24475 * sysdeps/unix/sysv/linux/i386/lxstat.c
24476 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24478 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24479 Remove conditional code.
24480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24481 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24482 Remove conditional code.
24483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24484 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24485 <kernel-features.h>.
24486 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24487 Remove.
24488 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24489 Remove conditional code.
24490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24491 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24492 Remove conditional.
24493
5dbf56af
MF
244942012-08-27 Mike Frysinger <vapier@gentoo.org>
24495
24496 [BZ #5400]
24497 * NEWS: Add fixed bug number.
24498
d6e70f43
JM
244992012-08-27 Joseph Myers <joseph@codesourcery.com>
24500
7efb4737
JM
24501 [BZ #14519]
24502 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24503 underflowing exponent in case of negative sign.
24504 * stdlib/tst-strtod-round-data: Add more tests.
24505 * stdlib/tst-strtod-round.c (tests): Regenerated.
24506
af92131a
JM
24507 [BZ #3479]
24508 * stdlib/strtod_l.c (NDIG): Remove.
24509 (HEXNDIG): Likewise.
24510 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24511 smallest representable value.
24512 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24513 lie within an exact representation of 1/2 ulp of the result.
24514 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24515 unconditionally.
24516 (TENS_P9_IDX): Define unconditionally.
24517 (TENS_P9_SIZE): Likewise.
24518 (TENS_P10_IDX): Likewise.
24519 (TENS_P10_SIZE): Likewise.
24520 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24521 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24522 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24523 entries for 10^2^13 and 10^2^14.
24524 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24525 (TENS_P13_IDX): Define.
24526 (TENS_P13_SIZE): Likewise.
24527 (TENS_P14_IDX): Likewise.
24528 (TENS_P14_SIZE): Likewise.
24529 (_fpioconst_pow10): Change array size to
24530 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24531 unconditional.
24532 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24533 1024]: Add entries for 10^2^13 and 10^2^14.
24534 [LAST_POW10 > _LAST_POW10]: Remove #error.
24535 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24536 (_fpioconst_pow10): Change array size to
24537 FPIOCONST_POW10_ARRAY_SIZE.
24538 * stdlib/gen-fpioconst.c: New file.
24539 * stdlib/gen-tst-strtod-round.c: Likewise.
24540 * stdlib/tst-strtod-round-data: Likewise.
24541 * stdlib/tst-strtod-round.c: Likewise.
24542 * stdlib/Makefile (tests): Add tst-strtod-round.
24543
d6e70f43
JM
24544 [BZ #14459]
24545 * stdlib/strtod_l.c: Include <stdint.h>.
24546 (NDEBUG): Do not define.
24547 (round_and_return): Change EXPONENT parameter to type intmax_t.
24548 Rearrange calculations to avoid internal overflow possibilities.
24549 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24550 Rearrange calculations to avoid internal overflow possibilities.
24551 Assert that number fits inside MPNSIZE limbs.
24552 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24553 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24554 calculations and add assertions to avoid internal overflow
24555 possibilities. Add casts to avoid signed/unsigned operations.
24556 * stdlib/tst-strtod-overflow.c: New file.
24557 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24558
1f529f7d
MP
245592012-08-25 Marek Polacek <polacek@redhat.com>
24560
24561 * time/time.h: Fix some typos in comments.
24562
59a629f1
RM
245632012-08-23 Roland McGrath <roland@hack.frob.com>
24564
24565 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24566 * posix/tst-rfc3484-2.c: Likewise.
24567 * posix/tst-rfc3484-3.c: Likewise.
24568
d3bafbc9
SM
245692012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24570
24571 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24572 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24573
4efcc022
JM
245742012-08-23 Joseph Myers <joseph@codesourcery.com>
24575
24576 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24577 #include of fxstatat64.c.
24578
3cc3ef96
RM
245792012-08-22 Roland McGrath <roland@hack.frob.com>
24580
f04e2132
RM
24581 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24582 * shadow/getspent_r.c: Likewise.
24583 * shadow/getspnam.c: Likewise.
24584 * shadow/getspnam_r.c: Likewise.
24585 * gshadow/getsgent.c: Likewise.
24586 * gshadow/getsgent_r.c: Likewise.
24587 * gshadow/getsgnam.c: Likewise.
24588 * gshadow/getsgnam_r.c: Likewise.
24589 * inet/getnetbyad.c: Likewise.
24590 * inet/getnetbyad_r.c: Likewise.
24591 * inet/getnetbynm.c: Likewise.
24592 * inet/getnetbynm_r.c: Likewise.
24593 * inet/getnetent.c: Likewise.
24594 * inet/getnetent_r.c: Likewise.
24595 * inet/getproto.c: Likewise.
24596 * inet/getproto_r.c: Likewise.
24597 * inet/getprtent.c: Likewise.
24598 * inet/getprtent_r.c: Likewise.
24599 * inet/getprtname.c: Likewise.
24600 * inet/getprtname_r.c: Likewise.
24601 * inet/getrpcbyname.c: Likewise.
24602 * inet/getrpcbyname_r.c: Likewise.
24603 * inet/getrpcbynumber.c: Likewise.
24604 * inet/getrpcbynumber_r.c: Likewise.
24605 * inet/getrpcent.c: Likewise.
24606 * inet/getrpcent_r.c: Likewise.
24607 * inet/getaliasent.c: Likewise.
24608 * inet/getaliasent_r.c: Likewise.
24609 * inet/getaliasname.c: Likewise.
24610 * inet/getaliasname_r.c: Likewise.
24611 * nscd/getgrgid_r.c: Likewise.
24612 * nscd/getgrnam_r.c: Likewise.
24613 * nscd/gethstbyad_r.c: Likewise.
24614 * nscd/gethstbynm3_r.c: Likewise.
24615 * nscd/getpwnam_r.c: Likewise.
24616 * nscd/getpwuid_r.c: Likewise.
24617 * nscd/getsrvbynm_r.c: Likewise.
24618 * nscd/getsrvbypt_r.c: Likewise.
24619 * nscd/gai.c: Likewise.
24620
c53d909c
RM
24621 * configure.in (build_nscd): New substituted variable, set
24622 by --disable-build-nscd and defaults to $use_nscd.
24623 * configure: Regenerated.
24624 * config.make.in (build-nscd): New substituted variable.
24625 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24626 Change conditional to require [$(build-nscd) = yes] as well.
24627 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24628
3cc3ef96
RM
24629 [BZ# 13696]
24630 * configure.in (use_nscd): New substituted variable, set by
24631 --disable-nscd. If enabled, define USE_NSCD.
24632 * configure: Regenerated.
24633 * config.h.in: Add USE_NSCD.
24634 * config.make.in (use-nscd): New substituted variable.
24635 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24636 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24637 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24638 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24639 (CFLAGS-getgrnam_r.c): Likewise.
24640 (CFLAGS-initgroups.c): Likewise.
24641 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24642 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24643 Variables removed.
24644 * inet/getnetgrent_r.c
24645 (nscd_setnetgrent): New function, broken out of ...
24646 (setnetgrent): ... here. Call it.
24647 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24648 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24649 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24650 * nscd/Makefile (routines, aux): Move definitions after include of
24651 Makeconfig. Conditionalize on [$(use-nscd) != no].
24652 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24653 Conditionalize on [USE_NSCD].
24654 (is_nscd, nscd_init_cb): Likewise.
24655 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24656 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24657 * nss/nss_db/db-init.c: Likewise.
24658 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24659 [USE_NSCD].
24660 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24661 (make_request): Use it.
24662 (cache_valid_p): New function.
24663 (__check_pf): Use it.
24664 * NEWS: Add item for --disable-nscd.
24665
07e51550
DL
246662012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24667
24668 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24669 to support sed >= 4.2.1-20-ga9bf076.
24670 * configure: Regenerated.
24671
35a5b08b
RM
246722012-08-22 Roland McGrath <roland@hack.frob.com>
24673
24674 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24675 Conditionalize whole body on [IREL].
24676
8479f23a
JL
246772012-08-22 Jeff Law <law@redhat.com>
24678
24679 [BZ #14505]
24680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24681 if the family is PF_UNSPEC.
24682
48da0b21
MF
246832012-08-22 Mike Frysinger <vapier@gentoo.org>
24684
24685 * Makerules (lib-version): Rename from V.
24686 (install-lib-nosubdir): Change V to lib-version.
24687
15d0da8c
WS
246882012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24689
24690 [BZ #14252]
24691 * powerpc32/power6/wcschr.c: New file.
24692 * powerpc32/power6/wcscpy.c: New file.
24693 * powerpc32/power6/wcsrchr.c: New file.
24694 * powerpc64/power6/wcschr.c: New file.
24695 * powerpc64/power6/wcscpy.c: New file.
24696 * powerpc64/power6/wcsrchr.c: New file.
24697
bcca0895
MK
246982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24699
24700 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24701 (two_way_short_needle): Use it.
5a4aaa33
RM
24702 * string/strstr.c (AVAILABLE1_USES_J): Define.
24703 * string/strcasestr.c: Likewise.
99677e57
MK
24704
24705 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24706 array references.
24707 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24708
400726de
MK
24709 [BZ #11607]
24710 * NEWS: Add an entry.
24711 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24712 define their defaults.
24713 (two_way_short_needle): Detect end-of-string on-the-fly.
24714 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24715 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24716 * string/bug-strcasestr1.c: New test.
24717 * string/Makefile: Run it.
24718
20a71f2c
MK
247192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24720
24721 [BZ #11607]
24722 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24723 the first character.
24724
21ad0558
RM
247252012-08-21 Roland McGrath <roland@hack.frob.com>
24726
24727 * csu/elf-init.c (__libc_csu_irel): Function removed.
24728 * csu/libc-start.c (apply_irel): New function.
24729 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24730
0e1d9911
JM
247312012-08-21 Joseph Myers <joseph@codesourcery.com>
24732
24733 * sysdeps/unix/sysv/linux/kernel-features.h
24734 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24735 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24736 <kernel-features.h>.
24737 [__NR_fadvise64_64]: Make code unconditional.
24738 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24739 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24740 !__NR_fadvise64_64)]: Likewise.
24741 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24742 !__NR_fadvise64_64))]: Likewise.
24743 [__NR_fadvise64]: Make code unconditional.
24744 [!__NR_fadvise64]: Remove conditional code.
24745 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24746 <kernel-features.h>.
24747 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24748 unconditional.
24749 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24750 conditional code.
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24752 not include <kernel-features.h>.
24753 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24754 unconditional.
24755 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24756 conditional code.
24757 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24758 include <kernel-features.h>.
24759 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24760 unconditional.
24761 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24762 conditional code.
24763
14a50c9d
WS
247642012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24765
24766 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24767 slight instruction rearrangements per scrollpipe analysis.
24768 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24769
c0f4faf0
RM
247702012-08-20 Roland McGrath <roland@hack.frob.com>
24771
696da859
RM
24772 * manual/syslog.texi (syslog; vsyslog, closelog):
24773 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24774 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24775
c0f4faf0
RM
24776 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24777 DSOCAPS to match condition on defining it.
24778
348363b2
JM
247792012-08-20 Joseph Myers <joseph@codesourcery.com>
24780
a35cbf28
JM
24781 * sysdeps/unix/sysv/linux/kernel-features.h
24782 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24784 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24785 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24787 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24788 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24790 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24791 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24792
445f7ecd
JM
24793 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24794 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24795
348363b2
JM
24796 * sysdeps/unix/sysv/linux/kernel-features.h
24797 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24798 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24799 unconditional.
24800 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24801 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24802 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24803 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24804 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24805 Make code unconditional.
24806 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24807 (__mmap64) [!__NR_mmap2]: Likewise.
24808 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24809 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24810 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24811 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24812 [__NR_mmap2]: Make code unconditional.
24813 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24814 (__mmap64) [!__NR_mmap2]: Likewise.
24815
bc5bc0e5
AK
248162012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24817
24818 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24819
88d506de
AJ
248202012-08-18 Andreas Jaeger <aj@suse.de>
24821
24822 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24823
493387d2
MF
248242012-08-18 Mike Frysinger <vapier@gentoo.org>
24825
24826 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24827 * include/unistd.h (__have_sock_cloexec): Likewise.
24828 (__have_pipe2): Likewise.
24829 (__have_dup3): Likewise.
24830
a277af22
MF
248312012-08-18 Mike Frysinger <vapier@gentoo.org>
24832
24833 [BZ #9685]
24834 * include/unistd.h (__have_pipe2): Change define into an extern int.
24835 (__have_dup3): Likewise.
24836 * socket/have_sock_cloexec.c: Include fcntl.h.
24837 (__have_pipe2): New variable.
24838 (__have_dup3): Likewise.
24839
fdab8fd3
MF
248402012-08-17 Mike Frysinger <vapier@gentoo.org>
24841
24842 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24843
31035e80
MP
248442012-08-17 Marek Polacek <polacek@redhat.com>
24845
24846 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24847 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24848
3bd9e993
RM
248492012-08-17 Roland McGrath <roland@hack.frob.com>
24850
c91c505f
RM
24851 * configure.in: Add AC_SUBST for sysheaders.
24852 * configure: Regenerated.
24853 * config.make.in (sysheaders): New substituted variable.
24854
7c6f9d53
RM
24855 * sysdeps/unix/mkfifo.c: Moved ...
24856 * sysdeps/posix/mkfifo.c: ... here.
24857 * sysdeps/unix/mkfifoat.c: Moved ...
24858 * sysdeps/posix/mkfifoat.c: ... here.
24859
24860 * sysdeps/unix/utime.c: Moved ...
24861 * sysdeps/posix/utime.c: ... here.
24862
24863 * sysdeps/unix/time.c: Moved ...
24864 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24865 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24866 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24867
24868 * sysdeps/unix/nice.c: Moved ...
24869 * sysdeps/posix/nice.c: ... here.
24870
24871 * sysdeps/unix/alarm.c: Moved ...
24872 * sysdeps/posix/alarm.c: ... here.
24873
3bd9e993
RM
24874 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24875
d1f09384
JL
248762012-08-17 Jeff Law <law@redhat.com>
24877
24878 * intl/Makefile (codeset_mo): New variable.
24879 ($(codeset_mo)): New target.
24880 (tst-codeset.out): Depend on that. Remove explicit rule.
24881 (tst-gettext3.out, tst-gettext5.out): Likewise.
24882 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24883 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24884 * intl/tst-codeset.sh: Remove.
24885 * intl/tst-gettext3.sh: Likewise.
24886 * intl/tst-gettext5.sh: Likewise.
24887
2ae1ae5c
RM
248882012-08-17 Roland McGrath <roland@hack.frob.com>
24889
c31fdb83
RM
24890 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24891 * sysdeps/unix/syscalls.list: ... here.
24892
a0844057
RM
24893 * sysdeps/posix/getaddrinfo.c
24894 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24895 (gaiconf_init, gaiconf_reload): Use them.
24896 [!_STATBUF_ST_NSEC]
24897 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24898 Define using time_t rather than struct timespec.
24899
750c1f2a
RM
24900 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24901 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24902 Macros removed.
24903 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24904 [!NO_THREADS].
24905 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24906 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24907 Likewise.
24908
2ae1ae5c
RM
24909 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24910 __libc_cleanup_push argument.
24911
e66a42f5
RM
24912 * bits/param.h: New file.
24913 * misc/sys/param.h: New file.
24914 * include/sys/param.h: New file.
24915 * misc/Makefile (headers): Add bits/param.h.
24916 * sysdeps/generic/sys/param.h: File removed.
24917 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24918 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24919 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24920 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24921
b7c08a66
RM
24922 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24923 last change.
24924
b2e1c562
RM
24925 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24926 [_IO_MTSAFE_IO].
24927 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24928 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24929 New macros.
24930
c75ccd4c
RM
24931 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24932 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24933 rather than -D_IO_MTSAFE_IO conditionally.
24934 * stdio-common/Makefile (CPPFLAGS): Likewise.
24935 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24936 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24937 Use $(libio-mtsafe).
24938 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24939 of -D_IO_MTSAFE_IO.
24940 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24941 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24942 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24943 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24944 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24945 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24946 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24947 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24948 (CFLAGS-fread_u_chk.c): Likewise.
24949 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24950 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24951 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24952 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24953 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24954 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24955 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24956 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24957 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24958
24959 * libio/Makefile: Test [$(libc-reentrant) = yes]
24960 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24961
24962 * Makeconfig
24963 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24964 * sysdeps/pthread/configure: File removed.
24965 * sysdeps/pthread/Makeconfig: New file.
24966 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24967 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24968
d9195db8
GB
249692012-08-16 Gary Benson <gbenson@redhat.com>
24970
24971 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24972 unmapping the first object in a namespace.
24973
86466cd9
RM
249742012-08-16 Roland McGrath <roland@hack.frob.com>
24975
24976 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24977 (__internal_setnetgrent): ... this. Add internal_function to
24978 definition. Add libc_hidden_def.
24979 (setnetgrent): Update caller.
24980 (internal_endnetgrent): Renamed to ...
24981 (__internal_endnetgrent): ... this. Add internal_function to
24982 definition. Add libc_hidden_def.
24983 (endnetgrent): Update caller.
24984 (internal_getnetgrent_r): Renamed to ...
24985 (__internal_getnetgrent_r): ... this. Add internal_function to
24986 definition. Add libc_hidden_def.
24987 (__getnetgrent_r): Update caller.
24988 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24989
c3c8283c
JM
249902012-08-16 Joseph Myers <joseph@codesourcery.com>
24991
24992 * stdlib/longlong.h: Update from GCC.
24993
db1ee0a8
RM
249942012-08-16 Roland McGrath <roland@hack.frob.com>
24995
24996 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24997 on _QL, which is set by umul_ppmm but never used.
24998 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24999 variables, which are set by GMP macros but never used.
25000 * stdio-common/_itowa.c (_itowa): Likewise.
25001 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25002 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25003
30f69637
CD
250042012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25005
25006 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25007 struct La_sh_regs is not constant.
25008 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25009 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25010 and struct La_sparc64_regs are not constant.
25011
93a78ac4
JM
250122012-08-16 Joseph Myers <joseph@codesourcery.com>
25013
25014 * sysdeps/unix/sysv/linux/kernel-features.h
25015 (__ASSUME_POSIX_TIMERS): Remove.
25016 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25017 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25018 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25019 Make code unconditional.
25020 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25021 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25022 Make code unconditional.
25023 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25024 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25025 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25026 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25027 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25028 Make code unconditional.
25029 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25030 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25031 (__libc_missing_posix_timers): Remove.
25032
dd924cd7
RM
250332012-08-15 Roland McGrath <roland@hack.frob.com>
25034
4b4f2771
RM
25035 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25036 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25037
601c888b
RM
25038 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25039
176790a7
RM
25040 * elf/dl-sym.c: Include <stdlib.h>.
25041
329bc018
RM
25042 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25043 constants, which avoids warnings in 32-bit builds.
25044
e04e272d
RM
25045 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25046 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25047
952bf94a
RM
25048 * misc/lseek.c: File moved to ...
25049 * io/lseek.c: ... here.
25050
7c99b50a
RM
25051 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25052
dd924cd7
RM
25053 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25054 shifting LEN more than 31 bits at once.
25055
b3f479a8
LD
250562012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25057
25058 [BZ #14195]
8c4ae0d4
RM
25059 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25060 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25061 * string/test-strncasecmp.c (check1): Renamed to...
25062 (bz12205): ...this.
25063 (bz14195): Add new testcase for two empty input strings and N > 0.
25064 (test_main): Call new testcase, adapt for renamed function.
25065
9c55864e
AJ
250662012-08-15 Andreas Jaeger <aj@suse.de>
25067
25068 [BZ #14090]
25069 * crypt/md5test2.c: New test, based on test supplied by Serge
25070 Belyshev <belyshev@depni.sinp.msu.ru>.
25071 * crypt/Makefile (xtests): Add md5test-giant..
25072 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25073
02dcb6c5
PE
250742012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25075
25076 [BZ #14090]
25077 * crypt/md5.c (md5_process_block): Don't assume the buffer
25078 length is less than 2**32.
25079 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25080 length is less than 2**64.
25081
a3f95dcc
RM
250822012-08-15 Roland McGrath <roland@hack.frob.com>
25083
be75d758
RM
25084 * string/str-two-way.h: Include <sys/param.h>.
25085 (MAX): Macro removed.
25086
7312ca90
RM
25087 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25088 Move #define and #undef of memmove to just before and after
25089 including <string.h>.
25090
9a0a5486
RM
25091 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25092 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25093 and after including <string.h>. Move declarations of
25094 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25095 to before #include "string/memmove.c".
25096
67cc348d
RM
25097 * include/dirent.h: Declare __getdirentries.
25098
a3f95dcc
RM
25099 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25100 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25101
ca98e171
MF
251022012-08-14 Mike Frysinger <vapier@gentoo.org>
25103
25104 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25105 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25106 * sysdeps/i386/configure: Regenerated.
25107 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25108 STABS_CURRENT_FILE, and STABS_FUN.
25109 (END): Remove call to STABS_FUN_END.
25110 (STABS_CURRENT_FILE1): Delete.
25111 (STABS_CURRENT_FILE): Likewise.
25112 (STABS_FUN): Likewise.
25113 (STABS_FUN_END): Likewise.
25114 (STABS_FUN2): Likewise.
25115 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25116 * sysdeps/x86_64/configure: Regenerated.
25117
5908bf46
RM
251182012-08-14 Roland McGrath <roland@hack.frob.com>
25119
25120 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25121 * elf/dl-lookup.c: Likewise.
5908bf46 25122
f2c05b9e
JM
251232012-08-14 Joseph Myers <joseph@codesourcery.com>
25124
25125 * sysdeps/unix/sysv/linux/kernel-features.h
25126 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25127 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25128 unconditionally.
25129 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25130 unconditionally.
25131 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25132 condition on __ASSUME_CLONE_THREAD_FLAGS.
25133
e11f5155
AJ
251342012-08-14 Andreas Jaeger <aj@suse.de>
25135
25136 * sysdeps/i386/fpu/libm-test-ulps: Update.
25137
51a9ba86
MK
251382012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25139
2fdd4f78
AJ
25140 * include/atomic.h (atomic_exchange_and_add): Split into ...
25141 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25142 New atomic macros.
51a9ba86 25143
ba6cba9e
MT
251442012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25145
25146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25147
42443a47
JL
251482012-08-13 Jeff Law <law@redhat.com>
25149
25150 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25151 null byte in the output string.
25152
121dce05
JM
251532012-08-10 Joseph Myers <joseph@codesourcery.com>
25154
25155 * sysdeps/unix/sysv/linux/kernel-features.h
25156 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25157 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25158 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25159 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25160 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25161 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25162 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25163
bf51f568
JL
251642012-08-09 Jeff Law <law@redhat.com>
25165
25166 [BZ #13939]
25167 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25168 When avoid_arena is set, don't retry in the that arena. Pick the
25169 next one, whatever it might be.
25170 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25171 (arena_lock): Pass in new parameter to arena_get2.
25172 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25173 arena_get2.
25174 (__libc_malloc): Unify retrying after main arena failure with
25175 __libc_memalign version.
25176 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25177
f85fa270
L
251782012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25179
25180 [BZ #14166]
25181 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25182 to __redirect_strstr.
25183 (__strstr_sse42): Use typeof __redirect_strstr.
25184 (__strstr_ia32): Likewise.
25185 (__libc_strstr): New prototype.
25186 (strstr): Renamed to ...
25187 (__libc_strstr): This.
25188 (strstr): New strong alias of __libc_strstr.
25189 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25190 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25191 __redirect_time.
25192 Include <time.h>.
25193 (__libc_time): New prototype.
25194 (time_ifunc): Replace time with __libc_time.
25195 (time): New strong alias and hidden definition of __libc_time.
25196 (__GI_time): Remove strong alias.
25197 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25198 Include <stddef.h>.
25199 (memmove): Redefined to __redirect_memmove.
25200 (__memmove_sse2): Use typeof __redirect_memmove.
25201 (__memmove_ssse3): Likewise.
25202 (__memmove_ssse3_back): Likewise.
25203 (__libc_memmove): New prototype.
25204 (memmove): Renamed to ...
25205 (__libc_memmove): This.
25206 (memmove): New strong alias of __libc_memmove.
25207
33b4a91e
MS
252082012-08-08 Mark Salter <msalter@redhat.com>
25209
25210 * elf/elf.h
25211 (R_MN10300_TLS_GD): Define.
25212 (R_MN10300_TLS_LD): Likewise.
25213 (R_MN10300_TLS_LDO): Likewise.
25214 (R_MN10300_TLS_GOTIE): Likewise.
25215 (R_MN10300_TLS_IE): Likewise.
25216 (R_MN10300_TLS_LE): Likewise.
25217 (R_MN10300_TLS_DTPMOD): Likewise.
25218 (R_MN10300_TLS_DTPOFF): Likewise.
25219 (R_MN10300_TLS_TPOFF): Likewise.
25220 (R_MN10300_SYM_DIFF): Likewise.
25221 (R_MN10300_ALIGN): Likewise.
25222 (R_MN10300_NUM): Update.
25223
b36137f1
JM
252242012-08-08 Joseph Myers <joseph@codesourcery.com>
25225
25226 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25227 Remove.
25228
cdd915fd
RM
252292012-08-08 Roland McGrath <roland@hack.frob.com>
25230
a2433aac
RM
25231 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25232
cdd915fd
RM
25233 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25234 sysdeps/unix -> sysdeps/posix move.
25235 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25236
bf9b740a
AM
252372012-08-07 Allan McRae <allan@archlinux.org>
25238
25239 [BZ #14303]
25240 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25241 (SUNOS_CPP): Likewise.
25242 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25243 not found.
25244 (open_input): Call CPP using execvp.
25245
93df14ee
JM
252462012-08-07 Joseph Myers <joseph@codesourcery.com>
25247
25248 * sysdeps/unix/sysv/linux/kernel-features.h
25249 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25250 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25251 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25252 (__ASSUME_WAITID_SYSCALL): Likewise.
25253 * sysdeps/unix/sysv/linux/dl-execstack.c
25254 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25255 code unconditional.
25256 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25257 conditional code.
25258 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25259 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25260 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25261 code.
25262 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25263 unconditional.
25264 [__ASSUME_WAITID_SYSCALL]: Likewise.
25265 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25266
d34689de
RM
252672012-08-07 Roland McGrath <roland@hack.frob.com>
25268
a281decc
RM
25269 * sysdeps/unix/closedir.c: Renamed to ...
25270 * sysdeps/posix/closedir.c: ... here.
25271 * sysdeps/unix/dirfd.c: Renamed to ...
25272 * sysdeps/posix/dirfd.c: ... here.
25273 * sysdeps/unix/dirstream.h: Renamed to ...
25274 * sysdeps/posix/dirstream.h: ... here.
25275 * sysdeps/unix/fdopendir.c: Renamed to ...
25276 * sysdeps/posix/fdopendir.c: ... here.
25277 * sysdeps/unix/opendir.c: Renamed to ...
25278 * sysdeps/posix/opendir.c: ... here.
25279 * sysdeps/unix/readdir.c: Renamed to ...
25280 * sysdeps/posix/readdir.c: ... here.
25281 * sysdeps/unix/readdir_r.c: Renamed to ...
25282 * sysdeps/posix/readdir_r.c: ... here.
25283 * sysdeps/unix/rewinddir.c: Renamed to ...
25284 * sysdeps/posix/rewinddir.c: ... here.
25285 * sysdeps/unix/seekdir.c: Renamed to ...
25286 * sysdeps/posix/seekdir.c: ... here.
25287 * sysdeps/unix/telldir.c: Renamed to ...
25288 * sysdeps/posix/telldir.c: ... here.
25289 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25290 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25291 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25292 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25293
22895b47
RM
25294 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25295 * bits/fcntl.h: ... here.
25296
707a53b6
RM
25297 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25298 not 0.
25299 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25300 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25301 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25302 (struct flock): Move l_start, l_len to the beginning.
25303 Use __pid_t for l_pid.
25304 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25305 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25306 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25307 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25308 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25309 [__USE_LARGEFILE64] (struct flock64): New type.
25310 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25311
f0bd3e25
RM
25312 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25313 * bits/dirent.h: ... here.
25314
d34689de
RM
25315 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25316 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25317
6dad2c06
JM
253182012-08-07 Joseph Myers <joseph@codesourcery.com>
25319
25320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25321 Change from 2.6.0 to 2.6.16.
25322 * sysdeps/unix/sysv/linux/configure: Regenerated.
25323 * sysdeps/unix/sysv/linux/kernel-features.h
25324 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25325 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25326 version.
25327 (__ASSUME_UTIMES): Likewise.
25328 (__ASSUME_CLONE_STOPPED): Remove.
25329 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25330 architectures, not kernel version.
25331 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25332 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25333 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25334 (__ASSUME_WAITID_SYSCALL): Likewise.
25335 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25336 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25337 * README: State 2.6.16 as minimum Linux kernel version. Do not
25338 refer to older versions.
25339
03af9520
RM
253402012-08-06 Roland McGrath <roland@hack.frob.com>
25341
8e49df1d
RM
25342 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25343 Define alphasort64 as an alias.
25344 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25345 Define versionsort64 as an alias.
25346 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25347 Define scandir64 as an alias.
25348 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25349 Define scandirat64 as an alias.
25350 * dirent/alphasort64.c (alphasort64):
25351 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25352 * dirent/versionsort64.c: Likewise.
25353 * dirent/scandir64.c: Likewise.
25354 * dirent/scandirat64.c: Likewise.
25355 * sysdeps/wordsize-64/alphasort.c: File removed.
25356 * sysdeps/wordsize-64/alphasort64.c: File removed.
25357 * sysdeps/wordsize-64/scandir.c: File removed.
25358 * sysdeps/wordsize-64/scandir64.c: File removed.
25359 * sysdeps/wordsize-64/scandirat.c: File removed.
25360 * sysdeps/wordsize-64/scandirat64.c: File removed.
25361 * sysdeps/wordsize-64/versionsort.c: File removed.
25362 * sysdeps/wordsize-64/versionsort64.c: File removed.
25363 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25364 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25365 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25366 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25367 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25368 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25369 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25370 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25371
25372 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25374 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25376 [defined __arch64__ || defined __sparcv9]
25377 (__INO_T_MATCHES_INO64_T): New macro.
25378 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25379 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25380 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25381 * sysdeps/unix/sysv/linux/bits/dirent.h
25382 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25383 (_DIRENT_MATCHES_DIRENT64): New macro.
25384
03af9520
RM
25385 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25386 Define lockf64 as an alias.
25387 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25388 Define fseeko64 as an alias.
25389 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25390 Define ftello64 as an alias.
25391 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25392 Define _IO_fgetpos64 and fgetpos64 as aliases.
25393 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25394 Define _IO_fsetpos64 and fsetpos64 as aliases.
25395 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25396 Conditionalize body on this.
25397 * libio/fseeko64.c: Likewise.
25398 * libio/ftello64.c: Likewise.
25399 * libio/iofgetpos64.c: Likewise.
25400 * libio/iofsetpos64.c: Likewise.
25401 * sysdeps/wordsize-64/lockf.c: File removed.
25402 * sysdeps/wordsize-64/lockf64.c: File removed.
25403 * sysdeps/wordsize-64/fseeko.c: File removed.
25404 * sysdeps/wordsize-64/fseeko64.c: File removed.
25405 * sysdeps/wordsize-64/ftello.c: File removed.
25406 * sysdeps/wordsize-64/ftello64.c: File removed.
25407 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25408 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25409 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25410 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25411 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25412 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25414 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25415 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25416 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25417 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25418 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25419 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25421
25422 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25424 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25426 [defined __arch64__ || defined __sparcv9]
25427 (__OFF_T_MATCHES_OFF64_T): New macro.
25428 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25429 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25431 (__OFF_T_MATCHES_OFF64_T): New macro.
25432
c5757acd
L
254332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25434
25435 * stdlib/secure-getenv.c (__secure_getenv): Replace
25436 GLIBC_2_16 with GLIBC_2_17.
25437
3a31811e
L
254382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25439
25440 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25441 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25442
faa2bccb
DM
254432012-08-03 David S. Miller <davem@davemloft.net>
25444
25445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25446
85fe1997
JM
254472012-08-03 Joseph Myers <joseph@codesourcery.com>
25448
25449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25450 Remove.
25451 (__ASSUME_CORRECT_SI_PID): Likewise.
25452 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25453 (__ASSUME_TMPFS_NAME): Likewise.
25454 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25455 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25456 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25457 (HAVE_AUX_SECURE): Make definition unconditional.
25458 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25459 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25460
4f75b7a0
RM
254612012-08-03 Roland McGrath <roland@hack.frob.com>
25462
25463 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25464 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25465 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25466 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25467 __eloop_threshold instead of SYMLOOP_MAX.
25468
25469 * sysdeps/generic/eloop-threshold.h: New file.
25470 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25471 of MAXSYMLINKS.
25472 * elf/chroot_canon.c (chroot_canon): Likewise.
25473
7aab07e4
JM
254742012-08-03 Joseph Myers <joseph@codesourcery.com>
25475
25476 [BZ #13717]
25477 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25478 Change to 2.6.0 everywhere.
25479 * sysdeps/unix/sysv/linux/configure: Regenerated.
25480 * sysdeps/unix/sysv/linux/kernel-features.h
25481 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25482 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25483 kernel versions.
25484 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25485 (__ASSUME_FUTEX_REQUEUE): Remove.
25486 (__ASSUME_STATFS64): Define unconditionally.
25487 (__ASSUME_AT_SECURE): Likewise.
25488 (__ASSUME_CORRECT_SI_PID): Likewise.
25489 (__ASSUME_TGKILL): Define without depending on kernel version for
25490 i386.
25491 (__ASSUME_UTIMES): Likewise.
25492 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25493 kernel version.
25494 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25495 (__ASSUME_TMPFS_NAME): Likewise.
25496 * README: Update reference to Linux kernel versions.
25497
b67e9372
MP
254982012-08-02 Marek Polacek <polacek@redhat.com>
25499
1f529f7d 25500 [BZ# 14150]
b67e9372
MP
25501 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25502 libc_cv_asm_type_prefix with %.
25503 * configure: Regenerated.
d2441631
RM
25504 * include/libc-symbols.h: Remove comment about
25505 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25506 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25507 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25508 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25509 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25510 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25511 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25512 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25513 * elf/tst-unique2mod1.c: Likewise.
25514 * elf/tst-unique1mod2.c: Likewise.
25515 * elf/tst-unique1mod1.c: Likewise.
25516 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25517 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25518 Replace ASM_TYPE_DIRECTIVE with .type.
25519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25520 * sysdeps/i386/sysdep.h: Likewise.
25521 * sysdeps/x86_64/sysdep.h: Likewise.
25522 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25524 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25525 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25526 * sysdeps/powerpc/powerpc32/sysdep.h:
25527 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25528 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25529 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25530 * sysdeps/i386/fpu/e_powf.S: Likewise.
25531 * sysdeps/i386/fpu/e_expl.S: Likewise.
25532 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25533 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25534 * sysdeps/i386/fpu/e_pow.S: Likewise.
25535 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25536 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25537 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25538 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25539 * sysdeps/i386/fpu/e_log2.S: Likewise.
25540 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25541 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25542 * sysdeps/i386/fpu/e_powl.S: Likewise.
25543 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25544 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25545 * sysdeps/i386/fpu/e_logl.S: Likewise.
25546 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25547 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25548 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25549 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25550 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25551 * sysdeps/i386/fpu/e_log.S: Likewise.
25552 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25553 * sysdeps/i386/fpu/e_logf.S: Likewise.
25554 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25555 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25556 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25557 * sysdeps/i386/fpu/e_log10.S: Likewise.
25558 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25559 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25560 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25561 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25562 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25563 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25564 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25565 * sysdeps/i386/i686/strtok.S: Likewise.
25566 * sysdeps/i386/i386-mcount.S: Likewise.
25567 * sysdeps/i386/strtok.S: Likewise.
25568 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25569 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25570 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25571 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25572 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25573 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25574 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25575 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25576 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25577 * sysdeps/x86_64/_mcount.S: Likewise.
25578 * sysdeps/x86_64/strtok.S: Likewise.
25579 * sysdeps/sh/_mcount.S: Likewise.
25580
2747bf9a
RM
255812012-08-01 Roland McGrath <roland@hack.frob.com>
25582
25583 * libio/iofopen.c: Include <fcntl.h>.
25584 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25585 (_IO_fopen64, fopen64): Define as aliases.
25586 * libio/iofopen64.c: Include <fcntl.h>.
25587 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25588 Conditionalize body on this.
25589 * sysdeps/wordsize-64/iofopen.c: File removed.
25590 * sysdeps/wordsize-64/iofopen64.c: File removed.
25591
3fb791b8
MP
255922012-08-01 Marek Polacek <polacek@redhat.com>
25593
25594 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25595 Use dlfcn directly instead of a variable.
25596 (binfmt-subdir): Do not define.
25597 (dlfcn): Likewise.
25598
a9f1039f
JM
255992012-08-01 Joseph Myers <joseph@codesourcery.com>
25600
23bddc06
JM
25601 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25602 Remove all definitions.
25603 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25604 <kernel-features.h>.
25605 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25606 (miss_F_GETOWN_EX): Remove all definitions.
25607 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25608 macro definition.
25609 [!__ASSUME_FCNTL64]: Remove conditional code.
25610 [__ASSUME_FCNTL64]: Make code unconditional.
25611 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25612 <kernel-features.h>.
25613 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25614 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25615 (lockf64) [__NR_fcntl64]: Make code unconditional.
25616 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25617
a9f1039f
JM
25618 * sysdeps/unix/sysv/linux/kernel-features.h
25619 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25620 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25621 Make code unconditional.
25622 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25623 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25625 [__NR_vfork]: Make code unconditional.
25626 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25627 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25629 [__NR_vfork]: Make code unconditional.
25630 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25631 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25632
09c0ee5f
RM
256332012-08-01 Roland McGrath <roland@hack.frob.com>
25634
48aec5b9
RM
25635 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25636 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25637
cd97c966
RM
25638 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25639 Define mkstemp64 as an alias.
3f55550c
RM
25640 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25641 Define mkstemps64 as an alias.
cd97c966
RM
25642 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25643 Define mkostemp64 as an alias.
b8625cfc
RM
25644 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25645 Define mkostemps64 as an alias.
cd97c966
RM
25646 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25647 Conditionalize body on this.
25648 * misc/mkostemp64.c: Likewise.
b8625cfc 25649 * misc/mkostemps64.c: Likewise.
3f55550c 25650 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25651 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25652 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25653 * sysdeps/wordsize-64/mkostemp.c: File removed.
25654 * sysdeps/wordsize-64/mkstemp.c: File removed.
25655 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25657 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25659
09c0ee5f
RM
25660 [BZ #14138]
25661 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25662 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25663 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25664 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25665
25666 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25667 compat_symbol macros from <shlib-compat.h> rather than the underlying
25668 default_symbol_version and symbol_version macros, so that DEFAULT
25669 lines in shlib-versions are respected.
25670 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25671
7e66ee51
FW
256722012-08-01 Florian Weimer <fweimer@redhat.com>
25673
25674 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25675 Declare with warn_unused_result.
25676 (setgid, setregid, setegid, setresgid): Likewise.
25677 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25678 Likewise.
25679 * WUR-REPORT: Remove set*id functions.
25680
d2a54255
PT
256812012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25682
25683 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25684
7ecdb005
RM
256852012-07-31 Roland McGrath <roland@hack.frob.com>
25686
b4180a5e 25687 [BZ #10191]
789bd351
RM
25688 * include/sys/socket.h (__libc_accept, __libc_accept4):
25689 Add attribute_hidden.
25690 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25691
40ce302d
RM
25692 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25693 use of PTR_MANGLE.
25694 * inet/getnetgrent_r.c (setup): Likewise.
25695
7ecdb005
RM
25696 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25697
e2eabb2c
DM
256982012-07-31 David S. Miller <davem@davemloft.net>
25699
25700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25701
d0419dbf
JM
257022012-07-31 Joseph Myers <joseph@codesourcery.com>
25703
25704 [BZ #13629]
25705 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25706 value between 1.0 and 2.0 and smaller part has absolute value less
25707 than 1.0.
25708 * math/s_clog10.c (__clog10): Likewise.
25709 * math/s_clog10f.c (__clog10f): Likewise.
25710 * math/s_clog10l.c (__clog10l): Likewise.
25711 * math/s_clogf.c (__clogf): Likewise.
25712 * math/s_clogl.c (__clogl): Likewise.
25713 * math/libm-test.inc (clog_test): Add more tests.
25714 (clog10_test): Likewise.
25715 * sysdeps/i386/fpu/libm-test-ulps: Update.
25716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25717
2bc13872
FW
257182012-07-31 Florian Weimer <fweimer@redhat.com>
25719
25720 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25721 Exit with zero in case no suitable GID is found, and write a
25722 message to standard error.
25723
bea9b193
RM
257242012-07-30 Roland McGrath <roland@hack.frob.com>
25725
25726 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25727 rather than to 1.
25728 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25729 (MAXPATHLEN): Removed.
25730 (NOGROUP, NODEV): New macros.
25731 (setbit, clrbit, isset, isclr): New macros.
25732 (howmany, roundup, powerof2): New macros.
25733 (DEV_BSIZE): New macro.
25734
25735 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25736 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25737
25738 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25739 definition on [!__NO_LONG_DOUBLE_MATH].
25740
25741 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25742 PTR_MANGLE and PTR_DEMANGLE.
25743
25744 * socket/accept4.c (accept4): Rename to __libc_accept4.
25745 Define accept4 as a weak alias.
25746
25747 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25748 on [_DIRENT_HAVE_D_TYPE].
25749 * io/ftw.c (ftw_dir): Likewise.
25750
25751 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25752
25753 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25754
25755 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25756 Use the BSD numbers rather than the arbitrary ones we had.
25757 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25758 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25759 (SIGXCPU, SIGXFSZ): New macros.
25760 (_NSIG): Now 32.
25761
25762 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25763 initializer on [_LIBC_REENTRANT].
25764
25765 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25766 definitions inside [_POSIX_MAPPED_FILES].
25767
25768 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25769
25770 * dirent/opendir.c: Include <fcntl.h>.
25771
25772 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25773 (__libc_getspecific): Likewise.
25774 (__libc_key_create): Likewise.
25775
25776 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25777 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25778 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25779 (tmpfile64): Define as alias.
25780 * sysdeps/wordsize-64/tmpfile.c: File removed.
25781 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25782 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25783 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25784
25785 * stdio-common/vfscanf.c: Include <stdbool.h>.
25786 * nss/makedb.c: Likewise.
25787 * stdio-common/_i18n_number.h: Likewise.
25788 * argp/argp-help.c: Likewise.
25789 * posix/wordexp.c: Likewise.
25790 * sysdeps/posix/spawni.c: Likewise.
25791 * nss/nss_files/files-initgroups.c: Likewise.
25792 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25793 * nss/nss_files/files-initgroups.c: Likewise.
25794 * nss/nss_db/db-netgrp.c: Likewise.
25795 * nss/nss_db/db-initgroups.c: Likewise.
25796 * io/fchmodat.c: Include <sys/stat.h>.
25797
25798 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25799 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25800
25801 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25802 [HAVE_MMAP].
25803
25804 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25805 Add multiple inclusion protection.
25806
e5abc686
DM
258072012-07-27 David S. Miller <davem@davemloft.net>
25808
25809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25810
815e6fa3
GB
258112012-07-27 Gary Benson <gbenson@redhat.com>
25812
25813 [BZ #14298]
25814 * elf/rtld.c: Include <stap-probe.h>.
25815 (dl_main): Added static probes "init_start" and "init_complete".
25816 * elf/dl-load.c: Include <stap-probe.h>.
25817 (lose): Take new parameter "nsid".
25818 Added static probe "map_failed".
25819 (_dl_map_object_from_fd): Pass namespace id to lose.
25820 Added static probe "map_start".
25821 (open_verify): Pass namespace id to lose.
25822 * elf/dl-open.c: Include <stap-probe.h>.
25823 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25824 and "reloc_complete".
25825 * elf/dl-close.c: Include <stap-probe.h>.
25826 (_dl_close_worker): Added static probes "unmap_start" and
25827 "unmap_complete".
25828 * elf/rtld-debugger-interface.txt: New file documenting the above.
25829
9f98c16c
RM
258302012-07-26 Roland McGrath <roland@hack.frob.com>
25831
25832 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25833 rather than a string variable.
25834 * sunrpc/rpc_main.c (h_output): Likewise.
25835 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25836
f3c22df3
PT
258372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25838
25839 * inet/check_native.c: New file.
25840
3129cfc6
JM
258412012-07-26 Joseph Myers <joseph@codesourcery.com>
25842
da865e95
JM
25843 [BZ #13629]
25844 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25845 if larger part has absolute value 1.0.
25846 * math/s_clog10.c (__clog10): Likewise.
25847 * math/s_clog10f.c (__clog10f): Likewise.
25848 * math/s_clog10l.c (__clog10l): Likewise.
25849 * math/s_clogf.c (__clogf): Likewise.
25850 * math/s_clogl.c (__clogl): Likewise.
25851 * math/libm-test.inc (clog_test): Add more tests.
25852 (clog10_test): Likewise.
25853 * sysdeps/i386/fpu/libm-test-ulps: Update.
25854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25855
3129cfc6
JM
25856 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25857 (pltexit): Likewise.
25858 (La_regs): Likewise.
25859 (La_retval): Likewise.
25860 (int_retval): Likewise.
25861 Update #error for removed macros to refer only to definitions in
25862 tst-audit.h.
25863 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25864 macro.
25865 (pltexit): Likewise.
25866 (La_regs): Likewise.
25867 (La_retval): Likewise.
25868 (int_retval): Likewise.
25869 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25870 macro.
25871 (pltexit): Likewise.
25872 (La_regs): Likewise.
25873 (La_retval): Likewise.
25874 (int_retval): Likewise.
25875 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25876 macro.
25877 (pltexit): Likewise.
25878 (La_regs): Likewise.
25879 (La_retval): Likewise.
25880 (int_retval): Likewise.
25881 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25882 macro.
25883 (pltexit): Likewise.
25884 (La_regs): Likewise.
25885 (La_retval): Likewise.
25886 (int_retval): Likewise.
25887 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25888 macro.
25889 (pltexit): Likewise.
25890 (La_regs): Likewise.
25891 (La_retval): Likewise.
25892 (int_retval): Likewise.
25893 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25894 macro.
25895 (pltexit): Likewise.
25896 (La_regs): Likewise.
25897 (La_retval): Likewise.
25898 (int_retval): Likewise.
25899 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25900 macro definitions in tst-audit.h.
25901 * sysdeps/i386/tst-audit.h: New file.
25902 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25903 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25904 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25905 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25906 * sysdeps/sh/tst-audit.h: Likewise.
25907 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25908 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25909 * sysdeps/x86_64/tst-audit.h: Likewise.
25910
bfc07087
AJ
259112012-07-26 Andreas Jaeger <aj@suse.de>
25912
b1b2aaf8
AJ
25913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25914 ptrace.
25915
25916 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25917 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25918 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25919 PTRACE_O_MASK.
25920 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25921 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25922 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25923
bfc07087
AJ
25924 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25925 value.
25926
25927 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25928 _sigsys.
25929 (si_call_addr, si_syscall, si_arch): Define new macro.
25930 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25931 _sigsys.
25932 (si_call_addr, si_syscall, si_arch): Define new marcro.
25933 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25934 _sigsys.
25935 (si_call_addr, si_syscall, si_arch): Define new macro.
25936 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25937 _sigsys.
25938 (si_call_addr, si_syscall, si_arch): Define new macro.
25939
89b4b02f
JM
259402012-07-25 Joseph Myers <joseph@codesourcery.com>
25941
25942 [BZ #13717]
25943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25944 Change to 2.4.21 where previously 2.4.1.
25945 * sysdeps/unix/sysv/linux/configure: Regenerated.
25946 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25947 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25948 Linux kernel version.
25949 (__ASSUME_STD_AUXV): Remove.
25950 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25951 kernel version.
25952 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25953 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25954 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25955 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25956 (__ASSUME_NETLINK_SUPPORT): Likewise.
25957 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25958 (__no_netlink_support): Remove conditional definition.
25959 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25960 Remove.
25961 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25962 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25963 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25964 (if_nameindex_ioctl): Remove.
25965 (if_nameindex_netlink): Do not handle __no_netlink_support.
25966 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25967 code.
25968 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25969 Remove conditional code.
25970 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25971 code.
25972 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25973 unconditional.
25974 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25975 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25976 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25977 Remove.
25978 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25979 [!__ASSUME_STD_AUXV]: Remove conditional code.
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25981 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25982 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25984 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25985 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25986 code.
25987 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25989 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25990 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25991 conditional code.
25992 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25994 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25995 code.
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25997 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25998 conditional code.
25999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26000 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26001 code unconditional.
26002 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26003 conditional code.
26004 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26005 unconditional.
26006 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26007 conditional code.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26009 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26010 unconditional.
26011 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26012 conditional code.
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26014 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26015 code unconditional.
26016 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26017 conditional code.
26018 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26019 unconditional.
26020 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26021 conditional code.
26022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26023 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26024 code unconditional.
26025 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26026 conditional code.
26027 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26028 unconditional.
26029 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26030 conditional code.
26031
842a39cd
AS
260322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26033
26034 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26035 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26036 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26037 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26038 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26039 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26040 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26041 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26042 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26043 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26044 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26045 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26046 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26047 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26048 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26049 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26050 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26051 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26052 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26054 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26055 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26056 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26057
84b3fd84
FW
260582012-07-25 Florian Weimer <fweimer@redhat.com>
26059
26060 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26061 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26062 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26063 Introduce __libc_secure_getenv.
0c7936d5
FW
26064 * stdlib/Versions (2.17): Add secure_getenv
26065 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26066 * stdlib/secure-getenv.c: Rename __secure_getenv to
26067 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26068 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26069 * stdlib/tst-secure-getenv.c: New.
26070 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26071 * manual/startup.texi (Environment Access): Document
26072 secure_getenv.
84b3fd84
FW
26073 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26074 __libc_secure_getenv.
26075 * inet/ruserpass.c (ruserpass): Likewise.
26076 * malloc/mtrace.c (mtrace): Likewise.
26077 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26078 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26079 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26080 * sysdeps/posix/tempname.c: Likewise. Evaluate
26081 HAVE_SECURE_GETENV.
26082 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26083 __secure_getenv to __libc_secure_getenv.
84b3fd84 26084 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26086 Likewise.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26088 Likewise.
26089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26091 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26096
56e49b71
JM
260972012-07-25 Joseph Myers <joseph@codesourcery.com>
26098
26099 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26100 (struct La_i86_retval): Likewise.
26101 (struct La_x86_64_regs): Likewise.
26102 (struct La_x86_64_retval): Likewise.
26103 (struct La_x32_regs): Likewise.
26104 (struct La_x32_retval): Likewise.
26105 (struct La_ppc32_regs): Likewise.
26106 (struct La_ppc32_retval): Likewise.
26107 (struct La_ppc64_regs): Likewise.
26108 (struct La_ppc64_retval): Likewise.
26109 (struct La_sh_regs): Likewise.
26110 (struct La_sh_retval): Likewise.
26111 (struct La_s390_32_regs): Likewise.
26112 (struct La_s390_32_retval): Likewise.
26113 (struct La_s390_64_regs): Likewise.
26114 (struct La_s390_64_retval): Likewise.
26115 (struct La_sparc32_regs): Likewise.
26116 (struct La_sparc32_retval): Likewise.
26117 (struct La_sparc64_regs): Likewise.
26118 (struct La_sparc64_retval): Likewise.
26119 (struct audit_ifaces): Remove architecture-specific pltenter and
26120 pltexit members.
26121 * sysdeps/i386/ldsodefs.h: New file.
26122 * sysdeps/powerpc/ldsodefs.h: Likewise.
26123 * sysdeps/s390/ldsodefs.h: Likewise.
26124 * sysdeps/sh/ldsodefs.h: Likewise.
26125 * sysdeps/sparc/ldsodefs.h: Likewise.
26126 * sysdeps/x86_64/ldsodefs.h: Likewise.
26127
354691b7
MP
261282012-07-25 Marek Polacek <polacek@redhat.com>
26129
26130 [BZ #6808]
26131 * math/libm-test.inc (yn_test): Add another test.
26132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26133 to ERANGE when the result is +-Inf.
26134 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26135 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26136 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26137 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26138
bf9e2071
JM
261392012-07-24 Joseph Myers <joseph@codesourcery.com>
26140
26141 * conform/data/time.h-data (NULL): Use macro-constant. Require
26142 equal to 0.
26143 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26144 clock_t.
26145 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26146
57633811
TS
261472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26148
26149 * configure.in <sysdeps resolving>: Correct printing
26150 Implies_before.
26151 * configure: Regenerate.
26152
c23c33b0
TS
261532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26154
26155 * math/w_ilogb.c: Include <limits.h>.
26156 * math/w_ilogbl.c: Likewise.
26157
b5982523
JM
261582012-07-20 Joseph Myers <joseph@codesourcery.com>
26159
26160 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26161 va_copy. Document allowing for unavailable va_copy only as
26162 pre-C99 compatibility.
26163 * manual/string.texi (Copying and Concatenation): Use va_copy
26164 instead of __va_copy in concat example.
26165
ac4ea442
PT
261662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26167
26168 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26169 (__sendto): Use create_address_port. Initialize APORT and deallocate
26170 it if not null.
26171
f98eafbd
PT
26172 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26173 with O_NOLINK passed to __file_name_lookup.
26174
898c7aab
PT
26175 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26176 with O_NOLINK passed to __file_name_lookup.
26177
0ced335a
PT
26178 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26179 negative N or less than NGIDS.
26180
b3404dbd
PT
26181 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26182 type to string_t. Set ERANGE as errno and return it if NAME is not big
26183 enough. Use memcpy instead of strncpy.
26184
0f48659e
JM
261852012-07-20 Joseph Myers <joseph@codesourcery.com>
26186
26187 * elf/Makefile (check-data): Remove.
26188 (localplt.data): New vpath directive.
26189 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26190 instead of $(check-data).
26191 * scripts/data/localplt-generic.data: Move to ...
26192 * sysdeps/generic/localplt.data: ... here.
26193 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26194 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26195 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26197 ... here.
26198 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26200 ... here.
26201 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26203 ... here.
26204 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26206 ... here.
26207 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26209 ... here.
26210 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26212 ... here.
26213
d37cbdaa
AZ
262142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26215
26216 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26217 PPC32 and PPC64 files.
26218 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26219 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26220
46f85fc2
AK
262212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26222
26223 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26224 __makecontext_ret to ...
26225 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26226 ... here and call exit if uc_link is NULL. New file.
26227 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26228 __makecontext_ret.S.
26229 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26230 __makecontext_ret to ...
26231 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26232 ... here and call exit if uc_link is NULL. New file.
26233 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26234 __makecontext_ret.S.
26235
08f43f9b
AK
262362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26237
26238 * elf/elf.h (R_390_IRELATIVE): New definition.
26239 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26240 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26241 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26242 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26243 (elf_machine_lazy_rel): Likewise.
26244 * sysdeps/s390/dl-irel.h: New file.
26245 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26246 * sysdeps/s390/s390-64/memset.S: New asm code.
26247 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26248 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26249 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26250 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26251 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26252 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26253 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26254 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26255 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26256 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26257 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26258 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26259 * sysdeps/s390/s390-32/memset.S: New asm code.
26260 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26261
3b05db33
MP
262622012-07-17 Marek Polacek <polacek@redhat.com>
26263
26264 [BZ #14349]
26265 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26266 * sysdeps/s390/s390-64/configure.in: Likewise.
26267 * sysdeps/sparc/configure.in: Likewise.
26268 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26269 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26270 * sysdeps/i386/configure.in: Likewise.
26271 * sysdeps/x86_64/configure.in: Likewise.
26272 * sysdeps/sh/configure.in: Likewise.
26273 * sysdeps/s390/s390-32/configure: Regenerated.
26274 * sysdeps/s390/s390-64/configure: Likewise.
26275 * sysdeps/x86_64/configure: Likewise.
26276 * sysdeps/sh/configure: Likewise.
26277 * sysdeps/powerpc/powerpc64/configure: Likewise.
26278 * sysdeps/powerpc/powerpc32/configure: Likewise.
26279 * sysdeps/sparc/configure: Likwise.
26280 * sysdeps/i386/configure: Likewise.
26281
a66877c6
MP
26282 * elf/dl-open.c: Comment fixes.
26283
cfc82fd8
JM
262842012-07-17 Joseph Myers <joseph@codesourcery.com>
26285
bd29910a
JM
26286 * Makefile [CXX] (check-data): Remove.
26287 [CXX] (c++-types.data): New vpath directive.
26288 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26289 vpath. Do not allow for C++ type data being missing.
26290 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26291 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26292 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26293 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26294 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26295 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26296 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26298 ... here.
26299 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26301 ... here.
26302 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26304 ... here.
26305 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26307 ... here.
26308 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26310 ... here.
26311 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26313 ... here.
26314 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26316 ... here.
26317 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26319
cfc82fd8
JM
26320 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26321 definitions to architecture-specific files.
26322 (TLS_IE): Likewise.
26323 (TLS_LD): Likewise.
26324 (TLS_GD): Likewise.
26325 * sysdeps/i386/tls-macros.h: New file.
26326 * sysdeps/powerpc/tls-macros.h: Likewise.
26327 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26328 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26329 * sysdeps/sh/tls-macros.h: Likewise.
26330 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26331 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26332 * sysdeps/x86_64/tls-macros.h: Likewise.
26333
f7db3170
TS
263342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26335
07cbfc23
TS
26336 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26337 zero value for regular exit case.
26338
f7db3170
TS
26339 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26340 (__start_context): Preserve zero value for regular exit case.
26341
dc97c227
TS
263422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26343 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26344
26345 * manual/setjmp.texi (setcontext): Clarify normal process
26346 termination when uc_link is the null pointer.
26347 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26348 exit call.
26349
d0cd7d02
AS
263502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26351
26352 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26353 preprocessor. Test for each exception mask separately.
26354
dd318934
AJ
263552012-07-16 Andreas Jaeger <aj@suse.de>
26356
26357 * po/ru.po: Update from translation team.
26358
8048311a
JM
263592012-07-15 Joseph Myers <joseph@codesourcery.com>
26360
26361 * conform/data/string.h-data (NULL): Use macro-constant. Require
26362 equal to 0.
26363 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26364 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26365 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26366 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26368
b637d46e
AJ
263692012-07-13 Andreas Jaeger <aj@suse.de>
26370
26371 * po/fr.po: Update from translation team.
26372
541428fe
MP
263732012-07-12 Marek Polacek <polacek@redhat.com>
26374
26375 [BZ #14173]
26376 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26377 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26378 loop condition.
26379
ec332e94
JM
263802012-07-12 Joseph Myers <joseph@codesourcery.com>
26381
26382 [BZ #13717]
26383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26384 Change to 2.4.1 where previously 2.4.0.
26385 * sysdeps/unix/sysv/linux/configure: Regenerated.
26386 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26387 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26388 version.
26389 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26390 (__ASSUME_AT_CLKTCK): Remove.
26391 (__ASSUME_AT_PAGESIZE): Likewise.
26392 (__ASSUME_AT_XID): Likewise.
26393 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26394 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26395 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26396 unconditionally.
26397 (HAVE_AUX_PAGESIZE): Likewise.
26398 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26399 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26400 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26401
7b6e99be
JB
264022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26403
26404 [BZ #14307]
26405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26406 the temporary buffer used to invoke __gethostbyname2_r,
26407 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26408 host_data / struct gaih_addrtuple.
26409 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26410 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26411 header file nss/nsswitch.h.
26412 * nss/nsswitch.h (global scope): Add definition of implementation
26413 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26414 resolv/nss_dns/dns-host.c).
26415
608404eb
AJ
264162012-07-11 Andreas Jaeger <aj@suse.de>
26417
26418 * po/fr.po: Update from translation team.
26419
71220aca
AJ
26420 * po/sv.po: Update from translation team
26421 * po/fr.po: Another update from translation team.
26422
28cfe843
AZ
264232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26424
26425 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26426 for subnormals or multiply small sinh result by itself.
26427 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26429
6b90f981
DM
264302012-07-11 David S. Miller <davem@davemloft.net>
26431
26432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26433
c6825772
AS
264342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26435
26436 [BZ #14347]
26437 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26438 (INTERNAL_MARK): Shift it here.
26439
7b8e0d49
MP
264402012-07-10 Marek Polacek <polacek@redhat.com>
26441
26442 [BZ #14151]
26443 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26444 libc_cv_asm_global_directive with .globl.
26445 * configure: Regenerated.
26446 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26447 with .globl.
26448 * sysdeps/i386/configure: Regenerated.
26449 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26450 with .globl.
26451 * sysdeps/x86_64/configure: Regenerated.
26452 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26453 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26454 * elf/tst-unique2mod2.c: Likewise.
26455 * elf/tst-unique2mod1.c: Likewise.
26456 * elf/tst-unique1mod2.c: Likewise.
26457 * elf/tst-unique1mod1.c: Likewise.
26458 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26459 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26460 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26461 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26462 * sysdeps/mach/sysdep.h: Likewise.
26463 * sysdeps/i386/sysdep.h: Likewise.
26464 * sysdeps/i386/i386-mcount.S: Likewise.
26465 * sysdeps/x86_64/_mcount.S: Likewise.
26466 * sysdeps/x86_64/sysdep.h: Likewise.
26467 * sysdeps/sh/_mcount.S: Likewise.
26468 * sysdeps/sh/sysdep.h: Likewise.
26469 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26470 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26471 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26472 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26473 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26474 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26475 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26476 * locale/localeinfo.h: Likewise.
26477 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26478 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26479
6c55cda3
RM
264802012-07-09 Roland McGrath <roland@hack.frob.com>
26481
26482 [BZ #14336]
26483 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26484 system".
26485 * manual/message.texi (The Uniforum approach): Likewise.
26486 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26487 (glibc iconv Implementation): Likewise.
26488
638a572e
JM
264892012-07-09 Joseph Myers <joseph@codesourcery.com>
26490
26491 [BZ #14337]
26492 * math/s_clog.c (__clog): Avoid scaling a value down where that
26493 could result in underflow.
26494 * math/s_clog10.c (__clog10): Likewise.
26495 * math/s_clog10f.c (__clog10f): Likewise.
26496 * math/s_clog10l.c (__clog10l): Likewise.
26497 * math/s_clogf.c (__clogf): Likewise.
26498 * math/s_clogl.c (__clogl): Likewise.
26499 * math/libm-test.inc (clog_test): Add more tests.
26500 (clog10_test): Likewise.
26501 * sysdeps/i386/fpu/libm-test-ulps: Update.
26502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26503
261f4859
AS
265042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26505
0abaf3e4
AS
26506 [BZ #14283]
26507 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26508 by 7 not 8 to examine high bit of fractional part.
26509
261f4859
AS
26510 [BZ #14042]
26511 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26512 for call to __mcount_internal.
26513 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26514 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26515 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26516
f17ac40d
JM
265172012-07-06 Joseph Myers <joseph@codesourcery.com>
26518
9ad63c23
JM
26519 [BZ #14154]
26520 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26521 approximation for values within 0x1p-13f of an odd multiple of
26522 pi/4.
26523 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26524 exception. Add more tests.
26525 * sysdeps/i386/fpu/libm-test-ulps: Update.
26526
f17ac40d
JM
26527 [BZ #6778]
26528 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26529 inputs and return -1 for them. Do not check for +Inf in case not
26530 reachable for +Inf.
26531 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26532 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26533 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26534 and return -1 for them. Do not check for +Inf in case not
26535 reachable for +Inf.
26536 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26537 define.
26538 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26539 and return -1 for them. Do not check for +Inf in case not
26540 reachable for +Inf.
26541 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26542 spurious underflow.
26543 * sysdeps/i386/fpu/libm-test-ulps: Update.
26544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26545
fb21f89b
MF
265462012-07-06 Mike Frysinger <vapier@gentoo.org>
26547
26548 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26549
cdfe2c5e
JM
265502012-07-05 Joseph Myers <joseph@codesourcery.com>
26551
26552 [BZ #14157]
26553 [BZ #14331]
26554 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26555 could result in spurious underflow. Scale down values above
26556 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26557 * math/s_csqrtf.c (__csqrtf): Likewise.
26558 * math/s_csqrtl.c (__csqrtl): Likewise.
26559 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26560 spurious underflow.
26561 * sysdeps/i386/fpu/libm-test-ulps: Update.
26562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26563
70d35b67
AS
265642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26565
704bc459
AS
26566 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26567 xopen-msg.sed.
26568 * catgets/xopen-msg.awk: New file.
26569 * catgets/xopen-msg.sed: Removed.
26570
70d35b67
AS
26571 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26572 po2text.sed.
26573 * intl/po2test.awk: New file.
26574 * intl/po2test.sed: Removed.
26575
ca61cf32
JM
265762012-07-04 Joseph Myers <joseph@codesourcery.com>
26577
26578 [BZ #14328]
26579 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26580 or multiply small sinh result by itself.
26581 * math/s_ctanf.c (__ctanf): Likewise.
26582 * math/s_ctanh.c (__ctanh): Likewise.
26583 * math/s_ctanhf.c (__ctanhf): Likewise.
26584 * math/s_ctanhl.c (__ctanhl): Likewise.
26585 * math/s_ctanl.c (__ctanl): Likewise.
26586 * math/libm-test.inc (ctan_test_tonearest): New function.
26587 (ctan_test_towardzero): Likewise.
26588 (ctan_test_downward): Likewise.
26589 (ctan_test_upward): Likewise.
26590 (ctanh_test_tonearest): Likewise.
26591 (ctanh_test_towardzero): Likewise.
26592 (ctanh_test_downward): Likewise.
26593 (ctanh_test_upward): Likewise.
26594 (main): Call these new functions.
26595 * sysdeps/i386/fpu/libm-test-ulps: Update.
26596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26597
ca48a46a
MF
265982012-07-03 Mike Frysinger <vapier@gentoo.org>
26599
26600 * .gitignore: Delete /ports entry.
26601
9d63d37d
AJ
266022012-07-03 Andreas Jaeger <aj@suse.de>
26603
26604 * po/bg.po: Update from translation team.
26605 * po/cs.po: Likewise.
26606 * po/de.po: Likewise.
26607 * po/hr.po: Likewise.
26608 * po/nl.pl: Likewise.
26609 * po/pl.po: Likewise.
26610 * po/vi.po: Likewise.
26611
370ca3d2
JM
266122012-07-03 Joseph Myers <joseph@codesourcery.com>
26613
95f5a9a8
JM
26614 * Makeconfig [!+link] (+link-before-libc): New variable.
26615 [!+link] (+link-after-libc): Likewise.
26616 [!+link] (+link-tests): Likewise.
26617 [!+link] (+link): Define in terms of $(+link-before-libc) and
26618 $(+link-after-libc).
26619 [!+link-static] (+link-static-before-libc): New variable.
26620 [!+link-static] (+link-static-after-libc): Likewise.
26621 [!+link-static] (+link-static-tests): Likewise.
26622 [!+link-static] (+link-static): Define in terms of
26623 $(+link-static-before-libc) and $(+link-static-after-libc).
26624 [build-shared] (link-libc-before-gnulib): New variable.
26625 [build-shared] (link-libc-tests): Likewise.
26626 [build-shared] (link-libc): Define in terms of
26627 $(link-libc-before-gnulib).
26628 [!build-shared] (link-libc-tests): New variable.
26629 (link-libc-static-tests): New variable.
26630 [!gnulib] (gnulib-arch): New variable.
26631 [!gnulib] (gnulib-tests): Likewise.
26632 [!gnulib] (static-gnulib-arch): Likewise.
26633 [!gnulib] (static-gnulib-tests): Likewise.
26634 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26635 Define with "=" instead of ":=".
26636 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26637 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26638 * Rules (binaries-all-notests): New variable.
26639 (binaries-all-tests): Likewise.
26640 (binaries-static-notests): Likewise.
26641 (binaries-static-tests): Likewise.
26642 (binaries-all): Define using $(binaries-all-notests) and
26643 $(binaries-all-tests).
26644 (binaries-static): Define using $(binaries-static-notests) and
26645 $(binaries-static-tests).
26646 (binaries-shared-tests): New variable.
26647 (binaries-shared-notests): Likewise.
26648 (binaries-shared): Remove variable.
26649 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26650 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26651 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26652 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26653 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26654 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26655 * elf/Makefile (sln-modules): New variable.
26656 (extra-objs): Add $(sln-modules:=.o).
26657 (ldconfig-modules): Add static-stubs.
26658 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26659 * elf/static-stubs.c: New file.
26660
7a845b2c
JM
26661 [BZ #14283]
26662 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26663 by 7 not 8 to examine high bit of fractional part. Use volatile
26664 variables when splitting into final array of floats if
26665 __FLT_EVAL_METHOD__ != 0.
26666 * math/libm-test.inc (cos_test): Add another test.
26667 (sin_test): Likewise.
26668 * sysdeps/i386/fpu/libm-test-ulps: Update.
26669
e2283f38
JM
26670 [BZ #14273]
26671 * math/libm-test.inc (cosh_test): Add more tests.
26672
370ca3d2
JM
26673 * version.h (RELEASE): Set to "development".
26674 (VERSION): Set to "2.16.90".
26675
ee9247c3
CD
266762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26677
26678 * NEWS: Update copyright. Remove last-updated date.
26679 Mention math library bug fixes and timezone data changes.
26680 * README: Mention GNU/Hurd, x32, and HPPA support status.
26681
4648c381
TS
266822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26683
26684 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26685
aac78a43
AJ
266862012-06-27 Andreas Jaeger <aj@suse.de>
26687
26688 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26689
ed3dbfad
AJ
266902012-06-25 Andreas Jaeger <aj@suse.de>
26691
26692 * sysdeps/s390/fpu/libm-test-ulps: Update.
26693
4d0ee855
AS
266942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26695 Thomas Schwinge <thomas@codesourcery.com>
26696
26697 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26698 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26700 fanotify_mark.
26701
af1bce34
TS
267022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26703
a9fa33ba
TS
26704 * sysdeps/mach/start.c: Remove file.
26705 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26706 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26707 * sysdeps/sh/init-first.c: Likewise.
26708
58f902b8
TS
26709 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26710 registers for frame unwinding purposes, add CFI directives.
26711 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26712 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26713 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26714 Likewise.
26715
1518f58b
TS
26716 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26717 __fortify_fail returning.
26718 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26719
db9b5059
TS
26720 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26721 sysdeps/sh/____longjmp_chk.S.
26722 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26723 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26724 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26725 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26726
967705fe
TS
26727 * sysdeps/sh/abort-instr.h: New file.
26728 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26729 process in case exit returns.
26730
a9def8c4
TS
26731 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26732 initialize the GOT register before use.
26733
2a649725
TS
26734 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26735 calculation of ARGC > 4.
26736
af1bce34
TS
26737 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26738 meaningful names to some local labels.
26739
d230f50a
KK
267402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26741 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26742
26743 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26744 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26745 (__arch_compare_and_exchange_val_16_acq): Likewise.
26746 (__arch_compare_and_exchange_val_32_acq): Likewise.
26747 (atomic_exchange_and_add): Fix gUSA sequence.
26748 (atomic_add): Likewise.
26749 (atomic_add_negative): Likewise.
26750 (atomic_add_zero): Likewise.
26751 (atomic_bit_test_set): Likewise.
26752
0479b305
AS
267532012-06-22 Andreas Schwab <schwab@redhat.com>
26754
26755 [BZ #13579]
26756 * include/link.h (struct link_map): Add l_free_initfini.
26757 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26758 l_initfini.
26759 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26760 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26761 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26762 set.
26763
0e3933b9
CD
267642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26765
26766 * configure.in: Use AC_LANG_SOURCE.
26767 * configure: Regenerate.
26768
4248b1b1
RM
267692012-06-22 Roland McGrath <roland@hack.frob.com>
26770
26771 * configure.in (libc_cv_localstatedir): New substituted variable.
26772 * configure: Regenerated.
26773 * config.make.in (localstatedir): New variable, substituted from
26774 libc_cv_localstatedir.
26775 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26776 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26777 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26778 * sysdeps/gnu/configure: Regenerated.
26779
006dd861
JL
267802012-06-21 Jeff Law <law@redhat.com>
26781
26782 [BZ #14277]
26783 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26784 free. Simplify list management for _LIBC case.
26785
79662d42
JM
267862012-06-21 Joseph Myers <joseph@codesourcery.com>
26787
b7abb4bf
JM
26788 [BZ #14273]
26789 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26790 Clear sign bit of 64-bit integer value before comparing against
26791 overflow value.
26792
79662d42
JM
26793 * sysdeps/mach/configure: Regenerated.
26794
1f150908
L
267952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26796
26797 [BZ #14278]
26798 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26799
28363bbf
JL
268002012-06-21 Jeff Law <law@redhat.com>
26801
26802 [BZ #13882]
26803 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26804 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26805 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26806 * elf/dl-open.c (dl_open_worker): Likewise.
26807
09615db4
CD
268082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26809
26810 * scripts/list-sources.sh: Scan PORTS for translations.
26811 * po/libc.pot: Regenerated.
26812
2174c6dd
AJ
268132012-06-21 Andreas Jaeger <aj@suse.de>
26814
26815 [BZ #12194]
26816 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26817 warning.
26818 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26819 * bits/byteswap-16.h (__bswap_16): Likewise.
26820 * bits/byteswap.h (__bswap_constant_16): Likewise.
26821
3ee947b1
L
268222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26823
26824 [BZ #14117]
a2f34833
L
26825 * sysdeps/i386/fpu_control.h: Removed.
26826 * sysdeps/x86_64/fpu_control.h: Moved to ...
26827 * sysdeps/x86/fpu_control.h: Here.
26828
3ee947b1
L
26829 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26830 (_FPU_SETCW): Likewise.
26831
ed1825f8
L
268322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26833
25f1282a
L
26834 [BZ #14117]
26835 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26836 * sysdeps/x86/fpu/bits/mathinline.h: This.
26837 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26838
ed1825f8
L
26839 [BZ #14050]
26840 [BZ #14117]
26841 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26842 functions if __x86_64__ is defined.
26843
36d54b74
CLT
268442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26845
26846 * string/endian.h: Add !__ASSEMBLER__ condition for including
26847 conversion interfaces.
26848
10285c21
JM
268492012-06-15 Joseph Myers <joseph@codesourcery.com>
26850
26851 [BZ #14241]
26852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26853 of ABS(x) in calculating zero to negative powers other than odd
26854 integers.
26855 * math/libm-test.inc (pow_test): Add more tests.
26856
06c5abbd
AJ
268572012-06-15 Andreas Jaeger <aj@suse.de>
26858
26859 * manual/contrib.texi (Contributors): Update entry of Liubov
26860 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26861 Machado Filho.
26862
a3aeac40
CH
268632012-06-15 Cyril Hrubis <metan@ucw.cz>
26864
26865 * string/string.h: Add __wur to GNU version of strerror_r.
26866
49bdf4c1
L
268672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26868
26869 [BZ #14229]
26870 * string/Makefile (tests): Add tst-strtok_r.
26871 * string/tst-strtok_r.c: New file.
26872 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26873 RAX_LP/RDX_LP on SAVE_PTR.
26874
834f9b8d
RM
268752012-06-14 Roland McGrath <roland@hack.frob.com>
26876
26877 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26878
75fa1921
JM
268792012-06-14 Joseph Myers <joseph@codesourcery.com>
26880
26881 * libm_test.inc (csqrt_test): Allow more spurious underflow
26882 exceptions.
26883 (j0_test): Likewise.
26884 (j1_test): Likewise.
26885 (y0_test): Likewise.
26886 (y1_test): Likewise.
26887
771766df
CD
268882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26889
26890 * po/Makefile (libc.pot): Use UTF-8 charset.
26891
ceb9e56b
PP
268922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26893
26894 [BZ #14210]
26895 Suppress sign-conversion warning from FD_SET.
26896 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26897 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26898 not unsigned long int.
26899 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26900
ddb28975
L
269012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26902
26903 [BZ #14050]
26904 [BZ #14117]
26905 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26906 __extern_always_inline instead of __extern_inline.
26907 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26908 (__signbit): Likewise.
26909 (__signbitl): Support C++ namespace.
26910 (lrintf): New inline function.
26911 (lrint): Likewise.
26912 (llrintf): Likewise.
26913 (llrint): Likewise.
26914 (fmaxf): Likewise.
26915 (fmax): Likewise.
26916 (fminf): Likewise.
26917 (fmin): Likewise.
26918 (rint): Likewise.
26919 (rintf): Likewise.
26920 (ceil): Likewise.
26921 (ceilf): Likewise.
26922 (floor): Likewise.
26923 (floorf): Likewise.
26924 (nearbyint): Likewise.
26925 (nearbyintf): Likewise.
26926
d7b4fb26
TS
269272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26928
26929 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26930 non-default versions.
26931
eb55f5c2
RM
269322012-06-11 Roland McGrath <roland@hack.frob.com>
26933
26934 [BZ #14218]
26935 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26936
366af02c
TS
269372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26938
99ff6e5c
TS
26939 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26940 (FE_UPWARD, FE_DOWNWARD): Don't define.
26941 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26942 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26943
366af02c
TS
26944 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26945 reading it.
26946 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26947 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26948
793ea851
KK
269492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26950
26951 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26953 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26954 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26955
a728a38f
L
269562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26957
26958 [BZ #14117]
c08010c7
L
26959 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26960 * sysdeps/i386/fpu/Implies: New file.
26961 * sysdeps/x86_64/fpu/Implies: Likewise.
26962 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26963 * sysdeps/x86/fpu/bits/fenv.h: This.
26964
a728a38f
L
26965 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26966 __SSE_MATH__.
26967
6e230d11
SP
269682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26969
26970 [BZ #14134]
26971 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26972 character 0xffff that matches the last element of the
26973 conversion table.
26974
1b671feb
AZ
269752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26976
26977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26978 fmodl commit.
26979
6043738b
AZ
269802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26981
26982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26983 values higher than 25.6283.
26984
34ae0b32
AZ
269852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26986
26987 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26988 subnormal exponent extraction and add some __builtin_expect.
26989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26990 Fix for subnormal mantissa calculation.
26991
1214ec8f
MF
269922012-06-04 Mike Frysinger <vapier@gentoo.org>
26993
26994 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26995 cpu2 is -1 and errno is not ENOSYS.
26996
f3d1f93c
L
269972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26998
26999 [BZ #14117]
0e4a3cd7
L
27000 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27001 * sysdeps/x86/bits/string.h: This.
27002 * sysdeps/x86_64/bits/string.h: Removed.
27003
6704c645
L
27004 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27005 if not compiling for x86-64, but compiling for >= i486.
27006
48495318
L
27007 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27008 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27009
14adcbfc
L
27010 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27011 New macro from Linux kernel 3.4.0.
27012 (FP_XSTATE_MAGIC2): Likewise.
27013 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27014 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27015 (struct _fpx_sw_bytes): New struct.
27016 (struct _xsave_hdr): Likewise.
27017 (struct _ymmh_state): Likewise.
27018 (struct _xstate): Likewise.
27019
68e408ab
L
27020 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27021 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27022 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27023 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27024 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27025 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27026
f3d1f93c
L
27027 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27028 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27029 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27030 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27031 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27032 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27033
d9dc34cd
TMQMF
270342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27035
27036 [BZ #13743]
27037 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27038 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27039 (sysdep_headers): Include sys/platform/ppc.h.
27040 * sysdeps/powerpc/test-gettimebase.c: Test for
27041 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27042 * manual/Makefile (appendices): Include platform.texi.
27043 * manual/contrib.texi (Contributors): Update @node pointers.
27044 * manual/maint.texi (Maintenance): Likewise.
27045 (Platform): New node.
27046 * manual/platform.texi: New file. Document the new features.
27047
4af3879c
SP
270482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27049 Jakub Jelinek <jakub@redhat.com>
27050
27051 [BZ #14188]
27052 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27053 where __builtin_expect is unavailable.
27054
2fd6ff13
DM
270552012-06-03 David S. Miller <davem@davemloft.net>
27056
27057 * stdlib/longlong.h: Updated from GCC.
27058
173f7220
AS
270592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27060
27061 [BZ #14042]
27062 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27063 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27064 __mcount_internal.
27065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27066 (GLIBC_2.16): Likewise.
27067
f34a1c6f
L
270682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27069
27070 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27071
88a4576f
JM
270722012-06-01 Joseph Myers <joseph@codesourcery.com>
27073
ea32bcdd
JM
27074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27075 (default-abi): New variable.
27076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27077 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27078 variable.
27079 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27080 Likewise.
27081 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27082 Likewise.
27083 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27084 Likewise.
27085
88a4576f
JM
27086 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27087 definition. Document in comment.
27088
402fe938
DM
270892012-06-01 David S. Miller <davem@davemloft.net>
27090
27091 * stdlib/longlong.h: Updated from GCC.
27092
3553723f
L
270932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27094
27095 [BZ #14117]
3bd872c4
L
27096 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27097 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27098 sys/debugreg.h sys/io.h here.
27099 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27100 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27101 sys/io.h.
27102 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27103 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27104 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27105 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27106 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27107 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27108
3553723f
L
27109 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27110 Define only if __x86_64__ is defined.
27111
4842e4fe
JM
271122012-06-01 Joseph Myers <joseph@codesourcery.com>
27113
c5bfe3d5
JM
27114 [BZ #14048]
27115 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27116 Use int64_t for variable i.
27117 * math/libm-test.inc (fmod_test): Add more tests.
27118
4842e4fe
JM
27119 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27120 z computation is not scheduled after fetestexcept.
27121 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27122 Use math_force_eval instead of asm to ensure calculation scheduled
27123 before exception test.
27124 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27125 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27126
efb73488
AJ
271272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27128
27129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27130 computation is not scheduled after fetestexcept.
27131
29bcce7c
L
271322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27133
27134 [BZ #14117]
27135 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27136 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27137
73a68f94
AZ
271382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27139
27140 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27141 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27142
67b6df78
L
271432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27144
edf2933a 27145 [BZ #14117]
ebc64a18
L
27146 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27147 <bits/wordsize.h>.
27148 (__WCHAR_MIN): Support __WORDSIZE == 64.
27149 (__WCHAR_MAX): Likewise.
27150
edf2933a
L
27151 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27152 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27153
57c6cf40
L
27154 [BZ #14183]
27155 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27156 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27157
67b6df78 27158 [BZ #14117]
8eb6281e
L
27159 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27160 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27161
aac639f4
L
27162 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27163 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27164
67b6df78
L
27165 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27166 Defined to 1 if __x86_64__ isn't defined.
27167 (_STAT_VER_LINUX_OLD): New.
27168 (st_atime): Remove duplicate.
27169 (st_mtime): Likewise.
27170 (st_ctime): Likewise.
27171
1c2cfe81
DM
271722012-05-31 David S. Miller <davem@davemloft.net>
27173
27174 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27175 entries.
27176
5be8418c
AS
271772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27178
e7725326
AS
27179 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27180 gen-libm-test.pl.
27181
5be8418c
AS
27182 [BZ #14132]
27183 * elf/dl-reloc.c: Include <_itoa.h>.
27184 (_dl_reloc_bad_type): Remove use of INTUSE.
27185 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27186 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27187 * stdio-common/psiginfo.c (psiginfo): Likewise.
27188 * stdio-common/psignal.c (psignal): Likewise.
27189 * string/strsignal.c (strsignal): Likewise.
27190 * include/signal.h (_sys_siglist): Declare hidden proto.
27191 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27192 INTVARDEF with libc_hidden_data_def.
27193 * stdio-common/itoa-udigits.c: Likewise.
27194 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27195 (_itoa_lower_digits_internal): Remove declaration.
27196 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27197 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27198 (_sys_sigabbrev_internal): Remove aliases.
27199 (_sys_siglist): Define hidden alias.
27200
507352f1
MT
272012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27202
27203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27204 bits/sysctl.h.
27205
42bbb1c3
L
272062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27207
27208 [BZ #14117]
6bd784b6
L
27209 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27210 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27211
8bca20f0
L
27212 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27213 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27214 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27215 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27216 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27217 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27218
f9e890a9
L
27219 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27220 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27221 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27222
471101a1
L
27223 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27224 with __addr.
27225 (insw): Likewise.
27226 (insl): Likewise.
27227 (outsb): Likewise.
27228 (outsw): Likewise.
27229 (outsl): Likewise.
27230
6451c862
L
27231 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27232 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27233 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27234
a254b8c9
L
27235 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27236 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27237 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27238 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27239 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27240 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27241
b8dfdd92
L
27242 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27243 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27244
578cd270
L
27245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27246 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27247
de662f5f
L
27248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27250 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27251
25653439
L
27252 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27253 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27254 to ...
27255 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27256
6bad24a0
L
27257 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27258 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27259 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27260
42bbb1c3
L
27261 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27262 for x86-64.
27263 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27264
2d10d547
JM
272652012-05-31 Joseph Myers <joseph@codesourcery.com>
27266
27267 * math/math.h (M_El): Use two more decimal places.
27268 (M_LOG2El): Likewise.
27269 (M_LOG10El): Likewise.
27270 (M_LN2l): Likewise.
27271 (M_LN10l): Likewise.
27272 (M_PIl): Likewise.
27273 (M_PI_2l): Likewise.
27274 (M_PI_4l): Likewise.
27275 (M_1_PIl): Likewise.
27276 (M_2_PIl): Likewise.
27277 (M_2_SQRTPIl): Likewise.
27278 (M_SQRT2l): Likewise.
27279 (M_SQRT1_2l): Likewise.
27280
f230c29b
DM
272812012-05-31 David S. Miller <davem@davemloft.net>
27282
27283 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27284 values between float registers.
27285 * sysdeps/sparc/sparc64/memset.S: Likewise.
27286 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27287
fed806c3
MF
272882012-05-31 Mike Frysinger <vapier@gentoo.org>
27289
27290 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27291 -D_FORTIFY_SOURCE=1.
27292 (CPPFLAGS-tst-longjmp_chk.c): Define.
27293 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27294 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27295 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27296 CFLAGS-tst-wchar-h.c.
27297
30917259
MP
272982012-05-31 Marek Polacek <polacek@redhat.com>
27299
27300 [BZ #14132]
27301 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27302 __endmntent_internal): Remove declaration.
27303 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27304 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27305 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27306
1c58d5dc
DM
273072012-05-30 David S. Miller <davem@davemloft.net>
27308
27309 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27310 (___Q_simulate_exceptions): Use real FP ops rather than writing
27311 into the %fsr.
27312 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27313 Likewise.
27314
7dc00e0d
L
273152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27316
27317 [BZ #14117]
0bd53985
L
27318 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27319 * sysdeps/x86/bits/xtitypes.h: This.
27320
3a257e66
L
27321 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27322 * sysdeps/x86/bits/wordsize.h: This.
27323
62f62904
L
27324 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27325 * sysdeps/x86/bits/huge_vall.h: This.
27326
404fe9d9
L
27327 * sysdeps/i386/bits/select.h: Removed.
27328 * sysdeps/x86_64/bits/select.h: Renamed to ...
27329 * sysdeps/x86/bits/select.h: This.
27330
d48d0446
L
27331 * sysdeps/i386/bits/setjmp.h: Removed.
27332 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27333 * sysdeps/x86/bits/setjmp.h: This.
27334
7dc00e0d
L
27335 * sysdeps/i386/bits/mathdef.h: Removed.
27336 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27337 * sysdeps/x86/bits/mathdef.h: This.
27338
03277f8f
AS
273392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27340
27341 [BZ #14132]
27342 * include/sys/socket.h (__connect_internal)
27343 (__libc_sa_len_internal): Remove declaration.
27344 (__connect, __libc_sa_len): Declare hidden_proto.
27345 (SA_LEN): Remove use of INTUSE.
27346 * socket/connect.c: Add libc_hidden_def.
27347 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27348 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27349 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27350 alias.
27351 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27352 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27353 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27354 of adding _internal alias.
27355
13764867
L
273562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27357
27358 [BZ #14117]
6bd97696
L
27359 * sysdeps/i386/bits/link.h: Removed.
27360 * sysdeps/i386/bits/linkmap.h: Likewise.
27361 * sysdeps/x86_64/bits/link.h: Renamed to ...
27362 * sysdeps/x86/bits/link.h: This.
27363 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27364 * sysdeps/x86/bits/linkmap.h: This.
27365
f726f0bb
L
27366 * sysdeps/i386/bits/endian.h: Removed.
27367 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27368 * sysdeps/x86/bits/endian.h: This.
27369
13764867
L
27370 * sysdeps/i386/bits/byteswap.h: Removed.
27371 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27372 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27373 * sysdeps/x86/bits/byteswap.h: This.
27374 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27375 * sysdeps/x86/bits/byteswap-16.h: This.
27376 * sysdeps/i386/Implies: Add x86.
27377 * sysdeps/x86_64/Implies: Likewise.
27378
ae251b0b
DM
273792012-05-30 David S. Miller <davem@davemloft.net>
27380
27381 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27382 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27383 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27384 (FP_TRAPPING_EXCEPTIONS): Define.
27385 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27386 (FP_TRAPPING_EXCEPTIONS): Define.
27387 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27388 subnormals only when inexact has been signalled or underflow
27389 exceptions are enabled.
27390 (_FP_PACK_CANONICAL): Likewise.
27391
d5c90867
L
273922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27393
27394 [BZ #14183]
27395 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27396 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27397
63f1549e
RH
273982012-05-30 Richard Henderson <rth@twiddle.net>
27399
8d8f2279
RH
27400 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27401 with #ifndef NOT_IN_libc.
27402
63f1549e
RH
27403 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27404 marked to avoid plt entry.
27405
0ab0291b
L
274062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27407
27408 [BZ #14112]
27409 * Makeconfig (default-abi): New macro.
27410 (abi-includes): Likewise.
27411 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27412 $(abi-$(default-abi)-lib-soname) for soname if defined.
27413 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27414 abi-variants.
27415 * Makefile (installed-stubs): Likewise.
27416 * include/stubs-biarch.h: Removed.
27417 * scripts/lib-names.awk: Only handle one library at a time.
27418 * scripts/soversions.awk: Remove WORDSIZE support.
27419 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27420 entries.
27421 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27422 Removed.
27423 (syscall-list-default-condition): Likewise.
27424 (syscall-list-default-condition): Likewise.
27425 (syscall-list-includes): Likewise.
27426 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27427 syscall-list-* with abi-*. Handle undefined abi-variants.
27428 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27429 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27430 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27431 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27432 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27433 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27434 Removed.
27435 (syscall-list-32-options): Likewise.
27436 (syscall-list-32-condition): Likewise.
27437 (syscall-list-64-options): Likewise.
27438 (syscall-list-64-condition): Likewise.
27439 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27440 macro.
27441 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27442 Renamed to ...
27443 (abi-*): This.
27444 (abi-64-ld-soname): New macro.
27445 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27446 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27447 Renamed to ...
27448 (abi-*): This.
27449 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27450 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27451
4da0431d
JM
274522012-05-30 Joseph Myers <joseph@codesourcery.com>
27453
3a85279c
JM
27454 * sysdeps/unix/sysv/linux/kernel-features.h
27455 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27456 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27457 include <kernel-features.h>.
27458 [!__NR_ftruncate64]: Remove conditional code.
27459 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27460 [__NR_ftruncate64]: Make code unconditional.
27461 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27462 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27463 include <kernel-features.h>.
27464 [!__NR_ftruncate64]: Remove conditional code.
27465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27466 [__NR_ftruncate64]: Make code unconditional.
27467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27469 include <kernel-features.h>.
27470 [!__NR_ftruncate64]: Remove conditional code.
27471 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27472 [__NR_ftruncate64]: Make code unconditional.
27473 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27475 include <kernel-features.h>.
27476 [!__NR_ftruncate64]: Remove conditional code.
27477 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27478 [__NR_ftruncate64]: Make code unconditional.
27479 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27480
4da0431d
JM
27481 * configure.in (libc_cv_fpie): Weaken to a compile test using
27482 LIBC_TRY_CC_OPTION.
27483 * configure: Regenerated.
27484
11ef492c
AK
274852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27486
27487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27491 Refreshed.
27492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27498 Refreshed.
27499
d66ef399
DM
275002012-05-27 David S. Miller <davem@davemloft.net>
27501
27502 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27503 (___Q_zero): New.
27504 (__Q_simulate_exceptions): Return void. Change to simulate
27505 exceptions by writing into the %fsr.
27506 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27507 (__Qp_handle_exceptions): Likewise.
27508 (numbers): Delete.
27509 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27510 __Qp_handle_exceptions.
27511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27512 __Qp_handle_exceptions.
27513 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27514 as unused and give dummy FP_RND_NEAREST initializer.
27515 (FP_INHIBIT_RESULTS): Define.
27516 (___Q_simulate_exceptions): Update declaration.
27517 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27518 formatting.
27519 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27520 as unused and give dummy FP_RND_NEAREST initializer.
27521 (__Qp_handle_exceptions): Update declaration.
27522 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27523 formatting.
27524
04fb54b5
TS
275252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27526
27527 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27528 the temporary FPU control word.
27529 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27530 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27531 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27532 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27533 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27534 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27535 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27536 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27537 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27538 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27539 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27540
3f99608f
KK
275412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27542
27543 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27544 fields.
27545
65a4de4e
CLT
275462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27547
27548 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27549 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27550 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27551 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27552 Likewise.
27553 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27554 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27555 Likewise.
27556
15749d40
UD
275572012-05-27 Ulrich Drepper <drepper@gmail.com>
27558
27559 * po/h.po: Update from translation team.
27560
25dbcb27
AS
275612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27562
3d3f8e55
AS
27563 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27564
25dbcb27
AS
27565 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27566 handling of denormals.
27567 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27568 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27569 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27570 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27574 Likewise.
27575
7ad47a80 275762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27577
27578 [BZ #14152]
27579 * math/libm-test.inc (fma_test): Don't always expect underflow
27580 exception.
27581
9c6ea9fa
SP
275822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27583
27584 [BZ #12416]
27585 * elf/tst-execstack.c: Include stackinfo.h.
27586 (do_test): Adjust test case to ensure that pthread_getattr_np
27587 behaviour remains the same after marking stack executable.
27588
a8239222
JM
275892012-05-25 Joseph Myers <joseph@codesourcery.com>
27590
27591 * sysdeps/unix/sysv/linux/kernel-features.h
27592 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27593 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27594 kernel-features.h.
27595 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27596 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27597 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27598 kernel-features.h.
27599 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27600 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27601
918b5606
L
276022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27603
27604 * configure.in: Define the default includes to being none.
27605 * configure: Regenerated.
27606
3a097cc7
RM
276072012-05-25 Roland McGrath <roland@hack.frob.com>
27608
8422c9a5
RM
27609 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27610 * sysdeps/x86_64/setjmp.S: Likewise.
27611 * sysdeps/i386/bsd-setjmp.S: Likewise.
27612 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27613 * sysdeps/i386/setjmp.S: Likewise.
27614 * sysdeps/i386/__longjmp.S: Likewise.
27615 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27616 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27617
3a097cc7
RM
27618 * include/stap-probe.h: New file.
27619 * configure.in: Handle --enable-systemtap.
27620 * configure: Regenerated.
27621 * config.h.in (USE_STAP_PROBE): New #undef.
27622 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27623 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27624 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27625
21708942
JM
276262012-05-25 Joseph Myers <joseph@codesourcery.com>
27627
27628 [BZ #13717]
27629 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27630 to 2.4.0 where earlier.
27631 * sysdeps/unix/sysv/linux/configure: Regenerated.
27632 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27633 <kernel-features.h>.
27634 [__ASSUME_32BITUIDS]: Make code unconditional.
27635 [!__ASSUME_32BITUIDS]: Remove conditional code.
27636 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27637 <kernel-features.h>.
27638 [__ASSUME_32BITUIDS]: Make code unconditional.
27639 [!__ASSUME_32BITUIDS]: Remove conditional code.
27640 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27641 [__ASSUME_32BITUIDS]: Make code unconditional.
27642 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27643 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27644 <kernel-features.h>.
27645 [__ASSUME_32BITUIDS]: Make code unconditional.
27646 [!__ASSUME_32BITUIDS]: Remove conditional code.
27647 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27648 <kernel-features.h>.
27649 [__ASSUME_32BITUIDS]: Make code unconditional.
27650 [!__ASSUME_32BITUIDS]: Remove conditional code.
27651 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27652 <kernel-features.h>.
27653 [__ASSUME_32BITUIDS]: Make code unconditional.
27654 [!__ASSUME_32BITUIDS]: Remove conditional code.
27655 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27656 <kernel-features.h>.
27657 [__ASSUME_32BITUIDS]: Make code unconditional.
27658 [!__ASSUME_32BITUIDS]: Remove conditional code.
27659 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27660 <kernel-features.h>.
27661 [__ASSUME_32BITUIDS]: Make code unconditional.
27662 [!__ASSUME_32BITUIDS]: Remove conditional code.
27663 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27664 <kernel-features.h>.
27665 [__ASSUME_32BITUIDS]: Make code unconditional.
27666 [!__ASSUME_32BITUIDS]: Remove conditional code.
27667 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27668 <kernel-features.h>.
27669 [__ASSUME_32BITUIDS]: Make code unconditional.
27670 [!__ASSUME_32BITUIDS]: Remove conditional code.
27671 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27672 <kernel-features.h>.
27673 [__ASSUME_32BITUIDS]: Make code unconditional.
27674 [!__ASSUME_32BITUIDS]: Remove conditional code.
27675 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27676 <kernel-features.h>.
27677 [__ASSUME_32BITUIDS]: Make code unconditional.
27678 [!__ASSUME_32BITUIDS]: Remove conditional code.
27679 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27680 <kernel-features.h>.
27681 [__ASSUME_32BITUIDS]: Make code unconditional.
27682 [!__ASSUME_32BITUIDS]: Remove conditional code.
27683 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27684 <kernel-features.h>.
27685 [__NR_setresgid] (__setresgid): Do not declare.
27686 [__ASSUME_32BITUIDS]: Make code unconditional.
27687 [!__ASSUME_32BITUIDS]: Remove conditional code.
27688 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27689 <kernel-features.h>.
27690 [__NR_setresuid] (__setresuid): Do not declare.
27691 [__ASSUME_32BITUIDS]: Make code unconditional.
27692 [!__ASSUME_32BITUIDS]: Remove conditional code.
27693 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27694 <kernel-features.h>.
27695 [__ASSUME_32BITUIDS]: Make code unconditional.
27696 [!__ASSUME_32BITUIDS]: Remove conditional code.
27697 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27698 <kernel-features.h>.
27699 [__ASSUME_32BITUIDS]: Make code unconditional.
27700 [!__ASSUME_32BITUIDS]: Remove conditional code.
27701 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27702 <kernel-features.h>.
27703 [__ASSUME_32BITUIDS]: Make code unconditional.
27704 [!__ASSUME_32BITUIDS]: Remove conditional code.
27705 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27706 <kernel-features.h>.
27707 [__ASSUME_32BITUIDS]: Make code unconditional.
27708 [!__ASSUME_32BITUIDS]: Remove conditional code.
27709 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27710 <kernel-features.h>.
27711 [__ASSUME_32BITUIDS]: Make code unconditional.
27712 [!__ASSUME_32BITUIDS]: Remove conditional code.
27713 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27714 <kernel-features.h>.
27715 [__ASSUME_32BITUIDS]: Make code unconditional.
27716 [!__ASSUME_32BITUIDS]: Remove conditional code.
27717 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27718 <kernel-features.h>.
27719 [__ASSUME_32BITUIDS]: Make code unconditional.
27720 [!__ASSUME_32BITUIDS]: Remove conditional code.
27721 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27722 <kernel-features.h>.
27723 [__ASSUME_32BITUIDS]: Make code unconditional.
27724 [!__ASSUME_32BITUIDS]: Remove conditional code.
27725 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27726 <kernel-features.h>.
27727 [__ASSUME_32BITUIDS]: Make code unconditional.
27728 [!__ASSUME_32BITUIDS]: Remove conditional code.
27729 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27730 <kernel-features.h>.
27731 [__ASSUME_32BITUIDS]: Make code unconditional.
27732 [!__ASSUME_32BITUIDS]: Remove conditional code.
27733 * sysdeps/unix/sysv/linux/kernel-features.h
27734 (__ASSUME_SETRESUID_SYSCALL): Remove.
27735 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27736 (__ASSUME_32BITUIDS): Likewise.
27737 (__ASSUME_LDT_WORKS): Likewise.
27738 (__ASSUME_O_DIRECTORY): Likewise.
27739 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27740 architecture but not kernel version.
27741 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27742 (__ASSUME_MMAP2_SYSCALL): Likewise.
27743 (__ASSUME_STAT64_SYSCALL): Likewise.
27744 (__ASSUME_IPC64): Likewise.
27745 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27746 <kernel-features.h>.
27747 [__ASSUME_32BITUIDS]: Make code unconditional.
27748 [!__ASSUME_32BITUIDS]: Remove conditional code.
27749 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27750 <kernel-features.h>.
27751 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27752 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27753 132096]: Remove conditional code.
27754 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27755 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27756 <kernel-features.h>.
27757 [__ASSUME_32BITUIDS]: Make code unconditional.
27758 [!__ASSUME_32BITUIDS]: Remove conditional code.
27759 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27760 <kernel-features.h>.
27761 [__ASSUME_32BITUIDS]: Make code unconditional.
27762 [!__ASSUME_32BITUIDS]: Remove conditional code.
27763 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27764 <kernel-features.h>.
27765 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27766 unconditional.
27767 (__setresgid): Do not declare.
27768 [__ASSUME_32BITUIDS]: Make code unconditional.
27769 [!__ASSUME_32BITUIDS]: Remove conditional code.
27770 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27771 <kernel-features.h>.
27772 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27773 unconditional.
27774 (__setresuid): Do not declare.
27775 [__ASSUME_32BITUIDS]: Make code unconditional.
27776 [!__ASSUME_32BITUIDS]: Remove conditional code.
27777 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27778 <kernel-features.h>.
27779 [__ASSUME_32BITUIDS]: Make code unconditional.
27780 [!__ASSUME_32BITUIDS]: Remove conditional code.
27781 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27782 <kernel-features.h>.
27783 [__ASSUME_32BITUIDS]: Make code unconditional.
27784 [!__ASSUME_32BITUIDS]: Remove conditional code.
27785
a386f1cc
RH
277862012-05-25 Richard Henderson <rth@twiddle.net>
27787
27788 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27789 dl_hwcap to ifunc resolver.
27790 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27791 elf_ifunc_invoke.
27792 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27793 dl_hwcap to ifunc resolver.
27794 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27795
b6550497
JM
277962012-05-24 Joseph Myers <joseph@codesourcery.com>
27797
27798 [BZ #14153]
27799 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27800 for |x| <= 2**-26, not 2**-57.
27801 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27802 exception.
27803
b0bc23a1
JL
278042012-05-24 Jeff Law <law@redhat.com>
27805
27806 * stdio-common/Makefile (tests): Add bug25.
27807 * stdio-common/bug25.c: New test.
27808
347c92e9
L
278092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27810
27811 [BZ #13576]
27812 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27813 multiple of MALLOC_ALIGNMENT in size.
27814 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27815
6bcc8b3f
JM
278162012-05-24 Joseph Myers <joseph@codesourcery.com>
27817
27818 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27819 Require >= 256.
27820 (FILENAME_MAX): Use macro-int-constant.
27821 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27822 (_IOFBF): Use macro-int-constant.
27823 (_IOLBF): Likewise.
27824 (_IONBF): Likewise.
27825 (SEEK_CUR): Likewise.
27826 (SEEK_END): Likewise.
27827 (SEEK_SET): Likewise.
27828 (TMP_MAX): Likewise.
27829 (EOF): Use macro-int-constant. Require < 0.
27830 (NULL): Use macro-constant. Require == 0.
27831 (stdin): Require type to be FILE *.
27832 (stdout): Likewise.
27833 (stderr): Likewise.
27834 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27835 macro-int-constant.
27836 (EXIT_SUCCESS): Likewise.
27837 (NULL): Use macro-constant. Require == 0.
27838 (RAND_MAX): Use macro-int-constant.
27839 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27840 [C99-based standards] (strtof): Require function.
27841 [C99-based standards] (strtold): Likewise.
27842 [C99-based standards] (strtoll): Likewise.
27843 [C99-based standards] (strtoull): Likewise.
27844 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27845 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27846 [ISO || ISO99 || ISO11] (math.h): Likewise.
27847 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27848 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27850
d18ea0c5
AS
278512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27852
27853 [BZ #14132]
56d25bb8
AS
27854 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27855 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27856 * intl/dgettext.c (DCGETTEXT): Likewise.
27857 * intl/gettext.c (DCGETTEXT): Likewise.
27858 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27859 * posix/regex_internal.h (gettext): Likewise.
27860 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27861 Remove declaration.
27862 * include/argz.h (__argz_count_internal)
27863 (__argz_stringify_internal): Remove declaration.
27864 (__argz_count, __argz_stringify): Declare hidden proto.
27865 * intl/dcgettext.c: Remove use of INTDEF.
27866 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27867 * string/argz-stringify.c: Likewise.
27868 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27869 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27870 Declare hidden proto.
d18ea0c5
AS
27871 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27872 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27873 Declare hidden proto.
27874 * include/stdio.h (__asprintf_internal): Don't declare.
27875 (__asprintf): Don't define as macro. Declare hidden proto.
27876 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27877 (__fsetlocking): Declare hidden proto.
27878 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27879 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27880 hidden proto.
27881 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27882 (_IO_setlinebuf): Remove use of INTUSE.
27883 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27884 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27885 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27886 Remove declaration.
27887 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27888 (_IO_do_flush): Remove use of INTUSE.
27889 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27890 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27891 (_IO_adjust_column, _IO_least_wmarker)
27892 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27893 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27894 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27895 (_IO_default_doallocate, _IO_wdefault_doallocate)
27896 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27897 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27898 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27899 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27900 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27901 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27902 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27903 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27904 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27905 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27906 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27907 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27908 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27909 proto.
27910 (_IO_flush_all_internal, _IO_adjust_column_internal)
27911 (_IO_default_uflow_internal, _IO_default_finish_internal)
27912 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27913 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27914 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27915 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27916 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27917 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27918 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27919 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27920 (_IO_file_close_internal, _IO_file_close_it_internal)
27921 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27922 (_IO_file_init_internal, _IO_file_attach_internal)
27923 (_IO_file_fopen_internal, _IO_file_read_internal)
27924 (_IO_file_sync_internal, _IO_file_seek_internal)
27925 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27926 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27927 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27928 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27929 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27930 (_IO_list_all_internal, _IO_link_in_internal)
27931 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27932 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27933 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27934 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27935 (_IO_do_write_internal, _IO_padn_internal)
27936 (_IO_getline_info_internal, _IO_getline_internal)
27937 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27938 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27939 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27940 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27941 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27942 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27943 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27944 with libc_hidden_ver, remove use of INTUSE.
27945 * libio/genops.c: Likewise.
27946 * libio/freopen.c: Likewise.
27947 * libio/freopen64.c: Likewise.
27948 * libio/iofclose.c: Likewise.
27949 * libio/iofdopen.c: Likewise.
27950 * libio/iofflush.c: Likewise.
27951 * libio/iofflush_u.c: Likewise.
27952 * libio/iofgets.c: Likewise.
27953 * libio/iofgets_u.c: Likewise.
27954 * libio/iofopen.c: Likewise.
27955 * libio/iofopncook.c: Likewise.
27956 * libio/iofread.c: Likewise.
27957 * libio/iofread_u.c: Likewise.
27958 * libio/ioftell.c: Likewise.
27959 * libio/iofwrite.c: Likewise.
27960 * libio/iogetline.c: Likewise.
27961 * libio/iogets.c: Likewise.
27962 * libio/iogetwline.c: Likewise.
27963 * libio/iopadn.c: Likewise.
27964 * libio/iopopen.c: Likewise.
27965 * libio/ioseekoff.c: Likewise.
27966 * libio/ioseekpos.c: Likewise.
27967 * libio/iosetbuffer.c: Likewise.
27968 * libio/iosetvbuf.c: Likewise.
27969 * libio/ioungetc.c: Likewise.
27970 * libio/ioungetwc.c: Likewise.
27971 * libio/iovdprintf.c: Likewise.
27972 * libio/iovsprintf.c: Likewise.
27973 * libio/iovsscanf.c: Likewise.
27974 * libio/memstream.c: Likewise.
27975 * libio/obprintf.c: Likewise.
27976 * libio/oldfileops.c: Likewise.
27977 * libio/oldiofclose.c: Likewise.
27978 * libio/oldiofdopen.c: Likewise.
27979 * libio/oldiofopen.c: Likewise.
27980 * libio/oldiopopen.c: Likewise.
27981 * libio/oldstdfiles.c: Likewise.
27982 * libio/putc.c: Likewise.
27983 * libio/setbuf.c: Likewise.
27984 * libio/setlinebuf.c: Likewise.
27985 * libio/stdfiles.c: Likewise.
27986 * libio/strops.c: Likewise.
27987 * libio/vasprintf.c: Likewise.
27988 * libio/vscanf.c: Likewise.
27989 * libio/vsnprintf.c: Likewise.
27990 * libio/vswprintf.c: Likewise.
27991 * libio/wfiledoalloc.c: Likewise.
27992 * libio/wfileops.c: Likewise.
27993 * libio/wgenops.c: Likewise.
27994 * libio/wmemstream.c: Likewise.
27995 * libio/wstrops.c: Likewise.
27996 * libio/__fpurge.c: Likewise.
27997 * libio/__fsetlocking.c: Likewise.
27998 * assert/assert.c: Likewise.
27999 * debug/fgets_chk.c: Likewise.
28000 * debug/fgets_u_chk.c: Likewise.
28001 * debug/fread_chk.c: Likewise.
28002 * debug/fread_u_chk.c: Likewise.
28003 * debug/gets_chk.c: Likewise.
28004 * debug/obprintf_chk.c: Likewise.
28005 * debug/vasprintf_chk.c: Likewise.
28006 * debug/vdprintf_chk.c: Likewise.
28007 * debug/vsnprintf_chk.c: Likewise.
28008 * debug/vsprintf_chk.c: Likewise.
28009 * malloc/mtrace.c: Likewise.
28010 * misc/error.c: Likewise.
28011 * misc/syslog.c: Likewise.
28012 * stdio-common/asprintf.c: Likewise.
28013 * stdio-common/fxprintf.c: Likewise.
28014 * stdio-common/getw.c: Likewise.
28015 * stdio-common/isoc99_fscanf.c: Likewise.
28016 * stdio-common/isoc99_scanf.c: Likewise.
28017 * stdio-common/isoc99_vfscanf.c: Likewise.
28018 * stdio-common/isoc99_vscanf.c: Likewise.
28019 * stdio-common/isoc99_vsscanf.c: Likewise.
28020 * stdio-common/printf-prs.c: Likewise.
28021 * stdio-common/printf_fp.c: Likewise.
28022 * stdio-common/printf_fphex.c: Likewise.
28023 * stdio-common/printf_size.c: Likewise.
28024 * stdio-common/putw.c: Likewise.
28025 * stdio-common/scanf.c: Likewise.
28026 * stdio-common/sprintf.c: Likewise.
28027 * stdio-common/tmpfile.c: Likewise.
28028 * stdio-common/vfprintf.c: Likewise.
28029 * stdio-common/vfscanf.c: Likewise.
28030 * stdlib/strfmon_l.c: Likewise.
28031 * sunrpc/openchild.c: Likewise.
28032 * sunrpc/xdr_stdio.c: Likewise.
28033 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28034 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28035
d6c33fda
RM
280362012-05-24 Roland McGrath <roland@hack.frob.com>
28037
c1487492
RM
28038 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28039
28040 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28041 in the third column, to generate for the shared library an IFUNC
28042 that uses _dl_vdso_vsym.
28043 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28044 * Makeconfig (object-suffixes-noshared): New variable.
28045
28046 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28047 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28048 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28049 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28050
d6c33fda
RM
28051 [BZ #14132]
28052 * include/sys/time.h (__gettimeofday): Remove macro.
28053 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28054 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28055 Remove INTDEF.
28056 (__gettimeofday): Add libc_hidden_def.
28057 (gettimeofday): Add libc_hidden_weak.
28058 * sysdeps/mach/gettimeofday.c: Likewise.
28059 * sysdeps/posix/gettimeofday.c: Likewise.
28060 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28061 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28062 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28063 (__gettimeofday_internal): Remove strong_alias.
28064 (__gettimeofday): Add libc_hidden_def.
28065 (gettimeofday): Add libc_hidden_weak.
28066 * sysdeps/unix/syscalls.list (gettimeofday):
28067 Remove __gettimeofday_internal alias.
28068
b5a2bbe6
L
280692012-05-24 Daniel Jacobowitz <drow@false.org>
28070 H.J. Lu <hongjiu.lu@intel.com>
28071
28072 [BZ #12495]
28073 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28074 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28075 (largebin_index_32_big): New.
28076 (largebin_index): Use it for 16-byte alignment.
28077 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28078 correction with front_misalign.
28079
cfba4fda
L
280802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28081
7f907421
L
28082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28084 Likewise.
28085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28086 Likewise.
28087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28088 Likewise.
28089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28090 Likewise.
28091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28092 Likewise.
28093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28094 Likewise.
28095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28096 Likewise.
28097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28098 Likewise.
28099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28100 Likewise.
28101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28102 Likewise.
28103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28104 Likewise.
28105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28106 Likewise.
28107
cfba4fda
L
28108 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28109 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28110
80bad0cc
JM
281112012-05-24 Joseph Myers <joseph@codesourcery.com>
28112
7a25eb06
JM
28113 [BZ #10846]
28114 [BZ #14036]
28115 * math/libm-test.inc (exp_test): Add test from bug 14036.
28116 (pow_test): Add test from bug 10846.
28117
795405f9
JM
28118 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28119 and other flags.
28120 (special_function): Do not include flags in test name.
28121 (parse_args): Likewise.
28122 * sysdeps/i386/fpu/libm-test-ulps: Update.
28123 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28124 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28125 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28127
80bad0cc
JM
28128 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28129 exceptions.
28130 * math/libm-test.inc ("Philosophy"): Update comment about
28131 exception testing.
28132 (UNDERFLOW_EXCEPTION): New macro.
28133 (UNDERFLOW_EXCEPTION_OK): Likewise.
28134 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28135 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28136 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28137 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28138 (INVALID_EXCEPTION_OK): Update value.
28139 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28140 (OVERFLOW_EXCEPTION_OK): Likewise.
28141 (IGNORE_ZERO_INF_SIGN): Likewise.
28142 (test_exceptions): Handle underflow exceptions.
28143 (acos_test): Update for underflow exception expectations.
28144 (cexp_test): Likewise.
28145 (clog_test): Likewise.
28146 (clog10_test): Likewise.
28147 (csqrt_test): Likewise.
28148 (ctan_test): Likewise.
28149 (ctanh_test): Likewise.
28150 (exp_test): Likewise.
28151 (exp10_test): Likewise.
28152 (exp2_test): Likewise.
28153 (expm1_test): Likewise.
28154 (fma_test): Likewise.
28155 (j0_test): Likewise.
28156 (jn_test): Likewise.
28157 (nexttoward_test): Likewise.
28158 (pow_test): Likewise.
28159 (scalbn_test): Likewise.
28160 (scalbln_test): Likewise.
28161 (tan_test): Likewise.
28162 (y1_test): Likewise.
28163 * sysdeps/i386/fpu/libm-test-ulps: Update.
28164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28165
9e0e3d0b
DM
281662012-05-23 David S. Miller <davem@davemloft.net>
28167
28168 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28169 (__libc_sigaction): Remove unused local variables.
28170
ccd0a08f
L
281712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28172
28173 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28174
62bdf9a6
PE
281752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28176
f8591f80
PE
28177 mktime: avoid signed integer overflow
28178 * time/mktime.c (__mktime_internal): Do not mishandle the case
28179 where diff == INT_MIN.
28180
94c7d826
PE
28181 mktime: simplify computation of average
28182 * time/mktime.c (ranged_convert): Use new time_t_avg function
28183 instead of rolling our own (probably-slower) code.
28184
ce73d683
PE
28185 mktime: do not assume signed right shift propagates sign bit
28186 * time/mktime.c (isdst_differ): New static function.
28187 (__mktime_internal): No need to normalize tm_isdst now.
28188 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28189 tm_isdst values.
28190
72a22e59
PE
28191 mktime: merge another wrapv change from gnulib
28192 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28193 from some compilers.
28194
68605433
PE
28195 mktime: remove incorrect attempt at unusual arithmetics
28196 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28197 The code didn't really work on such machines anyway.
28198 (TYPE_MINIMUM): Assume two's complement.
28199 (twos_complement_arithmetic): Verify that long_int and time_t
28200 are two's complement (or unsigned, in the latter case).
28201
03cf7fe3
PE
28202 mktime: check signed shifts on long_int and time_t, too
28203 * time/mktime.c (SHR): Check that shifts work as desired
28204 on the types long_int and time_t too, as SHR is used on
28205 such types.
28206
f04dfbc2
PE
28207 mktime: do not assume 'long' is wide enough
28208 * time/mktime.c (verify): Move decl up.
28209 (long_int): New type.
28210 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28211 to remove assumption in the code that 'long' is wide enough to
28212 store year values. This assumption is not true on x32 and on
28213 some non-glibc platforms.
28214
62bdf9a6
PE
28215 mktime: merge wrapv change from gnulib
28216 * time/mktime.c (WRAPV): New macro.
28217 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28218 (guess_time_tm, __mktime_internal): Do not assume that signed
28219 integer overflow wraps around; modern compilers generate code
28220 where this assumption is no longer valid.
28221
5e292e4f
L
282222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28223
28224 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28225 Replace "jmp L(pseudo_end)" with "ret".
28226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28227 Likewise.
28228
8caf8c87
AJ
282292012-05-23 Andreas Jaeger <aj@suse.de>
28230
28231 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28232 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28233
1a09dc56
AJ
282342012-05-23 Andreas Jaeger <aj@suse.de>
28235 Maximilian Attems <max@stro.at>
28236
28237 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28238 New macros.
28239
1c87aba0
L
282402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28241
28242 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28243 code so that pseudo_end is just ret and the stack pointer is
28244 correct also for static library in error case.
28245
40e45bd5
JM
282462012-05-23 Joseph Myers <joseph@codesourcery.com>
28247
c2670533
JM
28248 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28249 move to syscalls.list.
28250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28254
40e45bd5
JM
28255 * manual/install.texi (Running make install): Do not mention Linux
28256 kernel version for which pt_chown is not needed.
28257 (Linux): Do not mention problems with nscd with 2.0 kernels.
28258 * INSTALL: Regenerated.
28259
be08eda5
AJ
282602012-05-23 Andreas Jaeger <aj@suse.de>
28261
28262 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28263 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28264 macro.
28265 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28266 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28267 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28268 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28269 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28270 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28271 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28272 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28273 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28274 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28275 * sysdeps/unix/sysv/linux/bits/in.h
28276 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28277
a6a056bb
RM
282782012-05-22 Roland McGrath <roland@hack.frob.com>
28279
28280 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28281 (PREPARE_VERSION): Just use assert instead, it will be elided
28282 under [NDEBUG] anyway.
28283
c9009328
L
282842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28285
28286 * sysdeps/unix/sysv/linux/Makefile: Include
28287 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28288 (sysdep_routines): Remove sysctl.
c9009328
L
28289 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28290 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28291 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28292 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28293 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28294
73338355
AJ
282952012-05-22 Andreas Jaeger <aj@suse.de>
28296
28297 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28298 that pseudo_end is just ret and the stack pointer is correct also
28299 for static library in error case.
28300
d44638b0
PP
283012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28302
28303 [BZ #14122]
28304 * nss/nsswitch.c (defconfig_entries): New variable.
28305 (__nss_database_lookup): Don't leak defconfig entries.
28306 (nss_parse_service_list): Don't leak on error paths.
28307 (free_database_entries): New function.
28308 (free_defconfig): New function.
28309 (free_mem): Move common code to free_database_entries.
28310
31a39bd8
L
283112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28312
da0331a8
L
28313 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28314 Add arch_prctl.
28315 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28316
31a39bd8
L
28317 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28318 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28320 New macro.
28321 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28322 (INTERNAL_SYSCALL_TYPES): Likewise.
28323 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28324 (LOAD_REGS_TYPES_[1-6]): Likewise.
28325 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28326 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28327
45470df3
AZ
283282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28329
28330 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28331 copysignl for GLIBC_2_0.
28332 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28333 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28335 logbl for GLIBC_2_0.
28336 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28337 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28338
98a61bcb
L
283392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28340
a4f6e481
L
28341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28342 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28343
f63d5db6
L
28344 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28345 Use "neg %eax".
28346
98a61bcb
L
28347 * time/mktime.c: Update copyright years.
28348
95770f14
PE
283492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28350
6226efbd
PE
28351 mktime: merge comment-quoting-style change from gnulib
28352 * time/mktime.c: Quote 'like this' in comments.
28353 The GNU coding standards suggest that we no longer quote `like this',
28354 as "`" and "'" are typically rendered asymmetrically nowadays.
28355 The typical gnulib style is to quote 'like this' when quoting
28356 code, and "like this" when quoting English.
28357
b99e4f78
PE
28358 * time/mktime.c (compile-command): Add "-I.".
28359
643e01e6
PE
28360 mktime: merge mktime-internal.h change from gnulib
28361 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28362
2554247d
PE
28363 mktime: merge time_r change from gnulib
28364 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28365
826dd0ab
PE
28366 mktime: merge DEBUG change from gnulib
28367 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28368 case system <time.h> has a #define.
28369
bd83aabe
PE
28370 mktime: merge <sys/types.h> change from gnulib
28371 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28372 since <time.t> is now guaranteed to define time_t.
28373
95770f14
PE
28374 mktime: merge HAVE_CONFIG_H change from gnulib
28375 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28376
5e1a27a9
L
283772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28378
0e44a77e
L
28379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28380 Use "neg %eax".
28381
5e1a27a9
L
28382 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28383 __rlim_t cast.
28384 (struct rusage): Use anonymous union to pad each field to
28385 __syscall_slong_t.
28386
46259bec
DM
283872012-05-21 David S. Miller <davem@davemloft.net>
28388
28389 * Makefules (o-iterator): Remove .s cases.
28390 (compile-command.s): Delete.
28391 (COMPILE.s): Delete.
28392 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28393
59f0c22e
JM
283942012-05-21 Joseph Myers <joseph@codesourcery.com>
28395
28396 * configure.in (libc_cv_predef_stack_protector): Only consider
28397 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28398 * configure: Regenerated.
28399
20c07380
L
284002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28401
bbb3154b
L
28402 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28403 New macro. Use R*LP on int and pointer.
28404 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28405 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28406 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28407 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28408
20c07380
L
28409 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28410 [__WORDSIZE_TIME64_COMPAT32] instead of
28411 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28412 (struct utmp): Likewise.
28413 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28414 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28415 Renamed to ...
28416 (__WORDSIZE_TIME64_COMPAT32): This.
28417 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28418 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28419 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28420 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28421 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28422 (__WORDSIZE_TIME64_COMPAT32): New macro.
28423
d8d1017e
AJ
284242012-05-21 Andreas Jaeger <aj@suse.de>
28425
28426 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28427 only if [SHARED]. Add prototype for __wcschr_ia32.
28428
6c7fb145
RM
284292012-05-21 Roland McGrath <roland@hack.frob.com>
28430
28431 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28432 of %rbp unmolested in the jmp_buf while mangling the low bits.
28433 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28434 unmolested high bits of %rbp while demangling the low bits.
28435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28436
66274218
AJ
284372012-05-21 Andreas Jaeger <aj@suse.de>
28438
07c58f8f
AJ
28439 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28440 * sunrpc/svc_simple.c: Use it for registerrpc.
28441 * sunrpc/xcrypt.c: Use it for passwd2des.
28442
66274218
AJ
28443 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28444
61f65140
L
284452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28446
28447 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28448 Don't define if [__SYSCALL_WORDSIZE != 32].
28449 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28450 New macro.
28451
5fefb436
AJ
284522012-05-21 Bruno Haible <bruno@clisp.org>
28453 Andreas Jaeger <aj@suse.de>
28454
28455 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28456 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28457 inptr and inend for must_buffer_ch.
28458 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28459 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28460 * stdio-common/Makefile (tests): Remove bug15.
28461 (bug15-ENV): Remove macro.
28462 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28463 anymore.
28464
d8e272ab
AJ
284652012-05-19 Andreas Jaeger <aj@suse.de>
28466 Roland McGrath <roland@hack.frob.com>
28467
28468 * manual/contrib.texi: Completely rewritten. It contains now an
28469 alphabetical list of contributors and their contributions.
28470
4a56a162
RH
284712012-05-21 Richard Henderson <rth@twiddle.net>
28472
28473 * misc/getauxval.c (__getauxval): Use unsigned long int.
28474 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28475 (getauxval): Use unsigned long int.
28476
d024d23c
L
284772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28478
28479 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28480
cbc00a03
RM
284812012-05-21 Roland McGrath <roland@hack.frob.com>
28482
28483 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28484 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28485 __alignof__ (long double).
28486
478143fa
AZ
284872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28488
28489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28490
c7683a6d
RH
284912012-05-20 Richard Henderson <rth@twiddle.net>
28492
28493 * misc/getauxval.c: New file.
28494 * misc/sys/auxv.h: New file.
28495 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28496 (routines): Add getauxval.
28497 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28498 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28499 * elf/dl-sysdep.c (_dl_auxv): Remove.
28500 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28501 * elf/dl-support.c (_dl_auxv): New variable.
28502 (_dl_aux_init): Initialize it.
28503 * manual/startup.texi (Auxiliary Vector): New node.
28504 * sysdeps/generic/bits/hwcap.h: New file.
28505 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28506 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28507 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28508 * sysdeps/sparc/sysdep.h: ... here. Include it.
28509 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28510 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28512 Update.
c7683a6d
RH
28513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28521
a6f1845d
AZ
285222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28523
28524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28525
cbcbe830
DM
285262012-05-19 David S. Miller <davem@davemloft.net>
28527
28528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28529
e0b16cc2
JM
285302012-05-19 Joseph Myers <joseph@codesourcery.com>
28531
28532 [BZ #14123]
28533 * math/s_ccosh.c: Include <float.h>
28534 (__ccosh): Avoid internal overflow calculating sinh and cosh
28535 values before multiplying by sin and cos values.
28536 * math/s_ccoshf.c: Likewise.
28537 * math/s_ccoshl.c: Likewise.
28538 * math/s_csin.c: Likewise.
28539 * math/s_csinf.c: Likewise.
28540 * math/s_csinl.c: Likewise.
28541 * math/s_csinh.c: Likewise.
28542 * math/s_csinhf.c: Likewise.
28543 * math/s_csinhl.c: Likewise.
28544 * math/libm-test.inc (ccos_test): Add more tests.
28545 (ccosh_test): Likewise.
28546 (csin_test): Likewise.
28547 (csinh_test): Likewise.
28548 * sysdeps/i386/fpu/libm-test-ulps: Update.
28549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28550
6ad13e08
L
285512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28552
f66f0ce8
L
28553 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28554 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28555
6ad13e08
L
28556 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28557
b1d072a7
JM
285582012-05-19 Joseph Myers <joseph@codesourcery.com>
28559
28560 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28561 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28562 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28563 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28564 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28565 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28566 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28567 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28568 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28569 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28570 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28571 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28572 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28573 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28574 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28575 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28576 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28577 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28578 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28579 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28580 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28581 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28582 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28583 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28584 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28585 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28586 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28587 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28588 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28589 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28590 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28591
9eae47cb
AJ
285922012-05-18 Andreas Jaeger <aj@suse.de>
28593
28594 * csu/.gitignore: Delete.
28595
bb07f69f
L
285962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28597
28598 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28599 (timex): Use __syscall_slong_t.
28600
e6bdb741
AJ
286012012-05-18 Andreas Jaeger <aj@suse.de>
28602 Carlos O'Donell <carlos_odonell@mentor.com>
28603
28604 * manual/install.texi (Configuring and compiling): Update
28605 description about files modified in the source directory.
d6c33fda 28606 * INSTALL: Regenerated.
e6bdb741 28607
1b74487e
L
286082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28609
28610 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28611 value. Use "or" to set return value to -1.
28612 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28613 negate return value.
28614
a88b64b9
TMQMF
286152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28616
57f41c40
AS
28617 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28618 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28619 failure if the compiler has Graphite support disabled.
28620 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28621 Likewise.
57f41c40
AS
28622 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28623 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28624 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28625 Likewise.
28626
3707636e
L
286272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28628
610b8622
L
28629 * sysdeps/x86_64/x32/_itoa.h: New file.
28630
7cd195df
L
28631 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28632 getdents system call only if kernel and user dirents have the
28633 same d_ino and d_off.
28634
94b07d20
L
28635 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28636 LLONG_MAX != LONG_MAX.
28637 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28638 (_fitoa_word): Likewise.
28639
18298070
L
28640 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28641 years.
28642 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28643 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28644 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28645
553c7ea4
L
28646 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28647 include <bits/wordsize.h>. Check __x86_64__ instead of
28648 __WORDSIZE.
28649 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28650 if __x86_64__ is defined. Use anonymous union on fpstate.
28651
3707636e
L
28652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28653 anonymous union.
28654
b53ef01a
AS
286552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28656
37fb1dc0
AS
28657 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28658 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28659 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28660 Refer to _rtld_local_ro instead of _rtld_global_ro.
28661 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28662 Likewise.
28663 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28664 Likewise.
28665 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28666 Likewise.
28667 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28668 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28669 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28670
b53ef01a
AS
28671 * sysdeps/powerpc/powerpc32/dl-machine.c
28672 (__elf_machine_runtime_setup) [PROF]: Don't reference
28673 _dl_prof_resolve.
28674
7a185db2
AJ
286752012-05-18 Andreas Jaeger <aj@suse.de>
28676
28677 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28678 function only available for GCCs before 3.4 since GCC 3.4
28679 introduced a builtin.
28680 (lrint): Likewise.
28681 (llrintf): Likewise.
28682 (llrint): Likewise.
28683 (fmaxf): Likewise.
28684 (fmax): Likewise.
28685 (fminf): Likewise.
28686 (fmin): Likewise.
28687 (rint): Likewise.
28688 (rintf): Likewise.
28689 (nearbyint): Likewise.
28690 (nearbyintf): Likewise.
28691 (ceil): Likewise.
28692 (ceilf): Likewise.
28693 (floor): Likewise.
28694 (floorf): Likewise.
28695
3e5aef87
L
286962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28697
428bd707
L
28698 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28699 on both fields and cast pointer to __syscall_ulong_t.
28700
3e5aef87
L
28701 * bits/types.h (__fsword_t): New type.
28702 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28703 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28704 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28705 (__FSWORD_T_TYPE): Likewise.
28706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28707 (__FSWORD_T_TYPE): Likewise.
28708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28709 (__FSWORD_T_TYPE): Likewise.
28710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28711 (__FSWORD_T_TYPE): Likewise.
28712 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28713 __SWORD_TYPE with __fsword_t.
28714 (statfs64): Likewise.
28715
1ba7c3dc
DM
287162012-05-17 David S. Miller <davem@davemloft.net>
28717
28718 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28719
59910343
AJ
287202012-05-17 Andreas Jaeger <aj@suse.de>
28721
28722 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28723 warning.
28724
2e4c1e9e
L
287252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28726
28727 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28728
de7f5ce7
AJ
287292012-05-17 Andreas Jaeger <aj@suse.de>
28730
28731 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28732 when it is used.
28733
286abc3d
CM
287342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28735
28736 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28737
477cc68e
L
287382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28739
28740 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28741 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28742
1a0994f5
CD
287432012-05-17 Andreas Jaeger <aj@suse.de>
28744 Carlos O'Donell <carlos_odonell@mentor.com>
28745
28746 [BZ #14059]
28747 * sysdeps/x86_64/multiarch/init-arch.h
28748 (bit_YMM_Usable): Rename to...
28749 (bit_AVX_Usable): ... this.
28750 (bit_FMA4_Usable): New macro.
28751 (bit_XMM_state): New macro.
28752 (bit_YMM_state): New macro.
28753 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28754 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28755 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28756 (CPUID_OSXSAVE): New macro.
28757 (CPUID_AVX): New macro.
28758 (CPUID_FMA4): New macro.
28759 (index_YMM_Usable): Rename to...
28760 (index_AVX_Usable): ... this.
28761 (HAS_AVX): Use HAS_ARCH_FEATURE.
28762 (HAS_FMA4): Likewise.
28763 (HAS_YMM_USABLE): Remove.
28764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28765 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28766 are present.
28767 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28768 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28769 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28770 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28771 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28772
0af797de
CM
287732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28774
28775 * math/libm-test.c: Support platforms without multiple rounding modes.
28776 * math/bug-nextafter.c: Support platforms without FP exceptions.
28777 * math/bug-nexttoward.c: Likewise.
28778 * math/test-fenv.c: Likewise.
28779 * math/test-misc.c: Likewise.
28780 * stdlib/bug-getcontext.c: Likewise.
28781
e39745ff
AJ
287822012-05-17 Andreas Jaeger <aj@suse.de>
28783
28784 * manual/examples/search.c (critter_cmp): Change signature to
28785 avoid warnings.
28786 * manual/string.texi (Collation Functions): Likewise.
28787
48970aba
L
287882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28789
28790 * bits/types.h: Fold copyright years.
28791 * bits/typesizes.h: Likewise.
28792 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28796 * time/time.h: Likewise.
28797
bedee953
PP
287982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28799
28800 [BZ #208]
28801 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28802 in instead of returning them. Return void.
28803 (__libc_mallinfo): Accumulate over all arenas.
28804 (__malloc_stats): Adjust for change in int_mallinfo interface.
28805
61653dfb
RM
288062012-05-16 Roland McGrath <roland@hack.frob.com>
28807
30b99d79
RM
28808 [BZ #10375]
28809 * configure.in (NM): Add AC_CHECK_TOOL for it.
28810 (libc_extra_cflags): New substituted variable.
28811 Check for -fstack-protector being used implicitly.
28812 * configure: Regenerated.
28813 * config.make.in (config-extra-cflags): New variable,
28814 gets @libc_extra_cflags@.
28815 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28816
61653dfb
RM
28817 [BZ #10375]
28818 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28819 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28820 * configure: Regenerated.
28821 * config.make.in (CPPUNDEFS): New substituted variable.
28822 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28823 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28824 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28825
661768bb
L
288262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28827
28828 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28829 (mq_attr): Use __syscall_slong_t.
28830
d4261567
L
288312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28834 Check __x86_64__ instead of __WORDSIZE.
28835 (_STAT_VER_LINUX): Likewise.
28836 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28837 __syscall_ulong_t and __syscall_slong_t.
28838 (stat64): Likewise.
28839
cf3ff365
L
288402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28841
28842 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28843
76cf3e4d
L
288442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28845
28846 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28847
a637753a
L
288482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28849
28850 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28851 __syscall_ulong_t.
28852
d5e05119
L
28853 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28854 include <bits/wordsize.h>. Check __x86_64__ instead of
28855 __WORDSIZE.
28856 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28857 defined.
28858 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28859
f62ee380
L
28860 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28861 include <bits/wordsize.h>. Check __x86_64__ instead of
28862 __WORDSIZE.
28863 (user_regs_struct): Use "__extension__ unsigned long long"
28864 instead of "unsigned long" if __x86_64__ is defined.
28865 (user): Likewise. Pad after pointer field if __ILP32__ is
28866 defined.
28867
4e124ced
JM
288682012-05-16 Joseph Myers <joseph@codesourcery.com>
28869
6a3951a0
JM
28870 * configure.in (makeinfo): Require version 4.5 or later. Allow
28871 versions 5 to 9.
28872 * configure: Regenerated.
28873 * manual/install.texi (texinfo): Increase version requirement to
28874 4.5 or later.
28875 * INSTALL: Regenerated.
28876
4e124ced
JM
28877 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28878
953ca31a
L
288792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28880
28881 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28882
617aca05
L
28883 * sysdeps/x86_64/x32/ffs.c: New file.
28884
5762f7ae
L
28885 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28886 __syscall_ulong_t.
28887 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28888 defined. Use __syscall_ulong_t.
28889 (shminfo): Use __syscall_ulong_t.
28890 (shm_info): Likewise.
28891
a26b6856
L
28892 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28893 __syscall_ulong_t.
28894
cb2b9ef7
L
28895 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28896 <bits/wordsize.h>.
28897 (msgqnum_t): Use __syscall_ulong_t.
28898 (msglen_t): Likewise.
28899 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28900 __syscall_ulong_t.
28901
34683bb0
L
28902 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28903 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28904
84a68786
L
28905 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28906
48baa5f1
L
28907 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28908 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28909
180be88b
L
28910 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28911 __syscall_slong_t.
28912
5e90c8ad
L
28913 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28914 include <bits/wordsize.h>. Check __x86_64__ instead of
28915 __WORDSIZE.
28916
23dfb58b
L
28917 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28918 "unsigned long long int" if __x86_64__ is defined.
28919 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28920
ce5d54b0
L
28921 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28922 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28923 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28924
13dc9eac
L
28925 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28926 <stdint.h>.
28927 (GET_PC): Cast to uintptr_t first.
28928 (GET_FRAME): Likewise.
28929 (GET_STACK): Likewise.
28930
a7895d15
L
28931 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28932 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28933 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28935 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28936 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28937 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28938 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28939 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28940 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28942 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28943 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28944 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28945 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28947 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28951 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28952 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28953 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28956 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28957 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28958 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28959 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28960
656416c9
AS
289612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28962
5bd66283
AS
28963 * Makerules (+depfiles): Also collect depfiles from .oS in
28964 $(extra-objs).
28965 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28966 .oS, $(libnldbl-routines)).
28967
656416c9
AS
28968 * Makerules (native-compile-mkdep-flags): Define.
28969 * sunrpc/Makefile (extra-objs): Add $(addprefix
28970 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28971 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28972 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28973 calling $(make-target-directory).
28974
a46f2169
L
289752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28976
28977 * bits/types.h (__snseconds_t): Removed.
28978 * time/time.h (struct timespec): Replace __snseconds_t with
28979 __syscall_slong_t.
28980 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28981 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28982 Likewise.
28983 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28984 (__SNSECONDS_T_TYPE): Likewise.
28985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28986 (__SNSECONDS_T_TYPE): Likewise.
28987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28988 (__SNSECONDS_T_TYPE): Likewise.
28989
6af6528b
L
289902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28991
28992 * sysdeps/mach/hurd/bits/typesizes.h
28993 (__SYSCALL_SLONG_TYPE): New macro.
28994 (__SYSCALL_ULONG_TYPE): Likewise.
28995
de986b56
L
289962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28997
28998 * bits/types.h (__syscall_slong_t): New type.
28999 (__syscall_ulong_t): Likewise.
29000
29001 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29002 (__SYSCALL_ULONG_TYPE): Likewise.
29003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29004 (__SYSCALL_SLONG_TYPE): Likewise.
29005 (__SYSCALL_ULONG_TYPE): Likewise.
29006 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29007 (__SYSCALL_SLONG_TYPE): Likewise.
29008 (__SYSCALL_ULONG_TYPE): Likewise.
29009 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29010 (__SYSCALL_SLONG_TYPE): Likewise.
29011 (__SYSCALL_ULONG_TYPE): Likewise.
29012
85736dc7
L
290132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29014
29015 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29016 Add sigaltstack-offsets.sym.
29017 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29018 <sigaltstack-offsets.h>.
29019 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29020 longjmp_msg pointer.
29021 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29022 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29023 signal stack.
29024 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29025
cc03b296
JM
290262012-05-15 Joseph Myers <joseph@codesourcery.com>
29027
a9538892
JM
29028 * elf/stackguard-macros.h: Remove file.
29029 * sysdeps/generic/stackguard-macros.h: New file.
29030 * sysdeps/i386/stackguard-macros.h: Likewise.
29031 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29032 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29033 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29034 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29035 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29036 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29037 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29038 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29039 <elf/stackguard-macros.h>.
29040
cc03b296
JM
29041 [BZ #14109]
29042 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29043 __aligned__ in attribute.
29044 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29045 (gregset_t): Likewise.
29046
93171016
L
290472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29048
29049 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29050 * sysdeps/x86_64/64/Implies-after: Here. New file.
29051 * sysdeps/x86_64/x32/Implies-after: New file.
29052
d86813a0
L
290532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29054
29055 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29056 and access return value for _dl_profile_fixup. Use R10_LP to
29057 load frame size.
29058
2953ec75
L
290592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29060
29061 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29062
3b550e9e
L
290632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29066 * sysdeps/x86_64/x32/sysdep.h: New file.
29067
eda41706
L
290682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29069
29070 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29071 * sysdeps/x86_64/setjmp.S: Likewise.
29072
9ea01d93
AZ
290732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29074
29075 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29076 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29077 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29078 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29079 remove unused global constant.
29080
02a91938
CM
290812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29082
29083 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29084 include of <not-cancel.h>.
29085
6540185f
RM
290862012-05-15 Roland McGrath <roland@hack.frob.com>
29087
29088 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29089
509072a0
AJ
290902012-05-15 Jeff Law <law@redhat.com>
29091 Andreas Jaeger <aj@suse.de>
29092
29093 [BZ #13594]
29094 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29095 out from...
29096 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29097 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29098 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29099 code changing __hst_map_handle.map.
29100
ba75122d
RM
291012012-05-15 Roland McGrath <roland@hack.frob.com>
29102
29103 * configure.in (sysnames): Look for Implies-before and Implies-after
29104 files.
29105 * configure: Regenerated.
29106
890d8bd8
L
291072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29108
29109 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29110 8-byte data alignment with LP_SIZE alignment.
29111
f6ee6623
L
291122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29113
29114 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29115 into R10_LP.
29116
ea2626f6
L
291172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29118
29119 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29120
085f715e
L
291212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29122
29123 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29124 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29125 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29126 Likewise.
29127 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29128
be8498fc
L
291292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29130
29131 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29132 (stackinfo_sub_sp): Likewise.
29133
70bc83b9
L
291342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29135
29136 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29137 RAX_LP.
29138
9bc0b730
L
291392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29140
29141 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29142 into R*_LP.
29143
6d2850e7
L
291442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29145
29146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29147 sizes into R*_LP.
29148
3cb84561
L
291492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29150
29151 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29152
54e2ed81
L
291532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29154
29155 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29156 into R11_LP and load __x86_64_shared_cache_size_half into
29157 R8_LP.
29158
8a17f349
L
291592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29160
29161 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29162 R8_LP.
29163
777b1eea
AZ
291642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29165
29166 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29167 logb for POWER7.
29168 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29169 logbf for POWER7.
29170 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29171 logbl for POWER7.
29172 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29173 powerpc32/power7/fpu/s_logb.c via #include.
29174 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29175 powerpc32/power7/fpu/s_logbf.c via #include.
29176 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29177 powerpc32/power7/fpu/s_logbl.c via #include.
29178
d20d4ac2
JM
291792012-05-15 Joseph Myers <joseph@codesourcery.com>
29180
29181 * README.libm: Remove file.
29182
6cdef1ab
L
291832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29184
29185 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29186 count for x32. Use R*_LP and omit operand-size suffix.
29187
0b254d8f
L
291882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29189
29190 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29191 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29192 * sysdeps/x86_64/x32/shlib-versions: New file.
29193
ceb809dc
RM
291942012-05-14 Roland McGrath <roland@hack.frob.com>
29195
29196 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29197 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29198 Use _dl_fatal_printf instead.
29199
37f1abd4
JM
292002012-05-14 Joseph Myers <joseph@codesourcery.com>
29201
29202 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29203 set if not set by the user. Do not allow for being unset.
29204 * sysdeps/unix/sysv/linux/configure: Regenerated.
29205
11de3a33
L
292062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29207
29208 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29209 the `q' suffix from lea and replace .quad with ASM_ADDR.
29210
e02f153a
L
292112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29212
29213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29214 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29215 instead of $17.
29216 (PTR_DEMANGLE): Likewise.
29217
520ae0fd
L
292182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29219
29220 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29221 (LP_OP): Likewise.
29222 (ASM_ADDR): Likewise.
29223 (RAX_LP): Likewise.
29224 (RBP_LP): Likewise.
29225 (RBX_LP): Likewise.
29226 (RCX_LP): Likewise.
29227 (RDI_LP): Likewise.
29228 (RSI_LP): Likewise.
29229 (RSP_LP): Likewise.
29230 (R8_LP): Likewise.
29231 (R9_LP): Likewise.
29232 (R10_LP): Likewise.
29233 (R10_LP): Likewise.
29234 (R11_LP): Likewise.
29235 (R12_LP): Likewise.
29236 (R13_LP): Likewise.
29237 (R14_LP): Likewise.
29238 (R15_LP): Likewise.
29239
b985be81
L
292402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29241
29242 * sysdeps/x86_64/x32/dl-machine.h: New file.
29243
6a4888ff
AJ
292442012-05-14 Andreas Jaeger <aj@suse.de>
29245
29246 * manual/Makefile (subdir): Remove export of subdir.
29247 (all): Remove target.
29248 (.PHONY): Remove all from list.
29249 (mkinstalldirs): Remove.
29250 (.PHONY): Remove installdirs from list.
29251 ($(inst_infodir)/libc.info): Use make-target-directory.
29252 (installdirs): Remove.
29253 (subdir_%): Remove.
29254 (glibc-targets): Remove.
29255 (lib): Remove.
29256 (stubs): Remove.
29257 ($(objpfx)stubs ../po/manual.pot): Remove.
29258 ($(objpfx)stamp%): Remove.
29259 (make-target-directory): Remove.
29260 (subdir_install): Remove.
29261 (routines): Remove.
29262 (aux): Remove.
29263 (sources): Remove.
29264 (objects): Remove.
29265 (headers): Remove.
29266
29267 [BZ #13750]
29268 * manual/.gitignore: Remove, it's not needed anymore.
29269 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29270 all files in it.
29271 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29272 directory.
29273 (texis): Renamed to $(objpfx)texis.
29274 (texis-path): New, contains path to generated files.
29275 (chapters.%): Use texis-path for complete path, add extra argument
29276 libc-texinfo.sh.
29277 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29278 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29279 (summary,texi, stamp-summary): Use complete path of
29280 files. Generate files in build dir.
29281 (dir-add.texi): Build in build dir.
29282 (libm-err.texi,stamp-libm-err): Likewise.
29283 (version.texi, stamp-version): Likewise.
29284 (.%c.texi): Likewise.
29285 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29286 (mostlyclean): Remove target.
29287 (realclean): Remove target.
29288 (generated): Add new variable with contents from mostlyclean and
29289 realclean, remove entries duplicated in common-mostlyclean, add
29290 stamp-libm-err and stamp-version.
29291 (generated-dirs): Add libc directory.
29292 ($(inst_infodir)/libc.info): Install files from build dir.
29293
29294 * manual/install.texi (Configuring and compiling): Adjust since
29295 the info files are not part of the tar ball anymore.
29296
7ac77294
AJ
292972012-05-14 Andreas Jaeger <aj@suse.de>
29298
29299 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29300 variable.
29301
ffb7875d
JM
293022012-05-14 Joseph Myers <joseph@codesourcery.com>
29303
29304 [BZ #13717]
29305 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29306 to 2.2.0 where earlier.
29307 * sysdeps/unix/sysv/linux/configure: Regenerated.
29308 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29309 Remove conditional code.
29310 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29311 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29312 Remove conditional code.
29313 [!__NR_lchown]: Likewise.
29314 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29315 [__NR_lchown]: Likewise.
29316 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29317 comment referencing __ASSUME_LCHOWN_SYSCALL.
29318 * sysdeps/unix/sysv/linux/i386/sigaction.c
29319 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29320 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29321 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29322 Remove conditional code.
29323 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29324 (__protocol_available): Remove #if 0 code.
29325 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29326 conditional code.
29327 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29328 * sysdeps/unix/sysv/linux/kernel-features.h
29329 (__ASSUME_GETCWD_SYSCALL): Don't define.
29330 (__ASSUME_REALTIME_SIGNALS): Likewise.
29331 (__ASSUME_PREAD_SYSCALL): Likewise.
29332 (__ASSUME_PWRITE_SYSCALL): Likewise.
29333 (__ASSUME_POLL_SYSCALL): Likewise.
29334 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29335 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29336 non-SPARC.
29337 (__ASSUME_SIOCGIFNAME): Don't define.
29338 (__ASSUME_MSG_NOSIGNAL): Likewise.
29339 (__ASSUME_SENDFILE): Define unconditionally.
29340 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29341 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29342 conditional code.
29343 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29344 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29345 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29346 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29347 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29348 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29349 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29363 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29366 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29369 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29374 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29375 Remove conditional code.
29376 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29377 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29378 Remove conditional code.
29379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29380 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29381 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29382 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29383 Remove conditional code.
29384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29385 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29386 Remove conditional code.
29387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29388 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29389 Remove conditional code.
29390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29391 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29392 Remove conditional code.
29393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29394 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29395 Remove conditional code.
29396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29397 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29400 * sysdeps/unix/sysv/linux/sigaction.c
29401 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29402 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29403 * sysdeps/unix/sysv/linux/sigpending.c
29404 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29405 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29406 * sysdeps/unix/sysv/linux/sigprocmask.c
29407 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29408 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29409 * sysdeps/unix/sysv/linux/sigsuspend.c
29410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29413 (__libc_missing_rt_sigs): Remove.
29414 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29415 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29416 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29417 Remove conditional code.
29418 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29419 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29420 return 1.
29421 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29422 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29423 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29424 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29425
1bfb7291
AJ
294262012-05-14 Andreas Jaeger <aj@suse.de>
29427
caae5a81
AJ
29428 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29429 it's not used in glibc.
29430 (__coshm1): Likewise.
29431 (__acosh1p): Likewise.
29432 (__sgn): Likewise.
29433
1bfb7291
AJ
29434 * manual/string.texi (Copying and Concatenation): Add missing
29435 variable in concat example.
29436 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29437
c044d724
L
294382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29439
144c5467 29440 [BZ #14103]
c044d724
L
29441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29442 __builtin_clzl with __builtin_clzll.
29443
2523c62b
L
294442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29445
29446 [BZ #14104]
29447 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29448 libc_freeres_ptr.
29449
d7bb4c42
LD
294502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29451
29452 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29453 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29454 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29455 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29456
9dc4e1fb
MF
294572012-05-14 Mike Frysinger <vapier@gentoo.org>
29458
29459 * NEWS: Update ia64 info.
29460
c7df0112
AS
294612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29462
29463 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29464 used as bcopy.
29465
dc70356c
TS
294662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29467
29468 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29469 * sysdeps/unix/syscalls.list (dup3): Likewise.
29470 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29471 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29472
9fb1a21f
L
294732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29474
29475 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29476 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29477
4822a2a5
L
294782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29479
29480 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29481 thread pointer.
29482 (TLS_IE): Use mov/add instead of movq/addq to load thread
29483 pointer.
29484 (TLS_GD_PREFIX): New.
29485 (TLS_GD): Use it.
29486
842b81d6
DM
294872012-05-11 David S. Miller <davem@davemloft.net>
29488
29489 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29490 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29491 (_FPU_SETCW): Likewise.
29492
1cf463cd
L
294932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29494
29495 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29496 is 32-byte aligned.
29497
60cc4a18
AS
294982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29499
29500 [BZ #11837]
29501 * iconvdata/gb18030.c: Update tables.
29502 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29503 characters specially.
29504 (BODY for TO_LOOP): Add encoding of missing ranges.
29505
febb44a4
TS
295062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29507
29508 [BZ #13673]
29509 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29510 * sysdeps/mach/hurd/dup3.c: Likewise.
29511 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29512 * sysdeps/powerpc/memmove.c:: Likewise.
29513
0a10fb9e
L
295142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29515
29516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29517 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29518
df8a552f
L
295192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29520
29521 * elf/elf.h (R_X86_64_RELATIVE64): New.
29522 (R_X86_64_NUM): Updated.
29523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29524 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29525 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29526 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29527 tst-quad1pie tst-quad2pie
29528 (modules-names): Add tst-quadmod1 tst-quadmod2.
29529 ($(objpfx)tst-quad1): New dependency.
29530 ($(objpfx)tst-quad2): Likewise.
29531 ($(objpfx)tst-quad1pie): Likewise.
29532 ($(objpfx)tst-quad2pie): Likewise.
29533 * sysdeps/x86_64/tst-quad1.c: New file.
29534 * sysdeps/x86_64/tst-quad1pie.c: New file.
29535 * sysdeps/x86_64/tst-quad2.c: Likewise.
29536 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29537 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29538 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29539 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29540 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29541
f34d6f84
ST
295422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29543
f42d41d1
ST
29544 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29545 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29546 * streams/stropts.h (t_scalar_t): Define type.
29547
3c3571fc
ST
29548 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29549 (_PATH_PRESERVE): Set to "/var/lib".
29550 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29551
61f06bd3
ST
29552 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29553 instead of int.
29554
918d4d71
ST
29555 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29556 if __dir_mkfile succeeded.
29557
f34d6f84
ST
29558 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29559 checking for _hurd_dtablesize. Unlock it right after having
29560 finished _hurd_dtable allocation.
29561
10589b4a
TS
295622012-05-10 Thomas Schwinge <thomas@schwinge.name>
29563
674cdbc7
TS
29564 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29565 * sysdeps/mach/hurd/configure: Regenerated.
29566 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29567 special-casing to...
29568 * sysdeps/gnu/configure.in: ... this new file.
29569 * sysdeps/unix/sysv/linux/configure: Regenerated.
29570 * sysdeps/gnu/configure: New generated file.
29571
8e41b99f
TS
29572 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29573 for Linux: use nsec instead of usec, as well as:
29574 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29575 members of type struct timespec.
29576 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29577 New macros.
29578 (struct stat64): Likewise.
29579 (_STATBUF_ST_NSEC): New macro.
29580 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29581
10589b4a
TS
29582 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29583 __strtoul_internal rather than strtoul.
29584
63643c85
PT
295852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29586
29587 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29588 and reject them.
29589
3faebe6a
ST
295902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29591
29592 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29593 which preserves existing values.
29594 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29595
c6474b07
PT
295962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29597
29598 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29599 TIMEOUT values. Return EINVAL for NFDS values either negative or
29600 greater than FD_SETSIZE.
29601
1043890b
ST
296022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29603
29604 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29605 allocated, call __vm_protect to finish enabling the existing space, and
29606 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29607 allocate the remainder.
29608
37ed8b9b
PT
296092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29610
29611 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29612 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29613
db653660
ST
296142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29615
37ed8b9b
PT
29616 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29617 sysdeps/mach/hurd/readlink.c.
b29d4053 29618
db653660
ST
29619 * posix/tst-sysconf.c (posix_options): Only use
29620 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29621 _POSIX_SYNCHRONIZED_IO when they are defined
29622 * sysdeps/mach/hurd/bits/posix_opt.h:
29623 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29624 (_XOPEN_REALTIME): Undefine macro.
29625 (_XOPEN_REALTIME_THREADS): Undefine macro.
29626 (_XOPEN_SHM): Undefine macro.
29627 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29628 macro to -1.
29629 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29630 macro to -1.
29631 (_POSIX_ASYNC_IO): Undefine macro.
29632 (_POSIX_PRIORITIZED_IO): Undefine macro.
29633 (_POSIX_SPIN_LOCKS): Define macro to -1.
29634
ee16e894
ST
29635 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29636 SA_NODEFER, SA_RESETHAND.
29637 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29638 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29639 F_DUPFD_CLOEXEC.
29640
6103ae3b
TS
296412012-05-10 Thomas Schwinge <thomas@schwinge.name>
29642
29643 * elf/Makefile (pldd-modules): Define unconditionally.
29644
80b4e5f3
TS
296452012-05-10 Thomas Schwinge <thomas@schwinge.name>
29646
29647 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29648
edadcbd6
ST
296492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29650
29651 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29652 Return ENOENT when name is empty.
29653 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29654
80694780
TS
296552012-05-10 Thomas Schwinge <thomas@schwinge.name>
29656
1792c087
TS
29657 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29658
80694780
TS
29659 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29660
6b645f0d
ST
296612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29662
80694780
TS
29663 Fix mlock in all cases except non-readable pages.
29664 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29665 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29666
6b645f0d
ST
29667 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29668 (__mkdir): When path is `/', just fail with EEXIST.
29669 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29670
e468f8a3
TS
296712012-05-10 Thomas Schwinge <thomas@schwinge.name>
29672
29673 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29674 <sys/uio.h> (for writev).
29675 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29676 and <sys/param.h> (for MIN).
29677
a4186cff
PT
296782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29679
29680 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29681 REQUESTED_TIME. Properly set the remaining time and return EINTR
29682 if interrupted.
29683
510bbf14
TS
296842012-05-10 Thomas Schwinge <thomas@schwinge.name>
29685
29686 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29687 Depend on against $(link-rpcuserlibs).
29688
5d5722e8
ST
296892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29690
a4186cff
PT
29691 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29692 (__libc_stack_end): Do not use attribute_relro.
29693 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29694 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29695 to libthread-provided value.
a4186cff
PT
29696 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29697 attribute_relro.
5d5722e8 29698
37233df9
TS
296992012-05-10 Thomas Schwinge <thomas@schwinge.name>
29700
be971a2b
TS
29701 [BZ #3748]
29702 * bits/libc-lock.h (__libc_once_get): New macro.
29703 * sysdeps/mach/bits/libc-lock.h: Likewise.
29704 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29705 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29706 instead of using implementation details.
29707
37233df9
TS
29708 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29709 * libio/freopen.c: Likewise.
29710 * libio/freopen64.c: Likewise.
29711 * misc/syslog.c: Likewise.
29712 * nscd/connections.c: Likewise.
29713 * nscd/netgroupcache.c: Likewise.
29714 * sysdeps/posix/getcwd.c: Likewise.
29715
38de94a5
RM
297162012-05-10 Roland McGrath <roland@hack.frob.com>
29717
29718 * math/w_ilogbf.c: Add #include <limits.h>.
29719
67530489
ST
297202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29721
a4186cff 29722 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29723 path instead of returning without unlocking.
29724
67530489
ST
29725 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29726 immediate-write ioctls.
29727 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29728
5aa3a74a
TS
297292012-05-10 Thomas Schwinge <thomas@schwinge.name>
29730
18bad2ae
TS
29731 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29732 __builtin_frame_address instead of making assumptions about the
29733 location of the return address relative to DATA. Force early load of
29734 the return address.
29735 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29736 __builtin_frame_address.
29737
5aa3a74a
TS
29738 dup3 for GNU Hurd.
29739 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29740 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29741 implement dup3 and do some further code clean-ups.
29742 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29743 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29744
ecd0de9a
ST
297452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29746
cd9fa985
ST
29747 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29748
a4186cff
PT
29749 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29750 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29751 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29752 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29753 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29754 d->port.lock.
802ca5a5 29755
a4186cff
PT
29756 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29757 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29758 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29759
bcf55240
TS
297602012-05-10 Thomas Schwinge <thomas@schwinge.name>
29761
6960eb42
TS
29762 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29763 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29764 definitions.
29765
eb43375f
TS
29766 accept4 for GNU Hurd.
29767 * include/sys/socket.h (__libc_accept4): New prototype.
29768 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29769 to implement __libc_accept4.
29770 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29771 __libc_accept4.
29772 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29773
bcf55240
TS
29774 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29775 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29776 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29777 signal-defines.sym.
29778
6178c55b
ST
297792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29780
a4186cff 29781 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29782
6f080c2f
TS
297832012-05-10 Thomas Schwinge <thomas@schwinge.name>
29784
29785 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29786 assertion on O_CLOEXEC flag.
29787 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29788 * hurd/intern-fd.c: Likewise.
29789 * hurd/port2fd.c: Likewise.
29790
bcfe3a54
ST
297912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29792
29793 [BZ #3906]
29794 * bits/in.h (IPV6_PKTINFO): Define new macro.
29795 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29796
89c9aa49
AZ
297972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29798
29799 [BZ #13954]
29800 [BZ #13955]
29801 [BZ #13956]
29802 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29803 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29804 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29805 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29807 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29808 * math/libm-test.inc (logb_test) : Additional logb tests.
29809
021db4be
AJ
298102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29811 Andreas Jaeger <aj@suse.de>
29812
29813 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29814 * configure: Regenerated.
29815 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29816 * config.make.in (link-obsolete-rpc): New substituted variable.
29817 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29818 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29819 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29820 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29821 so that libc.a contains the symbols.
29822 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29823 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29824 * sunrpc/auth_none.c: Likewise.
29825 * sunrpc/auth_unix.c: Likewise.
29826 * sunrpc/authdes_prot.c: Likewise.
29827 * sunrpc/authuxprot.c: Likewise.
29828 * sunrpc/clnt_gen.c: Likewise.
29829 * sunrpc/clnt_perr.c: Likewise.
29830 * sunrpc/clnt_raw.c: Likewise.
29831 * sunrpc/clnt_simp.c: Likewise.
29832 * sunrpc/clnt_tcp.c: Likewise.
29833 * sunrpc/clnt_udp.c: Likewise.
29834 * sunrpc/clnt_unix.c: Likewise.
29835 * sunrpc/des_crypt.c: Likewise.
29836 * sunrpc/des_soft.c: Likewise.
29837 * sunrpc/get_myaddr.c: Likewise.
29838 * sunrpc/key_call.c: Likewise.
29839 * sunrpc/key_prot.c: Likewise.
29840 * sunrpc/netname.c: Likewise.
29841 * sunrpc/pm_getmaps.c: Likewise.
29842 * sunrpc/pm_getport.c: Likewise.
29843 * sunrpc/pmap_clnt.c: Likewise.
29844 * sunrpc/pmap_prot.c: Likewise.
29845 * sunrpc/pmap_prot2.c: Likewise.
29846 * sunrpc/pmap_rmt.c: Likewise.
29847 * sunrpc/publickey.c: Likewise.
29848 * sunrpc/rpc_cmsg.c: Likewise.
29849 * sunrpc/rpc_common.c: Likewise.
29850 * sunrpc/rpc_dtable.c: Likewise.
29851 * sunrpc/rpc_prot.c: Likewise.
29852 * sunrpc/rpc_thread.c: Likewise.
29853 * sunrpc/rtime.c: Likewise.
29854 * sunrpc/svc.c: Likewise.
29855 * sunrpc/svc_auth.c: Likewise.
29856 * sunrpc/svc_raw.c: Likewise.
29857 * sunrpc/svc_run.c: Likewise.
29858 * sunrpc/svc_tcp.c: Likewise.
29859 * sunrpc/svc_udp.c: Likewise.
29860 * sunrpc/svc_unix.c: Likewise.
29861 * sunrpc/svcauth_des.c: Likewise.
29862 * sunrpc/xcrypt.c: Likewise.
29863 * sunrpc/xdr.c: Likewise.
29864 * sunrpc/xdr_array.c: Likewise.
29865 * sunrpc/xdr_float.c: Likewise.
29866 * sunrpc/xdr_intXX_t.c: Likewise.
29867 * sunrpc/xdr_mem.c: Likewise.
29868 * sunrpc/xdr_rec.c: Likewise.
29869 * sunrpc/xdr_ref.c: Likewise.
29870 * sunrpc/xdr_sizeof.c: Likewise.
29871 * sunrpc/xdr_stdio.c: Likewise.
29872
b5c086a2
RM
298732012-05-10 Roland McGrath <roland@hack.frob.com>
29874
29875 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29876 change. Update copyright years.
29877
6d74dd09
JM
298782012-05-10 Joseph Myers <joseph@codesourcery.com>
29879
29880 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29881
28e72501
MK
298822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29883 Joseph Myers <joseph@codesourcery.com>
29884 Paul Pluzhnikov <ppluzhnikov@google.com>
29885
29886 [BZ #14012]
29887 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29888 requiring rpcgen.
29889 [cross-compiling] (extra-libs): Likewise.
29890 [cross-compiling] (extra-libs-others): Likewise.
29891 [cross-compiling] (librpcsvc-routines): Likewise.
29892 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29893 [cross-compiling] (omit-deps): Likewise.
29894 (sunrpc-CPPFLAGS): New variable.
29895 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29896 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29897 (cross-rpcgen-objs): New variable.
29898 (extra-objs): Append $(cross-rpcgen-objs).
29899 ($(cross-rpcgen-objs)): New rule.
29900 ($(objpfx)cross-rpcgen): Likewise.
29901 (rpcgen-cmd): Define to use $(built-program-file). Expand
29902 comment.
29903 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29904 ($(objpfx)x%.stmp): Likewise.
29905 * sunrpc/proto.h [IS_IN_build] (_): Define.
29906 [IS_IN_build] (_libc_intl_domainname): Likewise.
29907
c8c59454
L
299082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29909
29910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29911 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29912 and R_X86_64_TPOFF64.
29913
6f27cd16
JM
299142012-05-10 Joseph Myers <joseph@codesourcery.com>
29915
29916 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29917 sysdeps/unix/sysv/syscalls.list.
29918 (stime): Likewise.
29919 (utime): Likewise.
29920 * sysdeps/unix/sysv/syscalls.list: Remove file.
29921
02467e1c
PE
299222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29923
29924 [BZ #3440]
29925 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29926 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29927 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29928 (__LC_IDENTIFICATION): Make these macros useful in #if
29929 expressions, as required by C99.
29930
da392631
AS
299312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29932
29933 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29934 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29935 after this.
29936
8115f29b
L
299372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29938
29939 * stdlib/longlong.h: Updated from GCC.
29940
bdd74070
AJ
299412012-05-09 Andreas Jaeger <aj@suse.de>
29942
edfe0dbe
AJ
29943 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29944 default is first entry.
29945 (run_mode): Set type.
29946 (main): Remove informal message about syslog.
29947 (options): Fix typo.
29948
bcfe3a54
ST
29949 [BZ #14053]
29950 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29951 to asm.
bcfe3a54
ST
29952 (lrint): Likewise.
29953 (llrintf): Likewise.
29954 (llrint): Likewise.
29955 (rint): Likewise.
29956 (rintf): Likewise.
29957 (nearbyint): Likewise.
29958 (nearbyintf): Likewise.
bdd74070 29959
91d8d69e
AJ
299602012-05-09 Andreas Jaeger <aj@suse.de>
29961 Pedro Alves <palves@redhat.com>
29962
29963 * nscd/nscd.c (run_mode): Use enum.
29964 (main): Cleanup coding style issue.
29965
bb90b80b
AJ
299662012-05-09 Alexandre Oliva <aoliva@redhat.com>
29967 Andreas Jaeger <aj@suse.de>
29968
bcfe3a54
ST
29969 * nscd/nscd.c (go_background): Replaced with...
29970 (run_mode): ... this.
bb90b80b 29971 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29972 (options): Add -F --foreground.
29973 (main): Implement it.
29974 (parse_opt): Parse it.
bb90b80b 29975
1a4b75a1
AJ
299762012-05-09 Andreas Jaeger <aj@suse.de>
29977
29978 [BZ #14083]
29979 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29980 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29981 -Wconversion warning.
29982 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29983 Likewise.
29984
b1cc2472
JM
299852012-05-09 Joseph Myers <joseph@codesourcery.com>
29986
29987 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29988 == 0.
29989 (LC_ALL): Use macro-int-constant.
29990 (LC_COLLATE): Likewise.
29991 (LC_CTYPE): Likewise.
29992 (LC_MESSAGES): Likewise.
29993 (LC_MONETARY): Likewise.
29994 (LC_NUMERIC): Likewise.
29995 (LC_TIME): Likewise.
29996 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29997 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29999 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30000 Specify type.
30001 [C99-based standards] (float_t): Expect type.
30002 [C99-based standards] (double_t): Expect type.
30003 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30004 type.
30005 [C99-based standards] (HUGE_VALL): Likewise.
30006 [C99-based standards] (INFINITY): Likewise.
30007 [C99-based standards] (NAN): Likewise.
30008 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30009 [C99-based standards] (FP_NAN): Likewise.
30010 [C99-based standards] (FP_NORMAL): Likewise.
30011 [C99-based standards] (FP_SUBNORMAL): Likewise.
30012 [C99-based standards] (FP_ZERO): Likewise.
30013 [C99-based standards] (FP_FAST_FMA): Use
30014 optional-macro-int-constant. Specify type. Require == 1.
30015 [C99-based standards] (FP_FAST_FMAF): Likewise.
30016 [C99-based standards] (FP_FAST_FMAL): Likewise.
30017 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30018 [C99-based standards] (FP_ILOGBNAN): Likewise.
30019 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30020 Specify type.
30021 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30022 [C99-based standards] (math_errhandling): Specify type.
30023 [ISO99 || ISO11] (signgam): Do not allow.
30024 [non-C99-based standards] (copysignf): Do not allow.
30025 [non-C99-based standards] (exp2f): Likewise.
30026 [non-C99-based standards] (log2f): Likewise.
30027 [non-C99-based standards] (modff): Allow.
30028 [non-C99-based standards] (erff): Do not allow.
30029 [non-C99-based standards] (erfcf): Likewise.
30030 [non-C99-based standards] (gammaf): Likewise.
30031 [non-C99-based standards] (hypotf): Likewise.
30032 [non-C99-based standards] (j0f): Likewise.
30033 [non-C99-based standards] (j1f): Likewise.
30034 [non-C99-based standards] (jnf): Likewise.
30035 [non-C99-based standards] (lgammaf): Likewise.
30036 [non-C99-based standards] (tgammaf): Likewise.
30037 [non-C99-based standards] (y0f): Likewise.
30038 [non-C99-based standards] (y1f): Likewise.
30039 [non-C99-based standards] (ynf): Likewise.
30040 [non-C99-based standards] (isnanf): Likewise.
30041 [non-C99-based standards] (acoshf): Likewise.
30042 [non-C99-based standards] (asinhf): Likewise.
30043 [non-C99-based standards] (atanhf): Likewise.
30044 [non-C99-based standards] (cbrtf): Likewise.
30045 [non-C99-based standards] (expm1f): Likewise.
30046 [non-C99-based standards] (ilogbf): Likewise.
30047 [non-C99-based standards] (log1pf): Likewise.
30048 [non-C99-based standards] (logbf): Likewise.
30049 [non-C99-based standards] (nextafterf): Likewise.
30050 [non-C99-based standards] (remainderf): Likewise.
30051 [non-C99-based standards] (rintf): Likewise.
30052 [non-C99-based standards] (scalbf): Likewise.
30053 [non-C99-based standards] (copysignl): Likewise.
30054 [non-C99-based standards] (exp2l): Likewise.
30055 [non-C99-based standards] (log2l): Likewise.
30056 [non-C99-based standards] (modfl): Allow.
30057 [non-C99-based standards] (erfl): Do not allow.
30058 [non-C99-based standards] (erfcl): Likewise.
30059 [non-C99-based standards] (gammal): Likewise.
30060 [non-C99-based standards] (hypotl): Likewise.
30061 [non-C99-based standards] (j0l): Likewise.
30062 [non-C99-based standards] (j1l): Likewise.
30063 [non-C99-based standards] (jnl): Likewise.
30064 [non-C99-based standards] (lgammal): Likewise.
30065 [non-C99-based standards] (tgammal): Likewise.
30066 [non-C99-based standards] (y0l): Likewise.
30067 [non-C99-based standards] (y1l): Likewise.
30068 [non-C99-based standards] (ynl): Likewise.
30069 [non-C99-based standards] (isnanl): Likewise.
30070 [non-C99-based standards] (acoshl): Likewise.
30071 [non-C99-based standards] (asinhl): Likewise.
30072 [non-C99-based standards] (atanhl): Likewise.
30073 [non-C99-based standards] (cbrtl): Likewise.
30074 [non-C99-based standards] (expm1l): Likewise.
30075 [non-C99-based standards] (ilogbl): Likewise.
30076 [non-C99-based standards] (log1pl): Likewise.
30077 [non-C99-based standards] (logbl): Likewise.
30078 [non-C99-based standards] (nextafterl): Likewise.
30079 [non-C99-based standards] (remainderl): Likewise.
30080 [non-C99-based standards] (rintl): Likewise.
30081 [non-C99-based standards] (scalbl): Likewise.
30082 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30083 [non-C99-based standards] (FP_*): Do not allow.
30084 [C99-based standards] (FP_*): Change to
30085 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30086 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30087 allow.
30088 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30089 (SIG_ERR): Likewise.
30090 [X/Open-based standards] (SIG_HOLD): Likewise.
30091 (SIG_IGN): Likewise.
30092 (SIGABRT): Use macro-int-constant. Specify type. Require
30093 positive value.
30094 (SIGFPE): Likewise.
30095 (SIGILL): Likewise.
30096 (SIGINT): Likewise.
30097 (SIGSEGV): Likewise.
30098 (SIGTER): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30102 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30103 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30104 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30105 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30106 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30107 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30111 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30112 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30113 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30114 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30117 [X/Open-based standards] (SIGTRAP): Likewise.
30118 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30119 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30120 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30121 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30122 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30123 allow.
30124
b9f1922d
IW
301252012-05-08 Ian Wienand <ianw@vmware.com>
30126
30127 [BZ #14080]
30128 * time/tzset.c (__tzset_parse_tz): Update default rules for
30129 daylight time changes in the Energy Policy Act of 2005.
30130
1db86e88
AJ
301312012-05-09 Andreas Jaeger <aj@suse.de>
30132
30133 [BZ #13983]
30134 * elf/ldconfig.c (parse_conf): Change string to make clear that
30135 ldconfig only issued a warning if ld.so.conf does not exist.
30136
dee4a4e3
DM
301372012-05-08 David S. Miller <davem@davemloft.net>
30138
ee0db190
DM
30139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30140 movxtod instead of popping the value on the stack.
30141
dee4a4e3
DM
30142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30143
6a43ec98
CD
301442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30145
30146 * config.h.in: Add HAVE_ARM_PCS_VFP.
30147
05c2c961
RMG
301482012-05-08 Roland Mc Grath <roland@hack.frob.com>
30149
bcfe3a54
ST
30150 [BZ #13979]
30151 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30152 checking but the checks are disabled for any reason.
05c2c961 30153
4b30f61a
L
301542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30155
30156 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30157 and ELF64_R_TYPE with ELFW(R_TYPE).
30158
eee2bc67
JM
301592012-05-08 Joseph Myers <joseph@codesourcery.com>
30160
7ea5391a
JM
30161 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30162 (ulimit): Likewise.
30163
eee2bc67
JM
30164 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30165 (settimeofday): Likewise.
30166
abb66a67
MF
301672012-05-08 Mike Frysinger <vapier@gentoo.org>
30168
30169 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30170 a struct th_u2 inside the union, and move tu_block/tu_code into
30171 a new th_u3 union of tu_block/tu_code inside of that. Move
30172 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30173 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30174 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30175 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30176 (th_stuff): Change to th_u1.tu_stuff.
30177 (th_data): Define.
30178 (th_msg): Change to th_u1.th_u2.tu_data.
30179
7f18b530
DM
301802012-05-07 David S. Miller <davem@davemloft.net>
30181
05760585
DM
30182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30183
7f18b530
DM
30184 [BZ #14074]
30185 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30186 (SETUP_PIC_REG): Use it.
30187 (SETUP_PIC_REG_LEAF): Use it.
30188
495fd99f
JM
301892012-05-07 Joseph Myers <joseph@codesourcery.com>
30190
30191 [BZ #13885]
30192 [BZ #13923]
30193 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30194 USE_AS_EXPM1L.
30195 (EXPL_FINITE): Likewise.
30196 (FLDLOG): Likewise.
30197 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30198 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30199 e_expl.S.
30200 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30201 USE_AS_EXPM1L.
30202 (EXPL_FINITE): Likewise.
30203 (FLDLOG): Likewise.
30204 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30205 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30206 e_expl.S.
30207 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30208 test of -max_value argument for long double.
30209 * sysdeps/i386/fpu/libm-test-ulps: Update.
30210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30211
6693d694
DM
302122012-05-06 David S. Miller <davem@davemloft.net>
30213
30214 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30215 quad soft-float symbols whose references which are compiler
30216 generated.
30217 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30218
6c23e11c
JM
302192012-05-06 Joseph Myers <joseph@codesourcery.com>
30220
d8b82cad
JM
30221 [BZ #13884]
30222 [BZ #13914]
30223 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30224 USE_AS_EXP10L.
30225 (EXPL_FINITE): Likewise.
30226 (FLDLOG): Likewise.
30227 (c0): Likewise.
30228 (c1): Likewise.
30229 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30230 Adjust comments for base varying.
30231 (__expl_finite): Change alias to EXPL_FINITE.
30232 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30233 e_expl.S.
30234 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30235 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30236 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30237 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30238 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30239 USE_AS_EXP10L.
30240 (EXPL_FINITE): Likewise.
30241 (FLDLOG): Likewise.
30242 (c0): Likewise.
30243 (c1): Likewise.
30244 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30245 Adjust comments for base varying.
30246 (__expl_finite): Change alias to EXPL_FINITE.
30247 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30248 tests for bugs.
30249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30250
6c23e11c
JM
30251 [BZ #14064]
30252 * math/libm-test.inc (check_float_internal): Correct ulp
30253 calculation for subnormal expected results.
30254
29ba805c
AJ
302552012-05-06 Andreas Jaeger <aj@suse.de>
30256
30257 * Makeconfig (+math-flags): New, set to -frounding-math.
30258 (+cflags): Add +math-flags so that all of glibc gets compiled with
30259 it.
30260
30261 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30262
7b17aeda
JM
302632012-05-05 Joseph Myers <joseph@codesourcery.com>
30264
5779f134
JM
30265 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30266 Disable one test.
30267
41498f4d
JM
30268 [BZ #13787]
30269 [BZ #13922]
30270 [BZ #14036]
30271 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30272 (__ieee754_expl): Allow for and saturate large arguments.
30273 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30274 (u_threshold): Likewise.
30275 (__exp): Call __ieee754_exp before checking for overflow and
30276 underflow.
30277 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30278 (u_threshold): Likewise.
30279 (__expf): Call __ieee754_expf before checking for overflow and
30280 underflow.
30281 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30282 (u_threshold): Likewise.
30283 (__expl): Call __ieee754_expl before checking for overflow and
30284 underflow.
30285 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30286 (__ieee754_expl): Allow for and saturate large arguments.
30287 * math/libm-test.inc (exp_test): Add another test. Do not allow
30288 missing overflow exception on overflow.
30289 (expm1_test): Do not allow missing overflow exception on overflow.
30290
6698b8bf
JM
30291 * sysdeps/i386/fpu/e_expl.c: Move to ...
30292 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30293 rather than using inline asm.
30294 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30295 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30296 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30297
7b17aeda
JM
30298 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30299 (nice): Likewise.
30300 (poll): Likewise.
30301 (signal): Likewise.
30302 (time): Likewise.
30303 (times): Likewise.
30304
f7c85819
JM
303052012-05-04 Joseph Myers <joseph@codesourcery.com>
30306
30307 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30308 sysdeps/unix/common/syscalls.list.
30309 (fchmod): Likewise.
30310 (fchown): Likewise.
30311 (ftruncate): Likewise.
30312 (getrusage): Likewise.
30313 (gettimeofday): Likewise.
30314 (setpgid): Likewise.
30315 (setregid): Likewise.
30316 (setreuid): Likewise.
30317 (sigaction): Likewise.
30318 (truncate): Likewise.
30319 (vhangup): Likewise.
30320 * sysdeps/unix/common/syscalls.list: Remove file.
30321 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30322 * sysdeps/unix/sysv/linux/Implies: Likewise.
30323
336270d0
L
303242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30325
30326 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30328 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30329 Moved to ...
30330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30331 Here.
30332 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30333 to ...
30334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30335 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30336 to ...
30337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30338 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30339 to ...
30340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30341 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30342 to ...
30343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30344 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30345 to ...
30346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30347 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30348 to ...
30349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30350 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30351 to ...
30352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30353 Here.
30354 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30355 to ...
30356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30357 Here.
30358 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30359 to ...
30360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30361 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30362 Moved to ...
30363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30364 Here.
30365 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30366 to ...
30367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30368
d128e450
JM
303692012-05-04 Joseph Myers <joseph@codesourcery.com>
30370
fa8ee516
JM
30371 * sysdeps/unix/common/bits/dirent.h: Remove file.
30372 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30373
d128e450
JM
30374 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30375 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30376 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30377 * sysdeps/unix/bsd/isatty.c: Likewise.
30378 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30379 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30380 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30381
ff8faaf0 303822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30383
62881be4 30384 [BZ #13563]
31dc8730
AZ
30385 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30386 long double comparison inaccuracies.
30387 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30389
6fef930c
AS
303902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30391
30392 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30394
8f203e6c
JM
303952012-05-04 Joseph Myers <joseph@codesourcery.com>
30396
30397 [BZ #14049]
30398 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30399 nonzero digits before rounding a hex value.
30400 * stdlib/tst-strtod.c (tests): Add another test.
30401
5197d9c2
AK
304022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30403
30404 * sysdeps/s390/fpu/libm-test-ulps: Update.
30405
f0c1dedf
AJ
304062012-05-03 Andreas Jaeger <aj@suse.de>
30407
30408 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30409 does not get optimized out.
30410 (malloc_opt_barrier): New.
30411
a65ef2ae 304122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30413 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30414
2b942cb7 30415 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30416 intermediate file deletion.
2b942cb7 30417 (generated): Add .symlist files.
a65ef2ae 30418
54b71e02
JM
304192012-05-03 Joseph Myers <joseph@codesourcery.com>
30420
30421 [BZ #13775]
30422 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30423 Redirect under this condition.
30424 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30425 [__USE_GNU] (__dprintf_chk): Not under this condition.
30426 [__USE_GNU] (__vdprintf_chk): Likewise.
30427 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30428 under this condition.
30429 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30430 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30431 [__USE_XOPEN2K8] (vdprintf): Likewise.
30432 [__USE_GNU] (__dprintf_chk): Not under this condition.
30433 [__USE_GNU] (__vdprintf_chk): Likewise.
30434 [__USE_GNU] (dprintf): Likewise.
30435 [__USE_GNU] (vdprintf): Likewise.
30436
d3dfcc41
RM
304372012-05-03 Roland McGrath <roland@hack.frob.com>
30438
30439 * elf/Makefile (common-generated): Set this instead of generated for
30440 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30441 $(all-built-dso)-derived lists.
30442
7ac30cc5
AJ
304432012-05-03 Andreas Jaeger <aj@suse.de>
30444
0c51e550
AJ
30445 * sysdeps/i386/fpu/libm-test-ulps: Update.
30446
7ac30cc5
AJ
30447 * FAQ: Removed.
30448 * FAQ.in: Likewise.
30449 * scripts/gen-FAQ.pl: Likewise.
30450 * manual/install.texi (Installation): Point to online location of
30451 FAQ.
30452 * Makefile (files-for-dist): Remove FAQ.
30453 (FAQ): Remove.
30454
d4c2917f
AM
304552012-05-02 Allan McRae <allan@archlinux.org>
30456
30457 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30458 (LDFLAGS-reldepmod5.so): Likewise.
30459 (LDFLAGS-reldep6mod1.so): Likewise.
30460 (LDFLAGS-reldep6mod4.so): Likewise.
30461 (LDFLAGS-reldep8mod3.so): Likewise.
30462 (LDFLAGS-unload4mod1.so): Likewise.
30463 (LDFLAGS-unload4mod2.so): Likewise.
30464 (LDFLAGS-tst-initorder): Likewise.
30465 (LDFLAGS-tst-initordera2.so): Likewise.
30466 (LDFLAGS-tst-initordera3.so): Likewise.
30467 (LDFLAGS-tst-initordera4.so): Likewise.
30468 (LDFLAGS-tst-initorderb2.so): Likewise.
30469 (LDFLAGS-noload): Likewise.
30470 (LDFLAGS-next): Likewise.
30471 (LDFLAGS-order2mod1.so): Likewise.
30472 (LDFLAGS-order2mod2.so): Likewise.
30473 (LDFLAGS-tst-initorder2): Likewise.
30474 (LDFLAGS-tst-initorder2a.so): Likewise.
30475 (LDFLAGS-tst-initorder2b.so): Likewise.
30476 (LDFLAGS-tst-initorder2c.so): Likewise.
30477 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30478
d77f993f
DM
304792012-05-02 David S. Miller <davem@davemloft.net>
30480
30481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30482
171a70b4
PP
304832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30484
30485 [BZ #14055]
30486 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30487
0be196ad
AJ
304882012-05-02 Andreas Jaeger <aj@suse.de>
30489
30490 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30491 since we manipulate rounding mode.
30492 (CPPFLAGS-test-idouble.c): Likewise.
30493 (CPPFLAGS-test-ifloat.c): Likewise.
30494 (CFLAGS-test-ldouble.c): Likewise.
30495 (CFLAGS-test-double.c): Likewise.
30496 (CFLAGS-test-float.c): Likewise.
30497 (CFLAGS-test-misc.c): Likewise.
30498 (CFLAGS-test-test-fenv.c): Likewise.
30499
4f9d04aa
AZ
305002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30501
2b942cb7
RM
30502 [BZ #2550]
30503 [BZ #2570]
30504 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30505 comparisons to determine direction to adjust input.
4f9d04aa 30506
82a79e7d
RM
305072012-05-01 Roland McGrath <roland@hack.frob.com>
30508
f5a01ca9
RM
30509 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30510 output to the target.
30511
90fe4186
RM
30512 * scripts/localplt.awk: New file.
30513 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30514 (check-localplt-CFLAGS): Variable removed.
30515 ($(all-built-dso:=.jmprel)): New static pattern rule.
30516 (generated): Add those targets.
30517 (localplt-built-dso): New variable.
30518 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30519
30520 * elf/check-localplt.c: File removed.
30521
82397ed6
RM
30522 * scripts/check-execstack.awk: New file.
30523 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30524 (check-execstack-CFLAGS): Variable removed.
30525 ($(objpfx)check-execstack.h): Target removed.
30526 ($(objpfx)execstack-default): New target.
30527 (generated): Add that instead of check-execstack.h.
30528 ($(all-built-dso:=.phdr)): New static pattern rule.
30529 (generated): Add those targets.
30530 * elf/check-execstack.c: File removed.
30531
82a79e7d
RM
30532 * scripts/check-textrel.awk: New file.
30533 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30534 (check-textrel-CFLAGS): Variable removed.
30535 (all-built-dso): Use := to define.o
30536 ($(all-built-dso:=.dyn)): New static pattern rule.
30537 (generated): Add those targets.
30538 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30539 * config.make.in (READELF): New substituted variable.
30540 * elf/check-textrel.c: File removed.
30541
62fde54f 305422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30543
615605c9
JM
30544 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30545 allow.
30546 * conform/data/ctype.h-data [C99-based standards] (isblank):
30547 Expect function.
30548 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30549 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30551 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30552 Specify type. Require positive value.
30553 (EILSEQ): Likewise.
30554 (ERANGE): Likewise.
30555 [ISO || POSIX] (EILSEQ): Do not expect.
30556 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30557 Specify type. Require positive value.
30558 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30573 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30574 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30575 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30576 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30577 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30578 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30579 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30580 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30581 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30582 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30583 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30584 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30585 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30586 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30587 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30588 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30589 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30590 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30591 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30592 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30593 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30613 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30614 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30615 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30617 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30619 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30620 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30621 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30622 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30623 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30624 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30625 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30626 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30627 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30628 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30629 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30630 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30631 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30632 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30633 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30634 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30635 Require >= 2.
30636 (FLT_ROUNDS): Expect as macro, not constant.
30637 (FLT_MANT_DIG): Use macro-int-constant.
30638 (DBL_MANT_DIG): Likewise.
30639 (LDBL_MANT_DIG): Likewise.
30640 (FLT_DIG): Likewise.
30641 (DBL_DIG): Likewise.
30642 (LDBL_DIG): Likewise.
30643 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30644 (DBL_MIN_EXP): Likewise.
30645 (LDBL_MIN_EXP): Likewise.
30646 (FLT_MAX_EXP): Use macro-int-constant.
30647 (DBL_MAX_EXP): Likewise.
30648 (LDBL_MAX_EXP): Likewise.
30649 (FLT_MAX_10_EXP): Likewise.
30650 (DBL_MAX_10_EXP): Likewise.
30651 (LDBL_MAX_10_EXP): Likewise.
30652 (FLT_MAX): Use macro-constant.
30653 (DBL_MAX): Likewise.
30654 (LDBL_MAX): Likewise.
30655 (FLT_EPSILON): Use macro-constant. Give upper bound.
30656 (DBL_EPSILON): Likewise.
30657 (LDBL_EPSILON): Likewise.
30658 (FLT_MIN): Likewise.
30659 (DBL_MIN): Likewise.
30660 (LDBL_MIN): Likewise.
30661 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30662 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30663 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30664 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30665 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30666 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30667 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30668 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30669 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30670 [ISO11] (FLT_TRUE_MIN): Likewise.
30671 [ISO11] (LDBL_TRUE_MIN): Likewise.
30672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30673 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30674 (SCHAR_MIN): Use macro-int-constant. Specify type.
30675 (SCHAR_MAX): Likewise.
30676 (UCHAR_MAX): Likewise.
30677 (CHAR_MIN): Likewise.
30678 (CHAR_MAX): Likewise.
30679 (MB_LEN_MAX): Use macro-int-constant.
30680 (SHRT_MIN): Use macro-int-constant. Specify type.
30681 (SHRT_MAX): Likewise.
30682 (USHRT_MAX): Likewise.
30683 (INT_MAX): Likewise.
30684 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30685 bound negative.
30686 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30687 bound with "U".
30688 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30689 bound with "L".
30690 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30691 bound negative. Suffix upper bound with "L".
30692 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30693 bound with "UL".
30694 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30695 Specify type.
30696 [C99-based standards] (LLONG_MAX): Likewise.
30697 [C99-based standards] (ULLONG_MAX): Likewise.
30698 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30699 == 0.
30700 [ISO11] (max_align_t): Require type.
30701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30702
c9140a62
JM
30703 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30704 from $CFLAGS, without defining away __attribute__ calls.
30705 (checknamespace): Use $CFLAGS_namespace.
30706
9af0bf29
JM
30707 * conform/conformtest.pl (@keywords): Only include C99 keywords
30708 for standards based on C99 or C11.
30709
343222a2
JM
30710 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30711 Disable tests.
30712 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30713 UNIX98]: Likewise.
30714
661f8cf0
JM
30715 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30716 usability of symbols in #if.
30717
ee74b9cb
JM
30718 * conform/conformtest.pl: If macro or constant types start
30719 "promoted:", expect the symbol to be of the following type
30720 promoted by the integer promotions.
62fde54f 30721
aafc49b3
JM
30722 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30723 in one place. Also handle "macro-constant".
30724
fefdf574
JM
30725 * conform/conformtest.pl: Only accept expected macro values with
30726 "==". Parse all "macro" lines in one place.
30727 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30728
f2d922fe
JM
30729 * conform/conformtest.pl: Handle braced types on "constant" lines
30730 instead of handling "typed-constant".
30731 * conform/data/signal.h-data: Use "constant" instead of
30732 "typed-constant".
30733
d22956c9
JM
30734 * conform/conformtest.pl: Handle "optional-" at start of lines in
30735 one place rather than duplicating several cases. Handle each
30736 format of "macro" line with initial "optional-".
30737
028e2e38
JM
30738 * conform/conformtest.pl: Only accept expected constant or
30739 optional-constant values with "==". Parse all "constant" lines in
30740 one place. Parse all "optional-constant" lines in one place.
30741 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30742 * conform/data/fmtmsg.h-data: Likewise.
30743 * conform/data/netinet/in.h-data: Likewise.
30744 * conform/data/tar.h-data: Likewise.
30745 * conform/data/limits.h-data: Use "==" form on "constant" and
30746 "optional-constant" lines.
30747
1b8f2850
JM
30748 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30749 Use -std=c99 for XOPEN2K.
30750 (@knownproblems): Remove.
30751 (newtoken): Don't check %isknown.
30752
a05a144b
JM
30753 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30754 Do not expect macro.
30755 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30767 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30768 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30785 [XPG3] (acosh): Likewise.
30786 [XPG3] (asinh): Likewise.
30787 [XPG3] (atanh): Likewise.
30788 [XPG3] (cbrt): Likewise.
30789 [XPG3] (expm1): Likewise.
30790 [XPG3] (ilogb): Likewise.
30791 [XPG3] (log1p): Likewise.
30792 [XPG3] (logb): Likewise.
30793 [XPG3] (nextafter): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30796 [XPG3] (remainder): Likewise.
30797 [XPG3] (rint): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30805 [UNIX98 || XOPEN2K] (scalb): Expect.
30806 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30807 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30943
73c5ebe3
JM
30944 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30945 _XOPEN_SOURCE_EXTENDED for XPG4.
30946
39c33b6c
JM
30947 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30948
62fde54f
JM
30949 * Makeconfig (localtime): Remove variable.
30950 (inst_localtime-file): Likewise.
30951
0741d64c
AS
309522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30953
30954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30955 Update.
30956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30957 Update.
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30959 Update.
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30961 Update.
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30963 Update.
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30965 Update.
30966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30967 Update.
30968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30969 Update.
30970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30971 Update.
30972
7cb029ee
JM
309732012-05-01 Joseph Myers <joseph@codesourcery.com>
30974
30975 [BZ #2550]
30976 [BZ #2570]
30977 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30978 comparisons to determine direction to adjust input.
30979 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30980 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30981 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30982 Likewise.
30983 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30984 Likewise.
30985 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30986 Likewise.
30987 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30988 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30989 Likewise.
30990 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30991 Likewise.
30992 * math/libm-test.inc (nexttoward_test): Add more tests.
30993
412bd966
AS
309942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30995
30996 [BZ #14040]
30997 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30998 in version GLIBC_2.1, not GLIBC_2.0.
30999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31000 Likewise.
31001
9568c0c2
JM
310022012-04-30 Joseph Myers <joseph@codesourcery.com>
31003
adfbc8ac
JM
31004 [BZ #13942]
31005 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31006 (1 - x) * (1 + x).
31007 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31008 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31009 * math/libm-test.inc (acos_test): Add more tests.
31010 (asin_test): Likewise.
31011 * sysdeps/i386/fpu/libm-test-ulps: Update.
31012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31013
5ba3cc69
JM
31014 [BZ #14034]
31015 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31016 of square root.
31017 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31018 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31019 * math/libm-test.inc (acos_test_tonearest): New function.
31020 (acos_test_towardzero): Likewise.
31021 (acos_test_downward): Likewise.
31022 (acos_test_upward): Likewise.
31023 (asin_test_tonearest): Likewise.
31024 (asin_test_towardzero): Likewise.
31025 (asin_test_downward): Likewise.
31026 (asin_test_upward): Likewise.
31027 (main): Call the new functions.
31028 * sysdeps/i386/fpu/libm-test-ulps: Update.
31029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31030
9568c0c2
JM
31031 [BZ #13884]
31032 [BZ #13924]
31033 * math/e_exp10.c: Include <float.h>.
31034 (__ieee754_exp10): Handle underflow here rather than multiplying
31035 large negative argument by M_LN10.
31036 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31037 of __ieee754_expf.
31038 * math/e_exp10l.c: Include <float.h>.
31039 (__ieee754_exp10l): Handle underflow here rather than multiplying
31040 large negative argument by M_LN10l.
31041 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31042 spurious overflow exception on underflow.
31043
5ac3ea17
MP
310442012-04-29 Marek Polacek <polacek@redhat.com>
31045
31046 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31047 (__fortify_function): New macro.
31048 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31049 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31050 __extern_always_inline.
31051 * libio/bits/stdio2.h: Likewise.
31052 * libio/bits/stdio.h: Likewise.
31053 * string/string.h: Likewise.
31054 * string/bits/string3.h: Likewise.
31055 * include/stdio.h: Likewise.
31056 * stdlib/bits/stdlib.h: Likewise.
31057 * stdlib/stdlib.h: Likewise.
31058 * rt/bits/mqueue2.h: Likewise.
31059 * rt/mqueue.h: Likewise.
31060 * posix/bits/unistd.h: Likewise.
31061 * posix/unistd.h: Likewise.
31062 * io/bits/poll2.h: Likewise.
31063 * io/bits/fcntl2.h: Likewise.
31064 * io/fcntl.h: Likewise.
31065 * io/sys/poll.h: Likewise.
31066 * misc/bits/syslog.h: Likewise.
31067 * misc/bits/syslog-ldbl.h: Likewise.
31068 * misc/sys/syslog.h: Likewise.
31069 * socket/bits/socket2.h: Likewise.
31070 * socket/sys/socket.h: Likewise.
31071 * debug/tst-chk1.c: Likewise.
31072 * wcsmbs/bits/wchar2.h: Likewise.
31073 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31074 * wcsmbs/wchar.h: Likewise.
31075
ecf0ebfb
AJ
310762012-04-29 Andreas Jaeger <aj@suse.de>
31077
31078 * Makerules (tests): Remove enable-check-abi protection.
31079 (check-abi-warn): Remove.
31080 (check-abi-%): Remove check-abi-warn usage.
31081
31082 * configure.in: Remove check-abi configure option.
31083 * configure: Regenerated.
31084 * config.make.in (enable-check-abi): Remove.
31085
6d5c57fa
AS
310862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31087
24c5d07e 31088 [BZ #14033]
ded5180a
AS
31089 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31090 double functions to double *_finite functions.
31091
7e0d315d
AS
31092 [BZ #13941]
31093 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31094 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31095 LDBL_MIN_EXP.
31096 * stdio-common/Makefile (tests): Add tst-sprintf3.
31097 * stdio-common/tst-sprintf3.c: New file.
31098
6d5c57fa
AS
31099 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31100 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31101
0749ff8b
JM
311022012-04-28 Joseph Myers <joseph@codesourcery.com>
31103
31104 * conform/conformtest.pl: Remove duplicate typed-constant
31105 handling.
31106
8dbd5d7b
DM
311072012-04-28 David S. Miller <davem@davemloft.net>
31108
31109 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31110 (check-abi-%): Remove AWK script prerequisite and explicit
31111 abilist directory.
31112 (check-abi): Rewrite to just diff the symlist with the abilist.
31113 (config-tls, config-abi-config): Delete, no longer used.
31114 (update-abi-%): Remove AWK script and explicit abilist directory.
31115 (update-abi): Rewrite to simply compare and conditionally copy the
31116 symlist and the sysdep abilist file. Remove update-abi-config
31117 checks.
31118 * abilist/ld.abilist: Remove.
31119 * abilist/libBrokenLocale.abilist: Remove.
31120 * abilist/libanl.abilist: Remove.
31121 * abilist/libcrypt.abilist: Remove.
31122 * abilist/libdl.abilist: Remove.
31123 * abilist/librt.abilist: Remove.
31124 * abilist/libthread_db.abilist: Remove.
31125 * abilist/libutil.abilist: Remove.
31126 * scripts/extract-abilist.awk: Remove.
31127 * scripts/merge-abilist.awk: Remove.
31128 * sysdeps/generic/libcidn.abilist: New file.
31129 * sysdeps/generic/libnss_compat.abilist: New file.
31130 * sysdeps/generic/libnss_db.abilist: New file.
31131 * sysdeps/generic/libnss_dns.abilist: New file.
31132 * sysdeps/generic/libnss_files.abilist: New file.
31133 * sysdeps/generic/libnss_hesiod.abilist: New file.
31134 * sysdeps/generic/libnss_nis.abilist: New file.
31135 * sysdeps/generic/libnss_nisplus.abilist: New file.
31136 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31137 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31138 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31139 file.
31140 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31141 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31142 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31143 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31144 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31145 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31146 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31147 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31148 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31149 file.
31150 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31151 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31152 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31153 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31154 file.
31155 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31156 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31157 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31158 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31159 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31160 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31161 file.
31162 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31163 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31164 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31165 file.
31166 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31168 New file.
31169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31170 New file.
31171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31172 New file.
31173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31174 New file.
31175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31176 New file.
31177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31178 New file.
31179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31180 New file.
31181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31182 New file.
31183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31184 New file.
31185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31186 New file.
31187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31188 New file.
31189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31190 New file.
31191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31192 New file.
31193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31194 file.
31195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31196 New file.
31197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31198 New file.
31199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31200 file.
31201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31202 New file.
31203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31204 New file.
31205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31206 file.
31207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31208 New file.
31209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31210 New file.
31211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31212 New file.
31213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31214 New file.
31215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31216 New file.
31217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31218 New file.
31219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31221 file.
31222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31223 New file.
31224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31225 file.
31226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31227 file.
31228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31229 file.
31230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31231 file.
31232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31233 file.
31234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31235 New file.
31236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31237 file.
31238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31239 file.
31240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31241 New file.
31242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31243 file.
31244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31246 file.
31247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31248 New file.
31249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31250 file.
31251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31252 file.
31253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31254 file.
31255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31256 file.
31257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31258 file.
31259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31260 New file.
31261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31262 file.
31263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31264 file.
31265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31266 New file.
31267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31268 file.
31269 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31270 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31271 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31272 file.
31273 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31274 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31275 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31276 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31277 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31278 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31279 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31280 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31281 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31282 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31285 file.
31286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31287 New file.
31288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31289 file.
31290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31291 file.
31292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31293 file.
31294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31295 file.
31296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31297 file.
31298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31299 New file.
31300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31301 New file.
31302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31303 file.
31304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31305 New file.
31306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31307 file.
31308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31310 file.
31311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31312 New file.
31313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31314 file.
31315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31316 file.
31317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31318 file.
31319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31320 file.
31321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31322 file.
31323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31324 New file.
31325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31326 New file.
31327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31328 file.
31329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31330 New file.
31331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31332 file.
31333
41d73a1b
JM
313342012-04-28 Joseph Myers <joseph@codesourcery.com>
31335
31336 * conform/conformtest.pl: Fix typo in handling typed-constant from
31337 allow-header.
31338
28aeeda4
JM
313392012-04-27 Joseph Myers <joseph@codesourcery.com>
31340
adae8f5e
JM
31341 * README: Cut down references to pre-2.6 Linux kernels and
31342 Linuxthreads. Update lists of configurations in libc and ports
31343 and sort alphabetically. Say "or newer" with Linux kernel version
31344 requirements.
31345
28aeeda4
JM
31346 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31347
a462cb63
RA
313482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31349
31350 [BZ #887]
31351 * math/libm-test.inc (logb_test_downward): New test to expose
31352 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31353 rounding mode.
31354
6ad3493e
JM
313552012-04-27 Joseph Myers <joseph@codesourcery.com>
31356
31357 [BZ #14027]
31358 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31359 to be done.
31360 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31361 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31362
2ce4f015
JM
313632012-04-26 Joseph Myers <joseph@codesourcery.com>
31364
5aeb141a
JM
31365 * sysdeps/unix/i386/brk.S: Remove file.
31366 * sysdeps/unix/i386/dl-brk.S: Likewise.
31367 * sysdeps/unix/i386/pipe.S: Likewise.
31368 * sysdeps/unix/i386/sigreturn.S: Likewise.
31369 * sysdeps/unix/i386/syscall.S: Likewise.
31370 * sysdeps/unix/i386/vfork.S: Likewise.
31371 * sysdeps/unix/i386/wait.S: Likewise.
31372
7143acae
JM
31373 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31374 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31375
2ce4f015
JM
31376 * configure.in (arm*-none*): Do not allow without
31377 --enable-hacker-mode.
31378 (netbsd*): Remove case setting base_os.
31379 (386bsd*): Likewise.
31380 (freebsd*): Likewise.
31381 (bsdi*): Likewise.
31382 (osf*): Likewise.
31383 (sunos*): Likewise.
31384 (ultrix*): Likewise.
31385 (newsos*): Likewise.
31386 (dynix*): Likewise.
31387 (*bsd*): Likewise.
31388 (sysv*): Likewise.
31389 (isc*): Likewise.
31390 (esix*): Likewise.
31391 (sco*): Likewise.
31392 (minix*): Likewise.
31393 (irix4*): Likewise.
31394 (irix6*): Likewise.
31395 (solaris[2-9]*): Likewise.
31396 (none): Likewise.
31397 * configure: Regenerated.
31398
0ac229c8
AZ
313992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31400
31401 [BZ #11521]
31402 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31403 overflow or cancellation in calculating denominator.
31404 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31405 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31406 down expression to avoid unexpected rounding in newer GCCs.
31407 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31408
33f244f4
DM
314092012-04-26 David S. Miller <davem@davemloft.net>
31410
31411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31412 long-double compat symbols.
31413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31426
cfa1f3e8
DM
314272012-04-25 David S. Miller <davem@davemloft.net>
31428
31429 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31430 HWCAP_* values only after the memory barriers have been defined.
31431 (atomic_full_barrier): Define.
31432 (atomic_read_barrier): Define.
31433 (atomic_write_barrier): Define.
31434
6e236b92
SP
314352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31436
31437 * shlib-versions: Add libgcc_s version information.
31438 * sysdeps/generic/libgcc_s.h: Remove.
31439 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31440 libgcc_s.h.
31441 * sysdeps/gnu/unwind-resume.c: Likewise.
31442 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31443
aab39a09
DM
314442012-04-25 David S. Miller <davem@davemloft.net>
31445
31446 * sysdeps/unix/sparc/brk.S: Delete.
31447 * sysdeps/unix/sparc/dl-brk.S: Delete.
31448 * sysdeps/unix/sparc/pipe.S: Delete.
31449 * sysdeps/unix/sparc/sysdep.S: Delete.
31450 * sysdeps/unix/sparc/sysdep.h: Delete.
31451 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31452 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31453 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31454 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31455 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31456 (JUMPTARGET): Remove.
31457 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31458 sysdeps/unix/sparc/sysdep.h
31459 (ENTRY, END): Remove.
31460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31461
a3cc4f48
JM
314622012-04-25 Joseph Myers <joseph@codesourcery.com>
31463
2ed8cda2
JM
31464 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31465 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31466 -DIS_IN_build.
31467
35d76d59
JM
31468 * timezone/README: Update upstream location and email address for
31469 tzcode and tzdata.
31470 * timezone/zdump.c: Update from tzcode 2012b.
31471 * timezone/zic.c: Likewise.
31472
a3cc4f48
JM
31473 * configure.in (libc_cv_as_needed): Remove test.
31474 * configure: Regenerated.
31475 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31476 conditional definition.
31477 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31478 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31479 * config.make.in (have-as-needed): Remove variable.
31480
ceab42c3
SP
314812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31482 Paul Pluzhnikov <ppluzhnikov@google.com>
31483
31484 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31485 strings correctly.
31486
3ce2865f
CLT
314872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31488
31489 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31490 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31491 * sysdeps/sh/strlen.S: Likewise.
31492
f37e0d68
JM
314932012-04-24 Joseph Myers <joseph@codesourcery.com>
31494
ae186e9a
JM
31495 * sysdeps/unix/fork.S: Remove file.
31496 * sysdeps/unix/i386/fork.S: Likewise.
31497 * sysdeps/unix/sparc/fork.S: Likewise.
31498
b96914af
JM
31499 * sysdeps/unix/system.c: Remove file.
31500 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31501
f37e0d68
JM
31502 * sysdeps/unix/getegid.S: Remove file.
31503 * sysdeps/unix/geteuid.S: Likewise.
31504
87ef29ca
RM
315052012-04-24 Roland McGrath <roland@hack.frob.com>
31506
83bcd236
RM
31507 * scripts/check-localplt.awk: New file.
31508 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31509 of diff.
31510 * scripts/data/localplt-generic.data: Add a comment.
31511
87ef29ca
RM
31512 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31513 NODE when __dir_mkfile failed.
31514 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31515 Reported by Ludovic Courtès <ludo@gnu.org>.
31516
e5a6e567
AJ
315172012-04-24 Andreas Jaeger <aj@suse.de>
31518
31519 * Makerules (common-clean): Also remove gen-as-const-headers
31520 files.
31521
c1820385
JM
315222012-04-24 Joseph Myers <joseph@codesourcery.com>
31523
31524 * Makerules (native-compile): Do not change working directory for
31525 build. Use $(OUTPUT_OPTION) in command.
31526 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31527
94e02fc4
AZ
315282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31529
31530 [BZ #13886]
31531 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31532 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31533 * math/libm-test.inc (floor_test): Add more tests.
31534 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31535
3a533ca3
JM
315362012-04-24 Joseph Myers <joseph@codesourcery.com>
31537
940ab4b3
JM
31538 * sysdeps/unix/getdents.c: Remove file.
31539 * sysdeps/unix/sysv/getdents.c: Likewise.
31540 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31541
90e037bd
JM
31542 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31543 sysdeps/unix/mman/syscalls.list.
31544 (mmap): Likewise.
31545 (mprotect): Likewise.
31546 (msync): Likewise.
31547 (munmap): Likewise.
31548 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31549 * sysdeps/unix/mman/syscalls.list: Remove.
31550 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31551
3a533ca3
JM
31552 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31553 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31554 * configure: Regenerated.
31555 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31556 $(libgcc_s_suffix).
31557 * config.make.in (libgcc_s_suffix): Remove variable.
31558
1ad743de
JM
315592012-04-23 Joseph Myers <joseph@codesourcery.com>
31560
4ad451e2
JM
31561 * sysdeps/unix/sysv/gethostname.c: Move to ...
31562 * sysdeps/posix/gethostname.c: ... here.
31563
5e37ce39
JM
31564 * sysdeps/unix/execve.S: Remove file.
31565
1ad743de
JM
31566 * sysdeps/unix/_exit.S: Remove file.
31567
4e681b5b
AJ
315682012-04-23 Andreas Jaeger <aj@suse.de>
31569
31570 [BZ #13739]
31571 * manual/Makefile: Remove make dist support, there's no
31572 need for a stand-alone documentation tar ball.
31573 (TEXI2DVI): Define always, it's not in Makeconfig.
31574 (dist): Removed.
31575 (tar-it): Removed.
31576 (edition): Removed.
31577 (glibc-doc-$(edition).tar): Removed
31578 (%.Z): Removed.
31579 (%.gz): Removed.
31580 (%.uu): Removed.
31581 (ETAGS): Remove, it's in Makeconfig.
31582 (move-if-change): Remove, it's in Makeconfig.
31583
38686a03 315842012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31585
31586 [BZ #13970]
31587 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31588 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31589 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31590 (strtod_l, strtof_l, strtold_l): Remove __wur.
31591 It is not necessarily an error to ignore strtol's return value.
31592 One can reliably look at the stored endptr to decide whether
31593 the number had valid syntax.
31594
7c0616fa
AJ
315952012-04-21 Andreas Jaeger <aj@suse.de>
31596
803cb6b7 31597 [BZ #13739]
7c0616fa
AJ
31598 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31599
b0fe253f
JM
316002012-04-21 Joseph Myers <joseph@codesourcery.com>
31601
31602 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31603 * sysdeps/unix/sysv/Versions: Remove file.
31604
8280f22d
MT
316052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31606
31607 [BZ #13927]
31608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31609
75ce411f 316102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31611
31612 [BZ #7064]
31613 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31614 version from __vm86.
31615
097d59fa
JM
316162012-04-20 Joseph Myers <joseph@codesourcery.com>
31617
a90f3bcb
JM
31618 * sysdeps/unix/common/lxstat.c: Remove file.
31619 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31620
edc7ea78
JM
31621 * sysdeps/unix/sysv/Makefile: Remove file.
31622
cb78c221
JM
31623 * sysdeps/unix/sysv/direct.h: Remove file.
31624
efa6a45f
JM
31625 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31626 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31627 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31628 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31629 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31630 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31631 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31632
9c9f2d0c
JM
31633 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31634
4541c83b
JM
31635 * sysdeps/unix/xmknod.c: Remove file.
31636 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31637
f5d153a0
JM
31638 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31639
aa746595
JM
31640 * sysdeps/unix/sysv/i386/time.S: Remove file.
31641
cce5905e
JM
31642 * sysdeps/unix/fxstat.c: Remove file.
31643 * sysdeps/unix/xstat.c: Likewise.
31644 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31645
37fa3841
JM
31646 * sysdeps/unix/sysv/sigaction.c: Remove file.
31647
ff1962a3
JM
31648 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31649 (sysdep_headers): Remove variable.
31650 [termio.h not in sysdep_headers] (generated): Likewise.
31651 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31652 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31653 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31654 * sysdeps/unix/sysv/tcflow.c: Likewise.
31655 * sysdeps/unix/sysv/tcflush.c: Likewise.
31656 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31657 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31658 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31659 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31660 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31661
e7740d31
JM
31662 * sysdeps/unix/siglist.c: Remove file.
31663
ee06f18b
JM
31664 * sysdeps/unix/getppid.S: Remove file.
31665
097d59fa
JM
31666 * sysdeps/unix/mkdir.c: Remove file.
31667 * sysdeps/unix/rmdir.c: Likewise.
31668
ff3d51ec
AS
316692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31670
31671 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31672 ERR_MAX value.
31673 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31674 errlist-compat value.
31675
50f81fd7
DM
316762012-04-18 David S. Miller <davem@davemloft.net>
31677
31678 * sysdeps/generic/memcopy.h (reg_char): Delete.
31679 * debug/strcat_chk.c: Use char, not reg_char.
31680 * debug/strcpy_chk.c: Likewise.
31681 * debug/strncat_chk.c: Likewise.
31682 * debug/strncpy_chk.c: Likewise.
31683 * string/memchr.c: Likewise.
31684 * string/memrchr.c: Likewise.
31685 * string/rawmemchr.c: Likewise.
31686 * string/strcat.c: Likewise.
31687 * string/strchr.c: Likewise.
31688 * string/strchrnul.c: Likewise.
31689 * string/strcmp.c: Likewise.
31690 * string/strcpy.c: Likewise.
31691 * string/strncat.c: Likewise.
31692 * string/strncmp.c: Likewise.
31693 * string/strncpy.c: Likewise.
31694
8ff41c46
WS
316952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31696
31697 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31698 __builtin_memcopy is called when src and dest ranges are known to not
31699 overlap.
31700
6b652f46
WS
317012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31702
31703 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31704 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31705 fwd_align_merge macro call.
31706 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31707 bwd_align_merge macro call.
31708 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31709
b282631e
WS
317102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31711
31712 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31713 bwd_align_merge macros.
31714 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31715 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31716 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31717
95aa737c
DM
317182012-04-18 David S. Miller <davem@davemloft.net>
31719
31720 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31721
7a99a614
AJ
317222012-04-18 Andreas Jaeger <aj@suse.de>
31723
31724 [BZ# 6794]
31725 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31726 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31727 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31728
31729 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31730 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31731 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31732
31733 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31734 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31735 Adjust for changed ldbl-128 files.
31736
31737 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31738 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31739 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31740
e5270c23
DM
317412012-04-17 David S. Miller <davem@davemloft.net>
31742
31743 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31744
fb5e92c9
AS
317452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31746
31747 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31748 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31749 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31750 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31751 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31752 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31753
76da7265
AZ
317542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31755
31756 [BZ #6794]
31757 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31758 * math/libm-test.inc: Add ilogb errno and exception tests.
31759 * math/w_ilogb.c: New file: ilogb wrapper.
31760 * math/w_ilogbf.c: New file: ilogbf wrapper.
31761 * math/w_ilogbl.c: New file: ilogbl wrapper.
31762 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31763 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31764 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31765 exception being thrown with 0.0 as argument.
31766 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31767 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31768 exception being thrown with 0.0 as argument.
31769 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31770 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31771 exception being thrown with 0.0 as argument.
31772 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31773 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31774 exception being thrown with 0.0 as argument.
31775 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31776 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31777 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31778 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31779 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31780 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31781 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31782 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31783 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31784
0396e69d
PB
317852012-04-17 Petr Baudis <pasky@ucw.cz>
31786
31787 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31788 with altivec.
31789
750b5926
MP
317902012-04-16 Marek Polacek <polacek@redhat.com>
31791
31792 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31793
751728a1
MP
317942012-04-16 Marek Polacek <polacek@redhat.com>
31795
31796 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31797 operands of fdivp instruction.
31798
34a27407
L
317992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31800
31801 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31802 * elf/tst-auditmod3b.c: Likewise.
31803 * elf/tst-auditmod4b.c: Likewise.
31804 * elf/tst-auditmod5b.c: Likewise.
31805 * elf/tst-auditmod6b.c: Likewise.
31806 * elf/tst-auditmod6c.c: Likewise.
31807 * elf/tst-auditmod7b.c: Likewise.
31808 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31809 * sysdeps/x86_64/preconfigure.in: Likewise.
31810 * sysdeps/x86_64/preconfigure: Regenerated.
31811
7e73e17d
L
318122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31813
31814 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31815 __ILP32__.
31816
c7a6ab72
AB
318172012-04-13 Antoine Balestrat <merkil33@gmail.com>
31818
31819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31820 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31821
a9e8e0e0
CL
318222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31823
31824 [BZ #13973]
31825 * locale/iso-639.def: Fix gl language name. Spotted by
31826 Yaron Shahrabani.
31827
ec98af7d
RM
318282012-04-12 Roland McGrath <roland@hack.frob.com>
31829
31830 [BZ #2074]
31831 * libio/libio.h (__io_write_fn): Update comment.
31832
247c3ede
PB
318332012-04-12 Petr Baudis <pasky@ucw.cz>
31834
31835 [BZ #2074]
31836 * stdio.texi (Hook Functions): The user provided writer function
31837 is not allowed to return -1.
31838
55939d6d
DM
318392012-04-11 David S. Miller <davem@davemloft.net>
31840
31841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31842
90020f5a
MF
318432012-04-11 Mike Frysinger <vapier@gentoo.org>
31844
31845 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31846 Add a leading slash to rtkaio.
31847
288f9098
JM
318482012-04-11 Jim Meyering <meyering@redhat.com>
31849
90020f5a
MF
31850 [BZ #11959]
31851 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31852 It is not necessarily an error to ignore fwrite's return
31853 value. One can reliably use ferror to test for errors after
31854 the fact.
288f9098 31855
4be2b570
L
318562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31857
31858 * bits/types.h (__snseconds_t): New type.
31859 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31860
31861 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31862 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31863 (__SNSECONDS_T_TYPE): Likewise.
31864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31865 (__SNSECONDS_T_TYPE): Likewise.
31866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31867 (__SNSECONDS_T_TYPE): Likewise.
31868
288f9098 318692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31870
31871 [BZ #2636]
31872 * manual/time.texi (Processor Time): Return type of times is
31873 elapsed real time since an arbitrary point in the past.
31874 (CPU Time): Move CLK_TCK from here...
31875 (Processor Time): ...to here. Correct description.
31876 * manual/conf.texi (Constants for Sysconf): Correct description of
31877 _SC_CLK_TCK.
31878
d7dd4413
DM
318792012-04-10 David S. Miller <davem@davemloft.net>
31880
31881 [BZ #13967]
31882 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31883 where the is a gap between DT_REL(A) and DT_JMPREL.
31884
b46068fc
L
318852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31886
31887 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31888 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31889 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31890
73d65cc3
SP
318912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31892
31893 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31894 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31895 (dl_main): Handle --inhibit-cache.
31896 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31897 _dl_inhibit_cache.
31898 * elf/dl-load.c (_dl_map_object): Use it.
31899 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31900
bcc8d661
JM
319012012-04-09 Joseph Myers <joseph@codesourcery.com>
31902
8f9a2fae
JM
31903 [BZ #13872]
31904 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31905 (__ieee754_powl): Saturate large exponents rather than testing for
31906 overflow of y*log2(x).
31907 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31908 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31909 exceptions.
31910
bcc8d661
JM
31911 [BZ #11521]
31912 * math/s_ctan.c: Include <float.h>.
31913 (__ctan): Avoid internal overflow or cancellation in calculating
31914 denominator.
31915 * math/s_ctanf.c: Likewise.
31916 * math/s_ctanl.c: Likewise.
31917 * math/s_ctanh.c: Likewise.
31918 * math/s_ctanhf.c: Likewise.
31919 * math/s_ctanhl.c: Likewise.
31920 * math/libm-test.inc (ctan_test): Add more tests.
31921 (ctanh_test): Likewise.
31922 * sysdeps/i386/fpu/libm-test-ulps: Update.
31923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31924
823fbbb4
AJ
319252012-04-09 Andreas Jaeger <aj@suse.de>
31926
03879793
AJ
31927 [BZ #6894]
31928 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31929 is an optional BSD extension.
31930
823fbbb4
AJ
31931 [BZ #10254]
31932 * manual/stdio.texi (Opening Streams): Document additional fopen
31933 parameters.
31934
8de131cb
RM
319352012-04-09 Roland McGrath <roland@hack.frob.com>
31936
31937 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31938 %eax without telling the compiler.
31939
c0ed9d7d
CD
319402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31941
31942 [BZ # 13963]
31943 * manual/install.texi: Use sourceware.org.
31944
c483f6b4
JM
319452012-04-09 Joseph Myers <joseph@codesourcery.com>
31946
d7dd9453
JM
31947 [BZ #13873]
31948 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31949 (__ieee754_pow): Generate overflow and underflow using huge*huge
31950 and tiny*tiny rather than just returning constant infinity or zero
31951 for large exponents.
31952 * math/libm-test.inc (pow_test): Require overflow exceptions for
31953 applicable cases of large exponents.
31954
c483f6b4
JM
31955 [BZ #706]
31956 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31957 (__ieee754_pow): Use iterative multiplication algorithm only for
31958 integer exponents with absolute value below 1024. Check for odd
31959 integer exponents when using algorithm for real exponents.
31960 * math/libm-test.inc (pow_test): Add more tests.
31961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31962
d2de7579
JM
319632012-04-08 Joseph Myers <joseph@codesourcery.com>
31964
31965 [BZ #13705]
31966 * math/libm-test.inc (exp_test): Do not allow overflow exception
31967 on underflow test.
31968
f77f1232
AJ
319692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31970
31971 [BZ #13705]
31972 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31973 instead of __kernel_standard_f.
31974
3884932b
MF
319752012-04-08 Mike Frysinger <vapier@gentoo.org>
31976
31977 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31978 * sysdeps/x86_64/memset_chk.S: Likewise.
31979
54472e9c
AJ
319802012-04-08 Andreas Jaeger <aj@suse.de>
31981
6ab0fbfc
AJ
31982 [BZ #10153]
31983 * manual/startup.texi (Environment Access): Describe return value
31984 for putenv and setenv.
31985
61efba8c
AJ
31986 [BZ #6895]
31987 * manual/filesys.texi (Directory Entries): Add description for
31988 DT_LNK.
31989
95c3f29a
AJ
31990 [BZ #6890]
31991 * manual/filesys.texi (Directory Entries): Clarify that it's file
31992 system not operating system in the description of DT_UNKNOWN.
31993
54472e9c
AJ
31994 [BZ #6578]
31995 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31996
624254b1
SC
319972012-04-08 Stephen Compall <s11@member.fsf.org>
31998
31999 [BZ #6649]
32000 * manual/llio.texi (Opening and Closing Files): Add cross
32001 reference to explain mode argument.
32002
1e4920e0
MF
320032012-04-07 Mike Frysinger <vapier@gentoo.org>
32004
32005 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32006 * sysdeps/x86_64/memset_chk.S: Likewise.
32007
5ed848f3
DM
320082012-04-07 David S. Miller <davem@davemloft.net>
32009
32010 * elf/elf.h (R_SPARC_WDISP10): Define.
32011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32012 R_SPARC_SIZE32.
32013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32014 R_SPARC_SIZE64 and R_SPARC_H34.
32015
96154cd8
CD
320162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32017
32018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32019 conditions and remove no longer applicable assertion.
32020
9904dc47
L
320212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32022
32023 * bits/byteswap.h: Include <features.h>.
32024 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32025 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32026
f8887d0a
L
320272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32028
32029 * bits/byteswap.h (__bswap_16): Removed.
32030 Include <bits/byteswap-16.h> to get __bswap_16.
32031 * sysdeps/i386/bits/byteswap.h: Likewise.
32032 * sysdeps/s390/bits/byteswap.h: Likewise.
32033 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32034 * bits/byteswap-16.h: New file.
32035 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32036 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32037 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32038 * string/Makefile (headers): Add bits/byteswap-16.h.
32039
62470f60
PP
320402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32041
32042 [BZ #13895]
32043 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32044 extra indirection.
32045 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32046 * nss/tst-nss-static.c: New.
32047
4dad7bab
RM
320482012-04-06 Robert Millan <rmh@gnu.org>
32049
32050 [BZ #6486]
32051 * manual/llio.texi (File Position Primitive): lseek
32052 refers to WHENCE when it really means OFFSET.
32053
e9142a17
AJ
320542012-04-06 Andreas Jaeger <aj@suse.de>
32055
2c040eff
AJ
32056 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32057 strncmp declarations.
32058
e9142a17
AJ
32059 * abilist/libc.abilist: Add __poll and __ppoll.
32060
ff9f1c5f
DM
320612012-04-05 David S. Miller <davem@davemloft.net>
32062
dcd2ae90
DM
32063 * scripts/check-local-headers.sh: Accept a host triplet in the
32064 path matched by the exclude regexp.
32065
993eb054
DM
32066 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32067 definition.
32068 * sysdeps/powerpc/powerpc32/dl-machine.h
32069 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32070 * sysdeps/s390/s390-32/dl-machine.h
32071 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32072 * sysdeps/sparc/sparc32/dl-machine.h
32073 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32074 * sysdeps/sparc/sparc64/dl-machine.h
32075 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32076
ff9f1c5f
DM
32077 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32078 lazy binding.
48e2e132 32079 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32080 undefined symbol errors.
32081
48e2e132 32082 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32083 DT_NEEDED entries.
32084
e80d6f94
MM
320852012-04-05 Michael Matz <matz@suse.de>
32086
32087 [BZ #13592]
32088 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32089
349fa79f
AJ
320902012-04-05 Andreas Jaeger <aj@suse.de>
32091
32092 [BZ #13908]
32093 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32094 comment.
32095
f402708f
KK
320962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32097
32098 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32099 which ROUND is no valid rounding mode.
32100
2ecccfc9
KK
321012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32102
32103 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32104 read again.
32105 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32106
8a53f50f
KK
321072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32108
32109 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32110 an exception using FPU order intentionally.
32111
321122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32113
32114 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32115 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32116 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32117 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32118
d653abb7
SJ
321192012-04-05 Simon Josefsson <simon@josefsson.org>
32120
32121 [BZ #12340]
32122 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32123 EINVAL when BUFLEN is too smal.
32124
c3b1bf7d
TS
321252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32126
32127 [BZ #13553]
32128 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32129 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32130
b1aa60f3
AJ
321312012-04-03 Andreas Jaeger <aj@suse.de>
32132
c3b1bf7d 32133 [BZ #13938]
67f60a26
AJ
32134 * manual/setjmp.texi (System V contexts): Fix sentence.
32135
b1aa60f3
AJ
32136 [BZ #13926]
32137 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32138 New macro for this case.
32139 [!__GNUC__] (__bswap_64): New inline function for this case.
32140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32141 * bits/byteswap.h: Likewise.
32142 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32143 ull, guard with __GLIBC_HAVE_LONG_LONG.
32144
32145 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32146 __GLIBC_HAVE_LONG_LONG.
32147
32148 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32149 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32150
39c59c35
TMQMF
321512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32152
32153 [BZ #13691]
32154 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32155 inptr and inend, rather than using last_ch.
32156
135ffda8
DM
321572012-04-02 David S. Miller <davem@davemloft.net>
32158
32159 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32160 * stdio-common/printf-parse.h (read_int): Change return type to
32161 'int', return -1 on INT_MAX overflow.
32162 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32163 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32164 overflows INT_MAX. Check for overflow of in-format-string precision
32165 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32166 SIZE_MAX not INT_MAX for integer overflow test.
32167 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32168 skip the construct in the format string but do not record anything.
32169 * stdio-common/bug22.c: Adjust to test both width/prevision
32170 INT_MAX overflow as well as total length INT_MAX overflow. Check
32171 explicitly for proper errno values.
32172
228c019e
TS
321732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32174
302cadd3
TS
32175 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32176 CHAR_MAX.
32177 * string/test-strcmp.c [! WIDE]: Likewise.
32178 * time/tst-mktime2.c: Likewise for INT_MAX.
32179 * string/test-string.h: #include <sys/param.h> for MIN.
32180
228c019e
TS
32181 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32182 * sysdeps/i386/init-first.c (init): Likewise.
32183 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32184 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32185 * sysdeps/sh/init-first.c (init): Likewise.
32186
cfa633f5
UD
321872012-04-01 Ulrich Drepper <drepper@gmail.com>
32188
32189 * po/ru.po: Update from translation team.
d1635ef8 32190 * po/vi.po: Likewise.
cfa633f5 32191
6cd0a5ea
SP
321922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32193
32194 * resolv/nss_dns/dns-host.c: Merge copyright years.
32195
4b43400f
LD
321962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32197
32198 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32199 Optimize memcpy with prefetch if
32200 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32201 src, dst pointers have unequal 16 byte alignments.
32202
48c41d04
SP
322032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32204
32205 [BZ #13928]
32206 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32207 from a CNAME entry and return the minimum ttl for the query.
32208 (gaih_getanswer_slice): Likewise.
32209
b8dc394d
JL
322102012-03-30 Jeff Law <law@redhat.com>
32211
32212 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32213 due to long keys.
32214 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32215 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32216
2f5a5ed0
JL
32217 * resolv/nss_dns/dns-host.c: Update copyright year.
32218
1d39e359
UD
322192012-03-30 Ulrich Drepper <drepper@gmail.com>
32220
c030f70c 32221 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32222 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32223
1d39e359
UD
32224 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32225 comments for sendmmsg.
32226
322272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32228
32229 [BZ #13691]
32230 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32231 with only 1 character between 0x0041 and 0x01b0.
32232 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32233 * wcsmbs/tst-mbsnrtowcs.c: New file.
32234
20fde227
DM
322352012-03-29 David S. Miller <davem@davemloft.net>
32236
32237 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32238 small copies by hand.
32239
984a4237
JL
322402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32241
32242 [BZ #13761]
57f41c40
AS
32243 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32244 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32245 group memberships.
984a4237 32246
18c9d62b
DM
322472012-03-28 David S. Miller <davem@davemloft.net>
32248
88d85d4f
DM
32249 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32250 that branches into memcpy.
32251 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32252 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32253 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32254 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32255 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32256 bits.
32257 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32258 implementation too.
32259 * sysdeps/sparc/mempcpy.S: New file.
32260
e5aa83e1
DM
32261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32262 the IFUNC routine in the libc case.
32263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32264
88570753
DM
32265 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32266 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32267 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32268 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32269 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32270 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32271 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32272 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32273
249d7567
DM
32274 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32275 loop to 256 bytes instead of 64 bytes and fix test signedness.
32276
18c9d62b
DM
32277 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32278 * sysdeps/sparc/sparc32/Makefile: rather than here...
32279 * sysdeps/sparc/sparc64/Makefile: and here.
32280
05f3d1f6
UD
322812012-03-28 Ulrich Drepper <drepper@gmail.com>
32282
32283 * malloc/mallocbug.c: Avoid warnings about unused variables.
32284
86ae07a8
JL
322852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32286
32287 [BZ #13760]
32288 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32289 in the right place. Discard and retry query if response is
32290 larger than input buffer size.
32291
41bf21a1
JM
322922012-03-28 Joseph Myers <joseph@codesourcery.com>
32293
d6270972
JM
32294 [BZ #369]
32295 [BZ #2678]
32296 [BZ #3866]
32297 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32298 x for large integer exponent.
32299 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32300 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32301 sign of result as needed afterwards.
32302 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32303 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32304 result for underflowing pow the same as for overflow.
32305 (__kernel_standard_l): Handle powl overflow and underflow here
32306 rather than calling __kernel_standard.
32307 * math/libm-test.inc (pow_test): Add more tests.
32308
414fca03 32309 [BZ #3868]
41bf21a1
JM
32310 [BZ #13879]
32311 [BZ #13910]
32312 [BZ #13911]
32313 [BZ #13912]
32314 [BZ #13913]
32315 [BZ #13915]
32316 [BZ #13916]
32317 [BZ #13917]
32318 [BZ #13918]
32319 [BZ #13919]
32320 [BZ #13920]
32321 [BZ #13921]
32322 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32323 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32324 (__kernel_standard_l): New function.
32325 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32326 __kernel_standard.
32327 * math/w_acosl.c (__acosl): Likewise.
32328 * math/w_asinl.c (__asinl): Likewise.
32329 * math/w_atan2l.c (__atan2l): Likewise.
32330 * math/w_atanhl.c (__atanhl): Likewise.
32331 * math/w_coshl.c (__coshl): Likewise.
32332 * math/w_exp10l.c (__exp10l): Likewise.
32333 * math/w_exp2l.c (__exp2l): Likewise.
32334 * math/w_fmodl.c (__fmodl): Likewise.
32335 * math/w_hypotl.c (__hypotl): Likewise.
32336 * math/w_j0l.c (__j0l, __y0l): Likewise.
32337 * math/w_j1l.c (__j1l, __y1l): Likewise.
32338 * math/w_jnl.c (__jnl, __ynl): Likewise.
32339 * math/w_lgammal.c (__lgammal): Likewise.
32340 * math/w_log10l.c (__log10l): Likewise.
32341 * math/w_log2l.c (__log2l): Likewise.
32342 * math/w_logl.c (__logl): Likewise.
32343 * math/w_powl.c (__powl): Likewise.
32344 * math/w_remainderl.c (__remainderl): Likewise.
32345 * math/w_scalbl.c (sysv_scalbl): Likewise.
32346 * math/w_sinhl.c (__sinhl): Likewise.
32347 * math/w_sqrtl.c (__sqrtl): Likewise.
32348 * math/w_tgammal.c (__tgammal): Likewise.
32349 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32350 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32351 * math/libm-test.inc (acos_test): Add more tests.
32352 (acosh_test): Likewise.
32353 (asin_test): Likewise.
32354 (atanh_test): Likewise.
32355 (exp_test): Likewise.
32356 (exp10_test): Likewise.
32357 (exp2_test): Likewise.
32358 (expm1_test): Likewise.
32359 (lgamma_test): Likewise.
32360 (log_test): Likewise.
32361 (log10_test): Likewise.
32362 (log1p_test): Likewise.
32363 (log2_test): Likewise.
32364 (pow_test): Do not allow some spurious overflow exceptions.
32365 (sqrt_test): Add more tests.
32366 (tgamma_test): Likewise.
32367 (y0_test): Likewise.
32368 (y1_test): Likewise.
32369 (yn_test): Likewise.
32370
dd62fda6
AB
323712012-03-27 Anton Blanchard <anton@samba.org>
32372
32373 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32374 MAP_HUGETLB.
32375 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32376 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32377 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32378
1e3cdfda
AJ
323792012-03-27 David S. Miller <davem@davemloft.net>
32380
b855ab85
DM
32381 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32382
1e3cdfda
AJ
32383 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32384 have-as-vis3 check.
32385
323862012-03-27 Andreas Jaeger <aj@suse.de>
32387
32388 * sysdeps/x86_64/elf/configure.in: Moved to ...
32389 * sysdeps/x86_64/configure.in: ... here.
32390 * sysdeps/x86_64/elf/start.S: Moved to ...
32391 * sysdeps/x86_64/start.S: ... here.
32392 * sysdeps/x86_64/elf/configure: Delete.
32393
32394 * sysdeps/x86_64/configure.in: Merge contents from
32395 sysdeps/i386/configure.in (without i686 check).
32396
32397 * sysdeps/i386/elf/Versions: Merge into ...
32398 * sysdeps/i386/Versions: ... this.
32399 * sysdeps/i386/elf/Versions: Delete file.
32400 * sysdeps/i386/elf/start.S: Moved to ...
32401 * sysdeps/i386/start.S: ...here.
32402 * sysdeps/i386/elf/configure.in: Merge into...
32403 * sysdeps/i386/configure.in: ...here.
32404 * sysdeps/i386/elf/configure.in: Delete file.
32405 * sysdeps/i386/elf/configure: Delete file.
32406
32407 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32408 * debug/backtracesyms.c: ... here.
32409 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32410 * debug/backtracesymsfd.c: ... here.
32411 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32412 * sysdeps/generic/ifunc-sel.h: ... here.
32413
32414 * sysdeps/unix/i386/start.c: Delete file.
32415 * sysdeps/unix/sparc/start.c: Delete file.
32416 * sysdeps/unix/start.c: Delete file.
32417
32418 * sysdeps/sh/elf/configure.in: Moved to ...
32419 * sysdeps/sh/configure.in: ... here.
32420 * sysdeps/sh/elf/start.S: Moved to ...
32421 * sysdeps/sh/start.S: ... here.
32422 * sysdeps/sh/elf/configure: Delete file.
32423
32424 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32425 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32426 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32427 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32428 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32429 * sysdeps/powerpc/powerpc64/start.S: here.
32430 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32431 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32432 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32433 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32434 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32435
32436 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32437 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32438 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32439 * sysdeps/powerpc/powerpc32/start.S: ... here.
32440 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32441 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32442 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32443
32444 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32445 * sysdeps/powerpc/ifunc-sel.h: ... here.
32446 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32447 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32448
32449 * sysdeps/sparc/elf/configure.in: Moved to ...
32450 * sysdeps/sparc/configure.in: ... here.
32451 * sysdeps/sparc/elf/configure: Delete file.
32452 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32453 * sysdeps/sparc/sparc32/start.S: ... here.
32454 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32455 * sysdeps/sparc/sparc64/start.S: ... here.
32456 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32457 * sysdeps/sparc/sparc32/Makefile: ... this.
32458 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32459 * sysdeps/sparc/sparc64/Makefile: ... this.
32460
32461 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32462 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32463 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32464 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32465 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32466 * sysdeps/s390/s390-32/setjmp.S: ... here.
32467 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32468 * sysdeps/s390/s390-32/configure.in: ... here.
32469 * sysdeps/s390/s390-32/elf/configure: Delete file.
32470 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32471 * sysdeps/s390/s390-32/start.S: ... here.
32472
32473 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32474 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32475 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32476 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32477 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32478 * sysdeps/s390/s390-64/setjmp.S: ... here.
32479 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32480 * sysdeps/s390/s390-64/configure.in: ... here
32481 * sysdeps/s390/s390-64/elf/configure: Delete file.
32482 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32483 * sysdeps/s390/s390-64/start.S: ... here.
32484 * sysdeps/s390/s390-64/elf/configure: Delete.
32485
32486 * configure.in: Remove support for elf directories in sysdeps.
32487
32488 * configure: Regenerated.
32489 * sysdeps/i386/configure: Regenerated.
32490 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32491 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32492 * sysdeps/s390/s390-32/configure: Regenerated.
32493 * sysdeps/s390/s390-64/configure: Regenerated.
32494 * sysdeps/sh/configure: Regenerated.
32495 * sysdeps/sparc/configure: Regenerated.
32496 * sysdeps/x86_64/configure: Regenerated.
32497
a3f61311
AS
324982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32499
c876e002
AS
32500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32501
a3f61311
AS
32502 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32503 denormal result into account.
32504
ac4c54f0
RM
325052012-03-25 Roland McGrath <roland@hack.frob.com>
32506
32507 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32508 Reported by Allan McRae <allan@archlinux.org>.
32509
6a9b9c02
JL
325102012-03-23 Jeff Law <law@redhat.com>
32511
32512 * nss/getnssent.c (__nss_getent): Fix typo.
32513
4c42a0c1
DM
325142012-03-23 David S. Miller <davem@davemloft.net>
32515
32516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32517
1532c7ac
L
325182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32519
32520 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32521 to pad to uint64_t for each field.
32522 (dl_tls_index): Replace unsigned long with uint64_t.
32523
3ff42526
PP
325242012-03-23 Daniel Jacobowitz <dmj@google.com>
32525 Paul Pluzhnikov <ppluzhnikov@google.com>
32526
32527 [BZ #6528]
32528 * grp/Makefile (otherlibs): Don't set it.
32529 * inet/Makefile (otherlibs): Likewise.
32530 * login/Makefile (otherlibs): Likewise.
32531 * nscd/Makefile (otherlibs): Likewise.
32532 * posix/Makefile (otherlibs): Likewise.
32533 * pwd/Makefile (otherlibs): Likewise.
32534 * rt/Makefile (otherlibs): Likewise.
32535 * sunrpc/Makefile (otherlibs): Likewise.
32536 * nss/Makefile (otherlibs): Likewise.
32537 Add libnss_files to routines and static-only-routines.
32538 ($(objpfx)getent): Remove rule.
32539 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32540 static-only-routines.
32541
7c69cd14
JM
325422012-03-22 Joseph Myers <joseph@codesourcery.com>
32543
32544 [BZ #13892]
32545 * math/s_cexp.c: Include <float.h>.
32546 (__cexp): Handle exp result overflowing not necessarily
32547 overflowing both real and imaginary parts of result.
32548 * math/s_cexpf.c: Likewise.
32549 * math/s_cexpl.c: Likewise.
32550 * math/libm-test.inc (cexp_test): Add more tests.
32551 * sysdeps/i386/fpu/libm-test-ulps: Update.
32552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32553
81b035fe
L
325542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32555
32556 * include/link.h (ELFW): New macro.
32557 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32558 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32559
1da7940c
L
325602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32561
32562 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32563 with uint64_t.
32564
b749dbb9
L
325652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32566
32567 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32568 declaration.
32569 (struct La_x32_retval): Likewise.
32570
2ff87f3f
L
325712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32572
32573 * sysdeps/x86_64/preconfigure.in: New file.
32574 * sysdeps/x86_64/preconfigure: New generated file.
32575
c0df8e69
JM
325762012-03-22 Joseph Myers <joseph@codesourcery.com>
32577
48e44791
JM
32578 [BZ #13824]
32579 * math/e_exp2l.c: Include <float.h>.
32580 (__ieee754_exp2l): Handle overflow and underflow cases
32581 separately. Only pass fractional part of argument to
32582 __ieee754_expl.
32583 * math/libm-test.inc (exp2_test): Add more tests.
32584
c0df8e69
JM
32585 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32586 negating x to take absolute value.
32587 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32588 Likewise.
32589 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32590 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32591 Likewise.
32592 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32593 computing low part if x was negated.
32594 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32595
c8e43ba7
L
325962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32597
32598 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32599 la_x32_gnu_pltexit.
32600 (pltexit): Cast int_retval to ptrdiff_t.
32601 * elf/tst-auditmod3b.c: Likewise.
32602 * elf/tst-auditmod4b.c: Likewise.
32603 * elf/tst-auditmod5b.c: Likewise.
32604 * elf/tst-auditmod6b.c: Likewise.
32605 * elf/tst-auditmod6c.c: Likewise.
32606 * elf/tst-auditmod7b.c: Likewise.
32607
32608 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32609 and x32_gnu_pltexit.
32610
32611 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32612 __ELF_NATIVE_CLASS.
32613 (La_x32_regs): New macro.
32614 (La_x32_retval): Likewise.
32615 (la_x32_gnu_pltenter): New function prototype.
32616 (la_x32_gnu_pltexit): Likewise.
32617
7998fa78
AS
326182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32619
dcb33988
AS
32620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32621 exponent.
32622
233fc563
AS
32623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32624
7998fa78
AS
32625 * configure.in (libc_cv_cc_nofma): Check for option to disable
32626 generation of FMA instructions.
32627 * configure: Regenerate.
32628 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32629 * sysdeps/ieee754/dbl-64/Makefile: New file.
32630 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32631 Remove brandred-fma4.
32632 (CFLAGS-brandred-fma4.c): Remove.
32633 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32634 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32635 define.
32636 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32637 define.
32638
8e95c99a
L
326392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32640
32641 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32642 LLONG_MAX != LONG_MAX.
32643 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32644 (_fitoa_word): Likewise.
32645 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32646 LLONG_MAX != LONG_MAX.
32647 * stdio-common/_itowa.h: Include <_itoa.h>.
32648 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32649 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32650 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32651 only if not defined.
32652 (_ITOA_WORD_TYPE): Likewise.
32653 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32654 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32655
6f4db457
DM
326562012-03-21 David S. Miller <davem@davemloft.net>
32657
32658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32659
7785fe5a
L
326602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32661
32662 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32663 of x86_64 when setting libc_cv_slibdir, libdir and
32664 libc_cv_localedir.
32665 * sysdeps/unix/sysv/linux/configure: Regenerated.
32666
4535cd55
JM
326672012-03-21 Joseph Myers <joseph@codesourcery.com>
32668
32669 * manual/lang.texi (Old Varargs): Remove section.
32670 (How Variadic): Update menu.
32671 (va_start): Do not mention varargs.h.
32672
17228132
TS
326732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32674 Joseph Myers <joseph@codesourcery.com>
32675
32676 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32677 link test.
32678 * configure: Regenerated.
32679
8149f976
TS
326802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32681
05f3d1f6
UD
32682 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32683 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32684 conformtest.pl
8149f976 32685
1a4ac776
JM
326862012-03-21 Joseph Myers <joseph@codesourcery.com>
32687
be22ce65
JM
32688 * NOTES: Remove.
32689 * Makefile (files-for-dist): Remove NOTES.
32690 (NOTES): Remove rule.
32691 * README: Don't refer to NOTES.
32692 * manual/creature.texi: Don't include macros.texi.
32693 * manual/intro.texi (creature.texi): Remove comment referring to
32694 NOTES.
32695
40b601fb
JM
32696 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32697 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32698 * configure: Regenerated.
32699 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32700 LIBC_TRY_CC_OPTION.
32701 (libc_cv_as_i686): Likewise.
32702 (libc_cv_cc_avx): Likewise.
32703 (libc_cv_cc_sse2avx): Likewise.
32704 (libc_cv_cc_fma4): Likewise.
32705 (libc_cv_cc_novzeroupper): Likewise.
32706 * sysdeps/i386/configure: Regenerated.
32707
1a4ac776
JM
32708 [BZ #13883]
32709 * sysdeps/i386/fpu/s_cexp.S: Remove.
32710 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32711 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32712 * math/libm-test.inc (cexp_test): Add more tests.
32713 * sysdeps/i386/fpu/libm-test-ulps: Update.
32714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32715
a458e7fe
AM
327162012-03-21 Allan McRae <allan@archlinux.org>
32717
32718 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32719
0cb7efc5
JM
327202012-03-21 Joseph Myers <joseph@codesourcery.com>
32721
32722 [BZ #13871]
32723 * math/w_exp2.c: Do not include <float.h>.
32724 (o_threshold, u_threshold): Remove.
32725 (__exp2): Calculate result before checking finiteness and calling
32726 __kernel_standard.
32727 * math/w_exp2f.c: Likewise.
32728 * math/w_exp2l.c: Likewise.
32729 * math/libm-test.inc (exp2_test): Require overflow exception for
32730 1e6 input.
2460d3aa
JM
32731
32732 [BZ #3866]
32733 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32734 range of signed 64-bit integers before using fistpll. Remove
32735 checks for whether integers fit in mantissa bits.
32736 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32737 the range of signed 32-bit integers before using fistpl. Remove
32738 checks for whether integers fit in mantissa bits.
32739 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32740 (__ieee754_powl): Test for y outside the range of signed 64-bit
32741 integers before using fistpll. Reduce 64-bit values to 63-bit
32742 ones as needed.
32743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32744 divide-by-zero is raised for zero to large negative powers.
32745 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32746 (__ieee754_powl): Test for y outside the range of signed 64-bit
32747 integers before using fistpll. Reduce 64-bit values to 63-bit
32748 ones as needed.
32749 * math/libm-test.inc (pow_test): Add more tests.
32750
eb96ffb0
L
327512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32752
32753 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32754 <stdio-common/_itoa.h>.
32755 * debug/segfault.c: Likewise.
32756 * elf/dl-cache.c: Likewise.
32757 * elf/dl-minimal.c: Likewise.
32758 * elf/dl-misc.c: Likewise.
32759 * elf/dl-sysdep.c: Likewise.
32760 * elf/dl-version.c: Likewise.
32761 * elf/rtld.c: Likewise.
32762 * hurd/hurdsock.c: Likewise.
32763 * hurd/lookup-retry.c: Likewise.
32764 * malloc/malloc.c: Likewise.
32765 * malloc/mtrace.c: Likewise.
32766 * nscd/nscd_getgr_r.c: Likewise.
32767 * nscd/nscd_getpw_r.c: Likewise.
32768 * nscd/nscd_getserv_r.c: Likewise.
32769 * posix/getopt_init.c: Likewise.
32770 * posix/wordexp.c: Likewise.
32771 * stdio-common/_itoa.c: Likewise.
32772 * stdio-common/printf_fphex.c: Likewise.
32773 * stdio-common/vfprintf.c: Likewise.
32774 * string/_strerror.c: Likewise.
32775 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32776 * sysdeps/i386/i686/hp-timing.h: Likewise.
32777 * sysdeps/mach/_strerror.c: Likewise.
32778 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32779 * sysdeps/mach/hurd/sethostid.c: Likewise.
32780 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32781 * sysdeps/mach/xpg-strerror.c: Likewise.
32782 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32783 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32784 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32785 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32786 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32787 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32788 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32789 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32790 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32791 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32792 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32793 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32794 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32795 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32796 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32797 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32798 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32799 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32800 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32801 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32802 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32803
32804 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32805
32806 * stdio-common/_itoa.h: Moved to ...
32807 * sysdeps/generic/_itoa.h: Here.
32808
32809 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32810
32811 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32812 instead of "_itoa.h" and "_itowa.h".
32813 * stdio-common/vfprintf.: Likewise.
32814
d1af992d
L
328152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32816
32817 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32818 <bits/wordsize.h>.
32819 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32820 (__signbit): Likwise.
32821 (llrintf): Likwise.
32822 (llrint): Likwise.
32823
114883e0
L
328242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32825
32826 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32827 __WORDSIZE != 64.
32828
c135cc1b
JM
328292012-03-20 Joseph Myers <joseph@codesourcery.com>
32830
32831 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32832 OVERFLOW_EXCEPTION_OK.
32833 * math/libm-test.inc ("Philosophy"): Update comment about
32834 exception testing.
32835 (OVERFLOW_EXCEPTION): Define.
32836 (OVERFLOW_EXCEPTION_OK): Likewise.
32837 (INVALID_EXCEPTION_OK): Renumber.
32838 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32839 (IGNORE_ZERO_INF_SIGN): Likewise.
32840 (test_exceptions): Handle FE_OVERFLOW.
32841 (exp10_test): Expect overflow exceptions.
32842 (exp2_test): Likewise.
32843 (expm1_test): Likewise.
32844 (nextafter_test): Likewise.
32845 (pow_test): Likewise.
32846 (scalbn_test): Likewise.
32847 (scalbln_test): Likewise.
32848
95443d88
L
328492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32850
32851 * sysdeps/x86_64/bits/atomic.h
32852 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32853 64bit integer.
32854 (atomic_exchange_acq): Likewise.
32855 (__arch_exchange_and_add_body): Likewise.
32856 (__arch_add_body): Likewise.
32857 (atomic_add_negative): Likewise.
32858 (atomic_add_zero): Likewise.
32859
490df6c4
L
328602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32861
c2722551 32862 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32863 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32864
5e52b189
L
328652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32866
32867 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32868 Check __x86_64__ instead of __WORDSIZE.
32869
a9879d4c
L
328702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32871
32872 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32873
5df98260
DM
328742012-03-19 David S. Miller <davem@davemloft.net>
32875
e1497744
DM
32876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32877
5df98260
DM
32878 * sysdeps/sparc/fpu/fenv_private.h: New file.
32879 * sysdeps/sparc/fpu/math_private.h: Use it.
32880 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32881 Remove.
57f41c40 32882 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
32883 (libc_feholdexcept_setroundl): Remove.
32884 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32885 Remove.
32886 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32887 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32888
b4c35121
L
328892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32890
32891 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32892 int64_t instead of long int.
32893 (INSERT_WORDS64): Likwise.
32894
56965fd7
L
328952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32896
32897 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32898 _Unwind_GetCFA return to _Unwind_Ptr first.
32899
83d1aec8
JM
329002012-03-19 Joseph Myers <joseph@codesourcery.com>
32901
1897ad44
JM
32902 [BZ #13629]
32903 * math/s_clog.c: Include <float.h>.
32904 (__clog): Scale large or subnormal inputs.
32905 * math/s_clogf.c: Likewise.
32906 * math/s_clogl.c: Likewise.
32907 * math/s_clog10.c: Include <float.h>.
32908 (M_LOG10_2): Define.
32909 (__clog10): Scale large or subnormal inputs.
32910 * math/s_clog10f.c: Likewise.
32911 * math/s_clog10l.c: Likewise.
32912 * math/libm-test.inc (clog_test): Add more tests.
32913 (clog10_test): Likewise.
32914 * sysdeps/i386/fpu/libm-test-ulps: Update.
32915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32916
7726d6a9
JM
32917 [BZ #11451]
32918 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32919 x and y.
32920 * math/libm-test.inc (atan2_test): Add another test.
32921
83d1aec8
JM
32922 * Makerules (common-objdir-compile): Remove.
32923 * sysdeps/unix/Makefile (config-generated): Do not add
32924 $(unix-generated) to variable.
32925 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32926 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32927 Remove rule.
32928 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32929 Likewise.
32930 [generic bits/local_lim.h] (before-compile): Do not append to
32931 variable.
32932 [generic bits/local_lim.h] (common-generated): Likewise.
32933 [generic sys/param.h] (before-compile): Do not append to variable.
32934 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32935 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32936 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32937 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32938 include.
32939 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32940 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32941 [generic sys/param.h] ($(addprefix
32942 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32943 [generic sys/param.h] (common-generated): Do not append to
32944 variable.
32945 [generic sys/param.h] (sysdep_headers): Likewise.
32946 [generic bits/errno.h] (before-compile): Do not append to
32947 variable.
32948 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32949 rule.
32950 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32951 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32952 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32953 [generic bits/errno.h] (common-generated): Do not append to
32954 variable.
32955 [generic bits/ioctls.h] (before-compile): Do not append to
32956 variable.
32957 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32958 rule.
32959 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32960 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32961 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32962 rule.
32963 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32964 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32965 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32966 [generic bits/ioctls.h] (common-generated): Do not append to
32967 variable.
32968 [generic sys/syscall.h] (syscall.h): Remove variable.
32969 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32970 rule.
32971 [generic sys/syscall.h] (before-compile): Do not append to
32972 variable.
32973 [generic sys/syscall.h] (common-generated): Likewise.
32974 * sysdeps/unix/errnos-tmpl.c: Remove file.
32975 * sysdeps/unix/errnos.awk: Likewise.
32976 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32977 * sysdeps/unix/ioctls.awk: Likewise.
32978 * sysdeps/unix/mk-local_lim.c: Likewise.
32979 * sysdeps/unix/snarf-ioctls: Likewise.
32980
4851a949
RH
329812012-03-19 Richard Henderson <rth@twiddle.net>
32982
bd37f2ee
RH
32983 * sysdeps/i386/fpu/fenv_private.h: New file.
32984 * sysdeps/i386/fpu/math_private.h: Use it.
32985 (math_opt_barrier, math_force_eval): Remove.
32986 (libc_feholdexcept_setround_53bit): Remove.
32987 (libc_feupdateenv_53bit): Remove.
32988 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32989 (math_opt_barrier, math_force_eval): Remove.
32990 (libc_feholdexcept): Remove.
32991 (libc_feholdexcept_setround): Remove.
32992 (libc_fetestexcept, libc_fesetenv): Remove.
32993 (libc_feupdateenv_test): Remove.
32994 (libc_feupdateenv, libc_feholdsetround): Remove.
32995 (libc_feresetround): Remove.
32996
d0adc922
RH
32997 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32998 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32999
0fe0f1f8
RH
33000 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33001 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33002 (libc_feupdateenv_testl): New.
33003 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33004 (libc_feupdateenv_testf): New.
33005 (libc_feupdateenv): Use libc_feupdateenv_test.
33006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33007 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33008
eb92c487
RH
33009 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33010 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33011 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33012 (libc_feresetround_noex): New.
33013 (libc_feresetround_noexf): New.
33014 (libc_feresetround_noexl): New.
33015 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33016 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33017 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33018 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33019 SET_RESTORE_ROUND.
33020 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33021 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33022 (__cos): Likewise.
33023 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33024 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33025 SET_RESTORE_ROUND_NOEX.
33026 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33027 SET_RESTORE_ROUND_NOEXF.
33028 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33029 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33030 (libc_feholdsetroundf): New.
33031 (libc_feresetround, libc_feresetroundf): New.
33032
7d2e8012
RH
33033 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33034 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33035 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33036
b4dabbb4
RH
33037 * sysdeps/generic/math_private.h: Include <fenv.h>.
33038 (default_libc_feholdexcept): New.
33039 (default_libc_feholdexcept_setround): New.
33040 (default_libc_fesetenv, default_libc_feupdateenv): New.
33041 (libc_feholdexcept): Only define if undefined.
33042 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33043 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33044 (libc_feholdexcept_setroundl): Likewise.
33045 (libc_feholdexcept_setround_53bit): Likewise.
33046 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33047 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33048 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33049 (libc_feupdateenv_53bit): Likewise.
33050 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33051 (libc_feholdexcept): Convert from macro to inline function.
33052 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33053 (libc_fesetenv, libc_feupdateenv): Likewise.
33054
4851a949
RH
33055 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33056 not previously defined.
33057 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33058 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33059 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33060 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33061 * sysdeps/ieee754/flt-32/math_private.h: New file.
33062 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33063 math_private.h below SET_FLOAT_WORD.
33064 (__isnan, __isinf_ns, __finite): Remove.
33065 (__isnanf, __isinf_nsf, __finitef): Remove.
33066
e79d442e
AS
330672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33068
33069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33070
90b80344
DM
330712012-03-17 David S. Miller <davem@davemloft.net>
33072
33073 [BZ #6471]
33074 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33075 for 2.16.
33076
edc21804
DM
330772012-03-16 David S. Miller <davem@davemloft.net>
33078
77e927af
DM
33079 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33080 warnings.
33081
374976dd
DM
33082 [BZ #6471]
33083 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33084 properly.
33085 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33086 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33087 sysdep_routines when subdir is sysvipc.
33088 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33089 __getshmlba helper.
33090
edc21804
DM
33091 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33092
473c3ef3
L
330932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33094
33095 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33096 [__LP64__].
33097
eb0f39b6
L
330982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33099
33100 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33101 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33102 (__lround): Renamed to ...
33103 (__llround): This. Replace long int with long long int.
33104 Define lround functions as aliases of llround functions.
33105 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33106
6b6cd74b
L
331072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33108
33109 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33110 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33111 adresses to uintptr_t. Replace "long int" and "unsigned long
33112 int" with "greg_t" on va_arg.
33113
f1a77b01
L
331142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33115
33116 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33117 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33118
33119 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33120 Move e_machine check before EI_CLASS check. Handle x32
33121 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33122 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33123 SKIP_EM_IA_64 and include
33124 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33125
33126 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33127 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33128 (add_system_dir): New macro.
33129
33130 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33131 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33132
11b90b9f
JM
331332012-03-16 Joseph Myers <joseph@codesourcery.com>
33134
c36e1d23
JM
33135 [BZ #2551]
33136 [BZ #2552]
33137 [BZ #2553]
33138 [BZ #2554]
33139 [BZ #2562]
33140 [BZ #2563]
33141 [BZ #2565]
33142 [BZ #2566]
33143 [BZ #2576]
33144 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33145 (y0): Likewise.
33146 * math/w_j0f.c (j0f): Likewise.
33147 (y0f): Likewise.
33148 * math/w_j0l.c (__j0l): Likewise.
33149 (__y0l): Likewise.
33150 * math/w_j1.c (j1): Likewise.
33151 (y1): Likewise.
33152 * math/w_j1f.c (j1f): Likewise.
33153 (y1f): Likewise.
33154 * math/w_j1l.c (__j1l): Likewise.
33155 (__y1l): Likewise.
33156 * math/w_jn.c (jn): Likewise.
33157 (yn): Likewise.
33158 * math/w_jnf.c (jnf): Likewise.
33159 (ynf): Likewise.
33160 * math/w_jnl.c (__jnl): Likewise.
33161 (__ynl): Likewise.
33162 * math/libm-test.inc (j0_test): Add more tests.
33163 (j1_test): Likewise.
33164 (jn_test): Likewise. Add trailing semicolon to existing test.
33165 (y0_test): Likewise.
33166 (y1_test): Likewise.
33167 * sysdeps/i386/fpu/libm-test-ulps: Update.
33168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33169
11b90b9f
JM
33170 [BZ #13851]
33171 [BZ #13854]
33172 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33173 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33174 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33175 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33176 (__tanl): Set errno for infinite argument.
33177 * sysdeps/i386/fpu/mptan.c: Remove.
33178 * sysdeps/i386/fpu/s_tan.S: Likewise.
33179 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33180 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33181 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33182 * math/libm-test.inc (tan_test): Add more tests and enable more
33183 tests for double and long double.
33184 * sysdeps/i386/fpu/libm-test-ulps: Update.
33185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33186
6a1bd2a1
JK
331872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33188
33189 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33190 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33191
10a803e0
RM
331922012-03-16 Roland McGrath <roland@hack.frob.com>
33193
33194 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33195 * configure.in: Use it for both main tree and add-ons.
33196 * configure: Regenerated.
33197
f196c7f7
L
331982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33199
33200 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33201
8848d99d
JM
332022012-03-16 Joseph Myers <joseph@codesourcery.com>
33203
96cbe7f4
JM
33204 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33205 in comment.
33206
8848d99d
JM
33207 [BZ #13851]
33208 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33209 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33213 infinite argument.
33214 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33215 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33216 != 0 for prec == 2.
33217 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33218 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33219 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33220 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33221 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33222 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33223 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33224 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33225 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33226 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33227 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33228 * math/libm-test.inc (cos_test): Add more tests and enable more
33229 tests for long double.
33230 (sin_test): Likewise.
33231 (sincos_test): Likewise.
33232 * sysdeps/i386/fpu/libm-test-ulps: Update.
33233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33234
dd7f4703
DM
332352012-03-16 David S. Miller <davem@davemloft.net>
33236
33237 * sysdeps/sparc/fpu/math_private.h: New file.
33238
006f1daa
DM
332392012-03-15 David S. Miller <davem@davemloft.net>
33240
c0c83bc8
DM
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33242 file.
e6a62e18 33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33245 file.
e6a62e18
DM
33246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33252 sysdep routines.
33253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33254
88cb87d9
DM
33255 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33256 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33257
006f1daa 33258 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33260 sparc-ifunc.h
006f1daa 33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33263 Likewise.
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33265 Likewise.
006f1daa
DM
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33270 Likewise.
006f1daa
DM
33271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33276 Likewise.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33278 Likewise.
006f1daa
DM
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33303
11e0098e
AS
333042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33305
33306 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33307 scaling.
33308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33309
e85b09d0
AJ
333102012-03-15 Andreas Jaeger <aj@suse.de>
33311
33312 [BZ #13852]
33313 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33314 ieee754/flt-32 implementation for sin, cos and sincos.
33315 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33316 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33317 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33318 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33319 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33320 ieee754/flt-32 implementation for tan.
33321
33322 * math/libm-test.inc (cos_test): Enable some large input tests for
33323 float as well
33324 (sin_test): Likewise.
33325 (sincos_test): Likewise.
33326 (tan_test): Add tests for large input.
33327
33328 * sysdeps/i386/fpu/libm-test-ulps: Update.
33329
81c64153
AJ
333302012-03-15 Andreas Jaeger <aj@suse.de>
33331
33332 [BZ #13658]
33333 * math/libm-test.inc (cos_test): Add more test cases.
33334 (sin_test): Likewise.
33335 (sincos_test): Likewise.
33336
7bbfa5c6
AJ
333372012-03-15 Andreas Jaeger <aj@suse.de>
33338
33339 [BZ #13837]
33340 * math/libm-test.inc (cos_test): Add a test case for large input
33341 value.
33342 (sin_test): Likewise.
33343 (sincos_test): Likewise.
33344
57f41c40
AS
333452012-03-15 Andreas Jaeger <aj@suse.de>
33346 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33347
33348 [BZ #13658]
0671f479 33349 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33350 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33351 * sysdeps/i386/fpu/branred.c: Likewise.
33352 * sysdeps/i386/fpu/dosincos.c: Likewise.
33353 * sysdeps/i386/fpu/mpa.c: Likewise.
33354 * sysdeps/i386/fpu/s_cos.S: Likewise.
33355 * sysdeps/i386/fpu/s_sin.S: Likewise.
33356 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33357 * sysdeps/i386/fpu/sincos32.c: Likewise.
33358
33359 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33360 Define.
33361 (libc_feupdateenv_53bit): Define.
33362 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33363 Define.
33364 (libc_feupdateenv_53bit): Define.
33365
33366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33367 53 bit (without extend i386 double precision).
33368
33369 * math/libm-test.inc (sincos_test): Add tests for large input.
33370 (sin): Likewise.
33371 (cos): Likewise.
33372
33373 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33374
9cad04ea
AS
333752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33376
33377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33378
f7062b9a
DM
333792012-03-15 David S. Miller <davem@davemloft.net>
33380
33381 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33382 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33383 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33384 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33397 file.
f7062b9a 33398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33400 file.
f7062b9a 33401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33403 file.
f7062b9a 33404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33406 file.
f7062b9a
DM
33407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33409 fmin/fmax sysdep routines.
33410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33411
7bd951ff
DM
334122012-03-14 David S. Miller <davem@davemloft.net>
33413
559398ab
DM
33414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33418 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33442 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33443 routines.
33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33445 file.
559398ab 33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33448 file.
559398ab 33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33451 file.
559398ab 33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33454 file.
559398ab 33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33457 file.
559398ab 33458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33460 file.
33461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33462 file.
33463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33464 file.
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33466 file.
33467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33468 New file.
33469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33470 file.
33471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33472 file.
559398ab 33473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33475 file.
559398ab 33476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33478 file.
559398ab 33479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33481 file.
559398ab 33482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33484 VIS3 routines.
559398ab
DM
33485
33486 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33487 New file.
33488
5a1c1e32
DM
33489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33490
eae47a36
DM
33491 * sysdeps/sparc/configure.in: New file.
33492 * sysdeps/sparc/configure: Generate.
33493 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33494 * configure: Regenerate.
33495 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33496 * config.make.in (have-as-vis3): New.
33497 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33498 available use -Av9d instead of -Av9a.
33499 * sysdeps/sparc/sparc64/Makefile: Likewise.
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33502 New file.
33503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33504 file.
33505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33506 New file.
33507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33508 file.
eae47a36
DM
33509 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33510 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33513 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33514
c0c83bc8
DM
33515 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33516 fzeros/fnegs to load 0x80000000 into a float register instead of
33517 using the stack.
7bd951ff
DM
33518 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33519
bd951ccb
JM
335202012-03-14 Joseph Myers <joseph@codesourcery.com>
33521
33522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33523 bits/syscall.h.
33524 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33525 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33526 ($(inst_includedir)/bits/syscall.h): Remove rule.
33527 ($(objpfx)bits/syscall.d): Include instead of
33528 $(objpfx)syscall-list.d.
33529 (generated): Change syscall-list.h and syscall-list.d to
33530 bits/syscall.h and bits/syscall.d.
33531
bb4e6db2
RM
335322012-03-14 Roland McGrath <roland@hack.frob.com>
33533
33534 [BZ #13846]
33535 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33536
aa4a2ae1
JM
335372012-03-14 Joseph Myers <joseph@codesourcery.com>
33538
e456826d
JM
33539 [BZ #13841]
33540 * math/s_csqrt.c: Include <float.h>.
33541 (__csqrt): Scale large or subnormal inputs.
33542 * math/s_csqrtf.c: Likewise.
33543 * math/s_csqrtl.c: Likewise.
33544 * math/libm-test.inc (csqrt_test): Add more tests.
33545 * sysdeps/i386/fpu/libm-test-ulps: Update.
33546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33547
aa4a2ae1
JM
33548 [BZ #13840]
33549 * math/libm-test.inc (hypot_test): Add more tests.
33550
7c10fd35
DM
335512012-03-13 David S. Miller <davem@davemloft.net>
33552
33553 [BZ #13840]
33554 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33555 double-precision for the calculation instead of scaling.
33556
f453b98b
JM
335572012-03-13 Joseph Myers <joseph@codesourcery.com>
33558
33559 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33560 manipulate bits before adding and subtracting TWO52[sx].
33561 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33562 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33563 Likewise.
33564 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33565
09a3453f
DM
335662012-03-13 David S. Miller <davem@davemloft.net>
33567
8e59da90
DM
33568 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33569 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33571 rtld-global-offsets.h
33572 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33573
2a8ab7f2
DM
33574 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33575 large parameters.
33576
10f62770
DM
33577 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33578
5f0bdb18
DM
33579 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33580 'err' in the ifdef scope in which it is actually used.
33581
09a3453f
DM
33582 * nss/nss_db/db-init.c: Include string.h
33583
b4b2eb5e
DM
335842012-03-12 David S. Miller <davem@davemloft.net>
33585
98bb2f1c
DM
33586 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33587 masking out of the most significant byte of random value used.
33588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33589 Fix coding style in previous change.
33590
b4b2eb5e
DM
33591 * sysdeps/unix/sysv/linux/kernel-features.h
33592 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33593 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33594 expression.
33595 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33596 later.
33597
6e226b09
DM
335982012-03-11 David S. Miller <davem@davemloft.net>
33599
a1bcbd40
DM
33600 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33601 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33603 for 'resultvar' otherwise things get truncated on 64-bit.
33604
cb9d6174
DM
33605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33606 Fix masking out of the most significant byte of random value used.
33607
6e226b09
DM
33608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33609
058c132d
AS
336102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33611
33612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33613
2d2cd515
DM
336142012-03-09 David S. Miller <davem@davemloft.net>
33615
33616 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33617 variables with appropriate CPP guards.
57f41c40
AS
33618 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33619 from the frame pointer, not the stack pointer. Correct layout
33620 comments. Fix test on resulting framesize and the management of
33621 the outregs buffer for pltexit. Preserve floating point return
33622 values across _dl_call_pltexit call.
2d2cd515
DM
33623 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33624 framesize and the management of the outregs buffer for pltexit.
33625 Preserve floating point return values across _dl_call_pltexit
33626 call.
57f41c40
AS
33627 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33628 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33629 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33630 (print_exit): Fix format string for return register value.
33631
9a07f9d0
JM
336322012-03-10 Joseph Myers <joseph@codesourcery.com>
33633
33634 * sunrpc/Makefile (others): Add rpcgen.
33635 ($(objpfx)rpcgen): Remove special build rule and dependency on
33636 libc.
33637 * sunrpc/rpcgen.c: New file.
33638
547b5e30
PE
336392012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33640
c524201a
PE
33641 [BZ #13673]
33642 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33643 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33644 * sysdeps/i386/crti.S: Likewise.
33645 * sysdeps/i386/crtn.S: Likewise.
33646 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33647 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33648 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33649 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33650 * sysdeps/sh/crti.S: Likewise.
33651 * sysdeps/sh/crtn.S: Likewise.
33652 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33653
7b6235f2
PE
33654 [BZ #13673]
33655 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33656 with URL.
33657 * locale/programs/locfile-kw.gperf: Likewise.
33658 * locale/programs/charmap-kw.h: Regenerated.
33659 * locale/programs/locfile-kw.h: Likewise.
33660
547b5e30
PE
33661 [BZ #13673]
33662 * intl/plural.y: Replace FSF snail mail address with URL.
33663 * intl/plural.c: Regenerated.
33664
5f0a5dae
RH
336652012-03-09 Richard Henderson <rth@twiddle.net>
33666
33667 * include/math_private.h: Remove file.
33668 * math/math_private.h: Move file ...
33669 * sysdeps/generic/math_private.h: ... here.
33670
b8c03620
RH
33671 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33672 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33673 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33674
4e234f5d 33675 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33676 and <math_private.h>.
33677 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33678 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33679 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33680 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33681 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33760 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33761 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33765 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33766 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33767 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33768 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33769 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33770 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33771 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33772 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33773 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33774 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33777 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33778 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33779 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33780 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33781 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33782 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33783 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33784 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33785 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33786 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33787 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33788 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33789 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33790 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33791 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33792 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33793 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33794 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33795 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33796 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33797 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33798 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33799 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33800 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33801 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33802 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33803 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33804 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33805 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33806 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33807 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33808 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33809 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33810 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33811 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33812 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33813 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33814 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33816 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33817 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33818 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33820 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33821 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33822 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33823 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33824 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33825 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33826 * sysdeps/ieee754/k_standard.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33942 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33947 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33949 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33951 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33954 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33959 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33975 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33976 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33977 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33987 * sysdeps/ieee754/s_lib_version.c: Likewise.
33988 * sysdeps/ieee754/s_matherr.c: Likewise.
33989 * sysdeps/ieee754/s_signgam.c: Likewise.
33990 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33991 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33992 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33993 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33994 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33995 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33996 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33997 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33998 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33999 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34000 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34001 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34002 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34003 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34004 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34005 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34006 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34007 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34008 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34009 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34011
1991fa03
JM
340122012-03-09 Joseph Myers <joseph@codesourcery.com>
34013
34014 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34015 * sunrpc/rpc_main.c: Likewise.
34016 * sunrpc/rpc_svcout.c: Likewise.
34017
60d6f5a6
DM
340182012-03-09 David S. Miller <davem@davemloft.net>
34019
34020 * include/math_private.h: New file.
34021
4962050e
JM
340222012-03-09 Joseph Myers <joseph@codesourcery.com>
34023
02a6f887
JM
34024 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34025 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34026 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34027 from <bits/socket_type.h>.
34028 (enum __socket_type): Don't define here.
34029 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34031 bits/socket_type.h.
34032
c6e013c1
JM
34033 [BZ #13566]
34034 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34035 checking __USE_GNU.
34036
4962050e
JM
34037 * Makerules ($(inst_includedir)/%.h): New rule.
34038 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34039 (install-others): Remove variable setting.
34040 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34041
38842f45
RH
340422012-03-08 Richard Henderson <rth@twiddle.net>
34043
67bb6da6
RH
34044 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34045 from macro to inline function; merge with the
34046 !__LIBC_INTERNAL_MATH_INLINES version.
34047 (__ieee754_sqrtf): Likewise.
34048
15194b4b
RH
34049 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34050 to inline function.
34051 (__rintf, __floor, __floorf): Likewise.
34052
64e21ede
RH
34053 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34054 macro to inline function.
34055 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34056
38842f45
RH
34057 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34058 not <math/math_private.h>.
34059
c64bf5fe
DM
340602012-03-08 David S. Miller <davem@davemloft.net>
34061
34062 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34063 copyright year.
34064 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34065
82d86f28
TS
340662012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34067
34068 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34069 normalization.
34070 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34071 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34072
aea5d727
UD
340732012-03-08 Ulrich Drepper <drepper@gmail.com>
34074
34075 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34076 be defined individually, they must be defined as a block. Define
34077 S for printing a string instead of hidint the different by using a
34078 macro for adding the 'l'.
34079 * stdio-common/tst-fphex-wide.c: Adjust.
34080
70bca0a3
MP
340812012-03-07 Marek Polacek <polacek@redhat.com>
34082
34083 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34084
65b81130
MP
340852012-03-08 Marek Polacek <polacek@redhat.com>
34086
34087 [BZ #13806]
34088 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34089 * stdio-common/tst-fphex.c: Define a few macros to make the
34090 test reusable. Use them.
34091 * stdio-common/tst-fphex-wide.c: New file.
34092
07037eeb
JM
340932012-03-08 Joseph Myers <joseph@codesourcery.com>
34094
a7a93d50
JM
34095 [BZ #6911]
34096 * manual/macros.texi (gnusystems): New macro.
34097 (nongnusystems): Likewise.
34098 (gnulinuxhurdsystems): Likewise.
34099 (gnuhurdsystems): Likewise..
34100 (gnulinuxsystems): Likewise.
34101 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34102 variants of the GNU system, not "GNU system".
34103 * manual/conf.texi: Likewise.
34104 * manual/errno.texi: Likewise. Update example of errno macro
34105 expansion.
34106 * manual/filesys.texi: Likewise.
34107 (getumask): Document as specific to GNU/Hurd.
34108 * manual/install.texi: Likewise. Reword some references to
34109 GNU/Linux.
34110 * manual/intro.texi: Likewise.
34111 * manual/io.texi: Likewise.
34112 (File Name Portability): Detail which constraints are inapplicable
34113 to all GNU systems and which are only inapplicable to GNU/Hurd.
34114 * manual/job.texi: Likewise.
34115 * manual/llio.texi: Likewise.
34116 (O_NOCTTY): Document as present on GNU/Linux.
34117 * manual/maint.texi: Likewise.
34118 * manual/memory.texi: Likewise.
34119 * manual/pattern.texi: Likewise.
34120 * manual/pipe.texi: Likewise.
34121 * manual/process.texi: Likewise.
34122 * manual/resource.texi: Likewise.
34123 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34124 child on GNU/Hurd.
34125 * manual/setjmp.texi: Likewise.
34126 * manual/signal.texi: Likewise.
34127 * manual/startup.texi: Likewise.
34128 * manual/stdio.texi: Likewise.
34129 * manual/terminal.texi: Likewise.
34130 (ONLCR): Document as POSIX.
34131 (OXTABS): Document availability on GNU/Linux as XTABS.
34132 (ONOEOT): Document availability separately from other bits.
34133 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34134 * manual/time.texi: Likewise.
34135 * manual/users.texi: Likewise.
34136 * INSTALL: Regenerated.
34137 * sysdeps/gnu/errlist.c: Regenerated.
34138
07037eeb
JM
34139 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34140 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34141 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34142 puts.
34143 * configure: Regenerated.
34144
d1d3431a
JM
341452012-03-07 Joseph Myers <joseph@codesourcery.com>
34146
af6a1e37
JM
34147 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34148 default includes instead of AC_HEADER_CHECK.
34149 * sysdeps/i386/configure: Regenerated.
34150
d1d3431a
JM
34151 [BZ #10716]
34152 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34153 * math/s_cacoshf.c (__cacoshf): Likewise.
34154 * math/s_cacoshl.c (__cacoshl): Likewise.
34155 * math/s_casinh.c (__casinh): Set signs of result from argument.
34156 * math/s_casinhf.c (__casinhf): Likewise.
34157 * math/s_casinhl.c (__casinhl): Likewise.
34158 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34159 (casinh_test): Add more tests.
34160 * sysdeps/i386/fpu/libm-test-ulps: Update.
34161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34162
482ff4da
UD
341632012-03-07 Ulrich Drepper <drepper@gmail.com>
34164
872fda05
UD
34165 * po/zh_TW.po: Update from translation team.
34166
a4300c7a
UD
34167 * login/Makefile (distribute): Remove variable.
34168 * catgets/Makefile: Likewise.
34169 * mach/Makefile: Likewise.
34170 * malloc/Makefile: Likewise.
34171 * misc/Makefile: Likewise.
34172 * iconv/Makefile: Likewise.
34173 * nscd/Makefile: Likewise.
34174 * hurd/Makefile: Likewise.
34175 * manual/Makefile: Likewise.
34176 * locale/Makefile: Likewise.
34177 * intl/Makefile: Likewise.
34178 * conform/Makefile: Likewise.
34179 * nss/Makefile: Likewise.
34180 * time/Makefile: Likewise.
34181 * soft-fp/Makefile: Likewise.
34182 * dirent/Makefile: Likewise.
34183 * gmon/Makefile: Likewise.
34184 * po/Makefile: Likewise.
34185 * rt/Makefile: Likewise.
34186 * socket/Makefile: Likewise.
34187 * math/Makefile: Likewise.
34188 * signal/Makefile: Likewise.
34189 * debug/Makefile: Likewise.
34190 * elf/Makefile: Likewise.
34191 * timezone/Makefile: Likewise.
34192 * stdlib/Makefile: Likewise.
34193 * iconvdata/Makefile: Likewise.
34194 * sunrpc/Makefile: Likewise.
34195 * io/Makefile: Likewise.
34196 * argp/Makefile: Likewise.
34197 * inet/Makefile: Likewise.
34198 * hesiod/Makefile: Likewise.
34199 * grp/Makefile: Likewise.
34200 * csu/Makefile: Likewise.
34201 * wctype/Makefile: Likewise.
34202 * crypt/Makefile: Likewise.
34203 * libio/Makefile: Likewise.
34204 * string/Makefile: Likewise.
34205 * nis/Makefile: Likewise.
34206 * resolv/Makefile: Likewise.
34207 * stdio-common/Makefile: Likewise.
34208 * wcsmbs/Makefile: Likewise.
34209 * dlfcn/Makefile: Likewise.
34210 * posix/Makefile: Likewise.
34211
3b7c4e74 34212 [BZ #6959]
482ff4da
UD
34213 * timezone/Makefile: Don't install timezone files, just the programs
34214 and scripts.
34215
f72ed77d
UD
342162012-03-06 Ulrich Drepper <drepper@gmail.com>
34217
a000466f
UD
34218 * nss/databases.def: Add missing gshadow entry.
34219
f72ed77d
UD
34220 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34221
a53b7a4e
MP
342222012-03-06 Marek Polacek <polacek@redhat.com>
34223
34224 [BZ #13726]
34225 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34226 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34227 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34228 * stdio-common/tst-long-dbl-fphex.c: New file.
34229
e9258400
DM
342302012-03-06 David S. Miller <davem@davemloft.net>
34231
34232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34233 (set_obp_int): New function.
34234 (get_obp_int): New function.
34235 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34236 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34237 Avoid unused variable warnings on 'val' and use builtin_expect.
34238 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34239 __builtin_expect.
e9258400
DM
34240 (INLINE_CLONE_SYSCALL): Likewise.
34241
3bd2c723
DM
342422012-03-05 David S. Miller <davem@davemloft.net>
34243
34244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34245
bbb78d03
AS
342462012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34247
884c5db4
AS
34248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34249
bbb78d03
AS
34250 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34251 only for |x| >= 40.
34252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34253
1c9f702a 342542012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34255
34256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34257 Replace gettimeofday with __vdso_gettimeofday.
34258
7be16f82
RM
34259 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34260 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34261 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34262
34263 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34264 time with __vdso_time.
34265
ed58a00f
JM
342662012-03-05 Joseph Myers <joseph@codesourcery.com>
34267
34268 * manual/lang.texi (size_t): Note types to which size_t may be
34269 equivalent with the GNU C Library, but do not describe when
34270 differences between them are significant.
34271
30ee4ced
AJ
342722012-03-05 Andreas Jaeger <aj@suse.de>
34273
34274 * sysdeps/i386/fpu/libm-test-ulps: Update.
34275
b7cd39e8
JM
342762012-03-05 Joseph Myers <joseph@codesourcery.com>
34277
34278 [BZ #3976]
34279 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34280 (__ieee754_pow): Save and restore rounding mode and use
34281 round-to-nearest for main computations.
34282 * math/libm-test.inc (pow_test_tonearest): New function.
34283 (pow_test_towardzero): Likewise.
34284 (pow_test_downward): Likewise.
34285 (pow_test_upward): Likewise.
34286 (main): Call the new functions.
34287 * sysdeps/i386/fpu/libm-test-ulps: Update.
34288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34289
34290 [BZ #3976]
34291 * math/libm-test.inc (cosh_test_tonearest): New function.
34292 (cosh_test_towardzero): Likewise.
34293 (cosh_test_downward): Likewise.
34294 (cosh_test_upward): Likewise.
34295 (sinh_test_tonearest): Likewise.
34296 (sinh_test_towardzero): Likewise.
34297 (sinh_test_downward): Likewise.
34298 (sinh_test_upward): Likewise.
34299 (main): Call the new functions.
34300 * sysdeps/i386/fpu/libm-test-ulps: Update.
34301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34302
6c6a98c9
TV
343032012-03-05 Tom de Vries <tom@codesourcery.com>
34304
34305 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34306 default stack guard is set in last bytes.
34307 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34308
21bb2d2e 343092012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34310
21bb2d2e 34311 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34312
21bb2d2e
AJ
34313 [BZ #13656]
34314 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34315 possibly allocate from heap instead of stack.
34316 * stdio-common/bug-vfprintf-nargs.c: New file.
34317 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34318
c6922934
AS
343192012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34320
34321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34322
bc957d53
MP
343232012-03-03 Marek Polacek <polacek@redhat.com>
34324
34325 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34326 * math/math_private.h: Likewise.
34327 * stdlib/tst-strtod.c: Likewise.
34328 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34329 * sysdeps/x86_64/bits/atomic.h: Likewise.
34330
6358490d
DM
343312012-03-02 David S. Miller <davem@davemloft.net>
34332
34333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34337 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34338 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34339 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34340 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34341
01ae168d
RM
343422012-03-02 Roland McGrath <roland@hack.frob.com>
34343
d9a17c07
RM
34344 [BZ #13792]
34345 * manual/examples/README: New file, says the example source files
34346 can be used under GPL>=2.
34347 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34348 line containing just "*/".
34349 * manual/examples/add.c: Add copyright header (GPL>=2).
34350 * manual/examples/argp-ex1.c: Likewise.
34351 * manual/examples/argp-ex2.c: Likewise.
34352 * manual/examples/argp-ex3.c: Likewise.
34353 * manual/examples/argp-ex4.c: Likewise.
34354 * manual/examples/atexit.c: Likewise.
34355 * manual/examples/db.c: Likewise.
34356 * manual/examples/dir.c: Likewise.
34357 * manual/examples/dir2.c: Likewise.
34358 * manual/examples/execinfo.c: Likewise.
34359 * manual/examples/filecli.c: Likewise.
34360 * manual/examples/filesrv.c: Likewise.
34361 * manual/examples/fmtmsgexpl.c: Likewise.
34362 * manual/examples/genpass.c: Likewise.
34363 * manual/examples/inetcli.c: Likewise.
34364 * manual/examples/inetsrv.c: Likewise.
34365 * manual/examples/isockad.c: Likewise.
34366 * manual/examples/longopt.c: Likewise.
34367 * manual/examples/memopen.c: Likewise.
34368 * manual/examples/memstrm.c: Likewise.
34369 * manual/examples/mkfsock.c: Likewise.
34370 * manual/examples/mkisock.c: Likewise.
34371 * manual/examples/mygetpass.c: Likewise.
34372 * manual/examples/pipe.c: Likewise.
34373 * manual/examples/popen.c: Likewise.
34374 * manual/examples/rprintf.c: Likewise.
34375 * manual/examples/search.c: Likewise.
34376 * manual/examples/select.c: Likewise.
34377 * manual/examples/setjmp.c: Likewise.
34378 * manual/examples/sigh1.c: Likewise.
34379 * manual/examples/sigusr.c: Likewise.
34380 * manual/examples/stpcpy.c: Likewise.
34381 * manual/examples/strdupa.c: Likewise.
34382 * manual/examples/strftim.c: Likewise.
34383 * manual/examples/strncat.c: Likewise.
34384 * manual/examples/subopt.c: Likewise.
34385 * manual/examples/swapcontext.c: Likewise.
34386 * manual/examples/termios.c: Likewise.
34387 * manual/examples/testopt.c: Likewise.
34388 * manual/examples/testpass.c: Likewise.
34389 * manual/examples/timeval_subtract.c: Likewise.
34390
01ae168d
RM
34391 [BZ #13792]
34392 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34393 function to ...
34394 * manual/timeval_subtract.c.texi: ... here, new file.
34395
49efa33d
DM
343962012-03-02 David S. Miller <davem@davemloft.net>
34397
34398 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34399
28afd92d
JM
344002012-03-02 Joseph Myers <joseph@codesourcery.com>
34401
804360ed
JM
34402 [BZ #3976]
34403 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34404 (__sin): Save and restore rounding mode and use round-to-nearest
34405 for all computations.
34406 (__cos): Save and restore rounding mode and use round-to-nearest
34407 for all computations.
34408 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34409 <fenv.h>.
34410 (tan): Save and restore rounding mode and use round-to-nearest for
34411 all computations.
34412 * math/libm-test.inc (cos_test_tonearest): New function.
34413 (cos_test_towardzero): Likewise.
34414 (cos_test_downward): Likewise.
34415 (cos_test_upward): Likewise.
34416 (sin_test_tonearest): Likewise.
34417 (sin_test_towardzero): Likewise.
34418 (sin_test_downward): Likewise.
34419 (sin_test_upward): Likewise.
34420 (tan_test_tonearest): Likewise.
34421 (tan_test_towardzero): Likewise.
34422 (tan_test_downward): Likewise.
34423 (tan_test_upward): Likewise.
34424 (main): Call the new functions.
34425 * sysdeps/i386/fpu/libm-test-ulps: Update.
34426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34427
a6d06d7b
JM
34428 [BZ #10135]
34429 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34430 small n, then large n, before computing and testing k+n.
34431 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34432 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34433 Likewise.
34434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34435 Likewise.
34436 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34437 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34438 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34439 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34440 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34441 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34442 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34443 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34444 * math/libm-test.inc (scalbn_test): Add more tests.
34445 (scalbln_test): Likewise.
34446
07e12bb3
JM
34447 * manual/filesys.texi (mode_t): Describe constraints on size and
34448 signedness, not exact equivalence to a particular type.
34449 (ino_t): Likewise.
34450 (ino64_t): Likewise.
34451 (dev_t): Likewise.
34452 (nlink_t): Likewise.
34453 (blkcnt_t): Likewise.
34454 (blkcnt64_t): Likewise.
34455 * manual/llio.texi (off_t): Likewise.
34456
28afd92d
JM
34457 [BZ #3976]
34458 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34459 (__ieee754_exp): Save and restore rounding mode and use
34460 round-to-nearest for all computations.
34461 * math/libm-test.inc (exp_test_tonearest): New function.
34462 (exp_test_towardzero): Likewise.
34463 (exp_test_downward): Likewise.
34464 (exp_test_upward): Likewise.
34465 (main): Call the new functions.
34466 * sysdeps/i386/fpu/libm-test-ulps: Update.
34467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34468
b1eeb65d
CD
344692012-03-01 Chris Demetriou <cgd@google.com>
34470
34471 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34472 have predictable order.
34473
53362a4b
DM
344742012-03-01 David S. Miller <davem@davemloft.net>
34475
3c969083
DM
34476 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34477
759707de
DM
34478 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34479 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34480 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34481 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34482
dfdb8ff2
DM
34483 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34484 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34485 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34487 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34488 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34489 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34490 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34491 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34492
ead89f96
DM
34493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34494
7f66bd07
DM
34495 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34496 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34497 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34498
53362a4b
DM
34499 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34500 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34501 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34502 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34503 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34504 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34506 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34507 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34508 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34509 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34510 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34511 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34512 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34513 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34514 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34515 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34516 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34517 * sysdeps/sparc/elf/configure: Regenerated.
34518
7b1902cb
JM
345192012-03-01 Joseph Myers <joseph@codesourcery.com>
34520
bec039bc
JM
34521 * configure.in (AS, LD): Require binutils 2.20 or later.
34522 * configure: Regenerated.
34523 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34524 as required minimum version.
34525 * INSTALL: Regenerated.
34526
7b1902cb
JM
34527 [BZ #2541]
34528 [BZ #4108]
34529 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34530 before squaring exponent.
34531 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34532 bottom long double and 27 bits of top long double before squaring
34533 exponent.
34534 * math/libm-test.inc (erfc_test): Add more tests.
34535 * sysdeps/i386/fpu/libm-test-ulps: Update.
34536 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34538
f775c276
KT
345392012-03-01 Kai Tietz <ktietz@redhat.com>
34540
34541 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34542 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34543 containing bit-fields.
34544 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34545 * soft-fp/single.h (_FP_UNION_S): Likewise.
34546 * soft-fp/double.h (_FP_UNION_D): Likewise.
34547
5b8a4d4a
JM
345482012-02-29 Joseph Myers <joseph@codesourcery.com>
34549
0bab47b6
JM
34550 [BZ #13786]
34551 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34552 not include ../strcmp.S.
34553 [USE_AS_STRNCASECMP_L]: Likewise.
34554 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34555 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34556 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34557 (__strncasecmp_l_ia32): Define as alias to
34558 __strncasecmp_l_nonascii.
34559
0fcad3e2
JM
34560 [BZ #5794]
34561 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34562 * sysdeps/i386/fpu/libm-test-ulps: Update.
34563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34564
5b8a4d4a
JM
34565 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34567
8fdceb2e
JL
345682012-02-29 Jeff Law <law@redhat.com>
34569
34570 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34571 out of bounds read.
34572
1f393a11
MP
345732012-02-29 Marek Polacek <polacek@redhat.com>
34574
34575 [BZ #13706]
34576 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34577 * elf/Makefile: Add rules to run tst-unused-dep.out.
34578
8847f037
DM
345792012-02-28 David S. Miller <davem@davemloft.net>
34580
34581 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34582 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34585 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34586 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34587
169d7f11
JM
345882012-02-29 Joseph Myers <joseph@codesourcery.com>
34589
34590 * math/libm-test.inc (llround_test): Move one test from
34591 lround_test. Use TEST_f_L in moved test.
34592 (lround_test): Move misplaced test to llround_test. Add testcase
34593 from bug 2561.
34594
39adf059
UD
345952012-02-28 Ulrich Drepper <drepper@gmail.com>
34596
34597 * sysdeps/x86_64/fpu/e_expf.S: New file.
34598 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34599
71b5d1c5
SB
346002012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34601
34602 [BZ #13637]
34603 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34604 of remain_len that may cause incomplete multi-byte character and
34605 false match.
34606 * posix/bug-regex33.c: New file.
34607 * posix/Makefile (tests): Add bug-regex33.
34608
1f77f049
JM
346092012-02-28 Joseph Myers <joseph@codesourcery.com>
34610
34611 * manual/macros.texi: New file.
34612 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34613 * manual/libc.texinfo: Include macros.texi.
34614 * manual/creatute.texi: Likewise.
34615 * manual/install.texi: Likewise.
34616 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34617 @glibcadj{} in references to the GNU C Library.
34618 * manual/charset.texi: Likewise.
34619 * manual/conf.texi: Likewise.
34620 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34621 when not using those macros.
34622 * manual/creature.texi: Likewise.
34623 * manual/crypt.texi: Likewise.
34624 * manual/errno.texi: Likewise.
34625 * manual/filesys.texi: Likewise.
34626 * manual/header.texi: Likewise.
34627 * manual/install.texi: Likewise.
34628 * manual/intro.texi: Likewise.
34629 * manual/io.texi: Likewise.
34630 * manual/job.texi: Likewise.
34631 * manual/lang.texi: Likewise.
34632 * manual/libc.texiinfo: Likewise.
34633 * manual/llio.texi: Likewise.
34634 * manual/locale.texi: Likewise.
34635 * manual/maint.texi: Likewise.
34636 * manual/math.texi: Likewise.
34637 * manual/memory.texi: Likewise.
34638 * manual/message.texi: Likewise.
34639 * manual/nss.texi: Likewise.
34640 * manual/pattern.texi: Likewise.
34641 * manual/process.texi: Likewise.
34642 * manual/resource.texi: Likewise.
34643 * manual/search.texi: Likewise.
34644 * manual/setjmp.texi: Likewise.
34645 * manual/signal.texi: Likewise.
34646 * manual/socket.texi: Likewise.
34647 * manual/startup.texi: Likewise.
34648 * manual/stdio.texi: Likewise.
34649 * manual/string.texi: Likewise.
34650 * manual/sysinfo.texi: Likewise.
34651 * manual/syslog.texi: Likewise.
34652 * manual/terminal.texi: Likewise.
34653 * manual/time.texi: Likewise.
34654 * manual/users.texi: Likewise.
34655 * INSTALL: Regenerated.
34656 * NOTES: Regenerated.
d40c5d54 34657 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34658
450bf206
AS
346592012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34660
34661 * include/dirent.h: Include <dirstream.h> before
34662 <dirent/dirent.h>.
34663
741a235b
DM
346642012-02-28 David S. Miller <davem@davemloft.net>
34665
34666 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34667 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34668 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34669 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34670
d6b5aa58
DM
346712012-02-27 David S. Miller <davem@davemloft.net>
34672
1aff59a3
DM
34673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34675 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34676 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34677
d6b5aa58
DM
34678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34679 frame pointer instead of stack pointer relative arg slot.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34681 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34682 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34683
433f48bf
CD
346842012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34685
34686 [BZ #3992]
34687 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34688
d674b76d
DM
346892012-02-27 David S. Miller <davem@davemloft.net>
34690
34691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34695 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34696 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34697 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34698 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34699
0e7727f7
JM
347002012-02-27 Joseph Myers <joseph@codesourcery.com>
34701
34702 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34703 later. Allow versions 5-9.
43be4ca2 34704 * configure: Regenerated.
0e7727f7
JM
34705 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34706 required minimum version and 4.6 as recommended version. Do not
34707 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34708 * INSTALL: Regenerated.
0e7727f7 34709
a78bc654
DM
347102012-02-27 David S. Miller <davem@davemloft.net>
34711
428d5830
DM
34712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34716 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34717 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34718 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34719 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34720
a78bc654
DM
34721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34722 manipulate bits before adding and subtracting TWO112[sx].
34723 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34724
4579f81c
RM
347252012-02-27 Roland McGrath <roland@hack.frob.com>
34726
36c8acb4
RM
34727 [BZ #13775]
34728 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34729 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34730 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34731 being in POSIX, because they are in 1003.1-2008.
34732
84ad622b
RM
34733 * rt/tst-aio.c: Include <fcntl.h>.
34734 * rt/tst-aio7.c: Likewise.
34735 * rt/tst-aio64.c: Likewise.
34736
4579f81c
RM
34737 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34738
abd923db
JM
347392012-02-27 Joseph Myers <joseph@codesourcery.com>
34740
34741 * manual/install.texi (--with-headers): Describe headers as
34742 interface headers, not private headers.
34743 (Specific advice for GNU/Linux systems): Describe use of headers
34744 from "make headers_install", not private headers from older
34745 kernels.
43be4ca2 34746 * INSTALL: Regenerated.
abd923db
JM
34747 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34748 Change to 2.6.19.
34749 * sysdeps/unix/sysv/linux/configure: Regenerated.
34750
6664049b
JM
34751 * manual/llio.texi (fclean): Remove documentation.
34752
bb8b6697
JM
34753 * manual/Makefile (libc-texi-generated): New variable. Include
34754 version.texi.
34755 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34756 $(libc-texi-generated), not duplicated list of files.
34757 (version.texi, stamp-version): New rules.
34758 (realclean): Remove $(libc-texi-generated), not individual files
34759 from that list. Do not remove dir-add.texinfo.
34760 * manual/libc.texinfo: Comment out uses of edition numbers and
34761 references to printed manual. Remove last-updated dates.
34762 (EDITION): Comment out.
34763 (ISBN): Likewise.
34764 (VERSION, UPDATED): Remove.
34765 (version.texi): Include.
34766
12e5c3b9
AS
347672012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34768
34769 * sysdeps/posix/spawni.c: Include <signal.h>.
34770 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34771 * sysdeps/pthread/aio_fsync.c: Likewise.
34772
4efeffc1 347732012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34774
ba63ba08
UD
34775 * conform/Makefile (tests): Run only when not cross-compiling and
34776 when fast-check is not defined.
34777
d94a4670
UD
34778 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34779 * conform/data/limits.h-data: Fixes for POSIX2008.
34780 * conform/run-conformtest.sh: Run all tests.
34781 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34782 headers.
34783 * include/bits/dlfcn.h: Likewise.
34784 * include/langinfo.h: Likewise.
34785 * include/monetary.h: Likewise.
34786 * include/sys/poll.h: Likewise.
34787
34788 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34789 for __USE_GNU.
34790 * posix/spawn.h: Define __need_sigset_t.
34791 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34792 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34793 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34794 to get sigevent_t only.
34795 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34796 only for __USE_GNU.
34797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34798 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34799 process_vm_writev only for __USE_GNU.
34800 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34801
34802 * conform/Makefile: For now ignore errors from run-conformtest.
34803 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34804 POSIX to avoid namespace pollution. Don't prepend headers.
34805 * conform/data/aio.h-data: Fixes for POSIX testing.
34806 * conform/data/fcntl.h-data: Likewise.
34807 * conform/data/glob.h-data: Likewise.
34808 * conform/data/grp.h-data: Likewise.
34809 * conform/data/pthread.h-data: Likewise.
34810 * conform/data/pwd.h-data: Likewise.
34811 * conform/data/signal.h-data: Likewise.
34812 * conform/data/spawn.h-data: Likewise.
34813 * conform/data/stdio.h-data: Likewise.
34814 * conform/data/stdlib.h-data: Likewise.
34815 * conform/data/stropts.h-data: Likewise.
34816 * conform/data/sys/mman.h-data: Likewise.
34817 * conform/data/sys/stat.h-data: Likewise.
34818 * conform/data/sys/types.h-data: Likewise.
34819 * conform/data/sys/wait.h-data: Likewise.
34820 * conform/data/time.h-data: Likewise.
34821 * conform/data/unistd.h-data: Likewise.
34822 * conform/data/utime.h-data: Likewise.
34823
34824 * io/sys/stat.h: fchmod was always in POSIX.
34825 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34826 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34827 * rt/aio.h: Define __need_timespec before including <time.h>.
34828 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34829 struct. Add forward declaration of pthread_attr_t and use it in
34830 sigevent.
34831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34832 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34833 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34834 always remove CLK_TCK definition.
34835
c20105c3
AS
348362012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34837
34838 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34839
7a270350
UD
348402012-02-25 Ulrich Drepper <drepper@gmail.com>
34841
31341567
UD
34842 * conform/run-conformtest.sh: New file.
34843 * conform/Makefile: Run run-conformtest for tests.
34844 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34845 support.
34846
34847 * conform/data/uchar.h-data: New file.
34848 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34849 * conform/data/arpa/inet.h-data: Likewise.
34850 * conform/data/assert.h-data: Likewise.
34851 * conform/data/complex.h-data: Likewise.
34852 * conform/data/cpio.h-data: Likewise.
34853 * conform/data/ctype.h-data: Likewise.
34854 * conform/data/dirent.h-data: Likewise.
34855 * conform/data/dlfcn.h-data: Likewise.
34856 * conform/data/errno.h-data: Likewise.
34857 * conform/data/fcntl.h-data: Likewise.
34858 * conform/data/float.h-data: Likewise.
34859 * conform/data/fmtmsg.h-data: Likewise.
34860 * conform/data/fnmatch.h-data: Likewise.
34861 * conform/data/ftw.h-data: Likewise.
34862 * conform/data/glob.h-data: Likewise.
34863 * conform/data/grp.h-data: Likewise.
34864 * conform/data/iconv.h-data: Likewise.
34865 * conform/data/inttypes.h-data: Likewise.
34866 * conform/data/langinfo.h-data: Likewise.
34867 * conform/data/libgen.h-data: Likewise.
34868 * conform/data/limits.h-data: Likewise.
34869 * conform/data/locale.h-data: Likewise.
34870 * conform/data/math.h-data: Likewise.
34871 * conform/data/monetary.h-data: Likewise.
34872 * conform/data/mqueue.h-data: Likewise.
34873 * conform/data/ndbm.h-data: Likewise.
34874 * conform/data/net/if.h-data: Likewise.
34875 * conform/data/netdb.h-data: Likewise.
34876 * conform/data/netinet/in.h-data: Likewise.
34877 * conform/data/nl_types.h-data: Likewise.
34878 * conform/data/poll.h-data: Likewise.
34879 * conform/data/pthread.h-data: Likewise.
34880 * conform/data/pwd.h-data: Likewise.
34881 * conform/data/regex.h-data: Likewise.
34882 * conform/data/sched.h-data: Likewise.
34883 * conform/data/search.h-data: Likewise.
34884 * conform/data/semaphore.h-data: Likewise.
34885 * conform/data/setjmp.h-data: Likewise.
34886 * conform/data/signal.h-data: Likewise.
34887 * conform/data/spawn.h-data: Likewise.
34888 * conform/data/stdarg.h-data: Likewise.
34889 * conform/data/stdio.h-data: Likewise.
34890 * conform/data/stdlib.h-data: Likewise.
34891 * conform/data/string.h-data: Likewise.
34892 * conform/data/strings.h-data: Likewise.
34893 * conform/data/stropts.h-data: Likewise.
34894 * conform/data/sys/ipc.h-data: Likewise.
34895 * conform/data/sys/mman.h-data: Likewise.
34896 * conform/data/sys/msg.h-data: Likewise.
34897 * conform/data/sys/resource.h-data: Likewise.
34898 * conform/data/sys/select.h-data: Likewise.
34899 * conform/data/sys/sem.h-data: Likewise.
34900 * conform/data/sys/shm.h-data: Likewise.
34901 * conform/data/sys/socket.h-data: Likewise.
34902 * conform/data/sys/stat.h-data: Likewise.
34903 * conform/data/sys/statvfs.h-data: Likewise.
34904 * conform/data/sys/time.h-data: Likewise.
34905 * conform/data/sys/timeb.h-data: Likewise.
34906 * conform/data/sys/times.h-data: Likewise.
34907 * conform/data/sys/types.h-data: Likewise.
34908 * conform/data/sys/uio.h-data: Likewise.
34909 * conform/data/sys/un.h-data: Likewise.
34910 * conform/data/sys/utsname.h-data: Likewise.
34911 * conform/data/sys/wait.h-data: Likewise.
34912 * conform/data/syslog.h-data: Likewise.
34913 * conform/data/tar.h-data: Likewise.
34914 * conform/data/termios.h-data: Likewise.
34915 * conform/data/utime.h-data: Likewise.
34916 * conform/data/utmpx.h-data: Likewise.
34917 * conform/data/varargs.h-data: Likewise.
34918 * conform/data/wchar.h-data: Likewise.
34919 * conform/data/wctype.h-data: Likewise.
34920 * conform/data/wordexp.h-data: Likewise.
34921
34922 * include/stropts.h: New file.
34923 * include/uchar.h: New file.
34924 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34925 * include/assert.h: Likewise.
34926 * include/ctype.h: Likewise.
34927 * include/dirent.h: Likewise.
34928 * include/dlfcn.h: Likewise.
34929 * include/fcntl.h: Likewise.
34930 * include/fnmatch.h: Likewise.
34931 * include/glob.h: Likewise.
34932 * include/grp.h: Likewise.
34933 * include/libio.h: Likewise.
34934 * include/locale.h: Likewise.
34935 * include/math.h: Likewise.
34936 * include/net/if.h: Likewise.
34937 * include/netdb.h: Likewise.
34938 * include/netinet/in.h: Likewise.
34939 * include/pthread.h: Likewise.
34940 * include/pwd.h: Likewise.
34941 * include/regex.h: Likewise.
34942 * include/sched.h: Likewise.
34943 * include/search.h: Likewise.
34944 * include/setjmp.h: Likewise.
34945 * include/signal.h: Likewise.
34946 * include/stdio.h: Likewise.
34947 * include/stdlib.h: Likewise.
34948 * include/string.h: Likewise.
34949 * include/sys/cdefs.h: Likewise.
34950 * include/sys/mman.h: Likewise.
34951 * include/sys/msg.h: Likewise.
34952 * include/sys/resource.h: Likewise.
34953 * include/sys/select.h: Likewise.
34954 * include/sys/socket.h: Likewise.
34955 * include/sys/stat.h: Likewise.
34956 * include/sys/statvfs.h: Likewise.
34957 * include/sys/time.h: Likewise.
34958 * include/sys/times.h: Likewise.
34959 * include/sys/uio.h: Likewise.
34960 * include/sys/utsname.h: Likewise.
34961 * include/sys/wait.h: Likewise.
34962 * include/termios.h: Likewise.
34963 * include/time.h: Likewise.
34964 * include/ulimit.h: Likewise.
34965 * include/unistd.h: Likewise.
34966 * include/utime.h: Likewise.
34967 * include/wchar.h: Likewise.
34968 * include/wctype.h: Likewise.
34969 * include/wordexp.h: Likewise.
34970
34971 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34972
7a270350
UD
34973 * time/time.h: TIME_UTC must be a macro.
34974 Make timespec_get available for ISO C11 only as well.
34975
7724defc
UD
349762012-02-24 Ulrich Drepper <drepper@gmail.com>
34977
34978 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34979 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34980
6b1d1d46
JM
349812012-02-24 Joseph Myers <joseph@codesourcery.com>
34982
34983 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34984
0f8bbd69
JM
349852012-02-24 Joseph Myers <joseph@codesourcery.com>
34986
34987 * manual/texinfo.tex: Update to version 2012-01-19.16.
34988
66ab80bc
JM
349892012-02-24 Joseph Myers <joseph@codesourcery.com>
34990
34991 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34992
74981cc5
RM
349932012-02-24 Roland McGrath <roland@hack.frob.com>
34994
ee968201
RM
34995 [BZ #13738]
34996 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34997 * manual/fdl-1.3.texi: New file.
34998 * manual/fdl-1.1.texi: File removed.
34999
74981cc5
RM
35000 [BZ #13738]
35001 * manual/libc.texinfo (FDL_VERSION): New @set.
35002 Use it for mention of FDL in cover text.
35003 (Documentation License): Use it in @include file name.
35004
7bb764bc
JM
350052012-02-22 Joseph Myers <joseph@codesourcery.com>
35006 Roland McGrath <roland@hack.frob.com>
35007
35008 [BZ #5461]
57f41c40
AS
35009 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35010 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35011 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35012 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35013 name.
35014 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35015
6cbeae47
JM
350162012-02-22 Joseph Myers <joseph@codesourcery.com>
35017
35018 [BZ #2547]
35019 [BZ #11365]
35020 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35021 manipulate bits before adding and subtracting TWO23[sx].
35022 * math/libm-test.inc (nearbyint_test): Add more tests.
35023
fe45ce09
JM
350242012-02-22 Joseph Myers <joseph@codesourcery.com>
35025
35026 [BZ #2548]
35027 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35028 bits before adding and subtracting TWO23[sx].
35029 * math/libm-test.inc (rint_test): Add more tests.
35030 (rint_test_tonearest): Likewise.
35031 (rint_test_towardzero): Likewise.
35032 (rint_test_downward): Likewise.
35033 (rint_test_upward: Likewise.
35034
ff3b3d82
JM
350352012-02-22 Joseph Myers <joseph@codesourcery.com>
35036
35037 [BZ #10110]
35038 * include/stdc-predef.h: New file. Extracted from features.h.
35039 * include/features.h: Include stdc-predef.h.
35040 * Makefile (headers): Add stdc-predef.h.
35041 * CONFORMANCE (Compiler limitations): Update.
35042
ef0aab35
JM
350432012-02-22 Joseph Myers <joseph@codesourcery.com>
35044
35045 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35046
58639409
DM
350472012-02-21 David S. Miller <davem@davemloft.net>
35048
35049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35050 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35051
c0e70b25
DM
350522012-02-20 David S. Miller <davem@davemloft.net>
35053
35054 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35055 using a normal save/restore sequence, rather than allocating a
35056 dummy stack frame just to store a frame pointer and restore.
35057 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35058
fb06851d
JM
350592012-02-21 Joseph Myers <joseph@codesourcery.com>
35060
35061 * manual/install.texi: Fix stray word in line-wrapped comment.
35062
7a8b71c3
DM
350632012-02-20 David S. Miller <davem@davemloft.net>
35064
d510c123
DM
35065 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35066 both binutils and gcc support GOTDATA.
35067
0722d7c2
DM
35068 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35069 "rd %pc" in the PIC register setup sequences.
35070
3d2b3019
DM
35071 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35072 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35073 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35074 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35075 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35077 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35078 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35080 (SYSCALL_ERROR_HANDLER): Likewise.
35081 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35082 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35084 (SYSCALL_ERROR_HANDLER): Likewise.
35085
c80098a9
DM
35086 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35087 (HAVE_GCC_GOTDATA): New.
35088 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35089 relocation support in both binutils and gcc.
35090 * sysdeps/sparc/elf/configure: Regenerate.
35091
3a2545a0
DM
35092 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35093 * sysdeps/sparc/sparc32/elf/configure: Delete.
35094 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35095 * sysdeps/sparc/sparc64/elf/configure: Delete.
35096 * sysdeps/sparc/elf/configure.in: New file.
35097 * sysdeps/sparc/elf/configure: Generate.
35098
7a8b71c3
DM
35099 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35100 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35101 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35102 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35103 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35104
f1e86fca
JM
351052012-02-21 Joseph Myers <joseph@codesourcery.com>
35106
35107 * manual/install.texi: Do not mention specific glibc version
35108 numbers.
35109 * manual/libc.texinfo (VERSION, UPDATED): Update.
35110 (@copying): Use @copyright{} and range of years.
35111
0e7dfaef
JM
351122012-02-21 Joseph Myers <joseph@codesourcery.com>
35113
35114 [BZ #13695]
35115 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35116 [crti.S not in sysdirs] (generated): Do not append.
35117 [crti.S not in sysdirs] (omit-deps): Likewise.
35118 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35119 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35120 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35121 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35122 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35123 Likewise.
35124 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35125 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35126 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35127 * csu/defs.awk: Remove file.
35128 * sysdeps/generic/initfini.c: Likewise.
35129 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35130 variable.
35131 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35132 Likewise.
35133
599af3ca
JM
351342012-02-20 Joseph Myers <joseph@codesourcery.com>
35135
35136 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35137 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35138 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35139 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35141 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35142 <bits/epoll.h>.
35143 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35144 (__EPOLL_PACKED): Define to empty if not defined by
35145 <bits/epoll.h>.
35146 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35148 bits/epoll.h.
35149
0e499750
JM
351502012-02-20 Joseph Myers <joseph@codesourcery.com>
35151
35152 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35153 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35154 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35155 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35156 <bits/timerfd.h>.
35157 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35159 bits/timerfd.h.
35160
5ad91f6e
JM
351612012-02-20 Joseph Myers <joseph@codesourcery.com>
35162
35163 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35164 in C locale.
35165 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35166 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35167 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35169
06b99b02
AJ
351702012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35171
35172 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35173 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35174
7638c0fd
AS
351752012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35176
35177 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35178 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35179 defined.
35180 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35181 Likewise.
35182 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35183 entry for 2.16.
35184
92221550
AJ
351852012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35186
35187 * math/w_acos.c: Use non-signaling floating-point comparisons.
35188 * math/w_acosf.c: Likewise.
35189 * math/w_acosh.c: Likewise.
35190 * math/w_acoshf.c: Likewise.
35191 * math/w_acoshl.c: Likewise.
35192 * math/w_acosl.c: Likewise.
35193 * math/w_asin.c: Likewise.
35194 * math/w_asinf.c: Likewise.
35195 * math/w_asinl.c: Likewise.
35196 * math/w_atanh.c: Likewise.
35197 * math/w_atanhf.c: Likewise.
35198 * math/w_atanhl.c: Likewise.
35199 * math/w_exp2.c: Likewise.
35200 * math/w_exp2f.c: Likewise.
35201 * math/w_exp2l.c: Likewise.
35202 * math/w_j0.c: Likewise.
35203 * math/w_j0f.c: Likewise.
35204 * math/w_j0l.c: Likewise.
35205 * math/w_j1.c: Likewise.
35206 * math/w_j1f.c: Likewise.
35207 * math/w_j1l.c: Likewise.
35208 * math/w_jn.c: Likewise.
35209 * math/w_jnf.c: Likewise.
35210 * math/w_log.c: Likewise.
35211 * math/w_log10.c: Likewise.
35212 * math/w_log10f.c: Likewise.
35213 * math/w_log10l.c: Likewise.
35214 * math/w_log2.c: Likewise.
35215 * math/w_log2f.c: Likewise.
35216 * math/w_log2l.c: Likewise.
35217 * math/w_logf.c: Likewise.
35218 * math/w_logl.c: Likewise.
35219 * math/w_sqrt.c: Likewise.
35220 * math/w_sqrtf.c: Likewise.
35221 * math/w_sqrtl.c: Likewise.
35222 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35223 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35225 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35226 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35227
ebaf36eb
JM
352282012-02-19 Joseph Myers <joseph@codesourcery.com>
35229
35230 [BZ #9739]
35231 * manual/string.texi (strnlen): Use correct parameter name in
35232 equivalent expression.
35233
71c254a6
JM
352342012-02-19 Joseph Myers <joseph@codesourcery.com>
35235
35236 [BZ #11174]
35237 * manual/users.texi (seteuid): Consistently use neweuid for
35238 argument name.
35239
16d2c631
JM
352402012-02-19 Joseph Myers <joseph@codesourcery.com>
35241
35242 [BZ #13704]
35243 * manual/nss.texi (Services in the NSS configuration): Correct
35244 list of services in example configuration file.
35245
cd837b09
NB
352462012-02-19 Nick Bowler <nbowler@draconx.ca>
35247
35248 [BZ #11322]
35249 * manual/arith.texi: Remove statements about negative zero
35250 behaving identically to zero.
35251
02c4bbad
JM
352522012-02-18 Joseph Myers <joseph@codesourcery.com>
35253
35254 [BZ #5993]
35255 * manual/install.texi: Do not document upgrading from libc5.
35256
366842e7
JM
352572012-02-18 Joseph Myers <joseph@codesourcery.com>
35258
35259 [BZ #4596]
35260 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35261
dd54084d
DM
352622012-02-18 David S. Miller <davem@davemloft.net>
35263
35264 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35265 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35266 %o7 across the call.
35267 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35268 instead.
35269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35270 SETUP_PIC_REG_LEAF.
35271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35272 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35273 * sysdeps/sparc/crtn.S: Likewise.
35274
2bcc53a3
UD
352752012-02-17 Ulrich Drepper <drepper@gmail.com>
35276
35277 * aout/Makefile: Remove.
35278
09c093b5
RK
352792012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35280
35281 [BZ #13058]
35282 * manual/examples/argp-ex1.c (main): Format definition in GNU
35283 style.
35284 * manual/examples/argp-ex2.c (main): Likewise.
35285 * manual/examples/argp-ex3.c (main): Likewise.
35286 * manual/examples/argp-ex4.c (main): Likewise.
35287 * manual/examples/longopt.c (main): Use new-style prototype
35288 definition.
35289 * manual/examples/strncat.c (main): Specify return type and use
35290 (void) for arguments.
35291 * manual/examples/subopt.c (main): Use char **argv argument.
35292
2ee633a2
JM
352932012-02-17 Joseph Myers <joseph@codesourcery.com>
35294
35295 [BZ #5077]
35296 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35297 rounding modes.
35298
0520adde
FB
352992012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35300
35301 [BZ #6907]
35302 * manual/string.texi (strchr): Change when strchrnul is
35303 recommended.
35304
3f4081cd
DGM
353052012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35306
35307 [BZ #174]
35308 * manual/locale.texi (setlocale): Document LOCPATH.
35309
d1b10e78
JM
353102012-02-17 Joseph Myers <joseph@codesourcery.com>
35311
35312 [BZ #10210]
35313 * manual/process.texi (execle): Move @dots{} before last argument.
35314
79c6869c
PB
353152012-02-17 Paul Bolle <pebolle@tiscali.nl>
35316
35317 [BZ #12047]
35318 * manual/charset.texi (Generic Charset Conversion): Fix typo
35319 (LC_TYPE -> LC_CTYPE).
35320
cc6e48bc
NB
353212012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35322
35323 [BZ #5805]
35324 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35325 (scalbnf): Likewise.
35326 (scalbnl): Likewise.
35327 (scalbln): Likewise.
35328 (scalblnf): Likewise.
35329 (scalblnl): Likewise.
35330 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35331 (vwarnx): Likewise.
35332 (verr): Likewise.
35333 (verrx): Likewise.
35334 * manual/filesys.texi (telldir): Use braces around return type.
35335 * manual/llio.texi (mmap): Add space after comma.
35336 (mmap64): Likewise.
35337 * manual/math.texi (jn): Use @var{} on parameter names.
35338 (jnf): Likewise.
35339 (jnl): Likewise.
35340 (yn): Likewise.
35341 (ynf): Likewise.
35342 (ynl): Likewise.
35343 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35344 line.
35345 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35346 "...".
35347 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35348 (sched_get_priority_max): Likewise.
35349 * manual/signal.texi (sigvec): Add space after comma.
35350 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35351 names.
35352 (if_indextoname): Likewise.
35353 (if_freenameindex): Likewise.
35354 (sendto): Use ',' instead of '.' in prototype.
35355 * manual/startup.texi (syscall): Use @dots{} instead of literal
35356 "...".
35357 * manual/stdio.texi (__fpending): Separate initial words of
35358 paragraph from @deftypefun line.
35359 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35360 "...".
35361 (vsyslog): Use @var{} on parameter names.
35362 * manual/terminal.texi (stty): Use @var{} on parameter names.
35363 * manual/users.texi (getutmp): Use @var{} on parameter names.
35364 (getutmpx): Likewise.
35365
5b23062f
JM
353662012-02-17 Joseph Myers <joseph@codesourcery.com>
35367
35368 [BZ #6884]
35369 * manual/stdio.texi (fopen): Fix typos in description of
35370 ",ccs=STRING".
35371
8dee4833
AJ
353722012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35373
35374 [BZ #4026]
35375 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35376 get clock_id definition.
35377
9078ce93
TS
353782012-02-17 Thomas Schwinge <thomas@schwinge.name>
35379
35380 [BZ #4822]
35381 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35382 (madvise): Cast every argument to void on its own.
35383
3835c55f
JM
353842012-02-17 Joseph Myers <joseph@codesourcery.com>
35385
35386 [BZ #9902]
35387 * manual/startup.texi (Exit Status): Fix typo.
35388
35c47e37
JM
353892012-02-17 Joseph Myers <joseph@codesourcery.com>
35390
35391 [BZ #10140]
35392 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35393 * manual/examples/argp-ex2.c: Likewise.
35394 * manual/examples/argp-ex3.c: Likewise.
35395
e3b69ca7
RH
353962012-02-16 Richard Henderson <rth@redhat.com>
35397
35398 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35399 * sysdeps/s390/s390-32/initfini.c: Remove.
35400 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35401 * sysdeps/s390/s390-64/initfini.c: Remove.
35402
df83af67
KK
354032012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35404
35405 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35406 compiler output for sysdeps/generic/initfini.c.
35407 * sysdeps/sh/elf/initfini.c: Remove file.
35408
f63f3380
DM
354092012-02-16 David S. Miller <davem@davemloft.net>
35410
fb59b3a4
DM
35411 [BZ #11494]
35412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35413
f63f3380
DM
35414 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35415 * sysdeps/sparc/crti.S: New file.
35416 * sysdeps/sparc/crtn.S: New file.
35417 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35418 * sysdeps/sparc/sparc64/Makefile: Likewise.
35419
df6a4a4a
MF
354202012-02-15 Mike Frysinger <vapier@gentoo.org>
35421
6dd8f3dc 35422 [BZ #3335]
df6a4a4a
MF
35423 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35424
1cac7236
RM
354252012-02-15 Roland McGrath <roland@hack.frob.com>
35426
d2c736f8
RM
35427 [BZ #4822]
35428 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35429
1cac7236
RM
35430 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35431 (write, read, close): Likewise.
35432 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35433
8e475601
JM
354342012-02-15 Joseph Myers <joseph@codesourcery.com>
35435
35436 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35437 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35438 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35439 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35440 <bits/signalfd.h>.
35441 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35443 bits/signalfd.h.
35444
ed656b40
MP
354452012-02-14 Marek Polacek <polacek@redhat.com>
35446
35447 * sysdeps/x86_64/crti.S: New file.
35448 * sysdeps/x86_64/crtn.S: New file.
35449 * sysdeps/x86_64/elf/initfini.c: Remove file.
35450
2a979d3a
JM
354512012-02-13 Joseph Myers <joseph@codesourcery.com>
35452
35453 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35454 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35455 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35456 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35457 <bits/inotify.h>.
35458 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35460 bits/inotify.h.
35461
2a418ac3
JM
354622012-02-13 Joseph Myers <joseph@codesourcery.com>
35463
35464 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35465 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35466 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35467 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35468 <bits/eventfd.h>.
35469 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35471 bits/eventfd.h.
35472
fb779be7
TS
354732012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35474
e19e83c5
RM
35475 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35476 __feraiseexcept instead of feraiseexcept.
7c35ffed 35477
fb779be7
TS
35478 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35479 nanosleep invocations.
35480 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35481 strings, and add error checking for a nanosleep invocations.
35482
59ba27a6
PE
354832012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35484
35485 Replace FSF snail mail address with URLs, as per GNU coding standards.
35486 Most of the snail mail addresses were wrong anyway, and omitting
35487 them makes the source code easier to maintain. Almost all of the
35488 changes are to license notices and to locale LC_IDENTIFICATION
35489 addresses, except for this one:
35490 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35491 not its snail mail address.
35492
57b957eb
RH
354932012-02-09 Richard Henderson <rth@twiddle.net>
35494
af850b1c
RH
35495 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35496 of kernel-features.h.
35497
57b957eb
RH
35498 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35499
6b73181a
MP
355002012-02-08 Marek Polacek <polacek@redhat.com>
35501
35502 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35503 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35504 * sysdeps/gnu/_G_config.h: Likewise.
35505 * sysdeps/generic/_G_config.h: Likewise.
35506
26ecc33a
AS
355072012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35508
6c6dbc63
AS
35509 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35510 tests.
35511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35512
e216c012
AS
35513 * sysdeps/powerpc/powerpc32/crti.S: New file.
35514 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35515 * sysdeps/powerpc/powerpc64/crti.S: New file.
35516 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35517
26ecc33a
AS
35518 * Makeconfig (have-initfini): Don't set.
35519 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35520 * configure.in (nopic_initfini): Don't substitute.
35521 * config.h.in (HAVE_INITFINI): Don't #undef.
35522 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35523 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35524
3add8e13
JM
355252012-02-08 Joseph Myers <joseph@codesourcery.com>
35526
35527 Support crti.S and crtn.S provided directly by architectures.
35528 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35529 [crti.S in sysdirs] (omit-deps): Likewise.
35530 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35531 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35532 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35533 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35534 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35535 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35536 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35537 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35538 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35539 compiler output for sysdeps/generic/initfini.c.
35540 * sysdeps/i386/elf/Makefile: Remove file.
35541 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35542
a22f12b4
MP
355432012-02-07 Marek Polacek <polacek@redhat.com>
35544
35545 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35546 * sysdeps/gnu/_G_config.h: Likewise.
35547 * sysdeps/mach/hurd/_G_config.h: Likewise.
35548
148cf100
MP
355492012-02-07 Marek Polacek <polacek@redhat.com>
35550
35551 * math/Makefile (tests): Add tst-CMPLX2.
35552 * math/tst-CMPLX2.c: New file.
35553
cfdc0dd7
AS
355542012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35555
84ba42c4
AS
35556 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35557
cfdc0dd7
AS
35558 * math/libm-test.inc (jn_test): Add missing L suffix.
35559
622c86f4
MP
355602012-02-06 Marek Polacek <polacek@redhat.com>
35561
35562 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35563 * sysdeps/i386/fpu/e_powf.S: Likewise.
35564 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35565 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35566 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35567 * sysdeps/i386/fpu/e_pow.S: Likewise.
35568 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35569 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35570 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35571 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35572 * sysdeps/i386/fpu/e_log2.S: Likewise.
35573 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35574 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35575 * sysdeps/i386/fpu/e_powl.S: Likewise.
35576 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35577 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35578 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35579 * sysdeps/i386/fpu/e_logl.S: Likewise.
35580 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35581 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35582 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35583 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35584 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35585 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35586 * sysdeps/i386/fpu/e_log.S: Likewise.
35587 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35588 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35589 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35590 * sysdeps/i386/fpu/e_logf.S: Likewise.
35591 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35592 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35593 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35594 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35595 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35596 * sysdeps/i386/fpu/e_log10.S: Likewise.
35597 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35598 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35599 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35600 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35601 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35602 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35603 * sysdeps/i386/asm-syntax.h: Likewise.
35604 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35605 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35606 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35607 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35608 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35609 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35610 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35611 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35612 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35613 * sysdeps/powerpc/sysdep.h: Likewise.
35614 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35615 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35616
d4a54ac6
JM
356172012-02-06 Joseph Myers <joseph@codesourcery.com>
35618
35619 [BZ #411]
35620 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35621
314054ea
JM
356222012-02-06 Joseph Myers <joseph@codesourcery.com>
35623
35624 * sysdeps/i386/sysdep.h: Include <features.h>.
35625 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35626 version.
35627
d8e0ca50
JM
356282012-02-05 Joseph Myers <joseph@codesourcery.com>
35629
35630 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35631 Define.
35632 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35633 LOAD_PIC_REG_STR.
35634
b1da7dd9
JM
356352012-02-03 Joseph Myers <joseph@codesourcery.com>
35636
35637 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35638 (SETUP_PIC_REG): Use GET_PC_THUNK.
35639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35640 macro.
35641
9a1d9254
JM
356422012-02-03 Joseph Myers <joseph@codesourcery.com>
35643
35644 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35645 for non-PIC compilation.
35646 (SETUP_PIC_REG): Add .p2align directive.
35647 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35648 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35649 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35650 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35651 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35652 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35653 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35654 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35655 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35658 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35659 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35660 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35661 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35662 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35663 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35664 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35665 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35666 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35667 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35668 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35669 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35670 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35671 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35673 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35674 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35676 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35677 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35678 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35679 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35680 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35681 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35682 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35683 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35684 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35685 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35686 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35687 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35688
65dc3b75
JM
356892012-02-03 Joseph Myers <joseph@codesourcery.com>
35690
35691 * math/tst-CMPLX.c: Include <stdio.h>.
35692
d55bf177
JM
356932012-01-31 Joseph Myers <joseph@codesourcery.com>
35694
35695 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35696 float.
35697 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35698 * sysdeps/sparc/bits/mathdef.h: Likewise.
35699
69db4f8f
MP
357002012-01-31 Marek Polacek <polacek@redhat.com>
35701
35702 * libio/libio.h: Don't define _PARAMS.
35703 * locale/programs/config.h: Don't define PARAMS.
35704 * stdlib/strtol_l.c: Likewise.
35705 (__strtol_l): Remove PARAMS from the prototype.
35706
41b81892
UD
357072012-01-31 Ulrich Drepper <drepper@gmail.com>
35708
3b49edc0
UD
35709 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35710 names. Just use the correct names. Remove unnecessary wrapper
35711 functions.
35712 * malloc/arena.c: Likewise.
35713 * malloc/hooks.c: Likewise.
35714
41b81892
UD
35715 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35716 ARENA_TEST says not to. Simplify test for creation of a new arena.
35717 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35718
27a25b6e
UD
357192012-01-30 Ulrich Drepper <drepper@gmail.com>
35720
35721 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35722 into tail calls.
35723 (update_get_addr): New function.
35724 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35725 GET_ADDR_MODULE parameter.
35726
c8a89e7d
JM
357272012-01-30 Joseph Myers <joseph@codesourcery.com>
35728
35729 * crypt/cert.c: Remove __STDC__ conditionals.
35730 * crypt/crypt-entry.c: Likewise.
35731 * crypt/crypt_util.c: Likewise.
35732 * libio/filedoalloc.c: Likewise.
35733 * libio/fileops.c: Likewise.
35734 * libio/genops.c: Likewise.
35735 * libio/iofclose.c: Likewise.
35736 * libio/iofdopen.c: Likewise.
35737 * libio/iofopen.c: Likewise.
35738 * libio/iofopen64.c: Likewise.
35739 * libio/iogetdelim.c: Likewise.
35740 * libio/iopopen.c: Likewise.
35741 * libio/obprintf.c: Likewise.
35742 * libio/oldfileops.c: Likewise.
35743 * libio/oldiofclose.c: Likewise.
35744 * libio/oldiofdopen.c: Likewise.
35745 * libio/oldiofopen.c: Likewise.
35746 * libio/oldiopopen.c: Likewise.
35747 * libio/wfiledoalloc.c: Likewise.
35748 * libio/wgenops.c: Likewise.
35749 * locale/programs/xmalloc.c: Likewise.
35750 * misc/syslog.c: Likewise.
35751 * stdio-common/xbug.c: Likewise.
35752 * string/memchr.c: Likewise.
35753 * string/memcmp.c: Likewise.
35754 * string/memrchr.c: Likewise.
35755 * string/rawmemchr.c: Likewise.
35756 * sysdeps/posix/getcwd.c: Likewise.
35757 * time/strftime_l.c: Likewise.
35758
3b100462
JM
357592012-01-30 Joseph Myers <joseph@codesourcery.com>
35760
35761 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35762 * config.make.in (config-cflags-sse2avx): Define.
35763 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35764 Fix typo.
35765
607998af
CM
357662012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35767
35768 * scripts/config.guess: Update from upstream config git repository.
35769 * scripts/config.sub: Likewise.
35770
3601428f
CM
357712012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35772
3ac8b282
CM
35773 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35774 (EM_NUM): Update.
35775 (R_TILEPRO_*, R_TILEGX_*): New macros.
35776
e034841e
CM
35777 * scripts/firstversions.awk: Fix bug in version range handling.
35778
540d7568
CM
35779 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35780
3601428f
CM
35781 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35782
463de862
CM
35783 * include/sys/epoll.h: New file.
35784 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35785 libc_hidden_def.
35786
73139a76
UD
357872012-01-28 Ulrich Drepper <drepper@gmail.com>
35788
96bc5b45
UD
35789 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35790 Avoid unnecessary __WORDSIZE == 64 test.
35791 (fmaxf): Use VEX format if possible.
35792 (fmax): Likewise.
35793 (fminf): Likewise.
35794 (fmin): Likewise.
35795
56f6f6a2
UD
35796 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35797 * math/math_private.h: Remove libc_fegetround* and
35798 libc_fesetround*.
35799 * sysdeps/i386/configure.in: Check for -msse2avx.
35800 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35801 also if SSE2AVX is defined.
35802 Remove libc_fegetround* and libc_fesetround*.
35803 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35804 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35805 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35806 of HAS_YMM_USABLE.
35807 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35808 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35810 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35812
73139a76
UD
35813 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35814
d73f93a4
AZ
358152012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35816
35817 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35818 size is not set.
35819 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35820
6ee65ed6
UD
358212012-01-27 Ulrich Drepper <drepper@gmail.com>
35822
35823 [BZ #13618]
35824 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35825 relocation.
35826 * Makeconfig (libm): Define.
35827 * elf/Makefile: Add rules to build and run tst-relsort1.
35828 * elf/tst-relsort1.c: New file.
35829 * elf/tst-relsort1mod1.c: New file.
35830 * elf/tst-relsort1mod2.c: New file.
35831
8db21882
JM
358322012-01-27 Joseph Myers <joseph@codesourcery.com>
35833
35834 * math/s_ldexp.c: Remove __STDC__ conditionals.
35835 * math/s_ldexpf.c: Likewise.
35836 * math/s_ldexpl.c: Likewise.
35837 * math/s_nextafter.c: Likewise.
35838 * math/s_nexttowardf.c: Likewise.
35839 * math/s_significand.c: Likewise.
35840 * math/s_significandf.c: Likewise.
35841 * math/s_significandl.c: Likewise.
35842 * math/w_jnl.c: Likewise.
35843 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35844 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35845 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35846 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35847 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35849 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35850 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35851 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35852 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35853 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35855 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35856 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35857 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35858 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35859 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35860 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35862 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35863 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35864 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35865 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35866 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35867 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35868 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35869 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35870 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35871 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35872 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35873 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35874 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35875 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35876 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35877 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35878 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35879 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35880 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35881 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35882 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35883 * sysdeps/ieee754/k_standard.c: Likewise.
35884 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35886 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35920 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35945 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35949 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35950 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35954 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35957 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35958 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35959 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35962 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35963 * sysdeps/ieee754/s_matherr.c: Likewise.
35964 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35965 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35968
965a54a4
JM
359692012-01-26 Joseph Myers <joseph@codesourcery.com>
35970
35971 * crypt/md5.h: Remove __STDC__ conditionals.
35972 * libio/libioP.h: Likewise.
35973 * locale/programs/config.h: Likewise.
35974 * sysdeps/generic/sysdep.h: Likewise.
35975 * sysdeps/i386/asm-syntax.h: Likewise.
35976 * sysdeps/s390/asm-syntax.h: Likewise.
35977 * sysdeps/unix/sysdep.h: Likewise.
35978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35980
7071ad79
JM
359812012-01-26 Joseph Myers <joseph@codesourcery.com>
35982
35983 * libio/libio.h: Remove __STDC__ conditionals.
35984 * malloc/obstack.h: Likewise.
35985 * math/complex.h: Likewise.
35986 * math/math.h: Likewise.
35987 * sysdeps/generic/_G_config.h: Likewise.
35988 * sysdeps/gnu/_G_config.h: Likewise.
35989 * sysdeps/mach/hurd/_G_config.h: Likewise.
35990 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35991 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35992 * sysdeps/sparc/bits/mathdef.h: Likewise.
35993
afc5ed09
UD
359942012-01-26 Ulrich Drepper <drepper@gmail.com>
35995
35996 [BZ #13583]
35997 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35998 Clean up HAS_* macros.
afc5ed09 35999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36000 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36001 possible.
36002 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36003 HAS_AVX.
36004 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36005 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36006 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36007 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36008 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36009
bdb6de1d
JM
360102012-01-25 Joseph Myers <joseph@codesourcery.com>
36011
36012 * elf/tst-unique3.cc (gets): Remove declaration.
36013 * elf/tst-unique3lib.cc (gets): Likewise.
36014 * elf/tst-unique3lib2.cc (gets): Likewise.
36015 * elf/tst-unique4.cc (gets): Likewise.
36016
b15549e6
UD
360172012-01-24 Ulrich Drepper <drepper@gmail.com>
36018
36019 * include/stdio.h: Add C++ protection. Add gets declarations and
36020 definitions.
36021 * debug/tst-chk1.c: Don't declare gets here.
36022 * stdio-common/tst-gets.c: Likewise.
36023
a037381f
JM
360242012-01-24 Joseph Myers <joseph@codesourcery.com>
36025
36026 * posix/glob: Remove directory.
36027
f1d4aa75
JM
360282012-01-24 Joseph Myers <joseph@codesourcery.com>
36029
36030 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36031
81c0c964
PT
360322012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36033
36034 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36035 of the non-standard EPFNOSUPPORT.
36036
0ea698ae
ST
360372011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36038
36039 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36040 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36041 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36042
d220b117
UD
360432012-01-21 Ulrich Drepper <drepper@gmail.com>
36044
36045 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36046
3e1aa84e
UD
360472012-01-20 Ulrich Drepper <drepper@gmail.com>
36048
36049 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36050 transient errors.
36051 * nscd/grpcache.c (cache_addgr): Likewise.
36052 * nscd/hstcache.c (cache_addhst): Likewise.
36053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36054 * nscd/pwdcache.c (cache_addpw): Likewise.
36055 * nscd/servicescache.c (cache_addserv): Likewise.
36056
400aa020
UD
360572012-01-16 Ulrich Drepper <drepper@gmail.com>
36058
d77e7869
UD
36059 * malloc/malloc.c: Various cleanups.
36060 * malloc/hooks.c: Likewise.
36061
400aa020
UD
36062 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36063 * stdlib/bug-fmtmsg1.c: New file.
36064
36065 * stdlib/fmtmsg.c (init): Add missing unlock.
36066 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36067
e0a309cf
MP
360682012-01-12 Marek Polacek <polacek@redhat.com>
36069
36070 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36071 and _GNU_SOURCE.
36072
929d11c7
WS
360732012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36074
36075 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36076 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36077 macro to ensure uniqueness of label name.
36078 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36079 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36080
41d0e869
UD
360812012-01-11 Ulrich Drepper <drepper@gmail.com>
36082
0cc5ed3b
UD
36083 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36084
41d0e869
UD
36085 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36086 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36087 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36089
a47a831a
UD
360902012-01-10 Ulrich Drepper <drepper@gmail.com>
36091
daa891c0
UD
36092 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36093
36094 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36095 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36096 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36097
e58ef0f2
UD
36098 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36099
a47a831a 36100 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36101 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36104
36105 * math/bits/math-finite.h: Add ldexp support.
36106
a0bfc9c7
MP
361072012-01-10 Marek Polacek <polacek@redhat.com>
36108
36109 * locale/programs/localedef.h (show_archive_content): Add noreturn
36110 attribute.
36111
d6e97a1d
UD
361122012-01-09 Ulrich Drepper <drepper@gmail.com>
36113
36114 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36115
d5835c26
UD
361162012-01-08 Ulrich Drepper <drepper@gmail.com>
36117
e5f484c6
UD
36118 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36119
d5835c26
UD
36120 * io/Makefile (headers): Add bits/poll2.h.
36121
d1f741e9
WS
361222011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36123
36124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36125 typo #include statement.
36126
ec09c1c4
UD
361272012-01-08 Ulrich Drepper <drepper@gmail.com>
36128
36129 * include/sys/cdefs.h: Define __attribute_alloc_size.
36130 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36131 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36132 * elf/pldd.c: Likewise.
36133 * iconv/iconv_charmap.c: Likewise.
36134 * iconv/iconvconfig.c: Likewise.
36135 * iconv/strtab.c: Likewise.
36136 * locale/programs/locale.c: Likewise.
36137 * locale/programs/localedef.h: Likewise.
36138 * locale/programs/simple-hash.c: Likewise.
36139 * nscd/nscd.h: Likewise.
36140 * nss/makedb.c: Likewise.
36141 * sysdeps/generic/ldconfig.h: Likewise.
36142 * locale/programs/localedef.c: Remove xmalloc prototype.
36143 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36144
20b38e03
PP
361452012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36146
36147 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36148 appropriate.
36149
a0da5fe1
UD
361502012-01-08 Ulrich Drepper <drepper@gmail.com>
36151
1d5a644a 36152 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36153 * math/tst-CMPLX.c: New file.
1d5a644a 36154
8784a6db
UD
36155 * math/complex.h (CMPLXL): Fix typo.
36156
d9a216c0
UD
36157 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36158 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36159 GLIBC_2.16.
36160 * debug/tst-chk1.c: Add poll and ppoll tests.
36161 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36162 * include/sys/poll.h: Add hidden proto for ppoll.
36163 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36164 * sysdeps/mach/hurd/ppoll.c: Likewise.
36165 * io/ppoll.c: Likewise.
36166 * debug/poll_chk.c: New file.
36167 * debug/ppoll_chk.c: New file.
36168 * include/bits/poll2.h: New file.
36169 * io/bits/poll2.h: New file.
36170
ac097f5c
UD
36171 [BZ #1350]
36172 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36173
2119dcfa
UD
36174 * configure.in: static is always set to yes. Remove.
36175 * config.make.in: Don't set build-static.
36176 * Makeconfig: Remove use of build-static.
36177 * dlfcn/Makefile: Likewise.
36178 * elf/Makefile: Likewise.
36179 * math/Makefile: Likewise.
36180 * misc/Makefile: Likewise.
36181 * nptl/Makefile: Likewise.
36182 * sysdeps/mach/hurd/Makefile: Likewise.
36183
121766a9
UD
36184 * configure.in: PWD_P is not used anymore.
36185 * config.make.in: Remove PWD_P entry.
36186
51a1d39c 36187 * configure.in: Remove last remnants of RANLIB.
8720d066 36188 No need to check for signed size_t anymore.
215f4bdc
UD
36189 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36190 and IA-64.
3857022a 36191 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36192 * aclocal.m4: Likewise.
36193
d3ed7225
UD
36194 * wcsmbs/mbrtoc16.c: Implement using towc function.
36195 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36196 * wcsmbs/wcsmbsload.c: Likewise.
36197 * iconv/gconv_simple.c: Likewise.
36198 * iconv/gconv_int.h: Likewise.
36199 * iconv/gconv_builtin.h: Likewise.
36200 * iconv/iconv_prog.c: Remove CHAR16 handling.
36201
36202 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36203
36204 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36205
a0da5fe1
UD
36206 * configure.in: Remove --with-elf and --enable-bounded options.
36207 Dont set base_machine for ia64. More non-ELF conditions removed.
36208 Remove testing and setting of leading underscore information.
36209 * config.make.in (build-bounded): Set to no.
36210 * config.h.in: Remove NO_UNDERSCORES entry.
36211 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36212 them.
36213 * csu/start.c: Remove !NO_UNDERSCORE code.
36214 * locale/localeinfo.h: Likewise.
36215 * sysdeps/generic/machine-gmon.h: Likewise.
36216 * sysdeps/generic/sysdep.h: Likewise.
36217 * sysdeps/i386/sysdep.h: Likewise.
36218 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36219 * sysdeps/mach/sysdep.h: Likewise.
36220 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36222 * sysdeps/sh/sysdep.h: Likewise.
36223 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36224 * sysdeps/unix/i386/sysdep.S: Likewise.
36225 * sysdeps/unix/sparc/start.c: Likewise.
36226 * sysdeps/unix/sparc/sysdep.S: Likewise.
36227 * sysdeps/unix/sparc/sysdep.h: Likewise.
36228 * sysdeps/unix/start.c: Likewise.
36229 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36230 * sysdeps/x86_64/sysdep.h: Likewise.
36231
df78418a
UD
362322012-01-07 Ulrich Drepper <drepper@gmail.com>
36233
a784e502
UD
36234 [BZ #13553]
36235 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36236 for non-gcc.
36237 * argp/argp-fmtstream.h: Use const instead __const.
36238 * argp/argp.h: Likewise.
36239 * assert/assert.h: Likewise.
36240 * bits/fenv.h: Likewise.
36241 * bits/sched.h: Likewise.
36242 * bits/sigset.h: Likewise.
36243 * bits/sigthread.h: Likewise.
36244 * catgets/nl_types.h: Likewise.
36245 * conform/data/pthread.h-data: Likewise.
36246 * crypt/crypt-private.h: Likewise.
36247 * crypt/crypt.h: Likewise.
36248 * crypt/crypt_util.c: Likewise.
36249 * ctype/ctype.h: Likewise.
36250 * debug/execinfo.h: Likewise.
36251 * debug/mbsnrtowcs_chk.c: Likewise.
36252 * debug/mbsrtowcs_chk.c: Likewise.
36253 * debug/wcsnrtombs_chk.c: Likewise.
36254 * debug/wcsrtombs_chk.c: Likewise.
36255 * debug/wcstombs_chk.c: Likewise.
36256 * dirent/dirent.h: Likewise.
36257 * dlfcn/dlfcn.h: Likewise.
36258 * elf/neededtest4.c: Likewise.
36259 * grp/grp.h: Likewise.
36260 * gshadow/gshadow.h: Likewise.
36261 * iconv/gconv.h: Likewise.
36262 * iconv/gconv_int.h: Likewise.
36263 * iconv/gconv_simple.c: Likewise.
36264 * iconv/iconv.h: Likewise.
36265 * iconv/loop.c: Likewise.
36266 * iconv/skeleton.c: Likewise.
36267 * include/aio.h: Likewise.
36268 * include/aliases.h: Likewise.
36269 * include/argz.h: Likewise.
36270 * include/arpa/inet.h: Likewise.
36271 * include/assert.h: Likewise.
36272 * include/dirent.h: Likewise.
36273 * include/dlfcn.h: Likewise.
36274 * include/execinfo.h: Likewise.
36275 * include/fcntl.h: Likewise.
36276 * include/fenv.h: Likewise.
36277 * include/glob.h: Likewise.
36278 * include/grp.h: Likewise.
36279 * include/libintl.h: Likewise.
36280 * include/mntent.h: Likewise.
36281 * include/netdb.h: Likewise.
36282 * include/pwd.h: Likewise.
36283 * include/rpc/netdb.h: Likewise.
36284 * include/sched.h: Likewise.
36285 * include/search.h: Likewise.
36286 * include/shadow.h: Likewise.
36287 * include/signal.h: Likewise.
36288 * include/stdio.h: Likewise.
36289 * include/stdlib.h: Likewise.
36290 * include/string.h: Likewise.
36291 * include/sys/socket.h: Likewise.
36292 * include/sys/stat.h: Likewise.
36293 * include/sys/statfs.h: Likewise.
36294 * include/sys/statvfs.h: Likewise.
36295 * include/sys/syslog.h: Likewise.
36296 * include/sys/time.h: Likewise.
36297 * include/sys/uio.h: Likewise.
36298 * include/time.h: Likewise.
36299 * include/unistd.h: Likewise.
36300 * include/utmp.h: Likewise.
36301 * include/wchar.h: Likewise.
36302 * include/wctype.h: Likewise.
36303 * inet/aliases.h: Likewise.
36304 * inet/arpa/inet.h: Likewise.
36305 * inet/netinet/ether.h: Likewise.
36306 * inet/netinet/in.h: Likewise.
36307 * intl/libintl.h: Likewise.
36308 * io/bits/fcntl2.h: Likewise.
36309 * io/fcntl.h: Likewise.
36310 * io/ftw.h: Likewise.
36311 * io/sys/poll.h: Likewise.
36312 * io/sys/stat.h: Likewise.
36313 * io/sys/statfs.h: Likewise.
36314 * io/sys/statvfs.h: Likewise.
36315 * io/utime.h: Likewise.
36316 * libio/bits/stdio.h: Likewise.
36317 * libio/bits/stdio2.h: Likewise.
36318 * libio/libio.h: Likewise.
36319 * libio/libioP.h: Likewise.
36320 * libio/stdio.h: Likewise.
36321 * locale/lc-ctype.c: Likewise.
36322 * locale/locale.h: Likewise.
36323 * login/utmp.h: Likewise.
36324 * malloc/arena.c: Likewise.
36325 * malloc/malloc.c: Likewise.
36326 * malloc/malloc.h: Likewise.
36327 * malloc/mcheck.c: Likewise.
36328 * malloc/mtrace.c: Likewise.
36329 * math/bits/mathcalls.h: Likewise.
36330 * math/fenv.h: Likewise.
36331 * math/math_private.h: Likewise.
36332 * misc/bits/error.h: Likewise.
36333 * misc/bits/syslog.h: Likewise.
36334 * misc/err.h: Likewise.
36335 * misc/error.h: Likewise.
36336 * misc/fstab.h: Likewise.
36337 * misc/mntent.h: Likewise.
36338 * misc/regexp.h: Likewise.
36339 * misc/search.h: Likewise.
36340 * misc/sgtty.h: Likewise.
36341 * misc/sys/mman.h: Likewise.
36342 * misc/sys/syslog.h: Likewise.
36343 * misc/sys/uio.h: Likewise.
36344 * misc/sys/xattr.h: Likewise.
36345 * misc/ttyent.h: Likewise.
36346 * nis/rpcsvc/ypclnt.h: Likewise.
36347 * nss/nss.h: Likewise.
36348 * posix/bits/unistd.h: Likewise.
36349 * posix/fnmatch.h: Likewise.
36350 * posix/glob.h: Likewise.
36351 * posix/sched.h: Likewise.
36352 * posix/spawn.h: Likewise.
36353 * posix/sys/wait.h: Likewise.
36354 * posix/unistd.h: Likewise.
36355 * posix/wordexp.h: Likewise.
36356 * pwd/pwd.h: Likewise.
36357 * resolv/netdb.h: Likewise.
36358 * resource/sys/resource.h: Likewise.
36359 * rt/aio.h: Likewise.
36360 * rt/bits/mqueue2.h: Likewise.
36361 * rt/mqueue.h: Likewise.
36362 * shadow/shadow.h: Likewise.
36363 * signal/signal.h: Likewise.
36364 * socket/send.c: Likewise.
36365 * socket/sendto.c: Likewise.
36366 * socket/sys/socket.h: Likewise.
36367 * stdio-common/printf.h: Likewise.
36368 * stdlib/bits/stdlib.h: Likewise.
36369 * stdlib/fmtmsg.h: Likewise.
36370 * stdlib/monetary.h: Likewise.
36371 * stdlib/stdlib.h: Likewise.
36372 * stdlib/ucontext.h: Likewise.
36373 * streams/stropts.h: Likewise.
36374 * string/argz.h: Likewise.
36375 * string/bits/string2.h: Likewise.
36376 * string/string.h: Likewise.
36377 * string/strings.h: Likewise.
36378 * sunrpc/rpc/auth.h: Likewise.
36379 * sunrpc/rpc/auth_des.h: Likewise.
36380 * sunrpc/rpc/clnt.h: Likewise.
36381 * sunrpc/rpc/netdb.h: Likewise.
36382 * sunrpc/rpc/pmap_clnt.h: Likewise.
36383 * sunrpc/rpc/xdr.h: Likewise.
36384 * sysdeps/generic/inttypes.h: Likewise.
36385 * sysdeps/generic/net/if.h: Likewise.
36386 * sysdeps/generic/sys/swap.h: Likewise.
36387 * sysdeps/gnu/net/if.h: Likewise.
36388 * sysdeps/gnu/utmpx.h: Likewise.
36389 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36390 * sysdeps/i386/i486/bits/string.h: Likewise.
36391 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36392 * sysdeps/s390/bits/string.h: Likewise.
36393 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36394 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36395 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36396 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36397 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36398 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36399 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36400 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36401 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36402 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36403 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36404 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36405 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36406 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36407 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36408 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36409 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36411 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36412 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36414 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36415 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36416 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36417 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36418 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36419 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36421 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36422 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36423 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36424 * sysvipc/sys/ipc.h: Likewise.
36425 * sysvipc/sys/msg.h: Likewise.
36426 * sysvipc/sys/sem.h: Likewise.
36427 * sysvipc/sys/shm.h: Likewise.
36428 * termios/termios.h: Likewise.
36429 * time/sys/time.h: Likewise.
36430 * time/time.h: Likewise.
36431 * wcsmbs/bits/wchar2.h: Likewise.
36432 * wcsmbs/uchar.h: Likewise.
36433 * wcsmbs/wchar.h: Likewise.
36434 * wctype/wctype.h: Likewise.
36435
0269750c
UD
36436 [BZ #13551]
36437 * Makeconfig: Remove all but ELF support including AIX support.
36438 * Makerules: Likewise.
36439 * config.h.in: Likewise.
36440 * config.make.in: Likewise.
36441 * configure: Likewise.
36442 * configure.in: Likewise.
36443 * csu/Makefile: Likewise.
36444 * csu/version.c: Likewise.
36445 * debug/Makefile: Likewise.
36446 * dlfcn/Makefile: Likewise.
36447 * elf/Makefile: Likewise.
36448 * extra-lib.mk: Likewise.
36449 * iconv/Makefile: Likewise.
36450 * include/libc-symbols.h: Likewise.
36451 * include/shlib-compat.h: Likewise.
36452 * resolv/Makefile: Likewise.
36453 * resolv/res_libc.c: Likewise.
36454 * rt/Makefile: Likewise.
36455 * sysdeps/i386/asm-syntax.h: Likewise.
36456 * sysdeps/i386/sysdep.h: Likewise.
36457 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36458 * sysdeps/mach/sysdep.h: Likewise.
36459 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36460 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36461 * sysdeps/s390/asm-syntax.h: Likewise.
36462 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36463 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36464 * sysdeps/sh/sysdep.h: Likewise.
36465 * sysdeps/unix/sparc/sysdep.h: Likewise.
36466 * sysdeps/wordsize-32/divdi3.c: Likewise.
36467 * sysdeps/x86_64/sysdep.h: Likewise.
36468
00bbd29b
UD
36469 * argp/Versions: Remove _argp_unlock_xxx.
36470
36471 [BZ #13559]
36472 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36473 * abilist/libBrokenLocale.abilist: Likewise.
36474 * abilist/libanl.abilist: Likewise.
36475 * abilist/libc.abilist: Likewise.
36476 * abilist/libcrypt.abilist: Likewise.
36477 * abilist/libdl.abilist: Likewise.
36478 * abilist/libm.abilist: Likewise.
36479 * abilist/libnsl.abilist: Likewise.
36480 * abilist/libpthread.abilist: Likewise.
36481 * abilist/libresolv.abilist: Likewise.
36482 * abilist/librt.abilist: Likewise.
36483 * abilist/libthread_db.abilist: Likewise.
36484 * abilist/libutil.abilist: Likewise.
36485 * abilist/libnss_db.abilist: New file.
36486
36487 * scripts/abilist.awk: Add support for indirect functions.
36488
a2693a0e
UD
36489 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36490
3f05895f
UD
36491 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36492
ecb6fb48
UD
36493 * shlib-versions: Remove entries for ports architectures.
36494
664f8cb9
UD
36495 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36496 files in ports.
36497 * elf/stackguard-macros.h: Remove support for IA-64.
36498 * elf/tst-auditmod1.c: Likewise.
36499 * sysdeps/generic/ldsodefs.h: Likewise.
36500
7ae81d88
UD
36501 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36502 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36503 configure files.
36504
bdeba135
UD
36505 [BZ #13552]
36506 * configure.in: Remove --enable-omitfp support.
36507 * FAQ.in: Adjust.
36508 * config.make.in: Likewise.
36509 * Makeconfig: Likewise.
36510 * manual/install.texi: Likewise.
36511
d75a0a62
UD
36512 In case anyone cares, the IA-64 architecture could move to ports.
36513 * sysdeps/ia64/*: Removed.
36514 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36515 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36516
dcc9756b
UD
36517 [BZ #13555]
36518 * configure.in: Remove entries for unsupported architectures.
36519
d3761ebc 36520 [BZ #13533]
9954432e
UD
36521 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36522 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36523 routines.
36524 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36525 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36526 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36527 fall back to using wcrtomb.
36528 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36529 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36530 renaming.
36531 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36532 * wcsmbs/tst-c16c32-1.c: New file.
36533
36534 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36535 local variable.
36536
c3a87236
UD
36537 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36538
28926a1b
UD
36539 * elf/tst-unique3.cc: Add explicit declaration of gets.
36540 * elf/tst-unique3lib.cc: Likewise.
36541 * elf/tst-unique3lib2.cc: Likewise.
36542 * elf/tst-unique4.cc: Likewise.
36543
df78418a
UD
36544 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36545
8ecd6b2a
JM
365462012-01-06 Joseph Myers <joseph@codesourcery.com>
36547
36548 [BZ #13566]
36549 * assert/assert.h (static_assert): Don't define for C++.
36550 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36551 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36552
9f115170
UD
365532012-01-03 Ulrich Drepper <drepper@gmail.com>
36554
5e0d0300
UD
36555 * iconv/loop.c (single loop): Fix assertion in storing of
36556 remaining bytes.
36557
9f115170
UD
36558 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36559
81fb02b0
UD
365602012-01-01 Ulrich Drepper <drepper@gmail.com>
36561
36562 * posix/getconf.c: Update copyright year.
36563 * nss/getent.c: Likewise.
a316c1f6 36564 * nss/makedb.c: Likewise.
81fb02b0
UD
36565 * iconv/iconvconfig.c: Likewise.
36566 * iconv/iconv_prog.c: Likewise.
36567 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36568 * elf/pldd.c: Likewise.
36569 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36570 * catgets/gencat.c: Likewise.
36571 * csu/version.c: Likewise.
36572 * elf/ldd.bash.in: Likewise.
36573 * elf/sprof.c (print_version): Likewise.
36574 * locale/programs/locale.c: Likewise.
36575 * locale/programs/localedef.c: Likewise.
a316c1f6 36576 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36577 * nscd/nscd.c (print_version): Likewise.
36578 * debug/xtrace.sh: Likewise.
36579 * malloc/memusage.sh: Likewise.
36580 * malloc/mtrace.pl: Likewise.
36581 * debug/catchsegv.sh: Likewise.
36582
2ba92745
JJ
365832011-12-30 Jakub Jelinek <jakub@redhat.com>
36584
36585 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36586 pure attribute.
36587
dadebdae
UD
365882011-12-24 Ulrich Drepper <drepper@gmail.com>
36589
d3761ebc 36590 [BZ #13533]
db6af3eb
UD
36591 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36592 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36593 transformations.
36594 * iconv/gconv_int.h: Likewise.
36595 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36596 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36597 from libc for GLIBC_2.16.
36598 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36599 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36600 * wcsmbs/uchar.h: Really define mbstate_t.
36601 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36602 * wcsmbs/c16rtomb.c: New file.
36603 * wcsmbs/mbrtoc16.c: New file.
36604 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36605 for C/POSIX locale.
36606 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36607 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36608
dadebdae
UD
36609 * wcsmbs/wchar.h: Add missing __restrict.
36610
67371b56
UD
366112011-12-23 Ulrich Drepper <drepper@gmail.com>
36612
74033a25
UD
36613 [BZ #13532]
36614 * time/Makefile (routines): Add timespec_get.
36615 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36616 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36617 timespec for ISO C11.
36618 * time/timespec_get.c: New file.
36619 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36620 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36621
380d7e87
UD
36622 [BZ #13531]
36623 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36624 * stdlib/stdlib.h: Declare aligned_alloc.
36625 * Versions.def: Add GLIBC_2.16 for libc.
36626 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36627
4e9e7a35
UD
36628 [BZ 13527]
36629 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36630 ISO C11.
36631
380d7e87 36632 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36633 code.
36634
03a71829
UD
36635 [BZ #13528]
36636 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36637
839e283e
UD
36638 [BZ #13529]
36639 * assert/assert.h (static_assert): Define.
36640
ce5294e2 36641 * version.h: Update for 2.16 development version.
90fa7312 36642
8d44e150 36643 [BZ #13526]
d7809905
UD
36644 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36645 _ISOC11_SOURCE.
36646
c0da14cd
UD
36647 * version.h (RELEASE): Bump for 2.15 release.
36648 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36649
530a3249
MP
36650 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36651 Patch by Marek Polacek <mpolacek@redhat.com>.
36652
67371b56
UD
36653 * bits/byteswap.h: Protect long long constants with __extension__.
36654 * sysdeps/i386/bits/byteswap.h: Likewise.
36655 * sysdeps/ia64/bits/byteswap.h: Likewise.
36656 * sysdeps/s390/bits/byteswap.h: Likewise.
36657 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36658
15db4de1
LD
366592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36660
36661 [BZ #13540]
bbe315ea
LD
36662 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36663 destination buffer.
15db4de1
LD
36664 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36665
2b2596b1
MP
366662011-12-23 Marek Polacek <polacek@redhat.com>
36667
36668 * elf/dl-addr.c (determine_info): Add inline keyword.
36669 * elf/tst-auditmod4b.c (check_avx): Likewise.
36670 * elf/tst-auditmod6b.c (check_avx): Likewise.
36671 * elf/tst-auditmod6c.c (check_avx): Likewise.
36672 * elf/tst-auditmod7b.c (check_avx): Likewise.
36673
70c6c246
UD
366742011-12-23 Ulrich Drepper <drepper@gmail.com>
36675
36676 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36677 !__SSE_MATH__.
36678
c044cf14
LD
366792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36680
15db4de1 36681 [BZ #13540]
c044cf14
LD
36682 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36683 processing for last bytes.
36684
6b13d9d9
BH
366852011-08-06 Bruno Haible <bruno@clisp.org>
36686
d455f537
BH
36687 [BZ #13061]
36688 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36689 U+0385, not to U+1FEE.
36690
6b13d9d9
BH
36691 [BZ #13062]
36692 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36693 entry for U+00A5 U+0301.
36694
db910efd
UD
366952011-12-22 Ulrich Drepper <drepper@gmail.com>
36696
27deeafc
UD
36697 [BZ #13166]
36698 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36699 buffer for the output is too small.
36700
aed9d171
UD
36701 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36702 optimization.
36703
db910efd
UD
36704 [BZ #13185]
36705 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36706 SSE flags if possible.
36707
2bd779ae
LD
367082011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36709
e7f9dac3 36710 [BZ #13540]
2bd779ae
LD
36711 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36712 processing for last bytes.
36713
154bfc16
JM
367142011-12-22 Joseph Myers <joseph@codesourcery.com>
36715
36716 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36717 (syscall-list-default-options, syscall-list-default-condition)
36718 (syscall-list-includes): Define.
36719 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36720 list of ABIs and options and #if conditions for each ABI. Do not
36721 handle common syscalls between ABIs specially.
36722 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36723 Remove.
36724 (syscall-list-variants, syscall-list-32bit-options)
36725 (syscall-list-32bit-condition, syscall-list-64bit-options)
36726 (syscall-list-64bit-condition): Define.
36727 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36728 (syscall-list-variants, syscall-list-32bit-options)
36729 (syscall-list-32bit-condition, syscall-list-64bit-options)
36730 (syscall-list-64bit-condition): Define.
36731 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36732 Remove.
36733 (syscall-list-variants, syscall-list-32bit-options)
36734 (syscall-list-32bit-condition, syscall-list-64bit-options)
36735 (syscall-list-64bit-condition): Define.
36736 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36737 Remove.
36738 (syscall-list-variants, syscall-list-32bit-options)
36739 (syscall-list-32bit-condition, syscall-list-64bit-options)
36740 (syscall-list-64bit-condition): Define.
36741
21eaf3a5
UD
367422011-12-22 Ulrich Drepper <drepper@gmail.com>
36743
16c6f992
UD
36744 * locale/iso-639.def: Add brx entry.
36745
41043168
UD
36746 [BZ #13328]
36747 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36748 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36749
21eaf3a5
UD
36750 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36751 __feraiseexcept_renamed.
36752
e3a851a2
UD
367532011-12-21 Ulrich Drepper <drepper@gmail.com>
36754
4920765e
UD
36755 [BZ #13538]
36756 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36757 EPOLLET with unsigned values.
36758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36759 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36760
e3a851a2
UD
36761 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36762 to large cancellation.
36763 * math/s_cacoshf.c: Likewise.
36764 * math/s_cacoshl.c: Likewise.
36765
b27e24b8
RK
367662011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36767
36768 [BZ #13305]
aebefeee 36769 [BZ #12786]
b27e24b8
RK
36770 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36771 * math/s_cacoshf.c: Likewise.
36772 * math/s_cacoshl.c: Likewise.
36773
ee190f67
UD
367742011-12-21 Ulrich Drepper <drepper@gmail.com>
36775
36776 [BZ #13439]
36777 * iconv/gconv.h: Define __GCONV_SWAP.
36778 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36779 * iconvdata/utf-16.c: Likewise.
36780 * iconvdata/utf-32.c: Likewise.
36781
707f25df
AS
367822011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36783
36784 [BZ #13524]
36785 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36786 numerator after shifting it by one limb.
36787
d2daaa1e
RÁE
367882011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36789
36790 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36791 under [__USE_EXTERN_INLINES].
36792
a4647e72
UD
367932011-12-17 Ulrich Drepper <drepper@gmail.com>
36794
36795 [BZ #13446]
36796 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36797
f0b264f1
AZ
367982011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36799
36800 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36801 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36802 optimized code.
36803 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36804 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36805 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36806 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36807 for strncasecmp/strncasecmp_l compilation.
36808 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36809 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36810
8ef4f244
MP
368112011-12-08 Marek Polacek <mpolacek@redhat.com>
36812
36813 [BZ #13484]
36814 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36815 of __asm__.
36816
97ac2654
UD
368172011-12-17 Ulrich Drepper <drepper@gmail.com>
36818
36819 [BZ #13506]
36820 * time/tzfile.c (__tzfile_read): Check values from file header.
36821
91d2a845
WS
368222011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36823
36824 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36825 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36826 * powerpc/powerpc32/dl-start.S: Likewise.
36827 * powerpc/powerpc32/elf/start.S: Likewise.
36828 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36829 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36830 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36831 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36832 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36833 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36834 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36835 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36836 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36837 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36838 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36839 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36840 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36841 * powerpc/powerpc32/memset.S: Likewise.
36842 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36843 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36844 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36845 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36846 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36847 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36848 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36849 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36850 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36851 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36852 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36853 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36854 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36855
a1267ba1
AZ
368562011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36857
36858 * math/libm-test.inc: Added more nearbyint tests.
36859 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36860 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36861 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36863
ad8ac1bd
RL
368642011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36865
36866 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36867 FD_CLOEXEC.
36868
1d3e4b61
UD
368692011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36870
36871 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36872 Add wcscpy-ssse3 wcscpy-c.
36873 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36874 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36875 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36876 * sysdeps/x86_64/wcschr.S: New file.
36877 * sysdeps/x86_64/wcsrchr.S: New file.
36878 * string/test-strcmp.c: Remove checking of wcscmp function for
36879 wrong alignments.
36880 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36881 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36882 wcsrchr-sse2 wcsrchr-c.
36883 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36884 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36885 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36886 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36887 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36888 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36889 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36890 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36891 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36892 * wcsmbc/wcschr.c (WCSCHR): New macro.
36893
5b330a2d
UD
368942011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36895
36896 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36897 * wcsmbs/test-wcsrchr.c: New file.
36898 * string/test-strrchr.c: Add wcsrchr support.
36899 (WIDE): New macro.
36900 * wcsmbs/test-wcscpy.c: New file.
36901 * string/test-strcpy.c: Add wcscpy support.
36902 (WIDE): New macro.
26428b7c 36903
f039c043
UD
369042011-12-10 Ulrich Drepper <drepper@gmail.com>
36905
36906 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36907 the inner loop.
36908
850fb039
AS
369092011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36910
36911 [BZ #13472]
36912 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36913
4efbd5cb
UD
369142011-12-04 Ulrich Drepper <drepper@gmail.com>
36915
52ff5dd0 36916 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36917 Minor optimizations.
52ff5dd0 36918
4efbd5cb
UD
36919 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36920 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36921 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36922
8a426e12
UD
369232011-12-03 Ulrich Drepper <drepper@gmail.com>
36924
aff2453d
UD
36925 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36926 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36927 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36928 for gcc to avoid warnings.
36929 * inet/Makefile (tests): Add tst-checks.
36930 * inet/tst-checks.c: New file.
36931
36932 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36933 warning.
36934
36935 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36936 __wmemcmp_sse2.
36937
36938 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36939 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36940
8a426e12
UD
36941 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36942
9bea3473
UD
369432011-12-02 Ulrich Drepper <drepper@gmail.com>
36944
3a965496
UD
36945 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36946 problem.
36947
9bea3473
UD
36948 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36949
f101631b
UD
369502011-11-29 Joseph Myers <joseph@codesourcery.com>
36951
36952 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36953 conditional on GCC version.
36954 (__arch_compare_and_exchange_val_8_acq)
36955 (__arch_compare_and_exchange_val_16_acq)
36956 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36957 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36958 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36959
a98275aa
UD
369602011-12-02 Joseph Myers <joseph@codesourcery.com>
36961
36962 * sysdeps/sh/backtrace.c: New file.
36963
d4cc29a2
AS
369642011-12-02 Andreas Schwab <schwab@redhat.com>
36965
36966 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36967 parenthesis.
36968
6257af2d
AS
369692011-12-01 Andreas Schwab <schwab@redhat.com>
36970
36971 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36972 falling back to utime.
36973
b5f44c1a
AS
369742011-11-30 Andreas Schwab <schwab@redhat.com>
36975
36976 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36977 expectations for float.
36978
f3a6cc0a
AS
369792011-11-29 Andreas Schwab <schwab@redhat.com>
36980
36981 * locale/weight.h (findidx): Add parameter len.
36982 * locale/weightwc.h (findidx): Likewise.
36983 * posix/fnmatch_loop.c (FCT): Adjust caller.
36984 * posix/regcomp.c (build_equiv_class): Likewise.
36985 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36986 * posix/regexec.c (check_node_accept_bytes): Likewise.
36987 * string/strcoll_l.c (STRCOLL): Likewise.
36988 * string/strxfrm_l.c (STRXFRM): Likewise.
36989
9d65ea3a
UD
369902011-11-17 Ulrich Drepper <drepper@gmail.com>
36991
36992 * Makefile.in: Remove CVSOPT handling.
36993 * configure.in: Remove use of AC_REVISION.
36994 * iconvdata/Makefile (distribute): No need to filter out CVS.
36995 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36996 handling.
36997
5583a086
AS
369982011-11-16 Andreas Schwab <schwab@redhat.com>
36999
37000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37001 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37002 [USE_AS_STRNCASECMP_L]: Likewise.
37003 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37004 NO_TLS_DIRECT_SEG_REFS.
37005 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37006 Fix argument offsets for non-PIC.
37007 [USE_AS_STRNCASECMP_L]: Likewise.
37008 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37009 NO_TLS_DIRECT_SEG_REFS.
37010
d62a8200
UD
370112011-11-15 Ulrich Drepper <drepper@gmail.com>
37012
9d65ea3a 37013 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37014 O_CLOEXEC.
37015 * locale/loadlocale.c (_nl_load_locale): Likewise.
37016
09f93bd3
AS
370172011-11-15 Andreas Schwab <schwab@redhat.com>
37018
446514f9
AS
37019 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37020 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37021 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37022 (SYSCALL_GETTIME): Set errno on error.
37023
09f93bd3
AS
37024 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37025 count references to noai6ai_cached.
37026
312be3f9
UD
370272011-11-15 Ulrich Drepper <drepper@gmail.com>
37028
37029 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37030
37031 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37032 FD_CLOEXEC for /proc/self/maps.
37033
37034 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37035 FD_CLOEXEC for /proc/meminfo.
37036
37037 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37038 gai.conf.
37039
37040 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37041 FD_CLOEXEC for given file.
37042
37043 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37044
37045 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37046 FD_CLOEXEC for /etc/hosts.
37047 (_gethtent): Likewise.
37048
37049 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37050
37051 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37052 cancellation and set FD_CLOEXEC for /etc/netgroup.
37053
37054 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37055 reading /etc/publickey.
37056
37057 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37058 allow cancellation when reading /etc/group.
37059
37060 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37061 cancellation.
37062 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37063
37064 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37065 when using data file.
37066
37067 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37068
37069 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37070 (write_nis_obj): Use "c" and "e" in fopen.
37071
37072 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37073
37074 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37075
37076 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37077
37078 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37079
37080 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37081 locale.alias.
37082
37083 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37084
37085 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37086
37087 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37088
37089 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37090 file parsing and set FD_CLOEXEC.
37091
82af0fa8
UD
370922011-11-14 Ulrich Drepper <drepper@gmail.com>
37093
37094 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37095
a5fb313c
AS
370962011-11-14 Andreas Schwab <schwab@redhat.com>
37097
37098 * malloc/arena.c (arena_get2): Don't call reused_arena when
37099 _int_new_arena failed.
37100
6abf3465
UD
371012011-11-14 Ulrich Drepper <drepper@gmail.com>
37102
37103 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37104 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37106 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37107 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37108 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37109 to compile strcasecmp and strncasecmp.
37110 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37111 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37112
37113 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37114
76e3966e
UD
371152011-11-13 Ulrich Drepper <drepper@gmail.com>
37116
37117 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37118 locale-defines.sym to gen-as-const-headers.
37119 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37120 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37122 to compile strcasecmp and strncasecmp.
37123 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37124 strcasecmp_l and strncasecmp_l.
37125 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37126 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37127 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37128 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37129 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37130 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37131 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37132 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37133 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37134 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37135 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37136
ab26144e
UD
371372011-11-12 Ulrich Drepper <drepper@gmail.com>
37138
7edb22ef
UD
37139 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37140 result of SYSDEP_GETTIME_CPU to retval.
37141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37142 parameter list to macro. Remove trailing semicolon. Adjust users.
37143
9694fc44
UD
37144 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37145 variable.
37146
8ad89ef8
UD
37147 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37148 mantissa words.
37149 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37150
0c822ef9
UD
37151 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37152 from unused variable.
37153
874e0564
UD
37154 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37155 DWARF definitions.
37156 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37157 for assembling.
37158
3a2edc79
UD
37159 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37160 over namespaces.
37161
f3c2577f
UD
37162 * sunrpc/rpc_prot.c (rejected): Fix case value.
37163
294ce126
UD
37164 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37165 unsigned long long int to avoid warnings in shift.
37166
5e2b63c6
UD
37167 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37168 of use of trans.
37169 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37170 variable tmp.
37171
e7f4b08e
UD
37172 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37173 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37174 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37175
ab26144e
UD
37176 * nis/nis_table.c (nis_list): Use variable of correct type for
37177 result of __follow_path call.
37178
8a6d5255
AZ
371792011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37180
37181 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37182 of math functions ceil, trunc, floor, round, and sqrt, when
37183 avaliable on the platform.
37184 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37185 name clash.
37186 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37187 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37188 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37189
aaddc98c
MP
371902011-10-30 Marek Polacek <mpolacek@redhat.com>
37191
37192 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37193 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37194
95b7042b
RM
371952011-11-11 Roland McGrath <roland@hack.frob.com>
37196
37197 * include/unistd.h: Fix __readlink return type.
37198 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37199
57769839
UD
372002011-11-11 Ulrich Drepper <drepper@gmail.com>
37201
37202 * stdlib/ucontext.h: Undo last change for makecontext.
37203
edc5984d
AS
372042011-11-11 Andreas Schwab <schwab@redhat.com>
37205
98591e58
AS
37206 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37207
edc5984d
AS
37208 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37209 * setjmp/setjmp.h: Mark functions as non-leaf.
37210 * setjmp/bits/setjmp2.h: Likewise.
37211 * stdlib/ucontext.h: Likewise.
37212
77cdc054
AS
372132011-11-10 Andreas Schwab <schwab@redhat.com>
37214
37215 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37216 (reused_arena): Don't check arena limit.
37217 (arena_get2): Atomically check arena limit.
37218
fe72eebd
UD
372192011-11-08 Ulrich Drepper <drepper@gmail.com>
37220
5f078c32
UD
37221 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37222 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37223
fe72eebd
UD
37224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37225 instructions.
37226
ae1bc2fa
AS
372272011-11-07 Andreas Schwab <schwab@redhat.com>
37228
7583a88d
AS
37229 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37230 handler when locking.
37231
ae1bc2fa
AS
37232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37233 Fix size of allocated buffer.
37234
10fb0bfa
AS
372352011-11-04 Andreas Schwab <schwab@redhat.com>
37236
998832a4
AS
37237 [BZ #10103]
37238 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37239 declarations for long double functions.
37240 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37241
10fb0bfa
AS
37242 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37243
3d7ba52b
AS
372442011-11-03 Andreas Schwab <schwab@redhat.com>
37245
a9ae54a1
AS
37246 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37247 installed.
37248
3d7ba52b
AS
37249 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37250 is disabled.
37251
bc8db248
ST
372522011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37253
37254 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37255
45b96dd6
AS
372562011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37257
647776f6
AS
37258 * include/alloca.h (stackinfo_alloca_round): Define.
37259 (extend_alloca): Use it.
37260 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37261 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37262 here.
37263
d91a8b93
AS
37264 * scripts/check-local-headers.sh: Ignore libaudit.h.
37265
45b96dd6
AS
37266 * nscd/Makefile (extra-objs): Make recursively expanded.
37267
432d41ce
UD
372682011-11-01 Ulrich Drepper <drepper@gmail.com>
37269
34372fc6
UD
37270 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37271 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37272
fadb59f8
UD
37273 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37274 * posix/tst-rfc3484-2.c: Likewise.
37275 * posix/tst-rfc3484-3.c: Likewise.
37276
78239589
UD
37277 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37278 process_vm_writev.
37279 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37280 process_vm_writev.
37281 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37282 process_vm_writev from libc using GLIBC_2.15 version.
37283
432d41ce
UD
37284 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37285
02f9c6cf
PP
372862011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37287
37288 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37289 stack usage.
37290
3a2c0242
UD
372912011-10-31 Ulrich Drepper <drepper@gmail.com>
37292
f4ec4833
UD
37293 [BZ #13367]
37294 * nss/getent.c (initgroups_keys): Show error message in case no group
37295 names are given.
37296
3a2c0242
UD
37297 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37298 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37299 __bump_nl_timestamp.
37300 * nscd/connections (nscd_init): When host database is served open
37301 netlink socket and request notification about configuration changes.
37302 (main_loop_poll): Track netlink file descriptor and bump timestamp
37303 in case data becomes available.
37304 (main_loop_epoll): Likewise.
37305 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37306 (database_pers_head): Add extra_data fileds.
37307 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37308 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37309 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37310 Adjust caller.
37311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37312 in6ai data, call __free_in6ai.
37313 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37314 Add -DHAVE_NETLINK.
37315 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37316 interface information. Reuse previous data if netlink timestamp
37317 is not changed.
37318 (__bump_nl_timestamp): New function.
37319 (__free_in6ai): New function.
37320
636064eb
UD
373212011-10-30 Ulrich Drepper <drepper@gmail.com>
37322
37323 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37324 close_not_cancel_no_status here.
37325 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37326
9beb2334
UD
373272011-10-29 Ulrich Drepper <drepper@gmail.com>
37328
6ef76f3b
UD
37329 [BZ #13276]
37330 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37331 return value.
37332
0ffc4f3e 37333 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37334 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37335 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37336
cb95113e
UD
373372011-07-03 Andreas Jaeger <aj@suse.de>
37338
37339 [BZ #10709]
37340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37341 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37342 * math/libm-test.inc (sin_test): Add test case.
37343
a1b560ff
UD
373442011-10-29 Ulrich Drepper <drepper@gmail.com>
37345
c9aaface
UD
37346 [BZ #13337]
37347 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37348 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37349
d272e7f1
UD
37350 * elf/chroot_canon.c (chroot_canon): Cleanups.
37351
1bc33071
UD
37352 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37353
1760874d
TJ
37354 [BZ #13335]
37355 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37356 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37357
51d91b18
UD
37358 * string/test-strchr.c: Make usable for strchrnul testing.
37359 * string/test-strchrnul.c: New file.
37360 * string/Makefile (strop-tests): Add strchrnul.
37361
a1b560ff 37362 * po/it.po: Update from translation team.
b611fb81 37363 * po/es.po: Likewise.
a1b560ff 37364
a5b81e1f
UD
373652011-10-28 Ulrich Drepper <drepper@gmail.com>
37366
fd52bc6d
UD
37367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37368 the three constants needed as parameters. Drop the others.
37369 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37370 __m128i_strloadu_tolower.
52e4b9eb
UD
37371 Create and initialize variable zero and use it in all the places
37372 where _mm_setzero_si128 was used.
fd52bc6d 37373
a5b81e1f
UD
37374 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37375 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37376 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37377 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37378 anymore.
37379 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37380 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37381 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37382 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37383 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37384 __mpranred, __mptan.
37385 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37386 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37387 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37388 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37389 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37390 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37391 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37392 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37393 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37394
b4343346
AS
373952011-10-28 Andreas Schwab <schwab@redhat.com>
37396
0c92d8a8
AS
37397 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37398 redefine if SHARED.
37399 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37400
b4343346
AS
37401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37402 wide char related routines to wcsmbs subdir.
37403
3871f58f
AS
374042011-10-27 Andreas Schwab <schwab@redhat.com>
37405
37406 [BZ #13344]
37407 * misc/sys/cdefs.h (__THROWNL): Define.
37408 * posix/unistd.h: Use __THREADNL instead of __THREAD
37409 for memory synchronization functions.
37410
94d44d9f
RM
374112011-10-26 Roland McGrath <roland@hack.frob.com>
37412
21b64b15 37413 [BZ #13349]
94d44d9f
RM
37414 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37415 doesn't exist.
37416 * manual/stdio.texi (Obstack Streams): Node removed.
37417
f6ce9294
AS
374182011-10-26 Andreas Schwab <schwab@redhat.com>
37419
80479147
AS
37420 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37421 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37422 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37423
f6ce9294
AS
37424 * math/math_private.h (math_force_eval): Allow non-addressable
37425 arguments.
37426 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37427
618280a1
UD
374282011-10-25 Ulrich Drepper <drepper@gmail.com>
37429
e0016b11
UD
37430 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37431 file is not needed.
37432
37433 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37434 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37435 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37436 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37437 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37438 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37439 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37440 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37441 Add AVX variants.
37442 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37443 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37444 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37445 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37446 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37448 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37451 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37452 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37453 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37454 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37455 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37456 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37457 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37458 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37459 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37460 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37461
37462 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37463 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37464
618280a1
UD
37465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37466 place. Use VEX encoding when compiling for AVX.
37467
37822576
AS
374682011-10-25 Andreas Schwab <schwab@redhat.com>
37469
1f1e1947
AS
37470 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37471 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37472
37822576
AS
37473 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37474
31ea014d
UD
374752011-10-25 Ulrich Drepper <drepper@gmail.com>
37476
d7826aa1 37477 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37478 useless if() expression.
d7826aa1
UD
37479 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37480 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37481 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37482 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37483 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37484 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37485 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37487 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37489 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37490 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37491 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37492 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37493 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37494 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37495 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37496 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37497 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37498
31ea014d
UD
37499 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37500
16437fec
AS
375012011-10-25 Andreas Schwab <schwab@redhat.com>
37502
37503 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37504 condition.
37505 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37506
31d3cc00
UD
375072011-10-25 Ulrich Drepper <drepper@gmail.com>
37508
37509 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37510 .text section. Avoid duplicate constants.
37511 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37521 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37523 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37526 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37528 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37534 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37535 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37536 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37537 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37538 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37539 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37540 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37541 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37542 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37543 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37544 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37545 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37546 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37547 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37548 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37550 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37551 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37552 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37553 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37554 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37555 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37556
58985aa9
UD
375572011-10-24 Ulrich Drepper <drepper@gmail.com>
37558
202c9deb
UD
37559 * sysdeps/x86_64/dla.h: Move to ...
37560 * sysdeps/x86_64/fpu/dla.h: ...here.
37561 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37562 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37563
af968f62
UD
37564 * config.make.in: Add have-mfma4 entry.
37565 * configure.in: Substitute libc_cv_cc_fma4.
37566 * math/Makefile (dbl-only-routines): Add sincostab.
37567 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37568 Use __sincostab not sincos.
37569 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37570 name is a macro.
37571 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37575 using __copysign.
37576 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37577 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37578 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37579 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37580 and __inv.
37581 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37582 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37583 __copysign.
37584 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37585 define aliases when function name is a macro.
37586 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37587 sysdeps/ieee754/dbl-64/sincos.tbl.
37588 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37589 fma4-enabled routines.
37590 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37591 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37592 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37593 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37594 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37595 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37597 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37598 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37599 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37600 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37601 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37602 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37603 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37604 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37605 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37606 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37607 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37608 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37609 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37610 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37611 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37612 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37613 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37614 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37615 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37616 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37617 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37618 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37619 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37620
58985aa9
UD
37621 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37622 rename.
37623 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37631
a201fbcf
AS
376322011-10-24 Andreas Schwab <schwab@redhat.com>
37633
37634 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37635
fc2ee42a
LD
376362011-10-23 Ulrich Drepper <drepper@gmail.com>
37637
bb3129bd
UD
37638 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37639
0275fff8
UD
37640 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37641 prediction.
37642 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37643
2fa2ae85
UD
37644 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37645 Remove unused variable magic_bits.
37646 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37647
fc2ee42a
LD
37648 * string/strnlen.c: Define and use STRNLEN macro.
37649 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37650 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37651 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37652 * wcsmbs/wcslen.c: Define and use WCSLEN.
37653 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37654 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37655 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37656 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37657 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37658 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37659 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37660
ce7dd29f
LD
376612011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37662
37663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37664 strnlen-sse2-no-bsf.
37665 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37667 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37668 Add strnlen support.
37669 (USE_AS_STRNLEN): New macro.
37670 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37671 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37672 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37673 * sysdeps/x86_64/wcslen.S: New file.
37674
979c70a3
MZ
376752011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37676
37677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37678 XMM-moves are used for copying on small sizes.
37679
2d09f82f
LD
376802011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37681
37682 * wcsmbs/Makefile (strop-tests): Add wcschr.
37683 * wcsmbs/test-wcschr.c: New file.
37684 * string/test-strchr.c: Update.
37685 Add wcschr support.
37686 (WIDE): New macro.
37687
619fccca
LD
376882011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37689
2d09f82f 37690 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37691 * wcsmbs/test-wcslen.c: New file.
37692 * string/test-strlen.c: Update.
37693 Add wcslen support.
37694 (WIDE): New macro.
37695
09f699ea
UD
376962011-10-23 Ulrich Drepper <drepper@gmail.com>
37697
37698 * po/it.po: Update from translation team.
37699
95584d3b
LD
377002011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37701
37702 * sysdeps/x86_64/wcscmp.S: Update.
37703 Fix wrong comparison semantics.
37704 wcscmp shall use signed comparison not unsigned.
37705 Don't use substraction to avoid overflow bug.
37706 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37707 * wcsmbc/wcscmp.c: Likewise.
37708 * string/test-strcmp.c: Likewise.
37709 Add new tests to check cases with negative values.
37710
c8b3296b
UD
377112011-10-23 Ulrich Drepper <drepper@gmail.com>
37712
37713 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37714 * sysdeps/x86_64/dla.h: ...here. New file.
37715 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37717 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37723 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37724
246ad57a
AS
377252011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37726
37727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37728 __ynl_finite aliases.
37729
a1a87169
UD
377302011-10-22 Ulrich Drepper <drepper@gmail.com>
37731
0d355eb7
UD
37732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37733
a1a87169
UD
37734 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37735 define DLA_FMA.
37736 [DLA_FMA] (EMULV): Use DLA_FMA.
37737 [DLA_FMA] (MUL12): Use EMULV.
37738 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37739 that are not needed.
37740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37747
ee2aafe0
AS
377482011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37749
37750 * math/s_nan.c: Undef __nan.
37751 * math/s_nanf.c: Undef __nanf.
37752 * math/s_nanl.c: Undef __nanl.
37753 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37754 "math_private.h".
37755
bc62c2fb
UD
377562011-10-22 Ulrich Drepper <drepper@gmail.com>
37757
77425c63
UD
37758 * math/s_catan.c: Add branch predictions.
37759 * math/s_catanf.c: Likewise.
37760 * math/s_catanh.c: Likewise.
37761 * math/s_catanhf.c: Likewise.
37762 * math/s_catanhl.c: Likewise.
37763 * math/s_catanl.c: Likewise.
37764 * math/s_cexp.c: Likewise.
37765 * math/s_cexpf.c: Likewise.
37766 * math/s_cexpl.c: Likewise.
37767 * math/s_clog.c: Likewise.
37768 * math/s_clog10.c: Likewise.
37769 * math/s_clog10f.c: Likewise.
37770 * math/s_clog10l.c: Likewise.
37771 * math/s_clogf.c: Likewise.
37772 * math/s_clogl.c: Likewise.
37773 * math/s_csqrt.c: Likewise.
37774 * math/s_csqrtf.c: Likewise.
37775 * math/s_csqrtl.c: Likewise.
37776 * math/s_ctanf.c: Likewise.
37777 * math/s_ctanh.c: Likewise.
37778 * math/s_ctanhf.c: Likewise.
37779 * math/s_ctanhl.c: Likewise.
37780 * math/s_ctanl.c: Likewise.
37781
bc62c2fb
UD
37782 * math/math_private.h: Define __nan, __nanf, __nanl.
37783 * math/s_cacosh.c: Include <math_private.h>.
37784 * math/s_cacoshl.c: Likewise.
37785 * math/s_casinh.c: Likewise.
37786 * math/s_casinhf.c: Likewise.
37787 * math/s_casinhl.c: Likewise.
37788 * math/s_ccos.c: Rely entire on ccosh.
37789 * math/s_ccosf.c: Rely entire on ccoshf.
37790 * math/s_ccosl.c: Rely entirely on ccoshl.
37791 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37792 Remove tests for FE_INVALID.
37793 * math/s_ccoshf.c: Likewise.
37794 * math/s_ccoshl.c: Likewise.
37795 * math/s_csin.c: Likewise.
37796 * math/s_csinf.c: Likewise.
37797 * math/s_csinh.c Likewise.
37798 * math/s_csinhf.c: Likewise.
37799 * math/s_csinhl.c: Likewise.
37800 * math/s_csinl.c: Likewise.
37801 * math/s_ctan.c: Likewise.
37802 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37803 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37804 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37805
8ec250a4
UD
378062011-10-21 Ulrich Drepper <drepper@gmail.com>
37807
c196fed8
UD
37808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37809 compilation problems.
37810
8ec250a4
UD
37811 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37812 __builtin_expect.
37813
8d4f46c6
UD
378142011-10-20 Ulrich Drepper <drepper@gmail.com>
37815
ed72b654
UD
37816 * sysdeps/i386/configure.in: Test for -mfma4 option.
37817 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37818 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37819 COMMON_CPUID_INDEX_80000001.
37820 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37821 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37822 use it if FMA3 is not supported.
37823 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37824
8d4f46c6
UD
37825 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37826 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37827
d45c60c2
AS
378282011-10-20 Andreas Schwab <schwab@redhat.com>
37829
37830 [BZ #12892]
37831 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37832 it would create a cycle with a link time dependency.
37833
d9a4d2ab
UD
378342011-10-19 Ulrich Drepper <drepper@gmail.com>
37835
855d1560
UD
37836 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37837 instruction.
37838 * string/Makefile (strop-tests): Add rawmemchr.
37839 * string/test-rawmemchr.c: New file.
37840
d9a4d2ab
UD
37841 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37843 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37844 when compiling str{,n}casecmp and when AVX is available. Hook up
37845 new optimized code in initializers.
37846
8f3b1ffe
AS
378472011-10-19 Andreas Schwab <schwab@redhat.com>
37848
37849 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37850 __feraiseexcept instead of feraiseexcept.
37851
d38f1dba
UD
378522011-10-18 Ulrich Drepper <drepper@gmail.com>
37853
d9a8d0ab
UD
37854 * math/math_private.h: Define defaults for libc_fetestexcept and
37855 libc_feupdateenv.
37856 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37857 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37858 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37859 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37860 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37861 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37862 libc_fetestexcept and libc_feupdateenv.
37863
4855e3dd
UD
37864 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37865 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37866 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37867 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37868 libc_feholdexcept_setround.
37869
581d30e3
UD
37870 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37871 Add s_nearbyint-c and s_nearbyintf-c.
37872 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37873 nearbyintf inlines.
37874 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37875 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37876 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37877 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37878
d38f1dba
UD
37879 * math/math_private.h: Define defaults for libc_fegetround,
37880 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37881 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37882 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37883 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37884 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37885 standard functions.
37886 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37887 Remove comments and hacks for old compiler versions.
37888 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37889 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37890 libc_feholdexceptl.
37891
caa6c9d8
AS
378922011-10-18 Andreas Schwab <schwab@redhat.com>
37893
37894 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37895 (__feraiseexcept_renamed): Add __NTH.
37896 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37897 namespace violations.
37898
97c066e6
UD
378992011-10-17 Ulrich Drepper <drepper@gmail.com>
37900
99ce7b04
UD
37901 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37902
1004d182
UD
37903 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37904
228a984d
UD
37905 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37906 recently added interfaces.
37907 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37908
c8553a6a
UD
37909 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37910 about macro parameter expansion.
37911
ed22dcf6
UD
37912 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37913 __NO_MATH_INLINES is defined. Cleanups.
37914
37915 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37916 and __floorf is target has SSE4.1.
37917 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37918 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37919 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37920 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37921
b171c137
UD
37922 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37923 name.
37924 (floorf): Likewise.
37925
97c066e6
UD
37926 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37927
629f62ef
AS
379282011-10-17 Andreas Schwab <schwab@redhat.com>
37929
49a43d80
AS
37930 * misc/sys/cdefs.h: Fix last change.
37931
629f62ef
AS
37932 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37933 database lookup.
37934
e453f6cd
UD
379352011-10-16 Ulrich Drepper <drepper@gmail.com>
37936
aa78043a
UD
37937 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37938
ad0f5cad
UD
37939 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37940 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37941 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37942 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37943 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37944 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37945 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37946 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37947 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37948 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37949 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37950 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37951 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37952 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37953 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37954 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37955 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37956 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37957 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37958 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37959 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37960 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37961
37962 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37963 ceil, ceilf, floor, floorf.
37964
37965 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37966 Perform IRELATIVE relocations last.
37967
e453f6cd
UD
37968 * elf/do-rel.h: Add another parameter nrelative, replacing the
37969 local variable with the same name. Change name of the function
37970 to end in Rel or Rela (uppercase).
37971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37972 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37973 elf_dynamic_do_##reloc function.
37974
fd5bdc09
UD
379752011-10-15 Ulrich Drepper <drepper@gmail.com>
37976
79b195b5
UD
37977 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37978 is sufficient, at least on modern CPUs.
37979
d4a28569
UD
37980 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37981
b61099b5
UD
37982 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37983 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37984
bcf01e6d
UD
37985 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37986 __expl_finite.
37987 * math/bits/math-finite.h: Add entries for exp.
37988 * math/e_expl.c: Add __*_finite alias.
37989 * sysdeps/i386/fpu/e_exp.S: Likewise.
37990 * sysdeps/i386/fpu/e_expf.S: Likewise.
37991 * sysdeps/i386/fpu/e_expl.c: Likewise.
37992 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37993 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37994 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37995 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37996 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37997 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37998 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37999
ba1a0d59
UD
38000 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38001 is sufficient, at least on modern CPUs.
38002
fd5bdc09
UD
38003 * ctype/ctype-info.c (__ctype_init): Define.
38004 * include/ctype.h (__ctype_init): Declare.
38005 (__ctype_b_loc): The variable is always initialized.
38006 (__ctype_toupper_loc): Likewise.
38007 (__ctype_tolower_loc): Likewise.
38008 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38009 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38010
7872cfb0
AS
380112011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38012
b468825a
AS
38013 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38014
7872cfb0
AS
38015 * configure.in: Also look in $cxxmachine/include for C++ system
38016 headers.
38017
be13f7bf
LD
380182011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38019
38020 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38021 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38022 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38023 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38024 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38025 (USE_AS_WMEMCMP): New macro.
38026 Fixing indents.
38027 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38028 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38029 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38030 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38032 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38033 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38034 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38035 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38036 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38037 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38038 (USE_AS_WMEMCMP): New macro.
38039 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38040 * sysdeps/string/test-memcmp.c: Update.
38041 Fix simple_wmemcmp.
38042 Add new tests.
38043 * wcsmbs/wmemcmp.c: Update.
38044 (WMEMCMP): New macro.
38045 Fix overflow bug.
38046
556a2007
AJ
380472011-10-12 Andreas Jaeger <aj@suse.de>
38048
38049 [BZ #13268]
38050 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38051
538faaa7
UD
380522011-10-15 Ulrich Drepper <drepper@gmail.com>
38053
ab6737ff
UD
38054 * libio/iofwide.c (do_length): Avoid warning.
38055
538faaa7
UD
38056 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38057
396a21b1
UD
380582011-10-14 Ulrich Drepper <drepper@gmail.com>
38059
cdf2901f
UD
38060 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38061
38ad40ce
UD
38062 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38063 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38064 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38065 * sysdeps/i386/i686/fpu/e_log.S: New file.
38066 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38067 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38068
396a21b1
UD
38069 * ctype/ctype.h: Add support for inlined isXXX functions when
38070 compiling C++ code.
38071
6b1f68c9
AS
380722011-10-14 Andreas Schwab <schwab@redhat.com>
38073
349290c0
AS
38074 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38075
6b1f68c9
AS
38076 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38077
f2282d42
RM
380782011-10-13 Roland McGrath <roland@hack.frob.com>
38079
38080 [BZ #13291]
38081 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38082
5298ffa8
AS
380832011-10-13 Andreas Schwab <schwab@redhat.com>
38084
714fad23
AS
38085 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38086 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38087 feraiseexcept.
38088
81dcc7fb
AS
38089 * sysdeps/x86_64/memrchr.S: Check for zero size.
38090
5298ffa8
AS
38091 * string/stratcliff.c: Add memrchr tests.
38092
951fbcec
LD
380932011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38094
38095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38096 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38097 rawmemchr-sse2 rawmemchr-sse2-bsf.
38098 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38099 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38100 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38101 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38102 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38103 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38104 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38105 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38106 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38107 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38108 * string/memrchr.c (MEMRCHR): New macro.
38109
0ac5ae23
UD
381102011-10-12 Ulrich Drepper <drepper@gmail.com>
38111
38112 Add integration with gcc's -ffinite-math-only and optimize wrapper
38113 functions in libm.
38114 * Versions.def: Define GLIBC_2.15 version for libm.
38115 * math/Makefile (headers): Add bits/math-finite.h.
38116 * math/bits/math-finite.h: New file.
38117 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38118 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38119 * math/e_acoshl.c: Add __*_finite alias.
38120 * math/e_acosl.c: Likewise.
38121 * math/e_asinl.c: Likewise.
38122 * math/e_atan2l.c: Likewise.
38123 * math/e_atanhl.c: Likewise.
38124 * math/e_coshl.c: Likewise.
38125 * math/e_exp10.c: Likewise.
38126 * math/e_exp10f.c: Likewise.
38127 * math/e_exp10l.c: Likewise.
38128 * math/e_exp2l.c: Likewise.
38129 * math/e_fmodl.c: Likewise.
38130 * math/e_gammal_r.c: Likewise.
38131 * math/e_hypotl.c: Likewise.
38132 * math/e_j0l.c: Likewise.
38133 * math/e_j1l.c: Likewise.
38134 * math/e_jnl.c: Likewise.
38135 * math/e_lgammal_r.c: Likewise.
38136 * math/e_log10l.c: Likewise.
38137 * math/e_log2l.c: Likewise.
38138 * math/e_logl.c: Likewise.
38139 * math/e_powl.c: Likewise.
38140 * math/e_sinhl.c: Likewise.
38141 * math/e_sqrtl.c: Likewise.
38142 * math/e_scalb.c: Completely rewritten and optimized.
38143 * math/e_scalbf.c: Likewise.
38144 * math/e_scalbl.c: Likewise.
38145 * math/w_acos.c: Likewise.
38146 * math/w_acosf.c: Likewise.
38147 * math/w_acosl.c: Likewise.
38148 * math/w_acosh.c: Likewise.
38149 * math/w_acoshf.c: Likewise.
38150 * math/w_acoshl.c: Likewise.
38151 * math/w_asin.c: Likewise.
38152 * math/w_asinf.c: Likewise.
38153 * math/w_asinl.c: Likewise.
38154 * math/w_atan2.c: Likewise.
38155 * math/w_atan2f.c: Likewise.
38156 * math/w_atan2l.c: Likewise.
38157 * math/w_atanh.c: Likewise.
38158 * math/w_atanhf.c: Likewise.
38159 * math/w_atanhl.c: Likewise.
38160 * math/w_exp10.c: Likewise.
38161 * math/w_exp10f.c: Likewise.
38162 * math/w_exp10l.c: Likewise.
38163 * math/w_fmod.c: Likewise.
38164 * math/w_fmodf.c: Likewise.
38165 * math/w_fmodl.c: Likewise.
38166 * math/w_j0.c: Likewise.
38167 * math/w_j0f.c: Likewise.
38168 * math/w_j0l.c: Likewise.
38169 * math/w_j1.c: Likewise.
38170 * math/w_j1f.c: Likewise.
38171 * math/w_j1l.c: Likewise.
38172 * math/w_jn.c: Likewise.
38173 * math/w_jnf.c: Likewise.
38174 * math/w_log.c: Likewise.
38175 * math/w_logf.c: Likewise.
38176 * math/w_logl.c: Likewise.
38177 * math/w_log10.c: Likewise.
38178 * math/w_log10f.c: Likewise.
38179 * math/w_log10l.c: Likewise.
38180 * math/w_log2.c: Likewise.
38181 * math/w_log2f.c: Likewise.
38182 * math/w_log2l.c: Likewise.
38183 * math/w_pow.c: Likewise.
38184 * math/w_powf.c: Likewise.
38185 * math/w_powl.c: Likewise.
38186 * math/w_remainder.c: Likewise.
38187 * math/w_remainderf.c: Likewise.
38188 * math/w_remainderl.c: Likewise.
38189 * math/w_scalb.c: Likewise.
38190 * math/w_scalbf.c: Likewise.
38191 * math/w_scalbl.c: Likewise.
38192 * math/w_sqrt.c: Likewise.
38193 * math/w_sqrtf.c: Likewise.
38194 * math/w_sqrtl.c: Likewise.
38195 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38196 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38197 used.
38198 * math/math_private.h: Declare __kernel_standard_f.
38199 * math/w_cosh.c: Remove cruft and optimize a bit.
38200 * math/w_coshf.c: Likewise.
38201 * math/w_coshl.c: Likewise.
38202 * math/w_exp2.c: Likewise.
38203 * math/w_exp2f.c: Likewise.
38204 * math/w_exp2l.c: Likewise.
38205 * math/w_hypot.c: Likewise.
38206 * math/w_hypotf.c: Likewise.
38207 * math/w_hypotl.c: Likewise.
38208 * math/w_lgamma.c: Likewise.
38209 * math/w_lgamma_r.c: Likewise.
38210 * math/w_lgammaf.c: Likewise.
38211 * math/w_lgammaf_r.c: Likewise.
38212 * math/w_lgammal.c: Likewise.
38213 * math/w_lgammal_r.c: Likewise.
38214 * math/w_sinh.c: Likewise.
38215 * math/w_sinhf.c: Likewise.
38216 * math/w_sinhl.c: Likewise.
38217 * math/w_tgamma.c: Likewise.
38218 * math/w_tgammaf.c: Likewise.
38219 * math/w_tgammal.c: Likewise.
38220 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38221 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38222 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38223 Minor optimizations. Pretty printing. Remove cruft.
38224 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38225 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38226 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38227 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38228 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38229 * sysdeps/i386/fpu/e_asin.S: Likewise.
38230 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38231 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38232 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38233 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38234 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38235 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38237 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38238 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38239 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38240 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38241 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38242 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38243 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38244 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38245 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38246 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38247 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38248 * sysdeps/i386/fpu/e_log.S: Likewise.
38249 * sysdeps/i386/fpu/e_log10.S: Likewise.
38250 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38251 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38252 * sysdeps/i386/fpu/e_log2.S: Likewise.
38253 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38254 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38255 * sysdeps/i386/fpu/e_logf.S: Likewise.
38256 * sysdeps/i386/fpu/e_logl.S: Likewise.
38257 * sysdeps/i386/fpu/e_pow.S: Likewise.
38258 * sysdeps/i386/fpu/e_powf.S: Likewise.
38259 * sysdeps/i386/fpu/e_powl.S: Likewise.
38260 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38261 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38262 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38263 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38264 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38265 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38266 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38267 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38268 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38269 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38270 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38272 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38273 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38274 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38275 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38276 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38278 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38279 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38280 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38283 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38290 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38291 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38292 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38293 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38294 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38295 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38296 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38297 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38298 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38299 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38300 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38301 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38302 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38303 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38304 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38305 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38306 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38307 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38308 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38309 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38310 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38314 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38349 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38352 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38353 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38354 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38355 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38357 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38359 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38360 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38361 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38362 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38363 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38364 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38365 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38366 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38367 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38368 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38369 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38370 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38371 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38372 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38373 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38374 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38375 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38376 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38377 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38378 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38379 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38380 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38381 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38382 (__isnanf): Likewise.
38383 (__isinf_ns): Likewise.
38384 (__isinf_nsf): Likewise.
38385 (__finite): Likewise.
38386 (__finitef): Likewise.
38387 (__ieee754_sqrt): Define as macro.
38388 (__ieee754_sqrtf): Define as macro.
38389 (__ieee754_sqrtl): Define as macro.
38390 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38391 inlined copy.
38392 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38393 __FINITE_MATH_ONLY__ consistent.
38394 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38395
12cc2fcd
AS
383962011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38397
a843a204
AS
38398 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38399 of rawmemchr.
38400
12cc2fcd
AS
38401 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38402
c853acd5
UD
384032011-10-09 Ulrich Drepper <drepper@gmail.com>
38404
38405 * po/ja.po: Update from translation team.
38406
c658d255
RM
384072011-10-08 Roland McGrath <roland@hack.frob.com>
38408
110946e4
RM
38409 * locale/programs/locarchive.c (prepare_address_space): New function.
38410 (create_archive, enlarge_archive, open_archive): Use it.
38411
50604220
RM
38412 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38413 inside [SHARED], where it is used.
38414
c658d255
RM
38415 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38416
38417 * nss/getent.c (netgroup_keys): Remove unused variable.
38418 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38419
6a621eb7
UD
384202011-10-08 Ulrich Drepper <drepper@gmail.com>
38421
7edb55ce
UD
38422 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38423 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38424 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38425 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38426 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38427 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38428 * math/Makefile (libm-calls): Add s_isinf_ns.
38429 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38430 * math/multc3.c: Likewise.
38431 * math/s_casin.c: Likewise.
38432 * math/s_casinf.c: Likewise.
38433 * math/s_casinl.c: Likewise.
38434 * math/s_ccos.c: Likewise.
38435 * math/s_ccosf.c: Likewise.
38436 * math/s_ccosl.c: Likewise.
38437 * math/s_ctan.c: Likewise.
38438 * math/s_ctanf.c: Likewise.
38439 * math/s_ctanh.c: Likewise.
38440 * math/s_ctanhf.c: Likewise.
38441 * math/s_ctanhl.c: Likewise.
38442 * math/s_ctanl.c: Likewise.
38443 * math/w_fmod.c: Likewise.
38444 * math/w_fmodf.c: Likewise.
38445 * math/w_fmodl.c: Likewise.
38446 * math/w_remainder.c: Likewise.
38447 * math/w_remainderf.c: Likewise.
38448 * math/w_remainderl.c: Likewise.
38449 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38450 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38451 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38452 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38453 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38454 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38455 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38456 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38457
187da0ae
UD
38458 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38459 of the number.
38460 * stdio-common/printf_fphex.c: Likewise.
38461 * stdio-common/printf_size.c: Likewise.
38462
9277c064
UD
38463 * math/e_exp10.c: Include math_private.h using <...> not "...".
38464 * math/e_exp10f.c: Likewise.
38465 * math/e_exp10l.c: Likewise.
38466 * math/e_exp2l.c: Likewise.
38467 * math/e_j0l.c: Likewise.
38468 * math/e_j1l.c: Likewise.
38469 * math/e_jnl.c: Likewise.
38470 * math/e_lgammal_r.c: Likewise.
38471 * math/e_rem_pio2l.c: Likewise.
38472 * math/e_scalb.c: Likewise.
38473 * math/e_scalbf.c: Likewise.
38474 * math/e_scalbl.c: Likewise.
38475 * math/k_cosl.c: Likewise.
38476 * math/k_sinl.c: Likewise.
38477 * math/k_tanl.c: Likewise.
38478 * math/s_cacoshf.c: Likewise.
38479 * math/s_catan.c: Likewise.
38480 * math/s_catanf.c: Likewise.
38481 * math/s_catanh.c: Likewise.
38482 * math/s_catanhf.c: Likewise.
38483 * math/s_catanhl.c: Likewise.
38484 * math/s_catanl.c: Likewise.
38485 * math/s_ccosh.c: Likewise.
38486 * math/s_ccoshf.c: Likewise.
38487 * math/s_ccoshl.c: Likewise.
38488 * math/s_cexp.c: Likewise.
38489 * math/s_cexpf.c: Likewise.
38490 * math/s_cexpl.c: Likewise.
38491 * math/s_clog.c: Likewise.
38492 * math/s_clog10.c: Likewise.
38493 * math/s_clog10f.c: Likewise.
38494 * math/s_clog10l.c: Likewise.
38495 * math/s_clogf.c: Likewise.
38496 * math/s_clogl.c: Likewise.
38497 * math/s_csin.c: Likewise.
38498 * math/s_csinf.c: Likewise.
38499 * math/s_csinh.c: Likewise.
38500 * math/s_csinhf.c: Likewise.
38501 * math/s_csinhl.c: Likewise.
38502 * math/s_csinl.c: Likewise.
38503 * math/s_csqrt.c: Likewise.
38504 * math/s_csqrtf.c: Likewise.
38505 * math/s_csqrtl.c: Likewise.
38506 * math/s_ctan.c: Likewise.
38507 * math/s_ctanf.c: Likewise.
38508 * math/s_ctanh.c: Likewise.
38509 * math/s_ctanhf.c: Likewise.
38510 * math/s_ctanhl.c: Likewise.
38511 * math/s_ctanl.c: Likewise.
38512 * math/s_ldexp.c: Likewise.
38513 * math/s_ldexpf.c: Likewise.
38514 * math/s_ldexpl.c: Likewise.
38515 * math/s_significand.c: Likewise.
38516 * math/s_significandf.c: Likewise.
38517 * math/s_significandl.c: Likewise.
38518 * math/w_acos.c: Likewise.
38519 * math/w_acosf.c: Likewise.
38520 * math/w_acosh.c: Likewise.
38521 * math/w_acoshf.c: Likewise.
38522 * math/w_acoshl.c: Likewise.
38523 * math/w_acosl.c: Likewise.
38524 * math/w_asin.c: Likewise.
38525 * math/w_asinf.c: Likewise.
38526 * math/w_asinl.c: Likewise.
38527 * math/w_atan2.c: Likewise.
38528 * math/w_atan2f.c: Likewise.
38529 * math/w_atan2l.c: Likewise.
38530 * math/w_atanh.c: Likewise.
38531 * math/w_atanhf.c: Likewise.
38532 * math/w_atanhl.c: Likewise.
38533 * math/w_cosh.c: Likewise.
38534 * math/w_coshf.c: Likewise.
38535 * math/w_coshl.c: Likewise.
38536 * math/w_dremf.c: Likewise.
38537 * math/w_exp10.c: Likewise.
38538 * math/w_exp10f.c: Likewise.
38539 * math/w_exp10l.c: Likewise.
38540 * math/w_exp2.c: Likewise.
38541 * math/w_exp2f.c: Likewise.
38542 * math/w_fmod.c: Likewise.
38543 * math/w_fmodf.c: Likewise.
38544 * math/w_fmodl.c: Likewise.
38545 * math/w_hypot.c: Likewise.
38546 * math/w_hypotf.c: Likewise.
38547 * math/w_hypotl.c: Likewise.
38548 * math/w_j0.c: Likewise.
38549 * math/w_j0f.c: Likewise.
38550 * math/w_j0l.c: Likewise.
38551 * math/w_j1.c: Likewise.
38552 * math/w_j1f.c: Likewise.
38553 * math/w_j1l.c: Likewise.
38554 * math/w_jn.c: Likewise.
38555 * math/w_jnf.c: Likewise.
38556 * math/w_jnl.c: Likewise.
38557 * math/w_lgamma.c: Likewise.
38558 * math/w_lgamma_r.c: Likewise.
38559 * math/w_lgammaf.c: Likewise.
38560 * math/w_lgammaf_r.c: Likewise.
38561 * math/w_lgammal.c: Likewise.
38562 * math/w_lgammal_r.c: Likewise.
38563 * math/w_log.c: Likewise.
38564 * math/w_log10.c: Likewise.
38565 * math/w_log10f.c: Likewise.
38566 * math/w_log10l.c: Likewise.
38567 * math/w_log2.c: Likewise.
38568 * math/w_log2f.c: Likewise.
38569 * math/w_log2l.c: Likewise.
38570 * math/w_logf.c: Likewise.
38571 * math/w_logl.c: Likewise.
38572 * math/w_pow.c: Likewise.
38573 * math/w_powf.c: Likewise.
38574 * math/w_powl.c: Likewise.
38575 * math/w_remainder.c: Likewise.
38576 * math/w_remainderf.c: Likewise.
38577 * math/w_remainderl.c: Likewise.
38578 * math/w_scalb.c: Likewise.
38579 * math/w_scalbf.c: Likewise.
38580 * math/w_scalbl.c: Likewise.
38581 * math/w_sinh.c: Likewise.
38582 * math/w_sinhf.c: Likewise.
38583 * math/w_sinhl.c: Likewise.
38584 * math/w_sqrt.c: Likewise.
38585 * math/w_sqrtf.c: Likewise.
38586 * math/w_sqrtl.c: Likewise.
38587 * math/w_tgamma.c: Likewise.
38588 * math/w_tgammaf.c: Likewise.
38589 * math/w_tgammal.c: Likewise.
38590
6a621eb7
UD
38591 * po/ja.po: Update from translation team.
38592
bf582445
AJ
385932011-09-29 Andreas Jaeger <aj@suse.de>
38594
f9efbf3a
AJ
38595 [BZ #13179]
38596 * sunrpc/netname.c (netname2host): Fix logic.
38597
bf582445
AJ
38598 [BZ #6779]
38599 [BZ #6783]
38600 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38601 correctly.
38602 * math/w_remainder.c (__remainder): Likewise.
38603 * math/w_remainderf.c (__remainderf): Likewise.
38604 * math/libm-test.inc (remainder_test): Add test cases.
38605
48693bea
AK
386062011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38607
38608 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38609 sdiv_qrnnd.
38610
42622229
LD
386112011-10-07 Ulrich Drepper <drepper@gmail.com>
38612
38613 * string/test-memcmp.c: Avoid unncessary #defines.
38614 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38615
093ecf92
LD
386162011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38617
38618 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38619 Use new sse2 version for core i3 - i7 as it's faster
38620 than sse42 version.
38621 (bit_Prefer_PMINUB_for_stringop): New.
38622 * sysdeps/x86_64/rawmemchr.S: Update.
38623 Replace with faster SSE2 version.
38624 * sysdeps/x86_64/memrchr.S: New file.
38625 * sysdeps/x86_64/memchr.S: Update.
38626 Replace with faster SSE2 version.
38627
fde56e5c
MP
386282011-09-12 Marek Polacek <mpolacek@redhat.com>
38629
38630 * elf/dl-load.c (lose): Add cast to avoid warning.
38631
21fd49a9
UD
386322011-10-07 Ulrich Drepper <drepper@gmail.com>
38633
5a06e643
UD
38634 * po/ca.po: Update from translation team.
38635
684ae515
UD
38636 * inet/getnetgrent_r.c: Hook up nscd.
38637 * nscd/Makefile (routines): Add nscd_netgroup.
38638 (nscd-modules): Add netgroupcache.
38639 (CFLAGS-netgroupcache.c): Define.
38640 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38641 (cache_search): Add const to second parameter.
38642 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38643 INNETGR.
38644 (dbs): Add netgrdb entry.
38645 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38646 (verify_persistent_db): Handle netgrdb.
38647 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38648 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38649 GETFDNETGR.
38650 (netgroup_response_header): Define.
38651 (innetgroup_response_header): Define.
38652 (datahead): Add netgroup_response_header and innetgroup_response_header
38653 elements.
38654 * nscd/nscd.conf: Add entries for netgroup cache.
38655 * nscd/nscd.h (dbtype): Add netgrdb.
38656 (_PATH_NSCD_NETGROUP_DB): Define.
38657 (netgroup_iov_disabled): Declare.
38658 (xmalloc, xcalloc, xrealloc): Move declarations here.
38659 (cache_search): Adjust prototype.
38660 Add netgroup-related prototypes.
38661 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38662 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38663 (__nscd_innetgr): Declare.
38664 * nscd/selinux.c (perms): Use access_vector_t as element type and
38665 add netgroup-related initializers.
38666 * nscd/netgroupcache.c: New file.
38667 * nscd/nscd_netgroup.c: New file.
38668 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38669 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38670 For four parameters use innetgr.
38671 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38672 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38673 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38674 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38675
21fd49a9
UD
38676 * nscd/connections.c (register_traced_file): Don't register file
38677 for disabled databases.
38678
054c0457
UD
386792011-10-06 Ulrich Drepper <drepper@gmail.com>
38680
32b63198
UD
38681 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38682
054c0457
UD
38683 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38684 from tree and freeing node.
38685
64031225
JO
386862011-09-25 Jiri Olsa <jolsa@redhat.com>
38687
38688 * nss/nsswitch.c (__nss_database_lookup): Handle
38689 nss_parse_service_list out of memory case.
38690
0490345c
JO
386912011-09-15 Jiri Olsa <jolsa@redhat.com>
38692
38693 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38694 out of memory case.
38695
3a62d00d
AS
386962011-10-04 Andreas Schwab <schwab@redhat.com>
38697
38698 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38699 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38700 pass it down.
38701 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38702 elf_machine_rela, elf_machine_lazy_rel.
38703 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38704 (ELF_DYNAMIC_DO_REL): Likewise.
38705 (ELF_DYNAMIC_DO_RELA): Likewise.
38706 (ELF_DYNAMIC_RELOCATE): Likewise.
38707 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38708 to ELF_DYNAMIC_DO_REL.
38709 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38710 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38711 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38712 elf_machine_rela.
38713 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38714 skip_ifunc, don't call ifunc function if non-zero.
38715 (elf_machine_rela): Likewise.
38716 (elf_machine_lazy_rel): Likewise.
38717 (elf_machine_lazy_rela): Likewise.
38718 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38719 (elf_machine_lazy_rel): Likewise.
38720 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38721 Likewise.
38722 (elf_machine_lazy_rel): Likewise.
38723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38724 Likewise.
38725 (elf_machine_lazy_rel): Likewise.
38726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38727 (elf_machine_lazy_rel): Likewise.
38728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38729 (elf_machine_lazy_rel): Likewise.
38730 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38731 (elf_machine_lazy_rel): Likewise.
38732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38733 (elf_machine_lazy_rel): Likewise.
38734 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38735 (elf_machine_lazy_rel): Likewise.
38736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38737 (elf_machine_lazy_rel): Likewise.
38738
68577918
UD
387392011-09-28 Ulrich Drepper <drepper@gmail.com>
38740
38741 * nss/nss_files/files-init.c (_nss_files_init): Use static
38742 initialization for all the *_traced_file variables.
38743
68822d74
AS
387442011-09-28 Andreas Schwab <schwab@redhat.com>
38745
38746 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38747
2056100b
RM
387482011-09-27 Roland McGrath <roland@hack.frob.com>
38749
38750 [BZ #13226]
38751 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38752
32c76b63
AS
387532011-09-27 Andreas Schwab <schwab@redhat.com>
38754
38755 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38756 Reread the line before reparsing it.
38757
bf972c9d
AS
387582011-09-26 Andreas Schwab <schwab@redhat.com>
38759
38760 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38761
e057a1b5
JM
387622011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38763 Maxim Kuvyrkov <maxim@codesourcery.com>
38764 Joseph Myers <joseph@codesourcery.com>
38765
38766 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38767 if needed for __stack_chk_guard.
38768
bc7e1c36
RM
387692011-09-19 Roland McGrath <roland@hack.frob.com>
38770
ecb1482f
RM
38771 * sysdeps/posix/spawni.c (script_execute): Always define it.
38772 It will be optimized away if unused.
38773 (maybe_script_execute): New function.
38774 (__spawni): Call it.
38775
bc7e1c36
RM
38776 * Makerules: Don't include tls.make.
38777 (config-tls): Always set to thread.
38778 * tls.make.c: File removed.
38779
1c3b002b
MF
387802011-09-19 Mike Frysinger <vapier@gentoo.org>
38781
38782 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38783 * config.make.in (CPPFLAGS-config): New substituted variable.
38784
2840865d
UD
387852011-09-15 Ulrich Drepper <drepper@gmail.com>
38786
88738eb6
UD
38787 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38788
cbf645a6 38789 [BZ #13192]
2840865d
UD
38790 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38791 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38792
b402e91a
RM
387932011-09-15 Roland McGrath <roland@hack.frob.com>
38794
38795 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38796 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38797 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38798 (CALL_FAIL): Likewise.
38799 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38800 (CALL_FAIL): Macro removed.
38801 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38802
4c1a1f71
UD
388032011-09-15 Ulrich Drepper <drepper@gmail.com>
38804
38805 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38806 for __FINITE_MATH_ONLY__ == 1.
38807
edc121be
AS
388082011-09-15 Andreas Schwab <schwab@redhat.com>
38809
38810 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38811 __ieee754_sqrt instead of sqrt.
38812 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38813 __ieee754_sqrtf instead of sqrtf.
38814 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38815 __floorf instead of floorf.
38816 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38817 __floorf, __truncf instead of floorf, truncf.
38818
cd205654
UD
388192011-09-14 Ulrich Drepper <drepper@gmail.com>
38820
ee4d0315
UD
38821 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38822
cd205654
UD
38823 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38824 __extern_always_inline.
38825 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38826 32-bit.
38827
48b67d71
AS
388282011-09-14 Andreas Schwab <schwab@redhat.com>
38829
38830 * elf/rtld.c (dl_main): Also relocate in dependency order when
38831 doing symbol dependency testing.
38832
1ae12c75
AS
388332011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38834
38835 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38836 Always define `refsym'.
38837
995a80df
AS
388382011-09-13 Andreas Schwab <schwab@redhat.com>
38839
e529793b
AS
38840 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38841 (__FD_ELT): Renamed from __FDELT.
38842 * misc/bits/select2.h (__FD_ELT): Likewise.
38843 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38844 __FD_MASK instead of __FDELT, __FDMASK.
38845 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38846 Likewise.
38847 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38848 Likewise.
38849
52d4fef8
AS
38850 * elf/Makefile (gen-ldd): Fix pattern.
38851
995a80df
AS
38852 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38853 (init_tls): Likewise.
38854
8682f8b0
UD
388552011-09-12 Ulrich Drepper <drepper@gmail.com>
38856
38857 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38858
de82006d
AS
388592011-09-12 Andreas Schwab <schwab@redhat.com>
38860
a7c8e6a1
AS
38861 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38862 `struct cmsghdr *' instead of `void *'.
38863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38864 Likewise.
38865
0f31fe77
AS
388662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38867
38868 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38869 if non-absolute.
38870 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38871 ldd_rewrite_script.
0f31fe77 38872
32b4c839
UD
388732011-09-11 Ulrich Drepper <drepper@gmail.com>
38874
83cd1420
UD
38875 * configure.in: Remove --with-tls option.
38876 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38877 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38878 out in case it is missing.
38879 * sysdeps/ia64/elf/configure.in: Likewise.
38880 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38881 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38882 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38883 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38884 * sysdeps/sh/elf/configure.in: Likewise.
38885 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38886 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38887 * sysdeps/x86_64/elf/configure.in: Likewise.
38888 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38889 * sysdeps/mach/hurd/tls.h: Likewise.
38890
633f745d
UD
38891 [BZ #13067]
38892 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38893
f318beb8
UD
38894 [BZ #13090]
38895 * configure.in: Fix use of AC_INIT.
38896
32b4c839
UD
38897 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38898
3ce1f295
UD
388992011-09-10 Ulrich Drepper <drepper@gmail.com>
38900
bb016596
UD
38901 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38902 __set_errno.
8e58439c
UD
38903 * malloc/hooks.c: Likewise.
38904
aebae053 38905 [BZ #11929]
02d46fc4
UD
38906 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38907 variables statically.
38908 (narenas): Initialize.
38909 (list_lock): Initialize.
bb016596
UD
38910 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38911 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38912 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38913 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38914 Add initializers to main_arena and mp_.
38915 (malloc_state): Remove pagesize member. Change all users to use
38916 GLRO(dl_pagesize).
38917
38918 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38919 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38920 is always initialized.
38921
22a89187
UD
38922 * malloc/malloc.c: Removed unused configurations and dead code.
38923 * malloc/arena.c: Likewise.
38924 * malloc/hooks.c: Likewise.
02d46fc4 38925 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38926
d063d164
UD
38927 * include/tls.h: Removed. USE___THREAD must always be defined.
38928 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38929 * elf/dl-libc.c: Likewise.
38930 * elf/dl-tsd.c: Likewise.
38931 * include/errno.h: Likewise.
38932 * include/netdb.h: Likewise.
38933 * include/resolv.h: Likewise.
38934 * inet/herrno-loc.c: Likewise.
38935 * inet/herrno.c: Likewise.
38936 * malloc/arena.c: Likewise.
38937 * malloc/hooks.c: Likewise.
38938 * malloc/malloc.c: Likewise.
38939 * resolv/res-state.c: Likewise.
38940 * resolv/res_libc.c: Likewise.
38941 * sysdeps/i386/dl-machine.h: Likewise.
38942 * sysdeps/ia64/dl-machine.h: Likewise.
38943 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38944 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38945 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38946 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38947 * sysdeps/sh/dl-machine.h: Likewise.
38948 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38949 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38950 * sysdeps/unix/i386/sysdep.S: Likewise.
38951 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38952 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38953 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38955 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38957 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38961 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38962 * sysdeps/x86_64/dl-machine.h: Likewise.
38963 * tls.make.c: Likewise.
38964
3ce1f295
UD
38965 * configure.in: Remove --with-__thread option. Make tests for
38966 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38967 tls_model attribute fail if no support is available. Remove
38968 USE_IN_LIBIO.
38969 * Makeconfig: Adjust for dropped configure option. All features are
38970 now mandatory.
38971 * Makerules: Likewise.
38972 * Versions.def: Likewise.
38973 * argp/argp-fmtstream.c: Likewise.
38974 * argp/argp-fmtstream.h: Likewise.
38975 * argp/argp-help.c: Likewise.
38976 * assert/assert.c: Likewise.
38977 * config.h.in: Likewise.
38978 * config.make.in: Likewise.
38979 * configure: Likewise.
38980 * configure.in: Likewise.
38981 * csu/Versions: Likewise.
38982 * csu/init.c: Likewise.
38983 * elf/tst-audit2.c: Likewise.
38984 * elf/tst-tls10.c: Likewise.
38985 * elf/tst-tls10.h: Likewise.
38986 * elf/tst-tls11.c: Likewise.
38987 * elf/tst-tls12.c: Likewise.
38988 * elf/tst-tls14.c: Likewise.
38989 * elf/tst-tlsmod11.c: Likewise.
38990 * elf/tst-tlsmod12.c: Likewise.
38991 * elf/tst-tlsmod13.c: Likewise.
38992 * elf/tst-tlsmod13a.c: Likewise.
38993 * elf/tst-tlsmod14a.c: Likewise.
38994 * elf/tst-tlsmod15b.c: Likewise.
38995 * elf/tst-tlsmod16a.c: Likewise.
38996 * elf/tst-tlsmod16b.c: Likewise.
38997 * elf/tst-tlsmod7.c: Likewise.
38998 * elf/tst-tlsmod8.c: Likewise.
38999 * elf/tst-tlsmod9.c: Likewise.
39000 * gmon/gmon.c: Likewise.
39001 * grp/fgetgrent_r.c: Likewise.
39002 * grp/putgrent.c: Likewise.
39003 * hurd/fopenport.c: Likewise.
39004 * include/libc-symbols.h: Likewise.
39005 * include/tls.h: Likewise.
39006 * intl/gettextP.h: Likewise.
39007 * intl/loadinfo.h: Likewise.
39008 * locale/global-locale.c: Likewise.
39009 * locale/localeinfo.h: Likewise.
39010 * mach/devstream.c: Likewise.
39011 * malloc/arena.c: Likewise.
39012 * malloc/set-freeres.c: Likewise.
39013 * misc/err.c: Likewise.
39014 * misc/getttyent.c: Likewise.
39015 * misc/mntent_r.c: Likewise.
39016 * posix/getopt.c: Likewise.
39017 * posix/wordexp.c: Likewise.
39018 * pwd/fgetpwent_r.c: Likewise.
39019 * resolv/Versions: Likewise.
39020 * resolv/res_hconf.c: Likewise.
39021 * shadow/fgetspent_r.c: Likewise.
39022 * shadow/putspent.c: Likewise.
39023 * stdio-common/printf_fphex.c: Likewise.
39024 * stdio-common/tmpfile.c: Likewise.
39025 * stdlib/abort.c: Likewise.
39026 * stdlib/fmtmsg.c: Likewise.
39027 * sunrpc/auth_unix.c: Likewise.
39028 * sunrpc/clnt_perr.c: Likewise.
39029 * sunrpc/clnt_tcp.c: Likewise.
39030 * sunrpc/clnt_udp.c: Likewise.
39031 * sunrpc/clnt_unix.c: Likewise.
39032 * sunrpc/openchild.c: Likewise.
39033 * sunrpc/svc_simple.c: Likewise.
39034 * sunrpc/svc_tcp.c: Likewise.
39035 * sunrpc/svc_udp.c: Likewise.
39036 * sunrpc/svc_unix.c: Likewise.
39037 * sunrpc/xdr.c: Likewise.
39038 * sunrpc/xdr_array.c: Likewise.
39039 * sunrpc/xdr_rec.c: Likewise.
39040 * sunrpc/xdr_ref.c: Likewise.
39041 * sunrpc/xdr_stdio.c: Likewise.
39042
1248c1c4
PB
390432011-09-09 Ulrich Drepper <drepper@gmail.com>
39044
39045 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39046
390472011-07-03 Andreas Jaeger <aj@suse.de>
39048
39049 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39050 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39051 regenerate with gen-libm-tests.pl.
39052
390532010-05-12 Petr Baudis <pasky@suse.cz>
39054
39055 [BZ #11589]
39056 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39057 around j0() zero points by switching to j1().
39058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39061 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39062
f22e1074
UD
390632011-09-09 Ulrich Drepper <drepper@gmail.com>
39064
f19009c1
UD
39065 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39066 instead of 0.
39067 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39068 instead of 0.
f19009c1
UD
39069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39070 Patch in part by Pavel Roskin <proski@gnu.org>.
39071
3f8cc204
UD
39072 [BZ #13138]
39073 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39074 realloc.
39075 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39076 Free memory block if necessary.
39077
f22e1074
UD
39078 [BZ #12847]
39079 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39080 be NULL. Don't lock in this case.
39081
0a2349f9
RM
390822011-09-09 Roland McGrath <roland@hack.frob.com>
39083
39084 * elf/elf.h (ELFOSABI_GNU): New macro.
39085 (ELFOSABI_LINUX): Define to that.
39086
f3cdd467
DZ
390872011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39088
39089 * string/strncat.c (strncat): Undef the symbol in case it has been
39090 defined in bits/string.h.
39091
74718d13
UD
390922011-09-09 Ulrich Drepper <drepper@gmail.com>
39093
633e9e0f
UD
39094 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39095
0a2349f9 39096 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39097 link map.
39098
f9924780
AJ
390992011-08-17 Andreas Jaeger <aj@suse.de>
39100
39101 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39102
7f5517aa
PP
391032011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39104 Ian Lance Taylor <iant@google.com>
39105
39106 * math/libm-test.inc (lround_test): New testcase.
39107 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39108
762011fe
UD
391092011-09-08 Ulrich Drepper <drepper@gmail.com>
39110
92963737
UD
39111 * Makefile: Remove support for automatic cvs check-ins.
39112 * Makerules: Likewise.
39113 * config.make.in: Likewise.
39114 * configure.in: Likewise.
39115 * intl/Makefile: Likewise.
39116 * locale/Makefile: Likewise.
39117 * po/Makefile: Likewise.
39118 * posix/Makefile: Likewise.
39119 * sysdeps/gnu/Makefile: Likewise.
39120 * sysdeps/mach/hurd/Makefile: Likewise.
39121 * sysdeps/sparc/sparc32/Makefile: Likewise.
39122
b0727fd8
JS
39123 [BZ #13118]
39124 * posix/Makefile (bug-regex32-ENV): Define.
39125 Patch by John Stanley <jpsinthemix@verizon.net>.
39126
a0f33f99
UD
39127 * misc/Makefile (headers): Add bits/select2.h.
39128 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39129 * misc/bits/select2.h: New file.
39130 * include/bits/select2.h: New file.
39131 * debug/Makefile (routines): Add fdelt_chk.
39132 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39133 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39134 FD_ISSET.
39135 * debug/fdelt_chk.c: New file.
39136
762011fe
UD
39137 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39138 * wcsmbs/test-wmemcmp.c: Likewise.
39139 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39140 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39141
391422011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39143
39144 * string/Makefile (strop-tests): Add memcmp.
39145 * string/test-wmemcmp.c: New file.
39146 * string/test-memcmp.c: Add wmemcmp support.
39147
7f513ec8
RM
391482011-09-08 Roland McGrath <roland@hack.frob.com>
39149
0442afb4
RM
39150 [BZ #13153]
39151 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39152 2011-07-19 change.
39153
7f513ec8
RM
39154 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39155 garbage value in a __mach_port_mod_refs call in the cases of the
39156 task-self and thread-self ports.
39157
a12b2239
ST
391582011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39159
39160 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39161
610f9ab4
AS
391622011-09-08 Andreas Schwab <schwab@redhat.com>
39163
7f513ec8 39164 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39165
48882a1a
LD
391662011-09-07 Ulrich Drepper <drepper@gmail.com>
39167
b49865be
UD
39168 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39169
fdc86bc9
UD
39170 * elf/dl-libc.c (dlerror_run): Pass back error code from
39171 dl_catch_error.
39172
c966526a
UD
39173 [BZ #13123]
39174 * elf/dl-load.c (lose): Free l_origin if it is valid.
39175
48882a1a
LD
39176 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39177 names.
39178 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39179 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39180 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39181 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39182 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39183 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39184
77a2a8b4
AZ
391852011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39186
39187 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39188 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39189 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39190 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39191 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39192 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39193 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39194 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39195 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39196 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39197
24f579d8
AM
391982011-08-15 Alan Modra <amodra@gmail.com>
39199
39200 [BZ #13092]
39201 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39202 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39203 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39204 ppc_mcount to static-only-routines.
39205 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39206 __mcount_internal.
39207 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39208 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39209
3d4837df
UD
392102011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39211
39212 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39213 for finite and infinity parameters.
39214
22700377
WS
392152011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39216
39217 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39218 and add nop instructions for throughput optimization.
39219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39220
5025581e
WS
392212011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39222
39223 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39224 aligned copy for power7 with vector-scalar instructions.
39225 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39226
08a300c9
L
392272011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39228
39229 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39230 AVX check.
39231
59178ef9
AS
392322011-09-07 Andreas Schwab <schwab@redhat.com>
39233
39234 [BZ #13144]
39235 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39236 last change.
39237
e38ba7ab
UD
392382011-09-07 Ulrich Drepper <drepper@gmail.com>
39239
39240 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39241 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39242 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39243 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39244 clock_gettime.
39245
d53a73ac
UD
392462011-09-06 Ulrich Drepper <drepper@gmail.com>
39247
fc8bffcc
UD
39248 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39249 Forgot to demangle the pointer.
39250
ceaa0c5d
UD
39251 * sysdeps/i386/sysdep.h: Define atom_text_section.
39252 * sysdeps/x86_64/sysdep.h: Likewise.
39253 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39254 section with atom_text_section.
39255 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39256 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39257 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39259 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39260
a77d3c17
UD
39261 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39262 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39263 already be defined. Change to take two parameters and don't assign
39264 result to variable. Adjust all users.
39265 Define INTERNAL_GETTIME if not already defined.
39266 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39267 call.
39268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39269 HAVE_CLOCK_GETTIME_VSYSCALL.
39270 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39271
d53a73ac
UD
39272 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39273 gettimeofday vsyscall, just use time.
39274
a8f84144
AS
392752011-09-06 Andreas Schwab <schwab@redhat.com>
39276
39277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39278 <errno.h>.
39279
ef606249
UD
392802011-09-06 Ulrich Drepper <drepper@gmail.com>
39281
39282 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39283 syscall on x86-64.
39284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39285 syscall.
39286 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39287 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39288 syscall if possible.
39289
6585cb60
UD
392902011-09-05 Ulrich Drepper <drepper@gmail.com>
39291
39292 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39293 e_ident. Don't pass to find_mapsXX.
39294 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39295
a5f524e4
LD
392962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39297
39298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39299 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39300 * sysdeps/x86_64/multiarch/strchr.S: Update.
39301 Check bit_slow_BSF bit.
39302 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39303 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39304 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39305
554881ef
UD
393062011-09-05 Ulrich Drepper <drepper@gmail.com>
39307
d96de963
UD
39308 [BZ #13134]
39309 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39310 before glibc 2.15.
39311 (tryshell): Define.
39312 (__spawni): Change last parameter to be flag. Test
39313 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39314 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39315 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39316 * posix/spawni.c: Likewise.
39317 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39318 * posix/spawnp.c: Likewise. Change normal version to use
39319 SPAWN_XFLAGS_USE_PATH.
39320 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39321 SPAWN_XFLAGS_TRY_SHELL.
39322
d48e5868
UD
39323 [BZ #13150]
39324 * posix/glob.h: Remove gcc 1.x support.
39325
554881ef
UD
39326 [BZ #13068]
39327 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39328
693fb948
LD
393292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39330
39331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39332 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39333 strrchr-sse2-bsf
39334 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39335 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39336 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39337 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39338 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39339 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39340
1b48c537
UD
393412011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39342
49d42c37
UD
39343 * sysdeps/x86_64/wcscmp.S: New file.
39344
1b48c537
UD
39345 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39346 wcscmp-c wcscmp-sse2
39347 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39348 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39349 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39350 * wcsmbs/wcscmp.c: Allow renaming.
39351
15c95c5d
DM
393522011-09-05 David S. Miller <davem@davemloft.net>
39353
39354 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39355 stack slot, rather than the struct return pointer slot.
39356 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39357 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39359 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39360
2f0ad8f3
UD
393612011-09-05 Ulrich Drepper <drepper@gmail.com>
39362
d88ae418
UD
39363 * po/ja.po: Update from translation team.
39364
2f0ad8f3
UD
39365 [BZ #13144]
39366 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39367 kernel in 64-bit binaries.
39368
5f4318d1
DM
393692011-09-01 David S. Miller <davem@davemloft.net>
39370
39371 * elf/elf.h (HWCAP_SPARC_*): Move to..
39372 * sysdeps/sparc/sysdep.h: this new file and add new values.
39373 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39374 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39375 _DL_HWCAP_COUNT to 24.
39376 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39377 entries.
39378 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39379 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39380 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39382 instead of magic constants.
39383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39384
3ba57516
DM
393852011-08-31 David S. Miller <davem@davemloft.net>
39386
39387 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39389 Reimplement to do errno handling inline.
39390 (SYSCALL_ERROR_HANDLER): New macro.
39391 (__SYSCALL_STRING): Do not do errno handling in asm.
39392 (__CLONE_SYSCALL_STRING): Delete.
39393 (__INTERNAL_SYSCALL_STRING): Delete.
39394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39395 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39396 (PSEUDO): Reimplement to do errno handling inline.
39397 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39398 (SYSCALL_ERROR_HANDLER): New macro.
39399 (__SYSCALL_STRING): Do not do errno handling in asm.
39400 (__CLONE_SYSCALL_STRING): Delete.
39401 (__INTERNAL_SYSCALL_STRING): Delete.
39402 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39403 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39404 i386.
39405 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39406 (inline_syscall*): Add 'err' argument.
39407 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39408 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39409 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39410 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39411
39412 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39413 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39414
2bc17433
AS
394152011-08-30 Andreas Schwab <schwab@redhat.com>
39416
39417 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39418
fbeb5f4d
JO
394192011-08-29 Jiri Olsa <jolsa@redhat.com>
39420
39421 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39422 directive.
39423
ad69cc26
DM
394242011-08-24 David S. Miller <davem@davemloft.net>
39425
39426 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39427
39dd69df
AS
394282011-08-24 Andreas Schwab <schwab@redhat.com>
39429
39430 * elf/Makefile: Add rules to build and run unload8 test.
39431 * elf/unload8.c: New file.
39432 * elf/unload8mod1.c: New file.
39433 * elf/unload8mod1x.c: New file.
39434 * elf/unload8mod2.c: New file.
39435 * elf/unload8mod3.c: New file.
39436
39437 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39438 it wasn't used.
39439
2c0b250a
DM
394402011-08-23 David S. Miller <davem@davemloft.net>
39441
39442 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39443 subtract stack bias.
39444 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39445 %sp not %fp in calculations.
39446 (_JMPBUF_UNWINDS_ADJ): Likewise.
39447
22044b48
DM
39448 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39449 (aio_suspend): Call it to force an exception region around the
39450 AIO_MISC_WAIT() invocation.
39451
2cae4995
AS
394522011-08-23 Andreas Schwab <schwab@redhat.com>
39453
39454 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39455 backslash.
39456
873a772e
AJ
394572011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39458
39459 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39460 protection macro.
39461 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39462 and <dl-machine.h>.
39463 (Elf64_FuncDesc): Remove.
39464
25ad0df1
DM
394652011-08-22 David S. Miller <davem@davemloft.net>
39466
39467 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39468 sigaltstack check, add missing cfi directives.
39469 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39470 missing cfi directives, and sigaltstack handling.
39471
e888bcbe
AS
394722011-08-16 Andreas Schwab <schwab@redhat.com>
39473
39474 [BZ #11724]
39475 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39476 object is seen twice.
39477 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39478
39479 * elf/Makefile (distribute): Add tst-initorder2.c.
39480 (tests): Add tst-initorder2.
39481 (modules-names): Add tst-initorder2a tst-initorder2b
39482 tst-initorder2c tst-initorder2d. Add rules to build them.
39483 ($(objpfx)tst-initorder2.out): New rule.
39484 * elf/tst-initorder2.c: New file.
39485 * elf/tst-initorder2.exp: New file.
39486
87162f46
AS
394872011-08-22 Andreas Schwab <schwab@redhat.com>
39488
70538b7f
AS
39489 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39490
f55ffe58
AS
39491 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39492 dependencies back to end of function.
39493
87162f46
AS
39494 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39495 $(elfobjdir)/ld.so.
39496
91b392a4
UD
394972011-08-21 Ulrich Drepper <drepper@gmail.com>
39498
39499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39500 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39502 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39503 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39504 of __vdso_gettimeofday.
39505 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39506 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39507 attribute_hidden.
39508 (_libc_vdso_platform_setup): Remove initialization of
39509 __vdso_gettimeofday and __vdso_time.
39510
5c43483f
UD
395112011-08-20 Ulrich Drepper <drepper@gmail.com>
39512
775a77e7
UD
39513 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39514 and fgetc_unlocked.
39515 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39516 getc_unlocked.
89f447ed 39517
49c74ba9
UD
39518 * elf/dl-open.c (add_to_global): Report additions to the global scope
39519 for LD_DEBUG=scopes.
39520 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39521 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39522
5c43483f
UD
39523 [BZ #13114]
39524 * stdio-common/Makefile (tests): Add bug24.
39525 * stdio-common/bug24.c: New file.
39526
a101b025
AJ
395272011-08-19 Andreas Jaeger <aj@suse.de>
39528
39529 [BZ #13114]
39530 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39531 non-existant file when using close-on-exec mode.
39532
c88f1766
UD
395332011-08-20 Ulrich Drepper <drepper@gmail.com>
39534
0276a718
UD
39535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39536 the very first instruction.
39537
c88f1766
UD
39538 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39539 the CFI state in the end.
39540 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39541 inclusion of dl-trampoline.h.
39542 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39543
51ccffa0
AS
395442011-08-19 Andreas Schwab <schwab@redhat.com>
39545
94d7165f
AS
39546 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39547 expectations for long double.
39548
51ccffa0
AS
39549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39550 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39551
fd708658 395522011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39553
39554 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39555 artificual limit depends upon the system page size.
39556
44f0a71e
UD
395572011-08-17 Ulrich Drepper <drepper@gmail.com>
39558
39559 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39560 * resolv/Makefile: Define CFLAGS-libresolv.
39561
8de79a24
AS
395622011-08-17 Andreas Schwab <schwab@redhat.com>
39563
39564 * nss/makedb.c (compute_tables): Make variables used in nested
39565 function static.
39566
27724598
UD
395672011-08-17 Ulrich Drepper <drepper@gmail.com>
39568
c5305d88
UD
39569 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39570 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39571 if buffer was too small.
39572
27724598
UD
39573 * elf/pldd.c (main): Attach to all threads in the process.
39574 Rewrite /proc handling to use *at functions.
39575
076fe015
UD
395762011-08-16 Ulrich Drepper <drepper@gmail.com>
39577
174baab3
UD
39578 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39579 specifies first scope to show.
39580 (dl_open_worker): Update callers. Move printing scope of new
39581 object to before the relocation.
44f0a71e 39582 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39583 * sysdeps/generic/ldsodefs.h: Update declaration.
39584
076fe015
UD
39585 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39586 string for the scope number.
39587
a60df2c3
UD
395882011-08-14 Ulrich Drepper <drepper@gmail.com>
39589
39590 * nscd/servicescache.c (cache_addserv): Make sure written is always
39591 initialized.
39592
5e4287d1
RM
395932011-08-14 Roland McGrath <roland@hack.frob.com>
39594
85ae0589
RM
39595 * sysdeps/i386/i486/bits/atomic.h
39596 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39597 statement expression, so as to suppress "set but not used" warning.
39598 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39599
69f63097
RM
39600 * string/strncat.c (STRNCAT): Use prototype definition.
39601
675456ef
RM
39602 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39603 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39604 -Iprograms here.
39605 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39606 (localedef-modules): Add localedef.
39607 (locale-modules): Add locale.
39608
5e4287d1
RM
39609 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39610 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39611 to avoid a warning.
39612
9c96ff23
DM
396132011-08-14 David S. Miller <davem@davemloft.net>
39614
39615 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39616 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39617
f9ddf089
UD
396182011-08-13 Ulrich Drepper <drepper@gmail.com>
39619
44f0a71e 39620 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39621 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39622 * elf/rtld.c (dl_main): Set l_name of vDSO.
39623 Call _dl_show_scope when DL_DEBUG_SCOPES.
39624 (process_dl_debug): Recognize scopes flag and also set it for all.
39625 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39626 Declare _dl_show_scope.
39627
1dc27704
UD
39628 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39629 (do_dlopen): Pass caller_dlopen to dl_open.
39630 (__libc_dlopen_mode): Initialize caller_dlopen.
39631
f9ddf089
UD
39632 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39633 of libc. Make tolower call locale-independent. Optimize a bit by
39634 using isdigit instead of isalnum.
39635 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39636
9ac533d3
UD
396372011-08-12 Ulrich Drepper <drepper@gmail.com>
39638
39639 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39640 was a dependency or dynamically loaded.
39641
89edf2e9
UD
396422011-08-11 Ulrich Drepper <drepper@gmail.com>
39643
8e999d29
UD
39644 * intl/l10nflist.c: Allow architecture-specific pop function.
39645 * sysdeps/x86_64/l10nflist.c: New file.
39646
89edf2e9
UD
39647 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39648 classification.
39649
14d96785
AS
396502011-08-10 Andreas Schwab <schwab@redhat.com>
39651
39652 * include/dirent.h: Add libc_hidden_proto for scandirat and
39653 scandirat64. Don't declare __scandirat64.
39654 * dirent/scandirat.c: Add libc_hidden_def.
39655 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39656 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39657
6761ac04
DM
396582011-08-10 David S. Miller <davem@davemloft.net>
39659
39660 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39661 enum.
39662 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39664 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39665
c55fbd1e
UD
396662011-08-09 Ulrich Drepper <drepper@gmail.com>
39667
39668 * Versions.def [libc]: Add GLIBC_2.15.
39669 * dirent/Makefile (routines): Add scandirat and scandirat64.
39670 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39671 GLIBC_2.15.
39672 * dirent/dirent.h: Declare scandirat and scandirat64.
39673 * dirent/scandirat.c: New file.
39674 * dirent/scandirat64.c: New file.
39675 * sysdeps/wordsize-64/scandirat.c: New file.
39676 * sysdeps/wordsize-64/scandirat64.c: New file.
39677 * dirent/opendir.c: Define opendirat.
39678 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39679 using scandirat.
39680 * dirent/scandir64.c: Adjust for scandir.c change.
39681 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39682 __scandirat64, and __scandir_cancel_handler.
39683 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39684 additional parameter and use openat instead of open (outside of ld.so).
39685 Add new __opendir as wrapper around __opendirat.
39686 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39687 here without requiring old scandirat implementation.
39688
879165f2
UD
396892011-08-08 Ulrich Drepper <drepper@gmail.com>
39690
39691 * dirent/scandir.c (cancel_handler): Renamed to
39692 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39693 defined. Adjust users.
39694 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39695 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39696
cb7e923b
UD
396972011-08-04 Ulrich Drepper <drepper@gmail.com>
39698
16292edd
UD
39699 * string/test-string.h (IMPL): Use __STRING to expand name and then
39700 stringify it.
39701
cb7e923b
UD
39702 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39703 of cleanups.
39704
cff82933
LD
397052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39706
39707 * string/Makefile: Update.
39708 (strop-tests): Append strncat.
39709 * string/test-wcscmp.c: New file.
39710 New comprehensive test for wcscmp.
39711 * string/test-strcmp.c: Update.
39712 (WIDE): New define.
39713
9be9bfcc
AS
397142011-07-22 Andreas Schwab <schwab@redhat.com>
39715
39716 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39717 line.
39718
2e96f1c7
AS
397192011-07-26 Andreas Schwab <schwab@redhat.com>
39720
39721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39722 encoding to ACE if AI_IDN.
39723
85188888
JJ
397242011-08-01 Jakub Jelinek <jakub@redhat.com>
39725
39726 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39727 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39728
5fa16e9b
LD
397292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39730
39731 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39732 Fix overflow bug in strncat.
39733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39734
39735 * string/test-strncat.c: Update.
39736 Add new tests for checking overflow bugs.
39737
397382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39739
39740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39741 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39742 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39743 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39744 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39745 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39746 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39747 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39748 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39749
39750 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39751 (USE_AS_STRCAT): Define.
39752 Add strcat and strncat support.
39753 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39754
8c1a459f
AS
397552011-07-25 Andreas Schwab <schwab@redhat.com>
39756
39757 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39758 __n bigger than INT_MAX+1.
39759 (__strncmp_g): Likewise.
39760
bba33c28
UD
397612011-07-23 Ulrich Drepper <drepper@gmail.com>
39762
798be72d
UD
39763 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39764 * libio/stido.h: Likewise.
39765
8accd4dc
UD
39766 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39767 (AF_NFC): Define.
39768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39769 (AF_NFC): Define.
39770
cbff0d96
UD
39771 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39772 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39774 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39776
9191c04a
UD
39777 [BZ #13021]
39778 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39779 installed.
39780
bba33c28
UD
39781 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39782 typo.
39783 (_dl_x86_64_save_sse): Likewise.
39784
90f139dd
UD
397852011-07-22 Ulrich Drepper <drepper@gmail.com>
39786
1aae088a
UD
39787 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39788 OSXSAVE.
39789 (_dl_x86_64_save_sse): Likewise.
39790
8e2045f5
UD
39791 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39792
90f139dd
UD
39793 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39794
1d002f25
AS
397952011-07-21 Andreas Schwab <schwab@redhat.com>
39796
39797 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39798 change.
39799 (_dl_x86_64_save_sse): Use correct AVX check.
39800
21137f89
UD
398012011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39802
39803 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39804 bug in strncpy/strncat.
39805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39806
a65c0b7a
UD
398072011-07-21 Ulrich Drepper <drepper@gmail.com>
39808
39809 * string/tester.c (test_strcat): Add tests for different alignments
39810 of source and destination.
39811 (test_strncat): Likewise.
39812
6986b98a
UD
398132011-07-20 Ulrich Drepper <drepper@gmail.com>
39814
90bb2039
UD
39815 [BZ #12852]
39816 * posix/glob.c (glob): Check passed in values before using them in
39817 expressions to avoid some overflows.
39818 (glob_in_dir): Likewise.
39819
5644ef54
UD
39820 [BZ #13007]
39821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39822 check for AVX enablement so that we don't crash with old kernels and
39823 new hardware.
39824 * elf/tst-audit4.c: Add same checks here.
39825 * elf/tst-audit6.c: Likewise.
39826
39827 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39828
bfc9dc9b
AS
398292011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39830
39831 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39832
702e64bb
UD
398332011-07-20 Ulrich Drepper <drepper@gmail.com>
39834
39835 * po/cs.po: Update from translation team.
39836 * po/bg.po: Likewise.
39837
295e904f
MP
398382011-07-12 Marek Polacek <mpolacek@redhat.com>
39839
39840 * misc/sys/cdefs.h: Add support for const attribute.
39841 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39842 to gnu_dev_{major,minor,makedev} functions.
39843
3ff94596
MP
398442011-07-20 Marek Polacek <mpolacek@redhat.com>
39845
39846 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39847
28b59fca
AS
398482011-07-20 Andreas Schwab <schwab@redhat.com>
39849
39850 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39851 strlen results.
39852
19df733e
AK
398532011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39854
39855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39856 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39857 register in order to avoid conflicts with the soft frame pointer
39858 being held in r11 when necessary.
39859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39860 (INTERNAL_VSYSCALL_NCS): Likewise.
39861
c8835729
MP
398622011-07-14 Marek Polacek <mpolacek@redhat.com>
39863
39864 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39865 * elf/dl-fini.c (_dl_fini): Adjust caller.
39866 * elf/dl-close.c (_dl_close_worker): Likewise.
39867 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39868
b902330c
MP
398692011-07-15 Marek Polacek <mpolacek@redhat.com>
39870
8991e135
MP
39871 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39872 "aux_cache->nlibs < 0".
39873
b902330c
MP
39874 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39875 in the reload-count case.
39876
99710781
LD
398772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39878
39879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39880 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39881 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39882 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39883 * sysdeps/x86_64/multiarch/strcat.S: New file.
39884 * sysdeps/x86_64/multiarch/strncat.S: New file.
39885 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39886 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39887 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39888 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39889 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39890 (USE_AS_STRCAT): Define.
39891 Add strcat and strncat support.
39892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39893 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39894 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39895 * string/strncat.c: Update.
39896 (USE_AS_STRNCAT): Define.
39897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39898 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39899 and i7.
39900 * sysdeps/x86_64/multiarch/init-arch.h
39901 (bit_Prefer_PMINUB_for_stringop): New.
39902 (index_Prefer_PMINUB_for_stringop): Likewise.
39903 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39904 bit_Prefer_PMINUB_for_stringop.
39905
7dc6bd90
UD
399062011-07-19 Ulrich Drepper <drepper@gmail.com>
39907
39908 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39909 buffer64.
39910 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39911 of casting of buffer.
39912 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39913 buffer32 and buffer64.
39914 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39915 writes instead of casting of buffer.
39916 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39917 buffer32.
39918 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39919 casting of buffer.
39920
e0e72284
AS
399212011-07-19 Andreas Schwab <schwab@redhat.com>
39922
39923 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39924
feb1eb0b
UD
399252011-07-19 Ulrich Drepper <drepper@gmail.com>
39926
39927 * nscd/nscd.c (termination_handler): Don't do anything for a database
39928 if it has not yet been initialized.
39929
298711ff
UD
399302011-07-18 Ulrich Drepper <drepper@gmail.com>
39931
39932 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39933
399342011-07-15 Marek Polacek <mpolacek@redhat.com>
39935
39936 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39937
f9d68389
UD
399382011-07-18 Ulrich Drepper <drepper@gmail.com>
39939
39940 * po/nl.po: Update from translation team.
39941 * po/sv.po: Likewise.
39942
db290cf5
RM
399432011-07-16 Roland McGrath <roland@hack.frob.com>
39944
39945 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39946 now disallowed by GCC.
5c550700 39947
fd5e21c7
RM
39948 * configure.in (use-default-link): Default to yes if a test -shared
39949 link meets our qualifications.
39950 * configure: Regenerated.
39951
5c550700
RM
39952 * config.make.in (output-format): New variable.
39953 * configure.in: Check for ld --print-output-format support.
39954 * configure: Regenerated.
39955 * Makerules ($(common-objpfx)format.lds)
39956 [$(output-format) != unknown]: Just use $(output-format),
39957 instead of the linker-script munging.
39958
9fa2c032
RM
399592011-07-14 Roland McGrath <roland@hack.frob.com>
39960
a6928d51
RM
39961 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39962 of $(common-objpfx)shlib.lds.
39963 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39964
661607b3
RM
39965 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39966 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39967
9fa2c032
RM
39968 * configure.in (-z relro check): Adjust test code to add a large
39969 writable data section after it.
39970 * configure: Regenerated.
39971
defe9061
RM
399722011-07-11 Roland McGrath <roland@hack.frob.com>
39973
39974 * configure.in (-z relro check): Fix test code to make the variable
39975 truly const.
39976 * configure: Regenerated.
39977
319b9ad4
UD
399782011-07-11 Ulrich Drepper <drepper@gmail.com>
39979
39980 * nscd/nscd.h (struct traced_file): Define.
39981 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39982 elements. Add traced_files.
39983 (inotify_fd): Declare.
39984 (register_traced_file): Declare.
39985 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39986 (inotify_fd): Export.
39987 (resolv_conf_descr): Remove.
39988 (nscd_init): Move inotify descriptor creation to main.
39989 Don't register files for notification here.
39990 (register_traced_file): New function.
39991 (invalidate_cache): Don't use reset_res to determine whether to call
39992 res_init, go through the list of registered files.
39993 (main_loop_poll): The inotify descriptors are now stored in the
39994 structures for the traced files.
39995 (main_loop_epoll): Likewise
39996 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39997 to __nss_disable_nscd.
39998 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39999 for a database anymore. Check the records for all the registered
40000 files instead.
40001 * nss/Makefile (libnss_files-routines): Add files-init.
40002 (libnss_db-routines): Add db-init.
40003 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40004 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40005 * nss/nss_db/db-init.c: New file.
40006 * nss/nss_files/files-init.c: New file.
40007 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40008 __nss_lookup_function.
40009 (__nss_lookup_function): Call nss_load_library.
40010 (nss_load_all_libraries): New function.
40011 (__nss_disable_nscd): Take parameter with callback function for files
40012 to register. Set is_nscd. Load all the DSOs for the NSS modules
40013 used for the cached services.
40014 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40015 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40016 options for features to all the files in nscd.
40017
40018 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40019
23bee3e8
RM
400202011-07-10 Roland McGrath <roland@hack.frob.com>
40021
40022 * csu/elf-init.c (__libc_csu_init): Comment typo.
40023
46a5b7f0
UD
400242011-07-09 Ulrich Drepper <drepper@gmail.com>
40025
40026 * po/pl.po: Update from translation team.
40027 * po/ja.po: Likewise.
40028 * po/ru.po: Likewise.
40029 * po/ko.po: Likewise.
40030 * po/fr.po: Likewise.
40031
d30cf5bb
RM
400322011-07-09 Roland McGrath <roland@hack.frob.com>
40033
113ddea4
RM
40034 * configure.in (.ctors/.dtors header and trailer check):
40035 Use an empirical test on a built program.
40036 * configure: Regenerated.
40037
574920b4
RM
40038 * configure.in (-z relro check): Use an empirical test on a built DSO.
40039 Detect, but do not require, on ia64.
40040 * configure: Regenerated.
40041
d30cf5bb
RM
40042 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40043 Update tests that use readelf to use $READELF instead.
40044 * configure: Regenerated.
40045
8538fdb3
UD
400462011-07-08 Ulrich Drepper <drepper@gmail.com>
40047
40048 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40049 if the result is not used.
40050
04d08991
AJ
400512011-07-05 Andreas Jaeger <aj@suse.de>
40052
40053 [BZ#9696]
40054 * stdlib/tst-strtod.c: Add testcase.
40055
de283087
AD
400562011-07-07 Ulrich Drepper <drepper@gmail.com>
40057
4e5f31c8 40058 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40059 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40060 The latter has a higher limit. Take additional parameter to pass to
40061 the new function.
40062 (__pathconf): Pass file to __statfs_link_max.
40063 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40064 __statfs_link_max.
40065 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40066 __statfs_link_max.
40067
de283087
AD
40068 [BZ #12868]
40069 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40070 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40071 Handle Lustre.
40072 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40073 (__statfs_filesize_max): Likewise.
40074 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40075
c75fa153
AJ
400762011-07-05 Andreas Jaeger <aj@suse.de>
40077
40078 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40079
1a544854
UD
400802011-07-06 Marek Polacek <mpolacek@redhat.com>
40081
40082 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40083 `status' variable.
40084 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40085 Likewise.
40086
6f0eec67
UD
400872011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40088
40089 * Makefile (strop-tests): Add strncat.
40090 * string/test-strncat.c: New file.
40091
aae30307
UD
400922011-06-30 Marek Polacek <mpolacek@redhat.com>
40093
40094 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40095
c0cfb5eb
UD
400962011-06-21 Andreas Jaeger <aj@suse.de>
40097
40098 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40099 Copy rule from iconvdata/Makefile.
40100
01636b21
UD
401012011-07-06 Ulrich Drepper <drepper@gmail.com>
40102
40103 [BZ #12922]
40104 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40105 but no long options are defined, just return 'W'.
40106
9895c8bc
UD
401072011-06-22 Marek Polacek <mpolacek@redhat.com>
40108
40109 [BZ #9696]
40110 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40111
5d4cf042
UD
401122011-07-06 Ulrich Drepper <drepper@gmail.com>
40113
40114 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40115 netgroups to read.
960e5535 40116 (innetgr): Likewise.
5d4cf042 40117
751eb97e
RM
401182011-07-05 Roland McGrath <roland@hack.frob.com>
40119
40120 * config.make.in (install_root): Default to $(DESTDIR).
40121
f15f1e45
UD
401222011-07-05 Ulrich Drepper <drepper@gmail.com>
40123
40124 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40125
4e34ac6a
RM
401262011-07-02 Roland McGrath <roland@hack.frob.com>
40127
5e9b6af4
RM
40128 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40129
84f9ea0f
RM
40130 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40131 containing directory rather than embedding absolute directory names.
40132
ea5ee9f7
RM
40133 * scripts/check-local-headers.sh: Rewritten using awk.
40134 Match by word, not by line. Print error messages for matches.
40135 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40136
1b74661a
RM
40137 * Makerules [shlib-lds-flags empty]:
40138 ($(common-objpfx)libc_pic.opts): New target.
40139 ($(common-objpfx)libc_pic.os.clean): New target.
40140 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40141
40142 * config.make.in (OBJCOPY): New variable.
40143 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40144 * configure: Regenerated.
40145
f781ef40
RM
40146 * config.make.in (use-default-link): New variable.
40147 * configure.in (use_default_link): Grok --with-default-link to set it.
40148 * configure: Regenerated.
40149 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40150 (shlib-lds, shlib-lds-flags): Define to empty.
40151
2d4fa81e
RM
40152 * Makerules (shlib-lds): New variable.
40153 (shlib-lds-flags): New variable.
40154 (build-shlib, build-moduile, build-module-asneeded): Use it.
40155 ($(common-objpfx)libc.so): Use $(shlib-lds).
40156 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40157 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40158
31fffa6b
RM
40159 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40160 DT_FLAGS/DT_FLAGS_1 with zero flags.
40161
4e34ac6a
RM
40162 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40163 linker script munging.
40164
fcfc776b
UD
401652011-07-02 Ulrich Drepper <drepper@gmail.com>
40166
40167 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40168 as 128-bit value.
40169 * crypt/sha512.c (sha512_process_block): Perform total addition using
40170 128-bit if possible.
40171 (__sha512_finish_ctx): Likewise.
40172 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40173 as 64-bit value.
40174 * crypt/sha256.c (SWAP64): Define.
40175 (sha256_process_block): Perform total addition using 64-bit if
40176 possible.
40177 (__sha256_finish_ctx): Likewise.
40178
99231d9a
UD
401792011-07-01 Ulrich Drepper <drepper@gmail.com>
40180
40181 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40183 * nscd/hstcache.c (cache_addhst): Likewise.
40184 * nscd/grpcache.c (cache_addgr): Likewise.
40185 * nscd/aicache.c (addhstaiX): Likewise
40186 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40187
445b4a53
TK
401882011-07-01 Thorsten Kukuk <kukuk@suse.de>
40189
40190 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40192 * nscd/hstcache.c (cache_addhst): Likewise.
40193 * nscd/grpcache.c (cache_addgr): Likewise.
40194 * nscd/aicache.c (addhstaiX): Likewise
40195
6d4d8e8e
AS
401962011-07-01 Andreas Schwab <schwab@redhat.com>
40197
40198 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40199 domain only when needed.
40200
89f654c5
AS
402012011-06-30 Andreas Schwab <schwab@redhat.com>
40202
40203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40204 is always restored.
40205
cf3b23ff
UD
402062011-06-29 Ulrich Drepper <drepper@gmail.com>
40207
40208 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40209 are re-adding the entry.
40210 * nscd/servicescache.c (cache_addserv): Likewise.
40211
751626f9
AJ
402122011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40213
40214 * sysdeps/generic/dl-irel.h: fix protection against multiple
40215 inclusions.
40216 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40217
9113ea1f
UD
402182011-06-28 Ulrich Drepper <drepper@gmail.com>
40219
5c0b8d90
UD
40220 [BZ #12935]
40221 * malloc/memusage.sh: Fix quoting in message.
40222 * debug/xtrace.sh: Likewise.
40223
9113ea1f
UD
40224 * configure.in: Remove support for --experimental-malloc option, make
40225 it the default.
40226 * config.make.in: Likewise.
40227 * malloc/Makefile: Likewise.
40228
a4172181
AS
402292011-06-27 Andreas Schwab <schwab@redhat.com>
40230
40231 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40232 two-byte characters.
40233
78a7eee7
RM
402342011-06-27 Roland McGrath <roland@hack.frob.com>
40235
62bede13
RM
40236 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40237 AC_CACHE_CHECK invocation.
40238 * configure: Regenerated.
40239
78a7eee7
RM
40240 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40241
5ce33a62
UD
402422011-06-27 Ulrich Drepper <drepper@gmail.com>
40243
034807a9
UD
40244 [BZ #12350]
40245 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40246 bit from old_res_options.
40247
4902da17
UD
40248 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40249
5ce33a62
UD
40250 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40251 value type for setfct.
40252
c2344f56
L
402532011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40254
40255 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40256 __gettimeofday instead of gettimeofday.
40257
68468076
UD
402582011-06-26 Ulrich Drepper <drepper@gmail.com>
40259
40260 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40261
acb0d739
L
402622011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40263
40264 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40265
40266 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40267 info.
40268
8912479f
L
402692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40270
40271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40272 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40273 strcpy-sse2-unaligned strncpy-sse2-unaligned
40274 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40275 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40276 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40277 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40278 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40279 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40280 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40281 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40282 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40283 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40284 (STRCPY): Support SSE2 and SSSE3 versions.
40285
d5495a11
UD
402862011-06-24 Ulrich Drepper <drepper@gmail.com>
40287
40288 [BZ #12874]
40289 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40290 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40291 kernels which artificially limit size of requests.
40292
0b1cbaae
L
402932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40294
40295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40296 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40297 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40298 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40299 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40300 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40301 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40302 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40303 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40305 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40306 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40307 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40308 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40309 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40311 Enable unaligned load optimization for Intel Core i3, i5 and i7
40312 processors.
40313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40314 Define.
40315 (index_Fast_Unaligned_Load): Define.
40316 (HAS_FAST_UNALIGNED_LOAD): Define.
40317
07f494a0
MP
403182011-06-23 Marek Polacek <mpolacek@redhat.com>
40319
40320 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40321
fa3fc0fe
UD
403222011-06-22 Ulrich Drepper <drepper@gmail.com>
40323
40324 [BZ #12907]
40325 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40326 until it is clear that the information is realy needed.
40327 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40328
e12df166
AS
403292011-06-22 Andreas Schwab <schwab@redhat.com>
40330
40331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40332
852eb34d
UD
403332011-06-22 Ulrich Drepper <drepper@gmail.com>
40334
84e2a551
UD
40335 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40336 /sys/devices/system/cpu/online if it is usable.
40337
852eb34d
UD
40338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40339 reading the information from the /proc filesystem to once a second.
40340
6e502e19
UD
403412011-06-21 Andreas Jaeger <aj@suse.de>
40342
40343 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40344 NULL after inclusion of kernel headers.
40345
75d39ff2
UD
403462011-06-21 Ulrich Drepper <drepper@gmail.com>
40347
51f9aa6a
UD
40348 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40349 calls to internal_setent.
40350
c0244a9d
UD
40351 [BZ #12885]
40352 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40353 addresses using gethostbyname4_r ignore IPv4 addresses.
40354
c5e3c2ae
UD
40355 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40356 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40357
75d39ff2
UD
40358 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40359
42675c6f
DM
403602011-06-20 David S. Miller <davem@davemloft.net>
40361
40362 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40363 inclusions.
40364 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40365
40366 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40367 (elf_irel): Use it.
40368 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40369 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40370 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40371 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40372 * sysdeps/x86_64/dl-irel.h: Likewise.
40373
40374 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40375 * elf/dl-sym.c: Likewise.
40376
57912a71
UD
403772011-06-15 Ulrich Drepper <drepper@gmail.com>
40378
40379 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40380 need to dereference resplen2.
40381
ee22793d
AS
403822011-06-14 Andreas Schwab <schwab@redhat.com>
40383
40384 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40385
a9e836b0
UD
403862011-06-15 Ulrich Drepper <drepper@gmail.com>
40387
77fb9117
UD
40388 * Makeconfig: Define vardbdir and inst_vardbdir.
40389 * nss/Makefile: Add rules to install db-Makefile.
40390
40c1b22c
UD
40391 * nss/nss_db/db-XXX.c: Cleanup.
40392
9f2da732
UD
40393 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40394 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40395 GLIBC_PRIVATE.
40396 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40397 * nss/makedb.c: Implement -g option to specify that value strings
40398 are generated and should not be added to table iterated over for
40399 get*ent calls.
40400 * nss/nss_db/db-initgroups.c: New file.
40401
82e9a1f7
UD
40402 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40403 interface.
40404
c41af17e
UD
40405 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40406 (internal_getgrouplist): Adjust to name change.
40407 Update use_initgroups_entry if this is not the first call.
40408 * nss/databases.def: Add initgroups entry.
40409
a9e836b0
UD
40410 * nss/makedb.c (compute_tables): Check result of multiple hash table
40411 sizes to minimize maximum chain length.
40412
2666d441
UD
404132011-06-14 Ulrich Drepper <drepper@gmail.com>
40414
40415 * Versions.def: Add entry for libnss_db.
40416 * shlib-versions: Likewise.
40417 * nss/Makefile: Add rules to build libnss_db.
40418 * nss/Versions: Add libnss_db information. Organize libnss_files
40419 entries better.
40420 * nss/db-Makefile: Add gshadow support. Change rules for the new
40421 makedb progra. Some minor improvements to generate smaller files.
40422 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40423 here from...
40424 * nss/makedb.c: ...here.
40425 Improve database format to be smaller and require less memory at
40426 runtime.
40427 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40428 db anymore.
40429 * nss/nss_db/db-netgrp.c: Likewise.
40430 * nss/nss_db/db-open.c: Likewise.
40431 * nss/nss_files/flies-XXX.x: Adjust comments.
40432 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40433 * nss/nss_files/files-grp.c: Likewise.
40434 * nss/nss_files/files-hosts.c: Likewise.
40435 * nss/nss_files/files-network.c: Likewise.
40436 * nss/nss_files/files-proto.c: Likewise.
40437 * nss/nss_files/files-pwd.c: Likewise.
40438 * nss/nss_files/files-rpc.c: Likewise.
40439 * nss/nss_files/files-service.c: Likewise.
40440 * nss/nss_files/files-sgrp.c: Likewise.
40441 * nss/nss_files/files-spwd.c: Likewise.
40442 * nss/nss_db/db-alias.c: Removed.
40443 * nss/nss_db/dummy-db.h: Removed.
40444
9ee76b5a
UD
404452011-06-02 Ulrich Drepper <drepper@gmail.com>
40446
40447 * nss/makedb.c: Rewritten to not use database library.
40448 * nss/Makefile: Update to build new makedb program.
40449
c71ca1f8
AJ
404502011-06-14 Andreas Jaeger <aj@suse.de>
40451
40452 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40453 memset declaration.
40454
3154bfb8
UD
404552011-06-10 Andreas Schwab <schwab@redhat.com>
40456
40457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40458 tmpbuf.
40459
b350afab
RM
404602011-06-10 Roland McGrath <roland@hack.frob.com>
40461
decd4e50
RM
40462 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40463 * elf/Makefile ($(objpfx)ld.so): Likewise.
40464
5615eaf2
RM
40465 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40466 Don't list ld.so twice in dependencies.
40467
40468 * posix/bug-regex31.c: Include <stdlib.h>.
40469
40470 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40471
40472 * nis/nss_compat/compat-spwd.c
40473 (getspent_next_nss_netgr): Remove unused variable.
40474 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40475
40476 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40477 nonmembers" output to use the right array.
40478
40479 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40480
40481 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40482
40483 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40484 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40485 * catgets/gencat.c (read_input_file): Likewise.
40486 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40487
40488 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40489 variable definition inside #if's controlling its use.
40490
40491 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40492
40493 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40494
40495 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40496
40497 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40498 unreachable code.
40499
40500 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40501
b68e08db
RM
40502 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40503 * configure: Regenerated.
40504
b350afab
RM
40505 * Makerules: Revert last change.
40506 * elf/Makefile: Likewise.
40507
28368601
RM
405082011-06-09 Roland McGrath <roland@hack.frob.com>
40509
40510 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40511 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40512 (reloc-link): Likewise.
40513
11988f8f
UD
405142011-06-09 Ulrich Drepper <drepper@gmail.com>
40515
40516 * elf/Makefile: Add rules to build pldd.
40517 * elf/pldd.c: New file.
40518 * elf/pldd-xx.c: New file.
40519
e80fab37
UD
405202011-06-07 Ulrich Drepper <drepper@gmail.com>
40521
40522 * version.h: Update for 2.15 development version.
40523
9b849836
DM
405242011-06-07 David S. Miller <davem@davemloft.net>
40525
40526 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40527 ifuncs.
40528 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40529 elf_machine_lazy_rel): Likewise.
40530 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40531 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40532 elf_machine_lazy_rel): Likewise.
40533 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40534 dl_hwcap via passed in argument.
40535 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40536 Likewise.
40537
5a31b283
AK
405382011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40539
40540 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40541
069e52f8
RM
405422011-06-06 Roland McGrath <roland@hack.frob.com>
40543
40544 [BZ #12849]
40545 * manual/fdl-1.1.texi: New file, verbatim from:
40546 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40547 * manual/lgpl-2.1.texi: New file, verbatim from:
40548 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40549 * manual/Makefile (licenses): New variable, list those new file names.
40550 (texis): Use it.
40551 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40552
40553 * manual/fdl.texi: File removed.
40554 * manual/lesser.texi: File removed.
40555 * manual/libc.texinfo (Copying, Documentation License):
40556 Use new @include file names, put @appendix directive before @include.
40557
f16846a5
JJ
405582011-06-04 Jakub Jelinek <jakub@redhat.com>
40559
40560 [BZ #12841]
40561 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40562 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40563 (mq_open): Add __NTH.
40564
3d29045b
L
405652011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40566
40567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40568 Assume Intel Core i3/i5/i7 processor if AVX is available.
40569
8c297311
UD
405702011-05-31 Ulrich Drepper <drepper@gmail.com>
40571
40572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40573 typo.
40574
c8fc0c91
UD
405752011-05-31 Andreas Schwab <schwab@redhat.com>
40576
40577 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40578 memory. Use alloca_account. Fix memory leak when retrying.
40579
5b27a807
UD
405802011-05-31 Ulrich Drepper <drepper@gmail.com>
40581
356f8bc6
UD
40582 * version.h (RELEASE): Bump for 2.14 release.
40583 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40584
5b27a807
UD
40585 * config.make.in (RANLIB): Remove entry.
40586
01f16ab0
UD
405872011-05-30 Ulrich Drepper <drepper@gmail.com>
40588
41fce8bd
UD
40589 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40590 (libc.pot): Work around missing support for .ksh extension in xgettext.
40591
4769ae77
UD
40592 [BZ #12684]
40593 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40594 if both request failed.
40595 (send_dg): In case of server errors clear resplen or *resplen2.
40596
6b1e7d19
UD
40597 [BZ #12454]
40598 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40599 when there are multiple maps.
40600 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40601 (_dl_fini): Remove test here.
40602
01f16ab0
UD
40603 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40604
b1ebd700
UD
406052011-05-29 Ulrich Drepper <drepper@gmail.com>
40606
7ae22829
UD
40607 [BZ #12350]
40608 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40609 bit from old_res_options.
40610 (gaih_inet): Likewise.
40611
553149f6 40612 [BZ #11099]
18a84741 40613 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40614 as signed.
40615
652ffab1
UD
40616 * resolv/res_init.c (res_setoptions): Make the code more compact.
40617
16985fd0
UD
40618 [BZ #11558]
40619 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40620 set RES_USEVC.
40621
0464f746
UD
40622 [BZ #11634]
40623 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40624
7d17596c
UD
40625 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40626
cf6bbbd7
UD
40627 [BZ #11781]
40628 * malloc/malloc.h: Declare malloc hook variables as volatile.
40629
13f1ab36
UD
40630 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40631 in last patch.
40632
b1ebd700
UD
40633 [BZ #11799]
40634 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40635 raise in the comment.
80e2212d
UD
40636 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40637 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40638 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40639
ce67228d
UD
406402011-05-28 Ulrich Drepper <drepper@gmail.com>
40641
8887a920
UD
40642 [BZ #12811]
40643 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40644 grow the buffers more if it already has to be sufficient.
40645 (build_wcs_upper_buffer): Likewise.
40646 * posix/regexec.c (check_matching): Likewise.
40647 (clean_state_log_if_needed): Likewise.
40648 (extend_buffers): Don't enlarge buffers beyond size of the input
40649 buffer.
40650 Patches mostly by Emil Wojak <emil@wojak.eu>.
40651 * posix/bug-regex32.c: New file.
40652 * posix/Makefile (tests): Add bug-regex32.
40653
4f031072
UD
40654 * locale/findlocale.c (_nl_find_locale): Return right away if
40655 _nl_explode_name failed.
40656 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40657
d0478f0c
UD
40658 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40659
de81b246
UD
40660 * debug/xtrace.sh: Unify messages.
40661 * malloc/memusage.sh: Likewise.
40662
c738465a
UD
40663 [BZ #12813]
40664 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40665 time symbol from vDSO. Substitute with vsyscall if not available.
40666 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40667 __vdso_time.
40668
f1f929d7
UD
40669 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40670 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40671 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40672 Add sendmmsg and internal_sendmmsg.
40673 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40674 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40675 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40676
ce67228d
UD
40677 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40678 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40679 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40680
e57420c6
UD
406812011-05-27 Ulrich Drepper <drepper@gmail.com>
40682
a8509ca5
UD
40683 [BZ #12813]
40684 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40685 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40686 available.
40687 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40688 __vdso_getcpu.
40689
e57420c6
UD
40690 [BZ #12814]
40691 * iconvdata/Makefile (tests): Add bug-iconv9.
40692 * iconvdata/bug-iconv9.c: New file.
40693
4d07db15
AS
406942011-05-27 Andreas Schwab <schwab@redhat.com>
40695
40696 [BZ #12814]
40697 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40698
ea486f69
JJ
406992011-05-25 Jakub Jelinek <jakub@redhat.com>
40700
40701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40702 (struct user_regs_struct): Change intcs field back to cs.
40703
6f038433
UD
407042011-05-25 Ulrich Drepper <drepper@gmail.com>
40705
40706 * po/ja.po: Update from translation team.
40707
67f86a25
UD
407082011-05-23 Ulrich Drepper <drepper@gmail.com>
40709
40710 [BZ #12795]
40711 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40712 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40713
def7fbd6
AS
407142011-05-20 Andreas Schwab <schwab@redhat.com>
40715
40716 * stdlib/longlong.h: Update from GCC.
40717
f50ef8f1
AS
407182011-05-23 Andreas Schwab <schwab@redhat.com>
40719
40720 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40721 parameter name.
40722 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40723 Add parameter name.
40724 (__sysconf): Pass it down.
40725
de7ce8f1
UD
407262011-05-22 Ulrich Drepper <drepper@gmail.com>
40727
f2962a71
UD
40728 [BZ #12671]
40729 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40730 some situations.
40731 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40732 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40733 add in in __libc_use_alloca calls. Adjust callers.
40734 (glob): Use malloc in some situations.
40735
de7ce8f1
UD
40736 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40737 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40738 pltexit.
40739
aec84f53
UD
407402011-05-21 Ulrich Drepper <drepper@gmail.com>
40741
05bb4a68
UD
40742 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40743 and CLOCK_BOOTTIME_ALARM.
40744
7ea72f99
UD
40745 [BZ #12782]
40746 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40747 is returned.
40748
7e4afad5
UD
40749 * string/_strerror.c (__strerror_r): Print negative errors as signed
40750 numbers.
40751
8e211fec
UD
40752 [BZ #12777]
40753 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40754 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40755 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40756
f7d82dc9
UD
40757 * configure.in: Fix typo in redirection and correct removal of test
40758 files in two cases.
40759
cc9e536d
UD
40760 [BZ #12788]
40761 * locale/setlocale.c (new_composite_name): Fix test to check for
40762 identical name of all categories.
40763
aec84f53
UD
40764 [BZ #12792]
40765 * libio/filedoalloc.c (local_isatty): New function.
40766 (_IO_file_doallocate): Use local_isatty.
40767 * stdio-common/perror.c (perror): In case a new stream is used
40768 forward the stream error.
40769 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40770 error flag.
40771
78e64fdc
RT
407722011-05-20 Ulrich Drepper <drepper@gmail.com>
40773
34a9094f
UD
40774 [BZ #11869]
40775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40776 alloca.
40777 * include/alloca.h (extend_alloca_account): Define.
40778
78e64fdc
RT
40779 [BZ #11857]
40780 * posix/regex.h: Fix comments with documentation of user-accessible
40781 fields after compilation and describe correct free'ing of pattern
40782 after re_compile_pattern.
40783 Patch by Reuben Thomas <rrt@sc3d.org>.
40784
457bddfc
RA
407852011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40786
40787 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40788 and -mno-altivec to prevent the compiler from using Altivec and/or
40789 VSX instructions when the corresponding registers are not available.
40790
a4527b51
AS
407912011-05-19 Andreas Schwab <schwab@redhat.com>
40792
40793 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40794
ed690b2f
UD
407952011-05-19 Ulrich Drepper <drepper@gmail.com>
40796
40797 * libio/freopen.c (freopen): Use __dup2, not dup2.
40798 * libio/freopen64.c (freopen64): Likewise.
40799
8db73634
L
408002011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40801
40802 [BZ #12775]
40803 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40804 * math/Makefile (tests): Add test-powl.
40805 (CFLAGS-test-powl.c): Define.
40806 * math/test-powl.c: New file.
40807
0a197a9d
L
408082011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40809
40810 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40811
ee30c380
UD
408122011-05-17 Ulrich Drepper <drepper@gmail.com>
40813
40814 [BZ #11837]
40815 * iconvdata/gb18030.c: Update to GB18020-2005.
40816
6ce75379
UD
408172011-05-16 Ulrich Drepper <drepper@gmail.com>
40818
a4b89fd8
AR
40819 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40820 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40821 Patch by Aharon Robbins <arnold@skeeve.com>.
40822
ea389b12
UD
40823 [BZ #11892]
40824 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40825 on the stack.
40826
68a3f91f
UD
40827 [BZ #11895]
40828 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40829 through underflows.
40830
15cc7dd1
UD
40831 [BZ #12766]
40832 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40833 point to strings before performing equality test for error_one_per_line
40834 mode.
40835
f3799213
UD
40836 [BZ #11697]
40837 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40838
d79a9c94
UD
40839 [BZ #11820]
40840 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40841 (struct user_fpregs_struct): Avoid __uint*_t types.
40842
56e5eb46
UD
40843 [BZ #6420]
40844 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40845 symbol info. Use it instead of calling _dl_addr locally.
40846 (lock_and_info): New function.
40847 (tr_freehook): Call lock_and_info and pass symbol info as additional
40848 parameter to tr_where.
40849 (tr_mallochook): Likewise.
40850 (tr_reallochook): Likewise.
40851 (tr_memalignhook): Likewise.
40852
6ce75379
UD
40853 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40854 used and couldn't be at all thread-safe.
40855
f8a3b5bf
UD
408562011-05-15 Ulrich Drepper <drepper@gmail.com>
40857
94b7cc37
UD
40858 * libio/freopen.c (freopen): Don't close old file descriptor
40859 before the new one is opened. Instead dup the new file descriptor
40860 to the old one after the new stream is created.
40861 * libio/freopen64.c (freopen64): Likewise.
40862 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40863 * libio/fileops.c (_IO_new_file_close_it): Handle new
40864 _IO_FLAGS2_NOCLOSE flag.
40865 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40866 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40867 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40868 _IO_FLAGS2_NOCLOSE flag.
40869 * include/unistd.h: Add hidden_proto for dup3.
40870 Define __have_dup3.
40871 * io/dup3.c: Define hidden symbol.
40872 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40873
bd25564e
UD
40874 [BZ #7101]
40875 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40876 when an incomplete long option is used.
40877 * posix/tst-getopt_long1.c: New file.
40878 * posix/Makefile (tests): Add tst-getopt_long1.
40879
c84cfef4
UD
40880 [BZ #10138]
40881 * scripts/config.guess: Update from autoconf-2.68.
40882 * scripts/config.sub: Likewise.
40883
3b85df27
UD
40884 [BZ #10157]
40885 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40886 tests into ...
40887 (has_cpuclock): ...this. New function.
40888 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40889 macro here based on has_cpuclock code.
40890
15a856b1
UD
40891 [BZ #10149]
40892 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40893 First byte (not low byte) is now always NUL.
40894 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40895
05f399e6
UD
40896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40897 Use non-cancelable interfaces.
40898
10a52685 40899 [BZ #9809]
94ecc67d
UD
40900 * locale/iso-639.def: Add entry for Sorani.
40901
f8a3b5bf
UD
40902 [BZ #11901]
40903 * include/stdlib.h: Move include protection to the right place.
40904 Define abort_msg_s. Declare __abort_msg with it.
40905 * stdlib/abort.c (__abort_msg): Adjust type.
40906 * assert/assert.c (__assert_fail_base): New function. Majority
40907 of code from __assert_fail. Allocate memory for __abort_msg with
40908 mmap.
40909 (__assert_fail): Now call __assert_fail_base.
40910 * assert/assert-perr.c: Remove bulk of implementation. Use
40911 __assert_fail_base.
40912 * include/assert.hL Declare __assert_fail_base.
40913 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40914 mmap.
40915 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40916
1af4e298
UD
409172011-05-14 Ulrich Drepper <drepper@gmail.com>
40918
f8a3b5bf 40919 [BZ #11952]
d26dfc60
MG
40920 [BZ #12453]
40921 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40922 until all modules are registered in the DTV.
40923 * elf/Makefile: Add rules to build and run tst-tls19.
40924 * elf/tst-tls19.c: New file.
40925 * elf/tst-tls19mod1.c: New file.
40926 * elf/tst-tls19mod2.c: New file.
40927 * elf/tst-tls19mod3.c: New file.
40928 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40929
2fc54d6f
UD
40930 [BZ #12083]
40931 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40932 correctly.
40933
98d76b46
UD
40934 [BZ #12601]
40935 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40936 two-byte sequence errors.
40937 * iconvdata/Makefile (tests): Add bug-iconv8.
40938 * iconvdata/bug-iconv8.c: New file.
40939
da3c19ef
UD
40940 [BZ #12626]
40941 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40942 buf2 definition.
40943
ca408c15
UD
40944 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40945
d6f67f7d
UD
40946 [BZ #12432]
40947 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40948 (dummy_getcfa): New function.
40949 (init): Get _Unwind_GetCFA address, use dummy if not found.
40950 (backtrace_helper): In recursion check, also check whether CFA changes.
40951 (__backtrace): Completely initialize arg.
40952
1af4e298 40953 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40954 storing incomplete byte sequence in state object. Avoid testing for
40955 guaranteed too small input if we know there is enough data available.
1af4e298 40956
da62f81b
AS
409572011-05-11 Andreas Schwab <schwab@redhat.com>
40958
40959 * Makeconfig (+link-pie): Indent.
40960 * Rules (binaries-pie): Define if $(have-fpie) and
40961 $(build-shared).
40962 (binaries-shared): Also filter out $(binaries-pie).
40963 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40964 * nscd/Makefile (others-pie): Add nscd.
40965 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40966 ($(objpfx)nscd): Remove command override.
40967 * login/Makefile (others-pie): Add pt_chown.
40968 ($(objpfx)pt_chown): Remove command override.
40969 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40970 remove command overrides.
40971
fcabc0f8
UD
409722011-05-13 Ulrich Drepper <drepper@gmail.com>
40973
20030ae6
UD
40974 * libio/tst_putwc.c: Fix error messages.
40975
fcabc0f8
UD
40976 [BZ #12724]
40977 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40978 currently writing and seek to current position when not.
40979 * libio/Makefile (tests): Add bug-fclose1.
40980 * libio/bug-fclose1.c: New file.
40981
320a5dc0
PB
409822011-05-12 Ulrich Drepper <drepper@gmail.com>
40983
40984 [BZ #12511]
40985 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40986 don't set DF_1_NODELETE here.
40987 (do_lookup_x): When entering new entry test for copy relocation
40988 and if necessary set DF_1_NODELETE flag.
40989 * elf/tst-unique4.cc: New file.
40990 * elf/tst-unique4.h: New file.
40991 * elf/tst-unique4lib.cc: New file.
40992 * elf/Makefile: Add rules to build and run tst-unique4.
40993 Patch by Piotr Bury <pbury@goahead.com>.
40994
22836f52
UD
409952011-05-11 Ulrich Drepper <drepper@gmail.com>
40996
f574184a
UD
40997 [BZ #12052]
40998 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40999
e1fb097f
UD
41000 [BZ #12625]
41001 * misc/mntent_r.c (addmntent): Flush the stream after the output
41002
22836f52
UD
41003 [BZ #12393]
41004 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41005 (is_trusted_path_normalize): Skip initial colon. Append slash
41006 to empty buffer. Duplicate is_trusted_path code but allow
41007 constructed patch to be prefix.
41008 (is_dst): Allow $ORIGIN followed by /.
41009 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41010 Correct testing of result of is_trusted_path_normalize
41011 (decompose_rpath): Fix warning.
41012
7b3b0b2a
UD
410132011-05-10 Ulrich Drepper <drepper@gmail.com>
41014
41015 [BZ #11257]
41016 * grp/initgroups.c (internal_getgrouplist): When we found the service
41017 list through the initgroups entry in nsswitch.conf do not always
41018 continue on a successful lookup. Don't always use the
eac80ce2 41019 __nss_group_database value if it is set.
7b3b0b2a
UD
41020 * nss/nsswitch.conf (initgroups): Change action for successful db
41021 lookup to continue for compatibility.
41022
2a81eaa5
UD
410232011-05-09 Ulrich Drepper <drepper@gmail.com>
41024
be97a69e
UD
41025 [BZ #11532]
41026 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41027 and CP774 modules.
41028 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41029 and CP774 modules.
41030 * iconvdata/tst-tables.sh: Likewise.
41031 * iconvdata/cp770.c: New file.
41032 * iconvdata/cp771.c: New file.
41033 * iconvdata/cp772.c: New file.
41034 * iconvdata/cp773.c: New file.
41035 * iconvdata/cp774.c: New file.
41036 * iconvdata/testdata/CP770: New file.
41037 * iconvdata/testdata/CP770..UTF8: New file.
41038 * iconvdata/testdata/CP771: New file.
41039 * iconvdata/testdata/CP771..UTF8: New file.
41040 * iconvdata/testdata/CP772: New file.
41041 * iconvdata/testdata/CP772..UTF8: New file.
41042 * iconvdata/testdata/CP773: New file.
41043 * iconvdata/testdata/CP773..UTF8: New file.
41044 * iconvdata/testdata/CP774: New file.
41045 * iconvdata/testdata/CP774..UTF8: New file.
41046
41047 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41048 END CHARMAP line.
41049 * iconvdata/gen-8bit-gap.sh: Likewise.
41050 * iconvdata/gen-8bit.sh: Likewise.
41051
c1e9e399
UD
41052 * locale/iso-639.def: Add ary entry.
41053
24c55fb3 41054 [BZ #11258]
96b4b1b0
UD
41055 * locale/C-translit.h.in: Add U20A1 transliteration.
41056
bdc2f971
KB
41057 [BZ #12178]
41058 * locale/iso-639.def: Add wae entry.
41059 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41060
2952b117
UD
41061 [BZ #12545]
41062 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41063 for n.
41064
2a81eaa5
UD
41065 [BZ #12711]
41066 * locale/C-translit.h.in: Add entry for U20B9.
41067 Patch by pravin.d.s@gmail.com.
41068
28377d1b
UD
410692011-05-08 Ulrich Drepper <drepper@gmail.com>
41070
7fb90fb8
UD
41071 [BZ #12713]
41072 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41073 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41074 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41075 in rtld. Use *stat64.
7fb90fb8 41076 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41077 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41078 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41079 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41080 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41081 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41082 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41083 __fstatat64 macros.
7fb90fb8
UD
41084 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41085 * dirent/rewinddir.c: Add libc_hidden_def.
41086 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41087 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41088
28377d1b
UD
41089 * include/dirent.h (__alloc_dir): Add flags parameter.
41090 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41091 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41092 __alloc_dir.
41093 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41094 from fdopendir if O_CLOEXEC is already set.
41095
66bdbaa4
AM
410962011-03-15 Alan Modra <amodra@gmail.com>
41097
41098 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41099 l_tls_firstbyte_offset non-zero. Save padding offset in
41100 l_tls_firstbyte_offset for later use.
41101 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41102 freeing static tls block.
41103
95721191
JN
411042011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41105
41106 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41107 where #ifdef was intended. The intent is to prevent ARG_MAX from
41108 being defined by the kernel headers.
41109
f87dfb1f
UD
411102011-05-07 Ulrich Drepper <drepper@gmail.com>
41111
41112 [BZ #12734]
41113 * resolv/resolv.h: Define RES_NOTLDQUERY.
41114 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41115 no-tld-query and set RES_NOTLDQUERY.
41116 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41117 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41118 modern BIND to search name as TLD unless forbidden.
41119
47c3cd7a
UD
411202011-05-07 Petr Baudis <pasky@suse.cz>
41121 Ulrich Drepper <drepper@gmail.com>
41122
41123 [BZ #12393]
41124 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41125 (is_trusted_path): ...to here.
c1e9ea35 41126 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41127 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41128 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41129
8a35c912
PP
411302011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41131
41132 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41133 __BEGIN/__END_DECLS.
41134
acd41f47
UD
411352011-05-06 Ulrich Drepper <drepper@gmail.com>
41136
41137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41138 NSS_STATUS_NOTFOUND if no record was found.
41139
597df647
AS
411402011-05-05 Andreas Schwab <schwab@redhat.com>
41141
41142 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41143 (headers-not-in-tirpc): Remove rpc/netdb.h
41144 * resolv/netdb.h: Revert last change.
41145
b9af1301
PP
411462011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41147
41148 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41149 circular dependency between libgcc.a and libc.a.
41150
4e34d5f5
AS
411512011-05-05 Andreas Schwab <schwab@redhat.com>
41152
41153 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41154 * nis/Makefile: Don't install rpcsvc/*.
41155 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41156 instead of <rpc/types.h>.
41157 (MAXHOSTNAMELEN): Define.
41158
00ee369c
AS
411592011-05-03 Andreas Schwab <schwab@redhat.com>
41160
41161 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41162
0b592a30
MB
411632011-04-28 Maciej Babinski <mbabinski@google.com>
41164
41165 [BZ #12714]
41166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41167 gethostbyname4_r when IPv6 results are possible.
41168
6e04cbbe
UD
411692011-05-02 Ulrich Drepper <drepper@gmail.com>
41170
41171 [BZ #12723]
41172 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41173 _PC_PIPE_BUF handling.
41174
e4ecafe0
BH
411752011-04-30 Bruno Haible <bruno@clisp.org>
41176
41177 [BZ #12717]
41178 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41179 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41180 to 'int'.
41181 * inet/getnameinfo.c (getnameinfo): Likewise.
41182
125ee683
UD
411832011-04-29 Ulrich Drepper <drepper@gmail.com>
41184
41185 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41186 to groups setting in database lookup.
41187 * nss/nsswitch.conf: Add initgroups entry.
41188
b722481a
EB
411892011-04-22 Ulrich Drepper <drepper@gmail.com>
41190
41191 [BZ #12685]
41192 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41193 mode string.
41194 Patch by Eric Blake <eblake@redhat.com>.
41195
4df46dbd
L
411962011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41197
41198 * sunrpc/Makefile (need-export-routines): Add svc_run.
41199 (routines): Remove svc_run.
41200 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41201 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41202 * sunrpc/svc_run.c (svc_run): Likewise.
41203 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41204
e84142d2
UD
412052011-04-21 Ulrich Drepper <drepper@gmail.com>
41206
41207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41208 problem in reallocation in last patch.
41209
877175d8
UD
412102011-04-20 Ulrich Drepper <drepper@gmail.com>
41211
41212 * sunrpc/Makefile: Move inclusion of Rules.
41213
ab8eed78
UD
412142011-04-19 Ulrich Drepper <drepper@gmail.com>
41215
41216 * nss/nss_files/files-initgroups.c: New file.
41217 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41218 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41219 _nss_files_initgroups_dyn.
41220
e3d8f584
RS
412212011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41222
41223 * elf/elf.h (R_ARM_IRELATIVE): Define.
41224
af190f45
UD
412252011-04-19 Ulrich Drepper <drepper@gmail.com>
41226
41227 * po/ru.po: Update from translation team.
41228
53cf59ef
UD
412292011-04-17 Ulrich Drepper <drepper@gmail.com>
41230
41231 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41232 dependencies.
41233
4c559bcd
MF
412342011-02-06 Mike Frysinger <vapier@gentoo.org>
41235
41236 [BZ #12653]
41237 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41238 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41239 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41242
4420675c
AS
412432011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41244
41245 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41246 differing bytes.
41247 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41248 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41249 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41250
75ea32ab
UD
412512011-04-17 Ulrich Drepper <drepper@gmail.com>
41252
41253 [BZ #12420]
41254 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41255 storing it.
41256 * stdlib/bug-getcontext.c: New file.
41257 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41258
27390476
AK
412592011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41260
41261 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41262 instructions into .machine "z9-109".
41263 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41264 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41265
10442705
AK
412662011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41267
41268 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41269 between environment variables and auxiliary vector.
41270
7b57bfe5
UD
412712011-04-16 Ulrich Drepper <drepper@gmail.com>
41272
41273 * Makefile: Add rules to build linkobj/libc.so.
41274 * include/libc-symbols.h: Define libc_hidden_nolink.
41275 * include/rpc/auth.h: Mark functions which are to be hidden.
41276 * include/rpc/auth_des.h: Likewise.
41277 * include/rpc/auth_unix.h: Likewise.
41278 * include/rpc/clnt.h: Likewise.
41279 * include/rpc/des_crypt.h: Likewise.
41280 * include/rpc/key_prot.h: Likewise.
41281 * include/rpc/pmap_clnt.h: Likewise.
41282 * include/rpc/pmap_prot.h: Likewise.
41283 * include/rpc/pmap_rmt.h: Likewise.
41284 * include/rpc/rpc_msg.h: Likewise.
41285 * include/rpc/svc.h: Likewise.
41286 * include/rpc/svc_auth.h: Likewise.
41287 * include/rpc/xdr.h: Likewise.
41288 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41289 * nss/Makefile: Likewise.
41290 * sunrpc/Makefile: Don't install headers. Build library with normal
41291 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41292 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41293 for the compat linking library. Remove use of INTDEF/INTUSE.
41294 * sunrpc/auth_none.c: Likewise.
41295 * sunrpc/auth_unix.c: Likewise.
41296 * sunrpc/authdes_prot.c: Likewise.
41297 * sunrpc/authuxprot.c: Likewise.
41298 * sunrpc/clnt_gen.c: Likewise.
41299 * sunrpc/clnt_perr.c: Likewise.
41300 * sunrpc/clnt_raw.c: Likewise.
41301 * sunrpc/clnt_simp.c: Likewise.
41302 * sunrpc/clnt_tcp.c: Likewise.
41303 * sunrpc/clnt_udp.c: Likewise.
41304 * sunrpc/clnt_unix.c: Likewise.
41305 * sunrpc/des_crypt.c: Likewise.
41306 * sunrpc/des_soft.c: Likewise.
41307 * sunrpc/get_myaddr.c: Likewise.
41308 * sunrpc/key_call.c: Likewise.
41309 * sunrpc/key_prot.c: Likewise.
41310 * sunrpc/netname.c: Likewise.
41311 * sunrpc/pm_getmaps.c: Likewise.
41312 * sunrpc/pm_getport.c: Likewise.
41313 * sunrpc/pmap_clnt.c: Likewise.
41314 * sunrpc/pmap_prot.c: Likewise.
41315 * sunrpc/pmap_prot2.c: Likewise.
41316 * sunrpc/pmap_rmt.c: Likewise.
41317 * sunrpc/publickey.c: Likewise.
41318 * sunrpc/rpc_cmsg.c: Likewise.
41319 * sunrpc/rpc_common.c: Likewise.
41320 * sunrpc/rpc_dtable.c: Likewise.
41321 * sunrpc/rpc_prot.c: Likewise.
41322 * sunrpc/rpc_thread.c: Likewise.
41323 * sunrpc/rtime.c: Likewise.
41324 * sunrpc/svc.c: Likewise.
41325 * sunrpc/svc_auth.c: Likewise.
41326 * sunrpc/svc_authux.c: Likewise.
41327 * sunrpc/svc_raw.c: Likewise.
41328 * sunrpc/svc_run.c: Likewise.
41329 * sunrpc/svc_simple.c: Likewise.
41330 * sunrpc/svc_tcp.c: Likewise.
41331 * sunrpc/svc_udp.c: Likewise.
41332 * sunrpc/svc_unix.c: Likewise.
41333 * sunrpc/svcauth_des.c: Likewise.
41334 * sunrpc/xcrypt.c: Likewise.
41335 * sunrpc/xdr.c: Likewise.
41336 * sunrpc/xdr_array.c: Likewise.
41337 * sunrpc/xdr_float.c: Likewise.
41338 * sunrpc/xdr_intXX_t.c: Likewise.
41339 * sunrpc/xdr_mem.c: Likewise.
41340 * sunrpc/xdr_rec.c: Likewise.
41341 * sunrpc/xdr_ref.c: Likewise.
41342 * sunrpc/xdr_sizeof.c: Likewise.
41343 * sunrpc/xdr_stdio.c: Likewise.
41344
e6c61494
UD
413452011-04-10 Ulrich Drepper <drepper@gmail.com>
41346
41347 [BZ #12650]
41348 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41349 * sysdeps/ia64/dl-tls.h: Likewise.
41350 * sysdeps/powerpc/dl-tls.h: Likewise.
41351 * sysdeps/s390/dl-tls.h: Likewise.
41352 * sysdeps/sh/dl-tls.h: Likewise.
41353 * sysdeps/sparc/dl-tls.h: Likewise.
41354 * sysdeps/x86_64/dl-tls.h: Likewise.
41355 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41356
34fe483e
AS
413572011-03-14 Andreas Schwab <schwab@redhat.com>
41358
41359 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41360 rpath element also skip the following colon.
41361 (expand_dynamic_string_token): Add is_path parameter and pass
41362 down to DL_DST_REQUIRED and _dl_dst_substitute.
41363 (decompose_rpath): Call expand_dynamic_string_token with
41364 non-zero is_path. Ignore empty rpaths.
41365 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41366 with zero is_path.
41367
f12a32e6
AS
413682011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41369
41370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41371 Make cancelable.
41372
38a7d692
UD
413732011-04-09 Ulrich Drepper <drepper@gmail.com>
41374
41375 [BZ #12655]
41376 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41377 Patch by Filipe David Manana <fdmanana@apache.org>.
41378
e451d22b
AS
413792011-04-07 Andreas Schwab <schwab@redhat.com>
41380
41381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41382 Maintain aligned stack.
41383 (CHECK_RSP): Remove unused macro.
41384
dedc7c7b
UD
413852011-04-03 Ulrich Drepper <drepper@gmail.com>
41386
41387 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41388 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41389
94521213
UD
413902011-04-02 Ulrich Drepper <drepper@gmail.com>
41391
41392 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41393
8cb700c0 41394 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41395
0354e355
L
413962011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41397
41398 [BZ #12518]
41399 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41400 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41401 * sysdeps/x86_64/memmove.c: New file.
41402 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41403 (memcpy): Renamed to ...
41404 (__new_memcpy): This.
41405 (memcpy): Provide GLIBC_2_14 memcpy.
41406 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41407 (memcpy): Provide GLIBC_2_2_5 memcpy.
41408
8593482f
UD
414092011-04-01 Ulrich Drepper <drepper@gmail.com>
41410
41411 [BZ #12631]
41412 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41413
81a5726b
AS
414142011-03-30 Andreas Schwab <schwab@redhat.com>
41415
41416 * misc/syncfs.c: New file.
41417 * misc/Makefile (routines): Add syncfs.
41418 * posix/unistd.h: Declare syncfs.
41419 * sysdeps/unix/syscalls.list: Add syncfs.
41420
00e5419f
AS
414212011-04-01 Andreas Schwab <schwab@redhat.com>
41422
41423 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41424 open_by_handle_at.
41425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41428 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41430 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41431 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41432
748876bf
UD
414332011-04-01 Ulrich Drepper <drepper@gmail.com>
41434
658e451d
UD
41435 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41436 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41437 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41439 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41441 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41442
748876bf
UD
41443 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41444 sync_file_range.c with -fexceptions.
41445 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41446 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41447 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41448 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41449 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41450 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41451 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41452 sync_file_range as cancellation point
41453 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41454 now a wrapper around __call_sync_file_range with cancellation handling.
41455 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41456 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41457 function name to __call_sync_file_range.
41458 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41459 Add call_sync_file_range.
748876bf 41460
6e63d5e1
AS
414612011-04-01 Andreas Schwab <schwab@redhat.com>
41462
41463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41464 bits/timex.h.
6e63d5e1 41465
46998f74
UD
414662011-04-01 Ulrich Drepper <drepper@gmail.com>
41467
4c1423ed
UD
41468 * iconv/iconv.h: Fix typo in comment.
41469 * io/fcntl.h: Likewise.
41470 * libio/stdio.h: Likewise.
41471 * posix/spawn.h: Likewise.
41472 * posix/unistd.h: Likewise.
41473 * stdlib/stdlib.h: Likewise.
41474 * time/time.h: Likewise.
41475 * wcsmbs/wchar.h: Likewise.
41476
158648c0
UD
41477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41478 open_by_handle): Add.
41479 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41480 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41481 Augment a few comments.
41482 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41484 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41487 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41488 open_by_handle.
41489
46998f74
UD
41490 * io/fcntl.h (AT_EMPTY_PATH): Define.
41491
83fe108b
UD
414922011-03-30 Ulrich Drepper <drepper@gmail.com>
41493
41494 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41495 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41496 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41497 to...
41498 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41499 * Versions.def: Add GLIBC_2.14.
41500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41501 Export.
83fe108b 41502
bb242059
UD
415032011-03-22 Ulrich Drepper <drepper@gmail.com>
41504
41505 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41506 round counter.
41507 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41508
c97a1282
L
415092011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41510
41511 [BZ #12597]
41512 * string/test-strncmp.c (do_page_test): New function.
41513 (check2): Likewise.
41514 (test_main): Call check2.
41515 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41516
2a115601
UD
415172011-03-20 Ulrich Drepper <drepper@gmail.com>
41518
41519 [BZ #12587]
41520 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41521 Handle cache information in CPU leaf 4.
41522 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41523
8126d904
UD
415242011-03-18 Ulrich Drepper <drepper@gmail.com>
41525
042c49c6 41526 [BZ #12583]
8126d904
UD
41527 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41528 character representation.
41529 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41530
ccfe366e
RA
415312011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41532
41533 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41534 END(__isnan) to END(__isnanf) to match function entry point/label
41535 EALIGN(__isnanf,...).
41536
c6e13027
JJ
415372011-03-10 Jakub Jelinek <jakub@redhat.com>
41538
41539 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41540
33f85a3f
UD
415412011-03-10 Ulrich Drepper <drepper@gmail.com>
41542
028478fa
UD
41543 [BZ #12510]
41544 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41545 copy from the symbol referenced in the relocation to initialize the
41546 used variable.
41547 Patch by Piotr Bury <pbury@goahead.com>.
41548 * elf/Makefile: Add rules to build and tst-unique3.
41549 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41550 * elf/tst-unique3.cc: New file.
41551 * elf/tst-unique3.h: New file.
41552 * elf/tst-unique3lib.cc: New file.
41553 * elf/tst-unique3lib2.cc: New file.
41554
33f85a3f
UD
41555 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41556
03592fc7
MF
415572011-03-10 Mike Frysinger <vapier@gentoo.org>
41558
41559 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41560 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41561 to _start.
03592fc7 41562
6a5ee102
UD
415632011-03-06 Ulrich Drepper <drepper@gmail.com>
41564
41565 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41566 to-be-loaded object along a path to loader is ld.so.
41567
7e4ba49c
HJ
415682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41569 Ulrich Drepper <drepper@gmail.com>
41570
41571 * sysdeps/x86_64/memset.S: After aligning destination, code
41572 branches to different locations depending on the value of
41573 misalignment, when multiarch is enabled. Fix this.
41574
415752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41576
41577 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41578 Set _x86_64_preferred_memory_instruction for AMD processsors.
41579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41580 Set bit_Prefer_SSE_for_memop for AMD processors.
41581
13a804de
UD
415822011-03-04 Ulrich Drepper <drepper@gmail.com>
41583
41584 * libio/fmemopen.c (fmemopen): Optimize a bit.
41585
9d25c392
AS
415862011-03-03 Andreas Schwab <schwab@redhat.com>
41587
41588 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41589
a5543c6a
RM
415902011-03-03 Roland McGrath <roland@redhat.com>
41591
41592 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41593
012d35f7
DM
415942011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41595
7e4ba49c 41596 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41597 __bzero_ultra1 instead of __memset_ultra1.
41598
4bff6e01
AS
415992011-02-23 Andreas Schwab <schwab@redhat.com>
41600 Ulrich Drepper <drepper@gmail.com>
41601
41602 [BZ #12509]
41603 * include/link.h (struct link_map): Add l_orig_initfini.
41604 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41605 returning unsuccessfully.
41606 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41607 close of a file loaded at startup, restore the original l_initfini
41608 list.
41609 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41610 list, store the pointer.
41611 * elf/Makefile ($(objpfx)noload-mem): New rule.
41612 (noload-ENV): Define.
41613 (tests): Add $(objpfx)noload-mem.
41614 * elf/noload.c: Include <memcheck.h>.
41615 (main): Call mtrace. Close all opened handles.
41616
f2092faf
AS
416172011-02-17 Andreas Schwab <schwab@redhat.com>
41618
41619 [BZ #12454]
41620 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41621 dependencies are missing.
41622
6c8a2e88
ST
416232011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41624
f2092faf 41625 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41626 Hurd needs munmap.
41627 * sysdeps/mach/hurd/ifreq.h: New file.
41628
84a42118
PB
416292011-01-27 Petr Baudis <pasky@suse.cz>
41630 Ulrich Drepper <drepper@gmail.com>
41631
071f805e 41632 [BZ 12445]#
84a42118
PB
41633 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41634 to extend_alloca().
41635 * stdio-common/bug23.c: New file.
41636 * stdio-common/Makefile (tests): Add bug23.
41637
e23fe25b
AS
416382010-09-28 Andreas Schwab <schwab@redhat.com>
41639 Ulrich Drepper <drepper@gmail.com>
41640
41641 [BZ #12489]
41642 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41643 before performing relro protection. At old place add assertion
41644 to make sure nothing changed.
41645
d3f02e10
NS
416462011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41647 Glauber de Oliveira Costa <glommer@gmail.com>
41648
41649 * elf/elf.h: Add new ARM TLS relocs.
41650
d55fd7a5
RA
416512011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41652
41653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41654 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41655 cast from r3.
41656 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41657 'tests' variable.
41658 * sysdeps/wordsize-64/tst-writev.c: New file.
41659
2206397e
RA
416602011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41661
41662 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41663 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41664 insns in _dl_start to prevent a TOC reference before relocs are
41665 resolved.
41666
e9433893
UD
416672011-02-15 Ulrich Drepper <drepper@gmail.com>
41668
41669 [BZ #12469]
41670 * Makeconfig: Remove RANLIB definition.
41671 * Makerules: Don't use RANLIB.
41672 * aclocal.m4: Remove ranlib test.
41673 * configure.in: No need to check for ranlib.
41674 * elf/rtld-Rules: Don't use RANLIB.
41675
f75286c6
ST
416762011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41677
8e31c82d
ST
41678 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41679 protection macro.
41680 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41681 inclusion protection macro.
41682
f75286c6
ST
41683 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41684 SIGRTMIN and SIGRTMAX and print information in that case only when
41685 SIGRTMIN is defined.
41686
c1d0e639
JJ
416872011-02-11 Jakub Jelinek <jakub@redhat.com>
41688
41689 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41690 arginfo fn returning -1.
41691
41692 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41693 and thousands string is zero terminated.
41694
edf9294e
AS
416952011-02-03 Andreas Schwab <schwab@redhat.com>
41696
41697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41698 sysdeps/unix/sysv/linux/bits/socket.h.
41699
2b7e92df
ST
417002011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41701
edf9294e
AS
41702 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41703 (__CPU_COUNT): Remove old macros.
41704 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41705 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41706 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41707 (__sched_cpualloc, __sched_cpufree): Add declarations.
41708
a4c7ea7b
UD
417092011-02-05 Ulrich Drepper <drepper@gmail.com>
41710
41711 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41712 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41713 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41714 (readdhstai): Return value of addhstaiX call.
41715 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41716 (addgrbyX): Return value returned by cache_addgr.
41717 (readdgrbyname): Return value returned by addgrbyX.
41718 (readdgrbygid): Likewise.
41719 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41720 (addpwbyX): Return value returned by cache_addpw.
41721 (readdpwbyname): Return value returned by addhstbyX.
41722 (readdpwbyuid): Likewise.
41723 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41724 (addservbyX): Return value returned by cache_addserv.
41725 (readdservbyname): Return value returned by addservbyX:
41726 (readdservbyport): Likewise.
41727 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41728 (addhstbyX): Return value returned by cache_addhst.
41729 (readdhstbyname): Return value returned by addhstbyX.
41730 (readdhstbyaddr): Likewise.
41731 (readdhstbynamev6): Likewise.
41732 (readdhstbyaddrv6): Likewise.
41733 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41734 (readdinitgroups): Return value returned by addinitgroupsX.
41735 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41736 (prune_cache): Keep track of timeout value of re-added entries.
41737 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41738 * nscd/nscd.h: Adjust prototypes of readd* functions.
41739
a0bf67cc
RM
417402011-02-04 Roland McGrath <roland@redhat.com>
41741
41742 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41743 (nis_stats): Likewise.
41744 * nis/nis_modify.c (nis_modify): Likewise.
41745 * nis/nis_remove.c (nis_remove): Likewise.
41746 * nis/nis_add.c (nis_add): Likewise.
41747
41748 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41749
41750 * posix/fnmatch_loop.c: Add some consts.
41751
41752 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41753
435b95eb
L
417542011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41755
41756 [BZ #12460]
41757 * config.make.in (config-cflags-novzeroupper): Define.
41758 * configure.in: Substitute libc_cv_cc_novzeroupper.
41759 * elf/Makefile (AVX-CFLAGS): Define.
41760 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41761 (CFLAGS-tst-auditmod4a.c): Likewise.
41762 (CFLAGS-tst-auditmod4b.c): Likewise.
41763 (CFLAGS-tst-auditmod6b.c): Likewise.
41764 (CFLAGS-tst-auditmod6c.c): Likewise.
41765 (CFLAGS-tst-auditmod7b.c): Likewise.
41766 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41767
8517b15e
UD
417682011-02-02 Ulrich Drepper <drepper@gmail.com>
41769
41770 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41771 function to the callback.
41772 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41773
10a656fe
AS
417742011-02-02 Andreas Schwab <schwab@redhat.com>
41775
41776 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41777 of errno.
41778
968dad0a
UD
417792011-01-19 Ulrich Drepper <drepper@gmail.com>
41780
9f94d2ea 41781 [BZ #11724]
968dad0a
UD
41782 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41783 of constructors.
41784 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41785 of destructors.
41786 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41787
41788 [BZ #11724]
41789 * elf/Makefile: Add rules to build and run new test.
41790 * elf/tst-initorder.c: New file.
41791 * elf/tst-initorder.exp: New file.
41792 * elf/tst-initordera1.c: New file.
41793 * elf/tst-initordera2.c: New file.
41794 * elf/tst-initordera3.c: New file.
41795 * elf/tst-initordera4.c: New file.
41796 * elf/tst-initorderb1.c: New file.
41797 * elf/tst-initorderb2.c: New file.
41798 * elf/tst-order-a1.c: New file.
41799 * elf/tst-order-a2.c: New file.
41800 * elf/tst-order-a3.c: New file.
41801 * elf/tst-order-a4.c: New file.
41802 * elf/tst-order-b1.c: New file.
41803 * elf/tst-order-b2.c: New file.
41804 * elf/tst-order-main.c: New file.
41805 New test case by George Gensure <werkt0@gmail.com>.
41806
86e92359
UD
418072010-10-01 Andreas Schwab <schwab@redhat.com>
41808
41809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41810 decoding ACE if AI_CANONIDN.
41811
5d5732b0
UD
418122011-01-18 Ulrich Drepper <drepper@gmail.com>
41813
41814 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41815
a77e8cbc
UD
418162011-01-17 Ulrich Drepper <drepper@gmail.com>
41817
6392473f
UD
41818 * version.h (RELEASE): Bump for 2.13 release.
41819 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41820
620a0529
UD
41821 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41822
18ba70a5
UD
41823 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41824 MADV_NOHUGEPAGE.
32465c3e
UD
41825 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41826 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41827 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41828 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41830 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41831
c0dafcf1
UD
41832 * posix/getconf.c: Update copyright year.
41833 * catgets/gencat.c: Likewise.
41834 * csu/version.c: Likewise.
41835 * debug/catchsegv.sh: Likewise.
41836 * debug/xtrace.sh: Likewise.
41837 * elf/ldconfig.c: Likewise.
41838 * elf/ldd.bash.in: Likewise.
41839 * elf/sprof.c (print_version): Likewise.
41840 * iconv/iconv_prog.c: Likewise.
41841 * iconv/iconvconfig.c: Likewise.
41842 * locale/programs/locale.c: Likewise.
41843 * locale/programs/localedef.c: Likewise.
41844 * malloc/memusage.sh: Likewise.
41845 * malloc/mtrace.pl: Likewise.
41846 * nscd/nscd.c (print_version): Likewise.
41847 * nss/getent.c: Likewise.
41848
a77e8cbc
UD
41849 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41850 PF_CAIF, and PF_ALG.
41851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41852
77e8bddf
AS
418532011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41854
1f20b93a
AS
41855 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41856 (modules-names): Use them.
41857 (ifunc-test-modules, ifunc-pie-tests): Define.
41858 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41859 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41860 (test-extras): Likewise.
41861 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41862 $(compile-command.c).
41863 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41864 (all-built-dso): Define.
41865 (check-textrel.out, check-execstack.out): Depend on it.
41866
77e8bddf
AS
41867 * configure.in: Don't override --enable-multi-arch.
41868
bc425b33
UD
418692011-01-15 Ulrich Drepper <drepper@gmail.com>
41870
41871 [BZ #6812]
41872 * nscd/hstcache.c (tryagain): Define.
41873 (cache_addhst): Return tryagain not notfound for temporary errors.
41874 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41875 failed.
41876
794c3ad3
UD
418772011-01-14 Ulrich Drepper <drepper@gmail.com>
41878
70181fdd
UD
41879 [BZ #10563]
41880 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41881 to make the syscall.
41882 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41883
794c3ad3
UD
41884 [BZ #12378]
41885 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41886 and fall back to matching as normal character if the string ends before
41887 the matching ']' is found. This is what POSIX requires.
41888 * posix/testfnm.c: Adjust test result.
41889 * posix/globtest.sh: Adjust test result. Add new test.
41890 * posix/tst-fnmatch.input: Likewise.
41891 * posix/tst-fnmatch2.c: Add new test.
41892
68dc9497
AS
418932010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41894
41895 * elf/Makefile (check-execstack): Revert last change. Depend on
41896 check-execstack.h.
41897 (check-execstack.h): New target.
41898 (generated): Add check-execstack.h.
41899 * elf/check-execstack.c: Include "check-execstack.h".
41900 (main): Revert last change.
41901 (handle_file): Return zero if GNU_STACK is absent and
41902 DEFAULT_STACK_PERMS doesn't include PF_X.
41903
451f001b
UD
419042011-01-13 Ulrich Drepper <drepper@gmail.com>
41905
cfa28e56
UD
41906 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41907 in child fails because the descriptor is already closed.
8cf8ce17
UD
41908 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41909 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41910 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41911
1086d70d
UD
41912 [BZ #12397]
41913 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41914 syscall.
41915
451f001b
UD
41916 [BZ #10484]
41917 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41918 temporary buffer used to handle multi lookups locally.
a85b5cb4 41919 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41920
08769175
UD
419212011-01-12 Ulrich Drepper <drepper@gmail.com>
41922
41923 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41924 loader is ld.so.
41925
5e49c52e
UD
419262011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41927
41928 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41929 alignment for SSE2.
41930
60522a5f
UD
419312011-01-12 Ulrich Drepper <drepper@gmail.com>
41932
41933 [BZ #12394]
41934 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41935 characters. When rounding increased number of integer digits recompute
41936 number of groups.
41937 * stdio-common/tst-grouping.c: New file.
41938 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41939
f257bbd7
UD
419402011-01-09 Ulrich Drepper <drepper@gmail.com>
41941
41942 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41943 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41944
41945 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41946 void.
41947 * bits/select.h: Likewise.
41948
fa9c15cb
UD
419492011-01-08 Ulrich Drepper <drepper@gmail.com>
41950
41951 * po/ja.po: Update from translation team.
41952
16c2895f
DM
419532011-01-04 David S. Miller <davem@sunset.davemloft.net>
41954
41955 [BZ #11155]
41956 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41957 implementation just like for lxstat, fxstatat, et al.
41958
2543fef2
JM
419592010-12-27 Jim Meyering <meyering@redhat.com>
41960
41961 [BZ #12348]
41962 * posix/regexec.c (build_trtable): Return failure indication upon
41963 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41964
98727dbe
UD
419652010-12-25 Ulrich Drepper <drepper@gmail.com>
41966
5bd6dc5c
UD
41967 [BZ #12201]
41968 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41969 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41970 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41971 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41972
97983464
UD
41973 [BZ #12207]
41974 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41975
98727dbe
UD
41976 [BZ #12204]
41977 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41978 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41979
4a531bb0
L
419802010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41981
41982 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41983 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41984 script has SORT_BY_INIT_PRIORITY.
41985 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41986 NO_CTORS_DTORS_SECTIONS is defined.
41987 * elf/soinit.c: Likewise.
41988 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41989 NO_CTORS_DTORS_SECTIONS is defined.
41990 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41991 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41992 * sysdeps/sh/init-first.c: Likewise.
41993 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41994
07eb4b71
UD
419952010-12-24 Ulrich Drepper <drepper@gmail.com>
41996
41997 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41998 always use the slow path.
41999
30950a5f
RA
420002010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42001
42002 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42003 similar rule which adds the sysdep directories to the header search in
42004 order to pick up the correct platform stackinfo.h.
42005 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42006 perform test if it is, otherwise return successfully without testing.
42007 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42008 DEFAULT_STACK_PERMS define in stackinfo.h.
42009 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42010 defined in stackinfo.h.
42011 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42012 DEFAULT_STACK_PERMS defined in stackinfo.h.
42013 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42014 * sysdeps/ia64/stackinfo.h: Likewise.
42015 * sysdeps/s390/stackinfo.h: Likewise.
42016 * sysdeps/sh/stackinfo.h: Likewise.
42017 * sysdeps/sparc/stackinfo.h: Likewise.
42018 * sysdeps/x86_64/stackinfo.h: Likewise.
42019 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42020 PF_X for powerpc64. Retain PF_X for powerpc32.
42021
db753e2c
UD
420222010-12-19 Ulrich Drepper <drepper@gmail.com>
42023
14b697f7
UD
42024 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42025 accurately.
db753e2c
UD
42026 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42027 GETDENTS_64BIT_ALIGNED.
42028
28300719
UD
420292010-12-14 Ulrich Drepper <dreper@gmail.com>
42030
14b697f7 42031 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42032
4f197237
AS
420332010-12-10 Andreas Schwab <schwab@redhat.com>
42034
dbb0472f
AS
42035 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42036 _GNU_SOURCE.
42037
4f197237
AS
42038 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42039 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42040 Remove __restrict.
42041 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42042 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42043
fb88ac72
UD
420442010-12-09 Ulrich Drepper <drepper@gmail.com>
42045
42046 [BZ #11655]
42047 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42048 are initialized.
42049
42acbb92
JJ
420502010-12-09 Jakub Jelinek <jakub@redhat.com>
42051
42052 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42053
c038d98d
UD
420542010-12-03 Ulrich Drepper <drepper@gmail.com>
42055
42056 * po/it.po: Update from translation team.
42057
3a4a2499
L
420582010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42059
42060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42061 unused codes.
42062
1e24cf6e
UD
420632010-11-30 Ulrich Drepper <drepper@gmail.com>
42064
42065 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42066
a7690819
AS
420672010-11-24 Andreas Schwab <schwab@redhat.com>
42068
42069 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42070 specially.
42071 (gaih_getanswer_slice): Likewise.
42072
3bf8d1b1
JJ
420732010-10-20 Jakub Jelinek <jakub@redhat.com>
42074
42075 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42076
6db52fbb
PB
420772010-05-31 Petr Baudis <pasky@suse.cz>
42078
42079 [BZ #11149]
42080 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42081 silently even in the chroot mode.
42082
eaca7569
UD
420832010-11-22 Ulrich Drepper <drepper@gmail.com>
42084
42085 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42086 last patch a bit. Pretty printing
42087
3056dcdb
UD
420882010-05-31 Petr Baudis <pasky@suse.cz>
42089
42090 [BZ #10085]
42091 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42092 initialization of skip_initgroups_dyn.
42093
cf7c9078
UD
420942010-11-19 Ulrich Drepper <drepper@gmail.com>
42095
42096 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42098
a1fb5e3e
UD
420992010-11-16 Ulrich Drepper <drepper@gmail.com>
42100
42101 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42102
3540d66b
AS
421032010-11-11 Andreas Schwab <schwab@redhat.com>
42104
42105 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42106 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42107 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42108 ($(objpfx)tst-fnmatch-mem): New rule.
42109 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42110 * posix/tst-fnmatch.c (main): Call mtrace.
42111
13b69574
L
421122010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42113
42114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42115 Support Intel processor model 6 and model 0x2c.
42116
da93d214
LM
421172010-11-10 Luis Machado <luisgpm@br.ibm.com>
42118
42119 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42120 signed comparison.
42121
8ca52c6e
L
421222010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42123
42124 [BZ #12205]
42125 * string/test-strncasecmp.c (check_result): New function.
42126 (do_one_test): Use it.
42127 (check1): New function.
42128 (test_main): Use it.
42129 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42130 Support strcasecmp and strncasecmp.
42131
69da074d
UD
421322010-11-08 Ulrich Drepper <drepper@gmail.com>
42133
42134 [BZ #12194]
42135 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42136 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42137
ff02d528
L
421382010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42139
42140 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42141 IFUNC support.
42142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42143 memset-x86-64.
42144 * sysdeps/x86_64/multiarch/bzero.S: New file.
42145 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42146 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42147 * sysdeps/x86_64/multiarch/memset.S: New file.
42148 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42150 Set bit_Prefer_SSE_for_memop for Intel processors.
42151 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42152 Define.
42153 (index_Prefer_SSE_for_memop): Define.
42154 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42155
344d0b54
LM
421562010-11-04 Luis Machado <luisgpm@br.ibm.com>
42157
42158 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42159 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42160
c0dde15b
UD
421612010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42162
42163 [BZ #12191]
42164 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42165 (__x86_64_raw_data_cache_size_half): Likewise.
42166 (__x86_64_raw_shared_cache_size): Likewise.
42167 (__x86_64_raw_shared_cache_size_half): Likewise.
42168
42169 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42170 (__x86_64_raw_data_cache_size_half): Likewise.
42171 (__x86_64_raw_shared_cache_size): Likewise.
42172 (__x86_64_raw_shared_cache_size_half): Likewise.
42173 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42174 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42175 and __x86_64_raw_shared_cache_size_half. Round
42176 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42177 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42178 to multiple of 256 bytes.
42179
0e516e0e
MS
421802010-11-03 Ulrich Drepper <drepper@gmail.com>
42181
42182 [BZ #12167]
42183 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42184 of inacessible symlinks. Verify result of symlink before returning it.
42185 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42186 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42187
0e012e87
ER
421882010-10-28 Erich Ritz <erichritz@gmail.com>
42189
42190 * math/math.h (isinf): Fix typo in comment.
42191
de0ff7bc
UD
421922010-11-01 Ulrich Drepper <drepper@gmail.com>
42193
42194 * po/da.po: Update from translation team.
42195
fa41c84d
UD
421962010-10-26 Ulrich Drepper <drepper@gmail.com>
42197
42198 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42199 is added to the list.
42200
f0967738
AK
422012010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42202 Ulrich Drepper <drepper@gmail.com>
42203
42204 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42205 the global list here. Move code to...
42206 (_dl_add_to_namespace_list): ...here. New function.
42207 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42208 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42209 * elf/dl-load.c (lose): Don't remove the element from the list.
42210 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42211 (_dl_map_object): Likewise.
42212
422132010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42214
42215 [BZ #12159]
42216 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42217 into all bytes of SSE register.
42218 Patch by Richard Li <richardpku@gmail.com>.
42219
f0967738 422202010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42221
42222 [BZ #12140]
42223 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42224 perturbing.
42225
d0b9e94f
MB
422262010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42227
42228 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42229 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42230 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42231 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42233 submachine.
42234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42235
8e9f92e9
AS
422362010-10-22 Andreas Schwab <schwab@redhat.com>
42237
42238 * include/dlfcn.h (__RTLD_SECURE): Define.
42239 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42240 mode & __RTLD_SECURE instead.
42241 (open_path): Rename preloaded parameter to secure.
42242 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42243 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42244 * elf/dl-deps.c (openaux): Likewise.
42245 * elf/rtld.c (struct map_args): Remove is_preloaded.
42246 (map_doit): Don't use it.
42247 (dl_main): Likewise.
42248 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42249 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42250
bc96fbda
AS
422512010-09-09 Andreas Schwab <schwab@redhat.com>
42252
42253 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42254 (sysd-rules-targets): Remove duplicates.
42255 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42256 rtld-%.$o dependency.
42257
22cd1c9b
AS
422582010-10-18 Andreas Schwab <schwab@redhat.com>
42259
42260 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42261 _dl_map_object do it.
42262
18edac48
UD
422632010-10-19 Ulrich Drepper <drepper@gmail.com>
42264
42265 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42266 fast fma builtins, define the macros in the C99 standard.
42267 (FP_FAST_FMAF): Likewise.
42268 (FP_FAST_FMAL): Likewise.
42269 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42270
42271 * bits/mathdef.h: Update copyright year.
42272 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42273
d2050124
MM
422742010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42275
42276 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42277 builtins, define the macros in the C99 standard.
42278 (FP_FAST_FMAF): Likewise.
42279 (FP_FAST_FMAL): Likewise.
42280 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42281 multiply/add.
42282 (FP_FAST_FMAF): Likewise.
42283
475facd1
JJ
422842010-10-15 Jakub Jelinek <jakub@redhat.com>
42285
42286 [BZ #3268]
42287 * math/libm-test.inc (fma_test): Some new testcases.
42288 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42289 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42290 y and infinite z. Do multiplication by C already in long double.
42291 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42293 y and infinite z. Do bitwise or of inexact bit into u.d.
42294 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42295 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42296 * sysdeps/i386/fpu/s_fma.S: Removed.
42297 * sysdeps/i386/fpu/s_fmal.S: Removed.
42298
7c08a05c
JJ
422992010-10-16 Jakub Jelinek <jakub@redhat.com>
42300
42301 [BZ #3268]
42302 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42304 computation is not scheduled after fetestexcept. Fix value
42305 of minimum denormal long double.
42306
f3f7372d
JJ
423072010-10-14 Jakub Jelinek <jakub@redhat.com>
42308
42309 [BZ #3268]
42310 * math/libm-test.inc (fma_test): Add some more tests.
42311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42312 correctly.
42313
14d43591
AS
423142010-10-15 Andreas Schwab <schwab@redhat.com>
42315
42316 * scripts/data/localplt-s390-linux-gnu.data: New file.
42317 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42318
5e908464
JJ
423192010-10-13 Jakub Jelinek <jakub@redhat.com>
42320
42321 [BZ #3268]
42322 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42323 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42324 instead of dbl-64.
42325 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42326 inlines.
42327 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42329 if one of x and y is very large and the other is subnormal.
42330 * sysdeps/s390/fpu/s_fmaf.c: New file.
42331 * sysdeps/s390/fpu/s_fma.c: New file.
42332 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42333 * sysdeps/powerpc/fpu/s_fma.S: New file.
42334 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42335 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42336 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42337
423382010-10-12 Jakub Jelinek <jakub@redhat.com>
42339
42340 [BZ #3268]
42341 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42342 fma tests.
42343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42344 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42345 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42346 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42347 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42348 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42350
b833d51f
UD
423512010-10-12 Ulrich Drepper <drepper@redhat.com>
42352
42353 [BZ #12078]
42354 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42355 * posix/bug-regex31.input: Add test case.
42356
1751705d
UD
423572010-10-11 Ulrich Drepper <drepper@gmail.com>
42358
e9b9cbf5
UD
42359 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42360 * posix/bug-regex31.input: New file.
42361
42362 [BZ #12078]
42363 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42364 (parse_sub_exp): Fix last change, use postorder.
42365
ef06edbe
UD
42366 * posix/bug-regex31.c: New file.
42367 * posix/Makefile: Add rules to build and run bug-regex31.
42368
a129c80d
UD
42369 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42370
42371 [BZ #12078]
42372 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42373
b76b818e
UD
42374 [BZ #12108]
42375 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42376 to have entries in sys_siglist.
42377
1751705d
UD
42378 [BZ #12093]
42379 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42380 be NULL.
42381
9ff8d36f
JJ
423822010-10-07 Jakub Jelinek <jakub@redhat.com>
42383
42384 [BZ #3268]
42385 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42386 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42387 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42388 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42389 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42390 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42391 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42392 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42393 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42394 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42395 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42396 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42397 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42398 * math/ftestexcept.c (fetestexcept): Likewise.
42399 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42400 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42401 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42402 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42403 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42404 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42406
af325969
UD
424072010-10-11 Ulrich Drepper <drepper@gmail.com>
42408
c579b202 42409 [BZ #12107]
af325969
UD
42410 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42411 newline.
42412
67a67b95
UD
424132010-10-06 Ulrich Drepper <drepper@gmail.com>
42414
42415 * string/bug-strstr1.c: New file.
42416 * string/Makefile: Add rules to build and run bug-strstr1.
42417
5fb308bc
EB
424182010-10-05 Eric Blake <eblake@redhat.com>
42419
42420 [BZ #12092]
42421 * string/str-two-way.h (two_way_long_needle): Always clear memory
42422 when skipping input due to the shift table.
42423
45db99c7
UD
424242010-10-03 Ulrich Drepper <drepper@gmail.com>
42425
3b111893
UD
42426 [BZ #12005]
42427 * malloc/mcheck.c: Handle large requests.
42428
45db99c7
UD
42429 [BZ #12077]
42430 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42431 for strncmp and strncasecmp.
42432 * string/stratcliff.c: Add tests for strcmp and strncmp.
42433 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42434
cf7a1eb8
NI
424352010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42436
42437 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42438 __set_fpscr.
42439
6484ba5e
AJ
424402010-09-30 Andreas Jaeger <aj@suse.de>
42441
42442 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42443 (CGROUP_SUPER_MAGIC): Define.
42444 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42445 Handle btrfs and cgroup file systems.
42446 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42447 Likewise.
42448
91c42559
LM
424492010-09-27 Luis Machado <luisgpm@br.ibm.com>
42450
42451 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42452 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42453
87a97932
AK
424542010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42455
42456 [BZ #12067]
42457 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42458 trying to locate the ELF header.
42459
c21cc9bc
AS
424602010-09-27 Andreas Schwab <schwab@redhat.com>
42461
42462 [BZ #11611]
42463 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42464 Mask out sign-bit copies when constructing f_fsid.
42465
315970f6
PB
424662010-09-24 Petr Baudis <pasky@suse.cz>
42467
42468 * debug/stack_chk_fail_local.c: Add missing licence exception.
42469 * debug/warning-nop.c: Likewise.
42470
1ac7a2c7
JM
424712010-09-15 Joseph Myers <joseph@codesourcery.com>
42472
42473 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42474 implementing getdents64 using getdents syscall, set d_type if
42475 __ASSUME_GETDENTS32_D_TYPE.
42476
56801c50
AS
424772010-09-16 Andreas Schwab <schwab@redhat.com>
42478
42479 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42480 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42481
dda51327
UD
424822010-09-21 Ulrich Drepper <drepper@redhat.com>
42483
42484 [BZ #12037]
42485 * posix/unistd.h: Undo change of feature selection for ftruncate from
42486 2010-01-11.
42487
8ffcee4a
UD
424882010-09-20 Ulrich Drepper <drepper@redhat.com>
42489
a545ecd9 42490 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42491 detection.
42492
e24f0a8b
AS
424932010-09-20 Andreas Schwab <schwab@redhat.com>
42494
42495 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42496 fanotify_mark.
42497 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42498
7291c56f
AS
424992010-09-14 Andreas Schwab <schwab@redhat.com>
42500
42501 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42502 variables after CHECK_SP call.
42503 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42504
bc5fb037
AS
425052010-09-13 Andreas Schwab <schwab@redhat.com>
42506 Ulrich Drepper <drepper@redhat.com>
42507
42508 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42509 re-relocationg ld.so.
42510 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42511 _dl_init_paths call.
42512 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42513 here anymore.
42514
e66e7419
UD
425152010-09-14 Ulrich Drepper <drepper@redhat.com>
42516
42517 * resolv/res_init.c (__res_vinit): Count the default server we added.
42518
c044aa75
CLT
425192010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42520 Ulrich Drepper <drepper@redhat.com>
42521
42522 [BZ #11968]
42523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42524 (____longjmp_chk): Use %ebx for saving value across system call.
42525 Add unwind info.
42526
32cf4069
AS
425272010-09-06 Andreas Schwab <schwab@redhat.com>
42528
42529 * manual/Makefile: Don't mix pattern rules with normal rules.
42530
817328ee
AS
425312010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42532
42533 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42534 operation.
42535 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42536 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42537 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42538 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42540 Likewise.
42541
29fddf61
UD
425422010-09-04 Ulrich Drepper <drepper@redhat.com>
42543
42544 [BZ #11979]
42545 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42546 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42547
0959ffc9
UD
425482010-09-02 Ulrich Drepper <drepper@redhat.com>
42549
42550 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42551 * sysdeps/x86_64/addmul_1.S: Likewise.
42552 * sysdeps/x86_64/lshift.S: Likewise.
42553 * sysdeps/x86_64/mul_1.S: Likewise.
42554 * sysdeps/x86_64/rshift.S: Likewise.
42555 * sysdeps/x86_64/sub_n.S: Likewise.
42556 * sysdeps/x86_64/submul_1.S: Likewise.
42557
ece29840
ST
425582010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42559
0959ffc9
UD
42560 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42561 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42562 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42563 * bits/sched.h [__need_schedparam]
ece29840 42564 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42565 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42566 (__defined_schedparam): Define to 1.
ece29840
ST
42567 (__sched_param): New structure, identical to sched_param.
42568 (__need_schedparam): Undefine.
42569
e53a31fe
MF
425702010-08-31 Mike Frysinger <vapier@gentoo.org>
42571
fdc0c10d
MF
42572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42573 (epoll_create1): Declare.
42574
e53a31fe
MF
42575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42576
a726d796
AS
425772010-08-31 Andreas Schwab <schwab@redhat.com>
42578
42579 [BZ #7066]
42580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42581 shifting retval into place.
42582
2f3e3dc7
UD
425832010-09-01 Ulrich Drepper <drepper@redhat.com>
42584
f2933da9
UD
42585 * nis/rpcsvc/nis.h: Update copyright notice.
42586 * nis/rpcsvc/nis.x: Likewise.
42587 * nis/rpcsvc/nis_callback.h: Likewise.
42588 * nis/rpcsvc/nis_callback.x: Likewise.
42589 * nis/rpcsvc/nis_object.x: Likewise.
42590 * nis/rpcsvc/nis_tags.h: Likewise.
42591 * nis/rpcsvc/yp.h: Likewise.
42592 * nis/rpcsvc/yp.x: Likewise.
42593 * nis/rpcsvc/ypupd.h: Likewise.
42594 * nis/yp_xdr.c: Likewise.
42595 * nis/ypupdate_xdr.c: Likewise.
42596
2f3e3dc7
UD
42597 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42598 mainly the body of pmap_getport. Add parameters to specify timeouts.
42599 (pmap_getport): Use __libc_rpc_getport.
42600 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42601 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42602 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42603
f3dcc2f9
AS
426042010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42605
42606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42607 fanotify_mark.
42608
6d34eb5b
RM
426092010-08-27 Roland McGrath <roland@redhat.com>
42610
42611 * sysdeps/i386/i686/multiarch/Makefile
42612 (CFLAGS-varshift.c): New variable.
42613
9ea3de11
UD
426142010-08-27 Ulrich Drepper <drepper@redhat.com>
42615
c96d23fc
UD
42616 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42617 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42618
9ea3de11
UD
42619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42620
42621 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42622
623aac7f
L
426232010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42624
42625 * sysdeps/x86_64/strlen.S: Unroll the loop.
42626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42627 strlen-sse2 strlen-sse2-bsf.
42628 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42629 __strlen_no_bsf if bit_Slow_BSF is set.
42630 (__strlen_sse42): Removed.
42631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42632 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42633
8b2b7715
RM
426342010-08-25 Roland McGrath <roland@redhat.com>
42635
42636 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42637 * sysdeps/x86_64/multiarch/varshift.c: New file.
42638 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42639 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42640 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42641 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42642
e73015f2
L
426432010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42644
42645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42646 strlen-sse2 strlen-sse2-bsf.
42647 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42648 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42649 (__strlen_sse2): Removed.
42650 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42651 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42653 bit_Slow_BSF for Atom.
42654 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42655 (index_Slow_BSF): Define.
42656 (HAS_SLOW_BSF): Define.
42657
df24a73e
UD
426582010-08-25 Ulrich Drepper <drepper@redhat.com>
42659
42660 [BZ #10851]
42661 * resolv/res_init.c (__res_vinit): When no server address at all
42662 is given default to loopback.
42663
f2ac4868
RM
426642010-08-24 Roland McGrath <roland@redhat.com>
42665
09055553
RM
42666 * configure.in: Remove config-name.h generation.
42667 * configure: Regenerated.
42668 * config-name.in: File removed.
42669 * scripts/config-uname.sh: New file.
42670 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42671 ($(objdir)config-name.h): New target.
42672
f2ac4868
RM
42673 * sunrpc/rpc_parse.h: Avoid nested comment.
42674
73f27d5e
RH
426752010-08-24 Richard Henderson <rth@redhat.com>
42676 Ulrich Drepper <drepper@redhat.com>
42677 H.J. Lu <hongjiu.lu@intel.com>
42678
42679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42681 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42682 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42683 _mm_alignr_epi8 with _mm_loadu_si128.
42684 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42685 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42686 (__m128i_shift_right): Removed.
42687 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42688 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42689 * sysdeps/x86_64/multiarch/varshift.h: New file.
42690 * sysdeps/x86_64/multiarch/varshift.S: New file.
42691
84b9230c
MF
426922010-08-21 Mike Frysinger <vapier@gentoo.org>
42693
42694 * configure.in: Move assembler checks to before sysdep dir checking.
42695
9bbd0ddc
PB
426962010-08-20 Petr Baudis <pasky@suse.cz>
42697
42698 * LICENSES: Sync the sunrpc license.
42699
9da4bb31
UD
427002010-08-19 Ulrich Drepper <drepper@redhat.com>
42701
a7ab6ec8
UD
42702 * sunrpc/auth_des.c: Update copyright notice once again.
42703 * sunrpc/auth_none.c: Likewise.
42704 * sunrpc/auth_unix.c: Likewise.
42705 * sunrpc/authdes_prot.c: Likewise.
42706 * sunrpc/authuxprot.c: Likewise.
42707 * sunrpc/bindrsvprt.c: Likewise.
42708 * sunrpc/clnt_gen.c: Likewise.
42709 * sunrpc/clnt_perr.c: Likewise.
42710 * sunrpc/clnt_raw.c: Likewise.
42711 * sunrpc/clnt_simp.c: Likewise.
42712 * sunrpc/clnt_tcp.c: Likewise.
42713 * sunrpc/clnt_udp.c: Likewise.
42714 * sunrpc/clnt_unix.c: Likewise.
42715 * sunrpc/des_crypt.c: Likewise.
42716 * sunrpc/des_soft.c: Likewise.
42717 * sunrpc/get_myaddr.c: Likewise.
42718 * sunrpc/getrpcport.c: Likewise.
42719 * sunrpc/key_call.c: Likewise.
42720 * sunrpc/key_prot.c: Likewise.
42721 * sunrpc/openchild.c: Likewise.
42722 * sunrpc/pm_getmaps.c: Likewise.
42723 * sunrpc/pm_getport.c: Likewise.
42724 * sunrpc/pmap_clnt.c: Likewise.
42725 * sunrpc/pmap_prot.c: Likewise.
42726 * sunrpc/pmap_prot2.c: Likewise.
42727 * sunrpc/pmap_rmt.c: Likewise.
42728 * sunrpc/rpc/auth.h: Likewise.
42729 * sunrpc/rpc/auth_unix.h: Likewise.
42730 * sunrpc/rpc/clnt.h: Likewise.
42731 * sunrpc/rpc/des_crypt.h: Likewise.
42732 * sunrpc/rpc/key_prot.h: Likewise.
42733 * sunrpc/rpc/netdb.h: Likewise.
42734 * sunrpc/rpc/pmap_clnt.h: Likewise.
42735 * sunrpc/rpc/pmap_prot.h: Likewise.
42736 * sunrpc/rpc/pmap_rmt.h: Likewise.
42737 * sunrpc/rpc/rpc.h: Likewise.
42738 * sunrpc/rpc/rpc_des.h: Likewise.
42739 * sunrpc/rpc/rpc_msg.h: Likewise.
42740 * sunrpc/rpc/svc.h: Likewise.
42741 * sunrpc/rpc/svc_auth.h: Likewise.
42742 * sunrpc/rpc/types.h: Likewise.
42743 * sunrpc/rpc/xdr.h: Likewise.
42744 * sunrpc/rpc_clntout.c: Likewise.
42745 * sunrpc/rpc_cmsg.c: Likewise.
42746 * sunrpc/rpc_common.c: Likewise.
42747 * sunrpc/rpc_cout.c: Likewise.
42748 * sunrpc/rpc_dtable.c: Likewise.
42749 * sunrpc/rpc_hout.c: Likewise.
42750 * sunrpc/rpc_main.c: Likewise.
42751 * sunrpc/rpc_parse.c: Likewise.
42752 * sunrpc/rpc_parse.h: Likewise.
42753 * sunrpc/rpc_prot.c: Likewise.
42754 * sunrpc/rpc_sample.c: Likewise.
42755 * sunrpc/rpc_scan.c: Likewise.
42756 * sunrpc/rpc_scan.h: Likewise.
42757 * sunrpc/rpc_svcout.c: Likewise.
42758 * sunrpc/rpc_tblout.c: Likewise.
42759 * sunrpc/rpc_util.c: Likewise.
42760 * sunrpc/rpc_util.h: Likewise.
42761 * sunrpc/rpcinfo.c: Likewise.
42762 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42763 * sunrpc/rpcsvc/key_prot.x: Likewise.
42764 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42765 * sunrpc/rpcsvc/mount.x: Likewise.
42766 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42767 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42768 * sunrpc/rpcsvc/rex.x: Likewise.
42769 * sunrpc/rpcsvc/rstat.x: Likewise.
42770 * sunrpc/rpcsvc/rusers.x: Likewise.
42771 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42772 * sunrpc/rpcsvc/spray.x: Likewise.
42773 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42774 * sunrpc/rtime.c: Likewise.
42775 * sunrpc/svc.c: Likewise.
42776 * sunrpc/svc_auth.c: Likewise.
42777 * sunrpc/svc_authux.c: Likewise.
42778 * sunrpc/svc_raw.c: Likewise.
42779 * sunrpc/svc_run.c: Likewise.
42780 * sunrpc/svc_simple.c: Likewise.
42781 * sunrpc/svc_tcp.c: Likewise.
42782 * sunrpc/svc_udp.c: Likewise.
42783 * sunrpc/svc_unix.c: Likewise.
42784 * sunrpc/svcauth_des.c: Likewise.
42785 * sunrpc/xcrypt.c: Likewise.
42786 * sunrpc/xdr.c: Likewise.
42787 * sunrpc/xdr_array.c: Likewise.
42788 * sunrpc/xdr_float.c: Likewise.
42789 * sunrpc/xdr_mem.c: Likewise.
42790 * sunrpc/xdr_rec.c: Likewise.
42791 * sunrpc/xdr_ref.c: Likewise.
42792 * sunrpc/xdr_sizeof.c: Likewise.
42793 * sunrpc/xdr_stdio.c: Likewise.
42794
9da4bb31
UD
42795 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42796 handling.
42797
bdaa77bc
AS
427982010-08-19 Andreas Schwab <schwab@redhat.com>
42799
42800 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42801
fe2f79db
LM
428022010-08-19 Luis Machado <luisgpm@br.ibm.com>
42803
42804 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42805 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42806 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42807 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42808 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42809 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42810 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42811 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42812 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42813 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42814 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42815 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42816 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42817 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42818
b9b42ee0
AB
428192010-07-26 Anton Blanchard <anton@samba.org>
42820
42821 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42822 * malloc/arena.c (heap_trim): Likewise.
42823
1c06ba31
UD
428242010-08-16 Ulrich Drepper <drepper@redhat.com>
42825
42826 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42827 here. Not...
42828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42829 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42830
f8392f40
L
428312010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42832
42833 * sysdeps/i386/elf/Makefile: New file.
42834
3162f12e
AS
428352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42836
42837 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42838 from fanotify_init.
42839 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42841
28c90b2c
UD
428422010-08-15 Ulrich Drepper <drepper@redhat.com>
42843
42844 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42845 of strncasecmp_l.
1feccb6c 42846 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42847
ca6bb004
UD
428482010-08-14 Ulrich Drepper <drepper@redhat.com>
42849
e9f82e0d
UD
42850 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42851 strncase_l-nonascii.
42852 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42853 Add strncase_l-ssse3.
42854 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42855 * sysdeps/x86_64/strcmp.S: Likewise.
42856 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42857 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42858 * sysdeps/x86_64/strncase.S: New file.
42859 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42860 * sysdeps/x86_64/strncase_l.S: New file.
42861 * string/Makefile (strop-tests): Add strncasecmp.
42862 * string/test-strncasecmp.c: New file.
42863
42864 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42865 warning.
42866
ca6bb004
UD
42867 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42868 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42869
052fa7b3
AS
428702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42871
42872 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42873
962dba78
UD
428742010-08-12 Ulrich Drepper <drepper@redhat.com>
42875
42876 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42877 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42878 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42879
bebff237
AM
428802010-05-01 Alan Modra <amodra@gmail.com>
42881
42882 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42883 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42884 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42885 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42886 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42887 tidying. Don't tail-call __sigjmp_save for static lib.
42888 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42889 save location.
42890 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42891 (CALL_MCOUNT): Add eh info, and nop after bl.
42892 (TAIL_CALL_SYSCALL_ERROR): New macro.
42893 (PSEUDO_RET): Use it.
42894 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42895 Correct save location of integer regs and cr.
42896 (_dl_profile_resolve): Correct cr save location. Delete nops
42897 after bl when SHARED. Reduce cfi size a little by better
42898 placement of cfi directives.
42899 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42900 make a stack frame. Instead use parm save area as a temp.
42901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42902 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42904 Don't make a stack frame for parent, use parm save area.
42905 Increase child stack frame to 112 bytes. Don't save unused reg,
42906 and adjust reg usage. Set up cfi on error recovery and
42907 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42909 (__makecontext): Add dummy nop after jump to exit.
42910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42911 Use correct parm save area and cr save, reduce stack frame.
42912 Correct cfi for possible PSEUDO_RET frame setup.
42913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42914 Branch to local label emitted by PSEUDO_RET rather than
42915 __syscall_error.
42916
02637374
AS
429172010-08-12 Andreas Schwab <schwab@redhat.com>
42918
42919 [BZ #11904]
42920 * locale/programs/locale.c (print_assignment): New function.
42921 (show_locale_vars): Use it.
42922
c3e2f19b
UD
429232010-08-11 Ulrich Drepper <drepper@redhat.com>
42924
3cdaa6ad
UD
42925 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42926 field.
42927 (struct statfs64): Likewise.
42928 (_STATFS_F_FLAGS): Define.
42929 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42931 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42932 (ST_VALID): Define locally.
42933 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42934 __statvfs_getflags, use the provided value.
42935 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42936 __ASSUME_STATFS_F_FLAGS.
42937
754f7da3
UD
42938 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42939
10b3bedc
UD
42940 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42941 Add sys/fanotify.h.
42942 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42943 fanotify_mask for GLIBC_2.13.
42944 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42945 fanotify_init and fanotify_mark.
42946 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42947 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42948
c08fb0d7
UD
42949 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42950 Add prlimit.
42951 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42952 prlimit64 for GLIBC_2.13.
42953 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42954 prlimit64.
42955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42956 syscall.
42957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42958 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42959 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42960 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42961 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42962 add prlimit alias.
42963 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42964
15bac72b
UD
42965 [BZ #11903]
42966 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42967 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42968
c3e2f19b
UD
42969 * nss/Makefile: Add rules to build and run tst-nss-test1.
42970 * shlib-versions: Add entry for libnss_test1.
42971 * nss/nss_test1.c: New file.
42972 * nss/tst-nss-test1.c: New file.
42973
42974 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42975 (__nss_configure_lookup): Set appropriate entry in
42976 __nss_configure_lookup to true.
42977 * nss/nsswitch.h: Define enum with indeces of databases in
42978 databases and __nss_database_custom arrays. Declare
42979 __nss_database_custom.
42980 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42981 to avoid using nscd when custom rules are installed.
42982 * nss/getXXbyYY_r.c: Likewise.
42983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42984
42985 * nss/nss_files/files-parse.c: Whitespace fixes.
42986
f15ce4d8
UD
429872010-08-09 Ulrich Drepper <drepper@redhat.com>
42988
42989 [BZ #11883]
42990 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42991 * posix/fnmatch_loop.c: Likewise.
42992
d22e4cc9
AK
429932010-07-17 Andi Kleen <ak@linux.intel.com>
42994
42995 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42996 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42997 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42998 * Versions.def [GLIBC_2.13]: Add.
42999
805bc17d
UD
430002010-08-06 Ulrich Drepper <drepper@redhat.com>
43001
43002 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43003 Also fail if tpwd after pwuid call is NULL.
43004
5a42321d
ST
430052010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43006
43007 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43008 when converting to ms.
43009
fd3ebeda
ST
430102010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43011
43012 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43013 EOPNOTSUPP errors with ENOTTY.
43014 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43015 EOPNOTSUPP errors with ENOTTY.
43016
73507d3a
UD
430172010-07-31 Ulrich Drepper <drepper@redhat.com>
43018
43019 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43020 Add strcasecmp_l-ssse3.
43021 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43022 strcasecmp.
43023 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43024 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43025 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43026
fe36dd02
UD
430272010-07-30 Ulrich Drepper <drepper@redhat.com>
43028
66f6765a
UD
43029 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43030
42e08a54
UD
43031 * string/Makefile (strop-tests): Add strcasecmp.
43032 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43033 strcasecmp_l-nonascii.
43034 (gen-as-const-headers): Add locale-defines.sym.
43035 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43036 * sysdeps/x86_64/strcasecmp.S: New file.
43037 * sysdeps/x86_64/strcasecmp_l.S: New file.
43038 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43039 * sysdeps/x86_64/locale-defines.sym: New file.
43040 * string/test-strcasecmp.c: New file.
43041
fe36dd02
UD
43042 * string/test-strcasestr.c: Test both ends of the range of characters.
43043 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43044
48cbc0d6
RM
430452010-07-29 Roland McGrath <roland@redhat.com>
43046
76e6d6bc 43047 [BZ #11856]
48cbc0d6
RM
43048 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43049
880113d9
UD
430502010-07-27 Ulrich Drepper <drepper@redhat.com>
43051
43052 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43053 for ld.so.
43054
deb9cabb
AS
430552010-07-27 Andreas Schwab <schwab@redhat.com>
43056
43057 * manual/memory.texi (Malloc Tunable Parameters): Document
43058 M_PERTURB.
43059
1c7570ff
RM
430602010-07-26 Roland McGrath <roland@redhat.com>
43061
43062 [BZ #11840]
43063 * configure.in (-fgnu89-inline check): Set and substitute
43064 gnu89_inline, not libc_cv_gnu89_inline.
43065 * configure: Regenerated.
43066 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43067
24fb0f88
UD
430682010-07-26 Ulrich Drepper <drepper@redhat.com>
43069
43070 * string/test-strnlen.c: New file.
43071 * string/Makefile (strop-tests): Add strnlen.
43072 * string/tester.c (test_strnlen): Add a few more test cases.
43073 * string/tst-strlen.c: Better error reporting.
43074
43075 * sysdeps/x86_64/strnlen.S: New file.
43076
8e96b93a
UD
430772010-07-24 Ulrich Drepper <drepper@redhat.com>
43078
43079 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43080 lower-latency instructions.
43081
dbc676d4
UD
430822010-07-23 Ulrich Drepper <drepper@redhat.com>
43083
43084 * string/test-strcasestr.c: New file.
43085 * string/test-strstr.c: New file.
43086 * string/Makefile (strop-tests): Add strstr and strcasestr.
43087 * string/str-two-way.h: Don't undefine MAX.
43088 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43089
f6a31e0e
AS
430902010-07-21 Andreas Schwab <schwab@redhat.com>
43091
43092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43093 strcasestr-nonascii.
43094 (CFLAGS-strcasestr-nonascii.c): Define.
43095 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43096 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43097 Remove unused attribute.
43098
5dbc3b6c
RM
430992010-07-20 Roland McGrath <roland@redhat.com>
43100
43101 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43102 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43103 ld.so.cache was broken. With it, there is no way to disable dsocaps
43104 like LD_HWCAP_MASK can disable hwcaps.
43105
23d101d8
EPM
431062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43107
43108 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43109
cc9f2e47
UD
431102010-07-16 Ulrich Drepper <drepper@redhat.com>
43111
43112 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43113 call in strcasestr.
43114 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43115 __strcasestr_sse42_nonascii.
43116 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43117 strcasestr-nonascii.c.
43118 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43119
77c1b069
LM
431202010-06-15 Luis Machado <luisgpm@br.ibm.com>
43121
43122 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43123 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43124 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43125 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43126
440566c3
UD
431272010-07-09 Ulrich Drepper <drepper@redhat.com>
43128
43129 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43130 fcntl.
43131
5be9d05d
AS
431322010-07-06 Andreas Schwab <schwab@redhat.com>
43133
c30b7ee2 43134 [BZ #11577]
5be9d05d
AS
43135 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43136 dl_signal_cerror.
43137
8a492a67
UD
431382010-07-06 Ulrich Drepper <drepper@redhat.com>
43139
43140 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43141 _PC_PIPE_BUF using F_GETPIPE_SZ.
43142
713df3d5
RM
431432010-07-05 Roland McGrath <roland@redhat.com>
43144
43145 * manual/arith.texi (Rounding Functions): Fix rint description
43146 implicit in round description.
43147
702e8f14
UD
431482010-07-02 Ulrich Drepper <drepper@redhat.com>
43149
43150 * elf/Makefile: Fix linking for a few tests to make recent linker
43151 happy.
43152
52ed8be9
AS
431532010-06-30 Andreas Schwab <schwab@redhat.com>
43154
43155 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43156 $(common-objpfx)libc_nonshared.a.
43157
f47c9a11
LM
431582010-06-21 Luis Machado <luisgpm@br.ibm.com>
43159
43160 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43161 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43162 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43163 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43164 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43165 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43166 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43167 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43182 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43183 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43184 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43185 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43186 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43187 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43188 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43189 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43190 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43191 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43192 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43193 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43208
6fb8cbcb
L
432092010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43210
43211 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43212 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43213 * string/memmove.c (memmove): Renamed to ...
43214 (MEMMOVE): ...this. Default to memmove.
43215 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43216 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43217 (END_CHK): Define.
43218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43219 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43220 mempcpy-ssse3-back memmove-ssse3-back.
43221 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43222 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43223 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43224 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43225 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43226 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43227 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43228 * sysdeps/x86_64/multiarch/memmove.c: New file.
43229 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43230 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43231 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43232 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43233 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43234 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43235 Define.
43236 (index_Fast_Copy_Backward): Define.
43237 (HAS_ARCH_FEATURE): Define.
43238 (HAS_FAST_REP_STRING): Define.
43239 (HAS_FAST_COPY_BACKWARD): Define.
43240
4e733bac 432412010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43242
43243 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43244 Restore proper fallback handling.
43245
63c4ed22
UD
432462010-06-19 Ulrich Drepper <drepper@redhat.com>
43247
ac2b484c
UD
43248 [BZ #11701]
43249 * posix/group_member.c (__group_member): Correct checking loop.
43250
63c4ed22
UD
43251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43252 OOM in getpwuid_r correctly. Return error number when the caller
43253 should return, otherwise -1.
43254 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43255 call returning > 0 value.
43256 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43257
765ade4b
AS
432582010-06-07 Andreas Schwab <schwab@redhat.com>
43259
43260 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43261 libc_nonshared.a from targets in modules-names.
43262
80da2e09
KS
432632010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43264
43265 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43266 requires it.
43267
158db122
LM
432682010-06-10 Luis Machado <luisgpm@br.ibm.com>
43269
43270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43272 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43273 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43274
caa78cf8
AS
432752010-06-02 Andreas Schwab <schwab@redhat.com>
43276
43277 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43278
b2ef2c01
UD
432792010-06-14 Ulrich Drepper <drepper@redhat.com>
43280
43281 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43282 and F_GETPIPE_SZ.
43283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43287 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43289
fbd643b6
RM
432902010-06-14 Roland McGrath <roland@redhat.com>
43291
43292 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43293
f32f2869
JJ
432942010-06-07 Jakub Jelinek <jakub@redhat.com>
43295
43296 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43297 __REDIRECT followed by __THROW.
43298 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43299 * posix/getopt.h (getopt): Likewise.
43300
2a50c078
EPM
433012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43302
43303 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43304 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43305 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43306 in AT_FLAGS.
43307 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43308 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43309
eb5ad2eb
LM
433102010-05-28 Luis Machado <luisgpm@br.ibm.com>
43311
43312 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43313
3c88fe1e
L
433142010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43315
43316 [BZ #11640]
43317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43318 Properly check family and model.
43319
d2f73151
TY
433202010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43321
43322 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43323
ebd2e13d
LM
433242010-05-24 Luis Machado <luisgpm@br.ibm.com>
43325
43326 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43327
b32b8b45
UD
433282010-05-21 Ulrich Drepper <drepper@redhat.com>
43329
43330 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43331 symbol reference.
43332
9acbe24d
AS
433332010-05-19 Andreas Schwab <schwab@redhat.com>
43334
43335 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43336 symbol reference.
43337
f0ccf6ea
AS
433382010-05-21 Andreas Schwab <schwab@redhat.com>
43339
3d04ff3a
AS
43340 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43341 and internal_recvmmsg.
43342 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43343 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43344 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43345 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43346
f0ccf6ea
AS
43347 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43348 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43349 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43350
5b08ac57
AS
433512010-05-20 Andreas Schwab <schwab@redhat.com>
43352
43353 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43354
4828935d
LM
433552010-05-17 Luis Machado <luisgpm@br.ibm.com>
43356
43357 POWER7 optimizations.
43358 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43359 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43360
373d545e
UD
433612010-05-19 Ulrich Drepper <drepper@redhat.com>
43362
43363 * version.h: Update for 2.13 development version.
43364
21a2b1ae
AS
433652010-05-12 Andrew Stubbs <ams@codesourcery.com>
43366
43367 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43368 exceptions. Return 0.
43369
3f7dcb2b
RM
433702010-05-07 Roland McGrath <roland@redhat.com>
43371
43372 * elf/ldconfig.c (main): Add a const.
43373
5f24d53a 433742010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43375
a160f8d8
UD
43376 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43377 (args_options): Add no-idn option.
43378 (ahosts_keys_int): Add idn_flags to ai_flags.
43379 (parse_option): Handle 'i' option to clear idn_flags.
43380
5f24d53a
UD
43381 * malloc/malloc.c (_int_free): Possible race in the most recently
43382 added check. Only act on the data if no current modification
43383 happened.
265bb1ce
UD
43384
43385See ChangeLog.17 for earlier changes.