]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix some sparc conform test failures in siginfo.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
211d653c
DM
12014-04-30 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4 with XOPEN cpp guards.
5
60c8f1f6
JB
62014-04-30 Julian Brown <julian@codesourcery.com>
7
8 [BZ #16888]
9 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10 handling.
11
9a461d46
JM
122014-04-30 Joseph Myers <joseph@codesourcery.com>
13
d0f5b3f8
JM
14 [BZ #9894]
15 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16 Change to 2.6.32.
17 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18 * sysdeps/unix/sysv/linux/configure: Regenerated.
19 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23 * README: Update reference to required Linux kernel version.
24 * manual/install.texi (Linux): Update reference to required Linux
25 kernel headers version.
26 * INSTALL: Regenerated.
27
9a461d46
JM
28 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
29 header inclusion.
30 [POSIX] (limits.h): Likewise.
31 [POSIX] (math.h): Likewise.
32 [POSIX] (sys/wait.h): Likewise.
33 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34 function.
35 [POSIX] (stddef.h): Do not allow header inclusion.
36
1775babf
AZ
372014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
57f41c40 39 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 40
8f630cca
YY
412014-04-30 Yang Yingliang <yangyingliang@huawei.com>
42
43 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44 Return immediately after lll_futex_wake.
45
1cdeb237
SP
462014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47
bc8f194c
SP
48 [BZ #16791]
49 * nscd/nscd-client.h (datahead_init_common): Initialize entire
50 structure.
51 (datahead_init_pos): Call datahead_init_common early.
52 (datahead_init_neg): Likewise.
53
1cdeb237
SP
54 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
55 datahead_init_neg): New functions.
56 * nscd/aicache.c (addhstaiX): Use them.
57 * nscd/grpcache.c (cache_addgr): Likewise.
58 * nscd/hstcache.c (cache_addhst): Likewise.
59 * nscd/initgrcache.c (addinitgroupsX): Likewise.
60 * nscd/netgroupcache.c (do_notfound): Likewise.
61 (addgetnetgrentX): Likewise.
62 (addinnetgrX): Likewise.
63 * nscd/pwdcache.c (cache_addpw): Likewise.
64 * nscd/servicescache.c (cache_addserv): Likewise.
65
16b293a7
SP
662014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67 Atsushi Onoe <atsushi@onoe.org>
68
69 [BZ #14308]
70 [BZ #12994]
71 [BZ #13651]
72 * resolv/res_query.c (__libc_res_nsearch): Return if at least
73 one response is valid.
74 * resolv/res_send.c (send_dg): Check for validity of other
75 response if the current response is a referral.
76
a28a9b94
SE
772014-04-29 Steve Ellcey <sellcey@mips.com>
78
79 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
80
2ca180e9
SL
812014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
82
83 [BZ #16823]
84 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
85 Always divide by positive zero when computing -Inf result.
86 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
87 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
88
18f2945a
AZ
892014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90
91 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
92 FPSCR if value do not change.
93 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
94 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
95 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
96 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
97 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
98 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
99 function.
100
5abebba4
CD
1012014-05-29 Carlos O'Donell <carlos@systemhalted.org>
102
103 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
104 * sysdeps/unix/sysv/linux/hppa: Move directory from
105 ports/systeps/unix/sysv/linux/hppa.
106 * README: Update listing for hppa-*-linux-gnu.
107
f7ed60c2
OB
1082014-04-28 Ondřej Bílka <neleai@seznam.cz>
109
fff763a5
OB
110 [BZ #16754]
111 * manual/stdio.texi (Hook functions): Fix types of stream hook
112 functions.
f7ed60c2
OB
113 [BZ #16854]
114 * socket/sys/socket.h: Fix typo in comment.
115
df639d73
WD
1162014-04-28 Wilco <wdijkstr@arm.com>
117
f7ed60c2 118 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
119 * sysdeps/arm/math_private.h: New file.
120 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
121
48332d82
L
1222014-04-25 H.J. Lu <hongjiu.lu@intel.com>
123
124 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
125 with __int128_t.
126 (La_x86_64_retval): Likewise.
127
e5e0d9a4
IB
1282014-04-24 Ian Bolton <ian.bolton@arm.com>
129
130 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
131 fpsr if value didn't change.
132 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
133 to fpcr if value didn't change.
134 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
135 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
136 fpsr or fpcr if value didn't change.
137 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
138 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
139 fpcr if value didn't change.
140 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
141 to fpsr if value didn't change.
142
bacc75f7
SP
1432014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
144
145 * nptl/tst-sem3.c: Use test-skeleton.c
146 (main): Rename to do_test. Use return instead of
147 exit.
148 * nptl/tst-sem4.c: Use test-skeleton.c
149 (main): Rename to do_test.
150
a059d359
DM
1512014-04-22 David S. Miller <davem@davemloft.net>
152
153 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
154 (struct sigaction): New struct member __glibc_reserved0, change
155 type of sa_flags to int.
156
ea6c92f3
YZ
1572014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
158
159 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
160 (COUNT_LEADING_ZEROS_0): Define for AArch64.
161
766c4a36
SP
1622014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
163
164 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
165 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
166
140cc7ab
VK
1672014-04-22 Will Newton <will.newton@linaro.org>
168 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
169
170 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
171 (__longjmp): Add longjmp and longjmp_target SystemTap
172 probes.
173 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
174 (__sigsetjmp): Add setjmp SystemTap probe.
175
c54e5cf7
CD
1762014-04-17 Carlos O'Donell <carlos@redhat.com>
177
178 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
179 match manual order.
180
75ffb047
AZ
1812014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
182
183 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
184
2cd925f7
AZ
185 * sysdeps/powerpc/fpu/fenv_private.h
186 (libc_feholdexcept_setroundl_ctx): Define to
187 libc_feholdexcept_setround_ppc_ctx.
188 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
189 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
190 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
191 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
192
39e6cd8d
IB
1932014-04-17 Ian Bolton <ian.bolton@arm.com>
194
195 * sysdeps/aarch64/math-tests.h: New file.
196
f9281df9
SY
1972014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
198
199 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
200 New.
201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
202 Check and set bit_AVX2_Usable.
203 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
204 macro.
205 (bit_AVX2): Likewise.
206 (index_AVX2_Usable): Likewise.
207 (CPUID_AVX2): Likewise.
208 (HAS_AVX2): Likewise.
209
37d35007
WN
2102014-04-17 Will Newton <will.newton@linaro.org>
211
7c677662
WN
212 * manual/setjmp.texi (System V contexts): Add note that
213 calling setcontext on a context created by a call to a
214 signal handler is undefined. Update text to note that
215 setcontext from a signal handler is possible but not
216 recommended.
217
37d35007 218 [BZ #16629]
e04a4e9d
WN
219 * stdlib/tst-setcontext.c: Include signal.h.
220 (main): Check that the signal stack before and
221 after swapcontext is the same.
222
37d35007
WN
223 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
224 Re-implement to restore registers in user code and avoid
225 rt_sigreturn system call.
226
423a7160
W
2272014-04-17 Wilco <wdijkstr@arm.com>
228
229 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
230 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
231 * math/test-fenv.c: Skip exception trap tests on targets which only
232 support non-stop mode.
233
bc93ab29
IB
2342014-04-17 Ian Bolton <ian.bolton@arm.com>
235 Wilco Dijkstra <wilco.dijkstra@arm.com>
236
237 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
238 (libc_feholdsetround_aarch64_ctx)
239 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
240 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
241 (libc_feresetround_ctx, libc_feresetroundf_ctx)
242 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
243 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
244 (libc_feresetround_noexl_ctx): Define.
245
95fc5fa3
RH
2462014-04-16 Richard Henderson <rth@redhat.com>
247
ddb04724
RH
248 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
249
d77c0899
RH
250 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
251 unwind tables.
252
a3df56fc
RH
253 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
254 const from the non-libc, non-ldso copy.
255
95fc5fa3
RH
256 * sysdeps/alpha/libm-test-ulps: Regenerate.
257
7e0b6763
IB
2582014-04-16 Ian Bolton <ian.bolton@arm.com>
259 Wilco Dijkstra <wilco.dijkstra@arm.com>
260
261 * sysdeps/aarch64/fpu/math_private.h: New file.
262
a9ea2e0c
MS
2632014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
264
265 * sysdeps/aarch64/libm-test-ulps: Regenerate.
266
ea8ba7cd
IZ
2672014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
268
269 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
270 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
272 Intel MPX bound registers before _dl_profile_fixup.
273 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
274 registers after _dl_profile_fixup. Save and restore bound
275 registers bnd0/bnd1 when calling _dl_call_pltexit.
276 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
277 (LR_BND_OFFSET): Likewise.
278 (LRV_BND0_OFFSET): Likewise.
279 (LRV_BND1_OFFSET): Likewise.
280
9f2a4fbc
ST
2812014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
282
283 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
284 to...
285 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
286 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
287 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
288 fields.
9f2a4fbc 289
fd15a59b
ST
2902014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
291
292 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
293
f19dfa0a
SL
2942014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
295
296 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
297
4fa8bc3b
SL
2982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
299
300 [BZ #14770]
301 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
302 * sysdeps/s390/configure: Regenerate.
303
8ea587db
SL
304 [BZ #16824]
305 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
306 Set round-to-nearest internally to reduce error accumulation.
307
aa5f0ff1
AM
3082014-04-16 Alan Modra <amodra@gmail.com>
309
310 [BZ #16740]
311 [BZ #16619]
312 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
313 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 314 * NEWS: Update fixed bug list.
aa5f0ff1 315
bb9c256f
SP
3162014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
317
318 * benchtests/Makefile: Depend on libraries in build directory.
319 (bench-math): Separate out math tests.
320 (bench-pthread): Separate out pthread tests.
321 (bench): Include math and pthread tests.
322
f737dfd0
CD
3232014-04-14 Carlos O'Donell <carlos@redhat.com>
324
325 [BZ #16831]
326 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
327 _dl_debug_initialize.
328
0699f766
CD
329 * configure.ac: Remove SELinux header check.
330 * configure: Regenerate.
331 * nscd/selinux.c (perms): Array of const char* to permission names.
332 (nscd_request_avc_has_perm): Call security_deny_unknown to find
333 default policy. Call string_to_security_class and string_to_av_perm to
334 translate strings. Enforce default policy and call avs_has_perm with
335 results of translated strings.
336
809bd45f
DM
3372014-04-13 David S. Miller <davem@davemloft.net>
338
339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
340
89e691f2
AM
3412014-04-12 Allan McRae <allan@archlinux.org>
342
343 [BZ #16838]
344 * manual/string.texi (Collation Functions): Fix qsort argument
345 order in example.
346 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
347
9c9daaeb
CM
3482014-04-11 Chris Metcalf <cmetcalf@tilera.com>
349
350 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
351 Make the test a no-op if there are no exceptions defined.
352
95561fb9
PP
3532014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
354
fe8d072c 355 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
356 enable-hardcoded-path-in-tests
357
970c602a
WN
3582014-04-11 Will Newton <will.newton@linaro.org>
359
360 * benchtests/Makefile (extra-objs): Add json-lib.o.
361 (bench-func): Tidy up JSON output.
362 * benchtests/bench-skeleton.c: Include json-lib.h.
363 (main): Use JSON library functions to do output of
364 benchmark results.
365 * benchtests/bench-timing-type.c (main): Output the
366 timing type simply, leaving formatting to the user.
367 * benchtests/json-lib.c: New file.
368 * benchtests/json-lib.h: Likewise.
369
36875b06
TR
3702014-04-11 Torvald Riegel <triegel@redhat.com>
371
372 [BZ #15215]
373 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
374 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
375 memory barriers. Add comments.
376 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
377 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
378 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
379 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
380 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
381 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
382
579db35a
SL
3832014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
384
385 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
386 * sysdeps/s390/s390-64/configure.ac: ... this ...
387 * sysdeps/s390/configure.ac: ... to here.
388 * sysdeps/s390/s390-32/configure: Delete file.
389 * sysdeps/s390/s390-64/configure: Delete file.
390 * sysdeps/s390/configure: Regenerate.
391
c12e9f37
JAPH
3922014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
393
394 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
395
439bda32
WN
3962014-04-11 Will Newton <will.newton@linaro.org>
397
398 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
399 to zero if it is not defined elsewhere. (mtrim): Test
400 the value of MALLOC_DEBUG with #if rather than #ifdef.
401
6a5d6ea1
TR
4022014-04-10 Torvald Riegel <triegel@redhat.com>
403
404 * benchtests/pthread_once-inputs: New file.
405 * benchtests/pthread_once-source.c: New file.
406 * benchtests/README: Update documentation.
407
a4c75cfd
IZ
4082014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
409 H.J. Lu <hongjiu.lu@intel.com>
410
411 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
412 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
413 * sysdeps/x86_64/configure: Regenerated.
414 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
415 macro.
416 (REGISTER_SAVE_RAX): Likewise.
417 (REGISTER_SAVE_RCX): Likewise.
418 (REGISTER_SAVE_RDX): Likewise.
419 (REGISTER_SAVE_RSI): Likewise.
420 (REGISTER_SAVE_RDI): Likewise.
421 (REGISTER_SAVE_R8): Likewise.
422 (REGISTER_SAVE_R9): Likewise.
423 (REGISTER_SAVE_BND0): Likewise.
424 (REGISTER_SAVE_BND1): Likewise.
425 (REGISTER_SAVE_BND2): Likewise.
426 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
427 bound registers when calling _dl_fixup.
428
27822ce6
AZ
4292014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
430
431 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
432 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
433 of its definition.
27822ce6
AZ
434 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
435 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
436 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
437 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
438 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
439 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
440 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
441
a88ddc90
PTB
4422014-04-09 Peter Brett <peter@peter-b.co.uk>
443
444 [BZ #15514]
445 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
446 pathconf(_PC_NAME_MAX).
447
01f8eac2
AZ
4482014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449
450 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
451 Remove macro usage.
452 (__PTHREAD_SPINS): Move definition to ...
453 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
454 (__PTHREAD_SPINS): ... here.
455 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
456 (__PTHREAD_SPIN): Likewise.
457 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
458 (__PTHREAD_SPIN): Likewise.
459 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
460 (__PTHREAD_SPIN): Likewise.
461 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
462 (__PTHREAD_SPIN): Likewise.
463 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
464 (__PTHREAD_SPIN): Likewise.
465 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
466 (__PTHREAD_SPIN): Likewise.
467 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
468 (__PTHREAD_SPIN): Likewise.
469 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
470 (__PTHREAD_SPIN): Likewise.
471 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
472 (__PTHREAD_SPIN): Likewise.
473 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
474 (__PTHREAD_SPIN): Likewise.
475 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
476 (__PTHREAD_SPIN): Likewise.
477 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
478 (__PTHREAD_SPIN): Likewise.
479
de21c33c
AZ
480 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
481 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
482 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
483 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
484 imply folder.
485 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
486 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
487 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
488 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
489 correct imply path.
490 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
491 strlen symbol for non multi-arch builds.
492 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
493 missing hidden_def and weak_alias.
494
862c472e
CD
4952014-04-08 Carlos O'Donell <carlos@redhat.com>
496
497 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
498
8667f90e
WN
4992014-04-07 Will Newton <will.newton@linaro.org>
500
501 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
502 and contents. [!_LIBC] Remove #ifndef and contents.
503 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
504 * string/memccpy.c (__memccpy): Use ANSI prototype.
505 * string/memfrob.c (memfrob): Likewise.
506 * string/strcoll.c (STRCOLL): Likewise.
507 * string/strlen.c (strlen): Likewise.
508 * string/strtok.c (STRTOK): Likewise.
509 * string/strcat.c: Remove unused #include of memcopy.h.
510 (strcat): Use ANSI prototype.
511 * string/strchr.c: Remove unused #include of memcopy.h.
512 (strchr): Use ANSI prototype.
513 * string/strcmp.c: Remove unused #include of memcopy.h.
514 (strcmp): Use ANSI prototype.
515 * string/strcpy.c: Remove unused #include of memcopy.h.
516 (strcpy): Use ANSI prototype.
517
7ffa9423
AZ
5182014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
519
520 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
521 * config.make.in (config-extra-cppflags): Set it from
522 libc_extra_cppflags.
523 * configure.ac (libc_extra_cflags): Make it accumulate over
524 configure fragments.
525 (libc_extra_cppflags): New flag.
526 * configure. Regenerate.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
528 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
529 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
531
8bd70862
AZ
532 [BZ #16815]
533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
534 result for FE_DOWNWARD rounding mode.
535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
536 Likewise.
537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
538
d42f3448
CM
5392014-04-04 Chris Metcalf <cmetcalf@tilera.com>
540
541 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
542 in function argument name.
543
1c21d115
DS
5442014-04-03 David Svoboda <svoboda@cert.org>
545
546 [BZ #5666]
547 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
548 explicitly.
549
fcccd512
RM
5502014-04-03 Roland McGrath <roland@hack.frob.com>
551
552 * elf/dl-unmap-segments.h: New file.
553 * sysdeps/generic/ldsodefs.h
554 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
555 * elf/dl-close.c: Include <dl-unmap-segments.h>.
556 * elf/dl-fptr.c: Likewise.
557 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
558 * sysdeps/aarch64/tlsdesc.c: Likewise.
559 * sysdeps/arm/tlsdesc.c: Likewise.
560 * sysdeps/i386/tlsdesc.c: Likewise.
561 * sysdeps/tile/dl-runtime.c: Likewise.
562 * sysdeps/x86_64/tlsdesc.c: Likewise.
563 * elf/dl-load.h: New file.
564 * elf/dl-load.c: Include it.
565 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
566 Macros moved to dl-load.h.
567 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
568 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
569 Use _dl_unmap_segments in place of __munmap.
570 Break out segment-mapping loop into ...
571 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
572
f6488e2b
WN
5732014-04-03 Will Newton <will.newton@linaro.org>
574
575 * elf/dl-lookup.c (do_lookup_x): Remove comment
576 referring to nested function and move variable
577 declarations down to before first use.
578
6f05bafe
JM
5792014-04-02 Joseph Myers <joseph@codesourcery.com>
580
a84e78c8
JM
581 [BZ #16799]
582 [BZ #16800]
583 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
584 with 0 numerator.
585 * math/s_catanf.c (__catanf): Likewise.
586 * math/s_catanh.c (__catanh): Likewise.
587 * math/s_catanhf.c (__catanhf): Likewise.
588 * math/s_catanhl.c (__catanhl): Likewise.
589 * math/s_catanl.c (__catanl): Likewise.
590 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
591 by positive zero when computing -Inf result.
592 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
593 (catanh_test): Likewise.
594 * sysdeps/i386/fpu/libm-test-ulps: Update.
595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
596
6f05bafe
JM
597 [BZ #16789]
598 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
599 instead of using underflowing value in computing result.
600 * math/s_clog10.c (__clog10): Likewise.
601 * math/s_clog10f.c (__clog10f): Likewise.
602 * math/s_clog10l.c (__clog10l): Likewise.
603 * math/s_clogf.c (__clogf): Likewise.
604 * math/s_clogl.c (__clogl): Likewise.
605 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
606 (clog10_test): Likewise.
607 * sysdeps/i386/fpu/libm-test-ulps: Update.
608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
609
b0abbc21
AM
6102014-04-02 Alan Modra <amodra@gmail.com>
611
612 [BZ #16739]
613 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
614 output when value is near a power of two. Use int64_t for lx and
615 remove casts. Use decimal rather than hex exponent constants.
616 Don't use long double multiplication when double will suffice.
617 * math/libm-test.inc (nextafter_test_data): Add tests.
618 * NEWS: Add 16739 and 16786 to bug list.
619
af6b1797
AM
620 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
621
483818d7
AM
622 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
623
f6c55796
WN
6242014-04-01 Will Newton <will.newton@linaro.org>
625
626 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
627 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
628
13f7fe35
FW
6292014-04-01 Florian Weimer <fweimer@redhat.com>
630
631 [BZ #13347]
632 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
633 * nptl/tst-setuid2.c: New file.
634 * nptl/Makefile (xtests): Add tst-setuid2.
635
c859b32e
AM
6362014-04-01 Alan Modra <amodra@gmail.com>
637
638 [BZ #16786]
639 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
640
54fa2475
JM
6412014-03-31 Joseph Myers <joseph@codesourcery.com>
642
8795b4a4
JM
643 [BZ #6803]
644 [BZ #6804]
645 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
646 set errno as appropriate.
647 * math/w_scalbf.c (__scalbf): Likewise.
648 * math/w_scalbl.c (__scalbl): Likewise.
649 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
650 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
651 * math/libm-test.inc (scalb_test_data): Add errno expectations.
652 Add more NaN tests.
653
54fa2475
JM
654 [BZ #16349]
655 * math/w_atan2.c: Include <errno.h>.
656 (__atan2): Set errno for result underflowing to zero.
657 * math/w_atan2f.c: Include <errno.h>.
658 (__atan2f): Set errno for result underflowing to zero.
659 * math/w_atan2l.c: Include <errno.h>.
660 (__atan2l): Set errno for result underflowing to zero.
661 * math/auto-libm-test-in: Don't allow missing errno for some atan2
662 tests.
663 * math/auto-libm-test-out: Regenerated.
664
757d9dd5
AZ
6652014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
666
667 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
668 Encode instruction correctly in little endian.
669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
670 Likewise.
671 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
672 Likewise.
673 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
674 Likewise.
675 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
676 Likewise.
677
d7a68734
JM
6782014-03-31 Joseph Myers <joseph@codesourcery.com>
679
47c5adeb
JM
680 [BZ #9894]
681 * sysdeps/unix/sysv/linux/kernel-features.h
682 [__sparc__ && !__arch64__ && !__sparc_v9__]
683 (__ASSUME_SET_ROBUST_LIST): Do not define.
684 [__sparc__ && !__arch64__ && !__sparc_v9__]
685 (__ASSUME_FUTEX_LOCK_PI): Likewise.
686 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
687 Likewise.
688 * sysdeps/unix/sysv/linux/arm/kernel-features.h
689 (__ASSUME_FUTEX_LOCK_PI): Undefine.
690 (__ASSUME_REQUEUE_PI): Likewise.
691 (__ASSUME_SET_ROBUST_LIST): Likewise.
692 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
693 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
694 Undefine.
695 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
696 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
697 Likewise.
698 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
699 Likewise.
700 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
701 Likewise.
702 * sysdeps/unix/sysv/linux/mips/kernel-features.h
703 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
704 Undefine.
705 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
706 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
707 Likewise.
708
d7a68734
JM
709 [BZ #16648]
710 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
711 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
712 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
713
c760f5c2
WN
7142014-03-31 Will Newton <will.newton@linaro.org>
715
716 * benchtests/Makefile (bench): Add ffs and ffsll to list
717 of tests.
718 * benchtests/ffs-inputs: New file.
719 * benchtests/ffsll-inputs: Likewise.
720
ea6029b1
JM
7212014-03-29 Joseph Myers <joseph@codesourcery.com>
722
723 [BZ #16770]
724 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
725 too large before casting to int.
726 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
727 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
728 * math/libm-test.inc (scalb_test_data): Add more tests.
729
cf806aff
SP
7302014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
731
56737508
SP
732 * benchtests/Makefile (DETAILED_OPT): New make option.
733 (bench-func): Run benchmark program with -d if DETAILED_OPT is
734 set.
735 * benchtests/bench-skeleton.c: Include stdbool.h.
736 (main): Store and print timings per input.
737 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
738 member to each argument value.
739 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
740 (_print_arg_data): Initialize per-input timing to 0.
741
cb5e4aad
SP
742 * benchtests/Makefile (timing-type): New binary.
743 (bench-clean): Also remove bench-timing-type.
744 (bench): New target for timing-type.
745 (bench-func): Print output in JSON format.
746 * benchtests/bench-skeleton.c (main): Print output in JSON
747 format.
748 * benchtests/bench-timing-type.c: New file.
749 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
750 (TIMING_PRINT_STATS): Remove.
751 * benchtests/scripts/bench.py (_print_arg_data): Store variant
752 name separately.
753
cf806aff
SP
754 * benchtests/bench-modf.c: Remove.
755 * benchtests/modf-inputs: New inputs file.
756
289e0779
JM
7572014-03-28 Joseph Myers <joseph@codesourcery.com>
758
759 [BZ #16362]
760 * math/s_clog10.c (M_PI_LOG10E): New macro.
761 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
762 imaginary parts are 0.
763 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
764 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
765 imaginary parts are 0.
766 * math/s_clog10l.c (M_PI_LOG10El): New macro.
767 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
768 imaginary parts are 0.
769 * math/libm-test.inc (clog10_test_data): Update expected results
770 for when real and imaginary parts are 0.
771
277ae3f1
PP
7722014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
773
774 * elf/dl-load.c: Finish conversion of __builtin_expect into
775 __glibc_{un}likely.
776
03a7091f
JM
7772014-03-27 Joseph Myers <joseph@codesourcery.com>
778
779 [BZ #16348]
780 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
781 1+x for argument with exponent below -67.
782 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
783 Likewise.
784 * math/auto-libm-test-in: Add more tests of exp.
785 * math/auto-libm-test-out: Regenerated.
786
ea7d8b95
SP
7872014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
788
dd3022d7
SP
789 [BZ #16759]
790 * inet/getnetgrent_r.c (get_nonempty_val): New function.
791 (nscd_getnetgrent): Use it.
792
ea7d8b95
SP
793 [BZ #16760]
794 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
795 of stpcpy.
796
df5b85da
AK
7972014-03-27 Andi Kleen <ak@linux.intel.com>
798
57f41c40
AS
799 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
800 (lll_robust_lock, lll_cond_lock, lll_timedlock)
801 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
802 (lll_robust_unlock): Remove out of line section. Use cfi
803 intrinsics.
df5b85da 804 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
805 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
806 (lll_robust_lock, lll_cond_lock, lll_timedlock)
807 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
808 (lll_robust_unlock): Remove out of line section. Use cfi
809 intrinsics.
df5b85da
AK
810 (LLL_STUB_UNWIND_INFO*): Remove.
811
fbd6b5a4
SP
8122014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
813
814 [BZ #16758]
815 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
816 blank values.
817
1b26b855
PP
8182014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
819
820 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
821
9be36fb8
JM
8222014-03-26 Joseph Myers <joseph@codesourcery.com>
823
824 [BZ #16198]
825 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
826 fnstenv.
827 * math/test-fenv-preserve.c: New file.
828 * math/Makefile (tests): Add test-fenv-preserve.
829
60a2f3c1
WN
8302014-03-26 Will Newton <will.newton@linaro.org>
831
832 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
833
a5e5f1e2
RM
8342014-03-25 Roland McGrath <roland@hack.frob.com>
835
836 * scripts/versionlist.awk: Partition the version sets and emit all
837 GLIBC_* (sorted) before all others (sorted).
838
00f4012a
JM
8392014-03-25 Joseph Myers <joseph@codesourcery.com>
840
841 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
842 GLIBC_2.2.5 version.
843
7bc5a741
AZ
8442014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
845
846 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
847 calls.
848
7578473b
AZ
849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
850 previous change.
851
f3f1dab3
AZ
852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
853
6da36183
AS
8542014-03-25 Andreas Schwab <schwab@suse.de>
855
856 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
857 label to be used after in6ailist is initialized.
858
f3f1dab3 8592014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 860
7578473b 861 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
862 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
863
046651c1
JM
8642014-03-25 Joseph Myers <joseph@codesourcery.com>
865
866 [BZ #16357]
867 [BZ #16599]
868 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
869 min_plus_half.
870 (fp_formats): Update initializers.
871 (init_fp_formats): Initialize new field.
872 (output_for_one_input_case): Allow underflow for results up to
873 min_plus_half.
874 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
875 * math/auto-libm-test-in: Don't mark some underflows from asin and
876 atanh as spurious.
877 * math/auto-libm-test-out: Regenerated.
878 * sysdeps/i386/fpu/libm-test-ulps: Update.
879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880
003e49ed
AS
8812014-03-25 Andreas Schwab <schwab@suse.de>
882
883 * libio/Makefile (tst-ftell-partial-wide-ENV)
884 (tst-ftell-active-handler-ENV): Define.
885
de031874
SL
8862014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
887
888 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
889
55a81e3b
PP
8902014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
891
892 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
893
f3426898
JM
8942014-03-24 Joseph Myers <joseph@codesourcery.com>
895
896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
897 * sysdeps/x86_64/fpu/multiarch/e_exp.c
898 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
899
a42faf59
PP
9002014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
901
902 [BZ #16634]
a42faf59 903 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
904 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
905 (open_path): Change from boolean 'secure' to complete flag 'mode'
906 (_dl_map_object): Adjust.
a42faf59
PP
907 * elf/Makefile (tests): Add tst-dlopen-aout.
908 * elf/tst-dlopen-aout.c: New test.
909
50936127
SL
9102014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
911
912 [BZ #16714]
913 * sysdeps/unix/sysv/linux/s390/bits/stat.h
914 (struct stat): Rename member pad0 to __glibc_reserved0.
915
26011b5c
SL
916 [BZ #16712]
917 * sysdeps/s390/s390-32/bits/wordsize.h
918 (__WORDSIZE32_SIZE_ULONG): New define.
919 * sysdeps/s390/s390-64/bits/wordsize.h
920 (__WORDSIZE32_SIZE_ULONG): Likewise.
921 * sysdeps/generic/stdint.h (SIZE_MAX):
922 Define as UL if __WORDSIZE32_SIZE_ULONG.
923
a2d86bf1
SL
924 [BZ #16713]
925 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
926 (__glibc_reserved0): New variable.
927 (sa_flags): Change type to int.
928
78b6eebc
SL
929 * posix/Makefile (before-compile): Use += before-compile instead
930 of a :=.
931
f1399b5a
SL
932 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
933 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
934
a071766e
AS
9352014-03-20 Andreas Schwab <schwab@suse.de>
936
937 [BZ #16743]
938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
939 non-matching result from nscd.
940
27c673b8
SP
9412014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
942
943 * scripts/bench.py: Moved to ...
944 * benchtests/scripts/bench.py: ... here.
945 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
946
44152e4b
AS
9472014-03-24 Andreas Schwab <schwab@suse.de>
948
949 [BZ #16002]
950 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
951 alloca_account and account alloca use for struct in6ailist.
952
b376a11a
JM
9532014-03-24 Joseph Myers <joseph@codesourcery.com>
954
955 [BZ #16284]
956 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
957 rounding mode to recompute results that overflow to infinity or
958 underflow to zero.
959 * math/auto-libm-test-in: Don't mark tests as expected to fail for
960 bug 16284.
961 * math/auto-libm-test-out: Regenerated.
962 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
963 (ccosh_test): Likewise.
964 (csin_test_data): Use plus_oflow.
965 (csin_test): Use ALL_RM_TEST.
966 (csinh_test_data): Use plus_oflow.
967 (csinh_test): Use ALL_RM_TEST.
968 * sysdeps/i386/fpu/libm-test-ulps: Update.
969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
970
f7be7376
JM
9712014-03-21 Joseph Myers <joseph@codesourcery.com>
972
1ca2d03e
JM
973 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
974 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
975 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
976
f7be7376
JM
977 [BZ #16731]
978 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
979 when x - 1 is zero.
980 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
981 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
982 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
984 argument is 1.
985 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
986 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
987 zero.
988 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
989 * sysdeps/i386/fpu/libm-test-ulps: Update.
990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
991
fdf4534d
SP
9922014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
993
df26ea53
SP
994 * scripts/bench.pl: Remove file.
995 * scripts/bench.py: New benchmark script.
996 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
997 * benchtests/README: Mention python dependency.
998 * scripts/pylintrc: New file.
999 * scripts/pylint: New file.
1000
fdf4534d
SP
1001 * bits/mathdef.h: Use #ifdef instead of #if.
1002 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1003 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1004 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1005 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1006 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1007 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1008
6f23d093
AZ
10092014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1011
1012 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1014 and strpbrk-ppc64 objects.
1015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1016 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1017 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1018 multiarch strpbrk for POWER7.
1019 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1020 multiarch strpbrk for PPC64.
1021 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1022 ifunc selector.
1023 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1024 strpbrk for POWER7.
1025
8c92dfff
JM
10262014-03-20 Joseph Myers <joseph@codesourcery.com>
1027
1028 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1029 (atan_test): Likewise.
1030 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1031 (atanh_test): Use ALL_RM_TEST.
1032 (atan2_test_data): Likewise.
1033 (cabs_test): Likewise.
1034 (cacosh_test): Likewise.
1035 (carg_test): Likewise.
1036 (casin_test): Likewise.
1037 (casinh_test): Likewise.
1038 (cbrt_test): Likewise.
1039 (csqrt_test): Likewise.
1040 (erf_test): Likewise.
1041 (erfc_test): Likewise.
1042 (pow10_test): Likewise.
1043 (exp2_test): Likewise.
1044 (hypot_test): Likewise.
1045 (j0_test): Likewise.
1046 (j1_test): Likewise.
1047 (lgamma_test): Likewise.
1048 (gamma_test): Likewise.
1049 (sincos_test): Likewise.
1050 (tanh_test): Likewise.
1051 (y0_test): Likewise.
1052 (y1_test): Likewise.
1053 * sysdeps/i386/fpu/libm-test-ulps: Update.
1054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1055
6eaf95cb
AZ
10562014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1057
a387428c
SP
1058 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1060 and strcspn-ppc64 objects.
1061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1062 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1063 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1064 multiarch strcspn for POWER7.
1065 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1066 multiarch strcspn for PPC64.
1067 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1068 ifunc selector.
1069 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1070 strcspn for POWER7.
1071
ae3a5dff
JM
10722014-03-20 Joseph Myers <joseph@codesourcery.com>
1073
1074 * math/gen-libm-test.pl (generate_testfile): Expect only function
1075 name as argument to AUTO_TESTS_* and pass results for all rounding
1076 modes to parse_args.
1077 (parse_auto_input): Separate inputs of automatic tests from
1078 outputs before storing in %auto_tests.
1079 * math/libm-test.inc (acos_test_data): Update call to
1080 AUTO_TESTS_f_f.
1081 (acos_test): Use ALL_RM_TEST.
1082 (acos_tonearest_test_data): Remove.
1083 (acos_test_tonearest): Likewise.
1084 (acos_towardzero_test_data): Likewise.
1085 (acos_test_towardzero): Likewise.
1086 (acos_downward_test_data): Likewise.
1087 (acos_test_downward): Likewise.
1088 (acos_upward_test_data): Likewise.
1089 (acos_test_upward): Likewise.
1090 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1091 (asin_test_data): Likewise.
1092 (asin_test): Use ALL_RM_TEST.
1093 (asin_tonearest_test_data): Remove.
1094 (asin_test_tonearest): Likewise.
1095 (asin_towardzero_test_data): Likewise.
1096 (asin_test_towardzero): Likewise.
1097 (asin_downward_test_data): Likewise.
1098 (asin_test_downward): Likewise.
1099 (asin_upward_test_data): Likewise.
1100 (asin_test_upward): Likewise.
1101 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1102 (atan_test_data): Likewise.
1103 (atanh_test_data): Likewise.
1104 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1105 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1106 (carg_test_data): Likewise.
1107 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1108 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1109 (ccosh_test_data): Likewise.
1110 (cexp_test_data): Likewise.
1111 (clog_test_data): Likewise.
1112 (clog10_test_data): Likewise.
1113 (cos_test_data): Update call to AUTO_TESTS_f_f.
1114 (cos_test): Use ALL_RM_TEST.
1115 (cos_tonearest_test_data): Remove.
1116 (cos_test_tonearest): Likewise.
1117 (cos_towardzero_test_data): Likewise.
1118 (cos_test_towardzero): Likewise.
1119 (cos_downward_test_data): Likewise.
1120 (cos_test_downward): Likewise.
1121 (cos_upward_test_data): Likewise.
1122 (cos_test_upward): Likewise.
1123 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1124 (cosh_test): Use ALL_RM_TEST.
1125 (cosh_tonearest_test_data): Remove.
1126 (cosh_test_tonearest): Likewise.
1127 (cosh_towardzero_test_data): Likewise.
1128 (cosh_test_towardzero): Likewise.
1129 (cosh_downward_test_data): Likewise.
1130 (cosh_test_downward): Likewise.
1131 (cosh_upward_test_data): Likewise.
1132 (cosh_test_upward): Likewise.
1133 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1134 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1135 (ctan_test_data): Likewise.
1136 (ctan_test): Use ALL_RM_TEST.
1137 (ctan_tonearest_test_data): Remove.
1138 (ctan_test_tonearest): Likewise.
1139 (ctan_towardzero_test_data): Likewise.
1140 (ctan_test_towardzero): Likewise.
1141 (ctan_downward_test_data): Likewise.
1142 (ctan_test_downward): Likewise.
1143 (ctan_upward_test_data): Likewise.
1144 (ctan_test_upward): Likewise.
1145 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1146 (ctanh_test): Use ALL_RM_TEST.
1147 (ctanh_tonearest_test_data): Remove.
1148 (ctanh_test_tonearest): Likewise.
1149 (ctanh_towardzero_test_data): Likewise.
1150 (ctanh_test_towardzero): Likewise.
1151 (ctanh_downward_test_data): Likewise.
1152 (ctanh_test_downward): Likewise.
1153 (ctanh_upward_test_data): Likewise.
1154 (ctanh_test_upward): Likewise.
1155 (erf_test_data): Update call to AUTO_TESTS_f_f.
1156 (erfc_test_data): Likewise.
1157 (exp_test_data): Likewise.
1158 (exp_test): Use ALL_RM_TEST.
1159 (exp_tonearest_test_data): Remove.
1160 (exp_test_tonearest): Likewise.
1161 (exp_towardzero_test_data): Likewise.
1162 (exp_test_towardzero): Likewise.
1163 (exp_downward_test_data): Likewise.
1164 (exp_test_downward): Likewise.
1165 (exp_upward_test_data): Likewise.
1166 (exp_test_upward): Likewise.
1167 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1168 (exp10_test): Use ALL_RM_TEST.
1169 (exp10_tonearest_test_data): Remove.
1170 (exp10_test_tonearest): Likewise.
1171 (exp10_towardzero_test_data): Likewise.
1172 (exp10_test_towardzero): Likewise.
1173 (exp10_downward_test_data): Likewise.
1174 (exp10_test_downward): Likewise.
1175 (exp10_upward_test_data): Likewise.
1176 (exp10_test_upward): Likewise.
1177 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1178 (expm1_test_data): Likewise.
1179 (expm1_test): Use ALL_RM_TEST.
1180 (expm1_tonearest_test_data): Remove.
1181 (expm1_test_tonearest): Likewise.
1182 (expm1_towardzero_test_data): Likewise.
1183 (expm1_test_towardzero): Likewise.
1184 (expm1_downward_test_data): Likewise.
1185 (expm1_test_downward): Likewise.
1186 (expm1_upward_test_data): Likewise.
1187 (expm1_test_upward): Likewise.
1188 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1189 (fma_test): Use ALL_RM_TEST.
1190 (fma_towardzero_test_data): Remove.
1191 (fma_test_towardzero): Likewise.
1192 (fma_downward_test_data): Likewise.
1193 (fma_test_downward): Likewise.
1194 (fma_upward_test_data): Likewise.
1195 (fma_test_upward): Likewise.
1196 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1197 (j0_test_data): Update call to AUTO_TESTS_f_f.
1198 (j1_test_data): Likewise.
1199 (jn_test_data): Update call to AUTO_TESTS_if_f.
1200 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1201 (log_test_data): Update call to AUTO_TESTS_f_f.
1202 (log10_test_data): Likewise.
1203 (log1p_test_data): Likewise.
1204 (log2_test_data): Likewise.
1205 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1206 (pow_tonearest_test_data): Likewise.
1207 (sin_test_data): Update call to AUTO_TESTS_f_f.
1208 (sin_test): Use ALL_RM_TEST.
1209 (sin_tonearest_test_data): Remove.
1210 (sin_test_tonearest): Likewise.
1211 (sin_towardzero_test_data): Likewise.
1212 (sin_test_towardzero): Likewise.
1213 (sin_downward_test_data): Likewise.
1214 (sin_test_downward): Likewise.
1215 (sin_upward_test_data): Likewise.
1216 (sin_test_upward): Likewise.
1217 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1218 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1219 (sinh_test): Use ALL_RM_TEST.
1220 (sinh_tonearest_test_data): Remove.
1221 (sinh_test_tonearest): Likewise.
1222 (sinh_towardzero_test_data): Likewise.
1223 (sinh_test_towardzero): Likewise.
1224 (sinh_downward_test_data): Likewise.
1225 (sinh_test_downward): Likewise.
1226 (sinh_upward_test_data): Likewise.
1227 (sinh_test_upward): Likewise.
1228 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1229 (sqrt_test): Use ALL_RM_TEST.
1230 (sqrt_tonearest_test_data): Remove.
1231 (sqrt_test_tonearest): Likewise.
1232 (sqrt_towardzero_test_data): Likewise.
1233 (sqrt_test_towardzero): Likewise.
1234 (sqrt_downward_test_data): Likewise.
1235 (sqrt_test_downward): Likewise.
1236 (sqrt_upward_test_data): Likewise.
1237 (sqrt_test_upward): Likewise.
1238 (tan_test_data): Update call to AUTO_TESTS_f_f.
1239 (tan_test): Use ALL_RM_TEST.
1240 (tan_tonearest_test_data): Remove.
1241 (tan_test_tonearest): Likewise.
1242 (tan_towardzero_test_data): Likewise.
1243 (tan_test_towardzero): Likewise.
1244 (tan_downward_test_data): Likewise.
1245 (tan_test_downward): Likewise.
1246 (tan_upward_test_data): Likewise.
1247 (tan_test_upward): Likewise.
1248 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1249 (tgamma_test_data): Likewise.
1250 (y0_test_data): Likewise.
1251 (y1_test_data): Likewise.
1252 (yn_test_data): Update call to AUTO_TESTS_if_f.
1253 (main): Do not call removed functions.
1254
d71aeee8
JM
12552014-03-19 Joseph Myers <joseph@codesourcery.com>
1256
1257 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1258 (ldexp_test_data): Remove.
1259 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1260 scalbn_test_data.
1261 (scalb_test): Use ALL_RM_TEST.
1262
baaf1ded
AS
12632014-03-19 Andreas Schwab <schwab@suse.de>
1264
1265 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1266
b1115e91
JM
12672014-03-19 Joseph Myers <joseph@codesourcery.com>
1268
1269 [BZ #16649]
1270 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1271 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1272 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1274 (__ASSUME_PREADV): Undefine.
1275 (__ASSUME_PWRITEV): Likewise.
1276
0283ecca
RM
12772014-03-18 Roland McGrath <roland@hack.frob.com>
1278
7d375303
RM
1279 * bits/mman-linux.h: Add comment about non-Linux use.
1280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1281 bits/mman-linux.h resting place.
1282
0283ecca
RM
1283 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1284 * bits/mman-linux.h: ... here.
1285
aebe1003
AZ
12862014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287
1288 * conform/conformtest.pl: Add standard definition when calling C
1289 preprocessor on data files.
1290 (checknamespace): Remove unused variable.
1291
b29b6bb8
JM
12922014-03-18 Joseph Myers <joseph@codesourcery.com>
1293
1294 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1295 minus_oflow, plus_uflow and minus_uflow in expected results.
1296 * math/libm-test.inc (scalbn_test_data): Add more tests of
1297 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1298 minus_uflow.
1299 (scalbn_test): Use ALL_RM_TEST.
1300 (scalbln_test_data): Add more tests of negative arguments. Use
1301 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1302 (scalbln_test): Use ALL_RM_TEST.
1303
c8f8fa15
RM
13042014-03-18 Roland McGrath <roland@hack.frob.com>
1305
1306 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1307
fede7a5f
WN
13082014-03-18 Will Newton <will.newton@linaro.org>
1309
1310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1311 inaccurate comment.
1312
80cf0a58
JM
13132014-03-18 Joseph Myers <joseph@codesourcery.com>
1314
1315 * Makerules [!subdir] (check-abi): Exit with error status if a
1316 test failed.
1317
b3620862
JM
13182014-03-17 Joseph Myers <joseph@codesourcery.com>
1319
1320 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1321 for rint. Include results for all rounding modes.
1322 (nearbyint_test): Use ALL_RM_TEST.
1323 (rint_test_data): Include all tests used for nearbyint.
1324
788bba36
WN
13252014-03-17 Will Newton <will.newton@linaro.org>
1326
04ec140a
WN
1327 * nptl/sysdeps/pthread/pthread.h: Revert previous
1328 change.
1329
7579d8d5
WN
1330 * sysdeps/generic/ldsodefs.h: Revert previous
1331 change.
1332
c15cf13a
WN
1333 * libio/genops.c: Revert previous change.
1334 * libio/libioP.h: Likewise.
1335 * stdio-common/vfprintf.c: Likewise.
1336
d0ac1324
WN
1337 * sysdeps/generic/math_private.h: Revert previous
1338 change.
1339
9290130a
WN
1340 * sysdeps/generic/math_private.h: Check whether
1341 HAVE_RM_CTX is defined with #ifdef rather
1342 than #if.
1343
afb466fc
WN
1344 * argp/argp-fmtstream.h: Check whether
1345 __STRICT_ANSI__ is defined with #ifdef rather
1346 than #if.
1347 * argp/argp.h: Likewise.
1348
f7efd7c3
WN
1349 * libio/genops.c: Check whether
1350 _IO_JUMPS_OFFSET is defined with #ifdef rather
1351 than #if.
1352 * libio/libioP.h: Likewise.
1353 * stdio-common/vfprintf.c: Likewise.
1354
53f1bed3
WN
1355 * sysdeps/generic/ldsodefs.h: Check whether
1356 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1357 than #if.
1358
788bba36
WN
1359 * nptl/sysdeps/pthread/pthread.h: Check
1360 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1361 its value.
1362
fcd89ebe
SP
13632014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1364
ae42bbc5
SP
1365 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1366 setting O_APPEND.
1367 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1368 test case.
1369
ea33158c
SP
1370 [BZ #16680]
1371 * libio/fileops.c (_IO_file_open): Seek to end of file but
1372 don't cache the offset.
1373 (get_file_offset): Remove function.
1374 (do_ftell): Use cached offset when available.
1375 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1376 don't cache the offset.
1377 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1378 case.
1379 (do_one_test): Call it.
1380 (do_ftell_test): Fix up expected old offset for a+ mode.
1381 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1382 available.
1383
b1dbb426
SP
1384 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1385 up test status with function return status.
1386 (do_write_test): Likewise.
1387 (do_append_test): Likewise.
1388
fcd89ebe
SP
1389 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1390 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1391 Remove.
1392
9962a2d3
JM
13932014-03-17 Joseph Myers <joseph@codesourcery.com>
1394
1395 * math/gen-libm-test.pl (parse_args): Handle results specified for
1396 each rounding mode separately.
1397 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1398 tests and results from lrint_tonearest_test_data,
1399 lrint_towardzero_test_data, lrint_downward_test_data and
1400 lrint_upward_test_data.
1401 (lrint_test): Use ALL_RM_TEST.
1402 (lrint_tonearest_test_data): Remove.
1403 (lrint_test_tonearest): Likewise.
1404 (lrint_towardzero_test_data): Likewise.
1405 (lrint_test_towardzero): Likewise.
1406 (lrint_downward_test_data): Likewise.
1407 (lrint_test_downward): Likewise.
1408 (lrint_upward_test_data): Likewise.
1409 (lrint_test_upward): Likewise.
1410 (llrint_test_data): Merge in per-rounding-mode tests and results
1411 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1412 llrint_downward_test_data and llrint_upward_test_data.
1413 (llrint_test): Use ALL_RM_TEST.
1414 (llrint_tonearest_test_data): Remove.
1415 (llrint_test_tonearest): Likewise.
1416 (llrint_towardzero_test_data): Likewise.
1417 (llrint_test_towardzero): Likewise.
1418 (llrint_downward_test_data): Likewise.
1419 (llrint_test_downward): Likewise.
1420 (llrint_upward_test_data): Likewise.
1421 (llrint_test_upward): Likewise.
1422 (rint_test_data): Merge in per-rounding-mode tests and results
1423 from rint_tonearest_test_data, rint_towardzero_test_data,
1424 rint_downward_test_data and rint_upward_test_data. Add
1425 per-rounding-mode results for tests not in those arrays.
1426 (rint_test): Use ALL_RM_TEST.
1427 (rint_tonearest_test_data): Remove.
1428 (rint_test_tonearest): Likewise.
1429 (rint_towardzero_test_data): Likewise.
1430 (rint_test_towardzero): Likewise.
1431 (rint_downward_test_data): Likewise.
1432 (rint_test_downward): Likewise.
1433 (rint_upward_test_data): Likewise.
1434 (rint_test_upward): Likewise.
1435 (main): Don't call removed functions.
1436
5006148e
RM
14372014-03-14 Roland McGrath <roland@hack.frob.com>
1438
1439 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1440 "Compiled on ..." crapola. It is anti-useful.
1441
d6fe5e58
JM
14422014-03-14 Joseph Myers <joseph@codesourcery.com>
1443
1444 * scripts/evaluate-test.sh: Handle fourth argument to determine
1445 whether test run should stop on failure.
1446 * Makeconfig (stop-on-test-failure): New variable.
1447 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1448 $(stop-on-test-failure).
1449 * Makefile (tests): Give a summary of results from testing and
1450 exit with failure status if they include an ERROR or FAIL.
1451 (xtests): Likewise.
1452 * manual/install.texi (Configuring and compiling): Mention
1453 stop-on-test-failure=y.
1454 * INSTALL: Regenerated.
1455
498a2233
RM
14562014-03-14 Roland McGrath <roland@hack.frob.com>
1457
22dbc19d
RM
1458 * scripts/versionlist.awk: New file.
1459 * Makerules [$(build-shared) = yes]
1460 (postclean-generated): Add Versions.def, not Versions.def.v and
1461 Versions.def.v.i.
1462 ($(common-objpfx)Versions.def.v.i): Target removed.
1463 ($(common-objpfx)Versions.def): New target.
1464 ($(common-objpfx)Versions.all): Depend on that rather that
1465 $(common-objpfx)Versions.def.v.
1466 * Versions.def: File removed.
1467
498a2233
RM
1468 * Makeconfig (+gccwarn): Add -Wundef.
1469 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1470 a dl-sysdep.h breaking its contract.
1471 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1472 * include/stackinfo.h: New file.
1473 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1474 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1475 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1476 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1477 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1478 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1479 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1480 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1481 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1482 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1483 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1484 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1485 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1486 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1487 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1488
c7de5025
AZ
14892014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1490
1491 [BZ #16707]
1492 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1493 implementation.
1494 * math/libm-test.inc (round_test_data): Add more tests.
1495
98fb27a3
AZ
1496 [BZ #16706]
1497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1498 implementation.
1499 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1500
374f7f61
AZ
1501 [BZ #16701]
1502 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1503 implementation.
1504 * math/libm-test.inc (ceil_test_data): Add more tests.
1505
4655c291
AZ
1506 * math/libm-test.inc (trunc_test_data): Add more tests related to
1507 BZ#16414.
1508
d7329d4b
RM
15092014-03-14 Roland McGrath <roland@hack.frob.com>
1510
1511 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1512 with #if rather than #ifdef.
1513 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1514
aa4de9ce
L
15152014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1516
1517 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1518 first. Disable AVX-512 GCC support if assembler doesn't support
1519 it.
1520 * sysdeps/x86_64/configure: Regenerated.
1521
2e03fae7
CD
15222014-03-13 Carlos O'Donell <carlos@redhat.com>
1523
1524 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1525 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1526 (__old_pthread_attr_setstack): Likewise.
1527 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1528 [!_STACK_GROWS_DOWN]: Likewise.
1529
43ca83ec
MF
15302014-03-13 Mike Frysinger <vapier@gentoo.org>
1531
1532 * config.make.in (have-bash2): Delete.
1533 * configure.ac (libc_cv_have_bash2): Delete.
1534 * configure: Regenerate.
1535 * elf/Makefile (common-ldd-rewrite): Rename to ...
1536 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1537 (sh-ldd-rewrite): Delete.
1538 (bash-ldd-rewrite): Delete.
1539 (have-bash2): Delete checks.
57f41c40
AS
1540 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1541 ldd-rewrite.
c66e48b4
MF
1542
1543 * config.make.in (have-ksh): Delete.
1544 (KSH): Delete.
1545 * configure.ac (libc_cv_have_ksh): Delete.
1546 * configure: Regenerate.
1547
b93834ef
MF
1548 * elf/Makefile: Delete $(have-ksh) check.
1549 ($(objpfx)sotruss): Change KSH to BASH.
1550 * elf/sotruss.ksh: Rename to ...
1551 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1552 function style to match POSIX. Drop ksh vim mode setting.
1553
f3a4632a
MF
1554 * manual/time.texi (Specifying the Time Zone with TZ): Change
1555 Tuesday to Thursday.
1556
5896c8bd
MF
1557 * debug/tst-longjmp_chk2.c: Update header comment.
1558 (stackoverflow_handler): Add comment. Call assert on pass value.
1559
2d63a517
IZ
15602014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1561
1562 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1563 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1564 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1565 (La_x86_64_vector): Add zmm.
1566 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1567 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1568 ($(objpfx)tst-audit10): New target.
1569 ($(objpfx)tst-audit10.out): Likewise.
1570 (tst-audit10-ENV): New.
1571 (AVX512-CFLAGS): Likewise.
1572 (CFLAGS-tst-audit10.c): Likewise.
1573 (CFLAGS-tst-auditmod10a.c): Likewise.
1574 (CFLAGS-tst-auditmod10b.c): Likewise.
1575 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1576 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1577 * sysdeps/x86_64/configure: Regenerated.
1578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1579 AVX-512 zmm register support.
1580 (_dl_x86_64_save_sse): Likewise.
1581 (_dl_x86_64_restore_sse): Likewise.
1582 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1583 size vector registers.
1584 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1585 (ZMM_SIZE): Likewise.
1586 * sysdeps/x86_64/tst-audit10.c: New file.
1587 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1588 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1589
44c4e5d5
RM
15902014-03-13 Roland McGrath <roland@hack.frob.com>
1591
1592 * configure.ac (HAVE_EHDR_START): New check.
1593 * configure: Regenerated.
1594 * config.h.in (HAVE_EHDR_START): New #undef.
1595 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1596 assuming the lowest-addressed segment maps the start of the file.
1597
acd6e389
JM
15982014-03-13 Joseph Myers <joseph@codesourcery.com>
1599
1600 * INSTALL: Regenerated.
1601
6f918f36
WN
16022014-03-13 Will Newton <will.newton@linaro.org>
1603
1604 * manual/setjmp.texi (System V contexts): Improve
1605 clarity and grammar of documentation.
1606
798212a0
PP
16072014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1608
1609 [BZ #16381]
798212a0 1610 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1611 (tests-pie): Add tst-pie2.
798212a0
PP
1612 * elf/tst-pie2.c: New file.
1613 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1614 for ET_EXEC.
1615 * elf/rtld.c (map_doit): Load executable as lt_executable.
1616 (dl_main): Likewise.
1617
abe6d90c
JM
16182014-03-12 Joseph Myers <joseph@codesourcery.com>
1619
1620 [BZ #16642]
1621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1622 (__ASSUME_PSELECT): Undefine.
1623
dd3946c6
AZ
16242014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1625
1626 [BZ #16689]
1627 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1628 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1629 static build.
1630 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1631 selector for static builds.
1632
c44496df
SP
16332014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1634
1635 [BZ #16695]
1636 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1637 key in the buffer.
1638
27c7220a
AZ
16392014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640
57f41c40
AS
1641 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1642 IFUNC selector for static builds.
27c7220a 1643
600fa361
JM
16442014-03-11 Joseph Myers <joseph@codesourcery.com>
1645
76c96cf7
JM
1646 * sysdeps/mips/math_private.h [__mips_hard_float]
1647 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1648 libc_feresetround_mips_ctx.
1649 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1650 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1651 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1652
600fa361
JM
1653 [BZ #16677]
1654 * math/s_nextafter.c (__nextafter): Do not return value from
1655 overflowing computation.
1656 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1657 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1659 Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1661 Likewise.
1662 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1663 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1664
d7706c32
RM
16652014-03-11 Roland McGrath <roland@hack.frob.com>
1666
1667 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1668 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1669 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1670 the new mov targetting sp.
1671
4facea47
AZ
16722014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1673
1674 [BZ #16683]
1675 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1676 Define it for static builds as well.
1677 (NO_BZERO_IMPL): Likewise.
1678
e65caf1f
VR
16792014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1680
1681 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1682 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1683 multiarch strspn for PPC64.
1684 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1685 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1687 (__libc_ifunc_impl_list): Likewise.
1688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1689 multiarch optimizations
1690 * string/strspn.c (strspn): Using macro to redefine symbol name.
1691
ba9cc071
AZ
16922014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1693 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694
1695 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1696 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1697 multiarch strncat for PPC64.
1698 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1699 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1701 (__libc_ifunc_impl_list): Likewise.
1702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1703 multiarch optimizations
1704
8b4ff974
SP
17052014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1706
1707 [BZ #16639]
1708 * nscd/nscd.service: Make service type forking.
1709
54b46a4b
AZ
17102014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1711
1712 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1713 sign in non default rounding modes.
1714 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1715
e9996ef7
JM
17162014-03-08 Joseph Myers <joseph@codesourcery.com>
1717
1718 * math/libm-test.inc (ALL_RM_TEST): New macro.
1719 (ceil_test): Use ALL_RM_TEST.
1720 (cimag_test): Likewise.
1721 (conj_test): Likewise.
1722 (copysign_test): Likewise.
1723 (cproj_test): Likewise.
1724 (creal_test): Likewise.
1725 (fabs_test): Likewise.
1726 (floor_test): Likewise.
1727 (fmax_test): Likewise.
1728 (fmin_test): Likewise.
1729 (fmod_test): Likewise.
1730 (fpclassify_test): Likewise.
1731 (frexp_test): Likewise.
1732 (ilogb_test): Likewise.
1733 (isfinite_test): Likewise.
1734 (finite_test): Likewise.
1735 (isgreater_test): Likewise.
1736 (isgreaterequal_test): Likewise.
1737 (isinf_test): Likewise.
1738 (isless_test): Likewise.
1739 (islessequal_test): Likewise.
1740 (islessgreater_test): Likewise.
1741 (isnan_test): Likewise.
1742 (isnormal_test): Likewise.
1743 (issignaling_test): Likewise.
1744 (isunordered_test): Likewise.
1745 (logb_test): Likewise.
1746 (logb_downward_test_data): Remove.
1747 (logb_test_downward): Likewise.
1748 (lround_test): Use ALL_RM_TEST.
1749 (llround_test): Likewise.
1750 (modf_test): Likewise.
1751 (nexttoward_test): Likewise.
1752 (remainder_test): Likewise.
1753 (drem_test): Likewise.
1754 (remainder_tonearest_test_data): Likewise.
1755 (remainder_test_tonearest): Likewise.
1756 (drem_test_tonearest): Likewise.
1757 (remainder_towardzero_test_data): Likewise.
1758 (remainder_test_towardzero): Likewise.
1759 (drem_test_towardzero): Likewise.
1760 (remainder_downward_test_data): Likewise.
1761 (remainder_test_downward): Likewise.
1762 (drem_test_downward): Likewise.
1763 (remainder_upward_test_data): Likewise.
1764 (remainder_test_upward): Likewise.
1765 (drem_test_upward): Likewise.
1766 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1767 (round_test): Use ALL_RM_TEST.
1768 (signbit_test): Likewise.
1769 (trunc_test): Likewise.
1770 (significand_test): Likewise.
1771 (main): Don't call removed functions.
1772
bc61d27c
JM
17732014-03-07 Joseph Myers <joseph@codesourcery.com>
1774
5c780849
JM
1775 [BZ #16674]
1776 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1777 || __USE_XOPEN2K8].
1778 (ILL_ILLOPN): Likewise.
1779 (ILL_ILLADR): Likewise.
1780 (ILL_ILLTRP): Likewise.
1781 (ILL_PRVOPC): Likewise.
1782 (ILL_PRVREG): Likewise.
1783 (ILL_COPROC): Likewise.
1784 (ILL_BADSTK): Likewise.
1785 (FPE_INTDIV): Likewise.
1786 (FPE_INTOVF): Likewise.
1787 (FPE_FLTDIV): Likewise.
1788 (FPE_FLTOVF): Likewise.
1789 (FPE_FLTUND): Likewise.
1790 (FPE_FLTRES): Likewise.
1791 (FPE_FLTINV): Likewise.
1792 (FPE_FLTSUB): Likewise.
1793 (SEGV_MAPERR): Likewise.
1794 (SEGV_ACCERR): Likewise.
1795 (BUS_ADRALN): Likewise.
1796 (BUS_ADRERR): Likewise.
1797 (BUS_OBJERR): Likewise.
1798 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1799 (TRAP_TRACE): Likewise.
1800 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1801 __USE_XOPEN2K8].
1802 (CLD_KILLED): Likewise.
1803 (CLD_DUMPED): Likewise.
1804 (CLD_TRAPPED): Likewise.
1805 (CLD_STOPPED): Likewise.
1806 (CLD_CONTINUED): Likewise.
1807 (POLL_IN): Likewise.
1808 (POLL_OUT): Likewise.
1809 (POLL_MSG): Likewise.
1810 (POLL_ERR): Likewise.
1811 (POLL_PRI): Likewise.
1812 (POLL_HUP): Likewise.
1813 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1814 Likewise.
1815 (ILL_ILLOPN): Likewise.
1816 (ILL_ILLADR): Likewise.
1817 (ILL_ILLTRP): Likewise.
1818 (ILL_PRVOPC): Likewise.
1819 (ILL_PRVREG): Likewise.
1820 (ILL_COPROC): Likewise.
1821 (ILL_BADSTK): Likewise.
1822 (FPE_INTDIV): Likewise.
1823 (FPE_INTOVF): Likewise.
1824 (FPE_FLTDIV): Likewise.
1825 (FPE_FLTOVF): Likewise.
1826 (FPE_FLTUND): Likewise.
1827 (FPE_FLTRES): Likewise.
1828 (FPE_FLTINV): Likewise.
1829 (FPE_FLTSUB): Likewise.
1830 (SEGV_MAPERR): Likewise.
1831 (SEGV_ACCERR): Likewise.
1832 (BUS_ADRALN): Likewise.
1833 (BUS_ADRERR): Likewise.
1834 (BUS_OBJERR): Likewise.
1835 (BUS_MCEERR_AR): Likewise.
1836 (BUS_MCEERR_AO): Likewise.
1837 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1838 (TRAP_TRACE): Likewise.
1839 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1840 __USE_XOPEN2K8].
1841 (CLD_KILLED): Likewise.
1842 (CLD_DUMPED): Likewise.
1843 (CLD_TRAPPED): Likewise.
1844 (CLD_STOPPED): Likewise.
1845 (CLD_CONTINUED): Likewise.
1846 (POLL_IN): Likewise.
1847 (POLL_OUT): Likewise.
1848 (POLL_MSG): Likewise.
1849 (POLL_ERR): Likewise.
1850 (POLL_PRI): Likewise.
1851 (POLL_HUP): Likewise.
1852 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1853 (ILL_ILLOPN): Likewise.
1854 (ILL_ILLADR): Likewise.
1855 (ILL_ILLTRP): Likewise.
1856 (ILL_PRVOPC): Likewise.
1857 (ILL_PRVREG): Likewise.
1858 (ILL_COPROC): Likewise.
1859 (ILL_BADSTK): Likewise.
1860 (FPE_INTDIV): Likewise.
1861 (FPE_INTOVF): Likewise.
1862 (FPE_FLTDIV): Likewise.
1863 (FPE_FLTOVF): Likewise.
1864 (FPE_FLTUND): Likewise.
1865 (FPE_FLTRES): Likewise.
1866 (FPE_FLTINV): Likewise.
1867 (FPE_FLTSUB): Likewise.
1868 (SEGV_MAPERR): Likewise.
1869 (SEGV_ACCERR): Likewise.
1870 (BUS_ADRALN): Likewise.
1871 (BUS_ADRERR): Likewise.
1872 (BUS_OBJERR): Likewise.
1873 (BUS_MCEERR_AR): Likewise.
1874 (BUS_MCEERR_AO): Likewise.
1875 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1876 (TRAP_TRACE): Likewise.
1877 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1878 __USE_XOPEN2K8].
1879 (CLD_KILLED): Likewise.
1880 (CLD_DUMPED): Likewise.
1881 (CLD_TRAPPED): Likewise.
1882 (CLD_STOPPED): Likewise.
1883 (CLD_CONTINUED): Likewise.
1884 (POLL_IN): Likewise.
1885 (POLL_OUT): Likewise.
1886 (POLL_MSG): Likewise.
1887 (POLL_ERR): Likewise.
1888 (POLL_PRI): Likewise.
1889 (POLL_HUP): Likewise.
1890 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1891 Likewise.
1892 (ILL_ILLOPN): Likewise.
1893 (ILL_ILLADR): Likewise.
1894 (ILL_ILLTRP): Likewise.
1895 (ILL_PRVOPC): Likewise.
1896 (ILL_PRVREG): Likewise.
1897 (ILL_COPROC): Likewise.
1898 (ILL_BADSTK): Likewise.
1899 (ILL_BADIADDR): Likewise.
1900 (ILL_BREAK): Likewise.
1901 (FPE_INTDIV): Likewise.
1902 (FPE_INTOVF): Likewise.
1903 (FPE_FLTDIV): Likewise.
1904 (FPE_FLTOVF): Likewise.
1905 (FPE_FLTUND): Likewise.
1906 (FPE_FLTRES): Likewise.
1907 (FPE_FLTINV): Likewise.
1908 (FPE_FLTSUB): Likewise.
1909 (FPE_DECOVF): Likewise.
1910 (FPE_DECDIV): Likewise.
1911 (FPE_DECERR): Likewise.
1912 (FPE_INVASC): Likewise.
1913 (FPE_INVDEC): Likewise.
1914 (SEGV_MAPERR): Likewise.
1915 (SEGV_ACCERR): Likewise.
1916 (SEGV_PSTKOVF): Likewise.
1917 (BUS_ADRALN): Likewise.
1918 (BUS_ADRERR): Likewise.
1919 (BUS_OBJERR): Likewise.
1920 (BUS_MCEERR_AR): Likewise.
1921 (BUS_MCEERR_AO): Likewise.
1922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1923 (TRAP_TRACE): Likewise.
1924 (TRAP_BRANCH): Likewise.
1925 (TRAP_HWBKPT): Likewise.
1926 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1927 __USE_XOPEN2K8].
1928 (CLD_KILLED): Likewise.
1929 (CLD_DUMPED): Likewise.
1930 (CLD_TRAPPED): Likewise.
1931 (CLD_STOPPED): Likewise.
1932 (CLD_CONTINUED): Likewise.
1933 (POLL_IN): Likewise.
1934 (POLL_OUT): Likewise.
1935 (POLL_MSG): Likewise.
1936 (POLL_ERR): Likewise.
1937 (POLL_PRI): Likewise.
1938 (POLL_HUP): Likewise.
1939 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1940 (ILL_ILLOPN): Likewise.
1941 (ILL_ILLADR): Likewise.
1942 (ILL_ILLTRP): Likewise.
1943 (ILL_PRVOPC): Likewise.
1944 (ILL_PRVREG): Likewise.
1945 (ILL_COPROC): Likewise.
1946 (ILL_BADSTK): Likewise.
1947 (FPE_INTDIV): Likewise.
1948 (FPE_INTOVF): Likewise.
1949 (FPE_FLTDIV): Likewise.
1950 (FPE_FLTOVF): Likewise.
1951 (FPE_FLTUND): Likewise.
1952 (FPE_FLTRES): Likewise.
1953 (FPE_FLTINV): Likewise.
1954 (FPE_FLTSUB): Likewise.
1955 (SEGV_MAPERR): Likewise.
1956 (SEGV_ACCERR): Likewise.
1957 (BUS_ADRALN): Likewise.
1958 (BUS_ADRERR): Likewise.
1959 (BUS_OBJERR): Likewise.
1960 (BUS_MCEERR_AR): Likewise.
1961 (BUS_MCEERR_AO): Likewise.
1962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1963 (TRAP_TRACE): Likewise.
1964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1965 __USE_XOPEN2K8].
1966 (CLD_KILLED): Likewise.
1967 (CLD_DUMPED): Likewise.
1968 (CLD_TRAPPED): Likewise.
1969 (CLD_STOPPED): Likewise.
1970 (CLD_CONTINUED): Likewise.
1971 (POLL_IN): Likewise.
1972 (POLL_OUT): Likewise.
1973 (POLL_MSG): Likewise.
1974 (POLL_ERR): Likewise.
1975 (POLL_PRI): Likewise.
1976 (POLL_HUP): Likewise.
1977 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1978 (ILL_ILLOPN): Likewise.
1979 (ILL_ILLADR): Likewise.
1980 (ILL_ILLTRP): Likewise.
1981 (ILL_PRVOPC): Likewise.
1982 (ILL_PRVREG): Likewise.
1983 (ILL_COPROC): Likewise.
1984 (ILL_BADSTK): Likewise.
1985 (FPE_INTDIV): Likewise.
1986 (FPE_INTOVF): Likewise.
1987 (FPE_FLTDIV): Likewise.
1988 (FPE_FLTOVF): Likewise.
1989 (FPE_FLTUND): Likewise.
1990 (FPE_FLTRES): Likewise.
1991 (FPE_FLTINV): Likewise.
1992 (FPE_FLTSUB): Likewise.
1993 (SEGV_MAPERR): Likewise.
1994 (SEGV_ACCERR): Likewise.
1995 (BUS_ADRALN): Likewise.
1996 (BUS_ADRERR): Likewise.
1997 (BUS_OBJERR): Likewise.
1998 (BUS_MCEERR_AR): Likewise.
1999 (BUS_MCEERR_AO): Likewise.
2000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2001 (TRAP_TRACE): Likewise.
2002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2003 __USE_XOPEN2K8].
2004 (CLD_KILLED): Likewise.
2005 (CLD_DUMPED): Likewise.
2006 (CLD_TRAPPED): Likewise.
2007 (CLD_STOPPED): Likewise.
2008 (CLD_CONTINUED): Likewise.
2009 (POLL_IN): Likewise.
2010 (POLL_OUT): Likewise.
2011 (POLL_MSG): Likewise.
2012 (POLL_ERR): Likewise.
2013 (POLL_PRI): Likewise.
2014 (POLL_HUP): Likewise.
2015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2016 (ILL_ILLOPN): Likewise.
2017 (ILL_ILLADR): Likewise.
2018 (ILL_ILLTRP): Likewise.
2019 (ILL_PRVOPC): Likewise.
2020 (ILL_PRVREG): Likewise.
2021 (ILL_COPROC): Likewise.
2022 (ILL_BADSTK): Likewise.
2023 (FPE_INTDIV): Likewise.
2024 (FPE_INTOVF): Likewise.
2025 (FPE_FLTDIV): Likewise.
2026 (FPE_FLTOVF): Likewise.
2027 (FPE_FLTUND): Likewise.
2028 (FPE_FLTRES): Likewise.
2029 (FPE_FLTINV): Likewise.
2030 (FPE_FLTSUB): Likewise.
2031 (SEGV_MAPERR): Likewise.
2032 (SEGV_ACCERR): Likewise.
2033 (BUS_ADRALN): Likewise.
2034 (BUS_ADRERR): Likewise.
2035 (BUS_OBJERR): Likewise.
2036 (BUS_MCEERR_AR): Likewise.
2037 (BUS_MCEERR_AO): Likewise.
2038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2039 (TRAP_TRACE): Likewise.
2040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2041 __USE_XOPEN2K8].
2042 (CLD_KILLED): Likewise.
2043 (CLD_DUMPED): Likewise.
2044 (CLD_TRAPPED): Likewise.
2045 (CLD_STOPPED): Likewise.
2046 (CLD_CONTINUED): Likewise.
2047 (POLL_IN): Likewise.
2048 (POLL_OUT): Likewise.
2049 (POLL_MSG): Likewise.
2050 (POLL_ERR): Likewise.
2051 (POLL_PRI): Likewise.
2052 (POLL_HUP): Likewise.
2053 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2054 (ILL_ILLOPN): Likewise.
2055 (ILL_ILLADR): Likewise.
2056 (ILL_ILLTRP): Likewise.
2057 (ILL_PRVOPC): Likewise.
2058 (ILL_PRVREG): Likewise.
2059 (ILL_COPROC): Likewise.
2060 (ILL_BADSTK): Likewise.
2061 (ILL_DBLFLT): Likewise.
2062 (ILL_HARDWALL): Likewise.
2063 (FPE_INTDIV): Likewise.
2064 (FPE_INTOVF): Likewise.
2065 (FPE_FLTDIV): Likewise.
2066 (FPE_FLTOVF): Likewise.
2067 (FPE_FLTUND): Likewise.
2068 (FPE_FLTRES): Likewise.
2069 (FPE_FLTINV): Likewise.
2070 (FPE_FLTSUB): Likewise.
2071 (SEGV_MAPERR): Likewise.
2072 (SEGV_ACCERR): Likewise.
2073 (BUS_ADRALN): Likewise.
2074 (BUS_ADRERR): Likewise.
2075 (BUS_OBJERR): Likewise.
2076 (BUS_MCEERR_AR): Likewise.
2077 (BUS_MCEERR_AO): Likewise.
2078 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2079 (TRAP_TRACE): Likewise.
2080 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2081 __USE_XOPEN2K8].
2082 (CLD_KILLED): Likewise.
2083 (CLD_DUMPED): Likewise.
2084 (CLD_TRAPPED): Likewise.
2085 (CLD_STOPPED): Likewise.
2086 (CLD_CONTINUED): Likewise.
2087 (POLL_IN): Likewise.
2088 (POLL_OUT): Likewise.
2089 (POLL_MSG): Likewise.
2090 (POLL_ERR): Likewise.
2091 (POLL_PRI): Likewise.
2092 (POLL_HUP): Likewise.
2093 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2094 (ILL_ILLOPN): Likewise.
2095 (ILL_ILLADR): Likewise.
2096 (ILL_ILLTRP): Likewise.
2097 (ILL_PRVOPC): Likewise.
2098 (ILL_PRVREG): Likewise.
2099 (ILL_COPROC): Likewise.
2100 (ILL_BADSTK): Likewise.
2101 (FPE_INTDIV): Likewise.
2102 (FPE_INTOVF): Likewise.
2103 (FPE_FLTDIV): Likewise.
2104 (FPE_FLTOVF): Likewise.
2105 (FPE_FLTUND): Likewise.
2106 (FPE_FLTRES): Likewise.
2107 (FPE_FLTINV): Likewise.
2108 (FPE_FLTSUB): Likewise.
2109 (SEGV_MAPERR): Likewise.
2110 (SEGV_ACCERR): Likewise.
2111 (BUS_ADRALN): Likewise.
2112 (BUS_ADRERR): Likewise.
2113 (BUS_OBJERR): Likewise.
2114 (BUS_MCEERR_AR): Likewise.
2115 (BUS_MCEERR_AO): Likewise.
2116 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2117 (TRAP_TRACE): Likewise.
2118 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2119 __USE_XOPEN2K8].
2120 (CLD_KILLED): Likewise.
2121 (CLD_DUMPED): Likewise.
2122 (CLD_TRAPPED): Likewise.
2123 (CLD_STOPPED): Likewise.
2124 (CLD_CONTINUED): Likewise.
2125 (POLL_IN): Likewise.
2126 (POLL_OUT): Likewise.
2127 (POLL_MSG): Likewise.
2128 (POLL_ERR): Likewise.
2129 (POLL_PRI): Likewise.
2130 (POLL_HUP): Likewise.
2131 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2132 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2133
bc61d27c
JM
2134 [BZ #16670]
2135 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2136 before #include of <time.h>.
2137 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2138 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2139 (test-xfail-UNIX98/sched.h/conform): Likewise.
2140
302949e2
MS
21412014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2142
2143 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2144 error absence of trapping exception support.
2145 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2146
a00f522a
JM
21472014-03-07 Joseph Myers <joseph@codesourcery.com>
2148
6f99f280
JM
2149 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2150 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2151 * timezone/Makefile (testdata): Move definition above include of
2152 Rules.
2153 (test-zones): New variable.
2154 (tests-special): Add zone files.
2155 (build-testdata): Use $(evaluate-test).
2156
0b20a9e8
JM
2157 * elf/Makefile (tests-special): Rename tests to end with .out.
2158 ($(objpfx)noload-mem): Likewise.
2159 ($(objpfx)tst-leaks1-mem): Likewise.
2160 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2161 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2162 $(objpfx)test-iconvconfig.out.
2163 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2164 set -e inside subshell and redirect output to file.
2165 * iconvdata/Makefile (generated): Rename tests to end with .out.
2166 Correct type.
2167 (tests-special): Rename tests to end with .out.
2168 ($(objpfx)mtrace-tst-loading): Likewise.
2169 * intl/Makefile (generated): Likewise.
2170 (tests-special): Likewise.
2171 ($(objpfx)mtrace-tst-gettext): Likewise.
2172 * misc/Makefile (generated): Likewise.
2173 (tests-special): Likewise.
2174 ($(objpfx)tst-error1-mem): Likewise.
2175 * nptl/Makefile (tests-special): Likewise.
2176 ($(objpfx)tst-stack3-mem): Likewise.
2177 (generated): Likewise.
2178 * posix/Makefile (generated): Likewise.
2179 (tests-special): Likewise.
2180 (xtests-special): Likewise.
2181 ($(objpfx)tst-fnmatch-mem): Likewise.
2182 ($(objpfx)bug-regex2-mem): Likewise.
2183 ($(objpfx)bug-regex14-mem): Likewise.
2184 ($(objpfx)bug-regex21-mem): Likewise.
2185 ($(objpfx)bug-regex31-mem): Likewise.
2186 ($(objpfx)tst-vfork3-mem): Likewise.
2187 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2188 ($(objpfx)tst-pcre-mem): Likewise.
2189 ($(objpfx)tst-boost-mem): Likewise.
2190 ($(objpfx)bug-ga2-mem): Likewise.
2191 ($(objpfx)bug-glob2-mem): Likewise.
2192 * resolv/Makefile (generate): Likewise.
2193 (tests-special): Likewise.
2194 (xtests-special): Likewise.
2195 (generated): Likewise.
2196 ($(objpfx)mtrace-tst-leaks): Likewise.
2197 ($(objpfx)mtrace-tst-leaks2): Likewise.
2198
265d52ab
JM
2199 * scripts/merge-test-results.sh: New file.
2200 * Makefile (tests-special-notdir): New variable.
2201 (tests): Run merge-test-results.sh.
2202 (xtests): Likewise.
2203 * Rules (tests-special-notdir): New variable.
2204 (xtests-special-notdir): Likewise.
2205 (tests): Run merge-test-results.sh
2206 (xtests): Likewise.
2207
54ee292d
JM
2208 * Makeconfig (test-xfail-name): New variable.
2209 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2210 compute variable name for expected failures.
2211 * conform/Makefile (conformtest-headers-data): New variable.
2212 (conformtest-standards): Likewise.
2213 (conformtest-headers-ISO): Likewise.
2214 (conformtest-headers-ISO99): Likewise.
2215 (conformtest-headers-ISO11): Likewise.
2216 (conformtest-headers-POSIX): Likewise.
2217 (conformtest-headers-XPG3): Likewise.
2218 (conformtest-headers-XPG4): Likewise.
2219 (conformtest-headers-UNIX98): Likewise.
2220 (conformtest-headers-XOPEN2K): Likewise.
2221 (conformtest-headers-POSIX2008): Likewise.
2222 (conformtest-headers-XOPEN2K8): Likewise.
2223 (conformtest-header-list-base): Likewise.
2224 (conformtest-header-list-tests): Likewise.
2225 (conformtest-header-base): Likewise.
2226 (conformtest-header-tests): Likewise.
2227 (tests-special): Add $(conformtest-header-list-tests). If
2228 [$(fast-check) && !$(cross-compiling)], add
2229 $(conformtest-header-tests) instead of
2230 $(objpfx)run-conformtest.out.
2231 (generated): Add $(conformtest-header-list-base). If
2232 [$(fast-check) && !$(cross-compiling)], add
2233 $(conformtest-header-base). Remove previous setting.
2234 ($(conformtest-header-list-tests)): New target.
2235 (test-xfail-run-conformtest): Remove variable.
2236 ($(objpfx)run-conformtest.out): Remove target.
2237 (test-xfail-ISO11/complex.h/conform): New variable.
2238 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2239 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2240 (test-xfail-XPG3/varargs.h/conform): Likewise.
2241 (test-xfail-XPG4/varargs.h/conform): Likewise.
2242 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2243 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2244 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2245 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2246 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2247 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2248 (test-xfail-XPG3/ftw.h/conform): Likewise.
2249 (test-xfail-XPG3/grp.h/conform): Likewise.
2250 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2251 (test-xfail-XPG3/limits.h/conform): Likewise.
2252 (test-xfail-XPG3/pwd.h/conform): Likewise.
2253 (test-xfail-XPG3/search.h/conform): Likewise.
2254 (test-xfail-XPG3/signal.h/conform): Likewise.
2255 (test-xfail-XPG3/stdio.h/conform): Likewise.
2256 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2257 (test-xfail-XPG3/string.h/conform): Likewise.
2258 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2259 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2260 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2261 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2262 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2263 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2264 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2265 (test-xfail-XPG3/termios.h/conform): Likewise.
2266 (test-xfail-XPG3/time.h/conform): Likewise.
2267 (test-xfail-XPG3/unistd.h/conform): Likewise.
2268 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2269 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2270 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2271 (test-xfail-XPG4/netdb.h/conform): Likewise.
2272 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2273 (test-xfail-XPG4/signal.h/conform): Likewise.
2274 (test-xfail-XPG4/stdio.h/conform): Likewise.
2275 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2276 (test-xfail-XPG4/stropts.h/conform): Likewise.
2277 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2278 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2279 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2280 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2281 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2282 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2283 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2284 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2285 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2286 (test-xfail-XPG4/termios.h/conform): Likewise.
2287 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2288 (test-xfail-XPG4/unistd.h/conform): Likewise.
2289 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2290 (test-xfail-POSIX/sched.h/conform): Likewise.
2291 (test-xfail-POSIX/signal.h/conform): Likewise.
2292 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2293 (test-xfail-POSIX/tar.h/conform): Likewise.
2294 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2295 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2296 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2297 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2298 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2299 (test-xfail-UNIX98/sched.h/conform): Likewise.
2300 (test-xfail-UNIX98/signal.h/conform): Likewise.
2301 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2302 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2303 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2304 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2305 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2306 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2307 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2308 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2309 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2310 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2311 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2312 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2313 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2314 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2315 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2316 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2317 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2318 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2319 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2320 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2321 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2322 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2323 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2324 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2325 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2326 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2327 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2328 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2329 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2330 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2331 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2332 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2333 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2334 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2335 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2336 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2337 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2338 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2339 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2340 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2341 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2342 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2343 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2344 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2345 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2346 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2347 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2348 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2349 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2350 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2351 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2352 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2353 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2354 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2355 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2356 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2357 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2358 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2359 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2360 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2361 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2362 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2363 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2364 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2365 (conformtest-cc-flags): Likewise.
2366 ($(conformtest-header-tests): New target.
2367 * conform/check-header-lists.sh: New file.
2368 * conform/run-conformtest.sh: Remove.
2369
a00f522a
JM
2370 * conform/conformtest.pl: Allow ' and \ in values given for
2371 constants.
2372 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2373 inclusion.
2374 [POSIX] (sys/types.h): Likewise.
2375 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2376 inclusion.
2377 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2378 inclusion.
2379 * conform/data/signal.h-data (SIGIO): Remove expectation.
2380 [XPG3] (SIGBUS): Do not expect.
2381 [POSIX || XPG3] (SIGPOLL): Likewise.
2382 [POSIX || XPG3] (SIGPROF): Likewise.
2383 [POSIX || XPG3] (SIGSYS): Likewise.
2384 [XPG3] (SIGTRAP): Likewise.
2385 [POSIX || XPG3] (SIGURG): Likewise.
2386 [POSIX || XPG3] (SIGVTALRM): Likewise.
2387 [POSIX || XPG3] (SIGXCPU): Likewise.
2388 [POSIX || XPG3] (SIGXFSZ): Likewise.
2389 [POSIX] (SA_SIGINFO): Expect.
2390 [XPG3] (siginfo_t): Do not expect type or contents.
2391 [POSIX] (si_pid): Do not expect element.
2392 [POSIX] (si_uid): Likewise.
2393 [POSIX] (si_addr): Likewise.
2394 [POSIX] (si_status): Likewise.
2395 [POSIX] (si_band): Likewise.
2396 [XPG4] (si_value): Likewise.
2397 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2398 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2399 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2400 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2401 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2402 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2403 [POSIX || XPG3] (ILL_COPROC): Likewise.
2404 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2405 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2406 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2407 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2408 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2409 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2410 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2411 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2412 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2413 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2414 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2415 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2416 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2417 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2418 [POSIX || XPG3] (CLD_EXITED): Likewise.
2419 [POSIX || XPG3] (CLD_KILLED): Likewise.
2420 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2421 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2422 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2423 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2424 [POSIX || XPG3] (POLL_IN): Likewise.
2425 [POSIX || XPG3] (POLL_OUT): Likewise.
2426 [POSIX || XPG3] (POLL_MSG): Likewise.
2427 [POSIX || XPG3] (POLL_ERR): Likewise.
2428 [POSIX || XPG3] (POLL_PRI): Likewise.
2429 [POSIX || XPG3] (POLL_HUP): Likewise.
2430 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2431 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2432 (SIG*): Do not allow.
2433 [XPG3] (si_*): Likewise.
2434 [XPG3] (SI_*): Likewise.
2435 [XPG3 || XPG4] (sigev_*): Likewise.
2436 [XPG3 || XPG4] (SIGEV_*): Likewise.
2437 [XPG3 || XPG4] (sival_*): Likewise.
2438 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2439 [POSIX || XPG3] (BUS_*): Likewise.
2440 [POSIX || XPG3] (CLD_*): Likewise.
2441 [POSIX || XPG3] (FPE_*): Likewise.
2442 [POSIX || XPG3] (ILL_*): Likewise.
2443 [POSIX || XPG3] (POLL_*): Likewise.
2444 [POSIX || XPG3] (SEGV_*): Likewise.
2445 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2446 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2447 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2448 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2449 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2450 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2451 Specify type and value.
2452 (TVERSLEN): Likewise.
2453 (REGTYPE): Likewise.
2454 (AREGTYPE): Likewise.
2455 (LNKTYPE): Likewise.
2456 (SYMTYPE): Likewise.
2457 (CHRTYPE): Likewise.
2458 (BLKTYPE): Likewise.
2459 (DIRTYPE): Likewise.
2460 (FIFOTYPE): Likewise.
2461 (CONTTYPE): Likewise.
2462 (TSUID): Likewise.
2463 (TSGID): Likewise.
2464 (TSVTX): Likewise.
2465 (TUREAD): Likewise.
2466 (TUWRITE): Likewise.
2467 (TUEXEC): Likewise.
2468 (TGREAD): Likewise.
2469 (TGWRITE): Likewise.
2470 (TGEXEC): Likewise.
2471 (TOREAD): Likewise.
2472 (TOWRITE): Likewise.
2473 (TOEXEC): Likewise.
2474 [POSIX] (TSVTX): Expect constant.
2475
aa97dee1
JM
24762014-03-06 Joseph Myers <joseph@codesourcery.com>
2477
f214606a
JM
2478 * Makefile (tests): Change dependencies to ....
2479 (tests-special): ... additions to this variable.
2480 (tests): Depend on $(tests-special).
2481 * Makerules (check-abi-list): New variable.
2482 (check-abi): Depend on $(check-abi-list).
2483 [$(subdir) = elf] (tests-special): Add
2484 $(objpfx)check-abi-libc.out.
2485 [$(build-shared) = yes && subdir] (tests-special): Add
2486 $(check-abi-list).
2487 [$(build-shared) = yes && subdir] (tests): Do not depend on
2488 check-abi.
2489 * Rules (tests): Depend on $(tests-special).
2490 (xtests): Depend on $(xtests-special).
2491 * catgets/Makefile (tests): Change dependencies to ....
2492 (tests-special): ... additions to this variable.
2493 * conform/Makefile (tests): Change dependencies to ....
2494 (tests-special): ... additions to this variable.
2495 * elf/Makefile (tests): Change dependencies to ....
2496 (tests-special): ... additions to this variable.
2497 * grp/Makefile (tests): Change dependencies to ....
2498 (tests-special): ... additions to this variable.
2499 * iconv/Makefile (xtests): Change dependencies to ....
2500 (xtests-special): ... additions to this variable.
2501 * iconvdata/Makefile (tests): Change dependencies to ....
2502 (tests-special): ... additions to this variable.
2503 * intl/Makefile (tests): Change dependencies to ....
2504 (tests-special): ... additions to this variable. Also add
2505 $(objpfx)tst-gettext.out.
2506 * io/Makefile (tests): Change dependencies to ....
2507 (tests-special): ... additions to this variable.
2508 * libio/Makefile (tests): Change dependencies to ....
2509 (tests-special): ... additions to this variable.
2510 * malloc/Makefile (tests): Change dependencies to ....
2511 (tests-special): ... additions to this variable.
2512 * misc/Makefile (tests): Change dependencies to ....
2513 (tests-special): ... additions to this variable.
2514 * nptl/Makefile (tests): Change dependencies to ....
2515 (tests-special): ... additions to this variable.
2516 * nptl_db/Makefile (tests): Change dependencies to ....
2517 (tests-special): ... additions to this variable.
2518 * posix/Makefile (tests): Change dependencies to ....
2519 (tests-special): ... additions to this variable.
2520 (xtests): Change dependencies to ....
2521 (xtests-special): ... additions to this variable.
2522 * resolv/Makefile (tests): Change dependencies to ....
2523 (tests-special): ... additions to this variable.
2524 (xtests): Change dependencies to ....
2525 (xtests-special): ... additions to this variable.
2526 * stdio-common/Makefile (tests): Change dependencies to ....
2527 (tests-special): ... additions to this variable.
2528 (do-tst-unbputc): Remove target.
2529 (do-tst-printf): Likewise.
2530 * stdlib/Makefile (tests): Change dependencies to ....
2531 (tests-special): ... additions to this variable.
2532 * string/Makefile (tests): Change dependencies to ....
2533 (tests-special): ... additions to this variable.
2534 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2535 (tests-special): ... additions to this variable.
2536
81700b53
JM
2537 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2538 whole file.
2539 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2540 whole file.
2541 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2542 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2543
2ea18461
JM
2544 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2545 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2546 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2547 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2548 * conform/data/libgen.h-data [XPG3]: Likewise.
2549 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2550 * conform/data/ndbm.h-data [XPG3]: Likewise.
2551 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2552 * conform/data/netdb.h-data [XPG3]: Likewise.
2553 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2554 * conform/data/poll.h-data [XPG3]: Likewise.
2555 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2556 * conform/data/strings.h-data [XPG3]: Likewise.
2557 * conform/data/stropts.h-data [XPG3]: Likewise.
2558 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2559 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2560 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2561 Likewise.
2562 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2563 * conform/data/sys/time.h-data [XPG3]: Likewise.
2564 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2565 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2566 * conform/data/sys/un.h-data [XPG3]: Likewise.
2567 * conform/data/syslog.h-data [XPG3]: Likewise.
2568 * conform/data/ucontext.h-data [XPG3]: Likewise.
2569 * conform/data/utmpx.h-data [XPG3]: Likewise.
2570 * conform/data/varargs.h-data [UNIX98]: Enable file.
2571
355bc986
JM
2572 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2573
215db402
JM
2574 * math/libm-test.inc (struct test_f_f_data): Move expected results
2575 into structure for each rounding mode.
2576 (struct test_ff_f_data): Likewise.
2577 (struct test_ff_f_data_nexttoward): Likewise.
2578 (struct test_fi_f_data): Likewise.
2579 (struct test_fl_f_data): Likewise.
2580 (struct test_if_f_data): Likewise.
2581 (struct test_fff_f_data): Likewise.
2582 (struct test_c_f_data): Likewise.
2583 (struct test_f_f1_data): Likewise.
2584 (struct test_fF_f1_data): Likewise.
2585 (struct test_ffI_f1_data): Likewise.
2586 (struct test_c_c_data): Likewise.
2587 (struct test_cc_c_data): Likewise.
2588 (struct test_f_i_data): Likewise.
2589 (struct test_ff_i_data): Likewise.
2590 (struct test_f_l_data): Likewise.
2591 (struct test_f_L_data): Likewise.
2592 (struct test_fFF_11_data): Likewise.
2593 (RM_): New macro.
2594 (RM_FE_DOWNWARD): Likewise.
2595 (RM_FE_TONEAREST): Likewise.
2596 (RM_FE_TOWARDZERO): Likewise.
2597 (RM_FE_UPWARD): Likewise.
2598 (RUN_TEST_LOOP_f_f): Update references to expected results.
2599 (RUN_TEST_LOOP_2_f): Likewise.
2600 (RUN_TEST_LOOP_fff_f): Likewise.
2601 (RUN_TEST_LOOP_c_f): Likewise.
2602 (RUN_TEST_LOOP_f_f1): Likewise.
2603 (RUN_TEST_LOOP_fF_f1): Likewise.
2604 (RUN_TEST_LOOP_fI_f1): Likewise.
2605 (RUN_TEST_LOOP_ffI_f1): Likewise.
2606 (RUN_TEST_LOOP_c_c): Likewise.
2607 (RUN_TEST_LOOP_cc_c): Likewise.
2608 (RUN_TEST_LOOP_f_i): Likewise.
2609 (RUN_TEST_LOOP_f_i_tg): Likewise.
2610 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2611 (RUN_TEST_LOOP_f_b): Likewise.
2612 (RUN_TEST_LOOP_f_b_tg): Likewise.
2613 (RUN_TEST_LOOP_f_l): Likewise.
2614 (RUN_TEST_LOOP_f_L): Likewise.
2615 (RUN_TEST_LOOP_fFF_11): Likewise.
2616 * math/gen-libm-test.pl (parse_args): Output four copies of
2617 expected results for each test.
2618
67737b8f
JM
2619 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2620 (__ASSUME_UTIMES): Remove.
2621 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2622 (__ASSUME_UTIMES): Likewise.
2623
aa97dee1
JM
2624 * math/gen-auto-libm-tests.c: Update comment on output format.
2625 (output_for_one_input_case): Generate before-rounding and
2626 after-rounding information as conditions on output flags not
2627 floating-point format.
2628 * math/auto-libm-test-out: Regenerated.
2629 * math/gen-libm-test.pl (cond_value): New function.
2630 (or_cond_value): Use cond_value.
2631 (generate_testfile): Handle conditional exceptions.
2632
e6b6a857
JM
26332014-03-05 Joseph Myers <joseph@codesourcery.com>
2634
2f0a0f44
JM
2635 * math/libm-test.inc (max_valid_error): New variable.
2636 (init_max_error): Take new argument specifying whether function
2637 results are exactly determined. Set max_valid_error and bound
2638 other variables for errors based on this argument.
2639 (set_max_error): Do not record results above max_valid_error.
2640 (check_float_internal): Only accept errors of up to 0.5ulps if
2641 also at most max_valid_error.
2642 (START): Take new argument EXACT and pass it to init_max_error.
2643 (acos_test): Update call to START.
2644 (acos_test_tonearest): Likewise.
2645 (acos_test_towardzero): Likewise.
2646 (acos_test_downward): Likewise.
2647 (acos_test_upward): Likewise.
2648 (acosh_test): Likewise.
2649 (asin_test): Likewise.
2650 (asin_test_tonearest): Likewise.
2651 (asin_test_towardzero): Likewise.
2652 (asin_test_downward): Likewise.
2653 (asin_test_upward): Likewise.
2654 (asinh_test): Likewise.
2655 (atan_test): Likewise.
2656 (atanh_test): Likewise.
2657 (atan2_test): Likewise.
2658 (cabs_test): Likewise.
2659 (cacos_test): Likewise.
2660 (cacosh_test): Likewise.
2661 (carg_test): Likewise.
2662 (casin_test): Likewise.
2663 (casinh_test): Likewise.
2664 (catan_test): Likewise.
2665 (catanh_test): Likewise.
2666 (cbrt_test): Likewise.
2667 (ccos_test): Likewise.
2668 (ccosh_test): Likewise.
2669 (ceil_test): Likewise.
2670 (cexp_test): Likewise.
2671 (cimag_test): Likewise.
2672 (clog_test): Likewise.
2673 (clog10_test): Likewise.
2674 (conj_test): Likewise.
2675 (copysign_test): Likewise.
2676 (cos_test): Likewise.
2677 (cos_test_tonearest): Likewise.
2678 (cos_test_towardzero): Likewise.
2679 (cos_test_downward): Likewise.
2680 (cos_test_upward): Likewise.
2681 (cosh_test): Likewise.
2682 (cosh_test_tonearest): Likewise.
2683 (cosh_test_towardzero): Likewise.
2684 (cosh_test_downward): Likewise.
2685 (cosh_test_upward): Likewise.
2686 (cpow_test): Likewise.
2687 (cproj_test): Likewise.
2688 (creal_test): Likewise.
2689 (csin_test): Likewise.
2690 (csinh_test): Likewise.
2691 (csqrt_test): Likewise.
2692 (ctan_test): Likewise.
2693 (ctan_test_tonearest): Likewise.
2694 (ctan_test_towardzero): Likewise.
2695 (ctan_test_downward): Likewise.
2696 (ctan_test_upward): Likewise.
2697 (ctanh_test): Likewise.
2698 (ctanh_test_tonearest): Likewise.
2699 (ctanh_test_towardzero): Likewise.
2700 (ctanh_test_downward): Likewise.
2701 (ctanh_test_upward): Likewise.
2702 (erf_test): Likewise.
2703 (erfc_test): Likewise.
2704 (exp_test): Likewise.
2705 (exp_test_tonearest): Likewise.
2706 (exp_test_towardzero): Likewise.
2707 (exp_test_downward): Likewise.
2708 (exp_test_upward): Likewise.
2709 (exp10_test): Likewise.
2710 (exp10_test_tonearest): Likewise.
2711 (exp10_test_towardzero): Likewise.
2712 (exp10_test_downward): Likewise.
2713 (exp10_test_upward): Likewise.
2714 (pow10_test): Likewise.
2715 (exp2_test): Likewise.
2716 (expm1_test): Likewise.
2717 (expm1_test_tonearest): Likewise.
2718 (expm1_test_towardzero): Likewise.
2719 (expm1_test_downward): Likewise.
2720 (expm1_test_upward): Likewise.
2721 (fabs_test): Likewise.
2722 (fdim_test): Likewise.
2723 (floor_test): Likewise.
2724 (fma_test): Likewise.
2725 (fma_test_towardzero): Likewise.
2726 (fma_test_downward): Likewise.
2727 (fma_test_upward): Likewise.
2728 (fmax_test): Likewise.
2729 (fmin_test): Likewise.
2730 (fmod_test): Likewise.
2731 (fpclassify_test): Likewise.
2732 (frexp_test): Likewise.
2733 (hypot_test): Likewise.
2734 (ilogb_test): Likewise.
2735 (isfinite_test): Likewise.
2736 (finite_test): Likewise.
2737 (isgreater_test): Likewise.
2738 (isgreaterequal_test): Likewise.
2739 (isinf_test): Likewise.
2740 (isless_test): Likewise.
2741 (islessequal_test): Likewise.
2742 (islessgreater_test): Likewise.
2743 (isnan_test): Likewise.
2744 (isnormal_test): Likewise.
2745 (issignaling_test): Likewise.
2746 (isunordered_test): Likewise.
2747 (j0_test): Likewise.
2748 (j1_test): Likewise.
2749 (jn_test): Likewise.
2750 (ldexp_test): Likewise.
2751 (lgamma_test): Likewise.
2752 (gamma_test): Likewise.
2753 (lrint_test): Likewise.
2754 (lrint_test_tonearest): Likewise.
2755 (lrint_test_towardzero): Likewise.
2756 (lrint_test_downward): Likewise.
2757 (lrint_test_upward): Likewise.
2758 (llrint_test): Likewise.
2759 (llrint_test_tonearest): Likewise.
2760 (llrint_test_towardzero): Likewise.
2761 (llrint_test_downward): Likewise.
2762 (llrint_test_upward): Likewise.
2763 (log_test): Likewise.
2764 (log10_test): Likewise.
2765 (log1p_test): Likewise.
2766 (log2_test): Likewise.
2767 (logb_test): Likewise.
2768 (logb_test_downward): Likewise.
2769 (lround_test): Likewise.
2770 (llround_test): Likewise.
2771 (modf_test): Likewise.
2772 (nearbyint_test): Likewise.
2773 (nextafter_test): Likewise.
2774 (nexttoward_test): Likewise.
2775 (pow_test): Likewise.
2776 (pow_test_tonearest): Likewise.
2777 (pow_test_towardzero): Likewise.
2778 (pow_test_downward): Likewise.
2779 (pow_test_upward): Likewise.
2780 (remainder_test): Likewise.
2781 (drem_test): Likewise.
2782 (remainder_test_tonearest): Likewise.
2783 (drem_test_tonearest): Likewise.
2784 (remainder_test_towardzero): Likewise.
2785 (drem_test_towardzero): Likewise.
2786 (remainder_test_downward): Likewise.
2787 (drem_test_downward): Likewise.
2788 (remainder_test_upward): Likewise.
2789 (drem_test_upward): Likewise.
2790 (remquo_test): Likewise.
2791 (rint_test): Likewise.
2792 (rint_test_tonearest): Likewise.
2793 (rint_test_towardzero): Likewise.
2794 (rint_test_downward): Likewise.
2795 (rint_test_upward): Likewise.
2796 (round_test): Likewise.
2797 (scalb_test): Likewise.
2798 (scalbn_test): Likewise.
2799 (scalbln_test): Likewise.
2800 (signbit_test): Likewise.
2801 (sin_test): Likewise.
2802 (sin_test_tonearest): Likewise.
2803 (sin_test_towardzero): Likewise.
2804 (sin_test_downward): Likewise.
2805 (sin_test_upward): Likewise.
2806 (sincos_test): Likewise.
2807 (sinh_test): Likewise.
2808 (sinh_test_tonearest): Likewise.
2809 (sinh_test_towardzero): Likewise.
2810 (sinh_test_downward): Likewise.
2811 (sinh_test_upward): Likewise.
2812 (sqrt_test): Likewise.
2813 (sqrt_test_tonearest): Likewise.
2814 (sqrt_test_towardzero): Likewise.
2815 (sqrt_test_downward): Likewise.
2816 (sqrt_test_upward): Likewise.
2817 (tan_test): Likewise.
2818 (tan_test_tonearest): Likewise.
2819 (tan_test_towardzero): Likewise.
2820 (tan_test_downward): Likewise.
2821 (tan_test_upward): Likewise.
2822 (tanh_test): Likewise.
2823 (tgamma_test): Likewise.
2824 (trunc_test): Likewise.
2825 (y0_test): Likewise.
2826 (y1_test): Likewise.
2827 (yn_test): Likewise.
2828 (significand_test): Likewise.
2829
e6b6a857
JM
2830 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2831 individual tests in comment.
2832 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2833 (prev_max_error): New variable.
2834 (prev_real_max_error): Likewise.
2835 (prev_imag_max_error): Likewise.
2836 (compare_ulp_data): Don't refer to test names in comment.
2837 (find_test_ulps): Remove function.
2838 (find_function_ulps): Likewise.
2839 (find_complex_function_ulps): Likewise.
2840 (init_max_error): Take function name as argument. Look up ulps
2841 for that function.
2842 (print_ulps): Remove function.
2843 (print_max_error): Use prev_max_error instead of calling
2844 find_function_ulps.
2845 (print_complex_max_error): Use prev_real_max_error and
2846 prev_imag_max_error instead of calling find_complex_function_ulps.
2847 (check_float_internal): Take max_ulp parameter instead of calling
2848 find_test_ulps. Don't call print_ulps.
2849 (check_float): Update call to check_float_internal.
2850 (check_complex): Update calls to check_float_internal.
2851 (START): Pass argument to init_max_error.
2852 * math/gen-libm-test.pl (%results): Don't include "kind"
2853 information.
2854 (parse_ulps): Don't handle ulps of individual tests.
2855 (print_ulps_file): Likewise.
2856 (output_ulps): Likewise.
2857 * math/README.libm-test: Update.
2858 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2859 individual tests.
2860 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2861 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2862 * sysdeps/arm/libm-test-ulps: Likewise.
2863 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2864 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2865 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2866 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2867 * sysdeps/microblaze/libm-test-ulps: Likewise.
2868 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2869 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2871 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2872 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2873 * sysdeps/sh/libm-test-ulps: Likewise.
2874 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2875 * sysdeps/tile/libm-test-ulps: Likewise.
2876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2877
45adef3c
JM
28782014-03-04 Joseph Myers <joseph@codesourcery.com>
2879
2880 * math/libm-test.inc (print_complex_max_error): Check separately
2881 whether real and imaginary errors are within allowed range and
2882 pass 0 to print_complex_function_ulps instead of value within
2883 allowed range.
2884
000232b9
SP
28852014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2886
d4b17258
SP
2887 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2888 formatting.
2889 (get_handles_fopen): Likewise.
2890 (do_write_test): Likewise.
2891
091eff71
SP
2892 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2893
fa3cd248
SP
2894 * libio/fileops.c (do_ftell): Use cached offset when
2895 available.
2896 * libio/iofwide.c (do_ftell_wide): Likewise.
2897 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2898 _IO_file_attach.
2899 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2900
000232b9
SP
2901 [BZ #16532]
2902 * libio/libioP.h (get_file_offset): New function.
2903 * libio/fileops.c (get_file_offset): Likewise.
2904 (do_ftell): Likewise.
2905 (_IO_new_file_seekoff): Split out ftell logic.
2906 * libio/wfileops.c (do_ftell_wide): Likewise.
2907 (_IO_wfile_seekoff): Split out ftell logic.
2908 * libio/tst-ftell-active-handler.c: New test case.
2909 * libio/Makefile (tests): Add it.
2910
116f4d1a
RM
29112014-03-03 Roland McGrath <roland@hack.frob.com>
2912
2913 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2914 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2915
532a6035
SP
29162014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2917
2918 [BZ #16639]
2919 * nscd/connections.c (nscd_init): Call do_exit.
2920 (start_threads): Call do_exit and notify_parent.
2921 (begin_drop_privileges): Call do_exit.
2922 (finish_drop_privileges): Likewise.
2923 * nscd/selinux.c (preserve_capabilities): Likewise.
2924 (install_real_capabilities): Likewise.
2925 (nscd_selinux_enabled): Likewise.
2926 (avc_create_thread): Likewise.
2927 (avc_alloc_lock): Likewise.
2928 (nscd_avc_init): Likewise.
2929 * nscd/nscd.c (parent_fd): New static variable.
2930 (main): Create a pipe between parent and child processes.
2931 Skip closing parent_fd.
2932 (monitor_child): New function.
2933 (do_exit): Likewise.
2934 (notify_parent): Likewise.
2935 * nscd/nscd.h (notify_parent): Likewise.
2936 (do_exit): Likewise.
2937
d6285c9f
CD
29382014-03-03 Carlos O'Donell <carlos@redhat.com>
2939
2940 * malloc/malloc.c (__libc_calloc): Revert last change.
2941
2b85d2a0
AZ
29422014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2943
2944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2945
c7debbdf
RS
29462014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2947
2948 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2949 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2950 implementation.
2951 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2952 (__libc_ifunc_impl_list): Likewise.
2953 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2954 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2955 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2956 * string/strrchr.c: Define STRRCHR.
2957
235eed86
OB
29582014-02-28 Ondřej Bílka <neleai@seznam.cz>
2959
2960 * benchtest/bench-strtok.c (simple_strtok): Delete.
2961 (strtok_string): Use as benchmark.
2962 * string/strtok (STRTOK): New macro.
2963
8e25d1e7
CD
29642014-02-28 Carlos O'Donell <carlos@redhat.com>
2965
ef563f92
CD
2966 * manual/threads.texi: Add header and standard comments to all
2967 functions.
2968
8e25d1e7
CD
2969 * elf/dl-lookup.c (check_match): New function.
2970 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2971 (do_lookup_x): Remove nested function check_match. Use non-nested
2972 function check_match.
2973
ff71cc37
RM
29742014-02-28 Roland McGrath <roland@hack.frob.com>
2975
f08e9a26
RM
2976 * csu/Makefile (generated, before-compile): Use += rather than =.
2977 * catgets/Makefile (generated, generated-dirs): Likewise.
2978 * debug/Makefile (generated): Likewise.
2979 * dlfcn/Makefile (generated): Likewise.
2980 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2981 * iconvdata/Makefile (before-compile, generated): Likewise.
2982 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2983 * libio/Makefile (generated): Likewise.
2984 * malloc/Makefile (generated): Likewise.
2985 * manual/Makefile (generated, generated-dirs): Likewise.
2986 * misc/Makefile (generated): Likewise.
2987 * posix/Makefile (generated): Likewise.
2988 * resolv/Makefile (generated): Likewise.
2989 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2990 * timezone/Makefile (generated, generated-dirs): Likewise.
2991
ff71cc37
RM
2992 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2993
fe13a20c
AZ
29942014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2995
57f41c40
AS
2996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2997 power8 implementation.
2998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
2999 file: POWER8 llround ifunc implementation.
3000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3001 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3002 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3003 POWER8 llround implementation.
3004
57f41c40
AS
3005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3006 power8 implementation.
3007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3008 file: POWER8 llrint ifunc implementation.
3009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3010 Add POWER8 implementation.
1ad8950a
AZ
3011 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3012 POWER8 llrint implementation.
3013
57f41c40
AS
3014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3015 power8 implementation.
3016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3017 file: POWER8 finite ifunc implementation.
3018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3019 Add POWER8 implementation.
cac626d6
AZ
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3021 Likewise.
3022 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3023 POWER8 finite implementation.
3024 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3025
57f41c40
AS
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3027 power8 implementation.
3028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3029 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3031 POWER8 implementation.
3032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3033 Likewise.
57f41c40
AS
3034 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3035 isinf implementation.
4393fc11
AZ
3036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3037
57f41c40
AS
3038 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3039 (INIT_ARCH): Add hwcap2 initialization.
3040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3041 power8 implementation.
3042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3043 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3045 POWER8 implementation.
3046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3047 Likewise.
57f41c40
AS
3048 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3049 isnan implementation.
487972ae
AZ
3050 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3051
7d92b787
JY
30522014-02-27 Joey Ye <joey.ye@arm.com>
3053
3054 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3055 (_FP_NANFRAC_Q): Set to zero.
3056
1cadc858
SP
30572014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3058
3059 [BZ #16623]
3060 * math/auto-libm-test-in: New test inputs.
3061 * math/auto-libm-test-out: Regenerate.
3062 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3063 and DA.
3064 (__cos): Likewise.
3065 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3066
f8c17e79
JM
30672014-02-27 Joseph Myers <joseph@codesourcery.com>
3068
3069 * scripts/evaluate-test.sh: Take new argument indicating whether
3070 failure is expected.
3071 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3072 indicating whether failure is expected.
3073 * conform/Makefile (test-xfail-run-conformtest): New variable.
3074 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3075 level.
3076 * posix/Makefile (test-xfail-annexc): New variable.
3077 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3078
a5f891ac
JM
30792014-02-26 Joseph Myers <joseph@codesourcery.com>
3080
3081 * argp/Makefile: Include Makeconfig immediately after defining
3082 subdir.
3083 * assert/Makefile: Likewise.
3084 * benchtests/Makefile: Likewise.
3085 * catgets/Makefile: Likewise.
3086 * conform/Makefile: Likewise.
3087 * crypt/Makefile: Likewise.
3088 * csu/Makefile: Likewise.
3089 (all): Remove target.
3090 * ctype/Makefile: Include Makeconfig immediately after defining
3091 subdir.
3092 * debug/Makefile: Likewise.
3093 * dirent/Makefile: Likewise.
3094 * dlfcn/Makefile: Likewise.
3095 * gmon/Makefile: Likewise.
3096 * gnulib/Makefile: Likewise.
3097 * grp/Makefile: Likewise.
3098 * gshadow/Makefile: Likewise.
3099 * hesiod/Makefile: Likewise.
3100 * hurd/Makefile: Likewise.
3101 (all): Remove target.
3102 * iconvdata/Makefile: Include Makeconfig immediately after
3103 defining subdir.
3104 * inet/Makefile: Likewise.
3105 * intl/Makefile: Likewise.
3106 * io/Makefile: Likewise.
3107 * libio/Makefile: Likewise.
3108 (all): Remove target.
3109 * locale/Makefile: Include Makeconfig immediately after defining
3110 subdir.
3111 * login/Makefile: Likewise.
3112 * mach/Makefile: Likewise.
3113 (all): Remove target.
3114 * malloc/Makefile: Include Makeconfig immediately after defining
3115 subdir.
3116 (all): Remove target.
3117 * manual/Makefile: Include Makeconfig immediately after defining
3118 subdir.
3119 * math/Makefile: Likewise.
3120 * misc/Makefile: Likewise.
3121 * nis/Makefile: Likewise.
3122 * nss/Makefile: Likewise.
3123 * po/Makefile: Likewise.
3124 (all): Remove target.
3125 * posix/Makefile: Include Makeconfig immediately after defining
3126 subdir.
3127 * pwd/Makefile: Likewise.
3128 * resolv/Makefile: Likewise.
3129 * resource/Makefile: Likewise.
3130 * rt/Makefile: Likewise.
3131 * setjmp/Makefile: Likewise.
3132 * shadow/Makefile: Likewise.
3133 * signal/Makefile: Likewise.
3134 * socket/Makefile: Likewise.
3135 * soft-fp/Makefile: Likewise.
3136 * stdio-common/Makefile: Likewise.
3137 * stdlib/Makefile: Likewise.
3138 * streams/Makefile: Likewise.
3139 * string/Makefile: Likewise.
3140 * sunrpc/Makefile: Likewise.
3141 (all): Remove target.
3142 * sysvipc/Makefile: Include Makeconfig immediately after defining
3143 subdir.
3144 * termios/Makefile: Likewise.
3145 * time/Makefile: Likewise.
3146 * timezone/Makefile: Likewise.
3147 (all): Remove target.
3148 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3149 subdir.
3150 * wctype/Makefile: Likewise.
3151
5b456e9d
SE
31522014-02-26 Steve Ellcey <sellcey@mips.com>
3153
3154 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3155 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3156 (libc_feholdexcept_setround_mips): Ditto.
3157 (libc_feholdsetround): New.
3158 (libc_feholdsetroundf): New.
3159 (libc_feholdsetroundl): New.
3160 (libc_feupdateenv_test_mips): New.
3161 (libc_feupdateenv_test): New.
3162 (libc_feupdateenv_testf): New.
3163 (libc_feupdateenv_testl): New.
3164 (libc_feresetround): New.
3165 (libc_feresetroundf): New.
3166 (libc_feresetroundl): New.
3167 (libc_fetestexcept_mips): New.
3168 (libc_fetestexcept): New.
3169 (libc_fetestexceptf): New.
3170 (libc_fetestexceptl): New.
3171 (HAVE_RM_CTX): New.
3172 (libc_feholdexcept_setround_mips_ctx): New.
3173 (libc_feholdexcept_setround_ctx): New.
3174 (libc_feholdexcept_setroundf_ctx): New.
3175 (libc_feholdexcept_setroundl_ctx): New.
3176 (libc_fesetenv_mips_ctx): New.
3177 (libc_fesetenv_ctx): New.
3178 (libc_fesetenv_ctxf): New.
3179 (libc_fesetenv_ctxl): New.
3180 (libc_feupdateenv_mips_ctx): New.
3181 (libc_feupdateenv_ctx): New.
3182 (libc_feupdateenvf_ctx): New.
3183 (libc_feupdateenvl_ctx): New.
3184 (libc_feholdsetround_mips_ctx): New.
3185 (libc_feholdsetround_ctx): New.
3186 (libc_feholdsetroundf_ctx): New.
3187 (libc_feholdsetroundl_ctx): New.
3188 (libc_feresetround_mips_ctx): New.
3189 (libc_feresetround_ctx): New.
3190 (libc_feresetroundf_ctx): New.
3191 (libc_feresetroundl_ctx): New.
3192
085d0e35
CD
31932014-02-26 Carlos O'Donell <carlos@redhat.com>
3194
f067bf1f
CD
3195 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3196
085d0e35
CD
3197 * manual/ipc.texi: New file.
3198 * manual/Makefile (chapters): Add ipc.
3199 * manual/job.texi: Add "Inter-Process Communication" to next.
3200 * manual/process.texi: Add "Inter-Process Communication" to prev.
3201
86e58c08
AZ
32022014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3203
3204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3205
4248f0da
OB
32062014-02-26 Ondřej Bílka <neleai@seznam.cz>
3207
3208 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3209
cf822e3c
OB
3210 * manual/arith.texi: Fix spaces after sentences.
3211 * manual/charset.texi: Likewise.
3212 * manual/errno.texi: Likewise.
3213 * manual/install.texi: Likewise.
3214 * manual/llio.texi: Likewise.
3215 * manual/locale.texi: Likewise.
3216 * manual/maint.texi: Likewise.
3217 * manual/math.texi: Likewise.
3218 * manual/memory.texi: Likewise.
3219 * manual/message.texi: Likewise.
3220 * manual/probes.texi: Likewise.
3221 * manual/resource.texi: Likewise.
3222 * manual/signal.texi: Likewise.
3223 * manual/socket.texi: Likewise.
3224 * manual/stdio.texi: Likewise.
3225 * manual/string.texi: Likewise.
3226 * manual/time.texi: Likewise.
3227 * manual/users.texi: Likewise.
3228
ade40b10
CD
32292014-02-25 Carlos O'Donell <carlos@redhat.com>
3230
3231 [BZ #16632]
3232 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3233 _DEFAULT_SOURCE is defined.
3234
d0503676
CD
32352014-02-25 Ulrich Drepper <drepper@gmail.com>
3236 Carlos O'Donell <carlos@redhat.com>
3237
3238 [BZ #16613]
3239 * elf/dl-tls.c (_dl_count_modids): New function.
3240 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3241 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3242 audit library and increment generation counter.
3243 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3244 * elf/tst-audit9.c: New file.
3245 * elf/tst-auditmod9a.c: New file.
3246 * elf/tst-auditmod9b.c: New file.
3247 * elf/Makefile: Add rules to build and run tst-audit9.
3248
4cbf380c
FW
32492014-02-25 Florian Weimer <fweimer@redhat.com>
3250
3251 [BZ #15347]
3252 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3253
80a56cc3
WN
32542014-02-25 Will Newton <will.newton@linaro.org>
3255
3256 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3257 (__longjmp): Restore sp and lr before restoring callee
3258 saved registers. Add longjmp and longjmp_target
3259 SystemTap probe point.
3260 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3261 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3262 Define to zero to match jmpbuf layout.
3263 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3264 (__sigsetjmp): Save sp and lr before saving callee
3265 saved registers. Add setjmp SystemTap probe point.
3266
3ea0f74e
SL
32672014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3268
3269 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3270
b04acb26
AS
32712014-02-24 Andreas Schwab <schwab@suse.de>
3272
3273 [BZ #15804]
3274 * elf/pldd.c (wait_for_ptrace_stop): New function.
3275 (main): Call it after attaching.
3276
098ad55c
RM
32772014-02-22 Roland McGrath <roland@hack.frob.com>
3278
d4ec6ae1
RM
3279 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3280 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3281 Versions files is now verboten.
3282 * hurd/Versions (libc: GLIBC_2.0):
3283 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3284 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3285 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3286 * mach/Versions: Likewise.
3287
098ad55c
RM
3288 * csu/Versions: Remove unused %include.
3289 * resolv/Versions: Likewise.
3290
acd7f096
JM
32912014-02-21 Joseph Myers <joseph@codesourcery.com>
3292
f0881698
JM
3293 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3294 ($(objpfx)check-local-headers.out): Likewise.
3295 ($(objpfx)begin-end-check.out): Likewise.
3296 * Makerules (check-abi-%.out): Likewise.
3297 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3298 ($(objpfx)test2.cat): Likewise.
3299 ($(objpfx)de/libc.cat): Likewise.
3300 ($(objpfx)test-gencat.out): Likewise.
3301 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3302 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3303 ($(objpfx)noload-mem): Likewise.
3304 ($(objpfx)tst-pathopt.out): Likewise.
3305 ($(objpfx)tst-rtld-load-self.out): Likewise.
3306 ($(objpfx)tst-array1-cmp.out): Likewise.
3307 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3308 ($(objpfx)tst-array2-cmp.out): Likewise.
3309 ($(objpfx)tst-array3-cmp.out): Likewise.
3310 ($(objpfx)tst-array4-cmp.out): Likewise.
3311 ($(objpfx)tst-array5-cmp.out): Likewise.
3312 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3313 ($(objpfx)check-textrel.out): Likewise.
3314 ($(objpfx)check-execstack.out): Likewise.
3315 ($(objpfx)check-localplt.out): Likewise.
3316 ($(objpfx)order2-cmp.out): Likewise.
3317 ($(objpfx)tst-leaks1-mem): Likewise.
3318 ($(objpfx)tst-leaks1-static-mem): Likewise.
3319 ($(objpfx)tst-initorder-cmp.out): Likewise.
3320 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3321 ($(objpfx)tst-unused-dep.out): Likewise.
3322 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3323 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3324 * iconv/Makefile (test-iconvconfig): Likewise.
3325 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3326 ($(objpfx)iconv-test.out): Likewise.
3327 ($(objpfx)tst-tables.out): Likewise.
3328 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3329 ($(objpfx)tst-gettext.out): Likewise.
3330 ($(objpfx)tst-translit.out): Likewise.
3331 ($(objpfx)tst-gettext2.out): Likewise.
3332 ($(objpfx)tst-gettext4.out): Likewise.
3333 ($(objpfx)tst-gettext6.out): Likewise.
3334 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3335 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3336 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3337 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3338 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3339 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3340 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3341 ($(objpfx)wordexp-tst.out): Likewise.
3342 ($(objpfx)annexc.out): Likewise.
3343 ($(objpfx)tst-fnmatch-mem): Likewise.
3344 ($(objpfx)bug-regex2-mem): Likewise.
3345 ($(objpfx)bug-regex14-mem): Likewise.
3346 ($(objpfx)bug-regex21-mem): Likewise.
3347 ($(objpfx)bug-regex31-mem): Likewise.
3348 ($(objpfx)tst-vfork3-mem): Likewise.
3349 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3350 ($(objpfx)tst-pcre-mem): Likewise.
3351 ($(objpfx)tst-boost-mem): Likewise.
3352 ($(objpfx)tst-getconf.out): Likewise.
3353 ($(objpfx)bug-ga2-mem): Likewise.
3354 ($(objpfx)bug-glob2-mem): Likewise.
3355 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3356 ($(objpfx)mtrace-tst-leaks2): Likewise.
3357 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3358 ($(objpfx)tst-printf.out): Likewise.
3359 ($(objpfx)tst-setvbuf1.out): Likewise.
3360 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3361 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3362 ($(objpfx)tst-fmtmsg.out): Likewise.
3363 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3364 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3365
acd7f096
JM
3366 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3367 * bits/sigaction.h [__USE_MISC]: Likewise.
3368 * bits/waitstatus.h: Update #endif comments.
3369 * ctype/ctype.h: Likewise.
3370 * dirent/dirent.h: Likewise.
3371 [__USE_MISC]: Remove redundant conditionals.
3372 * grp/grp.h: Update #endif comments.
3373 [__USE_GNU]: Remove redundant conditionals.
3374 [__USE_MISC]: Likewise.
3375 * inet/netinet/in.h [__USE_GNU]: Likewise.
3376 * io/sys/stat.h [__USE_MISC]: Likewise.
3377 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3378 * libio/bits/stdio.h: Update #endif comments.
3379 [__USE_MISC]: Remove redundant conditionals.
3380 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3381 * libio/stdio.h: Update #endif comments.
3382 [__USE_MISC]: Remove redundant conditionals.
3383 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3384 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3385 * math/math.h: Update #else and #endif comments.
3386 [__USE_MISC]: Remove redundant conditionals.
3387 * misc/sys/uio.h: Update #endif comments.
3388 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3389 * posix/glob.h [__USE_MISC]: Likewise.
3390 * posix/sys/types.h: Update #endif comments.
3391 [__USE_MISC]: Remove redundant conditionals.
3392 * posix/sys/wait.h: Update #endif comments.
3393 [__USE_MISC]: Remove redundant conditionals.
3394 * posix/unistd.h: Update #endif comments.
3395 [__USE_MISC]: Remove redundant conditionals.
3396 * pwd/pwd.h [__USE_GNU]: Likewise.
3397 [__USE_MISC]: Likewise.
3398 * resolv/netdb.h [__USE_GNU]: Likewise.
3399 * signal/signal.h: Update #endif comments.
3400 [__USE_MISC]: Remove redundant conditionals.
3401 * stdlib/stdlib.h: Update #else and #endif comments.
3402 [__USE_MISC]: Remove redundant conditionals.
3403 [__USE_GNU]: Likewise.
3404 * string/bits/string2.h [__USE_MISC]: Likewise.
3405 * string/string.h: Update #endif comments.
3406 [__USE_MISC]: Remove redundant conditionals.
3407 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3408 Likewise.
3409 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3410 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3411 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3412 Likewise.
3413 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3416 comments.
3417 [__USE_MISC]: Remove redundant conditionals.
3418 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3419 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3420 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3421 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3422 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3423 Likewise.
3424 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3425 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3426 Likewise.
3427 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3428 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3429 Likewise.
3430 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3431 Likewise.
3432 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3433 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3434 Likewise.
3435 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3436 Likewise.
3437 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3438 * sysdeps/x86/bits/string.h: Update #endif comments.
3439 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3440 conditionals.
3441 * time/sys/time.h: Update #endif comments.
3442 * time/time.h: Likewise.
3443 [__USE_MISC]: Remove redundant conditionals.
3444
a5d82e4e
YG
34452014-02-21 Yury Gribov <y.gribov@samsung.com>
3446
3447 [BZ #16600]
3448 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3449
9a80491d
AS
34502014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3451
3452 * Versions.def (librt): Add GLIBC_2.17.
3453
105fa381
AC
34542014-02-21 Adam Conrad <adconrad@0c3.net>
3455
3456 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3457 synonym for _SYS_AUXV_H to allow direct inclusion.
3458 * sysdeps/sparc/bits/hwcap.h: Likewise.
3459 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3460 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3461 * sysdeps/sparc/sysdep.h: Likewise.
3462
b8cd1c4e
SP
34632014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3464
3465 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3466
bd939d23
RS
34672014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3468
3469 * benchtests/bench-strrchr.c: Print length instead of position.
3470
5d7b57ca
JM
34712014-02-20 Joseph Myers <joseph@codesourcery.com>
3472
bc688c10
JM
3473 [BZ #16611]
3474 * sysdeps/unix/sysv/linux/kernel-features.h
3475 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3476 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3477 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3478 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3479 Likewise.
3480 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3481 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3482 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3483 (__ASSUME_SENDMMSG): Define instead of using previous
3484 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3485 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3486 (__ASSUME_SENDMMSG_SYSCALL): Define.
3487 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3488 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3489 Likewise.
3490 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3491 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3492 Likewise.
3493 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3494 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3495 Likewise.
3496 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3497 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3498 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3499 [__ASSUME_SENDMMSG]: Change conditionals to
3500 [__ASSUME_SENDMMSG_SOCKETCALL].
3501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3502 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3503 Define.
3504 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3505 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3506 Likewise.
3507 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3508 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3509 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3510 [!__ASSUME_SENDMMSG]: Change conditional to
3511 [!__ASSUME_SENDMMSG_SOCKETCALL].
3512 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3513 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3514 Define.
3515
0e31b18c
JM
3516 [BZ #16610]
3517 * sysdeps/unix/sysv/linux/kernel-features.h
3518 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3519 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3520 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3521 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3522 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3523 [__i386__ || __sparc__]
3524 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3525 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3526 (__ASSUME_RECVMMSG): Define instead of using previous
3527 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3528 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3529 (__ASSUME_RECVMMSG_SYSCALL): Define.
3530 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3531 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3532 Likewise.
3533 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3534 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3535 Likewise.
3536 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3537 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3538 Likewise.
3539 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3540 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3541 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3542 [__ASSUME_RECVMMSG]: Change condition to
3543 [__ASSUME_RECVMMSG_SOCKETCALL].
3544 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3545 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3546 Define.
3547 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3548 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3549 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3550 Likewise.
3551 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3552 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3553 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3554 [!__ASSUME_RECVMMSG]: Change condition to
3555 [!__ASSUME_RECVMMSG_SOCKETCALL].
3556 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3557 (__ASSUME_RECVMMSG_SYSCALL): Define.
3558
dd481ccf
JM
3559 [BZ #16609]
3560 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3561 __powerpc__ || __s390__ || __sh__ || __sparc__]
3562 (__ASSUME_SOCKETCALL): Define.
3563 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3564 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3565 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3566 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3567 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3568 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3569 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3570 (__ASSUME_ACCEPT4): Define instead of using previous
3571 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3572 __powerpc__ || __sparc__ || __s390__)] condition.
3573 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3574 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3575 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3576 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3577 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3578 [!__ASSUME_ACCEPT4]: Change condition to
3579 [!__ASSUME_ACCEPT4_SOCKETCALL].
3580 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3581 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3582 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3583 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3584 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3585 __ASSUME_ACCEPT4_SYSCALL.
3586 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3587 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3588 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3589 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3590 __ASSUME_ACCEPT4_SYSCALL.
3591 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3592 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3593 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3594 [__ASSUME_ACCEPT4]: Change condition to
3595 [__ASSUME_ACCEPT4_SOCKETCALL].
3596 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3597 (__ASSUME_SOCKETCALL): Define.
3598 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3600 (__ASSUME_SOCKETCALL): Define.
3601 (__ASSUME_ACCEPT4): Remove.
3602 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3603 Define.
3604 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3605 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3606 Likewise.
3607 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3608 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3609
5d7b57ca
JM
3610 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3611 macro.
3612 (HWCAP_ARM_LPAE): Likewise.
3613 (HWCAP_ARM_EVTSTRM): Likewise.
3614 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3615 Add vpfd32, lpae and evtstrm.
3616 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3617 Increase to 22.
3618
63689d61
JM
36192014-02-19 Joseph Myers <joseph@codesourcery.com>
3620
3621 * math/auto-libm-test-in: Add tests of clog10.
3622 * math/auto-libm-test-out: Regenerated.
3623 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3624 * sysdeps/i386/fpu/libm-test-ulps: Update.
3625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3626
ab09bf61
AS
36272014-02-18 Andreas Schwab <schwab@suse.de>
3628
3629 [BZ #16574]
3630 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3631 Store non-zero if the second buffer was newly allocated.
3632 (send_dg): Likewise.
3633 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3634 to send_vc and send_dg.
3635 (res_nsend): Pass NULL for ansp2_malloced.
3636 * resolv/res_query.c (__libc_res_nquery): Add parameter
3637 answerp2_malloced and pass it down to __libc_res_nsend.
3638 (res_nquery): Pass additional NULL to __libc_res_nquery.
3639 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3640 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3641 second answer buffer if answerp2_malloced was set.
3642 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3643 (__libc_res_nquerydomain): Add parameter
3644 answerp2_malloced and pass it down to __libc_res_nquery.
3645 (res_nquerydomain): Pass additional NULL to
3646 __libc_res_nquerydomain.
3647 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3648 additional NULL to __libc_res_nsend and __libc_res_nquery.
3649 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3650 additional NULL to __libc_res_nsearch.
3651 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3652 parameter of __libc_res_nsearch to check for separately allocated
3653 second buffer.
3654 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3655 __libc_res_nquery.
3656 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3657 additional NULL to __libc_res_nquery.
3658 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3659 __libc_res_nsearch.
3660 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3661 * include/resolv.h: Update prototypes of __libc_res_nquery,
3662 __libc_res_nsearch, __libc_res_nsend.
3663
a4fb7861
JM
36642014-02-18 Joseph Myers <joseph@codesourcery.com>
3665
c6af2d89
JM
3666 * math/auto-libm-test-in: Add tests of fma.
3667 * math/auto-libm-test-out: Regenerated.
3668 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3669 (fma_towardzero_test_data): Likewise.
3670 (fma_downward_test_data): Likewise.
3671 (fma_upward_test_data): Likewise.
3672 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3673 mpc_mode.
3674 (rounding_modes): Add values for new field.
3675 (func_calc_method): Add value mpfr_fff_f.
3676 (func_calc_desc): Add mpfr_fff_f union field.
3677 (test_function): Add field exact_args.
3678 (FUNC): Add macro argument EXACT_ARGS.
3679 (FUNC_mpfr_f_f): Update call to FUNC.
3680 (FUNC_mpfr_f_f): Likewise.
3681 (FUNC_mpfr_ff_f): Likewise.
3682 (FUNC_mpfr_if_f): Likewise.
3683 (FUNC_mpc_c_f): Likewise.
3684 (FUNC_mpc_c_c): Likewise.
3685 (test_functions): Add fma. Update calls to FUNC.
3686 (handle_input_arg): Add argument exact_args.
3687 (add_test): Update call to handle_input_arg.
3688 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3689 (output_for_one_input_case): Update call to calc_generic_results.
3690 Recalculate exact zero results in each rounding mode.
3691
a4fb7861
JM
3692 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3693 non-negative before setting low bit.
3694 * math/auto-libm-test-in: Mark one asin test possibly having
3695 spurious underflow.
3696 * math/auto-libm-test-out: Regenerated.
3697 * sysdeps/i386/fpu/libm-test-ulps: Update.
3698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3699
ef114eaf
DH
37002014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3701
2b7f4f2c
SP
3702 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3703 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3704 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3705 * README: Add missing listing for microblaze*-*-linux-gnu.
3706
c70a4b1d
MF
37072014-02-16 Mike Frysinger <vapier@gentoo.org>
3708
3709 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3710 * sysdeps/unix/sysv/linux/ia64: Move directory from
3711 ports/sysdeps/unix/sysv/linux/ia64.
3712 * README: Update listing for ia64-*-linux-gnu.
3713
591aeaf7
TD
37142014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3715 Joseph Myers <joseph@codesourcery.com>
3716
3717 * Makeconfig (test-name): New variable.
3718 (evaluate-test): Likewise.
3719 * Makerules (do-test-clean): Remove .test-result files.
3720 (common-mostlyclean): Likewise.
3721 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3722 * scripts/evaluate-test.sh: New file.
3723
6e89caf1
JM
37242014-02-14 Joseph Myers <joseph@codesourcery.com>
3725
7f98f180
JM
3726 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3727 separate $(objpfx)tst-fopenloc-cmp.out and
3728 $(objpfx)tst-fopenloc-mem.out targets.
3729 (tests): Update dependencies.
3730 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3731 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3732 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3733 (tst-rxspencer-no-utf8-ARGS): New variable.
3734 (tst-rxspencer-no-utf8-ENV): Likewise.
3735 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3736 instead of $(objpfx)tst-rxspencer-mem.
3737 ($(objpfx)tst-rxspencer-mem): Change target to
3738 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3739 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3740 * posix/tst-rxspencer-no-utf8.c: New file.
3741
6e89caf1
JM
3742 * elf/Makefile ($(objpfx)order.out): Remove rule.
3743 [$(run-built-tests) = yes] (tests): Depend on
3744 $(objpfx)order-cmp.out.
3745 ($(objpfx)order-cmp.out): New rule.
3746 [$(run-built-tests) = yes] (tests): Depend on
3747 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3748 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3749 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3750 $(objpfx)tst-array5-static-cmp.out.
3751 ($(objpfx)tst-array1.out): Remove rule.
3752 ($(objpfx)tst-array1-cmp.out): New rule.
3753 ($(objpfx)tst-array1-static.out): Remove rule.
3754 ($(objpfx)tst-array1-static-cmp.out): New rule.
3755 ($(objpfx)tst-array2.out): Remove rule.
3756 ($(objpfx)tst-array2-cmp.out): New rule.
3757 ($(objpfx)tst-array3.out): Remove rule.
3758 ($(objpfx)tst-array3-cmp.out): New rule.
3759 ($(objpfx)tst-array4.out): Remove rule.
3760 ($(objpfx)tst-array4-cmp.out): New rule.
3761 ($(objpfx)tst-array5.out): Remove rule.
3762 ($(objpfx)tst-array5-cmp.out): New rule.
3763 ($(objpfx)tst-array5-static.out): Remove rule.
3764 ($(objpfx)tst-array5-static-cmp.out): New rule.
3765 [$(run-built-tests) = yes] (tests): Depend on
3766 $(objpfx)order2-cmp.out.
3767 ($(objpfx)order2.out): Remove rule.
3768 ($(objpfx)order2-cmp.out): New rule.
3769 ($(objpfx)tst-initorder.out): Remove rule.
3770 [$(run-built-tests) = yes] (tests): Depend on
3771 $(objpfx)tst-initorder-cmp.out.
3772 ($(objpfx)tst-initorder-cmp.out): New rule.
3773 ($(objpfx)tst-initorder2.out): Remove rule.
3774 [$(run-built-tests) = yes] (tests): Depend on
3775 $(objpfx)tst-initorder2-cmp.out.
3776 ($(objpfx)tst-initorder2-cmp.out): New rule.
3777 [$(run-built-tests) = yes] (tests): Depend on
3778 $(objpfx)tst-unused-dep-cmp.out.
3779 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3780 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3781 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3782 on $(objpfx)tst-setvbuf1-cmp.out.
3783 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3784 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3785 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3786 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3787 ($(objpfx)tst-svc.out): Remove rule.
3788 ($(objpfx)tst-svc-cmp.out): New rule.
3789
ed9a38e2
JM
37902014-02-13 Joseph Myers <joseph@codesourcery.com>
3791
3792 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3793 * ctype/ctype.h [__USE_MISC]: Likewise.
3794 * dirent/dirent.h [__USE_MISC]: Likewise.
3795 * grp/grp.h [__USE_MISC]: Likewise.
3796 * io/fcntl.h [__USE_MISC]: Likewise.
3797 * io/sys/stat.h [__USE_MISC]: Likewise.
3798 * libio/stdio.h [__USE_MISC]: Likewise.
3799 * posix/unistd.h [__USE_MISC]: Likewise.
3800 * pwd/pwd.h [__USE_MISC]: Likewise.
3801 * stdlib.h [__USE_MISC]: Likewise.
3802 * string/bits/string2.h [__USE_MISC]: Likewise.
3803 * string/string.h [__USE_MISC]: Likewise.
3804 * time/time.h [__USE_MISC]: Likewise.
3805
d6680619
AS
38062014-02-13 Andreas Schwab <schwab@suse.de>
3807
3808 [BZ #16574]
3809 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3810 second answer buffer if it was separately allocated.
3811
ace614b8
JM
38122014-02-12 Joseph Myers <joseph@codesourcery.com>
3813
743151ae
JM
3814 * sysdeps/mips/math-tests.h: Include <features.h>.
3815 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3816 (ROUNDING_TESTS_long_double): Do not define.
3817 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3818 (EXCEPTION_TESTS_long_double): Likewise.
3819 * sysdeps/mips/mips64/libm-test-ulps: Update.
3820
498afc54
JM
3821 * include/features.h (__USE_BSD): Remove macro definitions.
3822 (__USE_SVID): Likewise.
3823 (_BSD_SOURCE): Likewise.
3824 (_SVID_SOURCE): Likewise.
3825 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3826 from definition of _DEFAULT_SOURCE.
3827 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3828 [_DEFAULT_SOURCE].
3829 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3830 * bits/mman.h [__USE_BSD]: Likewise.
3831 * bits/termios.h [__USE_BSD]: Likewise.
3832 * bits/waitstatus.h [__USE_BSD]: Likewise.
3833 * ctype/ctype.h [__USE_SVID]: Likewise.
3834 * dirent/dirent.h [__USE_BSD]: Likewise.
3835 * grp/grp.h [__USE_SVID]: Likewise.
3836 [__USE_BSD]: Likewise.
3837 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3838 * io/fcntl.h [__USE_BSD]: Likewise.
3839 * io/ftw.h [__USE_BSD]: Likewise.
3840 * io/sys/stat.h [__USE_BSD]: Likewise.
3841 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3842 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3843 * libio/stdio.h [__USE_SVID]: Likewise.
3844 [__USE_BSD]: Likewise.
3845 * math/math.h [__USE_SVID]: Likewise.
3846 [__USE_BSD]: Likewise.
3847 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3848 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3849 * misc/search.h [__USE_SVID]: Likewise.
3850 * misc/sys/mman.h [__USE_BSD]: Likewise.
3851 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3852 * misc/sys/uio.h [__USE_BSD]: Likewise.
3853 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3854 * posix/glob.h [__USE_BSD]: Likewise.
3855 * posix/regex.h [__USE_BSD]: Likewise.
3856 * posix/sys/types.h [__USE_BSD]: Likewise.
3857 [__USE_SVID]: Likewise.
3858 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3859 * posix/sys/wait.h [__USE_BSD]: Likewise.
3860 [__USE_SVID]: Likewise.
3861 * posix/unistd.h [__USE_BSD]: Likewise.
3862 [__USE_SVID]: Likewise.
3863 * pwd/pwd.h [__USE_SVID]: Likewise.
3864 * resolv/netdb.h [__USE_BSD]: Likewise.
3865 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3866 * signal/signal.h [__USE_BSD]: Likewise.
3867 [__USE_SVID]: Likewise.
3868 * socket/sys/socket.h [__USE_BSD]: Likewise.
3869 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3870 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3871 [__USE_SVID]: Likewise.
3872 * string/bits/string2.h [__USE_BSD]: Likewise.
3873 [__USE_SVID]: Likewise.
3874 * string/bits/string3.h [__USE_BSD]: Likewise.
3875 * string/endian.h [__USE_BSD]: Likewise.
3876 * string/string.h [__USE_SVID]: Likewise.
3877 [__USE_BSD]: Likewise.
3878 * string/strings.h [__USE_BSD]: Likewise.
3879 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3880 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3881 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3882 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3883 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3884 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3885 Likewise.
3886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3887 Likewise.
3888 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3889 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3890 Likewise.
3891 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3892 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3893 Likewise.
3894 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3895 Likewise.
3896 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3897 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3898 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3899 Likewise.
3900 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3901 Likewise.
3902 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3903 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3904 * termios/termios.h [__USE_BSD]: Likewise.
3905 * time/sys/time.h [__USE_BSD]: Likewise.
3906 * time/time.h [__USE_BSD]: Likewise.
3907 [__USE_SVID]: Likewise.
3908
dd7b064c
JM
3909 * Makefile (subdir_targets): Remove subdir_lint.out.
3910
a2c4c199
JM
3911 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3912 (do-tst-printf): Likewise.
3913 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3914 $(objpfx)tst-printf.out.
3915
8756f740
JM
3916 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3917
1b6dd3f1
JM
3918 * Makerules (check-abi-%): Change target to
3919 $(objpfx)check-abi-%.out.
3920 (check-abi target): Update dependencies.
3921 (check-abi-pattern variable): Redirect output of diff to $@.
3922 (check-abi variable): Likewise.
3923 * elf/Makefile (check-abi): Update dependencies.
3924
ace614b8
JM
3925 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3926 unused.
3927 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3928 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3929 subnormal range.
3930 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3931 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3932 value has largest subnormal exponent.
3933 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3934 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3935 * sysdeps/aarch64/soft-fp/sfp-machine.h
3936 (_FP_TININESS_AFTER_ROUNDING): New macro.
3937 * sysdeps/alpha/soft-fp/sfp-machine.h
3938 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3939 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3940 Likewise.
3941 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3942 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3943 * sysdeps/mips/soft-fp/sfp-machine.h
3944 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3945 * sysdeps/powerpc/soft-fp/sfp-machine.h
3946 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3947 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3948 Likewise.
3949 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3950 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3951 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3952 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3953 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3954 Likewise.
3955
fbfdf9cb
DAS
39562014-02-12 Dylan Alex Simon <dylan@dylex.net>
3957
3958 [BZ #16545]
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3960 model 1.
3961
68b7efaa
RH
39622014-02-12 Richard Henderson <rth@redhat.com>
3963
c70a4b1d 3964 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3965 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3966 * sysdeps/unix/sysv/linux/alpha: Move directory from
3967 ports/sysdeps/unix/sysv/linux/alpha.
3968 * README: Update listing for alpha-*-linux-gnu.
3969
cb4a2928
JM
39702014-02-11 Joseph Myers <joseph@codesourcery.com>
3971
c941736c
JM
3972 * include/features.h: Update comment documenting feature test
3973 macros.
3974 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3975 _DEFAULT_SOURCE.
3976 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3977 (_SVID_SOURCE): Likewise.
3978 (_DEFAULT_SOURCE): Update description of default features.
3979 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3980 with _GNU_SOURCE.
3981 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3982 (S_ISVTX): Likewise.
3983 * manual/math.texi (Mathematical Constants): Likewise.
3984 * manual/signal.texi (Interrupted Primitives): Likewise.
3985 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3986 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3987 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3988 Don't refer to _SVID_SOURCE in warning text.
3989
e8d8d7ec
JM
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3991
cb4a2928
JM
3992 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3993 already defined.
3994 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3995 * sysdeps/mips/dl-lookup.c: Remove.
3996 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3997
7e6424e3
AK
39982014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3999
4000 [BZ #16447]
4001 * math/auto-libm-test-in: Add testcase for expl.
4002 * math/auto-libm-test-out: Regenerate.
4003 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4004 calculation of unsafe.
4005 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4006
75eff3fe
MS
40072014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4008
4009 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4010 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4011 ports/sysdeps/unix/sysv/linux/aarch64.
4012 * README: Update listing for aarch64*-*-linux-gnu.
4013
d35f1e80
WN
40142014-02-11 Will Newton <will.newton@linaro.org>
4015
4016 * manual/probes.texi (Mathematical Function Probes): Use
4017 "triggered" instead of "hit".
4018
7b3436d4
WN
4019 * manual/probes.texi (Internal Probes): Add documentation
4020 of setjmp, longjmp and longjmp_target probes.
4021
b4f12ca3
WN
4022 * include/stap-probe.h: Add comment about probe argument
4023 format.
4024
c13a72b7
WN
4025 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4026 definition. (tr_where, tr_freehook, tr_mallochook,
4027 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4028
195b8165
DM
40292014-02-11 David S. Miller <davem@davemloft.net>
4030
4031 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4032 processing int_tests.
4033
2ad7600b
JM
40342014-02-10 Joseph Myers <joseph@codesourcery.com>
4035
4036 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4037 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4038 * sysdeps/unix/sysv/linux/mips: Move directory from
4039 ports/sysdeps/unix/sysv/linux/mips.
4040 * README: Update listing for mips-*-linux-gnu and
4041 mips64-*-linux-gnu.
4042
73588a72
AS
40432014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4044
4045 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4046 * sysdeps/unix/sysv/linux/m68k: Move directory from
4047 ports/sysdeps/unix/sysv/linux/m68k.
4048 * README: Update listing for m68k-*-linux-gnu.
4049
4372980f
CM
40502014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4051
4052 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4053 * sysdeps/unix/sysv/linux/generic: Move directory from
4054 ports/sysdeps/unix/sysv/linux/generic.
4055 * sysdeps/unix/sysv/linux/tile: Move directory from
4056 ports/sysdeps/unix/sysv/linux/tile.
4057 * README: Update listing for tile*-*-linux-gnu.
4058
a1ffb40e
OB
40592014-02-10 Ondřej Bílka <neleai@seznam.cz>
4060
57f41c40
AS
4061 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4062 __builtin_expect.
a1ffb40e
OB
4063 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4064 * catgets/open_catalog.c (__open_catalog): Likewise.
4065 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4066 * debug/confstr_chk.c: Likewise.
4067 * debug/fread_chk.c (__fread_chk): Likewise.
4068 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4069 * debug/getgroups_chk.c: Likewise.
4070 * debug/mbsnrtowcs_chk.c: Likewise.
4071 * debug/mbsrtowcs_chk.c: Likewise.
4072 * debug/mbstowcs_chk.c: Likewise.
4073 * debug/memcpy_chk.c: Likewise.
4074 * debug/memmove_chk.c: Likewise.
4075 * debug/mempcpy_chk.c: Likewise.
4076 * debug/memset_chk.c: Likewise.
4077 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4078 * debug/strcat_chk.c (__strcat_chk): Likewise.
4079 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4080 * debug/strncat_chk.c (__strncat_chk): Likewise.
4081 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4082 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4083 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4084 * debug/wcpncpy_chk.c: Likewise.
4085 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4086 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4087 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4088 * debug/wcsncpy_chk.c: Likewise.
4089 * debug/wcsnrtombs_chk.c: Likewise.
4090 * debug/wcsrtombs_chk.c: Likewise.
4091 * debug/wcstombs_chk.c: Likewise.
4092 * debug/wmemcpy_chk.c: Likewise.
4093 * debug/wmemmove_chk.c: Likewise.
4094 * debug/wmempcpy_chk.c: Likewise.
4095 * debug/wmemset_chk.c: Likewise.
4096 * dirent/scandirat.c (SCANDIRAT): Likewise.
4097 * dlfcn/dladdr1.c (dladdr1): Likewise.
4098 * dlfcn/dladdr.c (dladdr): Likewise.
4099 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4100 * dlfcn/dlerror.c (__dlerror): Likewise.
4101 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4102 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4103 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4104 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4105 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4106 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4107 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4108 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4109 Likewise.
4110 * elf/dl-conflict.c: Likewise.
4111 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4112 * elf/dl-dst.h: Likewise.
4113 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4114 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4115 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4116 * elf/dl-init.c (call_init, _dl_init): Likewise.
4117 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4118 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4119 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4120 Likewise.
a1ffb40e
OB
4121 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4122 Likewise.
4123 * elf/dl-minimal.c (__libc_memalign): Likewise.
4124 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4125 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4126 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4127 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4128 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4129 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4130 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4131 * elf/dl-writev.h (_dl_writev): Likewise.
4132 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4133 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4134 (dl_main): Likewise.
a1ffb40e
OB
4135 * elf/setup-vdso.h (setup_vdso): Likewise.
4136 * grp/compat-initgroups.c (compat_call): Likewise.
4137 * grp/fgetgrent.c (fgetgrent): Likewise.
4138 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4139 * grp/putgrent.c (putgrent): Likewise.
4140 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4141 Likewise.
4142 * hurd/hurdinit.c: Likewise.
4143 * iconvdata/8bit-gap.c (struct): Likewise.
4144 * iconvdata/ansi_x3.110.c : Likewise.
4145 * iconvdata/big5.c : Likewise.
4146 * iconvdata/big5hkscs.c : Likewise.
4147 * iconvdata/cp1255.c: Likewise.
4148 * iconvdata/cp1258.c : Likewise.
4149 * iconvdata/cp932.c : Likewise.
4150 * iconvdata/euc-cn.c: Likewise.
4151 * iconvdata/euc-jisx0213.c : Likewise.
4152 * iconvdata/euc-jp.c: Likewise.
4153 * iconvdata/euc-jp-ms.c : Likewise.
4154 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4155 * iconvdata/gb18030.c : Likewise.
4156 * iconvdata/gbbig5.c (const): Likewise.
4157 * iconvdata/gbgbk.c: Likewise.
4158 * iconvdata/gbk.c : Likewise.
4159 * iconvdata/ibm1364.c : Likewise.
4160 * iconvdata/ibm930.c : Likewise.
4161 * iconvdata/ibm932.c: Likewise.
4162 * iconvdata/ibm933.c : Likewise.
4163 * iconvdata/ibm935.c : Likewise.
4164 * iconvdata/ibm937.c : Likewise.
4165 * iconvdata/ibm939.c : Likewise.
4166 * iconvdata/ibm943.c: Likewise.
4167 * iconvdata/iso_11548-1.c: Likewise.
4168 * iconvdata/iso-2022-cn.c : Likewise.
4169 * iconvdata/iso-2022-cn-ext.c : Likewise.
4170 * iconvdata/iso-2022-jp-3.c: Likewise.
4171 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4172 * iconvdata/iso-2022-kr.c : Likewise.
4173 * iconvdata/iso646.c (gconv_end): Likewise.
4174 * iconvdata/iso_6937-2.c : Likewise.
4175 * iconvdata/iso_6937.c : Likewise.
4176 * iconvdata/iso8859-1.c: Likewise.
4177 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4178 * iconvdata/shift_jisx0213.c : Likewise.
4179 * iconvdata/sjis.c : Likewise.
4180 * iconvdata/t.61.c : Likewise.
4181 * iconvdata/tcvn5712-1.c : Likewise.
4182 * iconvdata/tscii.c: Likewise.
4183 * iconvdata/uhc.c : Likewise.
4184 * iconvdata/unicode.c (gconv_end): Likewise.
4185 * iconvdata/utf-16.c (gconv_end): Likewise.
4186 * iconvdata/utf-32.c (gconv_end): Likewise.
4187 * iconvdata/utf-7.c (base64): Likewise.
4188 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4189 * iconv/gconv_close.c (__gconv_close): Likewise.
4190 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4191 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4192 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4193 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4194 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4195 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4196 * iconv/iconv.c (iconv): Likewise.
4197 * iconv/iconv_close.c: Likewise.
4198 * iconv/loop.c (SINGLE): Likewise.
4199 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4200 * include/atomic.h: Likewise.
4201 * inet/inet6_option.c (option_alloc): Likewise.
4202 * intl/bindtextdom.c (set_binding_values): Likewise.
4203 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4204 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4205 * intl/localealias.c (read_alias_file): Likewise.
4206 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4207 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4208 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4209 * libio/fmemopen.c (fmemopen): Likewise.
4210 * libio/iofgets.c (_IO_fgets): Likewise.
4211 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4212 * libio/iofgetws.c (fgetws): Likewise.
4213 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4214 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4215 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4216 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4217 * locale/findlocale.c (_nl_find_locale): Likewise.
4218 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4219 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4220 Likewise.
4221 * locale/setlocale.c (setlocale): Likewise.
4222 * login/programs/pt_chown.c (main): Likewise.
4223 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4224 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4225 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4226 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4227 * math/e_exp2l.c: Likewise.
4228 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4229 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4230 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4231 * math/s_catan.c (__catan): Likewise.
4232 * math/s_catanf.c (__catanf): Likewise.
4233 * math/s_catanh.c (__catanh): Likewise.
4234 * math/s_catanhf.c (__catanhf): Likewise.
4235 * math/s_catanhl.c (__catanhl): Likewise.
4236 * math/s_catanl.c (__catanl): Likewise.
4237 * math/s_ccosh.c (__ccosh): Likewise.
4238 * math/s_ccoshf.c (__ccoshf): Likewise.
4239 * math/s_ccoshl.c (__ccoshl): Likewise.
4240 * math/s_cexp.c (__cexp): Likewise.
4241 * math/s_cexpf.c (__cexpf): Likewise.
4242 * math/s_cexpl.c (__cexpl): Likewise.
4243 * math/s_clog10.c (__clog10): Likewise.
4244 * math/s_clog10f.c (__clog10f): Likewise.
4245 * math/s_clog10l.c (__clog10l): Likewise.
4246 * math/s_clog.c (__clog): Likewise.
4247 * math/s_clogf.c (__clogf): Likewise.
4248 * math/s_clogl.c (__clogl): Likewise.
4249 * math/s_csin.c (__csin): Likewise.
4250 * math/s_csinf.c (__csinf): Likewise.
4251 * math/s_csinh.c (__csinh): Likewise.
4252 * math/s_csinhf.c (__csinhf): Likewise.
4253 * math/s_csinhl.c (__csinhl): Likewise.
4254 * math/s_csinl.c (__csinl): Likewise.
4255 * math/s_csqrt.c (__csqrt): Likewise.
4256 * math/s_csqrtf.c (__csqrtf): Likewise.
4257 * math/s_csqrtl.c (__csqrtl): Likewise.
4258 * math/s_ctan.c (__ctan): Likewise.
4259 * math/s_ctanf.c (__ctanf): Likewise.
4260 * math/s_ctanh.c (__ctanh): Likewise.
4261 * math/s_ctanhf.c (__ctanhf): Likewise.
4262 * math/s_ctanhl.c (__ctanhl): Likewise.
4263 * math/s_ctanl.c (__ctanl): Likewise.
4264 * math/w_pow.c: Likewise.
4265 * math/w_powf.c: Likewise.
4266 * math/w_powl.c: Likewise.
4267 * math/w_scalb.c (sysv_scalb): Likewise.
4268 * math/w_scalbf.c (sysv_scalbf): Likewise.
4269 * math/w_scalbl.c (sysv_scalbl): Likewise.
4270 * misc/error.c (error_tail): Likewise.
4271 * misc/pselect.c (__pselect): Likewise.
4272 * nis/nis_callback.c (__nis_create_callback): Likewise.
4273 * nis/nis_call.c (__nisfind_server): Likewise.
4274 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4275 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4276 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4277 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4278 * nis/nis_lookup.c (nis_lookup): Likewise.
4279 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4280 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4281 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4282 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4283 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4284 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4285 * nis/nss_compat/compat-initgroups.c (add_group)
4286 (internal_getgrent_r): Likewise.
4287 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4288 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4289 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4290 (internal_getspnam_r): Likewise.
4291 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4292 (_nss_nis_getaliasbyname_r): Likewise.
4293 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4294 (_nss_nis_getntohost_r): Likewise.
4295 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4296 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4297 (_nss_nis_getgrgid_r): Likewise.
4298 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4299 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4300 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4301 (_nss_nis_gethostbyname4_r): Likewise.
4302 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4303 (initgroups_netid): Likewise.
a1ffb40e 4304 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4305 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4306 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4307 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4308 (_nss_nis_getprotobynumber_r): Likewise.
4309 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4310 (_nss_nis_getsecretkey): Likewise.
4311 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4312 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4313 (_nss_nis_getpwuid_r): Likewise.
4314 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4315 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4316 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4317 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4318 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4319 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4320 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4321 Likewise.
57f41c40
AS
4322 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4323 (_nss_nisplus_getntohost_r): Likewise.
4324 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4325 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4326 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4327 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4328 Likewise.
57f41c40
AS
4329 * nis/nss_nisplus/nisplus-initgroups.c
4330 (_nss_nisplus_initgroups_dyn): Likewise.
4331 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4332 (_nss_nisplus_getnetbyaddr_r): Likewise.
4333 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4334 (_nss_nisplus_getprotobynumber_r): Likewise.
4335 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4336 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4337 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4338 Likewise.
57f41c40
AS
4339 * nis/nss_nisplus/nisplus-service.c
4340 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4341 (_nss_nisplus_getservbyport_r): Likewise.
4342 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4343 (_nss_nisplus_getspnam_r): Likewise.
4344 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4345 Likewise.
a1ffb40e
OB
4346 * nscd/aicache.c (addhstaiX): Likewise.
4347 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4348 * nscd/connections.c (register_traced_file, send_ro_fd)
4349 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4350 (main_loop_epoll): Likewise.
a1ffb40e
OB
4351 * nscd/grpcache.c (addgrbyX): Likewise.
4352 * nscd/hstcache.c (addhstbyX): Likewise.
4353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4354 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4355 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4356 (addinnetgrX): Likewise.
4357 * nscd/nscd-client.h (__nscd_acquire_maplock)
4358 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4359 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4360 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4361 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4362 Likewise.
4363 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4364 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4365 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4366 (__nscd_get_map_ref): Likewise.
a1ffb40e 4367 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4368 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4369 Likewise.
a1ffb40e
OB
4370 * nscd/pwdcache.c (addpwbyX): Likewise.
4371 * nscd/selinux.c (preserve_capabilities): Likewise.
4372 * nscd/servicescache.c (addservbyX): Likewise.
4373 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4374 * posix/fnmatch.c (fnmatch): Likewise.
4375 * posix/getopt.c (_getopt_internal_r): Likewise.
4376 * posix/glob.c (glob, glob_in_dir): Likewise.
4377 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4378 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4379 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4380 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4381 * resolv/res_init.c: Likewise.
4382 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4383 * resolv/res_query.c (__libc_res_nquery): Likewise.
4384 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4385 Likewise.
4386 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4387 * stdio-common/perror.c (perror): Likewise.
4388 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4389 * stdio-common/tmpnam.c (tmpnam): Likewise.
4390 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4391 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4392 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4393 Likewise.
a1ffb40e
OB
4394 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4395 * stdlib/putenv.c (putenv): Likewise.
4396 * stdlib/setenv.c (__add_to_environ): Likewise.
4397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4398 * stdlib/strtol_l.c (INTERNAL): Likewise.
4399 * string/memmem.c (memmem): Likewise.
4400 * string/strerror.c (strerror): Likewise.
4401 * string/strnlen.c (__strnlen): Likewise.
4402 * string/test-memmem.c (simple_memmem): Likewise.
4403 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4404 * sunrpc/pm_getport.c (__get_socket): Likewise.
4405 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4406 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4407 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4408 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4409 Likewise.
4410 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4411 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4412 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4413 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4414 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4415 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4416 Likewise.
4417 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4418 Likewise.
a1ffb40e
OB
4419 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4420 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4421 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4422 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4423 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4425 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4426 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4427 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4428 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4429 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4430 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4431 Likewise.
4432 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4433 Likewise.
4434 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4435 Likewise.
4436 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4437 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4438 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4439 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4440 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4441 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4442 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4445 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4446 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4448 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4449 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4451 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4452 Likewise.
a1ffb40e
OB
4453 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4454 Likewise.
4455 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4456 Likewise.
4457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4458 Likewise.
4459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4461 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4462 Likewise.
4463 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4464 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4465 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4466 * sysdeps/posix/sleep.c: Likewise.
4467 * sysdeps/posix/tempname.c: Likewise.
4468 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4469 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4470 Likewise.
57f41c40
AS
4471 * sysdeps/powerpc/powerpc32/dl-machine.h
4472 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4473 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4475 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4476 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4477 Likewise.
4478 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4479 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4480 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4481 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4482 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4483 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4484 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4485 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4486 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4487 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4488 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4489 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4490 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4492 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4493 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4494 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4495 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4496 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4497 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4498 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4499 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4500 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4501 Likewise.
4502 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4503 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4504 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4505 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4506 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4507 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4508 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4509 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4510 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4511 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4512 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4513 Likewise.
4514 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4515 (__posix_fallocate64_l64): Likewise.
4516 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4517 (posix_fallocate): Likewise.
57f41c40
AS
4518 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4519 Likewise.
a1ffb40e 4520 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4521 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4522 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4523 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4524 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4525 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4526 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4527 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4528 (__posix_fallocate64_l64): Likewise.
4529 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4530 Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4532 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4533 (__get_clockfreq): Likewise.
a1ffb40e
OB
4534 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4535 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4536 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4539 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4540 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4541 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4542 Likewise.
4543 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4544 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4545 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4546 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4548 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4549 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4550 Likewise.
4551 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4552 (posix_fallocate): Likewise.
4553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4554 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4555 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4556 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4557 (elf_machine_rela, elf_machine_rela_relative)
4558 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4559 * time/asctime.c (asctime_internal): Likewise.
4560 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4561 * time/tzset.c (__tzset_parse_tz): Likewise.
4562 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4563 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4564 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4565 * wcsmbs/wcsmbsload.h: Likewise.
4566
f3d338c9
OB
4567 [BZ #15894]
4568 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4569
57f41c40
AS
4570 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4571 (arena_get2): Remove THREAD_STATS conditionals.
4572 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4573 (__malloc_stats, int): Likewise.
bdfe308a 4574
d674667c
MF
45752014-02-08 Mike Frysinger <vapier@gentoo.org>
4576
4577 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4578 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4579
6349768c
MF
4580 * manual/setjmp.texi: Fix typos/grammar errors.
4581
0b7c7473
MF
4582 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4583 Only return early when n is <= 0. Delete unused return statement.
4584
ac8cc9e3
MF
4585 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4586 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4587 * debug/tst-longjmp_chk3.c: New file.
4588
c5bb8e23
MF
4589 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4590 (test_main): Replace code with set_fortify_handler call.
4591 * debug/test-strcpy_chk.c: Likewise.
4592 * debug/tst-chk1.c: Likewise.
4593 * debug/tst-longjmp_chk.c: Likewise.
4594 * test-skeleton.c: Include fcntl.h & paths.h
4595 (set_fortify_handler): Define.
4596
10444e42
MF
4597 * debug/tst-longjmp_chk.c: Add header comment and include
4598 ../test-skeleton.c.
4599 (do_test): Mark static.
4600 (TEST_FUNCTION): Define.
4601
1e805e8d
MF
4602 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4603 (IP_PMTUDISC_INTERFACE): Likewise.
4604 (IP_MULTICAST_IF): Likewise.
4605 (IP_MULTICAST_TTL): Likewise.
4606 (IP_MULTICAST_LOOP): Likewise.
4607 (IP_ADD_MEMBERSHIP): Likewise.
4608 (IP_DROP_MEMBERSHIP): Likewise.
4609 (IP_UNBLOCK_SOURCE): Likewise.
4610 (IP_BLOCK_SOURCE): Likewise.
4611 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4612 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4613 (IP_MSFILTER): Likewise.
4614 (MCAST_JOIN_GROUP): Likewise.
4615 (MCAST_BLOCK_SOURCE): Likewise.
4616 (MCAST_UNBLOCK_SOURCE): Likewise.
4617 (MCAST_LEAVE_GROUP): Likewise.
4618 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4619 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4620 (MCAST_MSFILTER): Likewise.
4621 (IP_MULTICAST_ALL): Likewise.
4622 (IP_UNICAST_IF): Likewise.
4623
73f79bb7
MF
4624 * timezone/Makefile: Delete $(have-ksh) check.
4625 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4626 * timezone/tzselect.ksh: Add +x mode bits.
4627
8da79b60
MF
4628 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4629 (ANON_INODE_FS_MAGIC): Likewise.
4630 (BDEVFS_MAGIC): Likewise.
4631 (BINFMTFS_MAGIC): Likewise.
4632 (BTRFS_TEST_MAGIC): Likewise.
4633 (CRAMFS_MAGIC_WEND): Likewise.
4634 (DEBUGFS_MAGIC): Likewise.
4635 (ECRYPTFS_SUPER_MAGIC): Likewise.
4636 (EXT3_SUPER_MAGIC): Likewise.
4637 (EXT4_SUPER_MAGIC): Likewise.
4638 (FUTEXFS_SUPER_MAGIC): Likewise.
4639 (HOSTFS_SUPER_MAGIC): Likewise.
4640 (HUGETLBFS_MAGIC): Likewise.
4641 (MINIX3_SUPER_MAGIC): Likewise.
4642 (MTD_INODE_FS_MAGIC): Likewise.
4643 (NILFS_SUPER_MAGIC): Likewise.
4644 (OPENPROM_SUPER_MAGIC): Likewise.
4645 (PIPEFS_MAGIC): Likewise.
4646 (PSTOREFS_MAGIC): Likewise.
4647 (QNX6_SUPER_MAGIC): Likewise.
4648 (RAMFS_MAGIC): Likewise.
4649 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4650 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4651 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4652 (SECURITYFS_MAGIC): Likewise.
4653 (SELINUX_MAGIC): Likewise.
4654 (SMACK_MAGIC): Likewise.
4655 (SOCKFS_MAGIC): Likewise.
4656 (SQUASHFS_MAGIC): Likewise.
4657 (STACK_END_MAGIC): Likewise.
4658 (TMPFS_MAGIC): Likewise.
4659 (USBDEVICE_SUPER_MAGIC): Likewise.
4660 (V9FS_MAGIC): Likewise.
4661 (XENFS_SUPER_MAGIC): Likewise.
4662 (CRAMFS_MAGIC): Fix typo in comment.
4663 (EXT2_SUPER_MAGIC): Update comment.
4664 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4665
464263cc
JM
46662014-02-08 Joseph Myers <joseph@codesourcery.com>
4667
c6bfe5c4
JM
4668 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4669 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4670 * sysdeps/unix/sysv/linux/arm: Move directory from
4671 ports/sysdeps/unix/sysv/linux/arm.
4672 * README: Update listing for arm-*-linux-gnueabi.
4673
464263cc
JM
4674 * README: Remove mention of am33.
4675
32749f6c
RM
46762014-02-07 Roland McGrath <roland@hack.frob.com>
4677
4678 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4679 than the comma operator, to avoid "rhs of comma has no effect"
4680 compiler warnings.
4681 (__sigfillset, __sigandset, __sigorset): Likewise.
4682 * include/signal.h (__sigemptyset): Likewise.
4683 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4684
d5b396c1
AM
46852014-02-07 Allan McRae <allan@archlinux.org>
4686
4687 * version.h (RELEASE): Set to "development".
4688 (VERSION): Set to "2.19.90"
4689 * NEWS: Add 2.20 section.
4690
3bfff2ed
CD
46912014-02-06 Carlos O'Donell <carlos@redhat.com>
4692
4693 [BZ #16529]
4694 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4695
ee7cc385
SP
46962014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4697
4698 * manual/contrib.texi: Update entry for Carlos O'Donell,
4699 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4700
f877c4f2
CD
47012014-02-05 Carlos O'Donell <carlos@rehdat.com>
4702
27e839f6
CD
4703 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4704
f877c4f2
CD
4705 * sysdeps/unix/sysv/linux/kernel-features.h
4706 [__LINUX_KERNEL_VERSION >= 0x020621]
4707 (__ASSUME_PROC_PID_TASK_COMM): Define.
4708
68159946
SP
47092014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4710
ba17cdbd
SP
4711 [BZ #16398]
4712 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4713 conversion when destination buffer does not have enough space.
4714 * libio/tst-ftell-partial-wide.c: New test case.
4715 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4716
68159946
SP
4717 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4718 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4719 Leonard and Allan McRae.
4720
2b528732
DM
47212014-02-04 David S. Miller <davem@davemloft.net>
4722
4723 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4724 32-bit.
4725
0ff82463
AZ
47262014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4727
57f41c40
AS
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4729 New file
c01603f7
AZ
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4731 New file
57f41c40
AS
4732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4733 New file.
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4735 New file.
c01603f7
AZ
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4737 New file.
57f41c40
AS
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4739 New file.
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4741 New file.
c01603f7
AZ
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4743 New file.
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4745 New file.
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4747 New file.
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4749 New file.
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4751 New file.
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4753 New file.
4754
47552014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756
0ff82463
AZ
4757 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4758 * shlib-versions: Likewise.
4759
1695c773
AZ
47602014-02-04 Roland McGrath <roland@hack.frob.com>
4761 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4762
4763 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4764 (abilist-pattern): New variable, set to %-le.abilist.
4765
4766 * Makerules (abilist-pattern): New variable.
4767 (vpath): Use $(abilist-pattern) in place of %.abilist.
4768 (check-abi-% pattern rule): Likewise.
4769 (check-abi, update-abi): Likewise.
4770
6c0ce4b4
EW
47712014-02-04 Eric Wong <normalperson@yhbt.net>
4772
4773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4774
481e3524
CD
47752014-02-03 Carlos O'Donell <carlos@redhat.com>
4776
4777 * manual/startup.texi: Add next, previous, and top entries for
4778 the `Program Arguments' and `Environment Variables' nodes.
4779
375592d3
AO
47802014-02-03 Alexandre Oliva <aoliva@redhat.com>
4781
4782 * manual/macros.texi: Add comments before MTASC-safety macros.
4783
f54838ba
AO
4784 * manual/users.texi: Document MTASC-safety properties.
4785
57f41c40
AS
4786 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4787 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
4788 @deftypefun, and add @safety note.
4789 * manual/signal.texi: Move comments that analyze the above
4790 functions to their home place.
4791
fd3daba4
AM
47922014-02-03 Allan McRae <allan@archlinux.org>
4793
4794 * po/sl.po: Update Slovenian translation from translation project.
4795
597636d7
AO
47962014-02-02 Alexandre Oliva <aoliva@redhat.com>
4797
4798 * manual/time.texi (timegm): Add missing blank after @c.
4799 Reported by Joseph Myers <joseph@codesourcery.com>.
4800
ee196e3c
AO
48012014-02-01 Alexandre Oliva <aoliva@redhat.com>
4802
4803 * manual/check-safety.sh: New.
4804 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4805
f8d529d5
AO
4806 * manual/terminal.texi: Document MTASC-safety properties.
4807
de55fdf4
AO
4808 * manual/filesys.texi: Document MTASC-safety properties.
4809
c3299c08
AO
4810 * manual/errno.texi: Document MTASC-safety properties.
4811
06e90b14
AO
4812 * manual/intro.texi: Document safety identifiers and
4813 conditionals.
4814
1acd4371
AO
4815 * manual/string.texi (wcstok): Fix prototype.
4816 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4817
23e5b8cb
AO
4818 * manual/time.texi: Document MTASC-safety properties.
4819
11087373
AO
4820 * manual/string.texi: Document MTASC-safety properties.
4821
5da2c93d
AO
4822 * manual/threads.texi: Document MTASC-safety properties.
4823
171e9210
AO
4824 * manual/stdio.texi: Document MTASC-safety properties.
4825
d9e02532
AO
4826 * manual/syslog.texi: Document MTASC-safety properties.
4827
6af8bab7
AO
4828 * manual/sysinfo.texi: Document MTASC-safety properties.
4829
663b02d7
AO
4830 * manual/startup.texi: Document MTASC-safety properties.
4831
973f180b
AO
4832 * manual/socket.texi: Document MTASC-safety properties.
4833
8f3c25c8
AO
4834 * manual/signal.texi: Document MTASC-safety properties.
4835
542210fb
AO
48362014-01-31 Alexandre Oliva <aoliva@redhat.com>
4837
4838 * manual/setjmp.texi: Document MTASC-safety properties.
4839
433c45a2
AO
4840 * manual/search.texi: Document MTASC-safety properties.
4841
c8ce789c
AO
4842 * manual/resource.texi: Document MTASC-safety properties.
4843
19f5d29c
AO
4844 * manual/process.texi: Document MTASC-safety properties.
4845
e2dfb7f4
AO
4846 * manual/platform.texi: Document MTASC-safety properties.
4847
8c1413f5
AO
4848 * manual/pipe.texi: Document MTASC-safety properties.
4849
03483ada
AO
4850 * manual/pattern.texi: Document MTASC-safety properties.
4851
29e7e2df
AO
4852 * manual/message.texi: Document MTASC-safety properties.
4853
9f529d7c
AO
4854 [BZ #12751]
4855 * manual/memory.texi: Document MTASC-safety properties.
4856
27aaa791
AO
4857 * manual/math.texi: Document MTASC-safety properties.
4858
f2d58726
AO
4859 * manual/locale.texi: Document MTASC-safety properties.
4860
2cc3615c
AO
4861 * manual/llio.texi: Document MTASC-safety properties.
4862
d9f0ec97
AO
4863 * manual/libdl.texi: New.
4864
e7c4409a
AO
4865 * manual/lang.texi: Document MTASC-safety properties.
4866
27bdc63c
AO
4867 * manual/job.texi: Document MTASC-safety properties.
4868
a7b90ea9
AO
4869 * manual/getopt.texi: Document MTASC-safety properties.
4870
c49130e3
AO
4871 * manual/ctype.texi: Document MTASC-safety properties.
4872
0d23a5c1
MR
48732014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4874
4875 [BZ #16046]
4876 * csu/libc-tls.c (static_map): Remove variable.
4877 (__libc_setup_tls): Use main executable's link map for TLS data.
4878 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4879 casing for LM_ID_BASE and GL(dl_nns).
4880 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4881 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4882 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4883 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4884 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4885 member.
4886 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4887 l_phnum members.
4888
0037bb60
AO
48892014-01-30 Alexandre Oliva <aoliva@redhat.com>
4890
4891 * manual/debug.texi: Document MTASC-safety properties.
4892
409e00bd
L
48932014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4894
4895 [BZ #16510]
4896 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4897 of __x86_64__ when disabling x87 inline functions.
4898
86e60666
AO
48992014-01-29 Alexandre Oliva <aoliva@redhat.com>
4900
4901 * manual/charset.texi: Document MTASC-safety properties.
4902
76167637
AO
4903 * manual/crypt.texi: Document MTASC-safety properties.
4904
e567f2a0
AO
4905 * manual/conf.texi: Document MTASC-safety properties.
4906
b719dafd
AO
4907 * manual/arith.texi: Document MTASC-safety properties.
4908
4a16c662
AO
4909 * manual/argp.texi: Document MTASC-safety properties.
4910
0a57b83e
AO
4911 * manual/macros.texi: Introduce macros to document multi
4912 thread, asynchronous signal and asynchronous cancellation
4913 safety properties.
4914 * manual/intro.texi: Introduce the properties themselves.
4915
feab2397
KK
49162014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4917
4918 * sysdeps/sh/sh4/Makefile: New file.
4919
1c0d11bc
AS
49202014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4921
4922 * math/gen-libm-test.pl ($srcdir): New variable.
4923 ($auto_input): Use it.
4924
af37a8a3
SP
49252014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4926
d7b00f98
SP
4927 [BZ #16506]
4928 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4929 access beyond array bounds when parsing netgroups file.
4930
af37a8a3
SP
4931 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4932 the old buffer before realloc.
4933
0c00f062
AM
49342014-01-27 Allan McRae <allan@archlinux.org>
4935
4936 * po/fr.po: Update French translation from translation project.
4937
7d69a1b0
KK
49382014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4939
4940 * sysdeps/sh/libm-test-ulps: Regenerate.
4941
6e697ff7
DM
49422014-01-24 David S. Miller <davem@davemloft.net>
4943
4944 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4945
9cadb35c
KK
49462014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4947
4948 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4949 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4950
5d41dadf
SP
49512013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4952
4953 [BZ #16474]
4954 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4955 string pointers after reallocation.
4956
0bad441c
KK
49572014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4958
4959 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4960 __SH4A__ instead of __SH_FPU_ANY__.
4961
7007c661
KK
49622014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4963
4964 * sysdeps/sh/fpu_control.h: New file.
4965 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4966 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4967 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4968 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4969 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4970 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4971 * sysdeps/sh/sys/ucontext.h: Remove.
4972 * sysdeps/sh/sys: Remove directory.
4973
0f0c35e4
AK
49742014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4975
4976 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4977 s390/sys/ucontext.h.
4978 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4979 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4980
4959e284
L
49812014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4982
4983 [BZ #15605]
4984 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4985
d98720e0
AZ
49862014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987
4988 [BZ#16431]
4989 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4990 Adjust the vDSO correctly for internal calls.
4991 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4992
91cbd0bc
AM
49932014-01-20 Allan McRae <allan@archlinux.org>
4994
4995 * po/ca.po: Update Catalan translation from translation project.
4996
7a02cfad
MF
49972014-01-16 Mike Frysinger <vapier@gentoo.org>
4998
4999 * sysdeps/s390/sotruss-lib.c: New file.
5000
736c304a
AZ
50012014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5002
5003 [BZ#16430]
6e077ee5 5004 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5005 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5006 local calls issues by not having a PLT stub required for IFUNC calls.
5007 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5008
94d0cea0
JM
50092014-01-16 Joseph Myers <joseph@codesourcery.com>
5010
5011 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5012 * math/test-fpucw-static.c: Likewise.
5013
980cb518
SP
50142013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5015
5016 [BZ #16453]
5017 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5018
2393fc01
AZ
50192014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5020
5021 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5022 implementation for powerpc.
5023
d359bcc2
OB
50242014-01-15 Ondřej Bílka <neleai@seznam.cz>
5025
5026 [BZ #14782]
5027 * sysdeps/posix/system.c (__libc_system): Do not enable
5028 asynchronous cancellation.
5029
7beb48cb
AK
50302014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5031
5032 [BZ #16427]
5033 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5034 handling only for numbers special also in the IEEE case.
5035
c20d5bf5
AK
50362014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5037
5038 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5039
e83bd4ee
AM
50402014-01-11 Allan McRae <allan@archlinux.org>
5041
76d0ea69
AM
5042 * po/bg.po: Update Bulgarian translation from translation project.
5043
e83bd4ee
AM
5044 * po/de.po: Update German translation from translation project.
5045
bc2ba20a
RM
50462014-01-10 Roland McGrath <roland@hack.frob.com>
5047
5048 * sysdeps/generic/gcc-compat.h: New file.
5049
649ecea2
SP
50502014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5051
5052 * benchtests/asin-inputs: Correct slow inputs.
5053 * benchtests/acos-inputs: Likewise.
5054
1b19c006
AM
50552014-01-10 Allan McRae <allan@archlinux.org>
5056
a46dab08
AM
5057 * po:sv.po: Update Swedish translation from translation project.
5058
421df74a
AM
5059 * po/vi.po: Update Vietnamese translation from translation project.
5060
d61c51a7
AM
5061 * po/eo.po: Update Esperanto translation from translation project.
5062
0339a319
AM
5063 * po/cs.po: Update Czech translation from translation project.
5064
94ad3e99
AM
5065 * po/nl.po: Update Dutch translation from translation project.
5066
e349ca71
AM
5067 * po/pl.po: Update Polish translation from translation project.
5068
ddf930c1
AM
5069 * po/ru.po: Update Russian translation from translation project.
5070
1b19c006
AM
5071 * po/uk.po: Update Ukrainian translation from translation project.
5072
9f236c49
BM
50732014-01-08 Brooks Moses <bmoses@google.com>
5074
5075 * elf/dl-load.c: Fix comment typo.
5076
cd6701cf
CD
50772014-01-08 Carlos O'Donell <carlos@redhat.com>
5078
5079 * po/header.pot: Rename to...
5080 * po/pot.header: ... this.
5081 * po/Makefile: Use pot.header.
5082
66671c84
YK
50832014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5084 Maxim Kuvyrkov <maxim@kugelworks.com>
5085
5086 [BZ #16394]
cd6701cf
CD
5087 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5088 SRC and DEST against LEN.
66671c84 5089
38f34581
AZ
50902014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5091
5092 [BZ #16414]
5093 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5094 implementation.
5095 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5096
50972014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5098
5099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5100
4c327f2a
JM
51012014-01-08 Joseph Myers <joseph@codesourcery.com>
5102
5103 [BZ #16408]
5104 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5105 for large positive arguments.
5106
b821f414
JM
51072014-01-07 Joseph Myers <joseph@codesourcery.com>
5108
1f0f2067
JM
5109 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5110
a5a326f6
JM
5111 * math/auto-libm-test-in: Mark various tests with
5112 xfail-rounding:ldbl-128ibm.
5113 * math/auto-libm-test-out: Regenerated.
5114
b821f414
JM
5115 [BZ #16407]
5116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5117 Increase overflow threshold.
5118
94c8a4bc
OB
51192014-01-07 Ondřej Bílka <neleai@seznam.cz>
5120
5121 [BZ #14286]
5122 * stdio-common/vfprintf.c: Check for integer overflow.
5123
87ded0c3
AK
51242014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5125
5126 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5127 the first argument and return value of __tls_get_addr_internal.
5128
c5eebdd0
AK
51292014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5130
5131 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5132 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5133
05d138ef
AK
51342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5135
5136 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5137 * sysdeps/s390/rtld-global-offsets.sym: New file.
5138 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5139 GLIBC_2.19 symbol.
5140 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5142 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5143 ... this.
5144 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5145 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5146 ... this.
5147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5148 Regenerate.
5149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5150 Regenerate.
5151 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5152 halfs of GPRs for high_gprs contexts.
5153 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5154 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5155 field.
5156 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5157 uc_flags field.
5158 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5159 64 bit versions:
5160 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5161 for high GPRs (uc_high_gprs) and for future extensions
5162 (__reserved).
5163 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5164 for future extensions (__reserved).
5165 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5166 64 bit versions:
5167 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5168 SC_HIGHGPRS offset definition.
5169 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5170 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5171
93a45ff1
AK
5172 * Versions.def: Add GLIBC_2.19 for libpthread.
5173 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5174 siglongjmp for libpthread with GLIBC_2.19 symver.
5175 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5176 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5177 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5178 * sysdeps/s390/__longjmp.c: New file.
5179 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5180 * sysdeps/s390/longjmp.c: New file.
5181 * sysdeps/s390/setjmp.S: New file.
5182 * sysdeps/s390/sigjmp.S: New file.
5183 * sysdeps/s390/v1-longjmp.c: New file.
5184 * sysdeps/s390/v1-setjmp.h: New file.
5185 * sysdeps/s390/v1-sigjmp.c: New file.
5186 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5187 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5188 GLIBC_2.19 version.
5189 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5190 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5191 versioned symbols for ____longjmp_chk.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5193 Likewise.
5194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5195 Regenerate.
5196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5197 Regenerate.
5198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5199 Regenerate.
5200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5201 Regenerate.
5202 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5203 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5204 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5205 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5206 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5207 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5208 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5209 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5210 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5211 * sysdeps/s390/rtld-__longjmp.c: New file.
5212 * sysdeps/s390/rtld-setjmp.S: New file.
5213
eb3fc44b
JM
52142014-01-06 Joseph Myers <joseph@codesourcery.com>
5215
5216 [BZ #16400]
5217 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5218 Return -__logl (x) for small positive arguments without evaluating
5219 a polynomial.
5220
9341dde4
MF
52212014-01-06 Mike Frysinger <vapier@gentoo.org>
5222
5223 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5224 Rename to ...
5225 (__ptrace_peeksiginfo_args): ... this.
5226 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5227 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5228 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5229
4cff0293
AM
52302014-01-06 Allan McRae <allan@archlinux.org>
5231
5232 * inet/netinet/in.h: Fix typo in comment.
5233
75595dcf
AJ
52342014-01-05 Andreas Jaeger <aj@suse.de>
5235
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5237
79c1e109
AM
52382014-01-05 Allan McRae <allan@archlinux.org>
5239
dd804818
AM
5240 * po/libc.pot: Regenerated.
5241
79c1e109
AM
5242 * malloc/memusagestat.c: Fix gettext call formatting.
5243
0c813d1f
SK
52442014-01-04 Sami Kerola <kerolasa@iki.fi>
5245
5246 * nscd/nscd.c: Improve usage() output.
5247
20f4a8d9
MF
52482014-01-04 Mike Frysinger <vapier@gentoo.org>
5249
5250 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5251 * sysdeps/unix/sysv/linux/configure: Regenerated.
5252 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5253 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5254
22562bb2
JM
52552014-01-03 Joseph Myers <joseph@codesourcery.com>
5256
5257 [BZ #16390]
5258 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5259 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5260
d7ad2d9b
AZ
52612014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5262
5263 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5264 extra tokens at end of #undef directive.
5265 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5266 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5268
7dd009d8
JM
52692014-01-03 Joseph Myers <joseph@codesourcery.com>
5270
24db925a
JM
5271 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5272
7dd009d8
JM
5273 * math/auto-libm-test-in: Mark various tests with
5274 xfail-rounding:ldbl-128ibm.
5275 * math/auto-libm-test-out: Regenerated.
5276
396e3ecf
JM
52772014-01-02 Joseph Myers <joseph@codesourcery.com>
5278
819e5d50
JM
5279 [BZ #16386]
5280 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5281 numbers with subnormal high part when calculating exponent.
5282
90b6a1e5
JM
5283 [BZ #16385]
5284 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5285 fabs.
5286
396e3ecf
JM
5287 [BZ #16384]
5288 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5289 M_LN2l.
5290 (__ieee754_acoshl): Use __log1pl not __log1p.
5291
6c8dbf00
OB
52922013-01-02 Ondřej Bílka <neleai@seznam.cz>
5293
57f41c40
AS
5294 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5295 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5296 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5297 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5298 (reused_arena, arena_get2): Convert to GNU style.
5299 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5300 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5301 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5302 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5303 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5304 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5305 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5306 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5307 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5308 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5309 * malloc/malloc.h: Likewise.
57f41c40
AS
5310 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5311 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5312 * malloc/mcheck.h: Likewise.
57f41c40
AS
5313 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5314 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5315 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5316 * malloc/morecore.c (__default_morecore): Likewise.
5317 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5318 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5319 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5320 (print_and_abort): Likewise.
6c8dbf00
OB
5321 * malloc/obstack.h: Likewise.
5322 * malloc/set-freeres.c (__libc_freeres): Likewise.
5323 * malloc/tst-mallocstate.c (main): Likewise.
5324 * malloc/tst-mtrace.c (main): Likewise.
5325 * malloc/tst-realloc.c (do_test): Likewise.
5326
d4124212
SP
53272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5328
9a3c6a6f
SP
5329 [BZ #16366]
5330 * nscd/netgroupcache.c (do_notfound): New function.
5331 (addgetnetgrentX): Use it.
5332
d4124212
SP
5333 [BZ # 16365]
5334 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5335 NSS_STATUS_NOTFOUND.
5336
97b9a009
JM
53372014-01-01 Joseph Myers <joseph@codesourcery.com>
5338
5339 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5341
d4697bc9
AM
53422014-01-01 Allan McRae <allan@archlinux.org>
5343
ddb3687f
AM
5344 * scripts/update-copyrights: Update configure input file suffix.
5345
88726d48
AM
5346 * NEWS: Update copyright year.
5347 * catgets/gencat.c: Likewise.
5348 * csu/version.c: Likewise.
5349 * debug/catchsegv.sh: Likewise.
5350 * debug/pcprofiledump.c: Likewise.
5351 * debug/xtrace.sh: Likewise.
5352 * elf/ldconfig.c: Likewise.
5353 * elf/ldd.bash.in: Likewise.
5354 * elf/pldd.c: Likewise.
5355 * elf/sotruss.ksh: Likewise.
5356 * elf/sprof.c: Likewise.
5357 * iconv/iconv_prog.c: Likewise.
5358 * iconv/iconvconfig.c: Likewise.
5359 * locale/programs/locale.c: Likewise.
5360 * locale/programs/localedef.c: Likewise.
5361 * login/programs/pt_chown.c: Likewise.
5362 * malloc/memusage.sh: Likewise.
5363 * malloc/memusagestat.c: Likewise.
5364 * malloc/mtrace.pl: Likewise.
5365 * manual/libc.texinfo: Likewise.
5366 * nscd/nscd.c: Likewise.
5367 * nss/getent.c: Likewise.
5368 * nss/makedb.c: Likewise.
5369 * posix/getconf.c: Likewise.
5370 * scripts/test-installation.pl: Likewise.
5371
d4697bc9
AM
5372 * All files with FSF copyright notices: Update copyright dates
5373 using scripts/update-copyrights.
5374 * intl/plural.c: Regenerated.
5375 * locale/programs/charmap-kw.h: Likewise.
5376 * locale/programs/locfile-kw.h: Likewise.
5377
c8590f9d
MF
53782013-12-31 Mike Frysinger <vapier@gentoo.org>
5379
5380 * sysdeps/unix/sysv/linux/configure: Regenerated.
5381 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5382 the linux/fanotify.h header.
5383 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5384 HAVE_LINUX_FANOTIFY_H is defined.
5385
b19221b9
SP
53862013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5387
dd1d85e5
SP
5388 * benchtests/cos-inputs: New inputs.
5389 * benchtests/sin-inputs: Likewise.
5390
1acbb90f
SP
5391 * benchtests/atan-inputs: New inputs. Fix name of multiple
5392 precision fallback inputs.
5393
4c012ed3
SP
5394 * benchtests/atanh-inputs: New inputs.
5395 * benchtests/tanh-inputs: Likewise.
5396
eff98324
SP
5397 * benchtests/acosh-inputs: New inputs.
5398 * benchtests/asinh-inputs: Likewise.
5399
ce641152
SP
5400 * benchtests/cosh-inputs: New inputs.
5401 * benchtests/sinh-inputs: Likewise.
5402
b19221b9
SP
5403 * benchtests/acos-inputs: Add more inputs.
5404 * benchtests/asin-inputs: Likewise.
5405
030a4976 54062013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5407
030a4976 5408 [BZ #16375]
9dcc8f11
VS
5409 * manual/arith.texi: Fix spelling.
5410 * manual/charset.texi: Likewise.
5411 * manual/errno.texi: Likewise.
5412 * manual/filesys.texi: Likewise.
5413 * manual/lang.texi: Likewise.
5414 * manual/llio.texi: Likewise.
5415 * manual/locale.texi: Likewise.
5416 * manual/message.texi: Likewise.
5417 * manual/resource.texi: Likewise.
5418 * manual/search.texi: Likewise.
5419 * manual/setjmp.texi: Likewise.
5420 * manual/stdio.texi: Likewise.
5421 * manual/string.texi: Likewise.
5422 * manual/sysinfo.texi: Likewise.
5423 * manual/time.texi: Likewise.
5424
11520a57
CD
54252013-12-27 Carlos O'Donell <carlos@redhat.com>
5426
5427 * po/sl.po: New file.
5428
471103ae
MF
54292013-12-27 Mike Frysinger <vapier@gentoo.org>
5430
5431 * .gitignore: Add core/.gdbinit/.gdb_history.
5432
6c9642ed
AM
54332013-12-27 Allan McRae <allan@archlinux.org>
5434
5435 [BZ #16369]
5436 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5437 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5438
3f637079
BM
54392013-12-24 Brooks Moses <bmoses@google.com>
5440
5441 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5442 all compilers that claim C++98 compliance, not just GCC.
5443 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5444 Likewise.
5445
abc26e99
MK
54462013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5447
5448 * NEWS: Restore accidentally deleted bug-fix entries.
5449
362b47fe
MK
54502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5451 Ondřej Bílka <neleai@seznam.cz>
5452
5453 [BZ #15073]
5454 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5455 have_lock.
362b47fe 5456
b9bcbbcb
OB
54572013-12-23 Ondřej Bílka <neleai@seznam.cz>
5458
5459 [BZ #12986]
5460 * manual/stdio.texi (String Input Conversions): Clarify that character
5461 classes are not supported.
5462
fb55fcd2
AZ
54632013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5464
5465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5466
ef7344f0
JM
54672013-12-22 Joseph Myers <joseph@codesourcery.com>
5468
4f40e4b3
JM
5469 [BZ #16337]
5470 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5471 Calculate results for small negative arguments directly rather
5472 than using reflection formula with special underflow handling.
5473
ef7344f0
JM
5474 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5475 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5476 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5477 (fchflags): Likewise.
5478 (revoke): Likewise.
5479 (setlogin): Likewise.
5480 (sigaltstack): Likewise.
5481 (wait4): Likewise.
5482 (sigblock): Remove.
5483 (sigsetmask): Likewise.
5484 (wait3): Likewise.
5485 (waitpid): Likewise.
5486 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5487 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5488 file.
5489 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5490 * sysdeps/unix/bsd/Makefile: ... here.
5491 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5492 * sysdeps/unix/bsd/Versions: ... here.
5493 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5494 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5495 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5496 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5497 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5498 * sysdeps/unix/bsd/sigblock.c: ... here.
5499 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5500 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5501 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5502 * sysdeps/unix/bsd/sigvec.c: ... here.
5503 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5504 * sysdeps/unix/bsd/tcdrain.c: ... here.
5505 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5506 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5507 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5508 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5509 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5510 * sysdeps/unix/bsd/wait.c: ... here.
5511 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5512 * sysdeps/unix/bsd/wait3.c: ... here.
5513 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5514 * sysdeps/unix/bsd/waitpid.c: ... here.
5515
5b0626b9
JM
55162013-12-21 Joseph Myers <joseph@codesourcery.com>
5517
5518 [BZ #16356]
5519 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5520 round-to-nearest for [!USE_AS_EXPM1L].
5521 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5522 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5523 more tests of exp and exp10. Expect some exp10 tests to miss
5524 exceptions or fail in directed rounding modes.
5525 * math/auto-libm-test-out: Regenerated.
5526 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5527 (exp10_test_tonearest): New function.
5528 (exp10_towardzero_test_data): New array.
5529 (exp10_test_towardzero): New function.
5530 (exp10_downward_test_data): New array.
5531 (exp10_test_downward): New function.
5532 (exp10_upward_test_data): New array.
5533 (exp10_test_upward): New function.
5534 (main): Call the new functions.
5535 * sysdeps/i386/fpu/libm-test-ulps: Update.
5536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5537
7fda5682
JM
55382013-12-20 Joseph Myers <joseph@codesourcery.com>
5539
31e3a405
JM
5540 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5541 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5542 * math/auto-libm-test-out: Regenerated.
5543 * math/libm-test.inc (acosh_test_data): Add more tests.
5544 (atanh_test_data): Likewise.
5545 (ceil_test_data): Likewise.
5546 (copysign_test_data): Likewise.
5547 * sysdeps/i386/fpu/libm-test-ulps: Update.
5548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5549
85bff96a
JM
5550 * timezone/checktab.awk: Update from tzcode 2013i.
5551 * timezone/private.h: Likewise.
5552 * timezone/scheck.c: Likewise.
5553 * timezone/tzfile.h: Likewise.
5554 * timezone/tzselect.ksh: Likewise.
5555 * timezone/zdump.c: Likewise.
5556 * timezone/zic.c: Likewise.
5557
b7867a3b
JM
5558 * math/auto-libm-test-in: Add tests of cpow.
5559 * math/auto-libm-test-out: Regenerated.
5560 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5561 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5562 mpc_cc_c.
5563 (func_calc_desc): Add mpc_cc_c union field.
5564 (test_functions): Add cpow.
5565 (special_fill_2pi): New function.
5566 (special_real_inputs): Add 2pi.
5567 (calc_generic_results): Handle mpc_cc_c.
5568 * sysdeps/i386/fpu/libm-test-ulps: Update.
5569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5570
7fda5682
JM
5571 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5572 csqrt, ctan and ctanh.
5573 * math/auto-libm-test-out: Regenerated.
5574 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5575 (TEST_COND_x86): Likewise.
5576 (ccos_test_data): Use AUTO_TESTS_c_c.
5577 (ccosh_test_data): Likewise.
5578 (cexp_test_data): Likewise.
5579 (clog_test_data): Likewise.
5580 (csqrt_test_data): Likewise.
5581 (ctan_test_data): Likewise.
5582 (ctan_tonearest_test_data): Likewise.
5583 (ctan_towardzero_test_data): Likewise.
5584 (ctan_downward_test_data): Likewise.
5585 (ctan_upward_test_data): Likewise.
5586 (ctanh_test_data): Likewise.
5587 (ctanh_tonearest_test_data): Likewise.
5588 (ctanh_towardzero_test_data): Likewise.
5589 (ctanh_downward_test_data): Likewise.
5590 (ctanh_upward_test_data): Likewise.
5591 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5592 mpc_c_c.
5593 (func_calc_desc): Add mpc_c_c union field.
5594 (FUNC_mpc_c_c): New macro.
5595 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5596 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5597 ctanh.
5598 (special_fill_min_subnorm_p120): New function.
5599 (special_real_inputs): Add min_subnorm_p120.
5600 (calc_generic_results): Handle mpc_c_c.
5601 * sysdeps/i386/fpu/libm-test-ulps: Update.
5602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5603
5ff8d60e
SP
56042013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5605
57f41c40
AS
5606 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5607 (do_sin_slow): New functions.
5608 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5609 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5610
84ba214c
SP
5611 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5612 Use M to change sign of result instead of X. Assume X is
5613 positive.
5614 (csloww1): Likewise.
5615 (__sin): Adjust.
5616 (__cos): Adjust.
5617
975195e4
SP
5618 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5619 arguments A and DA.
5620 (__sin): Adjust.
5621 (__cos): Likewise.
5622
5ff8d60e
SP
5623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5624 (__cos): Likewise.
5625 (sloww1): Don't adjust sign of DX.
5626 (csloww1): Likewise.
5627 (sloww2): Use X directly and don't adjust sign of DX.
5628 (csloww2): Likewise.
5629
eb983568
JM
56302013-12-19 Joseph Myers <joseph@codesourcery.com>
5631
64a17f1a
JM
5632 * math/auto-libm-test-in: Add tests of cabs and carg.
5633 * math/auto-libm-test-out: Regenerated.
5634 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5635 (carg_test_data): Likewise.
5636 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5637 mpc_c_f.
5638 (func_calc_desc): Add mpc_c_f union field.
5639 (test_functions): Add cabs and carg.
5640 (calc_generic_results): Handle mpc_c_f.
5641
eb983568
JM
5642 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5643 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5644 as a macro and a compat symbol.
5645 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5646 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5647 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5648 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5649 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5650 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5651 not use .hidden.
5652 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5653 Likewise.
5654 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5655 Likewise.
5656 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5657 Likewise.
5658 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5659 Likewise.
5660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5661 Likewise.
5662 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5663 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5664 from GLIBC_2.3.2.
5665
6eeb678a
AZ
56662013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5667
5668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5669
6f6fc482
JM
56702013-12-19 Joseph Myers <joseph@codesourcery.com>
5671
21fea2e2
JM
5672 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5673 trailing whitespace removed.
5674 * scripts/config.guess: Update to version 2013-11-29.
5675 * scripts/config.sub: Update to version 2013-10-01.
5676
6f6fc482
JM
5677 * math/auto-libm-test-in: Add tests of sincos.
5678 * math/auto-libm-test-out: Regenerated.
5679 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5680 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5681 mpfr_f_11.
5682 (func_calc_desc): Add mpfr_f_11 union field.
5683 (test_functions): Add sincos.
5684 (calc_generic_results): Handle mpfr_f_11.
5685 * sysdeps/i386/fpu/libm-test-ulps: Update.
5686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5687
83f5c32d
AS
56882013-12-19 Andreas Schwab <schwab@suse.de>
5689
5690 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5691 CALL_MCOUNT.
5692 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5693 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5694 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5695
c688b419
JM
56962013-12-19 Joseph Myers <joseph@codesourcery.com>
5697
335ee092
JM
5698 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5699 * sysdeps/i386/fpu/libm-test-ulps: Update.
5700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5701
f88acd39
JM
5702 [BZ #16293]
5703 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5704 round-to-nearest mode when using frndint.
5705 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5706 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5707 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5708 Likewise.
5709 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5710 sinh test to fail.
5711 * math/auto-libm-test-out: Regenerated.
5712 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5713 (TEST_COND_x86): Likewise.
5714 (expm1_tonearest_test_data): New array.
5715 (expm1_test_tonearest): New function.
5716 (expm1_towardzero_test_data): New array.
5717 (expm1_test_towardzero): New function.
5718 (expm1_downward_test_data): New array.
5719 (expm1_test_downward): New function.
5720 (expm1_upward_test_data): New array.
5721 (expm1_test_upward): New function.
5722 (main): Run the new test functions.
5723 * sysdeps/i386/fpu/libm-test-ulps: Update.
5724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5725
c688b419
JM
5726 * include/features.h: Update comment documenting feature test
5727 macros. Mention _DEFAULT_SOURCE in comment.
5728 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5729 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5730 _BSD_SOURCE and _SVID_SOURCE.
5731 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5732 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5733 !_SVID_SOURCE]: Likewise.
5734 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5735 (__USE_POSIX_IMPLICITLY): Define.
5736 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5737 (_POSIX_SOURCE): Undefine and redefine.
5738 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5739 (_POSIX_C_SOURCE): Likewise.
5740 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5741 (Feature Test Macros): Update documentation of default features.
5742
9f6e964c
RS
57432013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5744
5745 * benchtests/Makefile: Add bench-strtok.
5746 * benchtests/bench-strtok.c: New file: strtok benchtest.
5747
ee0a148a
AM
57482013-12-19 Allan McRae <allan@archlinux.org>
5749
5750 * manual/install.texi: Suppress menu for plain text output.
5751 * INSTALL: Regenerated.
5752
b9ab448f
BM
57532013-12-18 Brooks Moses <bmoses@google.com>
5754
5755 [BZ #15846]
5756 * misc/getauxval.c: Include errno.h.
5757 (__getauxval): Set errno to ENOENT if the requested type is not
5758 found.
5759 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5760 don't declare with __attribute_const__.
5761 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5762 * manual/startup.texi: Document that getauxval sets errno.
5763
23776487
JM
57642013-12-18 Joseph Myers <joseph@codesourcery.com>
5765
f889953b
JM
5766 * math/auto-libm-test-in: Add tests of jn and yn.
5767 * math/auto-libm-test-out: Regenerated.
5768 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5769 (yn_test_data): Likewise.
5770 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5771 mpfr_if_f.
5772 (func_calc_desc): Add mpfr_if_f union field.
5773 (FUNC_mpfr_if_f): New macro.
5774 (test_functions): Add jn and yn.
5775 (calc_generic_results): Assert type of second input for
5776 mpfr_ff_f. Handle mpfr_if_f.
5777 (output_for_one_input_case): Disable all checking for arguments
5778 fitting floating-point types in case of an integer argument.
5779 * sysdeps/i386/fpu/libm-test-ulps: Update.
5780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5781
23776487
JM
5782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5783 Don't expect fegetround reference in libm.so.
5784
cb756c6d
MS
57852013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5786
5787 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5788 $(config-cflags-nofma).
5789
2dec468f
JM
57902013-12-18 Joseph Myers <joseph@codesourcery.com>
5791
5953eb3a
JM
5792 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5793 * math/auto-libm-test-out: Regenerated.
5794
2dec468f
JM
5795 [BZ #16338]
5796 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5797 to determine exponent and adjust argument to have exponent of -1.
5798 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5799 log2.
5800 * math/auto-libm-test-out: Regenerated.
5801 * sysdeps/i386/fpu/libm-test-ulps: Update.
5802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5803
4d84e6ad
OB
58042013-12-18 Ondřej Bílka <neleai@seznam.cz>
5805
5806 * manual/probes.texi: Remove cases when per-thread arenas are
5807 disabled.
5808
1818483b
AS
58092013-12-18 Andreas Schwab <schwab@suse.de>
5810
5811 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5812 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5813 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5814 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5815 * sysdeps/i386/i686/multiarch/Makefile: Update.
5816 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5817
25de95bf
JM
58182013-12-17 Joseph Myers <joseph@codesourcery.com>
5819
5820 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5821 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5822
674762d9
PE
58232013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5824
ed27ed83 5825 [BZ #15968]
0748546f
PE
5826 Support TZ transition times < 00:00:00.
5827 This is needed for version-3 tz-format files; it supports time
5828 stamps past 2037 for America/Godthab (the only entry in the tz
5829 database for which this change is relevant).
5830 * manual/time.texi (TZ Variable): Document transition times
5831 from -167:59:59 through -00:00:01.
5832 * time/tzset.c (tz_rule): Time of day is now signed.
5833 (__tzset_parse_tz): Parse negative time of day.
5834
4480e934
PE
5835 Document TZ transition times >= 25:00:00.
5836 * manual/time.texi (TZ Variable): Document transition times from
5837 25:00:00 through 167:59:59. These are already supported, and this
5838 support will help with version-3 tz-format files.
5839
69947401
PE
5840 * manual/time.texi (TZ Variable): Modernize North America example
5841 to reflect current (i.e., 2007-and-later) daylight saving rules.
5842
674762d9
PE
5843 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5844
7011c262
JM
58452013-12-17 Joseph Myers <joseph@codesourcery.com>
5846
2fc6557e
JM
5847 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5848 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5851 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5852 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5853 * sysdeps/unix/bsd/clock.c: Likewise.
5854 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5855 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5856 * sysdeps/unix/bsd/init-posix.c: Likewise.
5857 * sysdeps/unix/bsd/poll.c: Likewise.
5858 * sysdeps/unix/bsd/ptsname.c: Likewise.
5859 * sysdeps/unix/bsd/seekdir.c: Likewise.
5860 * sysdeps/unix/bsd/setegid.c: Likewise.
5861 * sysdeps/unix/bsd/seteuid.c: Likewise.
5862 * sysdeps/unix/bsd/setgid.c: Likewise.
5863 * sysdeps/unix/bsd/setrgid.c: Likewise.
5864 * sysdeps/unix/bsd/setruid.c: Likewise.
5865 * sysdeps/unix/bsd/setsid.c: Likewise.
5866 * sysdeps/unix/bsd/setuid.c: Likewise.
5867 * sysdeps/unix/bsd/sigaction.c: Likewise.
5868 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5869 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5870 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5871 * sysdeps/unix/bsd/telldir.c: Likewise.
5872 * sysdeps/unix/bsd/times.c: Likewise.
5873 * sysdeps/unix/bsd/usleep.c: Likewise.
5874
029c7b25
JM
5875 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5876 ($(objpfx)libbsd-compat.a): Remove rule.
5877
7011c262
JM
5878 * include/features.h (__FAVOR_BSD): Do not define.
5879 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5880 features conflicting with POSIX.
5881 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5882 (_BSD_SOURCE): Remove description of not being a subset of other
5883 feature test macros.
5884 * manual/job.texi (getpgrp): Do not document BSD version.
5885 (getpgid): Do not document by reference to BSD getpgrp.
5886 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5887 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5888 * signal/signal.h [__FAVOR_BSD]: Likewise.
5889 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5890 instead of making contents conditional on [__FAVOR_BSD].
5891 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5892
affb6f78
AZ
58932013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894
5895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5896
c88769dd
JM
58972013-12-17 Joseph Myers <joseph@codesourcery.com>
5898
6432a540
JM
5899 [BZ #16314]
5900 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5901 values below 2**-450, not 2**-500.
5902 * math/auto-libm-test-in: Don't allow spurious underflow from
5903 hypot.
5904 * math/auto-libm-test-out: Regenerated.
5905
c88769dd
JM
5906 [BZ #16316]
5907 [BZ #16330]
5908 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5909 values of ha and hb and sort them after adjusting subnormal
5910 arguments.
5911 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5912 Likewise.
5913 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5914 values of ea and eb and sort them after adjusting subnormal
5915 arguments.
5916 * math/auto-libm-test-in: Do not expect some hypot tests of
5917 subnormals to fail. Add more hypot tests.
5918 * math/auto-libm-test-out: Regenerated.
5919
29618f6b
KK
59202013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5921
5922 [BZ #13304]
5923 * sysdeps/sh/s_fma.c: New file.
5924 * sysdeps/sh/s_fmaf.c: New file.
5925 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5926 version.
5927 * sysdeps/sh/Implies: Add sh/soft-fp.
5928
eacfdfbf
RM
59292013-12-16 Roland McGrath <roland@hack.frob.com>
5930
5931 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5932 level of indirection to members `objname', `errstring', `malloced'.
5933 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5934 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5935 it as the __longjmp argument (just pass 1 instead).
5936 (_dl_catch_error): Initialize C with argument pointers and address of
5937 volatile local ERRCODE rather than copying values out of C at return.
5938
ff362e5b
JM
59392013-12-16 Joseph Myers <joseph@codesourcery.com>
5940
5941 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5942 * math/auto-libm-test-out: Regenerated.
5943 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5944 (hypot_test_data): Likewise.
5945 (pow_test_data): Likewise.
5946 (pow_tonearest_test_data): Likewise.
5947 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5948 mpfr_ff_f.
5949 (func_calc_desc): Add mpfr_ff_f union field.
5950 (FUNC_mpfr_ff_f): New macro.
5951 (test_functions): Add atan2, hypot and pow.
5952 (special_fill_min): New function.
5953 (special_fill_minus_min): Likewise.
5954 (special_fill_min_subnorm): Likewise.
5955 (special_fill_minus_min_subnorm): Likewise.
5956 (special_real_inputs): Add min, -min, min_subnorm and
5957 -min_subnorm.
5958 (calc_generic_results): Handle mpfr_ff_f.
5959 * sysdeps/i386/fpu/libm-test-ulps: Update.
5960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961
5764c27f
WN
59622013-12-16 Will Newton <will.newton@linaro.org>
5963
5964 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5965 (Aligned Memory Blocks): Add documentation for aligned_alloc
5966 and suggest it as an alternative to posix_memalign.
5967 (Hooks for Malloc): Document __memalign_hook is also called
5968 for aligned_alloc. (Summary of Malloc): Add summary for
5969 aligned alloc. Document __memalign_hook is also called
5970 for aligned_alloc.
5971
0a096e44
WN
59722013-12-16 Will Newton <will.newton@linaro.org>
5973
5974 * manual/memory.texi (Malloc Examples): Clarify default
5975 alignment documentation. Suggest posix_memalign rather
5976 than memalign or valloc.
5977 (Aligned Memory Blocks): Remove suggestion to use memalign
5978 or valloc. Remove obsolete comment about BSD.
5979 Document memalign errno values and mark the function obsolete.
5980 Document posix_memalign returned error codes. Mark valloc
5981 as obsolete. (Hooks for Malloc): __memalign_hook is also
5982 called for posix_memalign and valloc.
5983 (Summary of Malloc): Add posix_memalign to function summary.
5984 __memalign_hook is also called for posix_memalign and valloc.
5985
8d561986
SP
59862013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5987
5988 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5989 TAYLOR_SIN.
5990 (__sin): Adjust.
5991 (__cos): Likewise.
5992 (sloww): Use mynumber union. Expand ternary operator into
5993 if-else statements.
5994 (cslow): use mynumber union.
5995
73616a74
AM
59962013-12-16 Allan McRae <allan@archlinux.org>
5997
9e8ac24b
AM
5998 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5999 * configure: Regenerated.
6000
6f8e37eb
AM
6001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6002
8894bad3
AM
6003 [BZ #14120]
6004 * configure.ac: Added --enable-maintainer-mode. Check for
6005 autoconf when enabled.
6006 * configure: Regenerated.
6007
73616a74
AM
6008 * nscd/nscd.service: New file.
6009 * nscd/nscd.tmpfiles: New file.
6010
584b18eb
OB
60112013-12-14 Ondřej Bílka <neleai@seznam.cz>
6012
6013 [BZ #12100]
6014 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6015 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6016 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6017 (strstr): Add __strstr_sse2_unaligned ifunc.
6018 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6019 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6020 (strcasestr): Remove __strcasestr_sse42 ifunc.
6021 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6024
8a5c7897
KK
60252013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6026
6027 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6028 * sysdeps/sh/bits/fenv.h: ... here.
6029 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6030
fd712ef3
AZ
60312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6032
6033 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6034
42fcb46c
AZ
6035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6036 hypotf multiarch implementations.
6037 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6038 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6039 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6040 multiarch hypot for PPC64.
6041 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6044 multiarch hypotf for PPC64.
6045
83efded4
AZ
6046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6047 modff multiarch implementations.
6048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6051 multiarch modf for PPC64.
6052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6055 multiarch modff for PPC64.
6056
43e246d2
AZ
6057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6058 and logl multiarch implementations.
6059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6062 multiarch logb for PPC64.
6063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6066 multiarch logb for PPC64.
6067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6070 multiarch logb for PPC64.
6071
8fdad123
AZ
6072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6073 isinff multiarch implementation.
6074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6075 file.
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6078 multiarch isinf for PPC64.
6079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6080 file.
6081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6082 multiarch isinff for PPC64.
6083
1481d706
AZ
6084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6085 finitef multiarch implementation.
6086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6087 file.
6088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6090 multiarch finite for PPC64.
6091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6092 file.
6093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6094 multiarch finitef for PPC64.
6095
5ccd5fc8
AZ
6096 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6097 lrint multiarch implementation.
6098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6099 file.
6100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6102 multiarch llrint for PPC64.
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6104 multiarch lrint for PPC64.
6105
2568f3fa
AZ
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6107 copysignf multiarch implementation.
6108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6109 file.
6110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6111 file.
6112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6113 multiarch copysign for PPC64.
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6115 multiarch copysignf for PPC64.
6116
1cb341fd
AZ
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6118 multiarch implementation.
6119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6120 file.
6121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6122 file.
6123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6124 file.
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6126 file.
6127 multiarch llround for PPC64.
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6129 multiarch trunc for PPC64.
6130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6131 multiarch truncf for PPC64.
6132
59a3e194
AZ
6133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6134 multiarch implementation.
6135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6136 file.
6137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6138 file.
6139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6140 file.
6141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6142 file.
6143 multiarch llround for PPC64.
6144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6145 multiarch round for PPC64.
6146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6147 multiarch roundf for PPC64.
6148
357fd3b4
AZ
6149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6150 multiarch implementation.
6151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6152 file.
6153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6154 file.
6155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6156 file.
6157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6158 file.
6159 multiarch llround for PPC64.
6160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6161 multiarch floor for PPC64.
6162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6163 multiarch floorf for PPC64.
6164
96770f12
AZ
6165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6166 multiarch implementation.
6167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6168 file.
6169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6170 file.
6171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6172 file.
6173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6174 file.
6175 multiarch llround for PPC64.
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6177 multiarch ceil for PPC64.
6178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6179 multiarch ceilf for PPC64.
6180
c3627f6e
AZ
6181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6182 multiarch implementation.
6183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6184 file.
6185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6186 file.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6188 file.
6189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6190 multiarch llround for PPC64.
6191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6192 multiarch lround for PPC64.
6193
b2284ad7
AZ
6194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6195 multiarch implementation.
6196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6199 file.
6200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6203 multiarch isnan for PPC64.
6204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6205 multiarch isnanf for PPC64.
6206
69bbc63d
AZ
6207 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6208 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6209 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6210 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6211 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6213
c24517c9
AZ
6214 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6215 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6216 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6218
a52374e8
AZ
6219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6220 multiarch implementations.
6221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6222 (__libc_ifunc_impl_list): Likewise.
6223 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6224 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6225 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6226 multiarch stpcpy for PPC64.
6227
7f5ec113
AZ
6228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6229 multiarch implementations.
6230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6231 (__libc_ifunc_impl_list): Likewise.
6232 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6233 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6234 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6235 multiarch strcpy for PPC64.
6236
e28bcd42
AZ
6237 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6238 redefine function name.
6239 (_wordcopy_fwd_dest_aligned): Likewise.
6240 (_wordcopy_bwd_aligned): Likewise.
6241 (_wordcopy_bwd_dest_aligned): Likewise.
6242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6243 multiarch implementations.
6244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6245 (__libc_ifunc_impl_list): Likewise.
6246 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6247 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6248 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6249 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6250 multiarch wcscpy for PPC64.
6251
92cacfce
AZ
6252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6253 multiarch implementations.
6254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6255 (__libc_ifunc_impl_list): Likewise.
6256 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6257 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6258 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6259 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6260 multiarch wcscpy for PPC64.
6261
7b714620
AZ
6262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6263 multiarch implementations.
6264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6265 (__libc_ifunc_impl_list): Likewise.
6266 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6267 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6268 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6269 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6270 multiarch wcsrchr for PPC64.
6271
16fd2ae3
AZ
6272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6273 multiarch implementations.
6274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6275 (__libc_ifunc_impl_list): Likewise.
6276 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6277 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6278 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6279 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6280 multiarch wcschr for PPC64.
6281
9ee2969b
AZ
6282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6283 multiarch implementations.
6284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6285 (__libc_ifunc_impl_list): Likewise.
6286 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6287 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6288 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6289 multiarch strchrnul for PPC64.
6290
372dc060
AZ
6291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6292 implementations.
6293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6294 (__libc_ifunc_impl_list): Likewise.
6295 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6296 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6297 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6298 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6299 strchr for PPC64.
6300
24c2c3b9
AZ
6301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6302 implementations.
6303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6304 (__libc_ifunc_impl_list): Likewise.
6305 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6306 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6307 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6308 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6309 strncmp for PPC64.
6310
1c92d9a0
AZ
6311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6312 multiarch implementations.
6313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6314 (__libc_ifunc_impl_list): Likewise.
6315 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6316 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6317 strncasecmp for PPC64.
6318 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6319 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6320 multiarch strncasecmp_l for PPC64.
6321
17de3ee3
AZ
6322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6323 multiarch implementations.
6324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6325 (__libc_ifunc_impl_list): Likewise.
6326 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6328 multiarch strcasecmp for PPC64.
6329 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6330 file.
6331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6332 multiarch strcasecmp_l for PPC64.
6333
62982bf9
AZ
6334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6335 implementations.
6336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6337 (__libc_ifunc_impl_list): Likewise.
6338 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6339 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6340 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6341 strnlen for PPC64.
6342
a65f4904
AZ
6343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6344 implementations.
6345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6346 (__libc_ifunc_impl_list): Likewise.
6347 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6348 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6349 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6350 strlen for PPC64.
6351
1fd005ad
AZ
6352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6353 implementations.
6354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6355 (__libc_ifunc_impl_list): Likewise.
6356 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6357 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6358 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6359 rawmemrchr for PPC64.
6360
cd05ba91
AZ
6361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6362 implementation.
6363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6364 (__libc_ifunc_impl_list): Likewise.
6365 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6366 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6367 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6368 memrchr for PPC64.
6369
870f8676
AZ
6370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6371 implementation.
6372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6373 (__libc_ifunc_impl_list): Likewise.
6374 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6375 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6376 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6377 memchr for PPC64.
6378
f00be62b
AZ
6379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6380 implementation.
6381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6382 (__libc_ifunc_impl_list): Likewise.
6383 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6384 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6385 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6386 mempcpy for PPC64.
6387
8a29a3d0
AZ
6388 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6389 avoid cretion of __bzero symbol.
6390 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6391 Likewise.
6392 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6393 Likewise.
6394 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6395 Likewise.
6396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6397 multiarch implementations.
6398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6399 (__libc_ifunc_impl_list): Likewise.
6400 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6401 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6402 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6403 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6404 bzero for PPC32.
6405 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6406 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6407 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6408 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6409 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6410 memset for PPC64.
6411 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6412
07253fcf
AZ
6413 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6415 implementations.
6416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6417 (__libc_ifunc_impl_list): Likewise.
6418 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6419 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6420 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6421 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6422 memcmp for PPC64.
6423
b5beafbc
AZ
6424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6425 multiarch for POWER/PPC64.
6426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6427 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6428 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6429 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6431 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6432 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6434 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6435 memcpy for PPC64.
6436
5e6a4d4b
AZ
6437 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6438 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6439 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6440 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6441 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6442 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6443 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6444 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6445 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6446 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6447 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6448 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6449 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6450 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6451 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6459
ddfab6dc
KK
64602013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6461
6462 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6463
19b5525e
SP
64642013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6465
6466 * benchtests/Makefile (bench): Add exp2 and log2.
6467 (LDLIBS-bench-exp2): Add -lm.
6468 (LDLIBS-bench-log2): Likewise.
6469 * benchtests/exp2-inputs: New inputs file.
6470 * benchtests/log2-inputs: New inputs file.
6471 * benchtests/log-inputs: Add new inputs.
6472 * benchtests/tan-inputs: Likewise.
6473
196f7f5d
SP
64742013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6475
7a74607f
SP
6476 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6477 definition...
57f41c40
AS
6478 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6479 (csloww2): ... from here.
7a74607f 6480
196f7f5d
SP
6481 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6482 instead of structures.
6483 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6484 (POLYNOMIAL): Likewise.
6485 (TAYLOR_SLOW): Likewise.
6486 (__sin): Likewise.
6487 (__cos): Likewise.
6488 (slow1): Likewise.
6489 (slow2): Likewise.
6490 (sloww): Likewise.
6491 (sloww1); Likewise.
6492 (sloww2): Likewise.
6493 (bsloww1): Likewise.
6494 (bsloww2): Likewise.
6495 (cslow2): Likewise.
6496 (csloww): Likewise.
6497 (csloww1): Likewise.
6498 (csloww2): Likewise.
6499
0dfa665c
OB
65002013-12-10 Ondřej Bílka <neleai@seznam.cz>
6501
6502 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6503 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6504 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6505 * malloc/hooks.c (realloc_check): Likewise.
6506
5782a80f
OB
6507 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6508 * malloc/arena.c: Remove PER_THREAD conditional.
6509 [!PER_THREAD]: Remove code.
6510 (ptmalloc_unlock_all2): Likewise.
6511 (ptmalloc_init): Likewise.
6512 (_int_new_arena): Likewise.
6513 (arena_get2): Likewise.
6514 * malloc/hooks.c (__malloc_get_state): Likewise.
6515 (__malloc_set_state): Likewise.
6516 * malloc/malloc.c: Likewise.
6517 (struct malloc_state): Likewise.
6518 (struct malloc_par): Likewise.
6519 (__libc_realloc): Likewise.
6520 (__libc_mallopt): Likewise.
6521
aeb95445
AZ
65222013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6523
6524 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6525
e8349efd
OB
65262013-12-09 Ondřej Bílka <neleai@seznam.cz>
6527
6528 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6529 macro to a function. Check for zero perturb_byte.
6530 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6531
f3eeb3fc 6532 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6533 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6534 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6535 force_reg by atomic_forced_read.
6536 * malloc/arena.c (ptmalloc_init): Likewise.
6537 * malloc/hooks.c (top_check): Likewise.
6538
be2f9009
AZ
65392013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6540
6541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6542
e7b914bd
MT
65432013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6544
6545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6546
9f0be4f8
JM
65472013-12-08 Joseph Myers <joseph@codesourcery.com>
6548
6549 * math/auto-libm-test-in: Add tests of lgamma.
6550 * math/auto-libm-test-out: Regenerated.
6551 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6552 (M_LOG_2_SQRT_PIl): Likewise.
6553 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6554 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6555 mpfr_f_f1.
6556 (func_calc_desc): Add mpfr_f_f1 union field.
6557 (ARGS1): New macro.
6558 (ARGS2): Likewise.
6559 (ARGS3): Likewise.
6560 (ARGS4): Likewise.
6561 (RET1): Likewise.
6562 (RET2): Likewise.
6563 (CALC): Likewise.
6564 (FUNC): Likewise.
6565 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6566 (test_functions): Add lgamma.
6567 (calc_generic_results): Handle mpfr_f_f1.
6568 * sysdeps/i386/fpu/libm-test-ulps: Update.
6569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6570
24eeafdb
AZ
65712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6572
6573 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6574 __mpn_add_n for PowerPC64/POWER7.
6575 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6576 __mpn_sub_n for PowerPC64/POWER7.
6577
4a2c0fd4
AZ
6578 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6579 __mpn_addmul_1 for PowerPC64.
6580 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6581 __mpn_submul_1 for PowerPC64.
6582 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6583 for PowerPC64.
6584 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6585 for PowerPC64.
6586
4b5b548c
FS
65872013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6588
6589 [BZ #15089]
6590 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6591
0a3ac0aa
AZ
65922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6593
6594 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6595
ccdc8438
AZ
6596 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6597 add multiarch folders.
6598 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6599 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6600 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6601 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6602 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6603 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6604 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6605 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6606 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6607 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6608 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6615
2e973d99
AZ
6616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6617 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6619 New file.
6620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6621 New file.
6622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6623 multiarch __ieee754_hypot for PowerPC32.
6624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6625 New file.
6626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6627 New file.
6628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6629 multiarch __ieee754_hypotf for PowerPC32.
6630
2d9470b2
AZ
6631 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6632 long_double_symbol only if __logbl is defined.
6633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6634 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6635 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6636 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6637 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6638 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6639 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6640 path for implementation.
6641 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6644 logb, and logbl multiarch implementations for PowerPC32.
6645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6646 file.
6647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6648 file.
6649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6650 multiarch logb for PowerPC32.
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6652 file.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6654 file.
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6656 multiarch logbf for PowerPC32.
6657 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6659 file.
6660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6661 multiarch logbl implementation for PowerPC32.
6662
5212ffce
AZ
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6664 and modff multiarch implementations.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6666 New file.
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6668 New file.
6669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6670 multiarch modf for PowerPC32.
6671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6672 New file.
6673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6674 New file.
6675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6676 multiarch modff for PowerPC32.
6677
79dccf31
AZ
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6679 and lrintf multiarch implementations.
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6681 New file.
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6683 New file.
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6685 multiarch lrint for PowerPC32.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6687 file: multiarch lrintf for PowerPC32.
6688
deb66480
AZ
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6690 and lroundf multiarch implementations.
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6692 New file.
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6694 New file.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6696 New file.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6698 multiarch lround for PowerPC32.
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6700 file: multiarch lroundf for PowerPC32.
6701
264b036b
AZ
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6703 copysign and copysignf multiarch implementations.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6705 New file.
6706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6707 New file.
6708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6709 file: multiarch copysign for PowerPC32.
6710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6711 file: multiarch copysignf for PowerPC32.
6712
d47db6c9
AZ
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6714 and truncf multiarch implementations.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6716 New file.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6718 file.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6720 multiarch trunc for PowerPC32.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6722 New file.
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6724 New file.
6725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6726 multiarch truncf for PowerPC32.
6727
ddb60b5a
AZ
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6729 and roundf multiarch implementations.
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6731 New file.
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6733 file.
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6735 multiarch round for PowerPC32.
6736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6737 New file.
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6739 New file.
6740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6741 multiarch roundf for PowerPC32.
6742
bedcf49b
AZ
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6744 and floorf multiarch implementations.
6745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6746 New file.
6747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6748 file.
6749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6750 multiarch floor for PowerPC32.
6751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6752 New file.
6753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6754 New file.
6755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6756 multiarch floorf for PowerPC32.
6757
35ae5b40
AZ
6758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6759 and ceilf multiarch implementations.
6760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6761 New file.
6762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6763 file.
6764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6765 multiarch ceil for PowerPC32.
6766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6767 New file.
6768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6769 file.
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6771 multiarch ceilf for PowerPC32.
6772
ae1a4cd9
AZ
6773 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6774 is defined.
6775 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6776 FINITEF is defined.
6777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6778 and finitef multiarch implementations.
6779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6780 New file.
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6782 file.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6784 multiarch finite for PowerPC32.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6786 New file.
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6788 file: multiarch finitef for PowerPC32.
6789
64fffd65
AZ
6790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6791 and isinff multiarch implementations.
6792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6793 file.
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6795 file.
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6797 multiarch isinf for PowerPC32.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6799 New file.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6801 multiarch isinff for PowerPC32.
6802
8e4e7ba2
AZ
6803 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6804 alias when __isnan is defined.
6805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6806 and isnanf multiarch implementations.
6807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6808 file.
6809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6810 file.
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6812 file.
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6814 file.
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6816 multiarch isnan for PowerPC32.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6818 New file.
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6820 New file.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6822 multiarch isnanf for PowerPC32.
6823
ddba588e
AZ
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6825 and sqrtf multiarch implementations.
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6827 file.
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6829 file.
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6831 multiarch sqrt for PowerPC32.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6833 file.
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6835 file.
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6837 multiarch sqrtf for PowerPC32.
6838
0f96a2f0
AZ
6839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6840 and llroundf multiarch implementations.
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6842 New file.
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6844 New file.
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6846 New file.
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6848 file: multiarch llround for PowerPC32.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6850 file: multiarch llroundf for PowerPC32.
6851
c9b5d79e
AZ
6852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6853 multiarch PowerPC32 fpu implementations.
6854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6855 New file.
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6857 New file.
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6859 multiarch llrint for PowerPC32.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6861 New file.
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6863 New file.
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6865 file.
6866
9cbb3aab
AZ
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6868
ea5a72f8
AZ
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6870 file.
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6872 file.
6873 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6874 file.
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6876 multiarch wordcopy for PPC32.
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6878 wordcopy objects.
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6880 (__libc_ifunc_impl_list): Likewise.
6881 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6882 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6883 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6884 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6885 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6886 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6887
93be09e7
AZ
6888 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6890 file.
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6892 file.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6894 file.
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6896 multiarch wcscpy for PPC32.
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6898 multiarch objects.
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6900 (__libc_ifunc_impl_list): Likewise.
6901 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6902 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6903 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6904 sysdeps/powerpc/power6/wcscpy.c.
6905
bb04e529
AZ
6906 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6907 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6908 file.
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6910 file.
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6912 file.
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6914 multiarch wcsrchr for PPC32.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6916 multiarch objects.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6918 (__libc_ifunc_impl_list): Likewise.
6919 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6920 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6921 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6922 sysdeps/powerpc/power6/wcsrchr.c.
6923
05b5cd1c
AZ
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6925 file.
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6927 file.
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6930 multiarch wcschr for PPc32.
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6932 multiarch objects.
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6934 (__libc_ifunc_impl_list): Likewise.
6935 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6936 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6937 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6938 sysdeps/powerpc/power6/wcschr.c.
6939
ba964147
AZ
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6942 file.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6944 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6945 file: multiarch strchr for PPC32.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6947 multiarch objects.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6949 (__libc_ifunc_impl_list): Likewise.
6950
31c81aaa
AZ
6951 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6952 name.
6953 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6954 file.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6956 file.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6958 multiarch strchrnul for PPC32.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6960 multiarch objects.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6962 (__libc_ifunc_impl_list): Likewise.
6963
0d0607d9
AZ
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6965 file.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6967 multiarch strncasecmp for PPC32.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6969 file.
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6971 multiarch strncasecmp_l for PPC32.
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6973 strncasecmp multiarch objects.
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6975 (__libc_ifunc_impl_list): Likewise.
6976
4dfd5c86
AZ
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6978 file.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6980 multiarch strncasecmp for PPC32.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6982 New file.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6984 multiarch strcasecmp_l for PPC32.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6986 multiarch objects.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6988 (__libc_ifunc_impl_list): Likewise.
6989
a19e01a3
AZ
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6991 file.
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6993 file.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6995 multiarch strncmp for PPC32.
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6997 multiarch objects.
6998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6999 (__libc_ifunc_impl_list): Likewise.
7000
ae9cf7a2
AZ
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7002 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7003 file.
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7005 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7007 multiarch objects.
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7009 (__libc_ifunc_impl_list): Likewise.
7010
3148bb7d
AZ
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7012 file.
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7014 file.
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7017 multiarch objects.
7018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7019 (__libc_ifunc_impl_list): Likewise.
7020
7af8b946
AZ
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7022 file.
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7024 file.
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7026 multiarch rawmemchr for PPC32.
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7028 multiarch objects.
7029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7030 (__libc_ifunc_impl_list): Likewise.
7031
03a6aa6a
AZ
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7033 file.
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7035 file.
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7037 file: memrchr multiarch for PPC32.
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7039 multiarch objects.
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7041 (__libc_ifunc_impl_list): Likewise.
7042
1c62e6d9
AZ
7043 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7045 file.
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7048 multiarch memchr for PPC32.
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7050 multiarch objects.
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7052 (__libc_ifunc_impl_list): Likewise.
7053
87da8bdb
AZ
7054 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7056 file.
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7058 file.
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7060 file: multiarch mempcpy for PPC32.
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7062 multiarch objects.
7063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7064 (__libc_ifunc_impl_list): Likewise.
7065
20ed4714
AZ
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7070 multiarch bzero for PPC32.
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7072 file.
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7074 file.
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7076 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7077 file: multiarch memset for PPC32.
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7080 memset multiarch objects.
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7082 (__libc_ifunc_impl_list): Likewise.
7083
ab3e3a46
AZ
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7085 file.
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7088 memcmp for PPC32.
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7091 multiarch objects.
7092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7093 (__libc_ifunc_impl_list): Likewise.
7094
930de6f0
AZ
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7098 file.
7099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7100 file.
7101 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7102 file.
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7104 multiarch memcpy for PPC32.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7106 multiarch objects.
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7108 (__libc_ifunc_impl_list): Likewise.
7109
4c628e00
AZ
7110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7111 support multiarch for POWER/PPC32.
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7113 Likewise.
7114 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7116 Implies file to make multiarch folder appers before the fpu and
7117 default folder for power4 configuration.
7118
f4479220
SP
71192013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7120
7121 * scripts/bench.pl: Append volatile keyword to type.
7122
8517800f
KK
71232013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7124
7125 * sysdeps/sh/sotruss-lib.c: New file.
7126 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7127
180138f1
AZ
71282013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7129
7130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7131
bbf37bdc
JM
71322013-12-05 Joseph Myers <joseph@codesourcery.com>
7133
e47cc4e0
JM
7134 [BZ #6810]
7135 * math/w_tgamma.c: Include <errno.h>.
7136 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7137 * math/w_tgammaf.c: Include <errno.h>.
7138 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7139 * math/w_tgammal.c: Include <errno.h>.
7140 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7141 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7142 underflow. Add more tgamma tests.
7143 * math/auto-libm-test-out: Regenerated.
7144 * sysdeps/i386/fpu/libm-test-ulps: Update.
7145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7146
bbf37bdc
JM
7147 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7148 sin, sinh, tan, tanh, tgamma, y0 and y1.
7149 * math/auto-libm-test-out: Regenerated.
7150 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7151 (TEST_COND_x86): Likewise.
7152 (M_E2l): Remove macro.
7153 (M_E3l): Likewise.
7154 (M_2_SQRT_PIl): Likewise.
7155 (M_SQRT_PIl): Likewise.
7156 (M_1_DIV_El): Likewise.
7157 (log_test_data): Use AUTO_TESTS_f_f.
7158 (log10_test_data): Likewise.
7159 (log1p_test_data): Likewise.
7160 (log2_test_data): Likewise.
7161 (sin_test_data): Likewise.
7162 (sin_tonearest_test_data): Likewise.
7163 (sin_towardzero_test_data): Likewise.
7164 (sin_downward_test_data): Likewise.
7165 (sin_upward_test_data): Likewise.
7166 (sinh_test_data): Likewise.
7167 (sinh_tonearest_test_data): Likewise.
7168 (sinh_towardzero_test_data): Likewise.
7169 (sinh_downward_test_data): Likewise.
7170 (sinh_upward_test_data): Likewise.
7171 (tan_test_data): Likewise.
7172 (tan_tonearest_test_data): Likewise.
7173 (tan_towardzero_test_data): Likewise.
7174 (tan_downward_test_data): Likewise.
7175 (tan_upward_test_data): Likewise.
7176 (tanh_test_data): Likewise.
7177 (tgamma_test_data): Likewise.
7178 (y0_test_data): Likewise.
7179 (y1_test_data): Likewise.
7180 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7181 (special_real_inputs): Add pi/4.
7182 * sysdeps/i386/fpu/libm-test-ulps: Update.
7183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7184
eb5ad6b9
AZ
71852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7186
7187 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7188 "longjmp_target" static probes.
7189 (__longjmp): Rename to __longjmp_symbol.
7190 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7191 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7192 on which longjmp to generate.
7193 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7194 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7195 probe.
7196 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7197 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7198 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7199 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7200 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7201 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7203 __longjmp_symbol based on which __longjmp to generate.
7204 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7205 probe.
7206 (setjmp): Rename to setjmp_symbol.
7207 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7208 (_setjmp): Rename to _setjmp_symbol.
7209 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7210 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7211 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7212 which setjmp to generate.
7213 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7214 "longjmp_target" static probes.
7215
d136c6dc
SP
72162013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7217
9298ecba
SP
7218 * benchtests/README: Add note about output arguments.
7219 * benchtests/bench-sincos.c: Remove file.
7220 * benchtests/sincos-inputs: New file.
7221 * scripts/bench.pl: Identify output arguments and define
7222 static variables for them.
7223
232983e9
SP
7224 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7225
d136c6dc
SP
7226 [BZ #15941]
7227 * Makefile (INSTALL): Add install-plain.texi as the primary
7228 dependency.
7229 * manual/install-plain.texi: New file.
7230 * manual/install.texi: Include node directive only for
7231 non-plaintext output.
7232
699ff837
JM
72332013-12-04 Joseph Myers <joseph@codesourcery.com>
7234
ab07cea8
JM
7235 * stdlib/longlong.h: Update from GCC.
7236
699ff837
JM
7237 [BZ #6807]
7238 [BZ #15901]
7239 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7240 * math/w_j0f.c (y0f): Likewise.
7241 * math/w_j0l.c (__y0l): Likewise.
7242 * math/w_j1.c (y1): Likewise.
7243 * math/w_j1f.c (y1f): Likewise.
7244 * math/w_j1l.c (__y1l): Likewise
7245 * math/w_jn.c (yn): Likewise.
7246 * math/w_jnf.c (ynf): Likewise.
7247 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7248 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7249 value for Bessel function domain errors outside _SVID_ mode.
7250 Adjust sign of return value for yn (negative integer, 0).
7251 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7252 by zero in return for negative x and set sign appropriately for
7253 negative n.
7254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7255 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7256 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7257 expectations in error cases.
7258 (y1_test_data): Likewise.
7259 (yn_test_data): Likewise.
7260 * sysdeps/i386/fpu/libm-test-ulps: Update.
7261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7262
5b118558
UW
72632013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7264
7265 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7266 "64" to "64-v1". Add "64-v2".
7267 (abi-64-options): Rename to ...
7268 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7269 (abi-64-condition): Rename to ...
7270 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7271 (abi-64-ld-soname): Rename to ...
7272 (abi-64-v1-ld-soname): ... this.
7273 (abi-64-v2-options): Define.
7274 (abi-64-v2-condition): Likewise.
7275 (abi-64-v2-ld-soname): Likewise.
7276 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7277 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7281
61cd8fe4
UW
72822013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7283 Alan Modra <amodra@gmail.com>
7284
7285 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7286 New versions for use with the ELFv2 ABI.
7287 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7288 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7289 declaration.
7290 (struct La_ppc64v2_retval): Likewise.
7291 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7292 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7293 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7294 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7295 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7296 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7297 Do not save or restore CR.
7298 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7299 (_dl_profile_resolve): Do no save or restore CR. Support extended
7300 return values for ELFv2 ABI. Fix location of FPR return registers.
7301 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7302 updated values for _CALL_ELF == 2.
7303 (La_regs, La_retval, int_retval): Likewise.
7304
8b8a692c
UW
73052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7306
7307 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7308 (FRAME_MIN_SIZE_PARM): Likewise.
7309 (FRAME_BACKCHAIN): Likewise.
7310 (FRAME_CR_SAVE): Likewise.
7311 (FRAME_LR_SAVE): Likewise.
7312 (FRAME_TOC_SAVE): Likewise.
7313 (FRAME_PARM_SAVE): Likewise.
7314 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7315 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7316 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7317 (call_mcount_parm_offset): New macro.
7318 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7319 (PROF): Use symbolic stack frame offsets.
7320 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7321 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7322 Redefine in terms of FRAME_MIN_SIZE.
7323 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7324 (_dl_profile_resolve): Likewise. Update comment.
7325 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7326 symbols stack frame offsets.
7327 (__sigsetjmp): Likewise.
7328 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7329 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7330 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7331 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7332
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7334 (FRAME_BACKCHAIN): Remove.
7335 (FRAME_CR_SAVE): Likewise.
7336 (FRAME_LR_SAVE): Likewise.
7337 (FRAME_COMPILER_DW): Likewise.
7338 (FRAME_LINKER_DW): Likewise.
7339 (FRAME_TOC_SAVE): Likewise.
7340 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7341 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7342 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7343 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7345 (CHECK_SP): Use symbolic stack frame offsets.
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7347 zone" instead of caller's parameter save area for temp storage.
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7349 Likewise. Also, use symbolic stack frame offsets.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7351 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7352 our own stack frame instead of the caller's.
7353 (__socket): Use symbolic stack frame offsets.
7354
122b66de
UW
73552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7356 Alan Modra <amodra@gmail.com>
7357
7358 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7359 Define.
57f41c40
AS
7360 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7361 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7362 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7363 New function.
7364 (elf_machine_fixup_plt): Call it.
7365 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7366 reloc arguments.
7367 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7369 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7370 r2 before calling target.
7371
696caf1d
UW
73722013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7373 Alan Modra <amodra@gmail.com>
7374
7375 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7376 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7377 versions of macros to support ELFv2 ABI.
7378 (LOCALENTRY): New macro.
7379 (ENTRY, EALIGN): Use it.
7380 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7381 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7382 fall through into ENTRY entry point.
7383 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7384 Only define if _CALL_ELF != 2.
7385
7386 (elf_machine_matches_host): Verify ABI version matches.
7387 (RTLD_START): Use LOCALENTRY.
7388 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7389 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7390 (PLT_ENTRY_WORDS): New macro.
7391 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7392 (elf_machine_runtime_setup): Support ELFv2 ABI.
7393 (elf_machine_fixup_plt): Likewise.
7394 (elf_machine_plt_conflict): Likewise.
7395 (resolve_ifunc): Likewise.
7396 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7398 Likewise.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7400 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7402 (makecontext): Support ELFv2 ABI.
7403 * elf/elf.h (EF_PPC64_ABI): Define.
7404
d31beafa
UW
74052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7406
57f41c40
AS
7407 * sysdeps/powerpc/powerpc64/sysdep.h
7408 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7409 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7410 (ENTRY) [ASSEMBLER]: ... but instead here ...
7411 (EALIGN) [ASSEMBLER]: ... and here.
7412 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7413 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7414 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7415 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7416 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7417 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7418 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7419 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7421 Use PPC64_LOAD_FUNCPTR.
7422
b525166b
UW
7423 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7424
7ec07d9a
AM
74252013-12-04 Alan Modra <amodra@gmail.com>
7426
7427 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7428 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7429 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7430 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7431
7432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7433 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7434 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7435 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7436 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7437 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7438
5162e7dd
UW
74392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7440
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7442 (__makecontext): Fix incorrect CFI when backtracing out of
7443 context created via makecontext.
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7445 (__setcontext): Fix incorrect CFI during switch to new context.
7446 (__novec_setcontext): Likewise.
7447
19e3372b
OB
74482013-12-04 Ondřej Bílka <neleai@seznam.cz>
7449
7450 [BZ #4772]
7451 * time/strptime_l.c (__strptime_internal): Allow modifiers
7452 in strptime.
7453 * time/tst-strptime.c (day_tests): Add testcase.
7454
ecaf142d
SP
74552013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7456
7457 * scripts/bench.pl: Skip over blank lines.
7458
fbf964ae
PE
74592013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7460
7461 [BZ #926]
7462 * manual/time.texi (Calendar Time): Clarify what timezone functions
7463 use.
7464
fa60a674
AZ
74652013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7466
7467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7468
d674f0ef
OB
74692013-12-04 Ondřej Bílka <neleai@seznam.cz>
7470
7471 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7472 implementation.
7473 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7474 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7475 * debug/memset_chk.c (__memset_chk): Likewise.
7476 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7477 * debug/strncpy_chk.c: Likewise.
7478
17dea188
JM
74792013-12-03 Joseph Myers <joseph@codesourcery.com>
7480
749008ff
JM
7481 [BZ #15268]
7482 [BZ #15425]
7483 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7484 (__ieee754_exp): For possibly underflowing results, check size of
7485 result and force underflow exception if required.
7486 * math/auto-libm-test-in: Add more tests of exp.
7487 * math/auto-libm-test-out: Regenerated.
7488 * sysdeps/i386/fpu/libm-test-ulps: Update.
7489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7490
17dea188
JM
7491 [BZ #16283]
7492 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7493 * math/w_exp2f.c (__exp2f): Likewise.
7494 * math/w_exp2l.c (__exp2l): Likewise.
7495 * math/auto-libm-test-in: Do not allow missing errno on exp2
7496 underflow.
7497 * math/auto-libm-test-out: Regenerated.
7498
b20de2c3
OB
74992013-12-03 Ondřej Bílka <neleai@seznam.cz>
7500
7501 [BZ #16274]
7502 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7503 handle filename validation.
7504 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7505 (do_open): Delete.
7506
d8e2dbe3
JM
75072013-12-03 Joseph Myers <joseph@codesourcery.com>
7508
34e16df5
JM
7509 [BZ #6786]
7510 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7511 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7512 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7513 <float.h>.
7514 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7516 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7518 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7519 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7520 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7521 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7522 Add more erfc tests.
7523 * math/auto-libm-test-out: Regenerated.
7524 * sysdeps/i386/fpu/libm-test-ulps: Update.
7525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7526
d8e2dbe3
JM
7527 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7528 exp2, expm1, j0 and j1.
7529 * math/auto-libm-test-out: Regenerated.
7530 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7531 (erfc_test_data): Likewise.
7532 (exp_test_data): Likewise.
7533 (exp_tonearest_test_data): Likewise.
7534 (exp_towardzero_test_data): Likewise.
7535 (exp_downward_test_data): Likewise.
7536 (exp_upward_test_data): Likewise.
7537 (exp10_test_data): Likewise.
7538 (exp2_test_data): Likewise.
7539 (expm1_test_data): Likewise.
7540 (j0_test_data): Likewise.
7541 (j1_test_data): Likewise.
7542 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7543 (input_flag_type): Add flag_xfail_rounding.
7544 (input_flags): Add xfail-rounding.
7545 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7546 (output_for_one_input_case): Handle flag_xfail_rounding.
7547 * sysdeps/i386/fpu/libm-test-ulps: Update.
7548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7549
18d14251
AJ
75502013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7551
3d2e6075 7552 [BZ #16289]
18d14251
AJ
7553 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7554 division by 0.
7555
520d437b
SP
75562013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7557
7558 [BZ #16195]
7559 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7560 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7561 (STAP_PROBE0): New macro.
7562 (STAP_PROBE1): Likewise.
7563 (STAP_PROBE2): Likewise.
7564 (STAP_PROBE3): Likewise.
7565 (STAP_PROBE4): Likewise.
7566
416e0145
OB
75672013-12-02 Ondřej Bílka <neleai@seznam.cz>
7568
7569 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7570
9d17796a
SE
75712013-12-02 Steve Ellcey <sellcey@mips.com>
7572
7573 * benchtests/Makefile (bench): Add sqrt.
7574 (LDLIBS-bench-sqrt): New.
7575 * benchtests/sqrt-input: New.
7576
f524d6a8
PS
75772013-12-02 Pavel Simerda <psimerda@redhat.com>
7578
639a0ef8
PS
7579 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7580 (GAIH_EAI): Likewise.
7581 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7582 (gaih_inet): Likewise.
7583 (getaddrinfo): Don't use GAIH_EAI.
7584
f524d6a8
PS
7585 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7586 (struct gaih): Remove definition.
7587
df3aedaf
SP
75882013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7589
7590 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7591 Use HERRNOP directly.
7592
1ab19dec
AZ
75932013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7594
b42ad38d 7595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7596
176b0c79
JM
75972013-11-30 Joseph Myers <joseph@codesourcery.com>
7598
7599 * math/gen-auto-libm-tests.c (test_functions): Add more
7600 single-argument functions.
7601 (special_fill_pi_2): New function.
7602 (special_fill_minus_pi_2): Likewise.
7603 (special_fill_pi_6): Likewise.
7604 (special_fill_minus_pi_6): Likewise.
7605 (special_fill_pi_3): Likewise.
7606 (special_fill_2pi_3): Likewise.
7607 (special_fill_e): Likewise.
7608 (special_fill_1_e): Likewise.
7609 (special_fill_e_minus_1): Likewise.
7610 (special_real_inputs): Add more special inputs.
7611 (output_for_one_input_case): Do not require ERANGE on underflow to
7612 zero if round-to-nearest result does not underflow to zero, unless
7613 exact results required.
7614 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7615 atan, atanh, cbrt, cos and cosh.
7616 * math/auto-libm-test-out: Regenerated.
7617 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7618 (acos_tonearest_test_data): Likewise.
7619 (acos_towardzero_test_data): Likewise.
7620 (acos_downward_test_data): Likewise.
7621 (acos_upward_test_data): Likewise.
7622 (acosh_test_data): Likewise.
7623 (asin_test_data): Likewise.
7624 (asin_tonearest_test_data): Likewise.
7625 (asin_towardzero_test_data): Likewise.
7626 (asin_upward_test_data): Likewise.
7627 (asinh_test_data): Likewise.
7628 (atan_test_data): Likewise.
7629 (atanh_test_data): Likewise.
7630 (cbrt_test_data): Likewise.
7631 (cos_test_data): Likewise.
7632 (cos_tonearest_test_data): Likewise.
7633 (cos_towardzero_test_data): Likewise.
7634 (cos_downward_test_data): Likewise.
7635 (cos_upward_test_data): Likewise.
7636 (cosh_test_data): Likewise.
7637 (cosh_tonearest_test_data): Likewise.
7638 (cosh_towardzero_test_data): Likewise.
7639 (cosh_downward_test_data): Likewise.
7640 (cosh_upward_test_data): Likewise.
7641 * sysdeps/i386/fpu/libm-test-ulps: Update.
7642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7643
ffb536d0
JM
76442013-11-29 Joseph Myers <joseph@codesourcery.com>
7645
2a77a467
JM
7646 [BZ #6787]
7647 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7648 * math/w_exp10f.c (__exp10f): Likewise.
7649 * math/w_exp10l.c (__exp10l): Likewise.
7650 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7651 errno settings in existing tests.
7652
ea3bc4e8
JM
7653 [BZ #14032]
7654 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7655 precision control set to double precision.
7656 * sysdeps/i386/fpu/w_sqrt.c: New file.
7657 * math/auto-libm-test-in: Add more tests.
7658 * math/auto-libm-test-out: Update.
7659
0712c9d8
JM
7660 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7661 (sqrt_test_tonearest): New function.
7662 (sqrt_towardzero_test_data): New variable.
7663 (sqrt_test_towardzero): New function.
7664 (sqrt_downward_test_data): New variable.
7665 (sqrt_test_downward): New function.
7666 (sqrt_upward_test_data): New variable.
7667 (sqrt_test_upward): New function.
7668 (main): Call the new functions.
7669
ffb536d0
JM
7670 * math/gen-auto-libm-tests.c: New file.
7671 * math/auto-libm-test-in: Likewise.
7672 * math/auto-libm-test-out: New generated file.
7673 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7674 variables.
7675 (%beautify): Add generated representations of zero.
7676 (top level): Set $auto_input and call parse_auto_input.
7677 (beautify): Remove trailing "f" from hex float constants.
7678 (parse_args): Handle XFAIL_TEST.
7679 (convert_condition): New function.
7680 (or_value): Likewise.
7681 (or_cond_value): Likewise.
7682 (generate_testfile): Handle AUTO_TESTS_* lines.
7683 (parse_auto_input): New function.
7684 * math/libm-test.inc (XFAIL_TEST): New macro.
7685 (ERRNO_UNCHANGED): Update value.
7686 (ERRNO_EDOM): Likewise.
7687 (ERRNO_ERANGE): Likewise.
7688 (IGNORE_RESULT): Likewise.
7689 (TEST_COND_flt_32): New macro.
7690 (TEST_COND_dbl_64): Likewise.
7691 (TEST_COND_ldbl_96_intel): Likewise.
7692 (TEST_COND_ldbl_96_m68k): Likewise.
7693 (TEST_COND_ldbl_128): Likewise.
7694 (TEST_COND_ldbl_128ibm): Likewise.
7695 (TEST_COND_long32): Likewise.
7696 (TEST_COND_long64): Likewise.
7697 (TEST_COND_before_rounding): Likewise.
7698 (TEST_COND_after_rounding): Likewise.
7699 (enable_test): Handle XFAIL_TEST flag.
7700 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7701 with finite results.
7702 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7703 auto-libm-test-out.
7704
acd98a8e
AK
77052013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7706 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7707
7708 [BZ #16214]
7709 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7710 __tls_get_addr_internal instead of __tls_get_offset in order to
7711 avoid GOT pointer dependency. Make rtld export
7712 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7713 __tls_get_addr since we are a __tls_get_offset platform.
7714 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7715 GOT pointer being set up before.
7716 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7717
3c1c46a6
JM
77182013-11-28 Joseph Myers <joseph@codesourcery.com>
7719
7475aef5
JM
7720 * manual/math.texi (Errors in Math Functions): Document accuracy
7721 goals.
7722
8bca7cd8
JM
7723 [BZ #15004]
7724 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7725 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7727 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7728 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7729 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7730 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7731 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7732 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7733 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7734 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7735 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7739 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7740
91a1f3fe
JM
7741 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7742 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7743 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7744 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7745 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7746 Likewise.
7747 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7748 Likewise.
7749 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7750 Likewise.
7751 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7752 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7753 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7754 atomic-feupdateenv and flt-rounds.
7755 * sysdeps/powerpc/nofpu/Versions (libc): Add
7756 __atomic_feholdexcept, __atomic_feclearexcept,
7757 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7758 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7759 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7760 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7761 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7762 here.
7763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7764 Update.
7765
c5df7609
JM
7766 * manual/arith.texi (FP Exceptions): Document that exceptions may
7767 not be raised when matherr is used.
7768 (Math Error Reporting): Document overflow in directed rounding
7769 modes. Document that errno may not be set when finite values are
7770 returned on overflow. Document intent to set errno on underflow
7771 only for underflow to zero.
7772
3c1c46a6
JM
7773 [BZ #16271]
7774 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7775 round-to-nearest then adjust result for other rounding modes.
7776 * include/fenv.h (fegetround): Use libm_hidden_proto.
7777 * math/fegetround.c (fegetround): Use libm_hidden_def.
7778 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7779 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7780 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7781 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7782 Likewise.
7783 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7784 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7785 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7786 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7787
5a4c6d53
SP
77882013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7789
7790 [BZ #16077]
7791 * nss/Versions (libnss_files): Add
7792 _nss_files_gethostbyname3_r.
7793 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7794 New function.
7795 (HOST_DB_LOOKUP): Remove macro.
7796 (_nss_files_gethostbyname_r): Implement function without the
7797 HOST_DB_LOOKUP macro.
7798 (_nss_files_gethostbyname2_r): Likewise.
7799
897b98ba
OB
78002013-11-28 Ondřej Bílka <neleai@seznam.cz>
7801
7802 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7803
6f476861
UB
78042013-11-26 Uros Bizjak <ubizjak@gmail.com>
7805
7806 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7807 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7808 warning.
7809
bd12ab55
AZ
78102013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7811
7812 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7813 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7814 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7815 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7816 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7817 __fe_nomask_env_priv and attribute_hidden.
7818 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7819 (libc_feupdateenv_test_ppc): Likewise.
7820 (libc_feresetround_ppc): Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7822 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7823 compat_symbol macro.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7825 (__fe_nomask_env): Likewise.
7826 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7827
52bb6543
OB
78282013-11-26 Ondřej Bílka <neleai@seznam.cz>
7829
7830 * string/Makefile: Remove ifunc tests.
7831 * string/test-string.h: Define TEST_IFUNC.
7832 * string/test-bcopy-ifunc.c: Remove.
7833 * string/test-bzero-ifunc.c: Likewise.
7834 * string/test-memccpy-ifunc.c: Likewise.
7835 * string/test-memchr-ifunc.c: Likewise.
7836 * string/test-memcmp-ifunc.c: Likewise.
7837 * string/test-memcpy-ifunc.c: Likewise.
7838 * string/test-memmem-ifunc.c: Likewise.
7839 * string/test-memmove-ifunc.c: Likewise.
7840 * string/test-mempcpy-ifunc.c: Likewise.
7841 * string/test-memrchr-ifunc.c: Likewise.
7842 * string/test-memset-ifunc.c: Likewise.
7843 * string/test-rawmemchr-ifunc.c: Likewise.
7844 * string/test-stpcpy-ifunc.c: Likewise.
7845 * string/test-stpncpy-ifunc.c: Likewise.
7846 * string/test-strcasecmp-ifunc.c: Likewise.
7847 * string/test-strcasestr-ifunc.c: Likewise.
7848 * string/test-strcat-ifunc.c: Likewise.
7849 * string/test-strchr-ifunc.c: Likewise.
7850 * string/test-strchrnul-ifunc.c: Likewise.
7851 * string/test-strcmp-ifunc.c: Likewise.
7852 * string/test-strcpy-ifunc.c: Likewise.
7853 * string/test-strcspn-ifunc.c: Likewise.
7854 * string/test-strlen-ifunc.c: Likewise.
7855 * string/test-strncasecmp-ifunc.c: Likewise.
7856 * string/test-strncat-ifunc.c: Likewise.
7857 * string/test-strncmp-ifunc.c: Likewise.
7858 * string/test-strncpy-ifunc.c: Likewise.
7859 * string/test-strnlen-ifunc.c: Likewise.
7860 * string/test-strpbrk-ifunc.c: Likewise.
7861 * string/test-strrchr-ifunc.c: Likewise.
7862 * string/test-strspn-ifunc.c: Likewise.
7863 * string/test-strstr-ifunc.c: Likewise.
7864
ab260039 78652013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7866
7867 * benchtests/Makefile: Remove ifunc tests.
7868 * benchtests/bench-string.h: Define TEST_IFUNC.
7869 * benchtests/bench-bcopy-ifunc.c: Remove.
7870 * benchtests/bench-bzero-ifunc.c: Likewise.
7871 * benchtests/bench-memccpy-ifunc.c: Likewise.
7872 * benchtests/bench-memchr-ifunc.c: Likewise.
7873 * benchtests/bench-memcmp-ifunc.c: Likewise.
7874 * benchtests/bench-memcpy-ifunc.c: Likewise.
7875 * benchtests/bench-memmem-ifunc.c: Likewise.
7876 * benchtests/bench-memmove-ifunc.c: Likewise.
7877 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7878 * benchtests/bench-memrchr-ifunc.c: Likewise.
7879 * benchtests/bench-memset-ifunc.c: Likewise.
7880 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7881 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7882 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7883 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7884 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7885 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7886 * benchtests/bench-strcat-ifunc.c: Likewise.
7887 * benchtests/bench-strchr-ifunc.c: Likewise.
7888 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7889 * benchtests/bench-strcmp-ifunc.c: Likewise.
7890 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7891 * benchtests/bench-strcpy-ifunc.c: Likewise.
7892 * benchtests/bench-strcspn-ifunc.c: Likewise.
7893 * benchtests/bench-strlen-ifunc.c: Likewise.
7894 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7895 * benchtests/bench-strncat-ifunc.c: Likewise.
7896 * benchtests/bench-strncmp-ifunc.c: Likewise.
7897 * benchtests/bench-strncpy-ifunc.c: Likewise.
7898 * benchtests/bench-strnlen-ifunc.c: Likewise.
7899 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7900 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7901 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7902 * benchtests/bench-strspn-ifunc.c: Likewise.
7903 * benchtests/bench-strstr-ifunc.c: Likewise.
7904
79052013-11-26 Ondřej Bílka <neleai@seznam.cz>
7906
ab260039
OB
7907 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7908
d1d9eaf4 79092013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7910
d1d9eaf4
OB
7911 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7912 * rt/aio.h: Likewise.
7913 * sysdeps/gnu/bits/utmp.h: Likewise.
7914 * sysdeps/gnu/bits/utmpx.h: Likewise.
7915 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7916 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7917 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7918 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7919 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7920 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7921 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7922 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7923 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7924 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7925 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7926 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7930 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7931 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7932 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7933 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7934 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7935 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7936 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7937 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7938 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7939 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7941 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7944 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7945 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7946 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7947 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7948 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7950 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7951 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7952 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7953 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7954 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7955 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7956 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7957
a7624ed9
CD
79582013-11-25 Carlos O'Donell <carlos@redhat.com>
7959
7960 [BZ #16245]
7961 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7962 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7963
63cfe52b
JM
79642013-11-25 Joseph Myers <joseph@codesourcery.com>
7965
7966 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7967 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7968 Likewise.
7969
41e8926a
AZ
79702013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7971
7972 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7973 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7974 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7975 (__fesetround): Remove define.
7976 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7977 rounding and exceptions handling.
7978 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7979 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7980 (__fe_nomask_env): Likewise.
7981 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7982 __fegetround instead of fegetround.
7983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7984 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7985
6851bd4d
RM
79862013-11-21 Roland McGrath <roland@hack.frob.com>
7987
070906ff
RM
7988 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7989 it's there.
7990
6851bd4d
RM
7991 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7992
84ae135d
MI
79932013-11-21 Meador Inge <meadori@codesourcery.com>
7994
7995 [BZ #11157]
7996 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7997 (encrypt_r): Likewise.
7998 * malloc/obstack.h (obstack_free): Likewise.
7999 * posix/unistd.h (encrypt): Likewise.
8000
daf75146
GM
80012013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8002
8003 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8004 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8005 DL_CALL_DT_FINI() that call the functions directly.
8006 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8007 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8008 * elf/dl-fini.c: Likewise.
8009
10ad46bc
OB
80102013-11-20 Ondřej Bílka <neleai@seznam.cz>
8011
8012 * malloc/hooks.c (memalign_check): Add alignment rounding.
8013 * malloc/malloc.c (_mid_memalign): New function.
8014 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8015 Implement by calling _mid_memalign.
8016 * manual/probes.texi (Memory Allocation Probes): Remove
8017 memory_valloc_retry and memory_pvalloc_retry.
8018
f3fd2628
SP
80192013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8020
4712799f
SP
8021 * locale/programs/locarchive.c (open_archive): Add const
8022 qualifier to ARCHIVEFNAME and copy default fname to
8023 DEFAULT_FNAME.
8024
0417b20f
SP
8025 [BZ #15601]
8026 * libio/tst-widetext.input: Rename Oriya to Odia.
8027 * locale/iso-639.def: Likewise.
8028
f3fd2628
SP
8029 * manual/probes.texi (Mathematical Function Probes): Add
8030 documentation for sin, cos, asin and acos probes.
8031 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8032 (__sin32): Add slowasin probe.
8033 (__cos32): Add slowacos probe.
8034 (__mpsin): Add slowsin probe.
8035 (__mpcos): Add slowcos probe.
8036
73c1ce4f
JM
80372013-11-19 Joseph Myers <joseph@codesourcery.com>
8038
8039 [BZ #15483]
8040 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8041 thread-local __sim_exceptions_thread and global
8042 __sim_exceptions_global.
8043 (__sim_disabled_exceptions): Change to thread-local
8044 __sim_disabled_exceptions_thread and global
8045 __sim_disabled_exceptions_global.
8046 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8047 and global __sim_round_mode_global.
8048 (__simulate_exceptions): Use thread-local floating-point state and
8049 set global state from it as needed.
8050 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8051 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8052 __sim_round_mode_thread.
8053 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8054 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8055 and global __sim_exceptions_global.
8056 (__sim_disabled_exceptions): Change to thread-local
8057 __sim_disabled_exceptions_thread and global
8058 __sim_disabled_exceptions_global.
8059 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8060 and global __sim_round_mode_global.
8061 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8062 (SIM_SET_GLOBAL): Likewise.
8063 * sysdeps/powerpc/soft-fp/sfp-machine.h
8064 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8065 __sim_round_mode_thread.
8066 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8067 __sim_disabled_exceptions_thread.
8068 (__sim_exceptions): Change to __sim_exceptions_thread.
8069 (__sim_disabled_exceptions): Change to
8070 __sim_disabled_exceptions_thread.
8071 (__sim_round_mode): Change to __sim_round_mode_thread.
8072 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8073 thread-local floating-point state and set global state from it as
8074 needed.
8075 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8076 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8077 (__sim_disabled_exceptions): Remove extern declaration.
8078 (feenableexcept): Use thread-local floating-point state and set
8079 global state from it as needed.
8080 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8081 extern declaration.
8082 (__sim_disabled_exceptions): Likewise.
8083 (__sim_round_mode): Likewise.
8084 (__fegetenv): Use thread-local floating-point state.
8085 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8086 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8087 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8088 floating-point state and set global state from it as needed.
8089 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8090 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8091 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8092 Likewise.
8093 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8094 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8095 Likewise.
8096 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8097 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8098 Use __sim_round_mode_thread.
8099 * math/test-fenv-tls.c: New file.
8100 * math/Makefile (tests): Add test-fenv-tls.
8101 ($(objpfx)test-fenv-tls): Depend on
8102 $(common-objpfx)nptl/libpthread.so.
8103
b5449b12
AS
81042013-11-19 Andreas Schwab <schwab@suse.de>
8105
8106 * locale/programs/locale.c (show_info): Decode wordarray elements.
8107 * locale/categories.def (LC_MONETARY): Add element for
8108 _NL_MONETARY_CRNCYSTR.
8109 * locale/C-monetary.c (conversion_rate): New variable.
8110 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8111 element.
8112
e186536b
CM
81132013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8114
8115 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8116 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8117
5c349950
PP
81182013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8119
8120 * elf/Makefile (tst-auxv): New test.
8121 * elf/tst-auxv.c: New
8122 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8123
699df45b
JM
81242013-11-18 Joseph Myers <joseph@codesourcery.com>
8125
8126 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8127 (hidden_proto): Caller changed.
8128 (hidden_tls_proto): New macro.
8129 (libc_hidden_tls_proto): Likewise.
8130 (rtld_hidden_tls_proto): Likewise.
8131 (libm_hidden_tls_proto): Likewise.
8132 (libresolv_hidden_tls_proto): Likewise.
8133 (librt_hidden_tls_proto): Likewise.
8134 (libdl_hidden_tls_proto): Likewise.
8135 (libnss_files_hidden_tls_proto): Likewise.
8136 (libnsl_hidden_tls_proto): Likewise.
8137 (libnss_nisplus_hidden_tls_proto): Likewise.
8138 (libutil_hidden_tls_proto): Likewise.
8139
b7589107
OB
81402013-11-18 Ondřej Bílka <neleai@seznam.cz>
8141
8142 [BZ #10253]
8143 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8144 (decompose_rpath): Defer expansion to fillin_rpath.
8145 (_dl_init_paths): Pass linkmap to fillin_rpath.
8146
250c23bd
RS
81472013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8148
8149 * benchtests/Makefile: Add strsep.
8150 * benchtests/bench-strsep.c: New file: strsep benchtest.
8151 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8152
a7931fcf
AS
81532013-11-18 Andreas Schwab <schwab@suse.de>
8154
8155 * locale/programs/locale.c (show_info) [case byte]: Check for
8156 '\377' instead of '\177'.
8157 * locale/C-monetary.c (not_available): Always use "\377".
8158 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8159 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8160 detect unavailable sign_posn locale elements.
8161 * locale/localeconv.c (__localeconv): For grouping and
8162 mon_grouping handle "\177" and "\377" like no grouping.
8163 (INT_ELEM): New macro. Use it to set all numeric members.
8164 * locale/programs/ld-monetary.c (monetary_read)
8165 <tok_mon_grouping>: Normalize single -1 to the empty string.
8166 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8167 Likewise.
8168
728dab0e
OB
81692013-11-07 Ondřej Bílka <neleai@seznam.cz>
8170
8171 [BZ #16055]
8172 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8173 when we match (nil).
8174 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8175
66294491
JM
81762013-11-16 Joseph Myers <joseph@codesourcery.com>
8177
ce665817
JM
8178 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8179 (NO_TEST_INLINE): Update value.
8180 (ERRNO_UNCHANGED): Likewise.
8181 (ERRNO_EDOM): Likewise.
8182 (ERRNO_ERANGE): Likewise.
8183 (IGNORE_RESULT): Likewise.
8184 (check_float_internal): Check signs of NaN results if
8185 TEST_NAN_SIGN used.
8186 (check_complex): Pass TEST_NAN_SIGN flag through to second
8187 check_float_internal call.
8188 (copysign_test_data): Add tests with quiet NaNs as second
8189 argument. Use TEST_NAN_SIGN.
8190 (fabs_test_data): Add test of negative quiet NaN argument. Use
8191 TEST_NAN_SIGN.
8192 (signbit_test_data): Add tests of quiet NaN argument.
8193 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8194
ee1466a9
JM
8195 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8196 $ignore_result.
8197 (parse_args): Handle function results specified as IGNORE.
8198 * math/libm-test.inc (IGNORE_RESULT): New macro.
8199 (check_float_internal): Do not check numerical result if flag
8200 IGNORE_RESULT set.
8201 (check_complex): Pass through IGNORE_RESULT to second
8202 check_float_internal call.
8203 (check_int): Do not check numerical result if flag IGNORE_RESULT
8204 set.
8205 (check_long): Likewise.
8206 (check_bool): Likewise.
8207 (check_longlong): Likewise.
8208 (lrint_test_data): Add tests of infinite and NaN arguments.
8209 (lrint_tonearest_test_data): Likewise.
8210 (lrint_towardzero_test_data): Likewise.
8211 (lrint_downward_test_data): Likewise.
8212 (lrint_upward_test_data): Likewise.
8213 (llrint_test_data): Likewise.
8214 (llrint_tonearest_test_data): Likewise.
8215 (llrint_towardzero_test_data): Likewise.
8216 (llrint_downward_test_data): Likewise.
8217 (llrint_upward_test_data): Likewise.
8218 (lround_test_data): Likewise.
8219 (llround_test_data): Likewise.
8220
14407b7e
JM
8221 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8222 (ERRNO_UNCHANGED): Update value.
8223 (ERRNO_EDOM): Likewise.
8224 (ERRNO_ERANGE): Likewise.
8225 (NO_TEST_INLINE_FLOAT): New macro.
8226 (NO_TEST_INLINE_DOUBLE): Likewise.
8227 (enable_test): New function.
8228 (RUN_TEST_f_f): Check enable_test before running test.
8229 (RUN_TEST_2_f): Likewise.
8230 (RUN_TEST_fff_f): Likewise.
8231 (RUN_TEST_c_f): Likewise.
8232 (RUN_TEST_f_f1): Likewise.
8233 (RUN_TEST_fF_f1): Likewise.
8234 (RUN_TEST_fI_f1): Likewise.
8235 (RUN_TEST_ffI_f1): Likewise.
8236 (RUN_TEST_c_c): Likewise.
8237 (RUN_TEST_cc_c): Likewise.
8238 (RUN_TEST_f_i): Likewise.
8239 (RUN_TEST_f_i_tg): Likewise.
8240 (RUN_TEST_ff_i_tg): Likewise.
8241 (RUN_TEST_f_b): Likewise.
8242 (RUN_TEST_f_b_tg): Likewise.
8243 (RUN_TEST_f_l): Likewise.
8244 (RUN_TEST_f_L): Likewise.
8245 (RUN_TEST_fFF_11): Likewise.
8246 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8247 conditionals.
8248 (cosh_test_data): Likewise.
8249 (exp_test_data): Likewise.
8250 (expm1_test_data): Likewise.
8251 (hypot_test_data): Likewise.
8252 (pow_test_data): Likewise.
8253 (sinh_test_data): Likewise.
8254 (tanh_test_data): Likewise.
8255 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8256 flags argument.
8257
ca07f197
JM
8258 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8259 tests with quiet NaN input and output.
8260 (acosh_test_data): Likewise.
8261 (asin_test_data): Likewise.
8262 (asinh_test_data): Likewise.
8263 (atan_test_data): Likewise.
8264 (atanh_test_data): Likewise.
8265 (atan2_test_data): Likewise.
8266 (cbrt_test_data): Likewise.
8267 (cos_test_data): Likewise.
8268 (cosh_test_data): Likewise.
8269 (erf_test_data): Likewise.
8270 (erfc_test_data): Likewise.
8271 (exp_test_data): Likewise.
8272 (exp10_test_data): Likewise.
8273 (exp2_test_data): Likewise.
8274 (expm1_test_data): Likewise.
8275 (hypot_test_data): Likewise.
8276 (j0_test_data): Likewise.
8277 (j1_test_data): Likewise.
8278 (jn_test_data): Likewise.
8279 (lgamma_test_data): Likewise.
8280 (log_test_data): Likewise.
8281 (log10_test_data): Likewise.
8282 (log1p_test_data): Likewise.
8283 (log2_test_data): Likewise.
8284 (pow_test_data): Likewise.
8285 (scalb_test_data): Likewise.
8286 (sin_test_data): Likewise.
8287 (sincos_test_data): Likewise.
8288 (sinh_test_data): Likewise.
8289 (tan_test_data): Likewise.
8290 (tanh_test_data): Likewise.
8291 (tgamma_test_data): Likewise.
8292 (y0_test_data): Likewise.
8293 (y1_test_data): Likewise.
8294 (yn_test_data): Likewise.
8295
66294491
JM
8296 [BZ #16167]
8297 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8298 argument being NaN and avoid computations with second argument in
8299 that case.
8300 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8301 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8302 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8303
1820b143
CL
83042013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8305
8306 * locale/iso-639.def: Add Chitwani Tharu (the).
8307
714bd261
AS
83082013-11-14 Andreas Schwab <schwab@suse.de>
8309
8310 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8311 word instead of empty string.
8312
7ab44563
AZ
83132013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8314
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8316 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8318 (__fe_nomask_env): Likewise.
8319
e8470ea2
SE
83202013-11-13 Steve Ellcey <sellcey@mips.com>
8321
8322 * benchtests/bench-timing.h: Include time.h.
8323
17c1d9f0
L
83242013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8325
8326 [BZ #15997]
8327 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8328 to 3.4.0 for x32.
8329 * sysdeps/unix/sysv/linux/configure: Regenerated.
8330
9310c284
JM
83312013-11-13 Joseph Myers <joseph@codesourcery.com>
8332
8333 [BZ #16151]
8334 * stdlib/strtod_l.c (round_and_return): Do not consider
8335 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8336 exponent one less than half the least subnormal exponent.
8337 * stdlib/test-strtod-round-data: Add more tests.
8338 * stdlib/tst-strtod-round.c (tests): Regenerated.
8339
7a2ad8cf
AZ
83402013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341
8342 [BZ #14143]
8343 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8344 (__fe_mask_env): Likewise.
8345 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8346 libm_hidden_proto and add function prototype.
8347 (__fe_mask_env): Add function prototype.
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8349 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8351 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8353 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8354
50727aa7
MS
83552013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8356
b2f386c1 8357 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8358 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8359
a615be46
MS
83602013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8361
8362 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8363 of htab_find_slot().
8364
7ddace62
DM
83652013-11-11 David S. Miller <davem@davemloft.net>
8366
8367 [BZ #16150]
8368 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8369 symbol in the non-vis3 case in static builds.
8370 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8371 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8372 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8373 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8374
9182aa67
JK
83752013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8376
8377 [BZ #387]
8378 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8379 it is empty.
8380
450a2e2d
AZ
83812013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8382
b2f386c1
SP
8383 * benchtests/Makefile: Add bench-strtod.
8384 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8385
8ec3f656
AS
83862013-11-11 Andreas Schwab <schwab@suse.de>
8387
8388 [BZ #16153]
8389 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8390 terminating NUL in key length.
8391
76a9b998
AZ
83922013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8393
8394 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8395 Add artificial ODP entry for vDSO symbol for PPC64.
8396 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8397 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8398
e4368156
OB
83992013-11-07 Ondřej Bílka <neleai@seznam.cz>
8400
8401 [BZ #15374]
8402 * nss/getent.c (services_keys): Recognize services starting with digit.
8403
8d6bb57c
DM
84042013-11-06 David S. Miller <davem@davemloft.net>
8405
8406 [BZ #15985]
8407 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8408 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8409
e256c421
WN
84102013-11-06 Will Newton <will.newton@linaro.org>
8411
8412 * manual/memory.texi (Malloc Examples): Remove register
8413 keyword from examples.
8414
f6e12daa 84152013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8416
f6e12daa 8417 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8418
9d880655
AS
84192013-11-04 Joseph Myers <joseph@codesourcery.com>
8420
fd2f9486 8421 [BZ #6981]
9d880655
AS
8422 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8423 depending on [__GCC_IEC_559 > 0].
8424 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8425 depending on [__GCC_IEC_559_COMPLEX > 0].
8426
ae129d3c
CL
84272013-11-03 Chris Leonard <cjl@sugarlabs.org>
8428
8429 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8430 to iso-639.def.
8431
4a15c2a4 84322013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8433
8434 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8435
8b35e35d
OB
84362013-11-01 Ondřej Bílka <neleai@seznam.cz>
8437
8438 [BZ #16112]
8439 * malloc/malloc (malloc_info): Do not handle first bin as
8440 special case.
8441
1d70fd6c
CL
84422013-11-01 Chris Leonard <cjl@sugarlabs.org>
8443
8444 * locale/iso-639.def: Add Central Nahuatl (nhn).
8445
8c5c2600
BH
84462013-11-01 Bruno Haible <bruno@clisp.org>
8447
8448 [BZ #7003]
8449 * manual/math.texi (BSD Random): Specify range upper bound as
8450 in POSIX.
8451
da5579c2
CL
84522013-10-31 Chris Leonard <cjl@sugarlabs.org>
8453
8454 * locale/iso-639.def: Add Meadow Mari (mhr).
8455
5d30d853
OB
84562013-10-31 Ondřej Bílka <neleai@seznam.cz>
8457
8458 [BZ #14752], [BZ #15763]
8459 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8460 Validate name.
8461 * rt/tst_shm.c: Add test for escaping directory.
8462
a4966c61
AS
84632013-10-31 Andreas Schwab <schwab@suse.de>
8464
8a43e768 8465 [BZ #15917]
a4966c61
AS
8466 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8467 followed by 'x' as part of digit sequence.
8468 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8469
28d708c4
MAP
84702013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8471
8472 [BZ #16037]
8473 * configure.ac: allow GNU Make 4.0 and greater.
8474 * configure: Regenerated.
8475
a56ee40b
WN
84762013-10-30 Will Newton <will.newton@linaro.org>
8477
8478 [BZ #16038]
8479 * malloc/hooks.c (memalign_check): Limit alignment to the
8480 maximum representable power of two.
8481 * malloc/malloc.c (__libc_memalign): Likewise.
8482 * malloc/tst-memalign.c (do_test): Add test for very
8483 large alignment values.
8484 * malloc/tst-posix_memalign.c (do_test): Likewise.
8485
c6e4925d
OB
84862013-10-30 Ondřej Bílka <neleai@seznam.cz>
8487
8488 [BZ #11087]
8489 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8490 (munmap_chunk): Likewise.
8491 (mremap_chunk): Likewise.
8492
84932013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8494
8a43e768 8495 [BZ #15799]
bbea82f7
OB
8496 * stdlib/div.c (div): Remove obsolete code.
8497 * stdlib/ldiv.c (ldiv): Likewise.
8498 * stdlib/lldiv.c (lldiv): Likewise.
8499
977f4b31
SP
85002013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8501
8502 [BZ #16071]
8503 * nss/nss_files/files-XXX.c (get_contents_ret): New
8504 enumerator.
8505 (get_contents): New function.
8506 (internal_getent): Use it. Expand size of LINEBUFLEN.
8507
cb8a6dbd
MF
85082013-10-30 Mike Frysinger <vapier@gentoo.org>
8509
8510 * configure.in: Moved to ...
8511 * configure.ac: ... here. Change reference to configure.in
8512 to configure.ac.
8513 * sysdeps/arm/preconfigure.ac: ... here.
8514 configure.in to configure.ac.
8515 * sysdeps/gnu/configure.in: Moved to ...
8516 * sysdeps/gnu/configure.ac: ... here.
8517 * sysdeps/i386/configure.in: Moved to ...
8518 * sysdeps/i386/configure.ac: ... here.
8519 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8520 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8521 * sysdeps/mach/configure.in: Moved to ...
8522 * sysdeps/mach/configure.ac: ... here.
8523 * sysdeps/mach/hurd/configure.in: Moved to ...
8524 * sysdeps/mach/hurd/configure.ac: ... here.
8525 * sysdeps/powerpc/configure.in: Moved to ...
8526 * sysdeps/powerpc/configure.ac: ... here.
8527 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8528 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8529 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8530 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8531 * sysdeps/s390/s390-32/configure.in: Moved to ...
8532 * sysdeps/s390/s390-32/configure.ac: ... here.
8533 * sysdeps/s390/s390-64/configure.in: Moved to ...
8534 * sysdeps/s390/s390-64/configure.ac: ... here.
8535 * sysdeps/sh/configure.in: Moved to ...
8536 * sysdeps/sh/configure.ac: ... here.
8537 * sysdeps/sparc/configure.in: Moved to ...
8538 * sysdeps/sparc/configure.ac: ... here.
8539 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8540 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8541 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8542 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8543 * sysdeps/x86_64/configure.in: Moved to ...
8544 * sysdeps/x86_64/configure.ac: ... here.
8545 * sysdeps/x86_64/preconfigure.in: Moved to ...
8546 * sysdeps/x86_64/preconfigure.ac: ... here.
8547 * aclocal.m4: Change reference to configure.in to configure.ac.
8548 * config.h.in: Likewise.
8549 * manual/install.texi: Likewise.
8550 * manual/maint.texi: Likewise.
8551 * Makefile: Likewise.
8552 * malloc/Makefile: Likewise.
8553 * nscd/Makefile: Likewise.
8554 * Makeconfig: Change reference to configure.in and
8555 preconfigure.in to configure.ac and preconfigure.ac
8556 respectively.
8557 * INSTALL: Regenerated.
8558 * configure: Likewise.
8559 * sysdeps/gnu/configure: Likewise.
8560 * sysdeps/i386/configure: Likewise.
8561 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8562 * sysdeps/mach/configure: Likewise.
8563 * sysdeps/mach/hurd/configure: Likewise.
8564 * sysdeps/powerpc/configure: Likewise.
8565 * sysdeps/powerpc/powerpc32/configure: Likewise.
8566 * sysdeps/powerpc/powerpc64/configure: Likewise.
8567 * sysdeps/s390/s390-32/configure: Likewise.
8568 * sysdeps/s390/s390-64/configure: Likewise.
8569 * sysdeps/sh/configure: Likewise.
8570 * sysdeps/sparc/configure: Likewise.
8571 * sysdeps/unix/sysv/linux/configure: Likewise.
8572 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8573 * sysdeps/x86_64/configure: Likewise.
8574 * sysdeps/x86_64/preconfigure: Likewise.
8575
36a4953a
AS
85762013-10-29 Andreas Schwab <schwab@suse.de>
8577
8578 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8579
c79a1204
SP
85802013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8581
dfa1b402
SP
8582 * benchtests/pow-inputs: Add new inputs.
8583
54f73d9c
SP
8584 * benchtests/exp-inputs: Add new inputs.
8585
c79a1204
SP
8586 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8587 conditional check for return value.
8588 (__cos32): Likewise.
8589
67beb545 85902013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8591
8592 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8593 to provide a boost for large inputs with word alignment.
8594 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8595 implementation based on optimized PPC64 strcpy.
8596 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8597 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8598 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8599 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8600
151659f6
OB
86012013-10-25 Ondřej Bílka <neleai@seznam.cz>
8602
482a077e 8603 [BZ #2801]
151659f6
OB
8604 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8605
10b0f26b
OB
86062013-10-25 Ondřej Bílka <neleai@seznam.cz>
8607
8608 [BZ #14876]
8609 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8610 * time/tst-strptime.c (day_tests): Add testcase.
8611
ca42d35e
OB
86122013-10-25 Ondřej Bílka <neleai@seznam.cz>
8613
482a077e 8614 [BZ #14029]
ca42d35e
OB
8615 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8616
52e6d801
FB
86172013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8618
8619 [BZ #16074]
8620 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8621 MAP_FAILED on error.
8622
7cbcdb36
SP
86232013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8624
8625 [BZ #16072]
8626 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8627 heap for large requests.
8628
894f3f10
AM
86292013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8630
8631 [BZ #9954]
8632 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8633 result if the result has no associated interface.
8634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8635 interface for all 127.X.Y.Z addresses.
8636
b85545a6
CL
86372013-10-24 Chris Leonard <cjl@sugarlabs.org>
8638
8639 * locale/iso-639.def: Add Ligurian (lij)
8640
d1f23d46
OB
86412013-10-21 Ondřej Bílka <neleai@seznam.cz>
8642
8643 [BZ #15825]
8644 * sunrpc/rpc_main.c: Document rpcgen -5.
8645
4db5b08f
MS
86462013-10-19 Michael Stahl <mstahl@redhat.com>
8647
8648 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8649
a471e96a
OB
86502013-10-19 Ondřej Bílka <neleai@seznam.cz>
8651
d1f23d46 8652 [BZ #10278]
a471e96a
OB
8653 * posix/glob.c: Match only directories when trailing slash is present.
8654 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8655 (main): Add testcase.
8656
45c30c61
OB
86572013-10-19 Ondřej Bílka <neleai@seznam.cz>
8658
8659 [BZ #15670]
8660 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8661
484c12fb
CD
86622013-10-18 Carlos O'Donell <carlos@redhat.com>
8663
3d7dc513
CD
8664 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8665 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8666 AUTH_DES and cindex for FIPS 140-2.
8667 (DES Encryption): Add cindex FIPS 46-3.
8668
484c12fb
CD
8669 * locale/locarchive.h (struct locarhandle): Add fname.
8670 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8671 if an optional argument was specified to --list-archive,
8672 otherwise NULL.
8673 * locale/programs/locarchive.c (show_archive_content): Take new
8674 argument fname and pass it via ah.fname to open_archive.
8675 * locale/programs/localedef.h: Update decl.
8676 (open_archive): If AH->fname is non-null, open that file
8677 rather than the default file name, and don't ignore ENOENT.
8678 (create_archive): Set AH.fname to NULL.
8679 (delete_locales_from_archive): Likewise.
8680 (add_locales_to_archive): Likewise.
8681 * locale/programs/locfile.c (write_all_categories): Likewise.
8682
3c8325fb
JM
86832013-10-18 Joseph Myers <joseph@codesourcery.com>
8684 Aldy Hernandez <aldyh@redhat.com>
8685
8686 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8687 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8688 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8689 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8690 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8691 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8692 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8693 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8694 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8695 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8696 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8697 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8698 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8699 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8700 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8701 Likewise.
8702 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8703 Likewise.
8704 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8705 Likewise.
8706 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8707 Likewise.
8708 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8709 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8710 Likewise.
8711 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8712 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8713 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8714 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8715 Likewise.
8716 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8718 * sysdeps/powerpc/preconfigure: Likewise.
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8720 Likewise.
8721 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8722 Replace contents of file by #include of <fenv_libc.h>.
8723 * sysdeps/powerpc/soft-fp/sfp-machine.h
8724 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8725 and <sys/prctl.h>.
8726 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8727 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8728 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8729 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8730 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8739 Allow copysignl PLT reference to be missing.
8740
5abe0682
RS
87412013-10-18 Richard Sandiford <richard@codesourcery.com>
8742 Joseph Myers <joseph@codesourcery.com
8743
8744 [BZ #15948]
8745 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8746 single character.
8747 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8748
c7738d08
SP
87492013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8750
8751 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8752 * elf/tst-tls1.c: Likewise.
8753 * elf/tst-tls10.h: Likewise.
8754 * elf/tst-tls14.c: Likewise.
8755 * elf/tst-tls2.c: Likewise.
8756 * elf/tst-tls3.c: Likewise.
8757 * elf/tst-tls4.c: Likewise.
8758 * elf/tst-tls5.c: Likewise.
8759 * elf/tst-tls6.c: Likewise.
8760 * elf/tst-tls7.c: Likewise.
8761 * elf/tst-tls8.c: Likewise.
8762 * elf/tst-tls9.c: Likewise.
8763 * elf/tst-tlsmod1.c: Likewise.
8764 * elf/tst-tlsmod13.c: Likewise.
8765 * elf/tst-tlsmod13a.c: Likewise.
8766 * elf/tst-tlsmod14a.c: Likewise.
8767 * elf/tst-tlsmod16a.c: Likewise.
8768 * elf/tst-tlsmod16b.c: Likewise.
8769 * elf/tst-tlsmod2.c: Likewise.
8770 * elf/tst-tlsmod3.c: Likewise.
8771 * elf/tst-tlsmod4.c: Likewise.
8772 * elf/tst-tlsmod5.c: Likewise.
8773 * elf/tst-tlsmod6.c: Likewise.
8774
0bfcf2c7
OB
87752013-10-18 Ondřej Bílka <neleai@seznam.cz>
8776
8777 [BZ #12486]
8778 * malloc/malloc.c: remove checks for statistics.
8779
264aad1e
OB
87802013-10-17 Ondřej Bílka <neleai@seznam.cz>
8781
8782 [BZ #15277]
8783 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8784 * inet/tst-network.c: Add testcase.
8785
b957ced8
AS
87862013-10-17 Andreas Schwab <schwab@suse.de>
8787
8788 [BZ #15218]
8789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8790 to determine canonical name.
8791
c5d5d574
OB
87922013-10-17 Ondřej Bílka <neleai@seznam.cz>
8793
8794 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8795 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8796 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8797 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8799 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8800 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8801 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8802 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8804 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8805 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8806 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8808 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8809 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8810 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8811 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8818 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8819 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8820 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8821 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8822 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8823 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8826 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8827 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8832 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8835 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8841 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8843 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8844 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8845 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8847 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8849 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8852
e5c2c2d0
JM
88532013-10-17 Joseph Myers <joseph@codesourcery.com>
8854
8855 [BZ #16041]
8856 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8857 make result into a quiet NaN.
8858
51ca9e29
JM
88592013-10-16 Joseph Myers <joseph@codesourcery.com>
8860
8861 * soft-fp/adddf3.c: Fix horizontal whitespace.
8862 * soft-fp/addsf3.c: Likewise.
8863 * soft-fp/addtf3.c: Likewise.
8864 * soft-fp/divdf3.c: Likewise.
8865 * soft-fp/divsf3.c: Likewise.
8866 * soft-fp/divtf3.c: Likewise.
8867 * soft-fp/double.h: Likewise.
8868 * soft-fp/eqdf2.c: Likewise.
8869 * soft-fp/eqsf2.c: Likewise.
8870 * soft-fp/eqtf2.c: Likewise.
8871 * soft-fp/extenddftf2.c: Likewise.
8872 * soft-fp/extended.h: Likewise.
8873 * soft-fp/extendsfdf2.c: Likewise.
8874 * soft-fp/extendsftf2.c: Likewise.
8875 * soft-fp/extendxftf2.c: Likewise.
8876 * soft-fp/fixdfdi.c: Likewise.
8877 * soft-fp/fixdfsi.c: Likewise.
8878 * soft-fp/fixdfti.c: Likewise.
8879 * soft-fp/fixsfdi.c: Likewise.
8880 * soft-fp/fixsfsi.c: Likewise.
8881 * soft-fp/fixsfti.c: Likewise.
8882 * soft-fp/fixtfdi.c: Likewise.
8883 * soft-fp/fixtfsi.c: Likewise.
8884 * soft-fp/fixtfti.c: Likewise.
8885 * soft-fp/fixunsdfdi.c: Likewise.
8886 * soft-fp/fixunsdfsi.c: Likewise.
8887 * soft-fp/fixunsdfti.c: Likewise.
8888 * soft-fp/fixunssfdi.c: Likewise.
8889 * soft-fp/fixunssfsi.c: Likewise.
8890 * soft-fp/fixunssfti.c: Likewise.
8891 * soft-fp/fixunstfdi.c: Likewise.
8892 * soft-fp/fixunstfsi.c: Likewise.
8893 * soft-fp/fixunstfti.c: Likewise.
8894 * soft-fp/floatdidf.c: Likewise.
8895 * soft-fp/floatdisf.c: Likewise.
8896 * soft-fp/floatditf.c: Likewise.
8897 * soft-fp/floatsidf.c: Likewise.
8898 * soft-fp/floatsisf.c: Likewise.
8899 * soft-fp/floatsitf.c: Likewise.
8900 * soft-fp/floattidf.c: Likewise.
8901 * soft-fp/floattisf.c: Likewise.
8902 * soft-fp/floattitf.c: Likewise.
8903 * soft-fp/floatundidf.c: Likewise.
8904 * soft-fp/floatundisf.c: Likewise.
8905 * soft-fp/floatunditf.c: Likewise.
8906 * soft-fp/floatunsidf.c: Likewise.
8907 * soft-fp/floatunsisf.c: Likewise.
8908 * soft-fp/floatunsitf.c: Likewise.
8909 * soft-fp/floatuntidf.c: Likewise.
8910 * soft-fp/floatuntisf.c: Likewise.
8911 * soft-fp/floatuntitf.c: Likewise.
8912 * soft-fp/fmadf4.c: Likewise.
8913 * soft-fp/fmasf4.c: Likewise.
8914 * soft-fp/fmatf4.c: Likewise.
8915 * soft-fp/gedf2.c: Likewise.
8916 * soft-fp/gesf2.c: Likewise.
8917 * soft-fp/getf2.c: Likewise.
8918 * soft-fp/ledf2.c: Likewise.
8919 * soft-fp/lesf2.c: Likewise.
8920 * soft-fp/letf2.c: Likewise.
8921 * soft-fp/muldf3.c: Likewise.
8922 * soft-fp/mulsf3.c: Likewise.
8923 * soft-fp/multf3.c: Likewise.
8924 * soft-fp/negdf2.c: Likewise.
8925 * soft-fp/negsf2.c: Likewise.
8926 * soft-fp/negtf2.c: Likewise.
8927 * soft-fp/op-1.h: Likewise.
8928 * soft-fp/op-2.h: Likewise.
8929 * soft-fp/op-4.h: Likewise.
8930 * soft-fp/op-8.h: Likewise.
8931 * soft-fp/op-common.h: Likewise.
8932 * soft-fp/quad.h: Likewise.
8933 * soft-fp/single.h: Likewise.
8934 * soft-fp/soft-fp.h: Likewise.
8935 * soft-fp/sqrtdf2.c: Likewise.
8936 * soft-fp/sqrtsf2.c: Likewise.
8937 * soft-fp/sqrttf2.c: Likewise.
8938 * soft-fp/subdf3.c: Likewise.
8939 * soft-fp/subsf3.c: Likewise.
8940 * soft-fp/subtf3.c: Likewise.
8941 * soft-fp/truncdfsf2.c: Likewise.
8942 * soft-fp/trunctfdf2.c: Likewise.
8943 * soft-fp/trunctfsf2.c: Likewise.
8944 * soft-fp/trunctfxf2.c: Likewise.
8945 * soft-fp/unorddf2.c: Likewise.
8946 * soft-fp/unordsf2.c: Likewise.
8947 * soft-fp/unordtf2.c: Likewise.
8948
9ebb0332
JM
89492013-10-15 Joseph Myers <joseph@codesourcery.com>
8950
8951 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8952 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8953
4b1a6d8b
OB
89542013-10-15 Ondřej Bílka <neleai@seznam.cz>
8955
8956 * elf/dl-libc.c: Clear initfini list after freeing.
8957
1e145589
JM
89582013-10-14 Joseph Myers <joseph@codesourcery.com>
8959
8960 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8961 * soft-fp/addsf3.c: Likewise.
8962 * soft-fp/addtf3.c: Likewise.
8963 * soft-fp/divdf3.c: Likewise.
8964 * soft-fp/divsf3.c: Likewise.
8965 * soft-fp/divtf3.c: Likewise.
8966 * soft-fp/double.h: Likewise.
8967 * soft-fp/eqdf2.c: Likewise.
8968 * soft-fp/eqsf2.c: Likewise.
8969 * soft-fp/eqtf2.c: Likewise.
8970 * soft-fp/extenddftf2.c: Likewise.
8971 * soft-fp/extended.h: Likewise.
8972 * soft-fp/extendsfdf2.c: Likewise.
8973 * soft-fp/extendsftf2.c: Likewise.
8974 * soft-fp/extendxftf2.c: Likewise.
8975 * soft-fp/fixdfdi.c: Likewise.
8976 * soft-fp/fixdfsi.c: Likewise.
8977 * soft-fp/fixdfti.c: Likewise.
8978 * soft-fp/fixsfdi.c: Likewise.
8979 * soft-fp/fixsfsi.c: Likewise.
8980 * soft-fp/fixsfti.c: Likewise.
8981 * soft-fp/fixtfdi.c: Likewise.
8982 * soft-fp/fixtfsi.c: Likewise.
8983 * soft-fp/fixtfti.c: Likewise.
8984 * soft-fp/fixunsdfdi.c: Likewise.
8985 * soft-fp/fixunsdfsi.c: Likewise.
8986 * soft-fp/fixunsdfti.c: Likewise.
8987 * soft-fp/fixunssfdi.c: Likewise.
8988 * soft-fp/fixunssfsi.c: Likewise.
8989 * soft-fp/fixunssfti.c: Likewise.
8990 * soft-fp/fixunstfdi.c: Likewise.
8991 * soft-fp/fixunstfsi.c: Likewise.
8992 * soft-fp/fixunstfti.c: Likewise.
8993 * soft-fp/floatdidf.c: Likewise.
8994 * soft-fp/floatdisf.c: Likewise.
8995 * soft-fp/floatditf.c: Likewise.
8996 * soft-fp/floatsidf.c: Likewise.
8997 * soft-fp/floatsisf.c: Likewise.
8998 * soft-fp/floatsitf.c: Likewise.
8999 * soft-fp/floattidf.c: Likewise.
9000 * soft-fp/floattisf.c: Likewise.
9001 * soft-fp/floattitf.c: Likewise.
9002 * soft-fp/floatundidf.c: Likewise.
9003 * soft-fp/floatundisf.c: Likewise.
9004 * soft-fp/floatunsidf.c: Likewise.
9005 * soft-fp/floatunsisf.c: Likewise.
9006 * soft-fp/floatuntidf.c: Likewise.
9007 * soft-fp/floatuntisf.c: Likewise.
9008 * soft-fp/floatuntitf.c: Likewise.
9009 * soft-fp/fmadf4.c: Likewise.
9010 * soft-fp/fmasf4.c: Likewise.
9011 * soft-fp/fmatf4.c: Likewise.
9012 * soft-fp/gedf2.c: Likewise.
9013 * soft-fp/gesf2.c: Likewise.
9014 * soft-fp/getf2.c: Likewise.
9015 * soft-fp/ledf2.c: Likewise.
9016 * soft-fp/lesf2.c: Likewise.
9017 * soft-fp/letf2.c: Likewise.
9018 * soft-fp/muldf3.c: Likewise.
9019 * soft-fp/mulsf3.c: Likewise.
9020 * soft-fp/multf3.c: Likewise.
9021 * soft-fp/negdf2.c: Likewise.
9022 * soft-fp/negsf2.c: Likewise.
9023 * soft-fp/negtf2.c: Likewise.
9024 * soft-fp/op-1.h: Likewise.
9025 * soft-fp/op-2.h: Likewise.
9026 * soft-fp/op-4.h: Likewise.
9027 * soft-fp/op-8.h: Likewise.
9028 * soft-fp/op-common.h: Likewise.
9029 * soft-fp/quad.h: Likewise.
9030 * soft-fp/single.h: Likewise.
9031 * soft-fp/soft-fp.h: Likewise.
9032 * soft-fp/sqrtdf2.c: Likewise.
9033 * soft-fp/sqrtsf2.c: Likewise.
9034 * soft-fp/sqrttf2.c: Likewise.
9035 * soft-fp/subdf3.c: Likewise.
9036 * soft-fp/subsf3.c: Likewise.
9037 * soft-fp/subtf3.c: Likewise.
9038 * soft-fp/truncdfsf2.c: Likewise.
9039 * soft-fp/trunctfdf2.c: Likewise.
9040 * soft-fp/trunctfsf2.c: Likewise.
9041 * soft-fp/trunctfxf2.c: Likewise.
9042 * soft-fp/unorddf2.c: Likewise.
9043 * soft-fp/unordsf2.c: Likewise.
9044 * soft-fp/unordtf2.c: Likewise.
9045
17c48a60
OB
90462013-10-14 Ondřej Bílka <neleai@seznam.cz>
9047
9048 [BZ #15672]
9049 * misc/error.c (error_tail): Fix possible buffer overflow.
9050
cabba934
OB
90512013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9052
9053 [BZ #13028]
9054 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9055 address.
9056
94bf958a
PM
90572013-10-14 P. J. McDermott <pj@pehjota.net>
9058
9059 [BZ #832]
9060 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9061 testing pipefail option.
9062
71b4dea7
JM
90632013-10-12 Joseph Myers <joseph@codesourcery.com>
9064
9065 * soft-fp/double.h: Indent preprocessor directives inside #if.
9066 * soft-fp/extended.h: Likewise.
9067 * soft-fp/op-2.h: Likewise.
9068 * soft-fp/op-4.h: Likewise.
9069 * soft-fp/op-common.h: Likewise.
9070 * soft-fp/quad.h: Likewise.
9071 * soft-fp/single.h: Likewise.
9072 * soft-fp/soft-fp.h: Likewise.
9073
55602758
YC
90742013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9075
9076 * iconv/iconv_prog.c: Fix typos.
9077 * stdio-common/psiginfo-data.h: Likewise.
9078
9cd83302
RT
90792013-10-12 Reuben Thomas <rrt@sc3d.org>
9080
9081 [BZ #15764]
9082 * locale/setlocale.c: Fix typo.
9083
99fd9f47
JM
90842013-10-12 Joseph Myers <joseph@codesourcery.com>
9085
b7ea74f0
JM
9086 [BZ #16036]
9087 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9088 signaling NaN arguments.
9089 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9090 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9091
8a509447
JM
9092 [BZ #14910]
9093 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9094 unordered operands.
9095 * soft-fp/gesf2.c (__gesf2): Likewise.
9096 * soft-fp/getf2.c (__getf2): Likewise.
9097 * soft-fp/ledf2.c (__ledf2): Likewise.
9098 * soft-fp/lesf2.c (__lesf2): Likewise.
9099 * soft-fp/letf2.c (__letf2): Likewise.
9100
98998e9f
JM
9101 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9102 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9103 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9104 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9105 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9106 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9107 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9108 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9109 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9110 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9111 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9112 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9113 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9114 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9115 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9116 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9117 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9118 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9119 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9120 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9121 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9122 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9123 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9124 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9125 * soft-fp/floattidf.c (__floattidf): Likewise.
9126 * soft-fp/floattisf.c (__floattisf): Likewise.
9127 * soft-fp/floattitf.c (__floattitf): Likewise.
9128 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9129 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9130 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9131 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9132 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9133 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9134 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9135 * soft-fp/gesf2.c (__gesf2): Likewise.
9136 * soft-fp/getf2.c (__getf2): Likewise.
9137 * soft-fp/ledf2.c (__ledf2): Likewise.
9138 * soft-fp/lesf2.c (__lesf2): Likewise.
9139 * soft-fp/letf2.c (__letf2): Likewise.
9140
8edc4a11
JM
9141 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9142 Undefine and redefine.
9143 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9144 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9145 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9146 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9147 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9148 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9149 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9150 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9151 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9152 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9153 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9154 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9155 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9156 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9157 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9158
8399acaf
JM
9159 [BZ #16032]
9160 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9161 without decrementing exponent if mantissa >= that for the
9162 denominator, not >.
9163 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9164 denominator, not >. Decrement exponent in < case instead of
9165 incrementing in >= case.
9166 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9167 without decrementing exponent if mantissa >= that for the
9168 denominator, not >.
9169
99fd9f47
JM
9170 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9171 computing saturated result for unsigned overflow.
9172
10e1cf6b
SP
91732013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9174 Jeff Law <law@redhat.com>
9175
9176 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9177 (atan2Mp): Add systemtap probe marker.
9178 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9179 (__ieee754_log): Add systemtap probe marker.
9180 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9181 (atanMp): Add systemtap probe marker.
9182 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9183 (tanMp): Add systemtap probe marker.
9184 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9185 (__slowexp): Add systemtap probe marker.
9186 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9187 (__slowpow): Add systemtap probe marker.
9188 * manual/probes.texi: Document probes.
9189
3d110c7c
EB
91902013-10-11 Eric Biggers <ebiggers3@gmail.com>
9191
9192 [BZ #15362]
9193 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9194 written.
9195 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9196 written.
9197 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9198 written to buffer but not flushed.
9199 * libio/iofwrite_u.c: Likewise.
9200 * libio/iopadn.c: Return bytes returned even if EOF was
9201 encountered.
9202 * libio/iowpadn.c: Likewise.
9203 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9204 if _IO_padn does not write the whole buffer.
9205 [!COMPILE_WPRINTF] (PAD): Likewise.
9206
75b4202a
DM
92072013-10-10 David S. Miller <davem@davemloft.net>
9208
9209 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9210 directory block.
9211
6c6352e6
JM
92122013-10-10 Joseph Myers <joseph@codesourcery.com>
9213
33b853c3
JM
9214 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9215 instead of FSF address.
9216 * soft-fp/fixdfti.c: Likewise.
9217 * soft-fp/fixsfti.c: Likewise.
9218 * soft-fp/fixtfti.c: Likewise.
9219 * soft-fp/fixunsdfti.c: Likewise.
9220 * soft-fp/fixunssfti.c: Likewise.
9221 * soft-fp/fixunstfti.c: Likewise.
9222 * soft-fp/floattidf.c: Likewise.
9223 * soft-fp/floattisf.c: Likewise.
9224 * soft-fp/floattitf.c: Likewise.
9225 * soft-fp/floatuntidf.c: Likewise.
9226 * soft-fp/floatuntisf.c: Likewise.
9227 * soft-fp/floatuntitf.c: Likewise.
9228 * soft-fp/trunctfxf2.c: Likewise.
9229
6c6352e6
JM
9230 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9231 * soft-fp/fixdfti.c: Likewise.
9232 * soft-fp/fixsfti.c: Likewise.
9233 * soft-fp/fixtfti.c: Likewise.
9234 * soft-fp/fixunsdfti.c: Likewise.
9235 * soft-fp/fixunssfti.c: Likewise.
9236 * soft-fp/fixunstfti.c: Likewise.
9237 * soft-fp/floattidf.c: Likewise.
9238 * soft-fp/floattisf.c: Likewise.
9239 * soft-fp/floattitf.c: Likewise.
9240 * soft-fp/floatuntidf.c: Likewise.
9241 * soft-fp/floatuntisf.c: Likewise.
9242 * soft-fp/floatuntitf.c: Likewise.
9243 * soft-fp/trunctfxf2.c: Likewise.
9244
3bf78b71
DM
92452013-10-10 David S. Miller <davem@davemloft.net>
9246
9247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9248
6f10289e
JM
92492013-10-10 Joseph Myers <joseph@codsourcery.com>
9250
bd878fc0
JM
9251 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9252 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9253 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9254 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9255 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9256 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9257 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9258
6f10289e
JM
9259 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9260 for NaNs before doing comparisons on argument.
9261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9262 Likewise.
9263
321e2684
WN
92642013-10-10 Will Newton <will.newton@linaro.org>
9265
9266 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9267 passed to _int_memalign does not overflow.
9268
40fefba1
TR
92692013-10-10 Torvald Riegel <triegel@redhat.com>
9270
9271 * scripts/bench.pl: Add include-sources directive.
9272 * benchtests/README: Update documentation.
9273
2ae21ed2
JM
92742013-10-10 Joseph Myers <joseph@codesourcery.com>
9275
dcc2dd3f
JM
9276 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9277 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9278 instead of FP_INIT_ROUNDMODE.
9279 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9280 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9281
2ae21ed2
JM
9282 [BZ #16034]
9283 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9284 copy class of input value.
9285 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9286 not handle exceptions.
9287 * soft-fp/negsf2.c (__negsf2): Likewise.
9288 * soft-fp/negtf2.c (__negtf2): Likewise.
9289 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9290
cb8f9562
JM
92912013-10-09 Joseph Myers <joseph@codesourcery.com>
9292
9293 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9294 semicolon. From Linux kernel.
9295
5b60c59d
AB
92962013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9297
9298 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9299
b86835ca
YC
93002013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9301
9302 [BZ #156]
9303 * manual/socket.texi: Added statement about buffer
9304 for gethostbyname2_r.
9305
e7044ea7
OB
93062013-10-08 Ondřej Bílka <neleai@seznam.cz>
9307
9308 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9309 Use .p2align directive instead, throughout.
9310 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9311 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9312 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9313 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9314 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9315 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9316 * sysdeps/x86_64/strchr.S: Likewise.
9317 * sysdeps/x86_64/strrchr.S: Likewise.
9318
09544cbc
SP
93192013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9320
88576635
SP
9321 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9322
e7b2d1dd
SP
9323 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9324
09544cbc
SP
9325 * sysdeps/generic/math_private.h (__mpsin1): Remove
9326 declaration.
9327 (__mpcos1): Likewise.
9328 (__mpsin): New argument __range_reduce.
9329 (__mpcos): Likewise.
9330 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9331 (slow): Use __mpsin and __mpcos.
9332 (slow1): Likewise.
9333 (slow2): Likewise.
9334 (sloww): Likewise.
9335 (sloww1): Likewise.
9336 (sloww2): Likewise.
9337 (bsloww): Likewise.
9338 (bsloww1): Likewise.
9339 (bsloww2): Likewise.
9340 (cslow2): Likewise.
9341 (csloww): Likewise.
9342 (csloww1): Likewise.
9343 (csloww2): Likewise.
9344 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9345 range_reduce. Merge in __mpsin1.
9346 (__mpcos): Likewise.
9347 (__mpsin1): Remove.
9348 (__mpcos1): Likewise.
9349
7602d070
JM
93502013-10-07 Joseph Myers <joseph@codesourcery.com>
9351
9352 * locale/loadlocale.c (_nl_intern_locale_data): Use
9353 LOCFILE_ALIGNED_P.
9354 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9355 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9356 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9357 obstack data is appropriately aligned.
9358 (obstack_int32_grow_fast): Likewise.
9359 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9360 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9361 (add_locale_uint32_array): Likewise.
9362
a357259b
SP
93632013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9364
9365 * benchtests/Makefile: Remove ARGLIST and RET variables.
9366 ($(objpfx)bench-%.c): Pass only function name to the script.
9367 * benchtests/README: Update documentation.
9368 * benchtests/acos-inputs: Add new directives.
9369 * benchtests/acosh-inputs: Likewise.
9370 * benchtests/asin-inputs: Likewise.
9371 * benchtests/asinh-inputs: Likewise.
9372 * benchtests/atan-inputs: Likewise.
9373 * benchtests/atanh-inputs: Likewise.
9374 * benchtests/cos-inputs: Likewise.
9375 * benchtests/cosh-inputs: Likewise.
9376 * benchtests/exp-inputs: Likewise.
9377 * benchtests/log-inputs: Likewise.
9378 * benchtests/pow-inputs: Likewise.
9379 * benchtests/rint-inputs: Likewise.
9380 * benchtests/sin-inputs: Likewise.
9381 * benchtests/sinh-inputs: Likewise.
9382 * benchtests/tan-inputs: Likewise.
9383 * benchtests/tanh-inputs: Likewise.
9384 * scripts/bench.pl: Add support for new directives.
9385
9ec1b13d
AM
93862013-10-07 Alan Modra <amodra@gmail.com>
9387
9388 * README: Fix careless merge.
9389
8b7d57cd
AM
93902013-10-05 Alan Modra <amodra@gmail.com>
9391
9392 * NEWS: Mention powerpc64le support and bugs fixed.
9393 * README: Both big-endian and little-endian powerpc64 supported.
9394
7b7bab13
ST
93952013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9396
57f41c40
AS
9397 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9398 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9399 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9400 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9401
d39baad1
RA
94022013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9403
9404 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9405 match prototype.
9406
cd78f7e7
JM
94072013-10-04 Joseph Myers <joseph@codesourcery.com>
9408
29d73d86
JM
9409 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9410 Move -mhard-float appending from
9411 ports/sysdeps/powerpc/powerpc32/Makefile.
9412 [$(with-fp) = yes] (ASFLAGS): Likewise.
9413 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9414 * sysdeps/powerpc/nofpu: Move directory from
9415 ports/sysdeps/powerpc/nofpu.
9416 * sysdeps/powerpc/soft-fp: Move directory from
9417 ports/sysdeps/powerpc/soft-fp.
9418 * sysdeps/powerpc/powerpc32/405: Move directory from
9419 ports/sysdeps/powerpc/powerpc32/405.
9420 * sysdeps/powerpc/powerpc32/440: Move directory from
9421 ports/sysdeps/powerpc/powerpc32/440.
9422 * sysdeps/powerpc/powerpc32/464: Move directory from
9423 ports/sysdeps/powerpc/powerpc32/464.
9424 * sysdeps/powerpc/powerpc32/476: Move directory from
9425 ports/sysdeps/powerpc/powerpc32/476.
9426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9427 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9429 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9431 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9433 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9435 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9436 * README: Update for powerpc-*-linux-gnu software floating point
9437 support in libc.
9438
e246b347
JM
9439 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9440 case to powerpc/powerpc32*.
9441 * sysdeps/unix/sysv/linux/configure: Regenerated.
9442
89c2003e
JM
9443 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9444 (_FPU_MASK_OM): Define as 0x04.
9445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9447 0x00c10080.
9448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9449 0x0000003c.
9450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9451
cd78f7e7
JM
9452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9453 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9454 getcontext_e500.
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9456 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9457 setcontext_e500.
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9459 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9460 and setcontext_e500.
9461
c755294d
CL
94622013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9463
9464 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9465
e16d221c
SP
94662013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9467
9468 * manual/threads.texi (Default Thread Attributes): Fix typo.
9469
215c7d43
WN
94702013-10-04 Will Newton <will.newton@linaro.org>
9471
9472 * malloc/Makefile: Add tst-memalign.
9473 * malloc/tst-memalign.c: New file.
9474
27d0461b
WN
9475 * malloc/tst-posix_memalign.c: Add comments.
9476 (do_test): Add comments and call free on all potentially
9477 allocated pointers. Add space after cast.
9478
1bc92709
WN
9479 * malloc/tst-pvalloc.c: Add comments.
9480 (do_test): Add comments and call free on all potentially
9481 allocated pointers. Remove duplicate check for NULL pointer.
9482 Add space after cast.
9483
66a9be9d
WN
9484 * malloc/tst-valloc.c: Add comments.
9485 (do_test): Add comments and call free on all potentially
9486 allocated pointers. Remove duplicate check for NULL pointer.
9487 Add space after cast.
9488
4cb81307
AM
94892013-10-04 Alan Modra <amodra@gmail.com>
9490
9491 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9492 Use stdint types in rather than __attribute__((mode())).
9493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9494
f8e3e9f3
AM
94952013-10-04 Alan Modra <amodra@gmail.com>
9496
9497 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9498 Correct handling of unaligned relocs for little-endian.
9499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9500
8f9ebb08
AM
95012013-10-04 Alan Modra <amodra@gmail.com>
9502
9503 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9504 * configure: Regenerate.
9505 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9506 * shlib-versions: Likewise.
9507
0edf96c2
AM
95082013-10-04 Alan Modra <amodra@gmail.com>
9509
9510 * string/tester.c (test_memrchr): Increment reported test cycle.
9511
e0f7a380
AM
95122013-10-04 Alan Modra <amodra@gmail.com>
9513
9514 * string/test-memcpy.c (do_one_test): When reporting errors, print
9515 string address and don't overrun end of string.
9516
466b0393
AM
95172013-10-04 Alan Modra <amodra@gmail.com>
9518
9519 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9520 insrdi. Make better use of reg selection to speed exit slightly.
9521 Schedule entry path a little better. Remove useless "are we done"
9522 checks on entry to main loop. Handle wrapping around zero address.
9523 Correct main loop count. Handle single left-over word from main
9524 loop inline rather than by using loop_small. Remove extra word
9525 case in loop_small caused by wrong loop count. Add little-endian
9526 support.
9527 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9529 cache hint.
9530 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9531 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9532 support. Avoid rlwimi.
9533 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9534
3be87c77
AM
95352013-10-04 Alan Modra <amodra@gmail.com>
9536
9537 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9538 insrdi. Formatting.
3be87c77
AM
9539 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9540 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9541 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9542 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9543 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9544 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9545
759cfef3
AM
95462013-10-04 Alan Modra <amodra@gmail.com>
9547
9548 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9549 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9550 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9551 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9552 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9553 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9554 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9555 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9557 use of regs. Use power7 mtocrf. Tidy function tails.
9558
fe6e95d7
AM
95592013-10-04 Alan Modra <amodra@gmail.com>
9560
9561 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9562 Formatting. Consistently use rXXX register defines or rN defines.
9563 Use early exit labels that avoid restoring unused non-volatile regs.
9564 Make cr field use more consistent with rWORDn compares. Rename
9565 regs used as shift registers for unaligned loop, using rN defines
9566 for short lifetime/multiple use regs.
9567 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9568 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9569 addi 1,1,64 to pop stack frame. Simplify return value code.
9570 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9571
664318c3
AM
95722013-10-04 Alan Modra <amodra@gmail.com>
9573
9574 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9575 support. Correct typos, formatting. Optimize tail. Use insrdi
9576 rather than rlwimi.
9577 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9578 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9579 little-endian support. Correct typos.
9580 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9581 rather than rlwimi.
9582 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9583 in loop and entry code to keep "and." results.
9584 (strchr): Add little-endian support. Comment. Move cntlzd
9585 earlier in tail.
9586 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9587
43b84013
AM
95882013-10-04 Alan Modra <amodra@gmail.com>
9589
9590 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9591 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9593 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9594
8a7413f9
AM
95952013-10-04 Alan Modra <amodra@gmail.com>
9596
9597 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9598 (rTMP): Define as r11.
9599 (strcmp): Add little-endian support. Optimise tail.
9600 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9601 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9602 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9603 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9604 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9605 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9606 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9607
33ee81de
AM
96082013-10-04 Alan Modra <amodra@gmail.com>
9609
9610 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9611 little-endian support. Remove unnecessary "are we done" tests.
9612 Handle "s" wrapping around zero and extremely large "size".
9613 Correct main loop count. Handle single left-over word from main
9614 loop inline rather than by using small_loop. Correct comments.
9615 Delete "zero" tail, use "end_max" instead.
9616 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9617
db9b4570
AM
96182013-10-04 Alan Modra <amodra@gmail.com>
9619
9620 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9621 support. Don't branch over align.
9622 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9623 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9624 support. Rearrange tmp reg use to suit. Comment.
9625 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9626
f7c399cf
AM
96272013-10-04 Alan Modra <amodra@gmail.com>
9628
9629 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9630
0b2c2ace
AM
96312013-10-04 Alan Modra <amodra@gmail.com>
9632
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9634 conditional form of branch and link when obtaining pc.
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9636
02f04a6c
AM
96372013-10-04 Alan Modra <amodra@gmail.com>
9638
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9640 HIWORD/LOWORD.
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9643
9b874b2f
AM
96442013-10-04 Alan Modra <amodra@gmail.com>
9645
9646 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9647 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9648 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9649 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9650 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9651 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9652 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9653 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9654 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9655 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9656
be1e5d31
AB
96572013-10-04 Anton Blanchard <anton@au1.ibm.com>
9658 Alistair Popple <alistair@ozlabs.au.ibm.com>
9659 Alan Modra <amodra@gmail.com>
9660
9661 [BZ #15723]
9662 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9663 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9664 _dl_hwcap access for little-endian.
9665 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9666 destroy vmx regs when saving unaligned.
9667 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9668 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9669 destroy vmx regs when saving unaligned.
9670
fef13a78
AM
96712013-10-04 Alan Modra <amodra@gmail.com>
9672
9673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9674 Don't use a union to pack hi/low value.
9675
76a66d51
AB
96762013-10-04 Anton Blanchard <anton@au1.ibm.com>
9677
9678 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9679 for little-endian.
9680 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9681 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9682 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9683 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9685
6a31fe7f
AM
96862013-10-04 Alan Modra <amodra@gmail.com>
9687
9688 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9689 constants to usual value for .cst8 section, and remove redundant
9690 high address load.
9691 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9692 constant for 0x1p52. Load little-endian words of double from
9693 correct stack offsets.
9694
7b88401f
AM
96952013-10-04 Alan Modra <amodra@gmail.com>
9696
9697 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9698 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9699 words of double from correct stack offsets.
9700 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9701 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9702 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9703 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9704 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9705 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9706 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9707 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9708 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9709 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9710 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9711 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9712 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9713 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9714 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9715 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9716 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9717
9c008155
AM
97182013-10-04 Alan Modra <amodra@gmail.com>
9719
9720 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9721 64-bit int/double union.
9722 (_FPU_SETCW): Likewise.
9723 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9724 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9725
da13146d
AM
97262013-10-04 Alan Modra <amodra@gmail.com>
9727
9728 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9729 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9730
603e8410
AM
97312013-10-04 Alan Modra <amodra@gmail.com>
9732
9733 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9734 use vector int constants.
9735 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9736
4a28b3ca
AB
97372013-10-04 Anton Blanchard <anton@au1.ibm.com>
9738
9739 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9740 array with long long.
9741 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9742 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9743 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9744 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9745 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9746 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9747 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9748 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9749 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9750 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9751 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9752 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9753 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9754
2ca85d2b
AB
97552013-10-04 Anton Blanchard <anton@au1.ibm.com>
9756
9757 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9758 (__signbit): Likewise. Correct for little-endian.
9759 (__signbitl): Call __signbit.
9760 (lrint): Correct for little-endian.
9761 (lrintf): Call lrint.
9762
62a728ae
AM
97632013-10-04 Alan Modra <amodra@gmail.com>
9764
9765 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9766 union 32-bit int array member with 64-bit int array.
9767 (t515, tm256): Double rather than long double.
9768 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9769
32c301df
AM
97702013-10-04 Alan Modra <amodra@gmail.com>
9771
9772 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9773 Delete.
9774 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9776 version of math_ldbl.h.
9777
650ef4bd
AM
97782013-10-04 Alan Modra <amodra@gmail.com>
9779
9780 [BZ #15734], [BZ #15735]
9781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9782 all uses of ieee875 long double macros and unions. Simplify test
9783 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9784 ldbl_extract_mantissa value for ix,iy exponents. Properly
9785 normalize after ldbl_extract_mantissa, and don't add hidden bit
9786 already handled. Don't treat low word of ieee854 mantissa like
9787 low word of IBM long double and mask off bit when testing for
9788 zero.
9789 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9790 all uses of ieee875 long double macros and unions. Simplify tests
9791 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9792 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9793 two1022, instead use their values. Recognise that tests for large
9794 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9795 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9796 Rewrite all uses of ieee875 long double macros and unions. Simplify
9797 test for 0.0L and nan. Correct negation.
9798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9799 ieee875 long double macros and unions. Correct output for large
9800 magnitude x. Correct absolute value calculation.
9801 (__erfcl): Likewise.
9802 * math/libm-test.inc: Add tests for errors discovered in IBM long
9803 double versions of fmodl, remainderl, erfl and erfcl.
9804
765714ca
AM
98052013-10-04 Alan Modra <amodra@gmail.com>
9806
9807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9808 all uses of ieee854 long double macros and unions. Simplify tests
9809 for long doubles that are fully specified by the high double.
9810 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9811 Likewise.
9812 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9813 Remove dead code too.
9814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9815 (__ieee754_ynl): Likewise.
9816 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9819 Remove dead code too.
9820 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9822 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9823 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9824 Simplify.
9825 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9826 Simplify.
9827 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9830 Comment on variable precision.
9831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9833 Likewise.
9834 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9838 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9839
4ebd120c
AM
98402013-10-04 Alan Modra <amodra@gmail.com>
9841
9842 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9843 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9844 all uses of ieee854 long double macros and unions.
9845 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9846 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9847 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9848 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9849 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9851 Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9858 Simplify sign and nan test too.
9859 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9863 Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9866 Likewise.
9867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9868 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9873
1b6adf88
AM
98742013-10-04 Alan Modra <amodra@gmail.com>
9875
9876 * stdio-common/printf_size.c (__printf_size): Don't use
9877 union ieee854_long_double in fpnum union.
9878 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9879 signbit macro to retrieve sign from long double.
9880 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9881 retrieve sign from long double.
9882 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9883 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9884 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9885 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9886 * math/test-misc.c (main): Don't use union ieee854_long_double.
9887
4cf69995
AM
98882013-10-04 Alan Modra <amodra@gmail.com>
9889
9890 [BZ #15680]
9891 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9892 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9893 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9894 calculation. Remove unnecessary test for denormal exponent.
9895 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9896 Correct handling of denormals. Avoid undefined shift behaviour.
9897 Correct normalisation of low mantissa when low double is denormal.
9898 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9899 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9900 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9901 Correct normalisation of low mantissa. Test for overflow of high
9902 mantissa and normalise.
9903 (ldbl_nearbyint): Use more readable constant for two52.
9904 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9905 (__mpn_construct_long_double): Fix test for overflow of high
9906 mantissa and correct normalisation. Avoid undefined shift.
9907
9605ca6c
AM
99082013-10-04 Alan Modra <amodra@gmail.com>
9909
9910 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9911 (union ibm_extended_long_double): Define as an array of ieee754_double.
9912 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9913 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9914 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9915 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9923
975569d0
JM
99242013-10-03 Joseph Myers <joseph@codesourcery.com>
9925
d3d23756
JM
9926 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9927 page size instead of calling getpagesize.
9928
975569d0
JM
9929 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9930 (LOCFILE_ALIGN_MASK): Likewise.
9931 (LOCFILE_ALIGN_UP): Likewise.
9932 (LOCFILE_ALIGNED_P): Likewise.
9933 * locale/programs/ld-collate.c (collate_output): Use the new
9934 macros instead of __alignof__ (int32_t).
9935 * locale/weight.h (findidx): Likewise.
9936
b1fe1f2b
OB
99372013-10-03 Ondřej Bílka <neleai@seznam.cz>
9938
9939 [BZ #431]
9940 * manual/string.texi: Fix strncat and wcsncat.
9941
5f855e35
BM
99422013-10-03 Brooks Moses <bmoses@google.com>
9943
9944 [BZ #15915]
9945 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9946 * Makerules: ...here, and adjust associated comments.
9947
3cef6009
WN
99482013-10-02 Will Newton <will.newton@linaro.org>
9949
9950 * malloc/Makefile: Add tst-pvalloc.
9951 * malloc/tst-pvalloc.c: New file.
9952
7815420b
WN
99532013-10-02 Will Newton <will.newton@linaro.org>
9954
9955 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9956 improve test coverage.
9957
4868b204
WN
99582013-10-02 Will Newton <will.newton@linaro.org>
9959
9960 * malloc/Makefile: Add tst-posix_memalign.
9961 * malloc/tst-posix_memalign.c: New file.
9962
29c793b3
EB
99632013-10-01 Eric Blake <eblake@redhat.com>
9964
9965 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9966 Use __THROWNL rather than __THROW on static functions.
9967
fd967522
PM
99682013-09-30 Petr Machata <pmachata@redhat.com>
9969
9970 * elf/elf.h (R_AARCH64_ABS16): New macro.
9971 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9972 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9973 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9974 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9975 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9976 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9977 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9978 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9979 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9980 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9981 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9982 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9983 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9984 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9985 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9986 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9987 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9988 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9989 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9990 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9991 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9992 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9993 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9994 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9995 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9996 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9997 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9998 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9999 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10000 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10001 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10002 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10003 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10004 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10005 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10006 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10007 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10008 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10009 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10010 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10011 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10012 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10013 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10014 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10015 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10016 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10017 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10018 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10019 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10020 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10021 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10022 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10023 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10024 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10025 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10026 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10027 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10028 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10029 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10030 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10031 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10032 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10033 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10034 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10035 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10036 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10037 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10038 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10039 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10040 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10041 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10042 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10043 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10044 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10045 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10046 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10047 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10048 (R_AARCH64_TLSDESC_LDR): Likewise.
10049 (R_AARCH64_TLSDESC_ADD): Likewise.
10050 (R_AARCH64_TLSDESC_CALL): Likewise.
10051
b2179107
AS
100522013-09-30 Andreas Schwab <schwab@suse.de>
10053
10054 [BZ #15048]
10055 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10056 the nss database lookup.
10057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10059
47f28d0a
MF
100602013-09-28 Mike Frysinger <vapier@gentoo.org>
10061
10062 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10063
100642013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10065
10066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10067 ${Bash-specific parameter/pattern/string} parameter expansion.
10068 * sysdeps/unix/make-syscalls.sh: Likewise.
10069
f4518a17
KK
100702013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10071
10072 * sysdeps/sh/stackguard-macros.h: New file.
10073
dc1a95c7
OB
100742013-09-26 Ondřej Bílka <neleai@seznam.cz>
10075
10076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10078 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10079 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10080 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10081 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10082
5ebbff8f
AZ
100832013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10084
10085 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10086 Fix thread ID register.
10087
4fd2cf9f
JM
100882013-09-25 Joseph Myers <joseph@codesourcery.com>
10089
10090 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10091 [POSIX || UNIX98]: Require rather than permitting all symbols from
10092 <time.h>.
10093 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10094 element of struct sched_param.
10095 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10096 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10097 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10098 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10099 constant.
10100
12c22bc4
OL
101012013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10102
10103 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10104 argument calculation.
10105
a03d8ea7
JM
101062013-09-24 Joseph Myers <joseph@codesourcery.com>
10107
10108 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10109 Expect macro.
10110 [POSIX] (pthread_attr_t): Do not require type.
10111 [POSIX] (pthread_cond_t): Likewise.
10112 [POSIX] (pthread_condattr_t): Likewise.
10113 [POSIX] (pthread_key_t): Likewise.
10114 [POSIX] (pthread_mutex_t): Likewise.
10115 [POSIX] (pthread_mutexattr_t): Likewise.
10116 [POSIX] (pthread_once_t): Likewise.
10117 [POSIX] (pthread_t): Likewise.
10118 [POSIX-based standards] (pthread_atfork): Expect function.
10119
6055173a
JM
101202013-09-24 Joseph Myers <joseph@codesourcery.com>
10121 Richard Sandiford <richard@codesourcery.com>
10122
10123 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10124 (swap_endianness_p): New extern variable.
10125 (set_big_endian): New inline function.
10126 (maybe_swap_uint32): Likewise.
10127 (maybe_swap_uint32_array): Likewise.
10128 (maybe_swap_uint32_obstack): Likewise.
10129 * locale/programs/locfile.c: Include <stdbool.h>.
10130 (swap_endianness_p): New variable.
10131 (add_locale_uint32): Call maybe_swap_uint32.
10132 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10133 (write_locale_data): Call maybe_swap_uint32_array.
10134 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10135 maybe_swap_uint32.
10136 (obstack_int32_grow_fast): Likewise.
10137 (output_weightwc): Call maybe_swap_uint32_obstack.
10138 (collate_output): Likewise.
10139 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10140 (OPT_LITTLE_ENDIAN): Likewise.
10141 (options): Add --little-endian and --big-endian options.
10142 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10143 * locale/programs/locarchive.c: Include "locfile.h".
10144 (GET): New macro.
10145 (SET): Likewise.
10146 (INC): Likewise.
10147 (create_archive): Use the new macros to access fields of
10148 structures directly mapped from or written to locale archives.
10149 (oldlocrecentcmp): Likewise.
10150 (enlarge_archive): Likewise.
10151 (insert_name): Likewise.
10152 (add_alias): Likewise.
10153 (add_locale): Likewise.
10154 (delete_locales_from_archive): Likewise.
10155 (show_archive_content): Likewise.
10156 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10157 locale data.
10158
39bf0bb4
RM
101592013-09-24 Roland McGrath <roland@hack.frob.com>
10160
10161 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10162 http://www.gnu.org/doc/freemanuals.texi.
10163 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10164
f02eed10
WN
101652013-09-24 Will Newton <will.newton@linaro.org>
10166
10167 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10168 macro.
10169
a3a6c312
JM
101702013-09-23 Joseph Myers <joseph@codesourcery.com>
10171
10172 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10173 unsigned char.
10174
107375ac
MR
101752013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10176
10177 * manual/threads.texi (POSIX Threads): Fix a typo.
10178
141f3a77
SP
101792013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10180
303e567a
SP
10181 [BZ #14547]
10182 * string/tst-strcoll-overflow.c: New test case.
10183 * string/Makefile (xtests): Add tst-strcoll-overflow.
10184 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10185 cache if string sizes may cause integer overflow.
10186
141f3a77
SP
10187 [BZ #14547]
10188 * string/strcoll_l.c (coll_seq): New members rule, idx,
10189 save_idx and back_us.
10190 (get_next_seq_nocache): New function.
10191 (do_compare_nocache): New function.
10192 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10193 when malloc fails.
10194
c61b4d41
CD
101952013-09-23 Carlos O'Donell <carlos@redhat.com>
10196
0b1f8e35
CD
10197 [BZ #15754]
10198 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10199 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10200 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10201
c61b4d41
CD
10202 [BZ #15754]
10203 * elf/Makefile (tests): Add tst-ptrguard1.
10204 (tests-static): Add tst-ptrguard1-static.
10205 (tst-ptrguard1-ARGS): Define.
10206 (tst-ptrguard1-static-ARGS): Define.
10207 * elf/tst-ptrguard1.c: New file.
10208 * elf/tst-ptrguard1-static.c: New file.
10209 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10210 * sysdeps/i386/stackguard-macros.h: Likewise.
10211 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10212 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10213 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10214 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10215 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10216 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10217
102182013-09-23 Hector Marco <hecmargi@upv.es>
10219 Ismael Ripoll <iripoll@disca.upv.es>
10220 Carlos O'Donell <carlos@redhat.com>
10221
10222 [BZ #15754]
10223 * sysdeps/generic/stackguard-macros.h: Define
10224 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10225 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10226 Define __pointer_chk_guard_local.
10227 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10228 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10229
f5f4e7b4
VV
102302013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10231
10232 [BZ #15859]
10233 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10234
5bb43a43
AS
102352013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10236
10237 * include/string.h (__ffs): Declare as hidden.
10238 * string/ffs.c (__ffs): Define as hidden.
10239 * sysdeps/i386/ffs.c (__ffs): Likewise.
10240 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10241 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10242 * sysdeps/s390/ffs.c (__ffs): Likewise.
10243 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10244
3ea5be54
AO
102452013-09-20 Alexandre Oliva <aoliva@redhat.com>
10246
ffb89e53
AO
10247 * NEWS: Mention malloc probes.
10248
322dea08
AO
10249 * malloc/arena.c (new_heap): New memory_heap_new probe.
10250 (grow_heap): New memory_heap_more probe.
10251 (shrink_heap): New memory_heap_less probe.
10252 (heap_trim): New memory_heap_free probe.
10253 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10254 (systrim): New memory_sbrk_less probe.
10255 * manual/probes.texi: Document them.
10256
655673f3
AO
10257 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10258 * manual/probes.texi: Document it.
10259
35fed6f1
AO
10260 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10261 (__libc_realloc): Add memory_realloc_retry probe.
10262 (__libc_memalign): Add memory_memalign_retry probe.
10263 (__libc_valloc): Add memory_valloc_retry probe.
10264 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10265 (__libc_calloc): Add memory_calloc_retry probe.
10266 * manual/probes.texi: Document them.
10267
6999d38c
AO
10268 * malloc/arena.c (get_free_list): Add probe
10269 memory_arena_reuse_free_list.
10270 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10271 and memory_arena_reuse.
10272 (arena_get2) [!PER_THREAD]: Likewise.
10273 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10274 memory_arena_reuse_realloc.
10275 * manual/probes.texi: Document them.
10276
0653427f
AO
10277 * malloc/malloc.c (__libc_free): Add
10278 memory_mallopt_free_dyn_thresholds probe.
10279 (__libc_mallopt): Add multiple memory_mallopt probes.
10280 * manual/probes.texi: Document them.
10281
3ea5be54
AO
10282 * malloc/malloc.c: Include stap-probe.h.
10283 (__libc_mallopt): Add memory_mallopt probe.
10284 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10285 * manual/probes.texi: New.
10286 * manual/Makefile (chapters): Add probes.
10287 * manual/threads.texi: Set next node.
10288
e35696c3 102892013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10290
e35696c3
CL
10291 [BZ #15963, #13985]
10292 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10293 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10294 Add `Chinese' to `nan' entry name.
10295
4aafb73c
SP
102962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10297
10298 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10299 (POLYNOMIAL): Likewise.
10300 (TAYLOR_SINCOS): Likewise.
10301 (TAYLOR_SLOW): Likewise.
10302 (__sin): Use TAYLOR_SINCOS.
10303 (__cos): Likewise.
10304 (slow): Use TAYLOR_SLOW.
10305 (sloww): Likewise.
10306 (bsloww): Likewise.
10307 (csloww): Likewise.
10308
d84f25c7
LD
103092013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10310
10311 * stdlib/strtod_l.c: Fix buffer overrun.
10312
5eea0404
SP
103132013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10314
7849ff93
SP
10315 * benchtests/Makefile (bench): Add sincos.
10316 * benchtests/bench-sincos.c: New file.
10317
cfa3c886
SP
10318 * math/libm-test.inc (cos_test_data): New test inputs.
10319 (sin_test_data): Likewise.
10320
b348e1e3
SP
10321 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10322 macro.
10323 (__sin): Use it.
10324 (__cos): Likewise.
10325 (slow1): Likewise.
10326 (slow2): Likewise.
10327 (sloww1): Likewise.
10328 (sloww2): Likewise.
10329 (bsloww1): Likewise.
10330 (bsloww2): Likewise.
10331 (cslow2): Likewise.
10332 (csloww1): Likewise.
10333 (csloww2): Likewise.
10334
6cce25f8
SP
10335 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10336 function.
10337 (__sin): Use it.
10338 (__cos): Likewise.
10339
5eea0404
SP
10340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10341 gotos.
10342 (__cos): Likewise.
10343
9c21573c
MR
103442013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10345
10346 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10347 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10348 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10349 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10350 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10351 * elf/cache.c (print_entry): Handle the new cache flags.
10352
24d22e65
JM
103532013-09-18 Joseph Myers <joseph@codesourcery.com>
10354 Aldy Hernandez <aldyh@redhat.com>
10355
10356 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10357 Change condition to [_SOFT_FLOAT].
10358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10370 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10373 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10374 declaration.
10375
d13ef066
JM
103762013-09-18 Joseph Myers <joseph@codesourcery.com>
10377
2e071de0
JM
10378 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10379 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10380 (__longjmp): Use LOAD_GP to load saved GPRs.
10381 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10382 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10383 (__sigsetjmp): Use SAVE_GP to save GPRs.
10384
d13ef066
JM
10385 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10386 Do not append -msoft-float.
10387 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10388
97a0650b
SP
103892013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10390
10391 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10392
11ca09e9
JM
103932013-09-17 Joseph Myers <joseph@codesourcery.com>
10394
10395 [BZ #15966]
10396 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10397 (_FPU_GETCW): Use initial "__" on variable and field names but not
10398 on macro parameter name.
10399 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10400 parentheses around reference to macro parameter.
10401
08ffcf34
RS
104022013-09-13 Richard Sandiford <richard@codesourcery.com>
10403
10404 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10405 prototype.
10406 (ctype_startup): Use uint32_t in cast and sizeof for
10407 ctype->charnames.
10408
ae7080d3
JL
104092013-09-11 Jia Liu <proljc@gmail.com>
10410
10411 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10412 __daddr_t_defined.
10413 [__FreeBSD__]: Likewise.
10414
5905e7b3
OB
104152013-09-11 Ondřej Bílka <neleai@seznam.cz>
10416
10417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10418 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10419 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10420 (strchr): Remove __strchr_sse42 ifunc selection.
10421 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10422 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10423
b987c776
WN
104242013-09-11 Will Newton <will.newton@linaro.org>
10425
10426 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10427 parameter to RES. Remove hardcoded 1000 value.
10428 * benchtests/bench-skeleton.c (main): Pass RES parameter
10429 to TIMING_INIT and multiply result by 1000.
10430
ddf985af
AZ
104312013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10432
10433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10434
ffdd3181
AS
104352013-09-11 Andreas Schwab <schwab@suse.de>
10436
10437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10438 if not defined.
10439 (O_TMPFILE) [__USE_GNU]: Define.
10440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10441 Define.
10442
b73ed247
WN
104432013-09-11 Will Newton <will.newton@linaro.org>
10444
10445 [BZ #15857]
10446 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10447 does not overflow.
10448
55e17aad
WN
104492013-09-11 Will Newton <will.newton@linaro.org>
10450
10451 [BZ #15856]
10452 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10453 does not overflow.
10454
1159a193
WN
104552013-09-11 Will Newton <will.newton@linaro.org>
10456
10457 [BZ #15855]
10458 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10459 does not overflow.
10460
5905e7b3 104612013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10462
10463 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10464 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10465 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10468
cdfc721b
AM
104692013-09-10 Allan McRae <allan@archlinux.org>
10470
aa04af00
AM
10471 [BZ #15748]
10472 * manual/arith.texi (Parsing of Floats): Clarify
10473 cross-reference.
10474
cdfc721b
AM
10475 [BZ #15849]
10476 * manual/install.texi (Running make install): Mention
10477 --enable-pt-chown.
10478 * INSTALL: Regenerated.
10479
95e7cf29
MR
104802013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10481
10482 * csu/init-first.c (_init): Remove the !SHARED condition around
10483 FPU control word initialization.
10484 * elf/dl-support.c (_dl_fpu_control): New variable.
10485 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10486 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10487 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10488 * math/test-fpucw-static.c: New file.
10489 * math/test-fpucw-ieee.c: New file.
10490 * math/test-fpucw-ieee-static.c: New file.
10491 * math/Makefile (tests): Add `test-fpucw-ieee' and
10492 `$(tests-static)'.
10493 (tests-static): New variable.
10494 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10495 dependency to...
10496 [($(build-shared),yes)]
10497 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10498 ... this.
10499 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10500 New dependency.
10501
83e43bf0
AM
105022013-09-09 Allan McRae <allan@archlinux.org>
10503
a9f5ce09
AM
10504 [BZ #15939]
10505 * manual/string.texi (Collation Functions): Fix typo in
10506 strcoll example.
10507 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10508
34829bc2
AM
10509 [BZ #15893]
10510 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10511
3932737d
AM
10512 [BZ #15892]
10513 * libio/memstream.c (open_memstream): Fix memory leak.
10514 * libio/wmemstream.c (open_wmemstream): Likewise.
10515
83e43bf0
AM
10516 [BZ #15895]
10517 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10518
0c66b8e9
WN
105192013-09-09 Will Newton <will.newton@linaro.org>
10520
10521 * malloc/Makefile: Add tst-realloc to tests.
10522 * malloc/tst-realloc.c: New file.
10523
f6b00fd1
AM
105242013-09-09 Allan McRae <allan@archlinux.org>
10525
10526 [BZ #15844]
10527 * COPYING: Update from GNU website to fix FSF address.
10528 * COPYING.LIB: Likewise.
10529
eec55e16
DM
105302013-09-06 David S. Miller <davem@davemloft.net>
10531
10532 * po/zh_TW.po: Update Chinese (traditional) translation from
10533 translation project.
10534
1ecbb381
RS
105352013-09-06 Richard Sandiford <richard@codesourcery.com>
10536 Joseph Myers <joseph@codesourcery.com>
10537
10538 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10539 "localeinfo.h".
10540 (obstack_chunk_alloc): New macro.
10541 (obstack_chunk_free): Likewise.
10542 (record_offset): New function.
10543 (init_locale_data): Likewise.
10544 (align_locale_data): Likewise.
10545 (add_locale_empty): Likewise.
10546 (add_locale_raw_data): Likewise.
10547 (add_locale_raw_obstack): Likewise.
10548 (add_locale_string): Likewise.
10549 (add_locale_wstring): Likewise.
10550 (add_locale_uint32): Likewise.
10551 (add_locale_uint32_array): Likewise.
10552 (add_locale_char): Likewise.
10553 (start_locale_structure): Likewise.
10554 (end_locale_structure): Likewise.
10555 (start_locale_prelude): Likewise.
10556 (end_locale_prelude): Likewise.
10557 (write_locale_data): Take locale_file structure rather than an
10558 iovec.
10559 * locale/programs/locfile.h: Include "obstack.h".
10560 (struct locale_file): Change to store locale file contents instead
10561 of header.
10562 (init_locale_data): New prototype.
10563 (align_locale_data): Likewise.
10564 (add_locale_empty): Likewise.
10565 (add_locale_raw_data): Likewise.
10566 (add_locale_raw_obstack): Likewise.
10567 (add_locale_string): Likewise.
10568 (add_locale_wstring): Likewise.
10569 (add_locale_uint32): Likewise.
10570 (add_locale_uint32_array): Likewise.
10571 (add_locale_char): Likewise.
10572 (start_locale_structure): Likewise.
10573 (end_locale_structure): Likewise.
10574 (start_locale_prelude): Likewise.
10575 (end_locale_prelude): Likewise.
10576 (write_locale_data): Update prototype.
10577 * locale/programs/3level.h (struct TABLE): Remove result field.
10578 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10579 Use new locale_file interface.
10580 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10581 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10582 * locale/programs/ld-address.c (address_output): Use new
10583 locale_file interface.
10584 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10585 NO_ADD_LOCALE.
10586 (collate_finish): Don't call collseq_table_finalize.
10587 (collate_output): Use new locale_file interface.
10588 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10589 in file.
10590 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10591 (TABLE): Move defines earlier in file.
10592 (ELEMENT): Likewise.
10593 (DEFAULT): Likewise.
10594 (wctrans_table_add): Move macro and inline function earlier in
10595 file.
10596 (struct wctype_table): Move type earlier in file.
10597 (add_locale_wctype_table): New static prototype.
10598 (struct locale_ctype_t): Use logical types instead of struct iovec
10599 pointers for members.
10600 (ctype_output): Use new locale_file interface.
10601 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10602 new locale_file interface.
10603 (allocate_arrays): Update for use of new locale_file interface.
10604 * locale/programs/ld-identification.c (identification_output): Use
10605 new locale_file interface.
10606 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10607 * locale/programs/ld-messages.c (messages_output): Likewise.
10608 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10609 * locale/programs/ld-name.c (name_output): Likewise.
10610 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10611 * locale/programs/ld-paper.c (paper_output): Likewise.
10612 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10613 * locale/programs/ld-time.c (time_output): Likewise.
10614
e029e2e5
AZ
106152013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10616
10617 * benchtests/Makefile: Add memrchr benchmark.
10618 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10619 benchmark as memrchr.
10620 * benchtests/bench-memrchr-ifunc.c: New file.
10621 * benchtests/bench-memrchr.c: New file.
10622
bbf6e8e4
WN
106232013-09-06 Will Newton <will.newton@linaro.org>
10624
10625 * benchtests/Makefile (string-bench): Add memcpy.
10626
6c82a2f8
CD
106272013-09-05 Carlos O'Donell <carlos@redhat.com>
10628 Cong Wang <amwang@redhat.com>
10629
e732c5f0 10630 [BZ #15850]
6c82a2f8
CD
10631 * sysdeps/unix/sysv/linux/bits/in.h
10632 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10633 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10634 before __USE_KERNEL_IPV6_DEFS uses.
10635 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10636 IPPROTO_BEETPH.
10637 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10638 sockaddr_in6, or ipv6_mreq.
10639
5430fc65
AZ
106402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10641
10642 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10643 memory access for final bytes in some large inputs.
10644 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10645
4660856c
AZ
106462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10647
10648 * string/test-memrchr.c: New file.
10649 * string/test-memrchr-ifunc.c: New file.
10650 * string/Makefile: Add new memrchr testcase.
10651
bb8ea713
MF
106522013-09-05 Mike Frysinger <vapier@gentoo.org>
10653
10654 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10655 fanotify_init returns EPERM.
10656
b92a20b5
JM
106572013-09-04 Joseph Myers <joseph@codesourcery.com>
10658
10659 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10660 errors.
10661 (top level): Treat second token from macro or constant entries for
10662 allowed headers as allowed.
10663 * include/complex.h: Condition internal declarations on
10664 [!_ISOMAC].
10665 * include/fenv.h: Condition include of <stdbool.h> and internal
10666 declarations on [!_ISOMAC].
7447ccd9
CL
10667
106682013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10669
3e181dda 10670 [BZ #15923]
7447ccd9
CL
10671 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10672
3f2e46a4
JM
106732013-09-04 Joseph Myers <joseph@codesourcery.com>
10674
10675 * configure.in (--enable-versioning): Remove configure option.
10676 (libc_cv_asm_symver_directive): Remove configure test.
10677 (libc_cv_ld_version_script_option): Likewise.
10678 (VERSIONING): Remove variable and AC_SUBST.
10679 (DO_VERSIONING): Remove AC_DEFINE.
10680 * configure: Regenerated.
10681 * config.h.in (DO_VERSIONING): Remove macro.
10682 * Makerules [$(versioning) = yes]: Change conditionals to
10683 [$(build-shared) = yes].
10684 * config.make.in (versioning): Remove variable.
10685 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10686 [$(build-shared) = yes].
10687 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10688 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10689 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10690 [$(build-shared) = yes].
10691 * extra-lib.mk [$(versioning) = yes]: Likewise.
10692 * hurd/Makefile [$(versioning) = yes]: Likewise.
10693 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10694 [SHARED].
10695 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10696 [SHARED].
10697 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10698 [SHARED && !NO_HIDDEN].
10699 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10700 [SHARED].
10701 [SHARED && DO_VERSIONING]: Likewise..
10702 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10703 [$(build-shared) = yes].
10704 * manual/install.texi (--disable-versioning): Remove
10705 documentation.
10706 * INSTALL: Regenerated.
10707 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10708 to [SHARED].
10709 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10710 [$(build-shared) = yes].
10711 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10712 * sysdeps/i386/i686/multiarch/strstr-c.c
10713 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10714 [SHARED && !NO_HIDDEN].
10715 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10716 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10717 * sysdeps/powerpc/powerpc32/dl-machine.c
10718 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10719 * sysdeps/powerpc/powerpc32/sysdep.h
10720 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10721 to [SHARED && PIC && !NO_HIDDEN].
10722 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10723 conditional to [SHARED].
10724
44558701
WN
107252013-09-04 Will Newton <will.newton@linaro.org>
10726
10727 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10728 * benchtests/bench-string.h: Include bench-timing.h instead
10729 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10730 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10731 call to HP_TIMING_DIFF_INIT.
10732 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10733 instead of hp-timing.h macros.
10734 * benchtests/bench-memchr.c: Likewise.
10735 * benchtests/bench-memcmp.c: Likewise.
10736 * benchtests/bench-memcpy.c: Likewise.
10737 * benchtests/bench-memmem.c: Likewise.
10738 * benchtests/bench-memmove.c: Likewise.
10739 * benchtests/bench-memset.c: Likewise.
10740 * benchtests/bench-rawmemchr.c: Likewise.
10741 * benchtests/bench-strcasecmp.c: Likewise.
10742 * benchtests/bench-strcasestr.c: Likewise.
10743 * benchtests/bench-strcat.c: Likewise.
10744 * benchtests/bench-strchr.c: Likewise.
10745 * benchtests/bench-strcmp.c: Likewise.
10746 * benchtests/bench-strcpy.c: Likewise.
10747 * benchtests/bench-strcpy_chk.c: Likewise.
10748 * benchtests/bench-strlen.c: Likewise.
10749 * benchtests/bench-strncasecmp.c: Likewise.
10750 * benchtests/bench-strncat.c: Likewise.
10751 * benchtests/bench-strncmp.c: Likewise.
10752 * benchtests/bench-strncpy.c: Likewise.
10753 * benchtests/bench-strnlen.c: Likewise.
10754 * benchtests/bench-strpbrk.c: Likewise.
10755 * benchtests/bench-strrchr.c: Likewise.
10756 * benchtests/bench-strspn.c: Likewise.
10757 * benchtests/bench-strstr.c: Likewise.
10758
cae16d66
WN
107592013-09-04 Will Newton <will.newton@linaro.org>
10760
10761 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10762
ffa3cd7f
JM
107632013-09-03 Joseph Myers <joseph@codesourcery.com>
10764
10765 [BZ #15427]
10766 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10767 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10768 * math/libm-test.inc (lgamma_test_data): Add more tests.
10769 * sysdeps/i386/fpu/libm-test-ulps: Update.
10770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10771
8f02859f
OB
107722013-09-03 Ondřej Bílka <neleai@seznam.cz>
10773
10774 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10776 Add ifunc.
10777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10778 Add strcmp-sse2-unaligned
10779 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10780
18d43716
MF
107812013-09-02 Mike Frysinger <vapier@gentoo.org>
10782
10783 * Versions.def (libc): Add GLIBC_2.19.
10784
ac444012
MF
107852013-09-02 Mike Frysinger <vapier@gentoo.org>
10786
10787 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10788 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10789
b7835e32
JM
107902013-09-02 Joseph Myers <joseph@codesourcery.com>
10791
10792 [BZ #14155]
10793 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10794 intermediate calculations in recurrence.
10795 (__ieee754_ynf): Likewise.
10796 * math/libm-test.inc (jn_test_data): Do not allow spurious
10797 underflow exception. Add more tests.
10798 (yn_test_data): Add more tests.
10799 * sysdeps/i386/fpu/libm-test-ulps: Update.
10800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10801
8220f4f0
OB
108022013-09-02 Ondřej Bílka <neleai@seznam.cz>
10803
10804 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10805
f24a6d08
OB
108062013-08-30 Ondřej Bílka <neleai@seznam.cz>
10807
10808 * csu/init-first.c: Fix then/than typos.
10809 * locale/programs/ld-collate.c: Likewise.
10810 * locale/programs/linereader.h: Likewise.
10811 * manual/charset.texi: Likewise.
10812 * manual/filesys.texi: Likewise.
10813 * manual/stdio.texi: Likewise.
10814 * manual/string.texi: Likewise.
10815 * stdlib/fmtmsg.c: Likewise.
10816 * sysdeps/i386/stpncpy.S: Likewise.
10817 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10818 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10819 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10820 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10821
382466e0
OB
108222013-08-30 Ondřej Bílka <neleai@seznam.cz>
10823
10824 * elf/dl-open.c: Fix typos.
10825 * iconvdata/gbbig5.c: Likewise.
10826 * iconvdata/iso-2022-jp.c: Likewise.
10827 * iconv/gconv_int.h: Likewise.
10828 * iconv/loop.c: Likewise.
10829 * nis/rpcsvc/nis.h: Likewise.
10830 * resolv/ns_name.c: Likewise.
10831 * stdio-common/vfscanf.c: Likewise.
10832 * streams/stropts.h: Likewise.
10833 * sunrpc/rpc_thread.c: Likewise.
10834 * sysdeps/i386/strpbrk.S: Likewise.
10835 * sysdeps/ieee754/k_standard.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10838 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10839 * sysdeps/mach/hurd/profil.c: Likewise.
10840 * sysdeps/s390/dl-procinfo.h: Likewise.
10841 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10842 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10843 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10844 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10845 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10846
0186c6e9
OB
108472013-08-30 Ondřej Bílka <neleai@seznam.cz>
10848
10849 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10851
d4e16af1
OB
108522013-08-29 Ondřej Bílka <neleai@seznam.cz>
10853
10854 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10855 aix specific files.
10856 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10857 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10858 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10859 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10860 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10861 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10862 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10863 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10864
88335980
TS
108652013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10866 Roland McGrath <roland@hack.frob.com>
10867
10868 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10869 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10870
ed479b02
ST
108712013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10872
10873 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10874 __executable_start symbol instead of _start.
10875
f1cc4c86
TS
108762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10877
d821f07c
TS
10878 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10879 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10880 Move macros to...
10881 * sysdeps/gnu/ldsodefs.h: ... this new file.
10882
c54290cf
TS
10883 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10884 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10885 instead of ELFOSABI_LINUX.
10886
0007fc9b 10887 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10888 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10889 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10890 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10891 Likewise.
10892 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10893 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10894 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10895 Likewise.
10896 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10897 (ibm_extended_long_double): Add ieee_nan member.
10898 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10899 (do_test): New function.
10900
f1cc4c86
TS
10901 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10902 TEST_TRUNC.
10903 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10904 functions, renamed from truncdfsf_test, trunctfsf_test,
10905 trunctfdf_test.
10906 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10907 functions.
10908 (do_test): Run all these.
10909
6f65e668
OB
109102013-08-29 Ondřej Bílka <neleai@seznam.cz>
10911
10912 * argp/argp-help.c: Fix typos.
10913 * argp/argp-parse.c: Likewise.
10914 * debug/backtracesyms.c: Likewise.
10915 * elf/elf.h: Likewise.
10916 * malloc/malloc.c: Likewise.
10917 * nis/nis_print.c: Likewise.
10918 * resolv/res_comp.c: Likewise.
10919 * stdlib/stdlib.h: Likewise.
10920 * sunrpc/clnt_tcp.c: Likewise.
10921 * sunrpc/clnt_udp.c: Likewise.
10922 * sunrpc/clnt_unix.c: Likewise.
10923 * sysdeps/unix/bsd/ptsname.c: Likewise.
10924 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10925 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10927 Likewise.
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10929 Likewise.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10931 Likewise.
6f65e668
OB
10932 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10933
3a309239
SP
109342013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10935
10936 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10938
3b813b29
MF
109392013-08-27 Mike Frysinger <vapier@gentoo.org>
10940
10941 [BZ #15897]
10942 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10943 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10944 ($(objpfx)bug-dl-leaf): New rule.
10945 ($(objpfx)bug-dl-leaf.so): Likewise.
10946 ($(objpfx)bug-dl-leaf.out): Likewise.
10947 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10948 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10949 * dlfcn/bug-dl-leaf.c: New test.
10950 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10951 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10952 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10953 (dlclose): Likewise.
10954 (dlmopen): Likewise.
10955
8cc3269f
RM
109562013-08-27 Roland McGrath <roland@hack.frob.com>
10957
7f9d0034
RM
10958 * include/netdb.h [!_ISOMAC]:
10959 Don't include <tls.h>.
10960 (h_errno, __libc_h_errno): Move declaration and macros out of
10961 [_LIBC_REENTRANT].
10962
fb431262
RM
10963 * include/resolv.h [_RESOLV_H_]:
10964 Don't include <tls.h>.
10965 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10966 * resolv/res_libc.c: Don't include <tls.h>.
10967 (_res): Use __attribute__ ((nocommon)) in place of
10968 __attribute__ ((section (".bss"))).
10969
bd81123a
RM
10970 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10971 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10972
c4e42566
RM
10973 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10974
f890a59b
RM
10975 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10976 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10977
10978 * resolv/res_mkquery.c: Include <sys/time.h>.
10979
5d1f0a09
RM
10980 * inet/ifreq.c: Moved to ...
10981 * sysdeps/unix/ifreq.c: ... here.
10982 * inet/ifreq.c: New file, true stub version.
10983
6fcf28b3
RM
10984 * socket/sa_len.c: New file.
10985 * socket/Makefile (aux): Add it.
10986 * sysdeps/unix/sysv/linux/Makefile
10987 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10988 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10989 and #include <socket/sa_len.c>.
10990 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10991 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10992
e041fb8b
RM
10993 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10994 * bits/socket.h: ... here.
10995
8cc3269f
RM
10996 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10997 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10998 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10999
5d228a43
AS
110002013-08-27 Andreas Schwab <schwab@suse.de>
11001
45b8accc
AS
11002 [BZ #15736]
11003 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11004 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11005 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11006 * string/test-strcasecmp.c (test_main): Run tests in several
11007 locales.
11008 * string/test-strncasecmp.c (test_main): Likewise.
11009
5d228a43
AS
11010 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11011 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11012 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11014 (__strncasecmp_ssse3) [PIC]: Likewise.
11015
59d112a4
RM
110162013-08-26 Roland McGrath <roland@hack.frob.com>
11017
53234cc3
RM
11018 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11019
59d112a4
RM
11020 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11021 instead of explicitly declaring xdecrypt.
11022 * nis/nss_nis/nis-publickey.c: Likewise.
11023
595aba70
SP
110242013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11025
11026 [BZ #15890]
11027 * nscd/aicache.c: Include res_hconf.h.
11028 (addhstaiX): Initialize res_hconf.
11029
ffabd393
AS
110302013-08-26 Andreas Schwab <schwab@suse.de>
11031
11032 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11033 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11034
e0a69f5c
SP
110352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11036
11037 * nscd/aicache.c (addhstaiX): Fix indentation.
11038
8c12f01d
MF
110392013-08-25 Mike Frysinger <vapier@gentoo.org>
11040
11041 * configure.ac: Quote $build_pt_chown test.
11042 * configure: Regenerated.
11043
8fe89494
JM
110442013-08-23 Joseph Myers <joseph@codesourcery.com>
11045
11046 [BZ #15532]
11047 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11048 * math/s_cexpf.c (__cexpf): Likewise.
11049 * math/s_cexpl.c (__cexpl): Likewise.
11050 * math/libm-test.inc (cexp_test_data): Correct expected return
11051 value for NaN + i0. Add another test.
11052
75b181d6
DM
110532013-08-22 David S. Miller <davem@davemloft.net>
11054
11055 * po/ca.po: Update Catalan translation from translation project.
936241e4 11056 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11057
acd06bb1
JM
110582013-08-21 Joseph Myers <joseph@codesourcery.com>
11059
11060 [BZ #15797]
11061 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11062 is infinite, not alongside NaN test.
11063 * math/s_fdimf.c (__fdimf): Likewise.
11064 * math/s_fdiml.c (__fdiml): Likewise.
11065 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11066 errno is unchanged.
11067
c0c3f78a
OB
110682013-08-21 Ondřej Bílka <neleai@seznam.cz>
11069
11070 * argp/argp-help.c: Fix typos.
11071 * crypt/speeds.c: Likewise.
11072 * csu/check_fds.c: Likewise.
11073 * elf/dl-load.c: Likewise.
11074 * elf/dl-open.c: Likewise.
11075 * elf/reldep3.c: Likewise.
11076 * elf/reldep.c: Likewise.
11077 * elf/sprof.c: Likewise.
11078 * iconv/iconv_charmap.c: Likewise.
11079 * iconv/skeleton.c: Likewise.
11080 * iconv/strtab.c: Likewise.
11081 * io/lockf64.c: Likewise.
11082 * libio/libioP.h: Likewise.
11083 * resolv/gai_notify.c: Likewise.
11084 * resolv/ns_name.c: Likewise.
11085 * resolv/ns_samedomain.c: Likewise.
11086 * resolv/res_send.c: Likewise.
11087 * stdlib/random.c: Likewise.
11088 * sunrpc/rpc/xdr.h: Likewise.
11089 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11090 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11091 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11092 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11093 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11097 * sysdeps/mach/hurd/check_fds.c: Likewise.
11098 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11099 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11100 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11101 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11102 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11103 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11104 * sysdeps/pthread/aio_notify.c: Likewise.
11105 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11106 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11107 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11108 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11109 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11110
46ed1038
LD
111112013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11112
11113 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11114 version if bit_Slow_SSE4_2 is set.
11115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11116 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11117
d400dcac
AZ
111182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11119
11120 [BZ #15867]
11121 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11122 trampoline stack frame information.
11123 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11124 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11125 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11126 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11127 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11128 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11129 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11130 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11131 sa_flags value.
11132 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11133 interrupting a syscall and set with option SA_SIGINFO.
11134
42c8fdd8
JM
111352013-08-20 Joseph Myers <joseph@codesourcery.com>
11136
c980f2f4
JM
11137 [BZ #15531]
11138 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11139 argument is infinite.
11140 * math/s_cprojf.c (__cprojf): Likewise.
11141 * math/s_cprojl.c (__cprojl): Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11143 * math/libm-test.inc (cproj_test_data): Add more tests.
11144
0716c4fc
JM
11145 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11146
42c8fdd8
JM
11147 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11148 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11149 size. Use __ffs to determine corresponding shift.
11150
b31469d0
JM
111512013-08-20 Joseph Myers <joseph@codesourcery.com>
11152 Roland McGrath <roland@hack.frob.com>
11153
11154 * Makefile (INSTALL): Remove trailing blank lines from output of
11155 makeinfo.
11156
4e39af6e
AK
111572013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11158
11159 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11160 Align 32 bit compat elf_greg to 8 bytes.
11161
f315524e
AA
111622013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11163
11164 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11165
1326ba1a
SP
111662013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11167
11168 * string/strcoll_l.c (coll_seq): New structure.
11169 (get_next_seq_cached): New function.
11170 (get_next_seq): New function.
11171 (do_compare): New function.
11172 (STRCOLL): Use GNU style definition. Simplify implementation
11173 by using get_next_seq, get_next_seq_cached and do_compare.
11174
91ce4085
FW
111752013-08-16 Florian Weimer <fweimer@redhat.com>
11176
11177 [BZ #14699]
11178 CVE-2013-4237
11179 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11180 member.
11181 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11182 member.
11183 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11184 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11185 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11186 conditional.
11187 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11188 GETDENTS_64BIT_ALIGNED.
11189 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11190 * manual/filesys.texi (Reading/Closing Directory): Document
11191 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11192 strongly.
11193 * manual/conf.texi (Limits for Files): Add portability note to
11194 NAME_MAX, PATH_MAX.
11195 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11196
ca0a6bc4
AS
111972013-08-13 Andreas Schwab <schwab@suse.de>
11198
11199 [BZ #15749]
11200 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11201 of fabs.
11202 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11203 LDBL_MAX_EXP >= 16384]: Add tests for it.
11204
6c1fd795
DM
112052013-08-12 David S. Miller <davem@davemloft.net>
11206
11207 * version.h (RELEASE): Set to "development".
11208 (VERSION): Set to "2.18.90".
11209 * NEWS: Add 2.19 section.
11210
31ad488d
DM
112112013-08-03 David S. Miller <davem@davemloft.net>
11212
11213 * po/ko.po: Update Korean translation from translation project.
11214
db24e684
DM
112152013-08-01 David S. Miller <davem@davemloft.net>
11216
11217 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11218 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11219 Bilka.
11220
f723285b
DM
112212013-07-30 David S. Miller <davem@davemloft.net>
11222
11223 * po/fr.po: Update French translation from translation project.
11224
3cbc52db
DM
112252013-07-28 David S. Miller <davem@davemloft.net>
11226
30bbc0cc
DM
11227 * po/cs.po: Update Czech translation from translation project.
11228
3cbc52db
DM
11229 * po/sv.po: Update Swedish translation from translation project.
11230
d492e6d0
DM
112312013-07-27 David S. Miller <davem@davemloft.net>
11232
f1a7f492
DM
11233 * po/eo.po: Update Esperanto translation from translation project.
11234
90e62a4a
DM
11235 * po/vi.po: Update Vietnamese translation from translation project.
11236
d492e6d0
DM
11237 * po/de.po: Update German translation from translation project.
11238
d4baa62d
DM
112392013-07-26 David S. Miller <davem@davemloft.net>
11240
641aa7b4
DM
11241 * po/bg.po: Update Bulgarian translation from translation project.
11242
d4baa62d
DM
11243 * po/nl.po: Update Dutch translation from translation project.
11244 * po/pl.po: Update Polish translation from translation project.
11245 * po/ru.po: Update Russian translation from translation project.
11246
61a9dcb9
DM
112472013-07-24 David S. Miller <davem@davemloft.net>
11248
11249 * po/libc.pot: Update.
11250
7b1f8b58
AZ
112512013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11252
11253 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11254 variable page size.
11255 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11256 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11257 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11258
a8fc7a03
AK
112592013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11260
11261 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11262
e4608715
CD
112632013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11264 Andreas Schwab <schwab@suse.de>
11265 Roland McGrath <roland@hack.frob.com>
11266 Joseph Myers <joseph@codesourcery.com>
11267 Carlos O'Donell <carlos@redhat.com>
11268
11269 [BZ #15755]
11270 * config.h.in: Define HAVE_PT_CHOWN.
11271 * config.make.in (build-pt-chown): New variable.
11272 * configure.in (--enable-pt_chown): New configure option.
11273 * configure: Regenerate.
11274 * login/Makefile: Include Makeconfig. Build pt_chown only if
11275 build-pt-chown is enabled.
11276 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11277 pt_chown to fix pty ownership.
11278 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11279 CLOSE_ALL_FDS.
11280 * manual/install.texi (Configuring and compiling): Mention
11281 --enable-pt_chown. Add @findex for grantpt.
11282 * INSTALL: Regenerate.
11283
da2d62df
DM
112842013-07-20 David S. Miller <davem@davemloft.net>
11285
11286 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11287 difference between 32-bit and 64-bit.
11288
d7e06450
CD
112892013-07-15 Carlos O'Donell <carlos@redhat.com>
11290
11291 [BZ #15711]
11292 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11293 Avoid system header dependency with -ffreestanding.
11294 ($(objpfx)bits/syscall%d): Likewise.
11295
f959cfd7
DM
112962013-07-13 David S. Miller <davem@davemloft.net>
11297
11298 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11299 underflows from atanl/atan2l due to bug 15319.
11300 (casinh_test_data): Likewise.
11301
c61f8513
DM
113022013-07-07 David S. Miller <davem@davemloft.net>
11303
11304 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11305
72c90ed0
JA
113062013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11307
11308 * sysdeps/i386/fpu/libm-test-ulps: Update.
11309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11310
52dfbe13
SP
113112013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11312
11313 * configure.in (--enable-lock-elision): Fix message text.
11314 * INSTALL: Regenerate.
11315 * configure: Regenerate.
11316
3f169543
AZ
113172013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11318
11319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11320
521c6785
AJ
113212013-07-03 Andreas Jaeger <aj@suse.de>
11322
11323 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11324 define.
11325 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11326 (ptrace_peeksiginfo_args): Add.
11327 (__ptrace_peeksiginfo_flags): Add.
11328 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11329 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11331
d2cc15cb
AM
113322013-07-03 Allan McRae <allan@archlinux.org>
11333
11334 * sysdeps/i386/fpu/libm-test-ulps: Update.
11335
3aaeeca7
DM
113362013-07-02 David S. Miller <davem@davemloft.net>
11337
11338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11339
5314ed1a
MT
113402013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11341
11342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11343
67338156
JM
113442013-07-02 Joseph Myers <joseph@codesourcery.com>
11345
11346 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11348
1717da59
AK
113492013-07-02 Andi Kleen <ak@linux.intel.com>
11350
11351 * config.h.in (ENABLE_LOCK_ELISION): Add.
11352 * configure.in (--enable-lock-elision): Add option.
11353 * manual/install.texi: Document --enable lock elision.
11354 * configure: Regenerate
11355 * INSTALL: Regenerate.
11356
1c81621c
L
113572013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11358
11359 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11360 SSE4.2 strcasecmp for libc.a.
11361 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11362
77f01ab5
JM
113632013-07-02 Joseph Myers <joseph@codesourcery.com>
11364
11365 [BZ #13304]
11366 * soft-fp/op-common.h (_FP_FMA): New macro.
11367 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11368 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11369 (_FP_MUL_MEAT_1_imm): ... here.
11370 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11371 (_FP_MUL_MEAT_1_wide): ... here.
11372 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11373 (_FP_MUL_MEAT_1_hard): ... here.
11374 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11375 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11376 (_FP_MUL_MEAT_2_wide): ... here.
11377 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11378 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11379 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11380 (_FP_MUL_MEAT_2_gmp): ... here.
11381 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11382 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11383 (_FP_MUL_MEAT_4_wide): ... here.
11384 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11385 (_FP_MUL_MEAT_4_gmp): ... here.
11386 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11387 (_FP_WFRACBITS_DW_S): Likewise.
11388 (_FP_WFRACXBITS_DW_S): Likewise.
11389 (_FP_HIGHBIT_DW_S): Likewise.
11390 (FP_FMA_S): Likewise.
11391 (_FP_FRAC_HIGH_DW_S): Likewise.
11392 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11393 (_FP_WFRACBITS_DW_D): Likewise.
11394 (_FP_WFRACXBITS_DW_D): Likewise.
11395 (_FP_HIGHBIT_DW_D): Likewise.
11396 (FP_FMA_D): Likewise.
11397 (_FP_FRAC_HIGH_DW_D): Likewise.
11398 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11399 (_FP_WFRACBITS_DW_E): Likewise.
11400 (_FP_WFRACXBITS_DW_E): Likewise.
11401 (_FP_HIGHBIT_DW_E): Likewise.
11402 (FP_FMA_E): Likewise.
11403 (_FP_FRAC_HIGH_DW_E): Likewise.
11404 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11405 (_FP_WFRACBITS_DW_Q): Likewise.
11406 (_FP_WFRACXBITS_DW_Q): Likewise.
11407 (_FP_HIGHBIT_DW_Q): Likewise.
11408 (FP_FMA_Q): Likewise.
11409 (_FP_FRAC_HIGH_DW_Q): Likewise.
11410 * soft-fp/fmasf4.c: New file.
11411 * soft-fp/fmadf4.c: Likewise.
11412 * soft-fp/fmatf4.c: Likewise.
11413
6308fd9a
LD
114142013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11415
11416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11417 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11418 Silvermont.
11419 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11420 macro.
11421 (index_Slow_SSE4_2): Likewise.
11422 (index_Prefer_PMINUB_for_stringop): Likewise.
11423 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11424 bit_Slow_SSE4_2 is set.
11425 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11426 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11427
89cd9569
RA
114282013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11429
11430 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11431 rtld_global._dl_hwcap2.
11432 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11433 POWER8.
11434 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11435 POWER8 feature descriptions defined in _dl_hwcap2.
11436 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11437 string handling for POWER8 feature bits.
11438 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11439 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11440 _dl_powerpc_cap_flags.
11441 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11442 * sysdeps/powerpc/rtld-global-offsets.sym
11443 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11444 _dl_hwcap2 in the rtld_global_ro structure.
11445
1ae8bfe0
RA
114462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11447
11448 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11449 hardware capabilities in support of AT_HWCAP2.
11450 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11451 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11452 GLRO(dl_hwcap2).
11453 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11454 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11455 explicitly the unknown a_type display mechanism is used.
11456 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11457 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11458 struct member.
11459 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11460 to macro prototype for AT_HWCAP2 support.
11461 * sysdeps/i386/dl-procinfo.h: Likewise.
11462 * sysdeps/s390/dl-procinfo.h: Likewise.
11463 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11464 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11465 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11466 return -1 for unknown a_type display fallback.
11467 * sysdeps/sparc/dl-procinfo.h: Likewise.
11468 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11469 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11470
8fbec010
JM
114712013-06-28 Joseph Myers <joseph@codesourcery.com>
11472
11473 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11474 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11475
0432680e
PY
114762013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11477
11478 [BZ #12492]
11479 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11480 mprotect making __stack_prot writable.
11481
ce61a2ad
NF
114822013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11483 Joseph Myers <joseph@codesourcery.com>
11484
11485 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11486 as being properly aligned.
11487
f91f1c0f
MR
114882013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11489
3d0f5d0c
MR
11490 * dlfcn/modstatic5.c: New file.
11491 * dlfcn/tststatic5.c: New file.
11492 * dlfcn/Makefile (tests): Add tststatic5.
11493 (tests-static): Likewise.
11494 (modules-names): Add modstatic5.
11495 (tststatic5-ENV): New variable.
11496 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11497
f91f1c0f
MR
11498 [BZ #15022]
11499 * elf/dl-support.c (_dl_main_map): New variable.
11500 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11501 (_dl_nns, _dl_load_adds): Set to 1.
11502 (_dl_initial_searchlist): Refer to _dl_main_map.
11503 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11504 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11505 call to _dl_get_origin.
11506 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11507 around call_map.
11508 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11509 * dlfcn/modstatic3.c: New file.
11510 * dlfcn/tststatic3.c: New file.
11511 * dlfcn/tststatic4.c: New file.
11512 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11513 (tests-static): Likewise.
11514 (modules-names): Add modstatic3.
11515 (tststatic3-ENV, tststatic4-ENV): New variables.
11516 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11517 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11518
cbe7d24b
JM
115192013-06-26 Joseph Myers <joseph@codesourcery.com>
11520
11521 * configure.in (CC): Require GCC version 4.4 or later.
11522 * configure: Regenerated.
11523 * manual/install.texi (Tools for Compilation): Update GCC version
11524 requirement.
11525 * INSTALL: Regenerated.
11526
11b8a0e1
LD
115272013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11528
11529 [BZ #15674]
bb5bb87c
L
11530 * string/test-memcmp.c (check2): New.
11531 (main): Call check2.
11532
11b8a0e1
LD
11533 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11534
b0037103
MR
115352013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11536
11537 [BZ #15022]
11538 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11539 over to...
11540 (dl_open_worker) [!SHARED]: ... here.
11541
c18c701d
RA
115422013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11543
11544 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11545
1d17fa5f
RH
115462013-06-25 Richard Henderson <rth@redhat.com>
11547
11548 * locale/programs/locarchive.c: Include <libc-internal.h>
11549
8fcb833a
JM
115502013-06-25 Joseph Myers <joseph@codesourcery.com>
11551
11552 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11553 trailing whitespace removed.
11554
17db6e8d
MF
115552013-06-24 Mike Frysinger <vapier@gentoo.org>
11556
11557 [BZ #10283]
17db6e8d
MF
11558 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11559 * locale/programs/locarchive.c: Include libc-mmap.h.
11560 (prepare_address_space): Take two new outputs (the mmap base and len).
11561 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11562 values.
11563 (create_archive): Declare new mmap base and len values for
11564 prepare_address_space, and store the result in ah.
11565 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11566 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11567 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11568 Declare new mmap base and len values for
11569 prepare_address_space, and store the result in new_ah.
11570 (open_archive): Declare new mmap base and len values for
11571 prepare_address_space, and store the result in ah.
11572 (close_archive): If ah->mmap_base is not NULL, use that and
11573 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11574 * sysdeps/generic/libc-mmap.h: New file.
11575
d605071e
MF
115762013-06-24 Mike Frysinger <vapier@gentoo.org>
11577
11578 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11579 (ALIGN_UP): Likewise.
11580 (PTR_ALIGN_DOWN): Likewise.
11581 (PTR_ALIGN_UP): Likewise.
11582
2f063a6e
RA
115832013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11584
11585 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11586 entry mapped to PPC_PLATFORM_POWER8.
11587 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11588 POWER8.
11589 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11590 (_dl_string_platform): Add case for exporting platform position for
11591 POWER8.
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11593 search path to sysdeps/powerpc/powerpc32/power8 directory.
11594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11595 search path to sysdeps/powerpc/powerpc64/power8 directory.
11596 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11597 power7 directories.
11598 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11599 power7 directories.
11600
a31ee4b3
SP
116012013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11602
a74ca98f
SP
11603 * INSTALL: Regenerate.
11604
a31ee4b3
SP
11605 * nscd/connections.c (nscd_init): Fix comment.
11606
695c378f
JM
116072013-06-22 Joseph Myers <joseph@codesourcery.com>
11608
d8412221
JM
11609 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11610
695c378f
JM
11611 [BZ #15667]
11612 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11613 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11614
d1d54715
MR
116152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11616
11617 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11618 DL_DST_REQ_STATIC.
11619 (DL_DST_REQ_STATIC): Remove macro.
11620
8fdda7af
JM
116212013-06-21 Joseph Myers <joseph@codesourcery.com>
11622
11623 [BZ #7006]
11624 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11625 with a shift of 0 bits.
11626
f3bc5e5a
MR
116272013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11628
11629 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11630 $(tststatic-ENV).
11631
be09e8c9
KK
116322013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11633
11634 [BZ #15655]
11635 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11636
85c2e611
AZ
116372013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11638
11639 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11640 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11641 accepts -fno-tree-loop-distribute-patterns.
11642 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11643 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11644 recursive call.
11645 * string/memset.c (memset): Likewise.
11646 * string/test-memmove.c (simple_memmove): Disable loop transformation
11647 to library calls.
11648 * string/test-memset.c (simple_memset): Likewise.
11649 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11650 * benchtests/bench-memset.c (simple_memset): Likewise.
11651 * configure: Regenerated.
11652
c91e0825
JM
116532013-06-20 Joseph Myers <joseph@codesourcery.com>
11654
b8c792af
JM
11655 * math/test-misc.c (main): Ignore fesetround failure when failures
11656 of subsequent rounding tests would be ignored.
11657
c91e0825
JM
11658 [BZ #15654]
11659 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11660 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11661 * math/fegetenv.c (__fegetenv): Return 0.
11662 * math/fegetexcept.c (fegetexcept): Return 0.
11663 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11664 FE_TONEAREST.
11665 * math/feholdexcpt.c (feholdexcept): Return 0.
11666 * math/fesetenv.c (__fesetenv): Return 0.
11667 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11668 argument FE_TONEAREST.
11669 * math/feupdateenv.c (__feupdateenv): Return 0.
11670 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11671
bfcacbde
RM
116722013-06-18 Roland McGrath <roland@hack.frob.com>
11673
11674 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11675 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11676 ($(objpfx)rtld-%.os rules): Use them.
11677
e55a9b25
AZ
116782013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11679
11680 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11681 fields.
11682
346d65b3
RM
116832013-06-17 Roland McGrath <roland@hack.frob.com>
11684
12086fb4
RM
11685 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11686 length of target pattern, then descending length of dependency pattern.
11687 * configure.in (AWK): Require gawk 3.1.2 or newer.
11688 * manual/install.texi (Tools for Compilation): Say that we do.
11689 * configure: Regenerated.
11690
346d65b3
RM
11691 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11692 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11693 * scripts/sysd-rules.awk: ... this new script.
11694 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11695 than a glob-style pattern.
11696
1a846317
JM
116972013-06-17 Joseph Myers <joseph@codesourcery.com>
11698
11699 * math/test-misc.c (main): Do not treat incorrectly rounded
11700 conversions as failure unless ROUNDING_TESTS passes.
11701
8fc75e6f
JM
117022013-06-15 Joseph Myers <joseph@codesourcery.com>
11703
3711a167
JM
11704 [BZ #15631]
11705 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11706 restore exception state around main square root computation, then
11707 check for inexactness explicitly.
11708
8fc75e6f
JM
11709 * math/libm-test.inc (fma_test_data): Add another test.
11710
61dd6208
SP
117112013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11712
adf23d2c
SP
11713 * manual/threads.texi (Non-POSIX Extensions): New document
11714 node. Document pthread_getattr_default_np and
11715 pthread_setattr_default_np.
11716
61dd6208
SP
11717 * Versions.def (libpthread): Add GLIBC_2.18.
11718 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11720 Likewise.
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11722 Likewise.
11723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11724 Likewise.
11725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11726 Likewise.
11727 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11728 Likewise.
11729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11730 Likewise.
11731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11732 Likewise.
11733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11734 Likewise.
11735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11736 Likewise.
11737
d086fc7b
LD
117382013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11739
11740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11741 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11742
747ef469
SP
117432013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11744 H.J. Lu <hjl.tools@gmail.com>
11745
11746 [BZ #15627]
11747 * sysdeps/x86_64/rtld-memset.c: Remove file.
11748 * sysdeps/x86_64/rtld-memset.S: New file.
11749
1b2feed2
JM
117502013-06-14 Joseph Myers <joseph@codesourcery.com>
11751
11752 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11753 (test_in_one_mode): Take arguments for whether the rounding mode
11754 is supported for each floating-point type.
11755 (do_test): Pass new arguments to test_in_one_mode using
11756 ROUNDING_TESTS.
11757
a58ad3f8
RM
117582013-06-13 Roland McGrath <roland@hack.frob.com>
11759
11760 * posix/tst-waitid.c (do_test): Distinguish different instances of
11761 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11762 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11763 before entering the kernel for waitpid.
11764
c204ab28
SP
117652013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11766
11767 * NEWS: Fix note on clock function precision. Text by Roland
11768 McGrath.
11769
f4a29fba
RM
117702013-06-13 Roland McGrath <roland@hack.frob.com>
11771
11772 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11773 it into place only when and if the sanity check passes.
11774
1f24b9ad
JM
117752013-06-13 Joseph Myers <joseph@codesourcery.com>
11776
11777 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11778 output for whether conversion result is exact. Take argument
11779 indicating whether type is IBM long double.
11780 (round_for_all): Change need_exact field to ibm_ld.
11781 * stdlib/tst-strtod-round.c (struct exactness): New type.
11782 (struct test): Change bool ld_ok field to struct exactness exact.
11783 (TEST): Update all definitions for change to field.
11784 (tests): Regenerate array contents.
11785 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11786 field value. Check for IBM long double here.
11787 (do_test): Update calls to test_in_one_mode.
11788
58206c68
SP
117892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11790
11791 [BZ #12515]
11792 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11793 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11794
2d6f4c5b 117952013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11796
11797 [BZ #15605]
11798 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11799 generated by the compiler on loop optimizations.
11800 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11801 general definitions.
11802
94f2c076
JM
118032013-06-12 Joseph Myers <joseph@codesourcery.com>
11804
11805 * math/bug-nextafter.c: Include <math-tests.h>.
11806 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11807 the relevant type.
11808 * math/bug-nexttoward.c: Include <math-tests.h>.
11809 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11810 the relevant type.
11811 * math/test-misc.c: Include <math-tests.h>.
11812 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11813 the relevant type.
11814
e0e50a0a
AJ
118152013-06-12 Andreas Jaeger <aj@suse.de>
11816
11817 * po/ia.po: Update Interlingua translation from translation
11818 project.
11819
25061094
SP
118202013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11821
11822 * include/fenv.h: Include stdbool.h.
11823 (struct rm_ctx): New structure.
11824 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11825 Define macro.
11826 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11827 (SET_RESTORE_ROUNDF): Likewise.
11828 (SET_RESTORE_ROUNDL): Likewise.
11829 (SET_RESTORE_ROUND_NOEX): Likewise.
11830 (SET_RESTORE_ROUND_NOEXF): Likewise.
11831 (SET_RESTORE_ROUND_NOEXL): Likewise.
11832 (SET_RESTORE_ROUND_53BIT): Likewise.
11833 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11834 (libc_feresetround_noexf_ctx): Likewise.
11835 (libc_feresetround_noexl_ctx): Likewise.
11836 (libc_feholdsetround_53bit_ctx): Likewise.
11837 (libc_feresetround_53bit_ctx): Likewise.
11838 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11839 (libc_feholdexcept_setround_sse_ctx): New function.
11840 (libc_fesetenv_sse_ctx): Likewise.
11841 (libc_feupdateenv_sse_ctx): Likewise.
11842 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11843 (libc_feholdexcept_setround_387_ctx): Likewise.
11844 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11845 (libc_feholdsetround_387_prec_ctx): Likewise.
11846 (libc_feholdsetround_387_ctx): Likewise.
11847 (libc_feholdsetround_387_53bit_ctx): Likewise.
11848 (libc_feholdsetround_sse_ctx): Likewise.
11849 (libc_feresetround_sse_ctx): Likewise.
11850 (libc_feresetround_387_ctx): Likewise.
11851 (libc_feupdateenv_387_ctx): Likewise.
11852 (libc_feholdexcept_setroundf_ctx): Define macro.
11853 (libc_fesetenvf_ctx): Likewise.
11854 (libc_feupdateenvf_ctx): Likewise.
11855 (libc_feholdsetroundf_ctx): Likewise.
11856 (libc_feresetroundf_ctx): Likewise.
11857 (libc_feholdexcept_setround_ctx): Likewise.
11858 (libc_fesetenv_ctx): Likewise.
11859 (libc_feupdateenv_ctx): Likewise.
11860 (libc_feholdsetround_ctx): Likewise.
11861 (libc_feresetround_ctx): Likewise.
11862 (libc_feholdexcept_setroundl_ctx): Likewise.
11863 (libc_feupdateenvl_ctx): Likewise.
11864 (libc_feholdsetroundl_ctx): Likewise.
11865 (libc_feresetroundl_ctx): Likewise.
11866 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11867 (libc_feresetround_53bit_ctx): Likewise.
11868
59b30555
SP
118692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11870
11871 * locale/iso-639.def: Convert to UTF-8.
11872
f1d73d30
JM
118732013-06-11 Joseph Myers <joseph@codesourcery.com>
11874
11875 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11876 (EXCEPTION_TESTS_double): Likewise.
11877 (EXCEPTION_TESTS_long_double): Likewise.
11878 (EXCEPTION_TESTS): Likewise.
11879 * math/libm-test.inc (test_exceptions): Only test exceptions if
11880 EXCEPTION_TESTS (FLOAT).
11881
94aca5e7
SP
118822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11883
11884 * benchtests/Makefile (string-bench): Add strcpy_chk and
11885 stpcpy_chk.
11886 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11887 * benchtests/bench-stpcpy_chk.c: New file.
11888 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11889 * benchtests/bench-strcpy_chk.c: New file.
11890 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11891 code.
11892 (do_test): Likewise.
11893
fac0c5f2
RA
118942013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11895
11896 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11897 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11898 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11899 with tabs where appropriate.
11900 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11901 dl-procinfo.h.
11902 [PPC_PLATFORM_PPC440]: Likewise.
11903 [PPC_PLATFORM_PPC464]: Likewise.
11904 [PPC_PLATFORM_PPC476]: Likewise.
11905 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11906 ppc464, and ppc476 platform strings merging from ports/
11907 dl-procinfo.h.
11908
f22bc486
AS
119092013-06-11 Andreas Schwab <schwab@suse.de>
11910
11911 [BZ #14991]
11912 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11913 (from_ucs4_idx): Regenerate.
11914 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11915 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11916 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11917 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11918 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11919 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11920 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11921 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11922 from FROM_LOOP and TO_LOOP specific macros.
11923 (BODY): Handle combining characters.
11924 * iconvdata/BIG5HKSCS.irreversible: Update.
11925 * iconvdata/BIG5HKSCS.precomposed: New file.
11926 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11927 characters.
11928 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11929
c1f75dc3
SP
119302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11931
4eacded2
SP
11932 * include/sys/time.h: Fix indentation and add copyright header.
11933
fec799f8
SP
11934 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11935 (do_test): Likewise.
11936 * string/test-memchr.c (do_one_test): Likewise.
11937 (do_test): Likewise.
11938 * string/test-memcmp.c (do_one_test): Likewise.
11939 (do_test): Likewise.
11940 * string/test-memcpy.c (do_one_test): Likewise.
11941 (do_test): Likewise.
11942 * string/test-memmem.c (do_one_test): Likewise.
11943 (do_test): Likewise.
11944 (do_random_tests): Likewise.
11945 * string/test-memmove.c (do_one_test): Likewise.
11946 (do_test): Likewise.
11947 * string/test-memset.c (do_one_test): Likewise.
11948 (do_test): Likewise.
11949 * string/test-rawmemchr.c (do_one_test): Likewise.
11950 (do_test): Likewise.
11951 * string/test-strcasecmp.c (do_one_test): Likewise.
11952 (do_test): Likewise.
11953 * string/test-strcasestr.c (do_one_test): Likewise.
11954 (do_test): Likewise.
11955 * string/test-strcat.c (do_one_test): Likewise.
11956 (do_test): Likewise.
11957 * string/test-strchr.c (do_one_test): Likewise.
11958 (do_test): Likewise.
11959 * string/test-strcmp.c (do_one_test): Likewise.
11960 (do_test): Likewise.
11961 * string/test-strcpy.c (do_one_test): Likewise.
11962 (do_test): Likewise.
11963 * string/test-string.h: Likewise.
11964 (test_init): Likewise.
11965 * string/test-strlen.c (do_one_test): Likewise.
11966 (do_test): Likewise.
11967 * string/test-strncasecmp.c (do_one_test): Likewise.
11968 (do_test): Likewise.
11969 * string/test-strncat.c (do_one_test): Likewise.
11970 (do_test): Likewise.
11971 * string/test-strncmp.c (do_one_test): Likewise.
11972 (do_test_limit): Likewise.
11973 (do_test): Likewise.
11974 * string/test-strncpy.c (do_one_test): Likewise.
11975 (do_test): Likewise.
11976 * string/test-strnlen.c (do_one_test): Likewise.
11977 (do_test): Likewise.
11978 * string/test-strpbrk.c (do_one_test): Likewise.
11979 (do_test): Likewise.
11980 * string/test-strrchr.c (do_one_test): Likewise.
11981 (do_test): Likewise.
11982 * string/test-strspn.c (do_one_test): Likewise.
11983 (do_test): Likewise.
11984 * string/test-strstr.c (do_one_test): Likewise.
11985 (do_test): Likewise.
11986
97020474
SP
11987 * benchtests/Makefile (string-bench): Add string benchmarks.
11988 * benchtests/bench-bcopy-ifunc.c: New file.
11989 * benchtests/bench-bcopy.c: New file.
11990 * benchtests/bench-bzero-ifunc.c: New file.
11991 * benchtests/bench-bzero.c: New file.
11992 * benchtests/bench-memccpy-ifunc.c: New file.
11993 * benchtests/bench-memccpy.c: New file.
11994 * benchtests/bench-memchr-ifunc.c: New file.
11995 * benchtests/bench-memchr.c: New file.
11996 * benchtests/bench-memcmp-ifunc.c: New file.
11997 * benchtests/bench-memcmp.c: New file.
11998 * benchtests/bench-memmem-ifunc.c: New file.
11999 * benchtests/bench-memmem.c: New file.
12000 * benchtests/bench-memmove-ifunc.c: New file.
12001 * benchtests/bench-memmove.c: New file.
12002 * benchtests/bench-mempcpy-ifunc.c: New file.
12003 * benchtests/bench-mempcpy.c: New file.
12004 * benchtests/bench-memset-ifunc.c: New file.
12005 * benchtests/bench-memset.c: New file.
12006 * benchtests/bench-rawmemchr-ifunc.c: New file.
12007 * benchtests/bench-rawmemchr.c: New file.
12008 * benchtests/bench-stpcpy-ifunc.c: New file.
12009 * benchtests/bench-stpcpy.c: New file.
12010 * benchtests/bench-stpncpy-ifunc.c: New file.
12011 * benchtests/bench-stpncpy.c: New file.
12012 * benchtests/bench-strcasecmp-ifunc.c: New file.
12013 * benchtests/bench-strcasecmp.c: New file.
12014 * benchtests/bench-strcasestr-ifunc.c: New file.
12015 * benchtests/bench-strcasestr.c: New file.
12016 * benchtests/bench-strcat-ifunc.c: New file.
12017 * benchtests/bench-strcat.c: New file.
12018 * benchtests/bench-strchr-ifunc.c: New file.
12019 * benchtests/bench-strchr.c: New file.
12020 * benchtests/bench-strchrnul-ifunc.c: New file.
12021 * benchtests/bench-strchrnul.c: New file.
12022 * benchtests/bench-strcmp-ifunc.c: New file.
12023 * benchtests/bench-strcmp.c: New file.
12024 * benchtests/bench-strcpy-ifunc.c: New file.
12025 * benchtests/bench-strcpy.c: New file.
12026 * benchtests/bench-strcspn-ifunc.c: New file.
12027 * benchtests/bench-strcspn.c: New file.
12028 * benchtests/bench-strlen-ifunc.c: New file.
12029 * benchtests/bench-strlen.c: New file.
12030 * benchtests/bench-strncasecmp-ifunc.c: New file.
12031 * benchtests/bench-strncasecmp.c: New file.
12032 * benchtests/bench-strncat-ifunc.c: New file.
12033 * benchtests/bench-strncat.c: New file.
12034 * benchtests/bench-strncmp-ifunc.c: New file.
12035 * benchtests/bench-strncmp.c: New file.
12036 * benchtests/bench-strncpy-ifunc.c: New file.
12037 * benchtests/bench-strncpy.c: New file.
12038 * benchtests/bench-strnlen-ifunc.c: New file.
12039 * benchtests/bench-strnlen.c: New file.
12040 * benchtests/bench-strpbrk-ifunc.c: New file.
12041 * benchtests/bench-strpbrk.c: New file.
12042 * benchtests/bench-strrchr-ifunc.c: New file.
12043 * benchtests/bench-strrchr.c: New file.
12044 * benchtests/bench-strspn-ifunc.c: New file.
12045 * benchtests/bench-strspn.c: New file.
12046 * benchtests/bench-strstr-ifunc.c: New file.
12047 * benchtests/bench-strstr.c: New file.
12048
c1f75dc3
SP
12049 * benchtests/Makefile: Disable parallel execution of targets.
12050 (string-bench): Add memcpy.
12051 (benchset): New variable to store a list of benchmark sets.
12052 (bench-func): Renamed from bench.
12053 (bench-set): New target.
12054 (bench): Depend on bench-func and bench-set.
12055 * benchtests/README: Add section on benchmark sets.
12056 * benchtests/bench-memcpy-ifunc.c: New file.
12057 * benchtests/bench-memcpy.c: New file.
12058 * benchtests/bench-string.h: New file.
12059
50fd745b
AS
120602013-06-11 Andreas Schwab <schwab@suse.de>
12061
12062 [BZ #15577]
12063 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12064 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12065 values in the triple.
12066 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12067 terminator in the group key.
12068
3ee7e9fe
AJ
120692013-06-11 Andreas Jaeger <aj@suse.de>
12070
12071 * po/zh_TW.po: Update Chinese (traditional) translation from
12072 translation project.
12073
89fb6835
SP
120742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12075
12076 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12077 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12078 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12079 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12080 (clock_getcpuclockid): Likewise.
12081 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12082 Add weak_alias and libc_hidden_def.
12083 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12084 * rt/clock_gettime.c (clock_gettime): Rename to
12085 __clock_gettime. Add weak_alias and libc_hidden_def.
12086 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12087 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12088 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12089 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12090 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12091 Likewise.
12092 * rt/clock_settime.c (clock_settime): Rename to
12093 __clock_settime. Add weak_alias and libc_hidden_def.
12094 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12095
0efa6f8b
JM
120962013-06-10 Joseph Myers <joseph@codesourcery.com>
12097
b8c61b4b
JM
12098 * mach/err_boot.sub: Remove trailing whitespace.
12099 * mach/err_ipc.sub: Likewise.
12100 * mach/err_mach.sub: Likewise.
12101
0efa6f8b
JM
12102 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12103 (ROUNDING_TESTS_double): Likewise.
12104 (ROUNDING_TESTS_long_double): Likewise.
12105 (ROUNDING_TESTS): Likewise.
12106 * math/libm-test.inc: Include <math-tests.h>.
12107 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12108 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12109 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12110 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12111
50b818bf
SP
121122013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12113
12114 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12115 of assigning.
12116
60d2f8f3
JM
121172013-06-08 Joseph Myers <joseph@codesourcery.com>
12118
4902d2c3
JM
12119 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12120 otherwise empty TRANS lines.
12121 * sysdeps/gnu/errlist.c: Regenerated.
12122
60d2f8f3
JM
12123 * catgets/gencat.c (error_print): Use (void) in function
12124 definition.
12125 * crypt/crypt_util.c (__init_des): Likewise.
12126 * crypt/speeds.c (Stop): Likewise.
12127 (main): Likewise.
12128 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12129 * inet/ruserpass.c (token): Likewise.
12130 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12131 * intl/localealias.c (extend_alias_table): Likewise.
12132 * intl/plural-exp.c (init_germanic_plural): Likewise.
12133 * libio/fcloseall.c (__fcloseall): Likewise.
12134 * libio/genops.c (_IO_flush_all): Likewise.
12135 (_IO_flush_all_linebuffered): Likewise.
12136 (_IO_cleanup): Likewise.
12137 (_IO_iter_begin): Likewise.
12138 (_IO_iter_end): Likewise.
12139 (_IO_list_lock): Likewise.
12140 (_IO_list_unlock): Likewise.
12141 (_IO_list_resetlock): Likewise.
12142 * libio/getchar.c (getchar): Likewise.
12143 * libio/getchar_u.c (getchar_unlocked): Likewise.
12144 * libio/getwchar.c (getwchar): Likewise.
12145 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12146 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12147 * login/getpt.c (__getpt): Likewise.
12148 * login/tst-utmp.c (main): Likewise.
12149 * malloc/hooks.c (__malloc_check_init): Likewise.
12150 * malloc/malloc.c (__malloc_stats): Likewise.
12151 * malloc/mtrace.c (tr_break): Likewise.
12152 (mtrace): Likewise.
12153 (muntrace): Likewise.
12154 * misc/fstab.c (endfsent): Likewise.
12155 * misc/getclktck.c (__getclktck): Likewise.
12156 * misc/getdtsz.c (__getdtablesize): Likewise.
12157 * misc/gethostid.c (gethostid): Likewise.
12158 * misc/getpagesize.c (__getpagesize): Likewise.
12159 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12160 (__get_nprocs): Likewise.
12161 (__get_phys_pages): Likewise.
12162 (__get_avphys_pages): Likewise.
12163 * misc/getttyent.c (getttyent): Likewise.
12164 (setttyent): Likewise.
12165 (endttyent): Likewise.
12166 * misc/getusershell.c (getusershell): Likewise.
12167 (endusershell): Likewise.
12168 (setusershell): Likewise.
12169 (initshells): Likewise.
12170 * misc/hsearch.c (__hdestroy): Likewise.
12171 * misc/sync.c (sync): Likewise.
12172 * misc/syslog.c (closelog_internal): Likewise.
12173 (closelog): Likewise.
12174 * misc/ttyslot.c (ttyslot): Likewise.
12175 * misc/vhangup.c (vhangup): Likewise.
12176 * posix/fork.c (__fork): Likewise.
12177 * posix/getegid.c (__getegid): Likewise.
12178 * posix/geteuid.c (__geteuid): Likewise.
12179 * posix/getgid.c (__getgid): Likewise.
12180 * posix/getpid.c (__getpid): Likewise.
12181 * posix/getppid.c (__getppid): Likewise.
12182 * posix/getuid.c (__getuid): Likewise.
12183 * posix/pause.c (pause): Likewise.
12184 * posix/setpgrp.c (setpgrp): Likewise.
12185 * posix/setsid.c (__setsid): Likewise.
12186 * posix/test-vfork.c (noop): Likewise.
12187 * resolv/gethnamaddr.c (_endhtent): Likewise.
12188 (_gethtent): Likewise.
12189 (ht_endhostent): Likewise.
12190 (gethostent): Likewise.
12191 (dns_service): Likewise.
12192 * stdlib/drand48.c (drand48): Likewise.
12193 * stdlib/lrand48.c (lrand48): Likewise.
12194 * stdlib/mrand48.c (mrand48): Likewise.
12195 * stdlib/rand.c (rand): Likewise.
12196 * stdlib/random.c (__random): Likewise.
12197 * stdlib/setenv.c (clearenv): Likewise.
12198 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12199 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12200 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12201 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12202 (__get_nprocs): Likewise.
12203 (__get_phys_pages): Likewise.
12204 (__get_avphys_pages): Likewise.
12205 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12206 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12207 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12208 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12209 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12210 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12211 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12212 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12213 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12214 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12215 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12216 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12217 * sysdeps/posix/clock.c (clock): Likewise.
12218 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12219 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12220 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12221 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12222 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12224 (__get_nprocs_conf): Likewise.
12225 (__get_phys_pages): Likewise.
12226 (__get_avphys_pages): Likewise.
12227 * time/clock.c (clock): Likewise.
12228 * time/tzset.c (__tzname_max): Likewise.
12229
2e09a79a
JM
122302013-06-07 Joseph Myers <joseph@codesourcery.com>
12231
12232 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12233 (__bswap_32): Do not use "register".
12234 * crypt/crypt.c (_ufc_doit_r): Likewise.
12235 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12236 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12237 * gmon/gmon.c (__monstartup): Likewise.
12238 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12239 * hurd/hurdmalloc.c (more_memory): Likewise.
12240 (malloc): Likewise.
12241 (free): Likewise.
12242 (realloc): Likewise.
12243 (malloc_fork_prepare): Likewise.
12244 (malloc_fork_parent): Likewise.
12245 (malloc_fork_child): Likewise.
12246 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12247 (_svcauth_des): Likewise.
12248 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12249 * inet/inet_net.c (inet_network): Likewise.
12250 * inet/inet_netof.c (inet_netof): Likewise.
12251 * inet/rcmd.c (__validuser2_sa): Likewise.
12252 * io/fts.c (fts_open): Likewise.
12253 (fts_load): Likewise.
12254 (fts_close): Likewise.
12255 (fts_read): Likewise.
12256 (fts_children): Likewise.
12257 (fts_build): Likewise.
12258 (fts_stat): Likewise.
12259 (fts_sort): Likewise.
12260 (fts_alloc): Likewise.
12261 (fts_lfree): Likewise.
12262 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12263 (_IO_file_xsgetn): Likewise.
12264 (_IO_file_xsgetn_mmap): Likewise.
12265 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12266 (_IO_cookie_write): Likewise.
12267 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12268 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12269 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12270 * malloc/obstack.c (_obstack_begin): Likewise.
12271 (_obstack_begin_1): Likewise.
12272 (_obstack_newchunk): Likewise.
12273 (_obstack_allocated_p): Likewise.
12274 (obstack_free): Likewise.
12275 (_obstack_memory_used): Likewise.
12276 * misc/getttyent.c (getttynam): Likewise.
12277 (getttyent): Likewise.
12278 (skip): Likewise.
12279 (value): Likewise.
12280 * misc/getusershell.c (initshells): Likewise.
12281 * misc/syslog.c (__vsyslog_chk): Likewise.
12282 * misc/ttyslot.c (ttyslot): Likewise.
12283 * nis/nis_hash.c (__nis_hash): Likewise.
12284 * posix/fnmatch_loop.c (FCT): Likewise.
12285 * posix/getconf.c (print_all): Likewise.
12286 (main): Likewise.
12287 * posix/getopt.c (exchange): Likewise.
12288 * posix/glob.c (globfree): Likewise.
12289 (prefix_array): Likewise.
12290 (__glob_pattern_type): Likewise.
12291 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12292 (NS_GET32): Likewise.
12293 (NS_PUT16): Likewise.
12294 (NS_PUT32): Likewise.
12295 * resolv/gethnamaddr.c (getanswer): Likewise.
12296 (gethostbyname2): Likewise.
12297 (gethostbyaddr): Likewise.
12298 (_gethtent): Likewise.
12299 (_gethtbyname2): Likewise.
12300 (_gethtbyaddr): Likewise.
12301 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12302 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12303 * resolv/res_init.c (__res_vinit): Likewise.
12304 (net_mask): Likewise.
12305 * resolv/res_mkquery.c (outchar): Likewise.
12306 (PRINT): Likewise.
12307 * stdio-common/printf_fp.c (outchar): Likewise.
12308 (PRINT): Likewise.
12309 * stdio-common/printf_fphex.c (outchar): Likewise.
12310 (PRINT): Likewise.
12311 * stdio-common/printf_size.c (outchar): Likewise.
12312 (PRINT): Likewise.
12313 * stdio-common/test_rdwr.c (main): Likewise.
12314 * stdio-common/tfformat.c (matches): Likewise.
12315 * stdio-common/vfprintf.c (outchar): Likewise.
12316 (printf_unknown): Likewise.
12317 (buffered_vfprintf): Likewise.
12318 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12319 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12320 (ReadFile): Likewise.
12321 * stdlib/qsort.c (SWAP): Likewise.
12322 (_quicksort): Likewise.
12323 * stdlib/setenv.c (__add_to_environ): Likewise.
12324 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12325 * stdlib/strtol_l.c (__strtol_l): Likewise.
12326 * stdlib/tst-strtod.c (main): Likewise.
12327 * stdlib/tst-strtol.c (main): Likewise.
12328 * stdlib/tst-strtoll.c (main): Likewise.
12329 * string/bits/string2.h (__strcmp_cc): Likewise.
12330 (__strcmp_cg): Likewise.
12331 (__strcspn_c1): Likewise.
12332 (__strcspn_c2): Likewise.
12333 (__strcspn_c3): Likewise.
12334 (__strspn_c1): Likewise.
12335 (__strspn_c2): Likewise.
12336 (__strspn_c3): Likewise.
12337 (__strsep_1c): Likewise.
12338 (__strsep_2c): Likewise.
12339 (__strsep_3c): Likewise.
12340 * string/memccpy.c (__memccpy): Likewise.
12341 * string/stpcpy.c (__stpcpy): Likewise.
12342 * string/strcmp.c (strcmp): Likewise.
12343 * string/strrchr.c (strrchr): Likewise.
12344 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12345 Likewise.
12346 * sysdeps/mach/hurd/getcwd.c
12347 (_hurd_canonicalize_directory_name_internal): Likewise.
12348 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12349 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12350 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12351 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12352 Likewise, in both definitions.
12353 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12354 definitions.
12355 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12356 64] (__bswap_64): Likewise.
12357 * time/test_time.c (main): Likewise.
12358 * time/tzfile.c (__tzfile_read): Likewise.
12359 (__tzfile_compute): Likewise.
12360 * time/tzset.c (__tzset_parse_tz): Likewise.
12361 (tzset_internal): Likewise.
12362 (compute_change): Likewise.
12363 * wcsmbs/wcscat.c (__wcscat): Likewise.
12364 * wcsmbs/wcschr.c (wcschr): Likewise.
12365 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12366 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12367 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12368 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12369 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12370 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12371 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12372 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12373 * wcsmbs/wmemset.c (wmemset): Likewise.
12374
9e54314b
JM
123752013-06-06 Joseph Myers <joseph@codesourcery.com>
12376
12377 * scripts/config.guess: Update to version 2013-05-16.
12378 * scripts/config.sub: Update to version 2013-04-24.
12379 * scripts/install-sh: Update to version 2011-11-20.07.
12380 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12381 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12382
350635a5
OB
123832013-06-06 Ondřej Bílka <neleai@seznam.cz>
12384
12385 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12386 * elf/sln.c: Likewise.
12387 * hurd/hurd/ioctl.h: Likewise.
12388 * hurd/hurdmalloc.c: Likewise.
12389 * hurd/xattr.c: Likewise.
12390 * include/shlib-compat.h: Likewise.
12391 * inet/ruserpass.c: Likewise.
12392 * libio/iofgets_u.c: Likewise.
12393 * libio/iofgetws_u.c: Likewise.
12394 * locale/programs/ld-identification.c: Likewise.
12395 * locale/programs/ld-time.c: Likewise.
12396 * mach/msg-destroy.c: Likewise.
12397 * nss/nss_files/files-netgrp.c: Likewise.
12398 * resolv/res_data.c: Likewise.
12399 * soft-fp/op-1.h: Likewise.
12400 * soft-fp/op-2.h: Likewise.
12401 * soft-fp/op-4.h: Likewise.
12402 * soft-fp/op-common.h: Likewise.
12403 * stdio-common/printf_fphex.c: Likewise.
12404 * stdlib/strtod_l.c: Likewise.
12405 * sunrpc/rpc/clnt.h: Likewise.
12406 * sysdeps/generic/framestate.c: Likewise.
12407 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12408 * sysdeps/i386/bsd-setjmp.S: Likewise.
12409 * sysdeps/i386/__longjmp.S: Likewise.
12410 * sysdeps/i386/setjmp.S: Likewise.
12411 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12412 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12416 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12417 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12419 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12420 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12421 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12429 * sysdeps/ieee754/support.c: Likewise.
12430 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12431 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12432 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12433 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12434 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12435 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12436 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12437 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12438 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12439 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12440 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12441 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12442 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12443 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12444 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12445 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12446 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12448
44a988af
OB
124492013-06-05 Ondřej Bílka <neleai@seznam.cz>
12450
25506f09 12451 * posix/transbug.c: Remove executable mode.
44a988af 12452
9c84384c
JM
124532013-06-05 Joseph Myers <joseph@codesourcery.com>
12454
12455 * crypt/speeds.c: Remove trailing whitespace.
12456 * dlfcn/default.c: Likewise.
12457 * elf/ifuncdep2.c: Likewise.
12458 * elf/ifuncmain1.c: Likewise.
12459 * elf/ifuncmain1vis.c: Likewise.
12460 * elf/testobj.h: Likewise.
12461 * elf/tst-stackguard1.c: Likewise.
12462 * gmon/sys/gmon.h: Likewise.
12463 * hurd/hurdmsg.c: Likewise.
12464 * hurd/new-fd.c: Likewise.
12465 * hurd/ports-get.c: Likewise.
12466 * iconvdata/ibm1008_420.c: Likewise.
12467 * inet/tst-getni1.c: Likewise.
12468 * inet/tst-getni2.c: Likewise.
12469 * libio/ioungetc.c: Likewise.
12470 * libio/wfiledoalloc.c: Likewise.
12471 * manual/libm-err-tab.pl: Likewise.
12472 * math/w_dremf.c: Likewise.
12473 * misc/ftruncate.c: Likewise.
12474 * posix/bug-glob2.c: Likewise.
12475 * posix/tst-pcre.c: Likewise.
12476 * posix/wait4.c: Likewise.
12477 * resolv/README: Likewise.
12478 * resolv/res_debug.h: Likewise.
12479 * resolv/tst-inet_ntop.c: Likewise.
12480 * setjmp/bug269-setjmp.c: Likewise.
12481 * soft-fp/extended.h: Likewise.
12482 * soft-fp/op-1.h: Likewise.
12483 * soft-fp/op-2.h: Likewise.
12484 * soft-fp/op-4.h: Likewise.
12485 * soft-fp/op-8.h: Likewise.
12486 * soft-fp/testit.c: Likewise.
12487 * stdio-common/bug16.c: Likewise.
12488 * stdlib/random.c: Likewise.
12489 * sunrpc/rpcsvc/rquota.x: Likewise.
12490 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12491 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12492 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12493 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12494 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12495 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12496 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12497 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12498 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12499 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12500 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12501 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12502 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12506 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12510 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12511 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12512 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12515 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12519 * sysdeps/ieee754/s_lib_version.c: Likewise.
12520 * sysdeps/mach/hurd/check_fds.c: Likewise.
12521 * sysdeps/mach/hurd/getsockname.c: Likewise.
12522 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12523 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12524 * sysdeps/powerpc/bits/link.h: Likewise.
12525 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12526 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12527 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12528 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12529 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12530 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12531 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12532 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12533 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12534 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12535 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12536 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12537 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12538 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12539 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12540 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12541 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12542 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12543 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12544 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12546 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12547 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12548 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12549 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12552 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12553 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12554 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12557 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12558 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12559 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12560 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12561 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12562 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12563 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12564 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12565 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12566 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12567 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12568 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12569 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12570 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12571 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12572 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12573 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12574 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12575 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12577 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12578 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12579 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12580 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12581 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12583 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12584 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12585 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12586 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12587 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12588 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12589 * sysdeps/powerpc/sysdep.h: Likewise.
12590 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12591 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12592 * sysdeps/sh/dl-trampoline.S: Likewise.
12593 * sysdeps/sh/memset.S: Likewise.
12594 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12595 * sysdeps/sh/strlen.S: Likewise.
12596 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12597 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12598 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12599 * sysdeps/sparc/sparc32/rem.S: Likewise.
12600 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12601 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12602 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12603 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12604 * sysdeps/sparc/sparc32/urem.S: Likewise.
12605 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12606 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12607 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12608 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12609 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12610 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12611 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12612 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12613 * sysdeps/unix/bsd/times.c: Likewise.
12614 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12615 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12619 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12621 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12622 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12623 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12625 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12626 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12627 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12628 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12629 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12630 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12631 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12632 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12633 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12634 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12635 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12636 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12637 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12638 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12639 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12642 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12643 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12644 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12645 * sysdeps/x86_64/strcspn.S: Likewise.
12646
869378a5
RA
126472013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12648
12649 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12650 generated file. Regenerate properly from gen-translit.pl.
12651 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12652 locale/C-translit.h.
12653
840e2943
AS
126542013-06-05 Andreas Schwab <schwab@suse.de>
12655
12656 [BZ #15100]
12657 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12658 week as 6 instead of -1.
12659 * time/tst-strptime.c (day_tests): Add test case.
12660
4c60cb0c
SP
126612013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12662
12663 * sysdeps/generic/math_private.h
12664 (libc_feholdexcept_setround_53bit): Replace with
12665 libc_feholdsetround_53bit.
12666 (libc_feupdateenv_53bit): Replace with
12667 libc_feresetround_53bit.
12668 (SET_RESTORE_ROUND_53BIT): Adjust.
12669
d180203e
SP
126702013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12671
96df079a
SP
12672 * string/test-strchrnul.c: Add copyright header.
12673
d180203e
SP
12674 * posix/tst-getaddrinfo4.c: Increase test timeout.
12675
8b0ccb2d
CD
126762013-06-03 Carlos O'Donell <carlos@redhat.com>
12677
12678 [BZ #15536]
12679 * math/libm-test.inc (MAX_EXP): Remove
12680 (MIN_EXP): Define.
12681 (ulp): Use MIN_EXP - MANT_DIG.
12682 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12683
3b3c4d40
CD
126842013-05-31 Carlos O'Donell <carlos@redhat.com>
12685
12686 * po/be.po: Revert last change.
12687 * po/zh_CN.po: Likewise.
12688 * po/header.pot: Likewise.
12689
fab7ce3f
JM
126902013-05-31 Joseph Myers <joseph@codesourcery.com>
12691
12692 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12693 link-libc-deps to empty as target-specific variable.
12694 * Makerules (link-libc-args): New variable.
12695 (libc-for-link): Likewise.
12696 (link-libc-deps): Likewise.
12697 (lib%.so): Depend on $(link-libc-deps). Link with
12698 $(link-libc-args).
12699 (build-module): Link with $(link-libc-args).
12700 (build-module-asneeded): Likewise.
12701 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12702 list of objects.
12703 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12704 target-specific variable.
12705 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12706 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12707 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12708 libc.
12709 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12710 libc and ld.so.
12711 ($(objpfx)libpcprofile.so): Likewise.
12712 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12713 libc_nonshared.a.
12714 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12715 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12716 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12717 $(link-libc-deps).
12718 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12719 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12720 * login/Makefile ($(objpfx)libutil.so): Likewise.
12721 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12722 * math/Makefile ($(objpfx)libm.so): Likewise.
12723 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12724 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12725 variable instead of depending directly on libc.
12726 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12727 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12728 $(link-libc-deps).
12729 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12730 libc.
12731 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12732 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12733 ($(objpfx)libanl.so): Likewise.
12734 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12735 ld.so.
12736 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12737 $(link-libc-deps).
12738 * sysdeps/i386/fpu/Makefile: Remove file.
12739 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12740 ($(objpfx)libm.so): Remove dependency on ld.so.
12741
eca5920c
PF
127422013-05-30 Patsy Franklin <pfrankli@redhat.com>
12743
12744 [BZ # 15553]
12745 * nis/yp_xdr.c (XDRMAXNAME): Define.
12746 (XDRMAXRECORD): Define.
12747 (xdr_domainname): Use XDRMAXNAME.
12748 (xdr_mapname): Likewise.
12749 (xdr_peername): Likewise.
12750 (xdr_keydat): Use XDRMAXRECORD.
12751 (xdr_valdat): Likewise.
12752
127532013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12754
12755 [BZ #14256]
12756 * manual/errno.texi (ESTALE): Update to account for more than
12757 just NFS file systems.
12758 * sysdeps/gnu/errlist.c: Regenerated.
12759
b9375348
SP
127602013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12761
12762 [BZ #15465]
12763 * elf/Makefile (tests): Add tst-null-argv.
12764 (modules-names): Add tst-null-argv-lib.
12765 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12766 (tst-null-argv-ENV): Set environment for tst-null-argv.
12767 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12768 (RTLD_PROGNAME): New macro.
12769 * elf/tst-null-argv.c: New test case.
12770 * elf/tst-null-argv-lib.c: Library for test case.
12771 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12772 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12773 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12774 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12775 * elf/dl-init.c (call_init): Likewise.
12776 (_dl_init): Likewise.
12777 * elf/dl-load.c (print_search_path): Likewise.
12778 (_dl_map_object): Likewise.
12779 * elf/dl-lookup.c (do_lookup_x): Likewise.
12780 (add_dependency): Likewise.
12781 (_dl_lookup_symbol_x): Likewise.
12782 (_dl_debug_bindings): Likewise.
12783 * elf/dl-open.c (_dl_show_scope): Likewise.
12784 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12785 * elf/dl-version.c (match_symbol): Likewise.
12786 (_dl_check_map_versions): Likewise.
12787 * elf/rtld.c (dl_main): Likewise.
12788 (print_unresolved): Use RTLD_PROGNAME.
12789 (print_missing_version): Likewise.
12790 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12791 (elf_machine_rela): Likewise.
12792 * sysdeps/powerpc/powerpc32/dl-machine.c
12793 (__process_machine_rela): Likewise.
12794 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12795 Likewise.
12796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12797 Likewise.
12798 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12799 Likewise.
12800 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12802 Likewise.
12803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12804 Likewise.
12805 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12806
8a9f20c8
CD
128072013-05-28 Carlos O'Donell <carlos@redhat.com>
12808
12809 * po/be.po: Add descriptive title.
12810 * po/zh_CN.po: Likewise.
12811 * po/header.pot: Likewise.
12812
0e60d68e
MF
128132013-05-28 Mike Frysinger <vapier@gentoo.org>
12814
12815 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12816 error message.
12817 (enlarge_archive): Likewise.
12818
56b672e9
BN
128192013-05-28 Ben North <ben@redfrontdoor.org>
12820
12821 * manual/arith.texi (frexp): It is the magnitude of the return
12822 value which lies in [0.5, 1), not the return value itself.
12823
5e056687
AZ
128242013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12825
12826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12827
2b66ef5d
TS
128282013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12829
528c2405
TS
12830 * stdio-common/bug26.c (main): Correct fscanf template.
12831
07b4c13d
TS
12832 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12833 declare _dl_skip_args.
12834
ec9dd97c
TS
12835 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12836 Don't declare.
12837
2b66ef5d
TS
12838 * manual/platform.texi: Add missing @end deftypefun.
12839
4f8dfe27
JM
128402013-05-24 Joseph Myers <joseph@codesourcery.com>
12841
0323d086
JM
12842 [BZ #15529]
12843 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12844 bit of mantissa of 2^16382.
12845 * math/libm-test.inc (hypot_test_data): Add more tests.
12846
dd4259b9
JM
12847 * math/libm-test.inc: Add drem and pow10 to list of tested
12848 functions.
12849 (pow10_test): New function.
12850 (drem_test): Likewise.
12851 (drem_test_tonearest): Likewise.
12852 (drem_test_towardzero): Likewise.
12853 (drem_test_downward): Likewise.
12854 (drem_test_upward): Likewise.
12855 (main): Call the new functions.
12856
4f8dfe27
JM
12857 * math/libm-test.inc (finite_test_data): Remove.
12858 (finite_test): Run tests from isfinite_test_data.
12859 (gamma_test_data): Remove.
12860 (gamma_test): Run tests from lgamma_test_data.
12861 * sysdeps/i386/fpu/libm-test-ulps: Update.
12862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12863
d116b7c4
AZ
128642013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12865
12866 * manual/platform.texi: Add PowerPC PPR function set documentation.
12867 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12868 implementation.
12869
e96e3767
CD
128702013-05-24 Carlos O'Donell <carlos@redhat.com>
12871
12872 * math/libm-test.inc (MAX_EXP): Define.
12873 (ULPDIFF): Define.
12874 (ulp): New function.
12875 (check_float_internal): Use ULPDIFF.
12876 (cpow_test): Disable failing test.
12877 (check_ulp): Test ulp() implemetnation.
12878 (main): Call check_ulp before starting tests.
12879
b679a606
JM
128802013-05-24 Joseph Myers <joseph@codesourcery.com>
12881
e8bdba36
JM
12882 * math/gen-libm-test.pl (generate_testfile): Do not handle
12883 START_DATA and END_DATA.
12884 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12885 END_DATA.
12886 (acos_tonearest_test_data): Likewise.
12887 (acos_towardzero_test_data): Likewise.
12888 (acos_downward_test_data): Likewise.
12889 (acos_upward_test_data): Likewise.
12890 (acosh_test_data): Likewise.
12891 (asin_test_data): Likewise.
12892 (asin_tonearest_test_data): Likewise.
12893 (asin_towardzero_test_data): Likewise.
12894 (asin_downward_test_data): Likewise.
12895 (asin_upward_test_data): Likewise.
12896 (asinh_test_data): Likewise.
12897 (atan_test_data): Likewise.
12898 (atanh_test_data): Likewise.
12899 (atan2_test_data): Likewise.
12900 (cabs_test_data): Likewise.
12901 (cacos_test_data): Likewise.
12902 (cacosh_test_data): Likewise.
12903 (carg_test_data): Likewise.
12904 (casin_test_data): Likewise.
12905 (casinh_test_data): Likewise.
12906 (catan_test_data): Likewise.
12907 (catanh_test_data): Likewise.
12908 (cbrt_test_data): Likewise.
12909 (ccos_test_data): Likewise.
12910 (ccosh_test_data): Likewise.
12911 (ceil_test_data): Likewise.
12912 (cexp_test_data): Likewise.
12913 (cimag_test_data): Likewise.
12914 (clog_test_data): Likewise.
12915 (clog10_test_data): Likewise.
12916 (conj_test_data): Likewise.
12917 (copysign_test_data): Likewise.
12918 (cos_test_data): Likewise.
12919 (cos_tonearest_test_data): Likewise.
12920 (cos_towardzero_test_data): Likewise.
12921 (cos_downward_test_data): Likewise.
12922 (cos_upward_test_data): Likewise.
12923 (cosh_test_data): Likewise.
12924 (cosh_tonearest_test_data): Likewise.
12925 (cosh_towardzero_test_data): Likewise.
12926 (cosh_downward_test_data): Likewise.
12927 (cosh_upward_test_data): Likewise.
12928 (cpow_test_data): Likewise.
12929 (cproj_test_data): Likewise.
12930 (creal_test_data): Likewise.
12931 (csin_test_data): Likewise.
12932 (csinh_test_data): Likewise.
12933 (csqrt_test_data): Likewise.
12934 (ctan_test_data): Likewise.
12935 (ctan_tonearest_test_data): Likewise.
12936 (ctan_towardzero_test_data): Likewise.
12937 (ctan_downward_test_data): Likewise.
12938 (ctan_upward_test_data): Likewise.
12939 (ctanh_test_data): Likewise.
12940 (ctanh_tonearest_test_data): Likewise.
12941 (ctanh_towardzero_test_data): Likewise.
12942 (ctanh_downward_test_data): Likewise.
12943 (ctanh_upward_test_data): Likewise.
12944 (erf_test_data): Likewise.
12945 (erfc_test_data): Likewise.
12946 (exp_test_data): Likewise.
12947 (exp_tonearest_test_data): Likewise.
12948 (exp_towardzero_test_data): Likewise.
12949 (exp_downward_test_data): Likewise.
12950 (exp_upward_test_data): Likewise.
12951 (exp10_test_data): Likewise.
12952 (exp2_test_data): Likewise.
12953 (expm1_test_data): Likewise.
12954 (fabs_test_data): Likewise.
12955 (fdim_test_data): Likewise.
12956 (finite_test_data): Likewise.
12957 (floor_test_data): Likewise.
12958 (fma_test_data): Likewise.
12959 (fma_towardzero_test_data): Likewise.
12960 (fma_downward_test_data): Likewise.
12961 (fma_upward_test_data): Likewise.
12962 (fmax_test_data): Likewise.
12963 (fmin_test_data): Likewise.
12964 (fmod_test_data): Likewise.
12965 (fpclassify_test_data): Likewise.
12966 (frexp_test_data): Likewise.
12967 (gamma_test_data): Likewise.
12968 (hypot_test_data): Likewise.
12969 (ilogb_test_data): Likewise.
12970 (isfinite_test_data): Likewise.
12971 (isgreater_test_data): Likewise.
12972 (isgreaterequal_test_data): Likewise.
12973 (isinf_test_data): Likewise.
12974 (isless_test_data): Likewise.
12975 (islessequal_test_data): Likewise.
12976 (islessgreater_test_data): Likewise.
12977 (isnan_test_data): Likewise.
12978 (isnormal_test_data): Likewise.
12979 (issignaling_test_data): Likewise.
12980 (isunordered_test_data): Likewise.
12981 (j0_test_data): Likewise.
12982 (j1_test_data): Likewise.
12983 (jn_test_data): Likewise.
12984 (ldexp_test_data): Likewise.
12985 (lgamma_test_data): Likewise.
12986 (lrint_test_data): Likewise.
12987 (lrint_tonearest_test_data): Likewise.
12988 (lrint_towardzero_test_data): Likewise.
12989 (lrint_downward_test_data): Likewise.
12990 (lrint_upward_test_data): Likewise.
12991 (llrint_test_data): Likewise.
12992 (llrint_tonearest_test_data): Likewise.
12993 (llrint_towardzero_test_data): Likewise.
12994 (llrint_downward_test_data): Likewise.
12995 (llrint_upward_test_data): Likewise.
12996 (log_test_data): Likewise.
12997 (log10_test_data): Likewise.
12998 (log1p_test_data): Likewise.
12999 (log2_test_data): Likewise.
13000 (logb_test_data): Likewise.
13001 (logb_downward_test_data): Likewise.
13002 (lround_test_data): Likewise.
13003 (llround_test_data): Likewise.
13004 (modf_test_data): Likewise.
13005 (nearbyint_test_data): Likewise.
13006 (nextafter_test_data): Likewise.
13007 (nexttoward_test_data): Likewise.
13008 (pow_test_data): Likewise.
13009 (pow_tonearest_test_data): Likewise.
13010 (pow_towardzero_test_data): Likewise.
13011 (pow_downward_test_data): Likewise.
13012 (pow_upward_test_data): Likewise.
13013 (remainder_test_data): Likewise.
13014 (remainder_tonearest_test_data): Likewise.
13015 (remainder_towardzero_test_data): Likewise.
13016 (remainder_downward_test_data): Likewise.
13017 (remainder_upward_test_data): Likewise.
13018 (remquo_test_data): Likewise.
13019 (rint_test_data): Likewise.
13020 (rint_tonearest_test_data): Likewise.
13021 (rint_towardzero_test_data): Likewise.
13022 (rint_downward_test_data): Likewise.
13023 (rint_upward_test_data): Likewise.
13024 (round_test_data): Likewise.
13025 (scalb_test_data): Likewise.
13026 (scalbn_test_data): Likewise.
13027 (scalbln_test_data): Likewise.
13028 (signbit_test_data): Likewise.
13029 (sin_test_data): Likewise.
13030 (sin_tonearest_test_data): Likewise.
13031 (sin_towardzero_test_data): Likewise.
13032 (sin_downward_test_data): Likewise.
13033 (sin_upward_test_data): Likewise.
13034 (sincos_test_data): Likewise.
13035 (sinh_test_data): Likewise.
13036 (sinh_tonearest_test_data): Likewise.
13037 (sinh_towardzero_test_data): Likewise.
13038 (sinh_downward_test_data): Likewise.
13039 (sinh_upward_test_data): Likewise.
13040 (sqrt_test_data): Likewise.
13041 (tan_test_data): Likewise.
13042 (tan_tonearest_test_data): Likewise.
13043 (tan_towardzero_test_data): Likewise.
13044 (tan_downward_test_data): Likewise.
13045 (tan_upward_test_data): Likewise.
13046 (tanh_test_data): Likewise.
13047 (tgamma_test_data): Likewise.
13048 (trunc_test_data): Likewise.
13049 (y0_test_data): Likewise.
13050 (y1_test_data): Likewise.
13051 (yn_test_data): Likewise.
13052 (significand_test_data): Likewise.
13053
b679a606
JM
13054 * math/gen-libm-test.pl (@functions): Remove variable.
13055 (generate_testfile): Don't handle START and END lines.
13056 * math/libm-test.inc (START): New macro.
13057 (END): Likewise.
13058 (END_COMPLEX): Likewise.
13059 (acos_test): Use END macro without arguments.
13060 (acos_test_tonearest): Likewise.
13061 (acos_test_towardzero): Likewise.
13062 (acos_test_downward): Likewise.
13063 (acos_test_upward): Likewise.
13064 (acosh_test): Likewise.
13065 (asin_test): Likewise.
13066 (asin_test_tonearest): Likewise.
13067 (asin_test_towardzero): Likewise.
13068 (asin_test_downward): Likewise.
13069 (asin_test_upward): Likewise.
13070 (asinh_test): Likewise.
13071 (atan_test): Likewise.
13072 (atanh_test): Likewise.
13073 (atan2_test): Likewise.
13074 (cabs_test): Likewise.
13075 (cacos_test): Use END_COMPLEX macro without arguments.
13076 (cacosh_test): Likewise.
13077 (carg_test): Use END macro without arguments.
13078 (casin_test): Use END_COMPLEX macro without arguments.
13079 (casinh_test): Likewise.
13080 (catan_test): Likewise.
13081 (catanh_test): Likewise.
13082 (cbrt_test): Use END macro without arguments.
13083 (ccos_test): Use END_COMPLEX macro without arguments.
13084 (ccosh_test): Likewise.
13085 (ceil_test): Use END macro without arguments.
13086 (cexp_test): Use END_COMPLEX macro without arguments.
13087 (cimag_test): Use END macro without arguments.
13088 (clog_test): Use END_COMPLEX macro without arguments.
13089 (clog10_test): Likewise.
13090 (conj_test): Likewise.
13091 (copysign_test): Use END macro without arguments.
13092 (cos_test): Likewise.
13093 (cos_test_tonearest): Likewise.
13094 (cos_test_towardzero): Likewise.
13095 (cos_test_downward): Likewise.
13096 (cos_test_upward): Likewise.
13097 (cosh_test): Likewise.
13098 (cosh_test_tonearest): Likewise.
13099 (cosh_test_towardzero): Likewise.
13100 (cosh_test_downward): Likewise.
13101 (cosh_test_upward): Likewise.
13102 (cpow_test): Use END_COMPLEX macro without arguments.
13103 (cproj_test): Likewise.
13104 (creal_test): Use END macro without arguments.
13105 (csin_test): Use END_COMPLEX macro without arguments.
13106 (csinh_test): Likewise.
13107 (csqrt_test): Likewise.
13108 (ctan_test): Likewise.
13109 (ctan_test_tonearest): Likewise.
13110 (ctan_test_towardzero): Likewise.
13111 (ctan_test_downward): Likewise.
13112 (ctan_test_upward): Likewise.
13113 (ctanh_test): Likewise.
13114 (ctanh_test_tonearest): Likewise.
13115 (ctanh_test_towardzero): Likewise.
13116 (ctanh_test_downward): Likewise.
13117 (ctanh_test_upward): Likewise.
13118 (erf_test): Use END macro without arguments.
13119 (erfc_test): Likewise.
13120 (exp_test): Likewise.
13121 (exp_test_tonearest): Likewise.
13122 (exp_test_towardzero): Likewise.
13123 (exp_test_downward): Likewise.
13124 (exp_test_upward): Likewise.
13125 (exp10_test): Likewise.
13126 (exp2_test): Likewise.
13127 (expm1_test): Likewise.
13128 (fabs_test): Likewise.
13129 (fdim_test): Likewise.
13130 (finite_test): Likewise.
13131 (floor_test): Likewise.
13132 (fma_test): Likewise.
13133 (fma_test_towardzero): Likewise.
13134 (fma_test_downward): Likewise.
13135 (fma_test_upward): Likewise.
13136 (fmax_test): Likewise.
13137 (fmin_test): Likewise.
13138 (fmod_test): Likewise.
13139 (fpclassify_test): Likewise.
13140 (frexp_test): Likewise.
13141 (gamma_test): Likewise.
13142 (hypot_test): Likewise.
13143 (ilogb_test): Likewise.
13144 (isfinite_test): Likewise.
13145 (isgreater_test): Likewise.
13146 (isgreaterequal_test): Likewise.
13147 (isinf_test): Likewise.
13148 (isless_test): Likewise.
13149 (islessequal_test): Likewise.
13150 (islessgreater_test): Likewise.
13151 (isnan_test): Likewise.
13152 (isnormal_test): Likewise.
13153 (issignaling_test): Likewise.
13154 (isunordered_test): Likewise.
13155 (j0_test): Likewise.
13156 (j1_test): Likewise.
13157 (jn_test): Likewise.
13158 (ldexp_test): Likewise.
13159 (lgamma_test): Likewise.
13160 (lrint_test): Likewise.
13161 (lrint_test_tonearest): Likewise.
13162 (lrint_test_towardzero): Likewise.
13163 (lrint_test_downward): Likewise.
13164 (lrint_test_upward): Likewise.
13165 (llrint_test): Likewise.
13166 (llrint_test_tonearest): Likewise.
13167 (llrint_test_towardzero): Likewise.
13168 (llrint_test_downward): Likewise.
13169 (llrint_test_upward): Likewise.
13170 (log_test): Likewise.
13171 (log10_test): Likewise.
13172 (log1p_test): Likewise.
13173 (log2_test): Likewise.
13174 (logb_test): Likewise.
13175 (logb_test_downward): Likewise.
13176 (lround_test): Likewise.
13177 (llround_test): Likewise.
13178 (modf_test): Likewise.
13179 (nearbyint_test): Likewise.
13180 (nextafter_test): Likewise.
13181 (nexttoward_test): Likewise.
13182 (pow_test): Likewise.
13183 (pow_test_tonearest): Likewise.
13184 (pow_test_towardzero): Likewise.
13185 (pow_test_downward): Likewise.
13186 (pow_test_upward): Likewise.
13187 (remainder_test): Likewise.
13188 (remainder_test_tonearest): Likewise.
13189 (remainder_test_towardzero): Likewise.
13190 (remainder_test_downward): Likewise.
13191 (remainder_test_upward): Likewise.
13192 (remquo_test): Likewise.
13193 (rint_test): Likewise.
13194 (rint_test_tonearest): Likewise.
13195 (rint_test_towardzero): Likewise.
13196 (rint_test_downward): Likewise.
13197 (rint_test_upward): Likewise.
13198 (round_test): Likewise.
13199 (scalb_test): Likewise.
13200 (scalbn_test): Likewise.
13201 (scalbln_test): Likewise.
13202 (signbit_test): Likewise.
13203 (sin_test): Likewise.
13204 (sin_test_tonearest): Likewise.
13205 (sin_test_towardzero): Likewise.
13206 (sin_test_downward): Likewise.
13207 (sin_test_upward): Likewise.
13208 (sincos_test): Likewise.
13209 (sinh_test): Likewise.
13210 (sinh_test_tonearest): Likewise.
13211 (sinh_test_towardzero): Likewise.
13212 (sinh_test_downward): Likewise.
13213 (sinh_test_upward): Likewise.
13214 (sqrt_test): Likewise.
13215 (tan_test): Likewise.
13216 (tan_test_tonearest): Likewise.
13217 (tan_test_towardzero): Likewise.
13218 (tan_test_downward): Likewise.
13219 (tan_test_upward): Likewise.
13220 (tanh_test): Likewise.
13221 (tgamma_test): Likewise.
13222 (trunc_test): Likewise.
13223 (y0_test): Likewise.
13224 (y1_test): Likewise.
13225 (yn_test): Likewise.
13226 (significand_test): Likewise.
13227
bae143d2
OB
132282013-05-24 Ondřej Bílka <neleai@seznam.cz>
13229
13230 [BZ #15381]
13231 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13232
9323d39b
EM
132332013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13234
d4ea44a0 13235 [BZ #14894]
9323d39b
EM
13236 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13237 __ppc_mdoio and __ppc_mdoom.
13238 * manual/platform.texi: Document new functions __ppc_yield,
13239 __ppc_mdoio and __ppc_mdoom.
13240
13e23af7
CD
132412013-05-22 Carlos O'Donell <carlos@redhat.com>
13242
13243 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13244 (main): Mention "tls" pseudo-hwcap is legacy.
13245 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13246
351fe550
JM
132472013-05-22 Joseph Myers <joseph@codesourcery.com>
13248
13249 * math/gen-libm-test.pl (parse_args): Output only string of
13250 arguments as text for test name, not full call or descriptions of
13251 tests for extra outputs.
13252 (generate_testfile): Do not pass function name to parse_args.
13253 Generate this_func variable from START.
13254 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13255 field to arg_str.
13256 (struct test_ff_f_data): Likewise.
13257 (test_ff_f_data_nexttoward): Likewise.
13258 (struct test_fi_f_data): Likewise.
13259 (struct test_fl_f_data): Likewise.
13260 (struct test_if_f_data): Likewise.
13261 (struct test_fff_f_data): Likewise.
13262 (struct test_c_f_data): Likewise.
13263 (struct test_f_f1_data): Likewise. Remove field extra_name.
13264 (struct test_fF_f1_data): Likewise.
13265 (struct test_ffI_f1_data): Likewise.
13266 (struct test_c_c_data): Rename test_name field to arg_str.
13267 (struct test_cc_c_data): Likewise.
13268 (struct test_f_i_data): Likewise.
13269 (struct test_ff_i_data): Likewise.
13270 (struct test_f_l_data): Likewise.
13271 (struct test_f_L_data): Likewise.
13272 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13273 and extra2_name.
13274 (COMMON_TEST_SETUP): New macro.
13275 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13276 (COMMON_TEST_CLEANUP): Likewise.
13277 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13278 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13279 macros.
13280 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13281 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13282 macros.
13283 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13284 (RUN_TEST_fff_f): Take argument string. Call new setup and
13285 cleanup macros.
13286 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13287 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13288 macros.
13289 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13290 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13291 macros.
13292 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13293 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13294 cleanup macros.
13295 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13296 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13297 cleanup macros.
13298 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13299 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13300 cleanup macros.
13301 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13302 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13303 macros.
13304 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13305 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13306 macros.
13307 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13308 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13309 macros.
13310 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13311 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13312 cleanup macros.
13313 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13314 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13315 cleanup macros.
13316 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13317 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13318 macros.
13319 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13320 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13321 cleanup macros.
13322 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13323 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13324 macros.
13325 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13326 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13327 macros.
13328 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13329 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13330 cleanup macros.
13331 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13332
85118d4d
EBM
133332013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13334
13335 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13336 to _sifields.sigfault.
13337 (si_addr_lsb): Define new macro.
13338 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13340 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13341
7a44c18f
CD
133422013-05-03 Carlos O'Donell <carlos at redhat.com>
13343
13344 [BZ #15441]
13345 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13346 returns -1.
13347 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13348 null return -1.
13349 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13350 loading the domain.
13351
b50a7181
JM
133522013-05-22 Joseph Myers <joseph@codesourcery.com>
13353
13354 * math/gen-libm-test.pl (parse_args): Do not include expected
13355 result in test name.
13356 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13357 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13358 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13359 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13360 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13362
051063c8
SP
133632013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13364
3ce9e010
SP
13365 * benchtests/Makefile: Sort function entries.
13366
051063c8
SP
13367 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13368 tanh, asinh, acosh, atanh.
13369 * benchtests/acos-inputs: New file.
13370 * benchtests/acosh-inputs: New file.
13371 * benchtests/asin-inputs: New file.
13372 * benchtests/asinh-inputs: New file.
13373 * benchtests/atanh-inputs: New file.
13374 * benchtests/cosh-inputs: New file.
13375 * benchtests/log-inputs: New file.
13376 * benchtests/sinh-inputs: New file.
13377 * benchtests/tanh-inputs: New file.
13378
47c22455
DL
133792013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13380
13381 [BZ #15339]
13382 * posix/tst-getaddrinfo4.c: New test.
13383 * posix/Makefile (tests): Add it.
13384
3d04f5db
SP
133852013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13386
13387 [BZ #15339]
13388 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13389 when no services were used.
13390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13391 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13392
d5dd6189
AS
133932013-05-21 Andreas Schwab <schwab@suse.de>
13394
13395 [BZ #15014]
13396 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13397 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13398 successful.
13399 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13400 redundant variable declarations and reallocation of buffer when
13401 parsing as IPv6 address. Always set NSS status when called from
13402 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13403 buffer too small. Correct computation of needed size.
13404 * nss/Makefile (tests): Add test-digits-dots.
13405 * nss/test-digits-dots.c: New test.
13406
fef94eab
SP
134072013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13408
13409 * benchtests/Makefile: Remove instructions for adding
13410 benchmark tests.
13411 * benchtests/README: New file to explain how to execute and
13412 enhance the benchmark tests.
13413
e39adf43
AS
134142013-05-21 Andreas Schwab <schwab@suse.de>
13415
13416 [BZ #15493]
13417 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13418 * setjmp/tst-sigsetjmp.c: New test.
13419
b2b671b6
OB
134202013-05-20 Ondřej Bílka <neleai@seznam.cz>
13421
13422 * sysdeps/x86_64/memset.S (memset): New implementation.
13423 (__bzero): Likewise.
13424 (__memset_tail): New function.
13425
2d48b41c
OB
134262013-05-20 Ondřej Bílka <neleai@seznam.cz>
13427
13428 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13429 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13430 __memcpy_sse2_unaligned ifunc selection.
13431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13432 Add memcpy-sse2-unaligned.S.
13433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13434 Add: __memcpy_sse2_unaligned.
13435
f16cc3eb
JM
134362013-05-19 Joseph Myers <joseph@codesourcery.com>
13437
3e694268
JM
13438 [BZ #15490]
13439 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13440 math_force_eval before restoring floating-point envrionment.
13441 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13443 Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13445 <math_private.h>.
13446 (__nearbyintl): Use math_force_eval before restoring
13447 floating-point environment.
13448 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13449
db62a907
JM
13450 * math/gen-libm-test.pl (special_functions): Remove.
13451 (parse_args): Don't handle TEST_extra. Handle functions with no
13452 return value.
13453 * math/libm-test.inc (struct test_sincos_data): Replace with
13454 struct test_fFF_11_data.
13455 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13456 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13457 (sincos_test_data): Change element type to struct
13458 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13459 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13460 RUN_TEST_LOOP_sincos.
13461 * math/README.libm-test: Don't mention special handling of
13462 individual functions.
13463 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13465 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13466 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13467 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13469
f16cc3eb
JM
13470 * math/gen-libm-test.pl (get_variable): Remove function.
13471 (parse_args): Don't show pointer parameters to call in test
13472 names. Use "extra output N" in test names for extra outputs
13473 rather than naming variables.
13474
3779b5b6
JM
134752013-05-18 Joseph Myers <joseph@codesourcery.com>
13476
2ee094ff
JM
13477 [BZ #15488]
13478 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13479 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13480 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13481 double tests.
13482 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13483 disable.
13484 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13485 check_long_double.
13486
3779b5b6
JM
13487 * math/gen-libm-test.pl (@tests): Remove variable.
13488 ($count): Likewise.
13489 (new_test): Remove function.
13490 (show_exceptions): New function.
13491 (special_functions): Use show_exceptions instead of new_test.
13492 (parse_args): Likewise.
13493 (generate_testfile): Pass only function name in generated call to
13494 print_max_error or print_complex_max_error.
13495 (get_ulps): Do not handle complex tests specially.
13496 (output_test): Rename to ...
13497 (get_all_ulps_for_test): ... this. Return a string rather than
13498 printing to a file. Require ulps to be present.
13499 (output_ulps): Generate arrays rather than #defines.
13500 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13501 (struct ulp_data): New type.
13502 (BUILD_COMPLEX_ULP): Remove macro.
13503 (compare_ulp_data): New function.
13504 (find_ulps): Likewise.
13505 (find_test_ulps): Likewise.
13506 (find_function_ulps): Likewise.
13507 (find_complex_function_ulps): Likewise.
13508 (print_max_error): Determine allowed ulps using
13509 find_function_ulps.
13510 (print_complex_max_error): Determine allowed ulps using
13511 find_complex_function_ulps.
13512 (check_float_internal): Determine max ulps using find_test_ulps.
13513 (check_float): Do not take max_ulp parameter. Update call to
13514 check_float_internal.
13515 (check_complex): Likewise.
13516 (check_int): Do not take max_ulp parameter.
13517 (check_long): Likewise.
13518 (check_bool): Likewise.
13519 (check_longlong): Likewise.
13520 (struct test_f_f_data): Remove max_ulp field.
13521 (struct test_ff_f_data): Likewise.
13522 (struct test_ff_f_data_nexttoward): Likewise.
13523 (struct test_fi_f_data): Likewise.
13524 (struct test_fl_f_data): Likewise.
13525 (struct test_if_f_data): Likewise.
13526 (struct test_fff_f_data): Likewise.
13527 (struct test_c_f_data): Likewise.
13528 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13529 (struct test_fF_f1_data): Likewise.
13530 (struct test_ffI_f1_data): Likewise.
13531 (struct test_c_c_data): Remove max_ulp field.
13532 (struct test_cc_c_data): Likewise.
13533 (struct test_f_i_data): Likewise.
13534 (struct test_ff_i_data): Likewise.
13535 (struct test_f_l_data): Likewise.
13536 (struct test_f_L_data): Likewise.
13537 (struct test_sincos_data): Likewise.
13538 (RUN_TEST_f_f): Do not handle ulps.
13539 (RUN_TEST_LOOP_f_f): Likewise.
13540 (RUN_TEST_2_f): Likewise.
13541 (RUN_TEST_LOOP_2_f): Likewise.
13542 (RUN_TEST_fff_f): Likewise.
13543 (RUN_TEST_LOOP_fff_f): Likewise.
13544 (RUN_TEST_c_f): Likewise.
13545 (RUN_TEST_LOOP_c_f): Likewise.
13546 (RUN_TEST_f_f1): Likewise.
13547 (RUN_TEST_LOOP_f_f1): Likewise.
13548 (RUN_TEST_fF_f1): Likewise.
13549 (RUN_TEST_LOOP_fF_f1): Likewise.
13550 (RUN_TEST_fI_f1): Likewise.
13551 (RUN_TEST_LOOP_fI_f1): Likewise.
13552 (RUN_TEST_ffI_f1): Likewise.
13553 (RUN_TEST_LOOP_ffI_f1): Likewise.
13554 (RUN_TEST_c_c): Likewise.
13555 (RUN_TEST_LOOP_c_c): Likewise.
13556 (RUN_TEST_cc_c): Likewise.
13557 (RUN_TEST_LOOP_cc_c): Likewise.
13558 (RUN_TEST_f_i): Likewise.
13559 (RUN_TEST_LOOP_f_i): Likewise.
13560 (RUN_TEST_f_i_tg): Likewise.
13561 (RUN_TEST_LOOP_f_i_tg): Likewise.
13562 (RUN_TEST_ff_i_tg): Likewise.
13563 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13564 (RUN_TEST_f_b): Likewise.
13565 (RUN_TEST_LOOP_f_b): Likewise.
13566 (RUN_TEST_f_b_tg): Likewise.
13567 (RUN_TEST_LOOP_f_b_tg): Likewise.
13568 (RUN_TEST_f_l): Likewise.
13569 (RUN_TEST_LOOP_f_l): Likewise.
13570 (RUN_TEST_f_L): Likewise.
13571 (RUN_TEST_LOOP_f_L): Likewise.
13572 (RUN_TEST_sincos): Likewise.
13573 (RUN_TEST_LOOP_sincos): Likewise.
13574
8269107f
JM
135752013-05-17 Joseph Myers <joseph@codesourcery.com>
13576
bb38759d
JM
13577 [BZ #15480]
13578 [BZ #15485]
13579 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13580 main case of finite arguments, set rounding mode to FE_TONEAREST
13581 and discard exceptions.
13582 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13583 exceptions.
13584 (remainder_tonearest_test_data): New variable.
13585 (remainder_test_tonearest): New function.
13586 (remainder_towardzero_test_data): New variable.
13587 (remainder_test_towardzero): New function.
13588 (remainder_downward_test_data): New variable.
13589 (remainder_test_downward): New function.
13590 (remainder_upward_test_data): New variable.
13591 (remainder_test_upward): New function.
13592 (main): Call the new test functions.
13593
a00bdcf0
JM
13594 * math/libm-test.inc (struct test_f_f1_data): Remove field
13595 extra_init.
13596 (struct test_fF_f1_data): Likewise.
13597 (struct test_ffI_f1_data): Likewise.
13598 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13599 based on value of EXTRA_EXPECTED.
13600 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13601 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13602 EXTRA_VAR based on value of EXTRA_EXPECTED.
13603 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13604 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13605 EXTRA_VAR based on value of EXTRA_EXPECTED.
13606 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13607 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13608 EXTRA_VAR based on value of EXTRA_EXPECTED.
13609 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13610 * math/gen-libm-test.pl (parse_args): Don't output initializers
13611 for extra output values.
13612
de407f79
JM
13613 * math/libm-test.inc (check_int): Expect result to be exactly
13614 equal to expected value and do not handle ulps.
13615 (check_long): Likewise.
13616 (check_longlong): Likewise.
13617
8269107f
JM
13618 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13619 exceptions.
13620 (cimag_test_data): Likewise.
13621 (conj_test_data): Likewise.
13622 (copysign_test_data): Likewise.
13623 (cproj_test_data): Likewise.
13624 (creal_test_data): Likewise.
13625 (fabs_test_data): Likewise.
13626 (fdim_test_data): Likewise.
13627 (finite_test_data): Likewise.
13628 (floor_test_data): Likewise.
13629 (fmax_test_data): Likewise.
13630 (fmin_test_data): Likewise.
13631 (fmod_test_data): Likewise.
13632 (fpclassify_test_data): Likewise.
13633 (frexp_test_data): Likewise.
13634 (ilogb_test_data): Likewise.
13635 (isfinite_test_data): Likewise.
13636 (isgreater_test_data): Likewise.
13637 (isgreaterequal_test_data): Likewise.
13638 (isinf_test_data): Likewise.
13639 (isless_test_data): Likewise.
13640 (islessequal_test_data): Likewise.
13641 (islessgreater_test_data): Likewise.
13642 (isnan_test_data): Likewise.
13643 (isnormal_test_data): Likewise.
13644 (issignaling_test_data): Likewise.
13645 (isunordered_test_data): Likewise.
13646 (ldexp_test_data): Likewise.
13647 (lrint_test_data): Likewise.
13648 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13649 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13650 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13651 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13652 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13653 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13654 test input.
13655 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13656 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13657 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13658 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13659 that test input.
13660 (lrint_downward_test_data): Test for "inexact" exceptions.
13661 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13662 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13663 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13664 test input.
13665 (lrint_upward_test_data): Test for "inexact" exceptions.
13666 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13667 test input.
13668 (llrint_test_data): Test for "inexact" exceptions.
13669 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13670 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13671 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13672 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13673 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13674 (llrint_downward_test_data): Test for "inexact" exceptions.
13675 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13676 (llrint_upward_test_data): Test for "inexact" exceptions.
13677 (logb_test_data): Likewise.
13678 (logb_downward_test_data): Likewise.
13679 (nextafter_test_data): Likewise.
13680 (nexttoward_test_data): Likewise.
13681 (remainder_test_data): Likewise.
13682 (remquo_test_data): Likewise.
13683 (scalbn_test_data): Likewise.
13684 (scalbln_test_data): Likewise.
13685 (signbit_test_data): Likewise.
13686 (sqrt_test_data): Likewise.
13687 (significand_test_data): Likewise.
13688
48a18de1
SP
136892013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13690
13691 [BZ #15424]
13692 * benchtests/bench-modf.c (struct args): Mark arg0 as
13693 volatile.
13694 * scripts/bench.pl: Mark members of struct args as volatile.
13695
13d3b41a
AZ
136962013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13697
68191c1d 13698 [BZ # 15497]
13d3b41a
AZ
13699 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13700 negative infinity on POWER6 or lower.
13701 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13702
2848b105
MR
137032013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13704
13705 [BZ #15442]
13706 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13707 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13708 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13709 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13710 (_FP_SETQNAN): New macro.
13711 (_FP_SETQNAN_SEMIRAW): Likewise.
13712 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13713 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13714 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13715 (FP_EXTEND): Use _FP_FRAC_SNANP.
13716 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13717 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13718 into account.
13719 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13720 New macro.
13721 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13722 Likewise.
13723
323e5cb7
JM
137242013-05-16 Joseph Myers <joseph@codesourcery.com>
13725
c58b274f
JM
13726 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13727 with DIVIDE_BY_ZERO_EXCEPTION.
13728 (gamma_test_data): Likewise.
13729 (lgamma_test_data): Likewise.
13730 (log_test_data): Likewise.
13731 (log10_test_data): Likewise.
13732 (log2_test_data): Likewise.
13733 (tgamma_test_data): Likewise.
13734
0ab34904
JM
13735 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13736 (acos_test_tonearest): Likewise.
13737 (acos_test_towardzero): Likewise.
13738 (acos_test_downward): Likewise.
13739 (acos_test_upward): Likewise.
13740 (acosh_test): Likewise.
13741 (asin_test): Likewise.
13742 (asin_test_tonearest): Likewise.
13743 (asin_test_towardzero): Likewise.
13744 (asin_test_downward): Likewise.
13745 (asin_test_upward): Likewise.
13746 (asinh_test): Likewise.
13747 (atan_test): Likewise.
13748 (atanh_test): Likewise.
13749 (atan2_test): Likewise.
13750 (cabs_test): Likewise.
13751 (cacos_test): Likewise.
13752 (cacosh_test): Likewise.
13753 (casin_test): Likewise.
13754 (casinh_test): Likewise.
13755 (catan_test): Likewise.
13756 (catanh_test): Likewise.
13757 (cbrt_test): Likewise.
13758 (ccos_test): Likewise.
13759 (ccosh_test): Likewise.
13760 (cexp_test): Likewise.
13761 (clog_test): Likewise.
13762 (clog10_test): Likewise.
13763 (cos_test): Likewise.
13764 (cos_test_tonearest): Likewise.
13765 (cos_test_towardzero): Likewise.
13766 (cos_test_downward): Likewise.
13767 (cos_test_upward): Likewise.
13768 (cosh_test): Likewise.
13769 (cosh_test_tonearest): Likewise.
13770 (cosh_test_towardzero): Likewise.
13771 (cosh_test_downward): Likewise.
13772 (cosh_test_upward): Likewise.
13773 (cpow_test): Likewise.
13774 (csin_test): Likewise.
13775 (csinh_test): Likewise.
13776 (csqrt_test): Likewise.
13777 (ctan_test): Likewise.
13778 (ctan_test_tonearest): Likewise.
13779 (ctan_test_towardzero): Likewise.
13780 (ctan_test_downward): Likewise.
13781 (ctan_test_upward): Likewise.
13782 (ctanh_test): Likewise.
13783 (ctanh_test_tonearest): Likewise.
13784 (ctanh_test_towardzero): Likewise.
13785 (ctanh_test_downward): Likewise.
13786 (ctanh_test_upward): Likewise.
13787 (erf_test): Likewise.
13788 (erfc_test): Likewise.
13789 (exp_test): Likewise.
13790 (exp_test_tonearest): Likewise.
13791 (exp_test_towardzero): Likewise.
13792 (exp_test_downward): Likewise.
13793 (exp_test_upward): Likewise.
13794 (exp10_test): Likewise.
13795 (exp2_test): Likewise.
13796 (expm1_test): Likewise.
13797 (fmod_test): Likewise.
13798 (gamma_test): Likewise.
13799 (hypot_test): Likewise.
13800 (j0_test): Likewise.
13801 (j1_test): Likewise.
13802 (jn_test): Likewise.
13803 (lgamma_test): Likewise.
13804 (log_test): Likewise.
13805 (log10_test): Likewise.
13806 (log1p_test): Likewise.
13807 (log2_test): Likewise.
13808 (logb_test_downward): Likewise.
13809 (pow_test): Likewise.
13810 (pow_test_tonearest): Likewise.
13811 (pow_test_towardzero): Likewise.
13812 (pow_test_downward): Likewise.
13813 (pow_test_upward): Likewise.
13814 (remainder_test): Likewise.
13815 (remquo_test): Likewise.
13816 (sin_test): Likewise.
13817 (sin_test_tonearest): Likewise.
13818 (sin_test_towardzero): Likewise.
13819 (sin_test_downward): Likewise.
13820 (sin_test_upward): Likewise.
13821 (sincos_test): Likewise.
13822 (sinh_test): Likewise.
13823 (sinh_test_tonearest): Likewise.
13824 (sinh_test_towardzero): Likewise.
13825 (sinh_test_downward): Likewise.
13826 (sinh_test_upward): Likewise.
13827 (sqrt_test): Likewise.
13828 (tan_test): Likewise.
13829 (tan_test_tonearest): Likewise.
13830 (tan_test_towardzero): Likewise.
13831 (tan_test_downward): Likewise.
13832 (tan_test_upward): Likewise.
13833 (tanh_test): Likewise.
13834 (tgamma_test): Likewise.
13835 (y0_test): Likewise.
13836 (y1_test): Likewise.
13837 (yn_test): Likewise.
13838
323e5cb7
JM
13839 * math/gen-libm-test.pl (adjust_arg): Remove function.
13840 (special_function): Remove argument $in_func. Only handle
13841 generating output for tables of tests, not inside functions.
13842 (parse_args): Likewise.
13843 (generate_testfile): Remove variable $in_func. Update call to
13844 parse_args.
13845 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13846 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13847 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13848 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13849 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13850 (MAX_VALUE_INIT): Rename macro to max_value.
13851 (MIN_VALUE_INIT): Rename macro to min_value.
13852 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13853 (plus_zero): Remove variable.
13854 (minus_zero): Likewise.
13855 (plus_infty): Likewise.
13856 (minus_infty): Likewise.
13857 (qnan_value): Likewise.
13858 (max_value): Likewise.
13859 (min_value): Likewise.
13860 (min_subnorm_value): Likewise.
13861
e054f494
RA
138622013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13863
13864 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13865 uint64_t or uint32_t usage.
13866 * crypt/sha256-block.c: Likewise.
13867 * crypt/sha256-crypt.c: Likewise.
13868 * crypt/sha256.c: Likewise.
13869 * crypt/sha512-block.c: Likewise.
13870 * crypt/sha512-crypt.c: Likewise.
13871 * crypt/sha512.c: Likewise.
13872 * debug/backtrace-tst.c: Likewise.
13873 * debug/pcprofiledump.c: Likewise.
13874 * elf/cache.c: Likewise.
13875 * elf/dl-cache.c: Likewise.
13876 * elf/dl-misc.c: Likewise.
13877 * elf/dl-profile.c: Likewise.
13878 * elf/dl-support.c: Likewise.
13879 * elf/ldconfig.c: Likewise.
13880 * elf/sprof.c: Likewise.
13881 * iconv/dummy-repertoire.c: Likewise.
13882 * iconv/iconv_charmap.c: Likewise.
13883 * iconv/skeleton.c: Likewise.
13884 * iconvdata/8bit-generic.c: Likewise.
13885 * iconvdata/cp737.h: Likewise.
13886 * iconvdata/cp775.h: Likewise.
13887 * iconvdata/ibm1008.h: Likewise.
13888 * iconvdata/ibm1025.h: Likewise.
13889 * iconvdata/ibm1046.h: Likewise.
13890 * iconvdata/ibm1097.h: Likewise.
13891 * iconvdata/ibm1112.h: Likewise.
13892 * iconvdata/ibm1122.h: Likewise.
13893 * iconvdata/ibm1123.h: Likewise.
13894 * iconvdata/ibm1124.h: Likewise.
13895 * iconvdata/ibm1129.h: Likewise.
13896 * iconvdata/ibm1130.h: Likewise.
13897 * iconvdata/ibm1132.h: Likewise.
13898 * iconvdata/ibm1133.h: Likewise.
13899 * iconvdata/ibm1137.h: Likewise.
13900 * iconvdata/ibm1140.h: Likewise.
13901 * iconvdata/ibm1141.h: Likewise.
13902 * iconvdata/ibm1142.h: Likewise.
13903 * iconvdata/ibm1143.h: Likewise.
13904 * iconvdata/ibm1144.h: Likewise.
13905 * iconvdata/ibm1145.h: Likewise.
13906 * iconvdata/ibm1146.h: Likewise.
13907 * iconvdata/ibm1147.h: Likewise.
13908 * iconvdata/ibm1148.h: Likewise.
13909 * iconvdata/ibm1149.h: Likewise.
13910 * iconvdata/ibm1153.h: Likewise.
13911 * iconvdata/ibm1154.h: Likewise.
13912 * iconvdata/ibm1155.h: Likewise.
13913 * iconvdata/ibm1156.h: Likewise.
13914 * iconvdata/ibm1157.h: Likewise.
13915 * iconvdata/ibm1158.h: Likewise.
13916 * iconvdata/ibm1160.h: Likewise.
13917 * iconvdata/ibm1161.h: Likewise.
13918 * iconvdata/ibm1162.h: Likewise.
13919 * iconvdata/ibm1163.h: Likewise.
13920 * iconvdata/ibm1164.h: Likewise.
13921 * iconvdata/ibm1166.h: Likewise.
13922 * iconvdata/ibm1167.h: Likewise.
13923 * iconvdata/ibm12712.h: Likewise.
13924 * iconvdata/ibm1390.h: Likewise.
13925 * iconvdata/ibm1399.h: Likewise.
13926 * iconvdata/ibm16804.h: Likewise.
13927 * iconvdata/ibm4517.h: Likewise.
13928 * iconvdata/ibm4899.h: Likewise.
13929 * iconvdata/ibm4909.h: Likewise.
13930 * iconvdata/ibm4971.h: Likewise.
13931 * iconvdata/ibm5347.h: Likewise.
13932 * iconvdata/ibm803.h: Likewise.
13933 * iconvdata/ibm856.h: Likewise.
13934 * iconvdata/ibm901.h: Likewise.
13935 * iconvdata/ibm902.h: Likewise.
13936 * iconvdata/ibm9030.h: Likewise.
13937 * iconvdata/ibm9066.h: Likewise.
13938 * iconvdata/ibm921.h: Likewise.
13939 * iconvdata/ibm922.h: Likewise.
13940 * iconvdata/ibm9448.h: Likewise.
13941 * iconvdata/isiri-3342.h: Likewise.
13942 * iconvdata/jis0201.h: Likewise.
13943 * include/link.h: Likewise.
13944 * include/netdb.h: Likewise.
13945 * inet/check_native.c: Likewise.
13946 * inet/check_pf.c: Likewise.
13947 * inet/getipv4sourcefilter.c: Likewise.
13948 * inet/getnameinfo.c: Likewise.
13949 * inet/getsourcefilter.c: Likewise.
13950 * inet/htonl.c: Likewise.
13951 * inet/setipv4sourcefilter.c: Likewise.
13952 * inet/setsourcefilter.c: Likewise.
13953 * inet/test-inet6_opt.c: Likewise.
13954 * inet/tst-network.c: Likewise.
13955 * locale/C-collate.c: Likewise.
13956 * locale/C-ctype.c: Likewise.
13957 * locale/C-time.c: Likewise.
13958 * locale/C-translit.h: Likewise.
13959 * locale/loadarchive.c: Likewise.
13960 * locale/programs/3level.h: Likewise.
13961 * locale/programs/charmap.c: Likewise.
13962 * locale/programs/charmap.h: Likewise.
13963 * locale/programs/ld-address.c: Likewise.
13964 * locale/programs/ld-collate.c: Likewise.
13965 * locale/programs/ld-ctype.c: Likewise.
13966 * locale/programs/ld-identification.c: Likewise.
13967 * locale/programs/ld-measurement.c: Likewise.
13968 * locale/programs/ld-messages.c: Likewise.
13969 * locale/programs/ld-monetary.c: Likewise.
13970 * locale/programs/ld-name.c: Likewise.
13971 * locale/programs/ld-numeric.c: Likewise.
13972 * locale/programs/ld-paper.c: Likewise.
13973 * locale/programs/ld-telephone.c: Likewise.
13974 * locale/programs/ld-time.c: Likewise.
13975 * locale/programs/linereader.c: Likewise.
13976 * locale/programs/locale.c: Likewise.
13977 * locale/programs/locarchive.c: Likewise.
13978 * locale/programs/locfile.h: Likewise.
13979 * locale/programs/repertoire.c: Likewise.
13980 * locale/programs/simple-hash.c: Likewise.
13981 * locale/programs/simple-hash.h: Likewise.
13982 * malloc/memusage.c: Likewise.
13983 * malloc/memusagestat.c: Likewise.
13984 * nis/nis_defaults.c: Likewise.
13985 * nis/nis_hash.c: Likewise.
13986 * nis/nis_print.c: Likewise.
13987 * nis/nis_xdr.c: Likewise.
13988 * nscd/connections.c: Likewise.
13989 * nscd/hstcache.c: Likewise.
13990 * nscd/nscd_gethst_r.c: Likewise.
13991 * nscd/nscd_getserv_r.c: Likewise.
13992 * nscd/nscd_helper.c: Likewise.
13993 * nscd/servicescache.c: Likewise.
13994 * nss/makedb.c: Likewise.
13995 * nss/nss_db/db-XXX.c: Likewise.
13996 * nss/nss_db/db-initgroups.c: Likewise.
13997 * nss/nss_db/db-netgrp.c: Likewise.
13998 * nss/nss_files/files-network.c: Likewise.
13999 * nss/nss_files/files-parse.c: Likewise.
14000 * posix/bug-regex5.c: Likewise.
14001 * posix/fnmatch_loop.c: Likewise.
14002 * posix/regcomp.c: Likewise.
14003 * posix/regexec.c: Likewise.
14004 * posix/tst-rfc3484-2.c: Likewise.
14005 * posix/tst-rfc3484-3.c: Likewise.
14006 * posix/tst-rfc3484.c: Likewise.
14007 * resolv/nss_dns/dns-canon.c: Likewise.
14008 * resolv/nss_dns/dns-network.c: Likewise.
14009 * resolv/res_init.c: Likewise.
14010 * resolv/res_mkquery.c: Likewise.
14011 * resolv/tst-aton.c: Likewise.
14012 * stdlib/cxa_atexit.c: Likewise.
14013 * stdlib/cxa_finalize.c: Likewise.
14014 * stdlib/gen-fpioconst.c: Likewise.
14015 * stdlib/strtol_l.c: Likewise.
14016 * string/tst-endian.c: Likewise.
14017 * sunrpc/auth_des.c: Likewise.
14018 * sunrpc/clnt_udp.c: Likewise.
14019 * sunrpc/rtime.c: Likewise.
14020 * sunrpc/svcauth_des.c: Likewise.
14021 * sunrpc/xdr.c: Likewise.
14022 * sunrpc/xdr_intXX_t.c: Likewise.
14023 * sunrpc/xdr_rec.c: Likewise.
14024 * sysdeps/generic/ldconfig.h: Likewise.
14025 * sysdeps/generic/ldsodefs.h: Likewise.
14026 * sysdeps/generic/memusage.h: Likewise.
14027 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14028 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14029 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14030 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14034 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14037 * sysdeps/posix/getaddrinfo.c: Likewise.
14038 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14039 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14040 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14042 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14043 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14044 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14045 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14046 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14047 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14048 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14049 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14050 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14051 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14053 * sysdeps/x86_64/dl-tls.h: Likewise.
14054 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14055 * time/alt_digit.c: Likewise.
14056 * time/era.c: Likewise.
14057 * wcsmbs/tst-c16c32-1.c: Likewise.
14058
8c75f674
JM
140592013-05-16 Joseph Myers <joseph@codesourcery.com>
14060
14061 * math/libm-test.inc (struct test_sincos_data): New type.
14062 (RUN_TEST_LOOP_sincos): New macro.
14063 (sincos_test_data): New variable.
14064 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14065
e6e49e59
RH
140662013-05-16 Richard Henderson <rth@redhat.com>
14067
14068 * math/atest-exp2.c (LIMB64): New macro.
14069 (CONSTSZ): New macro.
14070 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14071 (hexdig): Move ...
14072 (print_mpn_fp): ... to function scope.
14073 (read_mpn_hex): Remove.
14074 (get_log2): Remove.
14075 (exp2_mpn): Use mp_log2.
14076 (main): Use mp_exp1.
14077
15c7c18d
JM
140782013-05-16 Joseph Myers <joseph@codesourcery.com>
14079
105a07df
JM
14080 * math/libm-test.inc: Remove comment about not testing "inexact"
14081 exceptions.
14082 (INEXACT_EXCEPTION): New macro.
14083 (NO_INEXACT_EXCEPTION): Likewise.
14084 (INVALID_EXCEPTION_OK): Update value.
14085 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14086 (OVERFLOW_EXCEPTION_OK): Likewise.
14087 (UNDERFLOW_EXCEPTION_OK): Likewise.
14088 (IGNORE_ZERO_INF_SIGN): Likewise.
14089 (ERRNO_UNCHANGED): Likewise.
14090 (ERRNO_EDOM): Likewise.
14091 (ERRNO_ERANGE): Likewise.
14092 (test_exceptions): Handle testing "inexact" exceptions.
14093 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14094 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14095 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14096 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14097 INEXACT_EXCEPTION.
14098 (rint_towardzero_test_data): Likewise.
14099 (rint_downward_test_data): Likewise.
14100 (rint_upward_test_data): Likewise.
14101
e9eee333
JM
14102 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14103 with OVERFLOW_EXCEPTION.
14104 (exp10_test_data): Likewise.
14105 (exp2_test_data): Likewise.
14106 (expm1_test_data): Likewise.
14107 (lgamma_test_data): Likewise.
14108 (pow_test_data): Likewise.
14109 (tgamma_test_data): Likewise.
14110 (yn_test_data): Remove duplicate test of overflow.
14111
1c38ff73
JM
14112 * math/libm-test.inc (struct test_cc_c_data): New type.
14113 (RUN_TEST_LOOP_cc_c): New macro.
14114 (cpow_test_data): New variable.
14115 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14116
15c7c18d
JM
14117 * math/libm-test.inc (struct test_f_L_data): New type.
14118 (RUN_TEST_LOOP_f_L): New macro.
14119 (llrint_test_data): New variable.
14120 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14121 (llrint_tonearest_test_data): New variable.
14122 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14123 (llrint_towardzero_test_data): New variable.
14124 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14125 (llrint_downward_test_data): New variable.
14126 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14127 (llrint_upward_test_data): New variable.
14128 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14129 (llround_test_data): New variable.
14130 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14131
f137ff13
PC
141322013-05-13 Peter Collingbourne <pcc@google.com>
14133
14134 * math/atest-exp2.c (get_log2): Remove const attribute.
14135
3608cb24
JM
141362013-05-15 Joseph Myers <joseph@codesourcery.com>
14137
14138 * math/libm-test.inc (struct test_f_l_data): New type.
14139 (RUN_TEST_LOOP_f_l): New macro.
14140 (lrint_test_data): New variable.
14141 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14142 (lrint_tonearest_test_data): New variable.
14143 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14144 (lrint_towardzero_test_data): New variable.
14145 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14146 (lrint_downward_test_data): New variable.
14147 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14148 (lrint_upward_test_data): New variable.
14149 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14150 (lround_test_data): New variable.
14151 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14152
39b1f617
PC
141532013-05-15 Peter Collingbourne <pcc@google.com>
14154
1deff3dc
PC
14155 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14156 (EXTRACT_WORDS64) Use where appropriate.
14157 (INSERT_WORDS64) Likewise.
14158
791f3ba0
PC
14159 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14160 constraints with x constraints.
14161 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14162
39b1f617
PC
14163 * malloc/obstack.c (_obstack_compat): Add initializer.
14164
12fba011
EM
141652013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14166
14167 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14168 si_trapno and add si_addr_lsb to _sifields.sigfault.
14169 (si_trapno): Remove macro.
14170 (si_addr_lsb): Define new macro.
14171 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14172
d369f531
JM
141732013-05-15 Joseph Myers <joseph@codesourcery.com>
14174
b861c6c4
JM
14175 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14176 instead of TEST_f_l.
14177 (llrint_test_tonearest): Likewise.
14178 (llrint_test_towardzero): Likewise.
14179 (llrint_test_downward): Likewise.
14180 (llrint_test_upward): Likewise.
14181 (llround_test): Likewise.
14182
7abeee12
JM
14183 * math/libm-test.inc (struct test_f_i_data): Add comment.
14184 (RUN_TEST_LOOP_f_b): New macro.
14185 (RUN_TEST_LOOP_f_b_tg): Likewise.
14186 (finite_test_data): New variable.
14187 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14188 (isfinite_test_data): New variable.
14189 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14190 (isinf_test_data): New variable.
14191 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14192 (isnan_test_data): New variable.
14193 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14194 (isnormal_test_data): New variable.
14195 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14196 (issignaling_test_data): New variable.
14197 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14198 (signbit_test_data): New variable.
14199 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14200
cbe8c4d3
JM
14201 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14202 with INVALID_EXCEPTION.
14203 (acosh_test_data): Likewise.
14204 (asin_test_data): Likewise.
14205 (atanh_test_data): Likewise.
14206 (fmod_test_data): Likewise.
14207 (log_test_data): Likewise.
14208 (log10_test_data): Likewise.
14209 (log2_test_data): Likewise.
14210 (pow_test_data): Likewise.
14211 (sqrt_test_data): Likewise.
14212 (y0_test_data): Likewise.
14213 (y1_test_data): Likewise.
14214 (yn_test_data): Likewise.
14215
5575c0e5
JM
14216 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14217 function contents.
14218
d369f531
JM
14219 * math/libm-test.inc (struct test_ff_i_data): New type.
14220 (RUN_TEST_LOOP_ff_i_tg): New macro.
14221 (isgreater_test_data): New variable.
14222 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14223 (isgreaterequal_test_data): New variable.
14224 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14225 (isless_test_data): New variable.
14226 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14227 (islessequal_test_data): New variable.
14228 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14229 (islessgreater_test_data): New variable.
14230 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14231 (isunordered_test_data): New variable.
14232 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14233
781fd748
DM
142342013-05-14 David S. Miller <davem@davemloft.net>
14235
14236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14237
87aa21df
JM
142382013-05-14 Joseph Myers <joseph@codesourcery.com>
14239
5e908270
JM
14240 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14241
f71172e5
JM
14242 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14243 extra_test to int.
14244 (struct test_f_i_data): Change type of max_ulp to int.
14245
8cfa635a
JM
14246 * math/libm-test.inc (test_ffI_f1_data): New type.
14247 (RUN_TEST_LOOP_ffI_f1): New macro.
14248 (remquo_test_data): New variable.
14249 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14250
2bcb36b2
JM
14251 * setjmp/tst-setjmp-fp.c: New file.
14252 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14253 (link-libm): New variable.
14254 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14255
acbd839a
JM
14256 * math/libm-test.inc (struct test_f_i_data): New type.
14257 (RUN_TEST_LOOP_f_i): New macro.
14258 (RUN_TEST_LOOP_f_i_tg): Likewise.
14259 (fpclassify_test_data): New variable.
14260 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14261 (ilogb_test_data): New variable.
14262 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14263
e414d745
JM
14264 * math/libm-test.inc (scalbln_test): Correct function name in END
14265 call.
14266
d9c2a0fd
JM
14267 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14268 (RUN_TEST_LOOP_fI_f1): New macro.
14269 (frexp_test_data): New variable.
14270 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14271
9dc9095d
JM
14272 * math/libm-test.inc (struct test_fF_f1_data): New type.
14273 (RUN_TEST_LOOP_fF_f1): New macro.
14274 (modf_test_data): New variable.
14275 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14276
87aa21df
JM
14277 * math/libm-test.inc (struct test_f_f1_data): New type.
14278 (RUN_TEST_LOOP_f_f1): New macro.
14279 (gamma_test_data): New variable.
14280 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14281 (lgamma_test_data): New variable.
14282 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14283
141af660
CD
142842013-05-13 Carlos O'Donell <carlos@redhat.com>
14285
14286 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14287 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14288 (main): Comment "tls" pseudo-hwcap.
14289
6d33265c
JM
142902013-05-13 Joseph Myers <joseph@codesourcery.com>
14291
68fc074c
JM
14292 * math/libm-test.inc (struct test_fl_f_data): New type.
14293 (RUN_TEST_LOOP_fl_f): New variable.
14294 (scalbln_test_data): New variable.
14295 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14296
243216e1
JM
14297 * math/libm-test.inc (struct test_fi_f_data): New type.
14298 (RUN_TEST_LOOP_fi_f): New macro.
14299 (ldexp_test_data): New variable.
14300 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14301 (scalbn_test_data): New variable.
14302 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14303
6a1992e2
JM
14304 * math/libm-test.inc (struct test_c_f_data): New type.
14305 (RUN_TEST_LOOP_c_f): New macro.
14306 (cabs_test_data): New variable.
14307 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14308 (carg_test_data): New variable.
14309 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14310 (cimag_test_data): New variable.
14311 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14312 (creal_test_data): New variable.
14313 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14314
0e400df5
JM
14315 * math/libm-test.inc (struct test_if_f_data): New type.
14316 (RUN_TEST_LOOP_if_f): New macro.
14317 (jn_test_data): New variable.
14318 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14319 (yn_test_data): New variable.
14320 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14321
6d33265c
JM
14322 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14323
f98ece5f
AZ
143242013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14325
14326 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14327 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14328
0f7d347b
SP
143292013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14330
43fe811b
SP
14331 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14332 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14333 (bench-deps): Add bench-timing.h.
14334 * benchtests-bench-skeleton.c: Include bench-timing.h.
14335 (main): Use TIMING_* macros instead of clock_gettime.
14336 * benchtests/bench-timing.h: New file.
14337
0f7d347b
SP
14338 [BZ #14582]
14339 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14340 Renamed from _LIB_VERSION.
14341 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14342
601a3a5f
JM
143432013-05-12 Joseph Myers <joseph@codesourcery.com>
14344
4f184d30
JM
14345 * math/libm-test.inc (struct test_fff_f_data): New type.
14346 (RUN_TEST_LOOP_fff_f): New macro.
14347 (fma_test_data): New variable.
14348 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14349 (fma_towardzero_test_data): New variable.
14350 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14351 (fma_downward_test_data): New variable.
14352 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14353 (fma_upward_test_data): New variable.
14354 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14355
08198877
JM
14356 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14357 (struct test_c_c_data): New type.
14358 (RUN_TEST_LOOP_c_c): New macro.
14359 (cacos_test_data): New variable.
14360 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14361 (cacosh_test_data): New variable.
14362 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14363 (casin_test_data): New variable.
14364 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14365 (casinh_test_data): New variable.
14366 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14367 (catan_test_data): New variable.
14368 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14369 (catanh_test_data): New variable.
14370 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14371 (ccos_test_data): New variable.
14372 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14373 (ccosh_test_data): New variable.
14374 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14375 (cexp_test_data): New variable.
14376 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14377 (clog_test_data): New variable.
14378 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14379 (clog10_test_data): New variable.
14380 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14381 (conj_test_data): New variable.
14382 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14383 (cproj_test_data): New variable.
14384 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14385 (csin_test_data): New variable.
14386 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14387 (csinh_test_data): New variable.
14388 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14389 (csqrt_test_data): New variable.
14390 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14391 (ctan_test_data): New variable.
14392 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14393 (ctan_tonearest_test_data): New variable.
14394 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14395 (ctan_towardzero_test_data): New variable.
14396 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14397 (ctan_downward_test_data): New variable.
14398 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14399 (ctan_upward_test_data): New variable.
14400 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14401 (ctanh_test_data): New variable.
14402 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14403 (ctanh_tonearest_test_data): New variable.
14404 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14405 (ctanh_towardzero_test_data): New variable.
14406 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14407 (ctanh_downward_test_data): New variable.
14408 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14409 (ctanh_upward_test_data): New variable.
14410 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14411 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14412 of BUILD_COMPLEX.
14413
601a3a5f
JM
14414 * math/libm-test.inc (struct test_ff_f_data): New type.
14415 (struct test_ff_f_data_nexttoward): Likewise.
14416 (RUN_TEST_LOOP_2_f): New macro.
14417 (RUN_TEST_LOOP_ff_f): Likewise.
14418 (atan2_test_data): New variable.
14419 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14420 (copysign_test_data): New variable.
14421 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14422 (fdim_test_data): New variable.
14423 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14424 (fmax_test_data): New variable.
14425 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14426 (fmin_test_data): New variable.
14427 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14428 (fmod_test_data): New variable.
14429 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14430 (hypot_test_data): New variable.
14431 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14432 (nextafter_test_data): New variable.
14433 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14434 (nexttoward_test_data): New variable.
14435 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14436 (pow_test_data): New variable.
14437 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14438 (pow_tonearest_test_data): New variable.
14439 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14440 (pow_towardzero_test_data): New variable.
14441 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14442 (pow_downward_test_data): New variable.
14443 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14444 (pow_upward_test_data): New variable.
14445 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14446 (remainder_test_data): New variable.
14447 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14448 (scalb_test_data): New variable.
14449 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14450 * sysdeps/i386/fpu/libm-test-ulps: Update.
14451
74c57478
JM
144522013-05-11 Joseph Myers <joseph@codesourcery.com>
14453
8329e4da
JM
14454 * math/libm-test.inc (fma_test): Use max_value instead of local
14455 variable fltmax.
14456 (nextafter_test): Likewise.
14457
74c57478
JM
14458 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14459 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14460 (acos_downward_test_data): New variable.
14461 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14462 (acos_upward_test_data): New variable.
14463 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14464 (acosh_test_data): New variable.
14465 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14466 (asin_test_data): New variable.
14467 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14468 (asin_tonearest_test_data): New variable.
14469 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14470 (asin_towardzero_test_data): New variable.
14471 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14472 (asin_downward_test_data): New variable.
14473 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14474 (asin_upward_test_data): New variable.
14475 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14476 (asinh_test_data): New variable.
14477 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14478 (atan_test_data): New variable.
14479 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14480 (atanh_test_data): New variable.
14481 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14482 (cbrt_test_data): New variable.
14483 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14484 (ceil_test_data): New variable.
14485 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14486 (cos_test_data): New variable.
14487 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14488 (cos_tonearest_test_data): New variable.
14489 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14490 (cos_towardzero_test_data): New variable.
14491 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14492 (cos_downward_test_data): New variable.
14493 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14494 (cos_upward_test_data): New variable.
14495 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14496 (cosh_test_data): New variable.
14497 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14498 (cosh_tonearest_test_data): New variable.
14499 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14500 (cosh_towardzero_test_data): New variable.
14501 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14502 (cosh_downward_test_data): New variable.
14503 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14504 (cosh_upward_test_data): New variable.
14505 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14506 (erf_test_data): New variable.
14507 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14508 (erfc_test_data): New variable.
14509 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14510 (exp_test_data): New variable.
14511 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14512 (exp_tonearest_test_data): New variable.
14513 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14514 (exp_towardzero_test_data): New variable.
14515 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14516 (exp_downward_test_data): New variable.
14517 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14518 (exp_upward_test_data): New variable.
14519 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14520 (exp10_test_data): New variable.
14521 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14522 (exp2_test_data): New variable.
14523 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14524 (expm1_test_data): New variable.
14525 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14526 (fabs_test_data): New variable.
14527 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14528 (floor_test_data): New variable.
14529 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14530 (j0_test_data): New variable.
14531 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14532 (j1_test_data): New variable.
14533 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14534 (log_test_data): New variable.
14535 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14536 (log10_test_data): New variable.
14537 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14538 (log1p_test_data): New variable.
14539 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14540 (log2_test_data): New variable.
14541 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14542 (logb_test_data): New variable.
14543 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14544 (logb_downward_test_data): New variable.
14545 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14546 (nearbyint_test_data): New variable.
14547 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14548 (rint_test_data): New variable.
14549 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14550 (rint_tonearest_test_data): New variable.
14551 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14552 (rint_towardzero_test_data): New variable.
14553 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14554 (rint_downward_test_data): New variable.
14555 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14556 (rint_upward_test_data): New variable.
14557 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14558 (round_test_data): New variable.
14559 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14560 (sin_test_data): New variable.
14561 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14562 (sin_tonearest_test_data): New variable.
14563 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14564 (sin_towardzero_test_data): New variable.
14565 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14566 (sin_downward_test_data): New variable.
14567 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14568 (sin_upward_test_data): New variable.
14569 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14570 (sinh_test_data): New variable.
14571 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14572 (sinh_tonearest_test_data): New variable.
14573 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14574 (sinh_towardzero_test_data): New variable.
14575 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14576 (sinh_downward_test_data): New variable.
14577 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14578 (sinh_upward_test_data): New variable.
14579 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14580 (sqrt_test_data): New variable.
14581 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14582 (tan_test_data): New variable.
14583 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14584 (tan_tonearest_test_data): New variable.
14585 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14586 (tan_towardzero_test_data): New variable.
14587 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14588 (tan_downward_test_data): New variable.
14589 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14590 (tan_upward_test_data): New variable.
14591 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14592 (tanh_test_data): New variable.
14593 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14594 (tgamma_test_data): New variable.
14595 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14596 (trunc_test_data): New variable.
14597 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14598 (y0_test_data): New variable.
14599 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14600 (y1_test_data): New variable.
14601 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14602 (significand_test_data): New variable.
14603 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14604
7187d844
CG
146052013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14606
14607 [BZ #12387]
14608 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14609
f63fae73
PT
146102013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14611
14612 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14613
8a67a4b3
AJ
146142013-05-10 Andreas Jaeger <aj@suse.de>
14615
14616 [BZ #15448]
14617 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14618 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14619
51df539d
JM
146202013-05-10 Joseph Myers <joseph@codesourcery.com>
14621
14622 * math/gen-libm-test.pl (adjust_arg): New function.
14623 (special_functions): Handle generating output in both functions
14624 and arrays.
14625 (parse_args): Likewise.
14626 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14627 $in_func argument to parse_args.
14628 * math/libm-test.inc (struct test_f_f_data): New type.
14629 (IF_ROUND_INIT_): New macro.
14630 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14631 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14632 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14633 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14634 (ROUND_RESTORE_): Likewise.
14635 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14636 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14637 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14638 (ROUND_RESTORE_FE_UPWARD): Likewise.
14639 (RUN_TEST_LOOP_f_f): New macro.
14640 (acos_test_data): New variable.
14641 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14642 (acos_tonearest_test_data): New variable.
14643 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14644
5c637fe5
SP
146452013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14646
14647 * benchtests/bench-skeleton.c (startup): Fix coding style.
14648
ab2b9461
JM
146492013-05-10 Joseph Myers <joseph@codesourcery.com>
14650
14651 [BZ #6809]
14652 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14653 negative infinity argument.
14654 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14655 negative infinity argument.
14656 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14657 negative infinity argument.
14658 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14659 domain errors.
14660
4c0fe6fe
FW
146612013-05-10 Florian Weimer <fweimer@redhat.com>
14662
14663 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14664 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14665 * iconv/iconv_prog.c (main): Likewise.
14666 * locale/programs/charmap-dir.c (charmap_readdir)
14667 (fopen_uncompressed): Likewise.
14668 * locale/programs/locfile.c (siblings_uncached)
14669 (write_locale_data): Use lstat64 instead of lstat.
14670 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14671 stat.
14672
a3375d29
AJ
146732013-05-10 Andreas Jaeger <aj@suse.de>
14674
14675 [BZ #15395]
14676 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14677 localization.
14678 Include <locale.h>.
14679
36129722
CD
146802013-05-09 Carlos O'Donell <carlos@redhat.com>
14681
14682 * elf/dl-close.c (_dl_close_worker): Add comments.
14683
faa7f811
JM
146842013-05-09 Joseph Myers <joseph@codesourcery.com>
14685
ed41ffef
JM
14686 [BZ #15359]
14687 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14688 high part of pi/2.
14689 (__ieee754_rem_pio2l): Update comments.
14690
d0213cd0
JM
14691 [BZ #15429]
14692 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14693 high part of pi/2.
14694 (__ieee754_rem_pio2l): Update comments.
14695
0d3e777a
JM
14696 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14697 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14698
24f56066
JM
14699 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14700 M_PI_4l.
14701
faa7f811
JM
14702 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14703 (M_PI_34_LOG10El): Likewise.
14704 (M_PI2_LOG10El): Likewise.
14705 (M_PI4_LOG10El): Likewise.
14706 (M_PI_LOG10El): Likewise.
14707
e9a5e0fd
AZ
147082013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14709
14710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14711
d8cd06db
JM
147122013-05-08 Joseph Myers <joseph@codesourcery.com>
14713
a0d9f9d7
JM
14714 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14715 (MINUS_ZERO_INIT): Likewise.
14716 (PLUS_INFTY_INIT): Likewise.
14717 (MINUS_INFTY_INIT): Likewise.
14718 (QNAN_VALUE_INIT): Likewise.
14719 (MAX_VALUE_INIT): Likewise.
14720 (MIN_VALUE_INIT): Likewise.
14721 (MIN_SUBNORM_VALUE_INIT): Likewise.
14722 (plus_zero): Initialize with PLUS_ZERO_INIT.
14723 (minus_zero): Initialize with MINUS_ZERO_INIT.
14724 (plus_infty): Initialize with PLUS_INFTY_INIT.
14725 (minus_infty): Initialize with MINUS_INFTY_INIT.
14726 (qnan_value): Initialize with QNAN_VALUE_INIT.
14727 (max_value): Initialize with MAX_VALUE_INIT.
14728 (min_value): Initialize with MIN_VALUE_INIT.
14729 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14730
ae08db3b
JM
14731 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14732 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14733 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14734 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14735
f44bf14a
JM
14736 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14737 (RUN_TEST_2_f): Likewise.
14738 (RUN_TEST_ff_f): Likewise.
14739 (RUN_TEST_fi_f): Likewise.
14740 (RUN_TEST_fl_f): Likewise.
14741 (RUN_TEST_fff_f): Likewise.
14742 (RUN_TEST_c_f): Likewise.
14743 (RUN_TEST_f_f1): Likewise.
14744 (RUN_TEST_fF_f1): Likewise.
14745 (RUN_TEST_fI_f1): Likewise.
14746 (RUN_TEST_ffI_f1): Likewise.
14747 (RUN_TEST_c_c): Likewise.
14748 (RUN_TEST_cc_c): Likewise.
14749 (RUN_TEST_f_i): Likewise.
14750 (RUN_TEST_f_i_tg): Likewise.
14751 (RUN_TEST_ff_i_tg): Likewise.
14752 (RUN_TEST_f_b): Likewise.
14753 (RUN_TEST_f_b_tg): Likewise.
14754 (RUN_TEST_f_l): Likewise.
14755 (RUN_TEST_f_L): Likewise.
14756 (RUN_TEST_sincos): Likewise.
14757 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14758 whether to show exceptions. Do not include ");\n" in return
14759 value.
14760 (special_functions): Output call to RUN_TEST_sincos instead of
14761 check_float calls. Update calls to new_test.
14762 (parse_args): Output call to single RUN_TEST_* macro instead of
14763 check_* calls and other assignments. Update calls to new_test.
14764
d8cd06db
JM
14765 [BZ #2546]
14766 [BZ #2560]
14767 [BZ #5159]
14768 [BZ #15426]
14769 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14770 input to result for tgamma overflow.
14771 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14772 (gamma_coeff): New variable.
14773 (NCOEFF): New macro.
14774 (gamma_positive): New function.
14775 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14776 underflow here. Use gamma_positive instead of exp (lgamma) for
14777 other arguments.
14778 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14779 (gamma_coeff): New variable.
14780 (NCOEFF): New macro.
14781 (gammaf_positive): New function.
14782 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14783 underflow here. Use gamma_positive instead of exp (lgamma) for
14784 other arguments.
14785 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14786 (gamma_coeff): New variable.
14787 (NCOEFF): New macro.
14788 (gammal_positive): New function.
14789 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14790 underflow here. Use gamma_positive instead of exp (lgamma) for
14791 other arguments.
14792 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14793 (gamma_coeff): New variable.
14794 (NCOEFF): New macro.
14795 (gammal_positive): New function.
14796 (__ieee754_gammal_r): Handle positive infinity, overflow and
14797 underflow here. Handle NaN the same as positive infinity. Remove
14798 check x < 0xffffffff for negative integers. Use gamma_positive
14799 instead of exp (lgamma) for other arguments.
14800 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14801 (gamma_coeff): New variable.
14802 (NCOEFF): New macro.
14803 (gammal_positive): New function.
14804 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14805 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14809 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14810 * sysdeps/generic/math_private.h (__gamma_productf): New
14811 prototype.
14812 (__gamma_product): Likewise.
14813 (__gamma_productl): Likewise.
14814 * math/Makefile (libm-calls): Add gamma_product.
14815 * math/libm-test.inc (tgamma_test): Add more tests.
14816 * sysdeps/i386/fpu/libm-test-ulps: Update.
14817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14818
bb7cf681
OB
148192013-05-08 Ondřej Bílka <neleai@seznam.cz>
14820
14821 * benchtests/bench-skeleton.c (main): Preheat CPU.
14822
ba853947
AJ
148232013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14824
14825 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14826
8347c74c
RM
148272013-05-07 Roland McGrath <roland@hack.frob.com>
14828
14829 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14830 and _dl_skip_args_internal.
14831
e8dd4791
CD
148322013-05-07 Carlos O'Donell <carlos@redhat.com>
14833
14834 * manual/message.texi (Message Translation): Talk about users.
14835 Message to key mapping impacts design.
14836
c7405830
RM
148372013-05-06 Roland McGrath <roland@hack.frob.com>
14838
a9173057
RM
14839 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14840
976e2f03
RM
14841 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14842
9723ffc5
RM
14843 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14844 * sysdeps/wordsize-64/glob64.c: ... here.
14845
962e6658
RM
14846 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14847 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14848 New macros.
14849
ee586a6d
RM
14850 * debug/getlogin_r_chk.c: Moved to ...
14851 * login/getlogin_r_chk.c: ... here.
14852 * debug/Makefile (routines): Move getlogin_r_chk to ...
14853 * login/Makefile (routines): ... here.
14854 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14855 * login/Versions (libc: GLIBC_2.4): ... here.
14856
355f9165
RM
14857 * io/poll.c (__poll): Renamed from poll.
14858 Add libc_hidden_def.
14859 (poll): Define as weak alias.
14860
bd9ffde6
RM
14861 * debug/ptsname_r_chk.c: Moved to ...
14862 * login/ptsname_r_chk.c: ... here.
14863 * debug/Makefile (routines): Move ptsname_r_chk to ...
14864 * login/Makefile (routines): ... here.
14865 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14866 * login/Versions (libc: GLIBC_2.4): ... here.
14867
8fb16a04
RM
14868 * posix/getlogin.c: Moved to ...
14869 * login/getlogin.c: ... here.
14870 * posix/getlogin_r.c: Moved to ...
14871 * login/getlogin_r.c: ... here.
14872 * posix/getlogin_r.c: Moved to ...
14873 * login/getlogin_r.c: ... here.
14874 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14875 * login/Makefile (routines): ... here.
14876 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14877 * login/Versions (libc: GLIBC_2.0): ... here.
14878
b99b892f
RM
14879 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14880 (setrlimit): Define as weak alias.
14881
c7405830
RM
14882 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14883 Call __ names for open, ftruncate, and close.
14884 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14885 (truncate): Define as weak alias.
14886
5bf96de5
JM
148872013-05-06 Joseph Myers <joseph@codesourcery.com>
14888
9ea3513c
JM
14889 * math/gen-libm-test.pl (parse_args): Initialize x before each
14890 test of frexp, modf and remquo.
14891
5bf96de5
JM
14892 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14893 test signgam value.
14894
16e616a7
AZ
148952013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14896
14897 [BZ #15418]
14898 [BZ #15419]
14899 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14900 internal tests.
14901 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14902
d5e82754
RM
149032013-05-06 Roland McGrath <roland@hack.frob.com>
14904
14905 * elf/dl-writev.h: New file.
14906 * elf/dl-misc.c: Include it.
14907 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14908 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14909
a7548d41
JM
149102013-05-04 Joseph Myers <joseph@codesourcery.com>
14911
b7dab1e4
JM
14912 * math/libm-test.inc (noXFails): Remove variable.
14913 (noXPasses): Likewise.
14914 (BUILD_COMPLEX_INT): Remove macro.
14915 (print_screen): Remove xfail argument.
14916 (print_screen_max_error): Likewise.
14917 (update_stats): Likewise.
14918 (print_max_error): Likewise. Update calls to other affected
14919 functions.
14920 (print_complex_max_error): Likewise.
14921 (test_single_exception): Update calls to print_screen.
14922 (test_single_errno): Likewise.
14923 (check_float_internal): Remove xfail argument. Update calls to
14924 other affected functions.
14925 (check_float): Likewise.
14926 (check_complex): Likewise.
14927 (check_int): Likewise.
14928 (check_long): Likewise.
14929 (check_bool): Likewise.
14930 (check_longlong): Likewise.
14931 (main): Don't print noXFails and noXPasses.
14932 * math/gen-libm-test.pl (top level): Don't mention expected
14933 failure handling in comment.
14934 (new_test): Don't handle expected failures.
14935 (parse_args): Don't mention expected failure handling in comment.
14936 (generate_testfile): Don't handle expected failures.
14937 (parse_ulps): Likewise.
14938 (print_ulps_file): Likewise.
14939 (get_failure): Remove function.
14940 (output_test): Don't handle expected failures.
14941 * make/README.libm-test: Don't mention expected failure handling.
14942
a7548d41
JM
14943 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14944 (minus_zero): Likewise.
14945 (plus_infty): Likewise.
14946 (minus_infty): Likewise.
14947 (qnan_value): Likewise.
14948 (max_value): Likewise.
14949 (min_value): Likewise.
14950 (min_subnorm_value): Likewise.
14951 (initialize): Do not initialize those variables dynamically.
14952
60bfd54c
RM
149532013-05-03 Roland McGrath <roland@hack.frob.com>
14954
cc0e6ed8
RM
14955 * io/open.c (__open_2): Moved to ...
14956 * io/open_2.c: ... this new file.
14957 * io/open64.c (__open64_2): Moved to ...
14958 * io/open64_2.c: ... this new file.
14959 * io/openat.c (__openat_2): Moved to ...
14960 * io/openat_2.c: ... this new file.
14961 * io/openat64.c (__openat64_2): Moved to ...
14962 * io/openat64_2.c: ... this new file.
14963 * io/Makefile (routines): Add them.
14964 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14965 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14966 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14967 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14968 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14969 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14970 (__openat64): Add hidden_ver.
14971 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14972 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14973
60bfd54c
RM
14974 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14975 Separately conditionalize setting of GLRO(dl_sysinfo) so
14976 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14977 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14978
83e7640f
AZ
149792013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14980
14981 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14982 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14983 definition.
14984 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14985 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14986 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14987 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14988 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14989
d5dc2af3
JM
149902013-05-03 Joseph Myers <joseph@codesourcery.com>
14991
c31a5b1e
JM
14992 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14993 test signgam value.
14994
d5dc2af3
JM
14995 * math/libm-test.inc (hypot_test): Do not use
14996 IGNORE_ZERO_INF_SIGN.
14997
164fd39d
AJ
149982013-05-03 Andreas Jaeger <aj@suse.de>
14999
15000 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15001 Linux 3.9.
15002 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15003 (PF_MAX): Adjust for VSOCK change.
15004
8237f48c
AZ
150052013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15006
15007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15008
9df02941
CD
150092013-05-02 Carlos O'Donell <carlos@redhat.com>
15010
15011 [BZ #15264]
15012 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15013 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15014 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15015
d422395e
DM
150162013-05-02 David S. Miller <davem@davemloft.net>
15017
15018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15019
a07c5731
OB
150202013-05-01 Ondřej Bílka <neleai@seznam.cz>
15021
15022 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15023
1324e37f
RM
150242013-05-01 Roland McGrath <roland@hack.frob.com>
15025
15026 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15027
0695940b
RS
150282013-05-01 Richard Smith <richard@metafoo.co.uk>
15029
bb5f27ad 15030 [BZ #14952]
0695940b
RS
15031 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15032 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15033 Use __attribute__ ((__gnu_inline__)).
15034 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15035 Don't use __attribute__ ((__gnu_inline__)).
15036
10de07f5
JM
150372013-05-01 Joseph Myers <joseph@codesourcery.com>
15038
15039 [BZ #15423]
15040 * math/s_catan.c (__catan): Handle small real or imaginary part of
15041 input specially to avoid spurious underflow.
15042 * math/s_catanf.c (__catanf): Likewise.
15043 * math/s_catanh.c (__catanh): Likewise.
15044 * math/s_catanhf.c (__catanhf): Likewise.
15045 * math/s_catanhl.c (__catanhl): Likewise.
15046 * math/s_catanl.c (__catanl): Likewise.
15047 * math/libm-test.inc (catan_test): Add more tests.
15048 (catanh_test): Likewise.
15049 * sysdeps/i386/fpu/libm-test-ulps: Update.
15050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15051
cb4d5414
AZ
150522013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15053
15054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15055
caf84319
JM
150562013-04-30 Joseph Myers <joseph@codesourcery.com>
15057
15058 [BZ #15416]
15059 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15060 accurately for denominator in atan2.
15061 * math/s_catanf.c (__catanf): Likewise.
15062 * math/s_catanh.c (__catanh): Likewise.
15063 * math/s_catanhf.c (__catanhf): Likewise.
15064 * math/s_catanhl.c (__catanhl): Likewise.
15065 * math/s_catanl.c (__catanl): Likewise.
15066 * math/libm-test.inc (catan_test): Add more tests.
15067 (catanh_test): Likewise.
15068 * sysdeps/i386/fpu/libm-test-ulps: Update.
15069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15070
d569c6ee
SP
150712013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15072
6dbe713d
SP
15073 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15074
f0ee064b
SP
15075 * benchtests/Makefile (bench): Remove slow benchmarks.
15076 * benchtests/atan-inputs: Add slow benchmark inputs.
15077 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15078 (BENCH_FUNC): Accept variant offset.
15079 (VARIANT): Define.
15080 * benchtests/bench-skeleton.c (main): Run benchmark for each
15081 variant.
15082 * benchtests/cos-inputs: Add slow benchmark inputs.
15083 * benchtests/exp-inputs: Likewise.
15084 * benchtests/pow-inputs: Likewise.
15085 * benchtests/sin-inputs: Likewise.
15086 * benchtests/slowatan-inputs: Remove.
15087 * benchtests/slowatan.c: Remove.
15088 * benchtests/slowcos-inputs: Remove.
15089 * benchtests/slowcos.c: Remove.
15090 * benchtests/slowexp-inputs: Remove.
15091 * benchtests/slowexp.c: Remove.
15092 * benchtests/slowpow-inputs: Remove.
15093 * benchtests/slowpow.c: Remove.
15094 * benchtests/slowsin-inputs: Remove.
15095 * benchtests/slowsin.c: Remove.
15096 * benchtests/slowtan-inputs: Remove.
15097 * benchtests/slowtan.c: Remove.
15098 * benchtests/tan-inputs: Add slow benchmark inputs.
15099 * scripts/bench.pl: Parse comments and directives.
15100
d569c6ee
SP
15101 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15102 in CPPFLAGS.
15103 ($(objpfx)bench-%.c): Remove *-ITER.
15104 * benchtests/bench-modf.c: Remove definition of ITER.
15105 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15106 (main): Loop for DURATION seconds instead of fixed number of
15107 iterations.
15108 * scripts/bench.pl: Don't expect iterations in parameters.
15109
a6a242fe
RM
151102013-04-29 Roland McGrath <roland@hack.frob.com>
15111
15112 * io/fchdir.c (__fchdir): Renamed from fchdir.
15113 (fchdir): Define as weak alias.
15114
f2da7793
JM
151152013-04-29 Joseph Myers <joseph@codesourcery.com>
15116
15117 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15118 (ERRNO_EDOM): Likewise.
15119 (ERRNO_ERANGE): Likewise.
15120 (noErrnoTests): New variable.
15121 (init_max_error): Set errno to 0.
15122 (test_single_errno): New function.
15123 (test_errno): Likewise.
15124 (check_float_internal): Call test_errno. Set errno to 0.
15125 (check_complex): Refer to errno tests in comment.
15126 (check_int): Call test_errno. Set errno to 0.
15127 (check_long): Likewise.
15128 (check_bool): Likewise.
15129 (check_longlong): Likewise.
15130 (cos_test): Use ERRNO_* flags for errno tests instead of
15131 check_int.
15132 (expm1_test): Likewise.
15133 (fmod_test): Likewise.
15134 (ilogb_test): Likewise.
15135 (lgamma_test): Likewise.
15136 (pow_test): Likewise.
15137 (remainder_test): Likewise.
15138 (sin_test): Likewise.
15139 (tan_test): Likewise.
15140 (yn_test): Likewise.
15141 (initialize): Set errno to 0.
15142 (main): Print number of errno tests.
15143 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15144
b1a36ceb
AJ
151452013-04-29 Andreas Jaeger <aj@suse.de>
15146
c3ed8088
AJ
15147 [BZ #15084]
15148 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15149 and RES_USEVC.
15150
f1a24198
AJ
15151 [BZ #15085]
15152 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15153 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15154 unimplemented.
15155
9ce3b2cb
AJ
15156 [BZ #15380]
15157 * stdlib/random.c (__initstate): Return NULL if
15158 __initstate fails.
15159
f1a24198 15160 [BZ #15086]
b1a36ceb
AJ
15161 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15162 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15163 RES_SNGLKUPREOP.
15164
7e7b6f36
AZ
151652013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15166
15167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15168
4d14f449
JM
151692013-04-29 Joseph Myers <joseph@codesourcery.com>
15170
15171 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15172 of individual tests.
15173 (casin_test): Likewise.
15174 (casinh_test): Likewise.
15175
5b4217d7
JM
151762013-04-27 Joseph Myers <joseph@codesourcery.com>
15177
15178 [BZ #15409]
15179 * math/s_catan.c (__catan): Handle arguments with large real or
15180 imaginary part separately without squaring.
15181 * math/s_catanf.c (__catanf): Likewise.
15182 * math/s_catanh.c (__catanh): Likewise.
15183 * math/s_catanhf.c (__catanhf): Likewise.
15184 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15185 and redefine.
15186 (__catanhl): Handle arguments with large real or imaginary part
15187 separately without squaring.
15188 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15189 and redefine.
15190 (__catanl): Handle arguments with large real or imaginary part
15191 separately without squaring.
15192 * math/libm-test.inc (catan_test): Add more tests.
15193 (catanh_test): Likewise.
15194 * sysdeps/i386/fpu/libm-test-ulps: Update.
15195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15196
4220c3ef
AJ
151972013-04-27 Andreas Jaeger <aj@suse.de>
15198
15199 [BZ #15007]
15200 * stdlib/stdlib.h: Update guards for qecvt.
15201 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15202 <stdlib.h>.
15203
4721b2d1
AM
152042013-04-27 Allan McRae <allan@archlinux.org>
15205
15206 * sysdeps/i386/fpu/libm-test-ulps: Update.
15207
f0302940
JM
152082013-04-26 Joseph Myers <joseph@codesourcery.com>
15209
9457fd95
JM
15210 [BZ #15406]
15211 * math/s_catan.c: Include <float.h>.
15212 (__catan): Ensure underflow exception occurs for underflowed
15213 result.
15214 * math/s_catanf.c: Include <float.h>.
15215 (__catanf): Ensure underflow exception occurs for underflowed
15216 result.
15217 * math/s_catanh.c: Include <float.h>.
15218 (__catanh): Ensure underflow exception occurs for underflowed
15219 result.
15220 * math/s_catanhf.c: Include <float.h>.
15221 (__catanhf): Ensure underflow exception occurs for underflowed
15222 result.
15223 * math/s_catanhl.c: Include <float.h>.
15224 (__catanhl): Ensure underflow exception occurs for underflowed
15225 result.
15226 * math/s_catanl.c: Include <float.h>.
15227 (__catanl): Ensure underflow exception occurs for underflowed
15228 result.
15229 * math/libm-test.inc (catan_test): Add more tests.
15230 (catanh_test): Likewise.
15231
f0302940
JM
15232 [BZ #15405]
15233 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15234 underflowed result.
15235 * math/s_ccoshf.c (__ccoshf): Likewise.
15236 * math/s_ccoshl.c (__ccoshl): Likewise.
15237 * math/s_csin.c (__csin): Likewise.
15238 * math/s_csinf.c (__csinf): Likewise.
15239 * math/s_csinh.c (__csinh): Likewise.
15240 * math/s_csinhf.c (__csinhf): Likewise.
15241 * math/s_csinhl.c (__csinhl): Likewise.
15242 * math/s_csinl.c (__csinl): Likewise.
15243 * math/libm-test.inc (ccos_test): Add more tests.
15244 (ccosh_test): Likewise.
15245 (csin_test): Likewise.
15246 (csinh_test): Likewise.
15247
aa630f59
AZ
152482013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15249
15250 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15251 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15252 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15253 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15254 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15255 powerpc/power5+/fpu folders.
15256 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15257
15258
1b835983
MT
152592013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15260
15261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15262
73709b26
JM
152632013-04-25 Joseph Myers <joseph@codesourcery.com>
15264
15265 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15266 additions to variable.
15267 [$(config-machine) = x86_64] (modules-names): Likewise.
15268 ($(objpfx)tst-audit3): Remove dependency.
15269 ($(objpfx)tst-audit3.out): Likewise.
15270 ($(objpfx)tst-audit4): Likewise.
15271 ($(objpfx)tst-audit4.out): Likewise.
15272 ($(objpfx)tst-audit5): Likewise.
15273 ($(objpfx)tst-audit5.out): Likewise.
15274 ($(objpfx)tst-audit6): Likewise.
15275 ($(objpfx)tst-audit6.out): Likewise.
15276 ($(objpfx)tst-audit7): Likewise.
15277 ($(objpfx)tst-audit7.out): Likewise.
15278 (tst-audit3-ENV): Remove variable.
15279 (tst-audit4-ENV): Likewise.
15280 (tst-audit5-ENV): Likewise.
15281 (tst-audit6-ENV): Likewise.
15282 (tst-audit7-ENV): Likewise.
15283 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15284 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15285 addition to variable.
15286 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15287 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15288 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15289 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15290 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15291 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15292 tst-audit3, tst-audit4 and tst-audit5.
15293 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15294 tst-audit6 and tst-audit7.
15295 [$(subdir) = elf] (modules-names): Add audit modules for those
15296 tests.
15297 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15298 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15299 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15300 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15301 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15302 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15303 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15304 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15305 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15306 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15307 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15308 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15309 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15310 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15311 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15312 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15313 Likewise.
15314 [$(subdir) = elf && $(config-cflags-avx) = yes]
15315 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15316 [$(subdir) = elf && $(config-cflags-avx) = yes]
15317 (CFLAGS-tst-auditmod4a.c): Likewise.
15318 [$(subdir) = elf && $(config-cflags-avx) = yes]
15319 (CFLAGS-tst-auditmod4b.c): Likewise.
15320 [$(subdir) = elf && $(config-cflags-avx) = yes]
15321 (CFLAGS-tst-auditmod6b.c): Likewise.
15322 [$(subdir) = elf && $(config-cflags-avx) = yes]
15323 (CFLAGS-tst-auditmod6c.c): Likewise.
15324 [$(subdir) = elf && $(config-cflags-avx) = yes]
15325 (CFLAGS-tst-auditmod7b.c): Likewise.
15326 * elf/tst-audit3.c: Move to ...
15327 * sysdeps/x86_64/tst-audit3.c: ... here.
15328 * elf/tst-audit4.c: Move to ...
15329 * sysdeps/x86_64/tst-audit4.c: ... here.
15330 * elf/tst-audit5.c: Move to ...
15331 * sysdeps/x86_64/tst-audit5.c: ... here.
15332 * elf/tst-audit6.c: Move to ...
15333 * sysdeps/x86_64/tst-audit6.c: ... here.
15334 * elf/tst-audit7.c: Move to ...
15335 * sysdeps/x86_64/tst-audit7.c: ... here.
15336 * elf/tst-auditmod3a.c: Move to ...
15337 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15338 * elf/tst-auditmod3b.c: Move to ...
15339 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15340 * elf/tst-auditmod4a.c: Move to ...
15341 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15342 * elf/tst-auditmod4b.c: Move to ...
15343 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15344 * elf/tst-auditmod5a.c: Move to ...
15345 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15346 * elf/tst-auditmod5b.c: Move to ...
15347 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15348 * elf/tst-auditmod6a.c: Move to ...
15349 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15350 * elf/tst-auditmod6b.c: Move to ...
15351 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15352 * elf/tst-auditmod6c.c: Move to ...
15353 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15354 * elf/tst-auditmod7a.c: Move to ...
15355 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15356 * elf/tst-auditmod7b.c: Move to ...
15357 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15358
1ef74943
PP
153592013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15360
15361 [BZ #15366]
15362 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15363 define unconditionally.
15364 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15365 define unconditionally.
15366 (INT8_C, INT16_C, etc.): Likewise.
15367
93fd48c5
MR
153682013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15369
ae9552cf
MR
15370 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15371 __ehdr_start with hidden visibility.
15372
93fd48c5
MR
15373 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15374
418601aa
CD
153752013-04-24 Carlos O'Donell <carlos@redhat.com>
15376
15377 * math/libm-test.inc (cos_test): Use accurate hex constants.
15378 (sincost_test): Likewise.
15379
2f38fbfe
JM
153802013-04-24 Joseph Myers <joseph@codesourcery.com>
15381
5e221800
JM
15382 * math/libm-test.inc (catan_test): Add more tests.
15383 (catanh_test): Likewise.
15384
77f143fd
JM
15385 * math/s_catanf.c (__catanf): Use suffixed floating-point
15386 constants.
15387 * math/s_catanhf.c (__catanhf): Likewise.
15388 * math/s_catanhl.c (__catanhl): Likewise.
15389 * math/s_catanl.c (__catanl): Likewise.
15390
2f38fbfe
JM
15391 [BZ #15394]
15392 * math/s_catan.c (__catan): Calculate imaginary part of result
15393 with log1p not log unless computing log of number close to 0.
15394 * math/s_catanf.c (__catanf): Likewise.
15395 * math/s_catanl.c (__catanl): Likewise.
15396 * math/s_catanh.c (__catanh): Calculate real part of result with
15397 log1p not log unless computing log of number close to 0.
15398 * math/s_catanhf.c (__catanhf): Likewise.
15399 * math/s_catanhl.c (__catanhl): Likewise.
15400 * math/libm-test.inc (catan_test): Add more tests.
15401 (catanh_test): Likewise.
15402 * sysdeps/i386/fpu/libm-test-ulps: Update.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15404
45d69176
SP
154052013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15406
15407 * benchtests/Makefile: Mention files in which fast and slow
15408 paths of math functions are implemented.
15409
87f51853
RM
154102013-04-23 Roland McGrath <roland@hack.frob.com>
15411
15412 * sysdeps/posix/timespec_get.c: New file.
15413
3c026539
AZ
154142013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15415
15416 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15417 POWER.
15418 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15419 for POWER.
15420 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15421 powerpc/power5/fpu folders.
15422 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15423 * benchtests/Makefile: Add modf testcase.
15424 * benchtests/bench-modf.c: New file: Benchmark test for mo
15425
ff491d14
SP
154262013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15427
15428 [BZ #14888]
15429 * time/Makefile (tests): Add tst-strptime-whitespace.
15430 * time/strptime_l.c (get_number): Use ISSPACE.
15431 (__strptime_internal): Likewise.
15432 * time/tst-strptime-whitespace.c: New test case.
15433
7ed3f4e8
AS
154342013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15435
15436 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15437 member.
15438 (_nss_files_init): Set it here.
15439
5c95f7b6
HC
154402013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15441
15442 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15443 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15444 unsigned.
15445
d34c9158
JBG
154462013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15447
15448 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15449
2169712d
SP
154502013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15451
15452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15453 size just once.
15454
29c5de99
DM
154552013-04-21 David S. Miller <davem@davemloft.net>
15456
15457 * po/ru.po: Update Russion translation from translation project.
15458
ccdad15d
AC
154592013-04-17 Adam Conrad <adconrad@0c3.net>
15460
15461 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15462 and setfsgid.
15463
0f122b8d
CD
154642013-04-17 Carlos O'Donell <carlos@redhat.com>
15465
5c5b07da 15466 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15467 * configure: Regenerate.
5c5b07da 15468 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15469 Add example to error message.
15470 * sysdeps/i386/configure: Regenerate.
15471
037714dd
SP
154722013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15473
15474 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15475 slowtan.
15476 * benchtests/cos-inputs: New file.
15477 * benchtests/slowcos-inputs: New file.
15478 * benchtests/slowcos.c: New file.
15479 * benchtests/slowtan-inputs: New file.
15480 * benchtests/slowtan.c: New file.
15481 * benchtests/tan-inputs: New file.
15482
e913141d
RM
154832013-04-16 Roland McGrath <roland@hack.frob.com>
15484
15485 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15486 considered kosher.
15487
a2964074
SP
154882013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15489
4856bcd2
SP
15490 * benchtests/Makefile: Include cppflags-iterator.mk to add
15491 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15492
a2964074
SP
15493 * Makefile.in (bench-clean): New target.
15494 * benchtests/Makefile (bench-clean): Likewise.
15495
9fbf9aca
DH
154962013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15497
15498 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15499
207d1e2a
TS
155002013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15501
15502 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15503
306dfba9
AS
155042013-04-15 Andreas Schwab <schwab@suse.de>
15505
15506 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15508 * nscd/pwdcache.c (cache_addpw): Likewise.
15509 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15510 more than recsize.
15511
206a6699
SP
155122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15513
15514 * benchtests/Makefile (bench): Write all output to
15515 bench-out.tmp together.
15516
0582f6b3
AS
155172013-04-15 Andreas Schwab <schwab@suse.de>
15518
15519 * nscd/nscd.c (main): Don't fork again after closing files.
15520
acb4325f
SP
155212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15522
5cb26d0a
SP
15523 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15524
acb4325f
SP
15525 * benchtests/Rules (bench-deps): Collect dependencies into a
15526 single variable. Add Makefile to dependencies.
15527 ($(objpfx)bench-%.c): Depend on bench-deps.
15528
47792506
RM
155292013-04-12 Roland McGrath <roland@hack.frob.com>
15530 Xavier Roche <roche+kml2@exalead.com>
15531
15532 [BZ #15361]
15533 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15534 just that it's a file descriptor.
15535 * manual/llio.texi (Synchronizing AIO Operations): Update description
15536 for EBADF error from aio_fsync.
15537
8fc1bee5
SP
155382013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15539
15540 * Rules (bench): Move target definition...
15541 * benchtests/Makefile: ... here.
15542
aba5e333
CD
155432013-04-11 Carlos O'Donell <carlos@redhat.com>
15544
15545 * math/libm-test.inc (cos_test): Fix PI/2 test.
15546 (sincos_test): Likewise.
15547 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15548 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15549
273cdee8
AS
155502013-04-11 Andreas Schwab <schwab@suse.de>
15551
6ecec3b6
AS
15552 [BZ #13988]
15553 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15554 accept exponent character only when digits were seen.
15555 * stdio-common/Makefile (tests): Add bug26.
15556 * stdio-common/bug26.c: New file.
15557
273cdee8
AS
15558 [BZ #14293]
15559 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15560 non-freeable.
15561
8da491f5
SP
155622013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15563
01dc6df9
SP
15564 * Makeconfig (rtld-prefix): Define built linker prefix.
15565 * Rules (run-bench): Use it.
15566 * math/Makefile (run-regen-ulps): Likewise.
15567
8da491f5
SP
15568 * Rules (bench): Remove eval.
15569
abe7f530
SP
155702013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15571 Roland McGrath <roland@hack.frob.com>
15572 Ondrej Bilka <neleai@seznam.cz>
15573
15574 [BZ #15346]
15575 * time/getdate.c: Include ctype.h and alloca.h.
15576 (__getdate_r): Trim leading and trailing spaces of input.
15577 * time/tst-getdate.c (tests): Add tests with leading and
15578 trailing spaces.
15579
61c23e62
RM
155802013-04-08 Roland McGrath <roland@hack.frob.com>
15581
15582 [BZ #14280]
15583 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15584 when computing value.
15585
7208a313
CD
155862013-04-06 Carlos O'Donell <carlos@redhat.com>
15587
085b2d41
CD
15588 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15589 Use testrun.sh to run libm tests.
15590
7208a313
CD
15591 [BZ #15309]
15592 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15593
872c0acd
MM
155942013-04-06 Marko Myllynen <myllynen@redhat.com>
15595
15596 [BZ #15264]
15597 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15598
26510bdd
CD
155992013-04-06 Carlos O'Donell <carlos@redhat.com>
15600
15601 * Makefile.in (regen-ulps): New target.
15602 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15603 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15604 [ifneq (no,$(PERL)] (regen-ulps): New target.
15605 [ifeq (no,$(PERL)] (regen-ulps): New target.
15606 * math/libm-test.inc (ulps_file_name): Define.
15607 (output_dir): New variable.
15608 (options): Add "output-dir" option.
15609 (parse_opt): Handle 'o' case.
15610 (main): If output_dir is non-NULL use it as a prefix
15611 otherwise use "".
15612 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15613
a01f19c8
CD
156142013-04-06 Carlos O'Donell <carlos@redhat.com>
15615
15616 [BZ #10060, #10062]
15617 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15618 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15619 fail configure if __sync_val_compare_and_swap is not inlined.
15620 * sysdeps/i386/configure: Regenerate.
15621 * configure.in: Build for i686 when configured for i386.
15622 * configure: Regenerate.
15623 * README: Remove i386 reference.
15624
b7a329a5
CD
156252013-04-06 Carlos O'Donell <carlos@redhat.com>
15626
15627 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15628 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15629
bf0f50df
TS
156302013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15631
ee091edf
TS
15632 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15633 (lmsnanval): New variables.
15634 (F): Add conversion tests.
15635 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15636 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15637
a8b792d6
TS
15638 * stdio-common/tstdiomisc.c (F): Properly collect individual
15639 tests' results.
15640
a1cbf437
TS
15641 [BZ #14686, #15336]
15642 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15643 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15644 Instead, use input NaN values or generate a qNaN by arithmetic
15645 operation. Also fix bugs to comply with the standard.
15646 * math/libm-test.inc (remainder_test): Add more tests.
15647
8b43a0c9
TS
15648 [BZ #15335, #15342]
15649 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15651 input NaN values or generate a qNaN by arithmetic operation.
15652
d91da4ce
TS
15653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15654 unreachable code.
15655
bf0f50df
TS
15656 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15657 definitions.
15658
05e166c8
JM
156592013-04-03 Joseph Myers <joseph@codesourcery.com>
15660
15661 [BZ #14478]
15662 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15663 underflowed result.
15664 * math/s_cexpf.c (__cexpf): Likewise.
15665 * math/s_cexpl.c (__cexpl): Likewise.
15666 * math/libm-test.inc (cexp_test): Add more tests.
15667
1cef1b19
AS
156682013-04-03 Andreas Schwab <schwab@suse.de>
15669
15670 [BZ #15330]
15671 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15672 order arrays from heap if bigger than alloca cutoff.
15673
74d87055
TS
156742013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15675
15676 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15677 (SNAN_TESTS_double): Refer to GCC PR56831.
15678 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15679 GCC PR56828.
15680
d755bba4
SP
156812013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15682
90d5d5bb
SP
15683 * Rules (bench): Move bench.out after the run is complete.
15684
73e0cd5d
SP
15685 * Rules (bench): Echo currently running benchmark.
15686
64aabd4b
SP
15687 * benchtests/Makefile (bench): Add atan and slowatan.
15688 * benchtests/atan-inputs: New file.
15689 * benchtests/slowatan-inputs: New file.
15690 * benchtests/slowatan.c: New file.
15691
c871eccd
SP
15692 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15693 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15694 its value.
15695
d755bba4
SP
15696 [BZ #15305]
15697 * sysdeps/unix/sysv/linux/kernel-features.h
15698 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15699 __ASSUME_XFS_RESTRICTED_CHOWN.
15700 * sysdeps/unix/sysv/linux/pathconf.c
15701 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15702 Save and restore errno.
15703
52ce4860
JM
157042013-04-02 Joseph Myers <joseph@codesourcery.com>
15705
15706 [BZ #15327]
15707 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15708 arguments using __kernel_casinh.
15709 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15710 arguments using __kernel_casinhf.
15711 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15712 arguments using __kernel_casinhl.
15713 * math/libm-test.inc (cacosh_test): Add more tests.
15714 * sysdeps/i386/fpu/libm-test-ulps: Update.
15715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15716
81f311c2
SP
157172013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15718
e7906a47
SP
15719 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15721
92e3664b
SP
15722 * bench/Makefile (bench): Add sin and slowsin.
15723 * benchtests/sin-inputs: New file.
15724 * benchtests/slowsin-inputs: New file.
15725 * benchtests/slowsin.c: New file.
15726
81f311c2
SP
15727 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15728 (bench): Add slowexp and slowpow.
15729 (exp-ITER): Increase iterations.
15730 (pow-ITER): Likewise.
15731 * benchtests/exp-inputs: Change input.
15732 * benchtests/pow-inputs: Likewise.
15733 * benchtests/slowexp-inputs: New file.
15734 * benchtests/slowexp.c: New file.
15735 * benchtests/slowpow-inputs: New file.
15736 * benchtests/slowpow.c: New file.
15737
ab0f1aa9
AZ
157382013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15739
15740 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15741 instructions.
15742 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15743 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15744 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15745 * benchtests/Makefile: Add rint benchtest.
15746 * benchtests/rint-inputs: Input for rint benchtest.
15747
57267616
TS
157482013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15749
15750 * Versions.def (libm): Add GLIBC_2.18.
15751 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15752 hidden libm prototypes.
15753 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15754 * math/Makefile (libm-calls): Add s_issignaling.
15755 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15756 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15757 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15758 declaration.
15759 * math/math.h [__USE_GNU] (issignaling): New macro.
15760 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15761 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15762 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15766 * manual/arith.texi (issignaling): New section.
15767 * manual/libm-err-tab.pl (@all_functions): Update comment.
15768 * math/gen-libm-test.pl (parse_args): Apply special handling for
15769 issignaling.
15770 * math/libm-test.inc (print_float, issignaling_test): New
15771 functions.
15772 (check_float_internal): Add issignaling checks.
15773 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15774 default definition.
15775 * sysdeps/powerpc/math-tests.h: New file.
15776 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15777 tests.
15778 * math/test-snan.c (TEST_FUNC): Likewise.
15779
6142896d
DM
157802013-03-30 David S. Miller <davem@davemloft.net>
15781
15782 * po/de.po: Update from translation team.
15783
ccc8cadf
JM
157842013-03-30 Joseph Myers <joseph@codesourcery.com>
15785
15786 [BZ #10357]
15787 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15788 imaginary part less than 1.0 and real part less than 0.5
15789 specially.
15790 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15791 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15792 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15793 (cacos_test): Add more tests.
15794 (casin_test): Likewise.
15795 (casinh_test): Likewise.
15796 * sysdeps/i386/fpu/libm-test-ulps: Update.
15797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15798
0f6a8d4b
SP
157992013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15800
0d1029de
SP
15801 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15802 ONE with its value.
15803
c2d94018
SP
15804 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15805 (__pow_mp): Replace ONE and MONE with their values.
15806 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15807 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15808 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15809 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15810 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15811 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15812
27ec37f1
SP
15813 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15814
a64d7e0e
SP
15815 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15816 (__pow_mp): Replace ZERO and MZERO with their values.
15817 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15819 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15820 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15821 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15822 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15823 (__sqr): Likewise.
15824
d26dd3eb
SP
15825 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15826
0f6a8d4b
SP
15827 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15828
e57b0c61
RM
158292013-03-28 Roland McGrath <roland@hack.frob.com>
15830
15831 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15832 Declare with __attribute__ ((weak)).
15833 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15834 Call __call_tls_dtors only if it's not NULL.
15835
356b3480
RM
158362013-03-28 Roland McGrath <roland@hack.frob.com>
15837
288f7d79
RM
15838 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15839 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15840 magic __ehdr_start linker symbol if it's defined.
15841 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15842 them up here if it was already done.
15843
dc0a0263
RM
15844 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15845 (_dl_aux_init): Use const in cast when setting it.
15846 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15847 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15848 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15849
3d3436ae
RM
15850 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15851 Declare them here.
15852 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15853 * csu/libc-tls.c: Nor here.
15854 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15855
356b3480
RM
15856 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15857 (__libc_message): Never call vsyslog.
15858
b0f1246a
AM
158592013-03-28 Alan Modra <amodra@gmail.com>
15860
15861 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15862 Define as empty.
15863 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15864 Likewise.
15865
fbbe2b9a
AZ
158662013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15867
15868 [BZ #15214]
15869 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15870 underflow.
15871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15872
1728ab37
SP
158732013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15874
7a86be6e
SP
15875 [BZ #15304]
15876 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15877 Don't add gid passed as argument.
15878
1728ab37
SP
15879 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15880
3a7182a1
JM
158812013-03-27 Joseph Myers <joseph@codesourcery.com>
15882
15883 [BZ #15307]
15884 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15885 imaginary part between 1.0 and 1.5 and real part less than 0.5
15886 specially.
15887 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15888 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15889 * math/libm-test.inc (cacos_test): Add more tests.
15890 (casin_test): Likewise.
15891 (casinh_test): Likewise.
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15894
6f2e90e7
SP
158952013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15896
5739f705
SP
15897 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15898 constants.
15899 (norm): Likewise.
15900 (denorm): Likewise.
15901 (__dbl_mp): Likewise.
15902 (add_magnitudes): Likewise.
15903 (sub_magnitudes): Likewise.
15904 (__add): Likewise.
15905 (__sub): Likewise.
15906 (__mul): Likewise.
15907 (__sqr): Likewise.
15908 (__inv): Likewise.
15909 (__dvd): Likewise.
15910
e375e83d
SP
15911 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15912 commented code.
15913 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15914 (__dubcos): Likewise.
15915 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15916 (__ieee754_acos): Likewise.
15917 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15918 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15919 (__exp1): Likewise.
15920 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15922 (log1): Likewise.
15923 (my_log2): Likewise.
15924 (checkint): Likewise.
15925 * sysdeps/ieee754/dbl-64/e_remainder.c
15926 (__ieee754_remainder): Likewise.
15927 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15929 (bsloww): Likewise.
15930 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15931
6f2e90e7
SP
15932 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15933 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15934 MANTISSA_STORE_T to store computations on mantissa. Use
15935 macros for rounding and division.
15936 (denorm): Likewise.
15937 (__dbl_mp): Likewise.
15938 (add_magnitudes): Likewise.
15939 (sub_magnitudes): Likewise.
15940 (__mul): Likewise.
15941 (__sqr): Likewise.
15942 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15943 powers of two in terms of TWOPOW macro.
15944 (mp_no): Make type of mantissa as MANTISSA_T.
15945 [!RADIXI]: Define RADIXI.
15946 [!TWO52]: Define TWO52.
15947 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15948
fce14d4e
AZ
159492013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15950
15951 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15952 llroundl symbol when building for PPC32.
15953
9ad027fb
MW
159542013-03-24 Mark H Weaver <mhw@netris.org>
15955
15956 * manual/arith.texi (Normalization Functions): Fix prototypes for
15957 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15958
e42a38dd
AZ
159592013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15960
15961 [BZ #13889]
15962 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15963 high value to check if expl overflow.
15964 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15965 to check for underflow and overflow.
15966 * math/libm-test.inc: Add exp test.
15967
2e0fb521
DL
159682013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15969
15970 [BZ #11120]
15971 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15972 with NOT_IN_libc.
15973
b5784d95
AZ
159742013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15975
15976 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15977 symbol.
15978
5aa4a1a1
TS
159792013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15980
bdef0be7
TS
15981 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15982 wrap blocks consisting of several statements.
15983
5aa4a1a1
TS
15984 * sysdeps/generic/math-tests.h: New file.
15985 * sysdeps/i386/fpu/math-tests.h: Likewise.
15986 * math/test-snan.c: Include it.
15987 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15988
98c48fe5
JM
159892013-03-21 Joseph Myers <joseph@codesourcery.com>
15990
15991 [BZ #15285]
15992 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15993 (__ieee754_j0l): Do not improve calculations using cos of twice
15994 input for inputs above LDBL_MAX / 2.0L.
15995 (__ieee754_y0l): Likewise.
15996 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15997 (__ieee754_j1l): Do not improve calculations using cos of twice
15998 input for inputs above LDBL_MAX / 2.0L.
15999 (__ieee754_y1l): Likewise.
16000 * math/libm-test.inc (j0_test): Add another test.
16001 (j1_test): Likewise.
16002 (y0_test): Likewise.
16003 (y1_test): Likewise.
16004 * sysdeps/i386/fpu/libm-test-ulps: Update.
16005
3775a8bc
SP
160062013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16007
16008 * Rules ($(objpfx)bench-%.c): Include code from a C source
16009 file.
16010
0a1b2ae6
JM
160112013-03-21 Joseph Myers <joseph@codesourcery.com>
16012
16013 [BZ #15287]
16014 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16015 imaginary part 1.0 and real part less than 0.5 specially.
16016 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16017 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16018 * math/libm-test.inc (cacos_test): Add more tests.
16019 (casin_test): Likewise.
16020 (casinh_test): Likewise.
16021 * sysdeps/i386/fpu/libm-test-ulps: Update.
16022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16023
b33d4ce4
SP
160242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16025
16026 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16027 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16028
bef0b507
JM
160292013-03-20 Joseph Myers <joseph@codesourcery.com>
16030
16031 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16032 * config.make.in (config-cflags-sse4): Remove variable.
16033 (config-cflags-avx): Likewise.
16034 (config-cflags-sse2avx): Likewise.
16035 (config-cflags-novzeroupper): Likewise.
16036 (config-asflags-i686): Likewise.
16037 (have-mfma4): Likewise.
16038 (have-as-vis3): Likewise.
16039 (MIG): Likewise.
16040 * configure.in (MIG): Do not AC_SUBST.
16041 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16042 (libc_cv_cc_sse4): Do not AC_SUBST.
16043 (libc_cv_cc_avx): Likewise.
16044 (libc_cv_cc_sse2avx): Likewise.
16045 (libc_cv_cc_novzeroupper): Likewise.
16046 (libc_cv_cc_fma4): Likewise.
16047 (libc_cv_as_i686): Likewise.
16048 (libc_cv_sparc_as_vis3): Likewise.
16049 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16050 LIBC_CONFIG_VAR.
16051 (config-asflags-i686): Likewise.
16052 (config-cflags-avx): Likewise.
16053 (config-cflags-sse2avx): Likewise.
16054 (have-mfma4): Likewise.
16055 (config-cflags-novzeroupper): Likewise.
16056 * sysdeps/mach/configure.in (MIG): Likewise.
16057 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16058 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16059 LIBC_CONFIG_VAR.
16060 (config-cflags-avx): Likewise.
16061 (config-cflags-sse2avx): Likewise.
16062 (have-mfma4): Likewise.
16063 (config-cflags-novzeroupper): Likewise.
16064 * configure: Regenerated.
16065 * sysdeps/i386/configure: Likewise.
16066 * sysdeps/mach/configure: Likewise.
16067 * sysdeps/sparc/configure: Likewise.
16068 * sysdeps/x86_64/configure: Likewise.
16069
912cc4b3
RM
160702013-03-20 Roland McGrath <roland@hack.frob.com>
16071
16072 [BZ #14812]
16073 * locale/programs/localedef.c (options): Put N_ translation marker
16074 on argument names, not just descriptions.
16075
04eed2b0
MS
160762013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16077
16078 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16079
a065ceff
OB
160802013-03-20 Ondřej Bílka <neleai@seznam.cz>
16081
9bb2a810 16082 [BZ #14176]
a065ceff
OB
16083 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16084
a600e5ce
RM
160852013-03-19 Roland McGrath <roland@hack.frob.com>
16086
16087 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16088 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16089 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16090 [!BEFORE_ABORT] (before_abort): New function.
16091 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16092 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16093 (writev_for_fatal): New function.
16094 (WRITEV_FOR_FATAL): New macro; call that.
16095 (backtrace_and_maps): New function.
16096 (BEFORE_ABORT): New macro; call that.
16097 (struct str_list): Type removed.
16098 (__libc_message, __libc_fatal): Functions removed.
16099 Include <sysdeps/posix/libc_fatal.c> instead.
16100
6b18bea6
JM
161012013-03-19 Joseph Myers <joseph@codesourcery.com>
16102
16103 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16104 constants.
16105 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16106 double constants.
16107
aaa8cb4b
AS
161082013-03-19 Andreas Schwab <schwab@suse.de>
16109
44673770
AS
16110 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16111 * sysdeps/gnu/configure: Regenerate.
16112
aaa8cb4b
AS
16113 * configure.in: Substitute libc_cv_rtlddir.
16114 * configure: Regenerate.
16115 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16116 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16117 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16118 * elf/Makefile (install-others, CFLAGS-interp.c)
16119 (ldso_install, common-ldd-rewrite): Likewise.
16120 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16121 $(inst_slibdir)/$(rtld-installed-name).
16122 * scripts/rellns-sh: Add -p option.
16123 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16124 for source.
16125
d3cfc668
SP
161262013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16127
16128 * manual/nptl.texi: Renamed to ...
16129 * manual/threads.texi: ... this.
16130 * manual/Makefile (chapters): Update.
16131
0e2b9cdd
RM
161322013-03-18 Roland McGrath <roland@hack.frob.com>
16133
16134 [BZ #14812]
16135 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16136 on argument names, not just descriptions.
0e2b9cdd
RM
16137 * malloc/memusagestat.c (options): Likewise.
16138 * nss/getent.c (options): Likewise.
63270c24
RM
16139
161402013-03-18 Benno Schulenberg <bensberg@justemail.net>
16141
16142 [BZ #14812]
16143 * iconv/iconv_prog.c (options): Put N_ translation marker
16144 on argument names, not just descriptions.
16145 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16146
b2e1393c
OB
161472013-03-18 Ondrej Bilka <neleai@seznam.cz>
16148
16149 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16150 implementation which is faster on all x86_64 architectures.
16151 Tested on AMD, Intel Nehalem, SNB, IVB.
16152 * sysdeps/x86_64/strnlen.S: Likewise.
16153
16154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16155 Remove all multiarch strlen and strnlen versions.
16156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16157 Remove strlen and strnlen related parts.
16158
16159 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16160 Inline strlen part.
16161 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16162
16163 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16164 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16165 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16166 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16167 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16168 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16169
ec4ff04d
CD
161702013-03-17 Carlos O'Donell <carlos@redhat.com>
16171
16172 * manual/memory.texi (Malloc Tunable Parameters):
16173 Sort parameters alphabetically. Add comments for missing entries.
16174
cd18e90a
DM
161752013-03-17 David S. Miller <davem@davemloft.net>
16176
16177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16178
2a185d32
JM
161792013-03-16 Joseph Myers <joseph@codesourcery.com>
16180
d2f9799e
JM
16181 [BZ #15283]
16182 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16183 for arguments at most half maximum finite value.
16184 * math/libm-test.inc (j0_test): Add more tests.
16185 (j1_test): Likewise.
16186 (y0_test): Likewise.
16187 (y1_test): Likewise.
16188 * sysdeps/i386/fpu/libm-test-ulps: Update.
16189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16190
2a185d32
JM
16191 [BZ #14155]
16192 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16193 1 / x and functions P and Q for arguments above 0x1p256L.
16194 (__ieee754_y0l): Likewise.
16195 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16196 (__ieee754_y1l): Likewise.
16197 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16198 (j1_test): Likewise.
16199 (y0_test): Likewise.
16200 (y1_test): Likewise.
16201
6cbec759
TS
162022013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16203
16204 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16205 variable.
16206
bc16e260
RM
162072013-03-15 Roland McGrath <roland@hack.frob.com>
16208
aefc9b8c
RM
16209 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16210 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16211 zero since it's initialized to EXEC_PAGESIZE.
16212
bc16e260
RM
16213 * sysdeps/unix/sysv/linux/ldsodefs.h
16214 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16215 * sysdeps/generic/ldsodefs.h: ... here.
16216
a57da955
TS
162172013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16218
af00a34d
TS
16219 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16220
495ded2c
TS
16221 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16222 math/test-snan.c.
16223 * math/test-snan.c: Renamed from
16224 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16225 * math/Makefile (tests): Add test-snan.
16226 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16227 test-powerpc-snan.
16228
777b0332
TS
16229 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16230 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16231 functions.
16232 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16233 __builtin_nan family of functions.
16234 * math/libm-test.inc (initialize): Initialize qnan_value with
16235 __builtin_nan family of functions.
16236 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16237 Remove variables.
16238 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16239 Remove functions.
16240 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16241 storage class. Initialize qNaN_var and sNaN_var with
16242 __builtin_nan and __builtin_nans families of functions,
16243 respectively.
16244
64d063b8
TS
16245 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16246 (sqrt_test): Remove duplicate test with qNaN input.
16247 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16248 (round_test, signbit_test, significand_test): Note missing +/-Inf
16249 as well as qNaN tests.
16250
67e971f1
TS
16251 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16252 qNaN_var. Fix a few strings, too.
16253 * math/libm-test.inc (nan_value): Rename to qnan_value.
16254 * math/gen-libm-test.pl (%beautify): Adjust to that.
16255 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16256 * math/test-misc.c (main): Likewise.
16257 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16258 to __qnan_bytes, and __qnan_union, respectively.
16259 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16260 Likewise.
16261 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16262 and lqnanval, respectively.
16263 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16264 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16265 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16266 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16267
64487e12
TS
16268 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16269 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16270 doubles.
16271
e015e27b
TS
16272 * math/test-misc.c (main): Fix copy'n'pastos.
16273 * misc/tst-efgcvt.c (special): Likewise.
16274
a57da955
TS
16275 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16276 Remove declarations.
16277
1e380345
SP
162782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16279
16280 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16281 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16282 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16283 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16284
ef26eece
AZ
162852013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16286
16287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16288 macro to return vdso values correctly in IFUNC implementations.
16289 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16290 Optimization by using IFUNC.
16291
8cfdb7e0
SP
162922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16293 Richard Henderson <rth@redhat.com>
16294 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16295
16296 * Makefile.in (bench): New target.
16297 * NEWS: Mention the benchmark framework.
16298 * Rules (bench): Likewise.
16299 (binaries-bench): Generate binaries for functions to
16300 benchmark.
16301 * benchtests/Makefile: New makefile for benchmark tests.
16302 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16303 programs.
16304 * benchtests/exp-inputs: New input file for EXP function.
16305 * benchtests/pow-inputs: New input file for POW function.
16306 * scripts/bench.pl: New script to generate source files for
16307 benchmark programs.
16308
bcda9880
SP
163092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16310
d22ca8cd
SP
16311 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16312 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16313 computations on mantissa. Use macros for rounding and
16314 division.
16315 (denorm): Likewise.
16316 (__dbl_mp): Likewise.
16317 (add_magnitudes): Likewise.
16318 (sub_magnitudes): Likewise.
16319 (__mul): Likewise.
16320 (__sqr): Likewise.
16321 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16322 powers of two in terms of TWOPOW macro.
16323 (mp_no): Make type of mantissa as MANTISSA_T.
16324 [!RADIXI]: Define RADIXI.
16325 [!TWO52]: Define TWO52.
16326 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16327
bcda9880
SP
16328 * manual/nptl.texi (cindex): Modify threads to pthreads.
16329
06d5adfb
JM
163302013-03-15 Joseph Myers <joseph@codesourcery.com>
16331
16332 * sysdeps/x86_64/preconfigure: Regenerated.
16333
41c7328e
JM
163342013-03-14 Joseph Myers <joseph@codesourcery.com>
16335
16336 [BZ #14155]
16337 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16338 0x1p28 and above.
16339 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16340 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16341 0x1p28 and above.
16342 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16343 * math/libm-test.inc (j0_test): Do not allow one spurious
16344 underflow exception.
16345 (y1_test): Likewise.
16346
e25cfa60
SP
163472013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16348
0409959c
SP
16349 * manual/Makefile (chapters): Add nptl.
16350 * manual/debug.texi (Debugging Support): Add link to Threads
16351 chapter.
16352 * manual/nptl.texi: New file.
16353
e25cfa60
SP
16354 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16355
58a1335e
PB
163562013-03-14 Petr Baudis <pasky@ucw.cz>
16357
16358 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16359 for non-NULL pointer before the memory validity test. Pointed
16360 out by Holger Brunck <holger.brunck@keymile.com>.
16361
9dc7c64f
AS
163622013-03-13 Andreas Schwab <schwab@suse.de>
16363
16364 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16365 instead of .os.
16366
54206aa6
JM
163672013-03-13 Joseph Myers <joseph@codesourcery.com>
16368
16369 * timezone/zic.c: Update from tzcode 2013b.
16370
e98cdb38
CD
163712013-03-12 Carlos O'Donell <carlos@redhat.com>
16372
16373 * manual/install.texi (Configuring and compiling):
16374 Mention i686 and i586.
16375 * INSTALL: Regenerate.
16376
9967e003
RM
163772013-03-12 Roland McGrath <roland@hack.frob.com>
16378
16379 * sysdeps/init_array/elf-init.c: New file.
16380 * csu/elf-init.c
16381 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16382 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16383
16384 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16385 __gmon_start__ as global, but as static with a .preinit_array pointer.
16386 * sysdeps/init_array/gmon-start.c: New file. Use that.
16387 * sysdeps/init_array/crti.S: New file, empty except for comments.
16388 * sysdeps/init_array/crtn.S: Likewise.
16389
e6b5a293 163902013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16391
16392 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16393 definining bcopy.
80f844c9
OB
16394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16395 Remove Prefer_SSE_for_memop.
16396 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16397 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16398 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16400 memset-x86-64.
80f844c9 16401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16402 Remove bzero, memset ifunc support.
80f844c9
OB
16403 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16404 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16405 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16406 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16407
fb6b0fcb
AS
164082013-03-11 Andreas Schwab <schwab@suse.de>
16409
16410 [BZ #15234]
16411 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16412 by SHLIB_COMPAT.
16413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16414 (GLIBC_2.16): Remove pthread_atfork.
16415
3e6bd4b1
PP
164162013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16417
16418 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16419 (ptestcases.h): Likewise.
16420
222d7f00
RM
164212013-03-08 Roland McGrath <roland@hack.frob.com>
16422
16423 * Makeconfig ($(common-objpfx)config.status): Depend on
16424 sysdeps/*/preconfigure{,.in} too.
16425
1ba4f030
JM
164262013-03-08 Joseph Myers <joseph@codesourcery.com>
16427
a222d91a
JM
16428 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16429 (__free_hook): Use void * instead of __malloc_ptr_t.
16430 (__malloc_hook): Likewise.
16431 (__realloc_hook): Likewise.
16432 (__memalign_hook): Likewise.
16433 (__after_morecore_hook): Likewise.
16434 * malloc/arena.c (save_malloc_hook): Likewise.
16435 (save_free_hook): Likewise.
16436 * malloc/hooks.c (malloc_hook_ini): Likewise.
16437 (realloc_hook_ini): Likewise.
16438 (memalign_hook_ini): Likewise.
16439 * malloc/malloc.c (malloc_hook_ini): Likewise.
16440 (realloc_hook_ini): Likewise.
16441 (memalign_hook_ini): Likewise.
16442 (__free_hook): Likewise.
16443 (__malloc_hook): Likewise.
16444 (__realloc_hook): Likewise.
16445 (__memalign_hook): Likewise.
16446 (__libc_malloc): Likewise.
16447 (__libc_free): Likewise.
16448 (__libc_realloc): Likewise.
16449 (__libc_memalign): Likewise.
16450 (__libc_valloc): Likewise.
16451 (__libc_pvalloc): Likewise.
16452 (__libc_calloc): Likewise.
16453 (__posix_memalign): Likewise.
16454 * malloc/morecore.c (__sbrk): Likewise.
16455 (__default_morecore): Likewise.
16456
5cc45e10
JM
16457 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16458
dd54b864
JM
16459 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16460 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16461 __malloc_ptrdiff_t.
16462
1ba4f030
JM
16463 * malloc/malloc.h (__malloc_size_t): Remove macro.
16464 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16465 __malloc_size_t.
16466 (old_memalign_hook): Likewise.
16467 (old_realloc_hook): Likewise.
16468 (struct hdr): Likewise.
16469 (flood): Likewise.
16470 (mallochook): Likewise.
16471 (memalignhook): Likewise.
16472 (reallochook): Likewise.
16473 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16474 (tr_old_realloc_hook): Likewise.
16475 (tr_old_memalign_hook): Likewise.
16476 (tr_mallochook): Likewise.
16477 (tr_reallochook): Likewise.
16478 (tr_memalignhook): Likewise.
16479
edf66e57
AZ
164802013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16481
16482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16483 default_ldbl_pack and using as default implementation.
16484 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16485 implementation.
16486 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16487 redundant definition.
16488 (ldbl_insert_mantissa): Likewise.
16489 (ldbl_canonicalize): Likewise.
16490 (ldbl_nearbyint): Likewise.
16491 (ldbl_pack): Rename to ldbl_pack_ppc.
16492 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16493 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16494 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16495
6d9145d8
SP
164962013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16497
16498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16499 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16500 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16501 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16503 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16504 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16505 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16506
4dd4e157
AJ
165072013-03-07 Andreas Jaeger <aj@suse.de>
16508
16509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16510 bits/mman-linux.h.
16511
adbb8027
SP
165122013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16513
ce544b5b
SP
16514 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16515 Include mpa.h and declare __MPEXP.
16516 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16517 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16518 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16519 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16520 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16521 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16522 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16523
4cc149fd
SP
16524 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16525 (__slowpow): Use long double EXPL and LOGL functions to
16526 compute POW.
16527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16528 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16529 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16531 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16532 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16533
e6ebd4a7
SP
16534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16535 intermediate variable to calculate exponent.
16536 (__sqr): Likewise.
16537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16538 Likewise.
16539 (__sqr): Likewise.
16540
82a9811d
SP
16541 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16542 [!NO__SQR]: Define __sqr.
16543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16544 and NO__SQR. Remove all code except __mul and __sqr. Include
16545 sysdeps/ieee754/dbl-64/mpa.c.
16546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16547
adbb8027
SP
16548 [BZ #12723]
16549 * posix/Makefile (tests): Add tst-pathconf.
16550 * posix/tst-pathconf.c: New test case.
16551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16552 _PC_PIPE_BUF.
16553 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16554
39120df9
PF
165552013-03-06 Patsy Franklin <pfrankli@redhat.com>
16556
16557 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16558
67525cb8
AJ
165592013-03-06 Andreas Jaeger <aj@suse.de>
16560
664a9ce4
AJ
16561 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16562 definition via __MAP_ANONYMOUS.
16563
8e39047d
AJ
16564 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16565 it's not part of Linux headers.
16566
67525cb8
AJ
16567 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16568 (MAP_HUGE_MASK): Define.
16569
16570 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16571 Define.
16572 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16574 Define.
16575 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16576 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16577 Define.
16578 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16579 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16580 Define.
16581 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16582
16583 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16584 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16585 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16586 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16587 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16588 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16589
16590 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16591 Handle f2fs.
16592
16593 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16594 Handle f2fs and efivarfs.
16595
16596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16597 f2fs.
16598
16599 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16600 (EFIVARFS_MAGIC): Add.
16601 (F2FS_LINK_MAX): Add.
16602
e1b42695
PP
166032013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16604
16605 * stdio-common/vfprintf.c: Replace __builtin_expect with
16606 __glibc_unlikely.
16607
2d67d91a
JM
166082013-03-06 Joseph Myers <joseph@codesourcery.com>
16609
16610 [BZ #13550]
16611 * sysdeps/generic/bp-sym.h: Remove file.
16612 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16613 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16614 <bp-sym.h> and <bp-asm.h>.
16615 (__longjmp): Don't use BP_SYM.
16616 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16617 and <bp-asm.h>.
16618 (memcpy): Don't use BP_SYM.
16619 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16620 <bp-sym.h> and <bp-asm.h>.
16621 (memcpy): Don't use BP_SYM.
16622 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16623 <bp-asm.h>.
16624 (memcpy): Don't use BP_SYM.
16625 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16626 <bp-asm.h>.
16627 (memset): Don't use BP_SYM.
16628 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16629 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16630 (__bzero): Don't use BP_SYM.
16631 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16632 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16633 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16634 <bp-sym.h> and <bp-asm.h>.
16635 (memcmp): Don't use BP_SYM. Remove comment about bounded
16636 pointers.
16637 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16638 <bp-sym.h> and <bp-asm.h>.
16639 (memcpy): Don't use BP_SYM.
16640 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16641 <bp-sym.h> and <bp-asm.h>.
16642 (memset): Don't use BP_SYM.
16643 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16644 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16645 (__bzero): Don't use BP_SYM.
16646 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16647 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16648 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16649 <bp-sym.h> and <bp-asm.h>.
16650 (strncmp): Don't use BP_SYM. Remove comment about bounded
16651 pointers.
16652 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16653 <bp-sym.h> and <bp-asm.h>.
16654 (memcpy): Don't use BP_SYM.
16655 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16656 <bp-sym.h> and <bp-asm.h>.
16657 (memset): Don't use BP_SYM.
16658 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16659 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16660 (__bzero): Don't use BP_SYM.
16661 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16662 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16663 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16664 <bp-sym.h> and <bp-asm.h>.
16665 (__memchr): Don't use BP_SYM.
16666 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16667 <bp-sym.h> and <bp-asm.h>.
16668 (memcmp): Don't use BP_SYM. Remove comment about bounded
16669 pointers.
16670 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16671 <bp-sym.h> and <bp-asm.h>.
16672 (memcpy): Don't use BP_SYM.
16673 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16674 <bp-sym.h> and <bp-asm.h>.
16675 (__mempcpy): Don't use BP_SYM.
16676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16677 <bp-sym.h> and <bp-asm.h>.
16678 (__memrchr): Don't use BP_SYM.
16679 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16680 <bp-sym.h> and <bp-asm.h>.
16681 (memset): Don't use BP_SYM.
16682 (__bzero): Likewise.
16683 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16684 <bp-sym.h> and <bp-asm.h>.
16685 (__rawmemchr): Don't use BP_SYM.
16686 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16687 <bp-sym.h> and <bp-asm.h>.
16688 (__STRCMP): Don't use BP_SYM.
16689 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16690 <bp-sym.h> and <bp-asm.h>.
16691 (strchr): Don't use BP_SYM.
16692 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16693 <bp-sym.h> and <bp-asm.h>.
16694 (__strchrnul): Don't use BP_SYM.
16695 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16696 <bp-sym.h> and <bp-asm.h>.
16697 (strlen): Don't use BP_SYM.
16698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16699 <bp-sym.h> and <bp-asm.h>.
16700 (strncmp): Don't use BP_SYM. Remove comment about bounded
16701 pointers.
16702 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16703 <bp-sym.h> and <bp-asm.h>.
16704 (__strnlen): Don't use BP_SYM.
16705 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16706 <bp-sym.h> and <bp-asm.h>.
16707 (__GI__setjmp): Don't use BP_SYM.
16708 (_setjmp): Likewise.
16709 (__sigsetjmp): Likewise.
16710 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16711 (L(start_addresses)): Don't use BP_SYM.
16712 (_start): Likewise.
16713 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16714 <bp-asm.h>.
16715 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16716 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16717 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16718 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16719 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16720 <bp-asm.h>.
16721 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16722 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16723 about bounded pointers.
16724 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16725 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16726 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16727 <bp-asm.h>.
16728 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16729 about bounded pointers. Remove GKM FIXME comments.
16730 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16731 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16732 <bp-asm.h>.
16733 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16734 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16735 Remove GKM FIXME comments.
16736 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16737 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16738 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16739 <bp-asm.h>.
16740 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16741 about bounded pointers. Remove GKM FIXME comment.
16742 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16743 and <bp-asm.h>.
16744 (strncmp): Don't use BP_SYM. Remove comment about bounded
16745 pointers.
16746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16747 <bp-sym.h> and <bp-asm.h>.
16748 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16750 <bp-sym.h> and <bp-asm.h>.
16751 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16752 comment.
16753
cdcf361f
PP
167542013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16755
16756 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16757 call free(NULL).
16758
3c4a2b15
DM
167592013-03-05 David S. Miller <davem@davemloft.net>
16760
16761 * po/es.po: Update from translation team.
16762
cdcf361f 167632013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16764
16765 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16766 <bits/mman-linux.h>.
16767 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16768 is fine.
16769 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16770 <bits/mman-linux.h> to end of file.
16771 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16772 is fine.
16773 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16774 <bits/mman-linux.h> to end of file.
16775 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16776 is fine.
16777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16778 <bits/mman-linux.h> to end of file.
16779
16780 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16781 (MCL_CURRENT, MCL_FUTURE): Define here.
16782
5f67c04f
AK
167832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16784
8a4473cc 16785 [BZ #15232]
5f67c04f
AK
16786 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16787 attribute_hidden.
16788 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16789
c3e94a95
AK
167902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16791
16792 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16793 fourth parameter needed for rt_sigprocmask syscall.
16794 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16795 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16796 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16797 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16798 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16799 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16800
cfb6382a
JM
168012013-03-04 Joseph Myers <joseph@codesourcery.com>
16802
16803 [BZ #13550]
16804 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16805 comment about bounded pointers.
16806 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16807 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16808
539d8e01
AJ
168092013-03-04 Andreas Jaeger <aj@suse.de>
16810
16811 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16812 common definitions.
16813
16814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16815 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16816 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16817 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16818 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16819 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16820
2e167a70 168212013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16822
16823 [BZ #15055]
16824 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16825 __ieee754_sqrl instead of __sqrl.
16826
68508633
JM
168272013-03-01 Joseph Myers <joseph@codesourcery.com>
16828
16829 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16830 * sysdeps/powerpc/fpu_control.h: ... here.
16831 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16832 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16833 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16834 * sysdeps/powerpc/bits/mathinline.h: ... here.
16835
7775448e
RM
168362013-03-01 Roland McGrath <roland@hack.frob.com>
16837
16838 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16839 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16840 to just [NEED_DL_SYSINFO_DSO].
16841 * elf/dl-support.c: Likewise.
16842 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16843 * elf/rtld.c (dl_main): Likewise.
16844 * elf/setup-vdso.h (setup_vdso): Likewise.
16845 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16846 * sysdeps/unix/sysv/linux/dl-sysdep.c
16847 (_dl_discover_osversion): Likewise.
16848
4e9b5995
CD
168492013-03-01 Carlos O'Donell <carlos@redhat.com>
16850
16851 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16852 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16853
e23872c8
SP
168542013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16855
e5c74c63
SP
16856 * NEWS: Mention libm performance improvements and non-x86 PI
16857 futex support.
16858
e23872c8
SP
16859 * csu/libc-start.c (__pthread_initialize_minimal): Change
16860 function arguments.
16861 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16862
b5510883
JM
168632013-02-28 Joseph Myers <joseph@codesourcery.com>
16864
16865 [BZ #13550]
16866 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16867 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16868 <bp-sym.h> and <bp-asm.h>.
16869 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16870 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16871 and <bp-asm.h>.
16872 (memcpy): Don't use BP_SYM.
16873 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16874 <bp-asm.h>.
16875 (__mpn_add_n): Don't use BP_SYM.
16876 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16877 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16878 and <bp-asm.h>.
16879 (__mpn_addmul_1): Don't use BP_SYM.
16880 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16881 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16882 <bp-sym.h>.
16883 (_setjmp): Don't use BP_SYM.
16884 (__novmx_setjmp): Likewise.
16885 (__GI__setjmp): Likewise.
16886 (__vmx_setjmp): Likewise.
16887 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16888 <bp-sym.h>.
16889 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16890 (__bzero): Don't use BP_SYM.
16891 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16892 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16893 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16894 <bp-sym.h> and <bp-asm.h>.
16895 (memcpy): Don't use BP_SYM.
16896 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16897 <bp-sym.h> and <bp-asm.h>.
16898 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16899 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16900 <bp-sym.h> and <bp-asm.h>.
16901 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16902 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16903 <bp-asm.h>.
16904 (__mpn_lshift): Don't use BP_SYM.
16905 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16906 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16907 <bp-asm.h>.
16908 (memset): Don't use BP_SYM.
16909 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16910 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16911 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16912 <bp-asm.h>.
16913 (__mpn_mul_1): Don't use BP_SYM.
16914 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16916 <bp-sym.h> and <bp-asm.h>.
16917 (memcmp): Don't use BP_SYM.
16918 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16919 <bp-sym.h> and <bp-asm.h>.
16920 (memcpy): Don't use BP_SYM.
16921 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16922 <bp-sym.h> and <bp-asm.h>.
16923 (memset): Don't use BP_SYM.
16924 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16925 <bp-sym.h> and <bp-asm.h>.
16926 (strncmp): Don't use BP_SYM.
16927 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (memcpy): Don't use BP_SYM.
16930 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16931 <bp-sym.h> and <bp-asm.h>.
16932 (memset): Don't use BP_SYM.
16933 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16934 <bp-sym.h> and <bp-asm.h>.
16935 (__memchr): Don't use BP_SYM.
16936 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16937 <bp-sym.h> and <bp-asm.h>.
16938 (memcmp): Don't use BP_SYM.
16939 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16940 <bp-sym.h> and <bp-asm.h>.
16941 (memcpy): Don't use BP_SYM.
16942 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16943 <bp-sym.h> and <bp-asm.h>.
16944 (__mempcpy): Don't use BP_SYM.
16945 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16946 <bp-sym.h> and <bp-asm.h>.
16947 (__memrchr): Don't use BP_SYM.
16948 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16949 <bp-sym.h> and <bp-asm.h>.
16950 (memset): Don't use BP_SYM.
16951 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16952 <bp-sym.h> and <bp-asm.h>.
16953 (__rawmemchr): Don't use BP_SYM.
16954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16955 <bp-sym.h> and <bp-asm.h>.
16956 (__STRCMP): Don't use BP_SYM.
16957 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16958 <bp-sym.h> and <bp-asm.h>.
16959 (strchr): Don't use BP_SYM.
16960 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (__strchrnul): Don't use BP_SYM.
16963 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (strlen): Don't use BP_SYM.
16966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16967 <bp-sym.h> and <bp-asm.h>.
16968 (strncmp): Don't use BP_SYM.
16969 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16970 <bp-sym.h> and <bp-asm.h>.
16971 (__strnlen): Don't use BP_SYM.
16972 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16973 <bp-asm.h>.
16974 (__mpn_rshift): Don't use BP_SYM.
16975 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16976 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16977 <bp-sym.h> and <bp-asm.h>.
16978 (__sigsetjmp): Don't use BP_SYM.
16979 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16980 (L(start_addresses)): Don't use BP_SYM.
16981 (_start): Likewise.
16982 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16983 <bp-asm.h>.
16984 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16985 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16986 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16987 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16988 <bp-asm.h>.
16989 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16990 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16991 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16992 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16993 <bp-asm.h>.
16994 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16995 comments.
16996 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16997 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16998 <bp-asm.h>.
16999 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17000 FIXME comments.
17001 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17002 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17003 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17004 <bp-asm.h>.
17005 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17006 comment.
17007 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17008 and <bp-asm.h>.
17009 (strncmp): Don't use BP_SYM,
17010 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17011 <bp-asm.h>.
17012 (__mpn_sub_n): Don't use BP_SYM.
17013 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17014 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17015 and <bp-asm.h>.
17016 (__mpn_submul_1): Don't use BP_SYM.
17017 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17019 <bp-sym.h> and <bp-asm.h>.
17020 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17024 comment.
17025
8d19fe64
SP
170262013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17027
17028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17029 Use ZK to minimize writes to Z.
17030 (sub_magnitudes): Simplify code a bit.
17031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17032 Use ZK to minimize writes to Z.
17033 (sub_magnitudes): Simplify code a bit.
17034
85bd816a
RM
170352013-02-27 Roland McGrath <roland@hack.frob.com>
17036
17037 * csu/gmon-start.c: Add special exception to license text.
17038
b5977bf2
RH
170392013-02-27 Richard Henderson <rth@redhat.com>
17040
17041 * scripts/config.guess: Update from config.git.
17042 * scripts/config.sub: Likewise.
17043
11d6e2f2
SP
170442013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17045
09c14ed2
SP
17046 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17047
a688864e
SP
17048 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17049
6295157a
SP
17050 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17051
b8de2202
SP
17052 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17053
11d6e2f2
SP
17054 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17055
7e80ddb8
RM
170562013-02-26 Roland McGrath <roland@hack.frob.com>
17057
17058 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17059 [$(build-shared = yes].
7e80ddb8 17060
7da6d9ed
SP
170612013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17062
45f05884
SP
17063 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17064 (__mul): Reduce iterations for calculating mantissa.
17065
2236d359
SP
17066 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17067 MPTWO.
17068 (__mpranred): Likewise.
17069
7da6d9ed
SP
17070 [BZ #15160]
17071 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17072 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17073
b7688c42
PE
170742013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17075
17076 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17077 Define __attribute__.
17078
53a5c423
SP
170792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17080
17081 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17082 unused.
17083 * posix/regex_internal.h (__attribute): Remove.
17084 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17085 (re_string_context_at): Likewise.
17086 (bitset_not): Use __attribute__ and mark function as possibly
17087 unused.
17088 (bitset_merge): Likewise.
17089 (bitset_mask): Likewise.
17090 (re_string_char_size_at): Likewise.
17091 (re_string_wchar_at): Likewise.
17092 (re_string_elem_size_at): Likewise.
17093
60f5a8b5
SP
170942013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17095
2a983a2e
SP
17096 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17097 code.
17098 (cc32): Likewise.
17099
e69804d1
SP
17100 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17101 (__acr): Likewise.
17102 (__cpy): Likewise.
17103 (norm): Likewise.
17104 (denorm): Likewise.
17105 (__dbl_mp): Likewise.
17106 (add_magnitudes): Likewise.
17107 (sub_magnitudes): Likewise.
17108 (__mul): Likewise.
17109 (__inv): Likewise.
17110
2f22a1e8
SP
17111 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17112 style.
17113
8930ddc7
SP
17114 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17115 style.
17116
dc60cb11
SP
17117 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17118 code.
17119
60f5a8b5
SP
17120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17121 up changes with default code.
17122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17123 Likewise.
17124
b4d1fd33
AM
171252013-02-24 Allan McRae <allan@archlinux.org>
17126
faf6f8bc
AM
17127 * manual/socket.texi (The Internet Namespace): Order menu items
17128 to match that in the file.
17129
b4d1fd33
AM
17130 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17131 node listing of the info page menu.
17132
2366713d
JM
171332013-02-21 Joseph Myers <joseph@codesourcery.com>
17134
17135 [BZ #13550]
17136 * sysdeps/i386/bp-asm.h: Remove file.
17137 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17138 (PARMS): Do not use macros from bp-asm.h.
17139 (S1): Likewise.
17140 (S2): Likewise.
17141 (SIZE): Likewise.
17142 (__mpn_add_n): Do not use BP_SYM
17143 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17144 "bp-asm.h".
17145 (PARMS): Do not use macros from bp-asm.h.
17146 (S1): Likewise.
17147 (SIZE): Likewise.
17148 (__mpn_addmul_1): Do not use BP_SYM
17149 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17150 "bp-asm.h".
17151 (PARMS): Do not use macros from bp-asm.h.
17152 (SIGMSK): Likewise.
17153 (_setjmp): Likewise. Do not use BP_SYM.
17154 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17155 "bp-asm.h".
17156 (PARMS): Do not use macros from bp-asm.h.
17157 (SIGMSK): Likewise.
17158 (setjmp): Likewise. Do not use BP_SYM.
17159 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17160 "bp-asm.h".
17161 (PARMS): Do not use macros from bp-asm.h.
17162 (__frexp): Do not use BP_SYM.
17163 (frexp): Likewise.
17164 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17165 "bp-asm.h".
17166 (PARMS): Do not use macros from bp-asm.h.
17167 (__frexpf): Do not use BP_SYM.
17168 (frexpf): Likewise.
17169 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17170 "bp-asm.h".
17171 (PARMS): Do not use macros from bp-asm.h.
17172 (__frexpl): Do not use BP_SYM.
17173 (frexpl): Likewise.
17174 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17175 "bp-asm.h".
17176 (PARMS): Do not use macros from bp-asm.h.
17177 (__remquo): Do not use BP_SYM.
17178 (remquo): Likewise.
17179 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17180 "bp-asm.h".
17181 (PARMS): Do not use macros from bp-asm.h.
17182 (__remquof): Do not use BP_SYM.
17183 (remquof): Likewise.
17184 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17185 "bp-asm.h".
17186 (PARMS): Do not use macros from bp-asm.h.
17187 (__remquol): Do not use BP_SYM.
17188 (remquol): Likewise.
17189 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17190 "bp-asm.h".
17191 (PARMS): Do not use macros from bp-asm.h.
17192 (DEST): Likewise.
17193 (SRC): Likewise.
17194 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17195 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17196 "bp-asm.h".
17197 (PARMS): Do not use macros from bp-asm.h.
17198 (strlen): Do not use BP_SYM.
17199 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17200 "bp-asm.h".
17201 (PARMS): Do not use macros from bp-asm.h.
17202 (S1): Likewise.
17203 (S2): Likewise.
17204 (SIZE): Likewise.
17205 (__mpn_add_n): Do not use BP_SYM.
17206 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17207 "bp-asm.h".
17208 (PARMS): Do not use macros from bp-asm.h.
17209 (S1): Likewise.
17210 (SIZE): Likewise.
17211 (__mpn_addmul_1): Do not use BP_SYM.
17212 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17213 weak_alias.
17214 (bzero): Likewise.
17215 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17216 "bp-asm.h".
17217 (PARMS): Do not use macros from bp-asm.h.
17218 (S): Likewise.
17219 (SIZE): Likewise.
17220 (__mpn_lshift): Do not use BP_SYM.
17221 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17222 "bp-asm.h".
17223 (PARMS): Do not use macros from bp-asm.h.
17224 (DEST): Likewise.
17225 (SRC): Likewise.
17226 (LEN): Likewise.
17227 (memcpy): Likewise. Do not use BP_SYM.
17228 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17229 libc_hidden_def and weak_alias.
17230 (mempcpy): Do not use BP_SYM in weak_alias.
17231 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17232 "bp-asm.h".
17233 (PARMS): Do not use macros from bp-asm.h.
17234 (DEST): Likewise.
17235 (LEN): Likewise.
17236 [!BZERO_P] (CHR): Likewise.
17237 (memset): Likewise. Do not use BP_SYM.
17238 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17239 "bp-asm.h".
17240 (PARMS): Do not use macros from bp-asm.h.
17241 (S1): Likewise.
17242 (SIZE): Likewise.
17243 (__mpn_mul_1): Do not use BP_SYM.
17244 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17245 "bp-asm.h".
17246 (PARMS): Do not use macros from bp-asm.h.
17247 (S): Likewise.
17248 (SIZE): Likewise.
17249 (__mpn_rshift): Do not use BP_SYM.
17250 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17251 "bp-asm.h".
17252 (PARMS): Do not use macros from bp-asm.h.
17253 (STR): Likewise.
17254 (CHR): Likewise.
17255 (strchr): Likewise. Do not use BP_SYM.
17256 (index): Do not use BP_SYM in weak_alias.
17257 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17258 "bp-asm.h".
17259 (PARMS): Do not use macros from bp-asm.h.
17260 (DEST): Likewise.
17261 (SRC): Likewise.
17262 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17263 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17264 "bp-asm.h".
17265 (PARMS): Do not use macros from bp-asm.h.
17266 (strlen): Do not use BP_SYM.
17267 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17268 "bp-asm.h".
17269 (PARMS): Do not use macros from bp-asm.h.
17270 (S1): Likewise.
17271 (S2): Likewise.
17272 (SIZE): Likewise.
17273 (__mpn_sub_n): Do not use BP_SYM.
17274 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17275 "bp-asm.h".
17276 (PARMS): Do not use macros from bp-asm.h.
17277 (S1): Likewise.
17278 (SIZE): Likewise.
17279 (__mpn_submul_1): Do not use BP_SYM.
17280 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17281 "bp-asm.h".
17282 (PARMS): Do not use macros from bp-asm.h.
17283 (S1): Likewise.
17284 (S2): Likewise.
17285 (SIZE): Likewise.
17286 (__mpn_add_n): Do not use BP_SYM.
17287 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17288 weak_alias.
17289 (bzero): Likewise.
17290 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17291 "bp-asm.h".
17292 (PARMS): Do not use macros from bp-asm.h.
17293 (BLK2): Likewise.
17294 (LEN): Likewise.
17295 (memcmp): Do not use BP_SYM.
17296 (bcmp): Do not use BP_SYM in weak_alias.
17297 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17298 "bp-asm.h".
17299 (PARMS): Do not use macros from bp-asm.h.
17300 (DEST): Likewise.
17301 (SRC): Likewise.
17302 (LEN): Likewise.
17303 (memcpy): Likewise. Do not use BP_SYM.
17304 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17305 "bp-asm.h".
17306 (PARMS): Do not use macros from bp-asm.h.
17307 (DEST): Likewise.
17308 (SRC): Likewise.
17309 (LEN): Likewise.
17310 (memmove): Likewise. Do not use BP_SYM.
17311 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17312 "bp-asm.h".
17313 (PARMS): Do not use macros from bp-asm.h.
17314 (DEST): Likewise.
17315 (SRC): Likewise.
17316 (LEN): Likewise.
17317 (__mempcpy): Likewise. Do not use BP_SYM.
17318 (mempcpy): Do not use BP_SYM in weak_alias.
17319 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17320 "bp-asm.h".
17321 (PARMS): Do not use macros from bp-asm.h.
17322 (DEST): Likewise.
17323 (LEN): Likewise.
17324 [!BZERO_P] (CHR): Likewise.
17325 (memset): Likewise. Do not use BP_SYM.
17326 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17327 "bp-asm.h".
17328 (PARMS): Do not use macros from bp-asm.h.
17329 (STR2): Likewise.
17330 (strcmp): Do not use BP_SYM.
17331 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17332 "bp-asm.h".
17333 (PARMS): Do not use macros from bp-asm.h.
17334 (STR): Likewise.
17335 (DELIM): Likewise.
17336 [USE_AS_STRTOK_R] (SAVE): Likewise.
17337 (FUNCTION): Likewise. Do not use BP_SYM.
17338 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17339 aliases.
17340 (strtok_r): Likewise.
17341 (__GI___strtok_r): Likewise.
17342 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17343 (PARMS): Do not use macros from bp-asm.h.
17344 (S): Likewise.
17345 (SIZE): Likewise.
17346 (__mpn_lshift): Do not use BP_SYM.
17347 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17348 (PARMS): Do not use macros from bp-asm.h.
17349 (STR): Likewise.
17350 (CHR): Likewise.
17351 (__memchr): Do not use BP_SYM.
17352 (memchr): Do not use BP_SYM in weak_alias.
17353 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17354 (PARMS): Do not use macros from bp-asm.h.
17355 (BLK2): Likewise.
17356 (LEN): Likewise.
17357 (memcmp): Do not use BP_SYM.
17358 (bcmp): Do not use BP_SYM in weak_alias.
17359 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17360 (PARMS): Do not use macros from bp-asm.h.
17361 (S1): Likewise.
17362 (SIZE): Likewise.
17363 (__mpn_mul_1): Do not use BP_SYM.
17364 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17365 "bp-asm.h".
17366 (PARMS): Do not use macros from bp-asm.h.
17367 (STR): Likewise.
17368 (CHR): Likewise.
17369 (__rawmemchr): Do not use BP_SYM.
17370 (rawmemchr): Do not use BP_SYM in weak_alias.
17371 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17372 (PARMS): Do not use macros from bp-asm.h.
17373 (S): Likewise.
17374 (SIZE): Likewise.
17375 (__mpn_rshift): Do not use BP_SYM.
17376 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17377 (PARMS): Do not use macros from bp-asm.h.
17378 (SIGMSK): Likewise.
17379 (__sigsetjmp): Likewise. Do not use BP_SYM.
17380 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17381 (_start): Do not use BP_SYM.
17382 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17383 (PARMS): Do not use macros from bp-asm.h.
17384 (DEST): Likewise.
17385 (SRC): Likewise.
17386 (__stpcpy): Likewise. Do not use BP_SYM.
17387 (stpcpy): Do not use BP_SYM in weak_alias.
17388 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17389 "bp-asm.h".
17390 (PARMS): Do not use macros from bp-asm.h.
17391 (DEST): Likewise.
17392 (SRC): Likewise.
17393 (LEN): Likewise.
17394 (__stpncpy): Likewise. Do not use BP_SYM.
17395 (stpncpy): Do not use BP_SYM in weak_alias.
17396 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17397 (PARMS): Do not use macros from bp-asm.h.
17398 (STR): Likewise.
17399 (CHR): Likewise.
17400 (strchr): Likewise. Do not use BP_SYM.
17401 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17402 "bp-asm.h".
17403 (PARMS): Do not use macros from bp-asm.h.
17404 (STR): Likewise.
17405 (CHR): Likewise.
17406 (__strchrnul): Likewise. Do not use BP_SYM.
17407 (strchrnul): Do not use BP_SYM in weak_alias.
17408 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17409 "bp-asm.h".
17410 (PARMS): Do not use macros from bp-asm.h.
17411 (STOP): Likewise.
17412 (strcspn): Do not use BP_SYM.
17413 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17414 "bp-asm.h".
17415 (PARMS): Do not use macros from bp-asm.h.
17416 (STR): Likewise.
17417 (STOP): Likewise.
17418 (strpbrk): Likewise. Do not use BP_SYM.
17419 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17420 "bp-asm.h".
17421 (PARMS): Do not use macros from bp-asm.h.
17422 (STR): Likewise.
17423 (CHR): Likewise.
17424 (strrchr): Likewise. Do not use BP_SYM.
17425 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17426 (PARMS): Do not use macros from bp-asm.h.
17427 (SKIP): Likewise.
17428 (strspn): Do not use BP_SYM.
17429 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17430 (PARMS): Do not use macros from bp-asm.h.
17431 (STR): Likewise.
17432 (DELIM): Likewise.
17433 (SAVE): Likewise.
17434 (FUNCTION): Likewise. Do not use BP_SYM.
17435 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17436 aliases.
17437 (strtok_r): Likewise.
17438 (__GI___strtok_r): Likewise.
17439 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17440 (PARMS): Do not use macros from bp-asm.h.
17441 (S1): Likewise.
17442 (S2): Likewise.
17443 (SIZE): Likewise.
17444 (__mpn_sub_n): Do not use BP_SYM.
17445 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17446 "bp-asm.h".
17447 (PARMS): Do not use macros from bp-asm.h.
17448 (S1): Likewise.
17449 (SIZE): Likewise.
17450 (__mpn_submul_1): Do not use BP_SYM.
17451 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17452 <bp-sym.h>.
17453 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17454 and <bp-asm.h>.
17455 (PARMS): Do not use macros from bp-asm.h.
17456 (FLAGS): Likewise.
17457 (PTID): Likewise.
17458 (TLS): Likewise.
17459 (CTID): Likewise.
17460 (__clone): Do not use BP_SYM.
17461 (clone): Do not use BP_SYM in weak_alias.
17462 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17463 and <bp-asm.h>.
17464 (PARMS): Do not use macros from bp-asm.h.
17465 (LEN): Likewise.
17466 (__mmap64): Do not use BP_SYM.
17467 (mmap64): Do not use BP_SYM in weak_alias.
17468 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17469 <bp-sym.h> and <bp-asm.h>.
17470 (PARMS): Do not use macros from bp-asm.h.
17471 (__posix_fadvise64_l64): Do not use BP_SYM.
17472 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17473 (PARMS): Do not use macros from bp-asm.h.
17474 (NSOPS): Likewise.
17475 (semtimedop): Do not use BP_SYM.
17476 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17477 and <bp-asm.h>.
17478
582a3cff
AM
174792013-02-21 Allan McRae <allan@archlinux.org>
17480
17481 * manual/message.texi (Charset conversion in gettext):
17482 Move @end statement to beginning of line.
17483
bab8a695
SP
174842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17485
80945231
SP
17486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17487 static.
17488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17489 Likewise.
17490
bab8a695
SP
17491 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17492 (denorm): Likewise.
17493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17495
e21d7aa7
AK
174962013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17497
17498 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17499 tail-call to the resolved function if pltexit isn't needed.
17500
4c7a4263
SP
175012013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17502
17503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17504 or Y being zero as being unlikely.
17505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17506 Likewise.
17507
41f49342
CD
175082013-02-20 Carlos O'Donell <carlos@redhat.com>
17509
17510 * manual/nss.texi (System Databases and Name Service Switch):
17511 Remove frobnicate @pxref.
17512
50022a93
TS
175132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17514
17515 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17516 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17517
08cbd996
PM
175182013-02-20 Petr Machata <pmachata@redhat.com>
17519
17520 * elf/elf.h (R_ARM_TARGET1): New macro.
17521 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17522 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17523 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17524 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17525 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17526 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17527 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17528 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17529 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17530 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17531 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17532 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17533 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17534 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17535 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17536 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17537 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17538 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17539 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17540 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17541 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17542 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17543 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17544 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17545 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17546 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17547 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17548 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17549 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17550 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17551 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17552 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17553 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17554 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17555 (R_ARM_THM_GOT_BREL12): Likewise.
17556 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17557 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17558 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17559 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17560 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17561 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17562 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17563 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17564 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17565
c7b275d6
TS
175662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17567
17568 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17569 __attribute_used__ to __attribute__ ((unused)).
17570
20cd7fb3
SP
175712013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17572
17573 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17574 powerpc mpa.c.
17575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17576 comment formatting.
17577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17578
92945b52
JM
175792013-02-19 Joseph Myers <joseph@codesourcery.com>
17580
17581 [BZ #13550]
17582 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17583 Remove macro.
17584 (ENTER): Remove both macro definitions.
17585 (LEAVE): Likewise.
17586 (CHECK_BOUNDS_LOW): Likewise.
17587 (CHECK_BOUNDS_HIGH): Likewise.
17588 (CHECK_BOUNDS_BOTH): Likewise.
17589 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17590 (RETURN_BOUNDED_POINTER): Likewise.
17591 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17592 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17593 (POP_ERRNO_LOCATION_RETURN): Likewise.
17594 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17595 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17596 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17597 macros.
17598 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17599 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17600 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17601 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17602 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17603 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17604 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17605 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17606 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17607 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17608 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17609 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17610 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17611 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17612 removed macros.
17613 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17614 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17615 macros.
17616 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17617 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17618 * sysdeps/i386/i586/memset.S (memset): Likewise.
17619 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17620 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17621 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17622 macros.
17623 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17624 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17625 Change uses of L(2) to L(out).
17626 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17627 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17628 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17629 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17630 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17631 removed macros.
17632 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17633 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17634 macros.
17635 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17636 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17637 (RETURN): Do not use macro LEAVE.
17638 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17639 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17640 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17641 * sysdeps/i386/i686/memset.S (memset): Likewise.
17642 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17643 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17644 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17645 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17646 Likewise.
17647 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17648 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17649 L(1_2) and L(1_3) into L(1).
17650 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17651 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17652 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17653 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17654 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17655 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17656 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17657 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17658 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17659 macros.
17660 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17661 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17662 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17663 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17664 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17665 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17666 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17667 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17668 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17669 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17670 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17671 * sysdeps/i386/strspn.S (strspn): Likewise.
17672 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17673 conditional code.
17674 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17675 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17676 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17677 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17678 L(1_3) into L(1_1).
17679 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17680 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17681 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17682 macros.
17683 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17684
2389741a
JJ
176852013-02-19 Jakub Jelinek <jakub@redhat.com>
17686
17687 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17688 macro.
17689
2016b3cd
SP
176902013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17691
e4f22324
SP
17692 * math/atest-exp.c (exp_mpn): Remove ROUND.
17693 * math/atest-exp2.c (exp_mpn): Likewise.
17694 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17695
2016b3cd
SP
17696 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17697 * stdlib/tst-tls-atexit-lib.c: Likewise.
17698 * stdlib/tst-tls-atexit.c: Likewise.
17699
4be9b544
MF
177002013-02-18 Mike Frysinger <vapier@gentoo.org>
17701
17702 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17703 and __attribute_alloc_size__.
17704
2f62b9ee
MF
177052013-02-18 Mike Frysinger <vapier@gentoo.org>
17706
17707 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17708 __attribute_alloc_size__.
17709 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17710 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17711
6ff444c4
MF
177122013-02-18 Mike Frysinger <vapier@gentoo.org>
17713
17714 * include/programs/xmalloc.h: New file.
17715 * catgets/gencat.c: Include it.
17716 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17717 * elf/pldd.c: Likewise.
17718 * iconv/iconv_charmap.c: Likewise.
17719 * iconv/iconvconfig.c: Likewise.
17720 * iconv/strtab.c: Likewise.
17721 * locale/programs/locale.c: Likewise.
17722 * locale/programs/localedef.h: Likewise.
17723 * locale/programs/simple-hash.c: Likewise.
17724 * nscd/nscd.h: Likewise.
17725 * nss/makedb.c: Likewise.
17726 * sysdeps/generic/ldconfig.h: Likewise.
17727
be179c8a
SP
177282013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17729
ba384f6e
SP
17730 * Versions.def: Add GLIBC_2.18.
17731 * include/link.h (struct link_map): New member l_tls_dtor_count.
17732 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17733 (__call_tls_dtors): Likewise.
17734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17735 __cxa_thread_atexit_impl.
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17737 Likewise.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17739 Likewise.
17740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17741 Likewise.
17742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17743 Likewise.
17744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17746 Likewise.
17747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17748 Likewise.
17749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17751 Likewise.
17752 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17753 (tests): Add test case tst-tls-atexit.
17754 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17755 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17756 (GLIBC_PRIVATE): Add __call_tls_dtors.
17757 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17758 for libstdc++.
17759 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17760 * stdlib/tst-tls-atexit.c: New test case.
17761 * stdlib/tst-tls-atexit-lib.c: New test case.
17762
ffaa74cf 17763 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17764
be179c8a
SP
17765 * elf/Versions (ld): Add _dl_find_dso_for_object.
17766 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17767 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17768 (dl_open_worker): Use _dl_find_dso_for_object.
17769 * elf/dl-sym.c (do_sym): Likewise.
17770 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17771
f78b5caa
AK
177722013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17773
17774 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17775 Syntactic changes only.
17776 (_dl_runtime_profile): Do a tail-call to the resolved function.
17777
29691210
JM
177782013-02-17 Joseph Myers <joseph@codesourcery.com>
17779
17780 [BZ #13550]
17781 * sysdeps/x86_64/bp-asm.h: Remove file.
17782 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17783 <bp-sym.h> and <bp-asm.h>.
17784 (__clone): Do not use BP_SYM.
17785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17786 <bp-sym.h> and <bp-asm.h>.
17787 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17788 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17789 "bp-asm.h".
17790 (_setjmp): Do not use BP_SYM.
17791 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17792 "bp-asm.h".
17793 (setjmp): Do not use BP_SYM.
17794 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17795 libc_hidden_def.
17796 (mempcpy): Do not use BP_SYM in weak_alias.
17797 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17798 "bp-asm.h".
17799 (strchr): Do not use BP_SYM.
17800 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17801 "bp-asm.h".
17802 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17803 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17804 (_start): Do not use BP_SYM.
17805 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17806 "bp-asm.h".
17807 (strcat): Do not use BP_SYM.
17808 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17809 "bp-asm.h".
17810 (STRCMP): Do not use BP_SYM.
17811 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17812 "bp-asm.h".
17813 (STRCPY): Do not use BP_SYM.
17814 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17815 "bp-asm.h".
17816 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17817 "bp-asm.h".
17818 (FUNCTION): Do not use BP_SYM.
17819 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17820 weak_alias.
17821 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17822
f238fd19
AJ
178232013-02-17 Andreas Jaeger <aj@suse.de>
17824
17825 * time/Versions: Sort entries.
17826 * string/Versions: Likewise.
17827 * resolv/Versions: Likewise.
17828 * posix/Versions: Likewise.
17829 * iconv/Versions: Likewise.
17830 * elf/Versions: Likewise.
17831 * wcsmbs/Versions: Likewise.
17832
bd07f23c 178332013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17834
22af19f9
SP
17835 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17836 loop termination condition.
17837
4709fe76
SP
17838 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17839 variable to calculate EZ.
17840 (__sqr): Likewise.
2d0e0f29
SP
17841
17842 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17843 the lower precision input.
17844
daaa7713
JM
178452013-02-15 Joseph Myers <joseph@codesourcery.com>
17846
17847 [BZ #13550]
17848 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17849 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17850 (run-via-rtld-prefix): Do not handle %-bp tests.
17851 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17852 (all-object-suffixes): Remove .ob.
17853 (bppfx): Remove variable.
17854 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17855 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17856 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17857 [$(build-bounded) = yes] (libtype.ob): Likewise.
17858 * Makerules (elide-routines.ob): Remove variable.
17859 (do-tests-clean): Do not handle *-bp.out.
17860 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17861 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17862 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17863 (tests): Do not include $(tests-bp.out).
17864 (xtests): Do not include $(xtests-bp.out).
17865 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17866 [$(build-bounded) = yes] ($(addprefix
17867 $(objpfx),$(binaries-bounded))): Remove rule.
17868 ($(objpfx)%-bp.out): Remove rule.
17869 * config.make.in (build-bounded): Remove variable.
17870 * crypt/Makefile [$(build-bounded) = yes]
17871 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17872 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17873 append to variable.
17874 [$(build-bounded) = yes] (install-lib): Likewise.
17875 [$(build-bounded) = yes] (generated): Likewise.
17876 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17877 Remove rule.
17878 * intl/Makefile [$(build-bounded) = yes]
17879 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17880 * math/Makefile [$(build-bounded) = yes]
17881 ($(tests:%=$(objpfx)%-bp): Likewise.
17882 * misc/Makefile [$(build-bounded) = yes]
17883 ($(objpfx)tst-tsearch-bp): Likewise.
17884 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17885 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17886 Remove dependency.
17887 * string/Makefile (o-objects.ob): Remove variable.
17888 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17889 (CFLAGS-.ob): Remove variable.
17890 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17891 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17892 both definitions of variable.
17893 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17894 (ASFLAGS-.ob): Remove variable.
17895
e97ed6dd
JM
178962013-02-14 Joseph Myers <joseph@codesourcery.com>
17897
2bdd4ca6
JM
17898 [BZ #13550]
17899 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17900 Remove __BOUNDED_POINTERS__ from condition.
17901 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17902 * string/bits/string2.h [!__NO_STRING_INLINES &&
17903 !__BOUNDED_POINTERS__]: Likewise.
17904 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17905 Likewise.
17906 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17907 Remove conditional code.
17908 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17909 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17910 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17911 condition.
17912
e97ed6dd
JM
17913 [BZ #13550]
17914 * csu/libc-start.c: Do not include <bp-sym.h>.
17915 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17916 * elf/dl-open.c: Do not include <bp-sym.h>.
17917 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17918 * math/fegetenv.c: Do not include <bp-sym.h>.
17919 (fegetenv): Do not use BP_SYM in versioned symbols.
17920 * nptl/sysdeps/pthread/bits/libc-lockP.h
17921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17922 <bp-sym.h>.
17923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17924 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17926 (__pthread_mutex_destroy): Likewise.
17927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17928 (__pthread_mutex_lock): Likewise.
17929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17930 (__pthread_mutex_trylock): Likewise.
17931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17932 (__pthread_mutex_unlock): Likewise.
17933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17934 (__pthread_mutexattr_init): Likewise.
17935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17936 (__pthread_mutexattr_destroy): Likewise.
17937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17938 (__pthread_mutexattr_settype): Likewise.
17939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17940 (__pthread_rwlock_init): Likewise.
17941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17942 (__pthread_rwlock_destroy): Likewise.
17943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17944 (__pthread_rwlock_rdlock): Likewise.
17945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17946 (__pthread_rwlock_tryrdlock): Likewise.
17947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17948 (__pthread_rwlock_wrlock): Likewise.
17949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17950 (__pthread_rwlock_trywrlock): Likewise.
17951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17952 (__pthread_rwlock_unlock): Likewise.
17953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17954 (__pthread_key_create): Likewise.
17955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17956 (__pthread_setspecific): Likewise.
17957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17958 (__pthread_getspecific): Likewise.
17959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17960 Likewise.
17961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17962 (_pthread_cleanup_push_defer): Likewise.
17963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17964 (_pthread_cleanup_pop_restore): Likewise.
17965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17966 (pthread_setcancelstate): Likewise.
17967 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17968 <bp-sym.h>.
17969 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17970 (memchr): Do not use BP_SYM in weak_alias.
17971 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17972 (fegetenv): Do not use BP_SYM in versioned symbols.
17973 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17974 (fesetenv): Do not use BP_SYM in versioned symbols.
17975 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17976 (feupdateenv): Do not use BP_SYM in versioned symbols.
17977 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17978 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17979 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17980 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17981 (open64): Do not use BP_SYM in weak_alias.
17982 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17983 (fegetenv): Do not use BP_SYM in versioned symbols.
17984 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17985 (fesetenv): Do not use BP_SYM in versioned symbols.
17986 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17987 (feupdateenv): Do not use BP_SYM in versioned symbols.
17988 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17989 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17990 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17991 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17992 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17993 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17994 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17995 <bp-sym.h>.
17996 (__libc_start_main): Do not use BP_SYM.
17997
d6752ccd
SP
179982013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17999
cb57ce60
SP
18000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18001 redundant return line.
18002 (norm): Likewise.
18003 (denorm): Likewise.
18004 (dbl_mp): Likewise.
18005 (sub_magnitudes): Likewise.
18006 (__add): Likewise.
18007 (__sub): Likewise.
18008 (__mul): Likewise.
18009 (__inv): Likewise.
18010 (__dvd): Likewise.
18011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18012 (norm): Likewise.
18013 (denorm): Likewise.
18014 (dbl_mp): Likewise.
18015 (sub_magnitudes): Likewise.
18016 (__add): Likewise.
18017 (__sub): Likewise.
18018 (__mul): Likewise.
18019 (__inv): Likewise.
18020 (__dvd): Likewise.
18021
f414520d
SP
18022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18023 instead of __mul.
18024 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18025 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18026 (cc32): Likewise.
18027
d6752ccd
SP
18028 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18029 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18031 of __mul for squares.
18032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18033 function
18034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18035 Likewise.
18036 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18037 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18038
70d9946a
JM
180392013-02-13 Joseph Myers <joseph@codesourcery.com>
18040
18041 [BZ #13550]
18042 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18043 code.
18044 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18045 prototype or function definition. Rename ubp_* variables and
18046 parameters. Remove argv definitions conditional on
18047 [__BOUNDED_POINTERS__].
18048 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18049 * elf/dl-runtime.c (_dl_fixup): Likewise.
18050 * include/set-hooks.h (RUN_HOOK): Likewise.
18051 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18052 definition.
18053 * string/strcpy.c (strcpy): Do not use __unbounded.
18054 * sysdeps/generic/frame.h (struct layout): Likewise.
18055 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18056 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18057 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18058 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18059 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18060 (__backtrace): Likewise.
18061 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18062 use __ptrvalue.
18063 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18064 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18065 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18066 Likewise.
18067 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18068 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18069 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18070 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18071 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18072 Do not use __unbounded.
18073 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18074 Rename __unboundedrlimits parameter to rlimits in prototype.
18075 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18076 Do not use __unbounded.
18077 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18078 not use __ptrvalue.
18079 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18080 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18081 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18082 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18083 __ptrvalue or __unbounded.
18084 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18085 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18086 use __unbounded.
18087 (__new_msgctl): Do not use __ptrvalue.
18088 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18089 __unbounded.
18090 (__libc_msgrcv): Do not use __ptrvalue.
18091 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18092 startup_info): Do not use __unbounded.
18093 (__libc_start_main): Likewise. Rename ubp_* variables and
18094 parameters. Remove argv definitions conditional on
18095 [__BOUNDED_POINTERS__].
18096 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18097 __ptrvalue.
18098 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18099 use __unbounded.
18100 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18101 or __ptrvalue.
18102 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18103 use __unbounded.
18104 (__new_shmctl): Do not use __ptrvalue.
18105 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18106 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18107 Likewise.
18108 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18110 (__libc_sigaction): Likewise.
18111 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18112 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18113 Likewise.
18114 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18115
cc7834d6
OB
181162013-02-13 Ondřej Bílka <neleai@seznam.cz>
18117
ffb1ec7b 18118 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18119
18120 * string/mempcpy.c: Implement by calling memcpy.
18121
bdf02814
SP
181222013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18123
c2af38aa
SP
18124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18125
4e92d59e
SP
18126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18127 evaluation.
18128
909279a5
SP
18129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18130 values in the mantissa.
18131
bdf02814
SP
18132 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18133 minimize writes to Z.
18134 (sub_magnitudes): Simplify code a bit.
18135
cd525923
RM
181362013-02-12 Roland McGrath <roland@hack.frob.com>
18137
18138 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18139 from the message. The linker prefixes all warnings with that already.
18140
7e2f0d2d
AS
181412013-02-12 Andreas Schwab <schwab@suse.de>
18142
a445af0b
AS
18143 [BZ #15078]
18144 * posix/regexec.c (extend_buffers): Add parameter min_len.
18145 (check_matching): Pass minimum needed length.
18146 (clean_state_log_if_needed): Likewise.
18147 (get_subexp): Likewise.
18148 * posix/Makefile (tests): Add bug-regex34.
18149 (bug-regex34-ENV): Define.
18150 * posix/bug-regex34.c: New file.
18151
7e2f0d2d
AS
18152 [BZ #11561]
18153 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18154 elements compare against the byte sequence of it, not its name.
18155 * posix/Makefile (tests): Add bug-regex35.
18156 (bug-regex35-ENV): Define.
18157 * posix/bug-regex35.c: New file.
18158
a175b684
TV
181592013-02-11 Tom de Vries <tom@codesourcery.com>
18160
18161 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18162 comment.
18163 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18164 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18165 (CHECK_EOL): Add undef.
18166
310998fe 181672013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18168
18169 * bits/stdlib-bsearch.h: New file.
18170 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18171 * stdlib/stdlib.h: Likewise.
41eda41d 18172
8ded91fb
RM
181732013-02-11 Roland McGrath <roland@hack.frob.com>
18174
18175 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18176 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18177 declaration.
18178 * manual/search.texi (Array Search Function): Add missing const in
18179 lfind prototype.
18180 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18181 declaration to use rlim_t.
18182 (Basic Scheduling Functions): Remove erroneous const from
18183 sched_getparam prototype. Remove erroneous * from
18184 sched_get_priority_max and sched_get_priority_min prototypes.
18185 (Resource Usage): Fix summary @comment on vtimes to refer to
18186 sys/vtimes.h rather than vtimes.h.
18187 Add missing *s in vtimes prototype.
18188 (Limits on Resources): Fix ulimit prototype to return long int.
18189 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18190 prototypes to use long int rather than double.
18191 (BSD Random): Fix initstate and setstate to use char *, not void *.
18192 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18193 prototype to make second argument 'struct aiocb64 *const[]'.
18194 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18195 (Status of AIO Operations): Remove erroneous const in aio_return and
18196 aio_return64 prototypes.
18197 (Synchronizing I/O): Fix sync prototype to return void.
18198 * manual/startup.texi (Suboptions): Remove an erroneous const in
18199 getsubopt prototype.
18200 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18201 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18202 use size_t rather than int.
18203 (Scanning All Users): Likewise for getpwent_r.
18204 (Setting Groups): Add missing const to setgroups prototype.
18205 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18206 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18207 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18208 'const void *' rather than 'const char *'.
18209 (Host Address Functions): Likewise for inet_ntop.
18210 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18211 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18212 ssize_t for return value.
18213 (Sending Data): Likewise for send, sendto, sendmsg.
18214 (Socket Option Functions): Add a missing const in setsockopt prototype.
18215 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18216 use wchar_t for the argument.
18217 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18218 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18219 take no arguments.
18220 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18221 double/float/long double for second argument.
18222 Fix return types of significand, significandf, significandl.
18223 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18224 argument in fchmod prototype.
18225 (File Owner): Use uid_t and gid_t in fchown prototype.
18226 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18227 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18228 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18229 use 'const struct dirent **' as argument types to CMP function pointer
18230 argument.
18231 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18232 (File Times): Fix summary magic @comment for struct utimbuf and utime
18233 to refer to utime.h, not time.h.
18234 * manual/string.texi (Argz Functions): Add missing const in
18235 argz_extract and argz_next prototypes.
18236 (Finding Tokens in a String): Likewise for basename.
18237 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18238 (Copying and Concatenation): Fix typo in wmemmove prototype.
18239 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18240 (Signal Stack): Remove erroneous const in sigstack prototype.
18241 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18242 prototype.
18243 (Simple Calendar Time): Likewise for stime.
18244 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18245 prototype.
18246 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18247 say sys/sysctl.h instead.
18248 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18249 and vsyslog prototypes.
18250
fe77fe6d
TV
182512013-02-11 Tom de Vries <tom@codesourcery.com>
18252
18253 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18254 Remove.
18255
3a09b620
RM
182562013-02-11 Roland McGrath <roland@hack.frob.com>
18257
18258 * misc/sys/mman.h: Fix typo in mremap comment.
18259
550a0b89
RM
182602013-02-08 Roland McGrath <roland@hack.frob.com>
18261
18262 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18263 the '\0' terminator.
18264
a2da1673
JM
182652013-02-08 Joseph Myers <joseph@codesourcery.com>
18266
18267 [BZ #13550]
18268 * debug/segfault.c: Don't include <bp-checks.h>.
18269 * sysdeps/generic/bp-checks.h: Remove file.
18270 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18271 (__GETDENTS): Don't use CHECK_N.
18272 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18273 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18274 (__getgroups): Don't use CHECK_N.
18275 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18276 (setgroups): Don't use CHECK_N.
18277 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18278 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18279 (__libc_msgrcv): Don't use CHECK_N.
18280 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18281 (__libc_msgsnd): Don't use CHECK_N.
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18283 <bp-checks.h>.
18284 (__libc_pread): Don't use CHECK_N.
18285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18286 include <bp-checks.h>.
18287 (__libc_pread64): Don't use CHECK_N.
18288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18289 include <bp-checks.h>.
18290 (__libc_pwrite): Don't use CHECK_N.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18292 include <bp-checks.h>.
18293 (__libc_pwrite64): Don't use CHECK_N.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18295 <bp-checks.h>.
18296 (__libc_pread): Don't use CHECK_N.
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18298 include <bp-checks.h>.
18299 (__libc_pread64): Don't use CHECK_N.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18301 include <bp-checks.h>.
18302 (__libc_pwrite): Don't use CHECK_N.
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18304 include <bp-checks.h>.
18305 (__libc_pwrite64): Don't use CHECK_N.
18306 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18307 (do_pread): Don't use CHECK_N.
18308 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18309 (do_pread64): Don't use CHECK_N.
18310 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18311 (do_pwrite): Don't use CHECK_N.
18312 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18313 (do_pwrite64): Don't use CHECK_N.
18314 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18315 (__libc_readv): Don't use CHECK_N.
18316 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18317 (semop): Don't use CHECK_N.
18318 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18319 <bp-checks.h>.
18320 (semtimedop): Don't use CHECK_N.
18321 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18322 (__libc_pread): Don't use CHECK_N.
18323 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18324 <bp-checks.h>.
18325 (__libc_pread64): Don't use CHECK_N.
18326 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18327 <bp-checks.h>.
18328 (__libc_pwrite): Don't use CHECK_N.
18329 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18330 <bp-checks.h>.
18331 (__libc_pwrite64): Don't use CHECK_N.
18332 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18333 <bp-checks.h>.
18334 (__libc_msgrcv): Don't use CHECK_N.
18335 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18336 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18337 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18338 (__libc_writev): Don't use CHECK_N.
18339
b84660a8
RM
183402013-02-08 Roland McGrath <roland@hack.frob.com>
18341
7f3e75f8
RM
18342 * string/strcpy.c: Removed unused variable.
18343
b84660a8
RM
18344 * Makeconfig (+sysdep-includes): Define with := rather than =.
18345 Use an existing include/ subdir of each sysdeps dir before it.
18346
471514d3
CD
183472013-02-08 Carlos O'Donell <carlos@redhat.com>
18348
18349 * nscd/connection.c (register_traced_file): Comment function.
18350 [HAVE_INOTIFY] (union __inev): Define.
18351 [HAVE_INOTIFY] (inotify_check_files): New function.
18352 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18353 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18354 clear_db_cache.
18355 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18356
b2d3c3be
CD
183572013-02-08 Carlos O'Donell <carlos@redhat.com>
18358
18359 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18360 loaded if not already and that a failure is permanent.
18361
b39949d2
CD
183622013-02-08 Carlos O'Donell <carlos@redhat.com>
18363
ddacd1db 18364 [BZ #15006]
b39949d2
CD
18365 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18366 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18367
b2c9eff4
JM
183682013-02-08 Joseph Myers <joseph@codesourcery.com>
18369
f3aae3f3
JM
18370 [BZ #13550]
18371 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18372 (CHECK_1_NULL_OK): Likewise.
18373 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18374 (__fxstat): Do not use CHECK_1.
18375 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18376 <bp-checks.h>.
18377 (___fxstat64): Do not use CHECK_1.
18378 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18379 <bp-checks.h>.
18380 (__fxstatat): Do not use CHECK_1.
18381 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18382 <bp-checks.h>.
18383 (__fxstatat64): Do not use CHECK_1.
18384 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18385 <bp-checks.h>.
18386 (__fxstat): Do not use CHECK_1.
18387 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18388 <bp-checks.h>.
18389 (__fxstatat): Do not use CHECK_1.
18390 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18391 <bp-checks.h>.
18392 (__getresgid): Do not use CHECK_1.
18393 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18394 <bp-checks.h>.
18395 (__getresuid): Do not use CHECK_1.
18396 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18397 <bp-checks.h>.
18398 (__lxstat): Do not use CHECK_1.
18399 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18400 <bp-checks.h>.
18401 (__old_msgctl): Do not use CHECK_1.
18402 (__new_msgctl): Likewise.
18403 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18404 <bp-checks.h>.
18405 (__new_setrlimit): Do not use CHECK_1.
18406 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18407 <bp-checks.h>.
18408 (__old_shmctl): Do not use CHECK_1.
18409 (__new_shmctl): Likewise.
18410 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18411 <bp-checks.h>.
18412 (__xstat): Do not use CHECK_1.
18413 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18414 (__lxstat): Do not use CHECK_1.
18415 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18416 <bp-checks.h>.
18417 (___lxstat64): Do not use CHECK_1.
18418 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18419 (__old_msgctl): Do not use CHECK_1.
18420 (__new_msgctl): Likewise.
18421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18422 <bp-checks.h>.
18423 (__gettimeofday): Do not use CHECK_1.
18424 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18425 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18426 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18427 <bp-checks.h>.
18428 (__gettimeofday): Do not use CHECK_1.
18429 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18430 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18431 (__new_shmctl): Do not use CHECK_1.
18432 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18433 <bp-checks.h>.
18434 (do_sigtimedwait): Do not use CHECK_1.
18435 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18436 <bp-checks.h>.
18437 (do_sigwaitinfo): Do not use CHECK_1.
18438 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18439 <bp-checks.h>.
18440 (msgctl): Do not use CHECK_1.
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18442 <bp-checks.h>.
18443 (shmctl): Do not use CHECK_1.
18444 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18445 (ustat): Do not use CHECK_1.
18446 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18447 <bp-checks.h>.
18448 (__fxstat): Do not use CHECK_1.
18449 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18450 <bp-checks.h>.
18451 (__fxstatat): Do not use CHECK_1.
18452 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18453 <bp-checks.h>.
18454 (__lxstat): Do not use CHECK_1.
18455 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18456 <bp-checks.h>.
18457 (__xstat): Do not use CHECK_1.
18458 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18459 (__xstat): Do not use CHECK_1.
18460 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18461 (___xstat64): Do not use CHECK_1.
18462
b2c9eff4
JM
18463 [BZ #13550]
18464 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18465 definitions.
18466 (CHECK_BOUNDS_HIGH): Likewise.
18467 * string/strcpy.c: Do not include <bp-checks.h>.
18468 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18469
f1d70dad
RM
184702013-02-07 Roland McGrath <roland@hack.frob.com>
18471
18472 * nscd/nscd-client.h (__nscd_drop_map_ref):
18473 Add __attribute__ ((unused)).
18474 * nis/nss-nisplus.h (niserr2nss): Likewise.
18475
18476 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18477 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18478
18479 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18480 Remove inline keyword.
18481 * include/rounding-mode.h (round_away): Likewise.
18482 * libio/wfileops.c (adjust_wide_data): Likewise.
18483 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18484 (__m128i_strloadu_tolower): Likewise.
18485 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18486 (__m128i_strloadu_tolower): Likewise.
18487 * time/mktime.c (ydhms_diff): Likewise.
18488 * locale/elem-hash.h (elem_hash): Likewise.
18489 * locale/setlocale.c (setdata): Likewise.
18490 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18491 (re_string_wchar_at): Likewise.
18492 (bitset_not, bitset_merge, bitset_mask): Likewise.
18493 [!(__GNUC__ > 3)] (inline): Remove macro.
18494 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18495 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18496 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18497 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18498 * string/memcmp.c (memcmp_bytes): Likewise.
18499 * locale/programs/locarchive.c (compute_hashval): Likewise.
18500 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18501 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18502 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18503 * nss/getent.c (print_rpc, print_protocols): Likewise.
18504 (print_passwd, print_group, print_aliases): Likewise.
18505 * nis/nss-nisplus.h (niserr2nss): Likewise.
18506 * nscd/connections.c (restart_p): Likewise.
18507 Change return type to bool.
18508
eab55bfb
RM
185092013-02-05 Roland McGrath <roland@hack.frob.com>
18510
7bd642f5
RM
18511 * Makeconfig (all-Depend-files): Add existing
18512 $(sorted-subdirs:=/Depend) files.
18513 (all-subdirs): Remove nss.
18514 * sysdeps/unix/inet/Subdirs: Add it here instead.
18515 * hesiod/Depend: New file.
18516
573c29b2
RM
18517 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18518 instead of calling alloca.
18519
b2e25af0
RM
18520 * io/lseek.c (__lseek): Rename to __libc_lseek.
18521 Define __lseek as an alias.
18522
eab55bfb
RM
18523 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18524
9a0d1941
CD
185252013-02-04 Carlos O'Donell <carlos@redhat.com>
18526
18527 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18528 else clause and remove check for non-standard endianness.
18529
b83bbec4
DM
185302013-02-04 David S. Miller <davem@davemloft.net>
18531
18532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18533
6277fdab
JM
185342013-02-04 Joseph Myers <joseph@codesourcery.com>
18535
18536 [BZ #13550]
18537 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18538 (__ubp_memchr): Remove prototype.
18539 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18540 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18541 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18542 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18543 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18544 Remove alias.
18545 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18546 (__ubp_memchr): Likewise.
18547 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18548 (__ubp_memchr): Likewise.
18549 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18550 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18551 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18552 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18553 CHECK_STRING.
18554 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18555 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18556 (__getcwd): Do not use CHECK_STRING.
18557 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18558 <bp-checks.h>.
18559 (__real_chown): Do not use CHECK_STRING.
18560 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18561 <bp-checks.h>.
18562 (fchownat): Do not use CHECK_STRING.
18563 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18564 CHECK_STRING.
18565 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18566 <bp-checks.h>.
18567 (__lchown): Do not use CHECK_STRING.
18568 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18569 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18570 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18571 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18573 include <bp-checks.h>.
18574 (truncate64): Do not use CHECK_STRING.
18575 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18576 <bp-checks.h>.
18577 (__real_chown): Do not use CHECK_STRING.
18578 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18579 <bp-checks.h>.
18580 (__lchown): Do not use CHECK_STRING.
18581 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18582 <bp-checks.h>.
18583 (__chown): Do not use CHECK_STRING.
18584 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18585 <bp-checks.h>.
18586 (truncate64): Do not use CHECK_STRING.
18587 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18588 Likewise.
18589 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18590 (__xmknod): Do not use CHECK_STRING.
18591 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18592 <bp-checks.h>.
18593 (__xmknodat): Do not use CHECK_STRING.
18594 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18595 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18596
903ae060
AS
185972013-02-04 Andreas Schwab <schwab@suse.de>
18598
18599 [BZ #14142]
18600 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18601 * include/netdb.h: Likewise for h_errno.
18602 * elf/tst-stackguard1.c: Include <tls.h>.
18603
542f9466
JK
186042013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18605
18606 * elf/link.h (struct link_map): Extend the l_addr comment.
18607 * include/link.h (struct link_map): Likewise.
18608
e782a927
JM
186092013-02-01 Joseph Myers <joseph@codesourcery.com>
18610
18611 [BZ #13550]
18612 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18613 (BOUNDED_1): Remove macro.
18614 * debug/backtrace.c: Don't include <bp-checks.h>.
18615 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18616 (__backtrace): Likewise.
18617 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18618 <bp-checks.h>.
18619 (__backtrace): Don't use BOUNDED_1.
18620 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18621 <bp-checks.h>.
18622 (__backtrace): Don't use BOUNDED_1.
18623 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18624 (__backtrace): Don't use BOUNDED_1.
18625 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18626 (shmat): Don't use BOUNDED_N.
18627
8cf28c5e
JM
186282013-01-31 Joseph Myers <joseph@codesourcery.com>
18629
3a7ac8a0
JM
18630 [BZ #13550]
18631 * sysdeps/generic/bp-start.h: Remove file.
18632 * csu/libc-start.c: Don't include <bp-start.h>.
18633 (LIBC_START_MAIN): Set up __environ directly instead of using
18634 INIT_ARGV_and_ENVIRON.
18635 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18636 <bp-start.h>.
18637
f3499f95
JM
18638 [BZ #13550]
18639 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18640 definitions.
18641 (CHECK_FCNTL): Likewise.
18642 (CHECK_N_PAGES): Likewise.
18643
32a45bea
JM
18644 [BZ #13550]
18645 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18646 definitions.
18647 (CHECK_SIGSET_NULL_OK): Likewise.
18648 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18649 <bp-checks.h>.
18650 (sigpending): Don't use CHECK_SIGSET.
18651 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18652 <bp-checks.h>.
18653 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18654 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18655 <bp-checks.h>.
18656 (do_sigsuspend): Don't use CHECK_SIGSET.
18657 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18658 use CHECK_SIGSET.
18659 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18660 (do_sigwait): Don't use CHECK_SIGSET.
18661 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18662 use CHECK_SIGSET.
18663 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18664 include <bp-checks.h>.
18665 (sigpending): Don't use CHECK_SIGSET.
18666 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18667 include <bp-checks.h>.
18668 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18669 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18670 <bp-checks.h>.
18671 (sigpending): Don't use CHECK_SIGSET.
18672 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18673 <bp-checks.h>.
18674 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18675
2e8a5c8c
JM
18676 [BZ #13550]
18677 * sysdeps/generic/bp-semctl.h: Remove file.
18678 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18679 <bp-checks.h> and <bp-semctl.h>.
18680 (__old_semctl): Don't use CHECK_SEMCTL.
18681 (__new_semctl): Likewise.
18682 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18683 and <bp-semctl.h>.
18684 (__old_semctl): Don't use CHECK_SEMCTL.
18685 (__new_semctl): Likewise.
18686 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18687 <bp-checks.h> and <bp-semctl.h>.
18688 (__old_semctl): Don't use CHECK_SEMCTL.
18689 (__new_semctl): Likewise.
18690 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18691 <bp-checks.h> and <bp-semctl.h>.
18692 (semctl): Don't use CHECK_SEMCTL.
18693
c2d54929
JM
18694 [BZ #13550]
18695 * Makerules (elide-bp-thunks): Remove variable.
18696 (elide-routines.oS): Don't use $(elide-bp-thunks).
18697 (elide-routines.os): Likewise.
18698 (elide-routines.o): Likewise.
18699 (elide-routines.op): Likewise.
18700 (elide-routines.og): Likewise.
18701 (objects): Don't use $(bp-thunks).
18702 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18703 include.
18704 (common-generated): Do not add s-proto-bp.d.
18705 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18706 (int): Likewise.
18707 (typ): Likewise.
18708 Do not generate makefile rules for bounded-pointer thunks.
18709 * sysdeps/generic/bp-thunks.h: Remove file.
18710 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18711 * sysdeps/unix/s-proto-bp.S: Likewise.
18712
8cf28c5e
JM
18713 [BZ #15062]
18714 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18715 parts of result separately when argument is not close to line from
18716 -i to i and one part of argument is small.
18717 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18718 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18719 * math/libm-test.inc (cacos_test): Add more tests.
18720 (casin_test): Likewise.
18721 (casinh_test): Likewise.
18722 * sysdeps/i386/fpu/libm-test-ulps: Update.
18723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18724
c4e33b8d
DM
187252013-01-31 David S. Miller <davem@davemloft.net>
18726
18727 * po/de.po: Update from translation team.
18728
3b60b421
MK
187292013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18730
18731 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18732
bb931195
TS
187332013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18734
b5a5da23
TS
18735 * configure.in (_AC_PROG_CC_C89): New definition.
18736 * configure: Regenerate.
18737
bb931195
TS
18738 * configure.in (AC_PROG_CPP): New definition.
18739 * configure: Regenerate.
18740
8c53a12c
JM
187412013-01-23 Joseph Myers <joseph@codesourcery.com>
18742
18743 * debug/tst-backtrace.h: New file.
18744 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18745 (ret): Remove variable.
18746 (x): Likewise.
18747 (FAIL): Remove macro.
18748 (NO_INLINE): Likewise.
18749 (fn1): Use match function instead of strstr.
18750 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18751 (ret): Remove variable.
18752 (x): Likewise.
18753 (FAIL): Remove macro.
18754 (NO_INLINE): Likewise.
18755 (fn): Use match function instead of strstr.
18756 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18757 (ret): Remove variable.
18758 (x): Likewise.
18759 (FAIL): Remove macro.
18760 (NO_INLINE): Likewise.
18761 (handle_signal): Use match function instead of strstr.
18762 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18763 (ret): Remove variable.
18764 (x): Likewise.
18765 (FAIL): Remove macro.
18766 (NO_INLINE): Likewise.
18767 (handle_signal): Use match function instead of strstr.
18768
4858fa2a
RM
187692013-01-23 Roland McGrath <roland@hack.frob.com>
18770
18771 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18772
bae8e7f5
DM
187732013-01-23 David S. Miller <davem@davemloft.net>
18774
18775 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18776 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18777 argument of CAS if possible.
18778 * sysdeps/sparc/sparc64/bits/atomic.h
18779 (__arch_compare_and_exchange_val_32_acq): Likewise.
18780 (__arch_compare_and_exchange_val_64_acq): Likewise.
18781
9cbbc4ae
PT
187822013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18783
18784 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18785 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18786 Include <limits.h>.
67b3f58c 18787 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18788
5655a0b5
AC
187892013-01-23 Adam Conrad <adconrad@0c3.net>
18790
18791 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18792 (LDFLAGS-tst-array5): Likewise.
18793
052aff95
JM
187942013-01-23 Joseph Myers <joseph@codesourcery.com>
18795
18796 [BZ #15036]
18797 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18798 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18799 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18800 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18801
7c1e01aa
DM
188022013-01-21 David S. Miller <davem@davemloft.net>
18803
18804 * sysdeps/sparc/backtrace.c: New file.
18805 * sysdeps/sparc/sparc32/backtrace.h: New file.
18806 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18807 * sysdeps/sparc/sparc64/backtrace.h: New file.
18808 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18809 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18810 -funwind-tables.
18811
ab087e0a
AS
188122013-01-21 Andreas Schwab <schwab@suse.de>
18813
18814 [BZ #15020]
18815 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18816 closed its stdout.
18817
ed689c2f
AS
188182013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18819
18820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18821 "mpa2.h".
18822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18823
31d470ac
JM
188242013-01-18 Joseph Myers <joseph@codesourcery.com>
18825 Mark Mitchell <mark@codesourcery.com>
18826 Tom de Vries <tom@codesourcery.com>
18827 Paul Pluzhnikov <ppluzhnikov@google.com>
18828
18829 * debug/tst-backtrace2.c: New file.
18830 * debug/tst-backtrace3.c: Likewise.
18831 * debug/tst-backtrace4.c: Likewise.
18832 * debug/tst-backtrace5.c: Likewise.
18833 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18834 (CFLAGS-tst-backtrace3.c): Likewise.
18835 (CFLAGS-tst-backtrace4.c): Likewise.
18836 (CFLAGS-tst-backtrace5.c): Likewise.
18837 (LDFLAGS-tst-backtrace2): Likewise.
18838 (LDFLAGS-tst-backtrace3): Likewise.
18839 (LDFLAGS-tst-backtrace4): Likewise.
18840 (LDFLAGS-tst-backtrace5): Likewise.
18841 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18842 tst-backtrace4 and tst-backtrace5.
18843
90567f30 188442013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18845 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18846
18847 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18848 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18849 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18850 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18852 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18853 "+r" and remove output regs list as redundant. Add explicit inline
18854 asm to specify register of return val to work around compiler codegen
18855 bug. Remove (int) cast on return value. Add return type parameter to
18856 use in macro so that this macro does not truncate return value for
18857 64-bit values.
18858 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18859 pass to INTERNAL_VSYSCALL_NCS.
18860 (INLINE_VSYSCALL): Add 'long int' as return type to
18861 INTERNAL_VSYSCALL_NCS macro invocation.
18862 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18863 INTERNAL_VSYSCALL_NCS macro invocation.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18865
d3b9ea61
SP
188662013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18867
0b57daeb
SP
18868 [BZ #14496]
18869 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18870 Fix application of SIMD FP exception mask.
18871
caa99d06
SP
18872 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18873 mp_no from a power of two.
18874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18875 __mpexp_twomm1. Use __pow_mp.
18876
d3b9ea61
SP
18877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18878 multiplication.
18879
1dbaee3c
DM
188802013-01-17 David S. Miller <davem@davemloft.net>
18881
18882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18883
728d7b43
JM
188842013-01-17 Joseph Myers <joseph@codesourcery.com>
18885
18886 [BZ #15023]
18887 * include/complex.h: Condition contents on [!_COMPLEX_H].
18888 (__kernel_casinhf): New prototype.
18889 (__kernel_casinh): Likewise.
18890 (__kernel_casinhl): Likewise.
18891 * math/Makefile (libm_calls): Add k_casinh.
18892 * math/k_casinh.c: New file.
18893 * math/k_casinhf.c: Likewise.
18894 * math/k_casinhl.c: Likewise.
18895 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18896 finite nonzero arguments.
18897 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18898 finite nonzero arguments.
18899 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18900 finite nonzero arguments.
18901 * math/s_casinh.c: Do not include <float.h>.
18902 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18903 * math/s_casinhf.c: Do not include <float.h>.
18904 (__casinhf): Move code for finite nonzero arguments to
18905 k_casinhf.c.
18906 * math/s_casinhl.c: Do not include <float.h>.
18907 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18908 redefine.
18909 (__casinhl): Move code for finite nonzero arguments to
18910 k_casinhl.c.
18911 * math/libm-test.inc (cacos_test): Add more tests.
18912 * sysdeps/i386/fpu/libm-test-ulps: Update.
18913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18914
2a26ef3a
PT
189152013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18916
18917 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18918 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18919 [!HAVE_MREMAP]: Remove [defined linux] case.
18920 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18921
a897655d
SP
189222013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18923
18924 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18925
881ebe89 189262013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18927
18928 * elf/elf.h (R_386_SIZE32): New relocation.
18929 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18930 R_386_SIZE32.
18931 (elf_machine_rela): Likewise.
18932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18933 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18934
59981e9b
JM
189352013-01-17 Joseph Myers <joseph@codesourcery.com>
18936
18937 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18938 (FP_FAST_FMA): Do not define.
18939 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18940 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18941 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18942 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18943 !_SOFT_FLOAT]: Likewise.
18944 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18945 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18946 value.
18947 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18948 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18949 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18950 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18951 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18952 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18953 file.
18954
cfa8054f
AS
189552013-01-16 Andreas Schwab <schwab@suse.de>
18956
18957 [BZ #14327]
18958 * include/stdlib.h (__mktemp): Add declaration.
18959 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18960 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18961
dd930cc5
SP
189622013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18963
881ebe89
SP
18964 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18965 definitions.
18966 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18967 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18968 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18969 definitions here.
18970 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18971 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18972 definitions.
18973 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18974 and ONE.
18975 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18976 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18977 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18978 definitions.
18979 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18980 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18981 definitions.
18982 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18983
dd930cc5
SP
18984 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18985
c19a9f89
DM
189862013-01-15 David S. Miller <davem@davemloft.net>
18987
1aa61767
DM
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18989 trunc{,f} to libm-sysdep_routes.
18990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18992 file.
18993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18995 file.
18996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18997 file.
18998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19000 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19001 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19002 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19003 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19004 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19005 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19006
c42d5e98
DM
19007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19008 nearbyint{,f} to libm-sysdep_routes.
19009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19011 New file.
19012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19013 file.
19014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19015 New file.
19016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19017 file.
19018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19020 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19021 file.
19022 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19024 file.
19025 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19026 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19027 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19028
c19a9f89
DM
19029 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19030 libc_feholdexcept and libc_fesetenv.
19031
357679d2
MF
190322013-01-15 Mike Frysinger <vapier@gentoo.org>
19033
19034 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19035
65a82e3d
DM
190362013-01-14 David S. Miller <davem@davemloft.net>
19037
8b954ab9
DM
19038 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19039 (SPARC_ASM_VIS2_IFUNC): Likewise.
19040 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19042 use of 'siam' instruction.
19043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19044 Likewise.
19045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19046 Likewise.
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19048 Likewise.
19049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19054 file.
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19056 file.
19057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19058 file.
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19060 file.
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19066 new VIS2 routines.
19067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19070 Likewise.
19071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19076 routines to libm-sysdep_routines.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19078
65a82e3d
DM
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19080 fdim/fdimf to libm-sysdep_routines.
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19082 file.
19083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19085 file.
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19089 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19090 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19092 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19093
e34ab705
SP
190942013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19095
2a91b573
SP
19096 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19097 to optimize copies.
19098
1066a534
SP
19099 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19102
e34ab705
SP
19103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19104 local variable MPTWO.
19105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19106 Likewise.
19107
aba5e596
MF
191082013-01-13 Mike Frysinger <vapier@gentoo.org>
19109
19110 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19111 GLOB_NOESCAPE.
19112
e557e9e5
MF
191132013-01-13 Mike Frysinger <vapier@gentoo.org>
19114
19115 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19116
0428cec9
MF
191172013-01-13 Mike Frysinger <vapier@gentoo.org>
19118
19119 * manual/pattern.texi (glob_t): Document gl_flags.
19120 (glob64_t): Likewise.
19121
8794a964
DM
191222013-01-11 David S. Miller <davem@davemloft.net>
19123
66438c3f
RM
19124 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19125 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19126 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19127 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19128 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19129 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19130 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19131 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19132 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19133 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19134 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19135 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19136 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19137
4ae4244d
DM
19138 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19139 sparc V9 rather than using V8 code.
19140 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19141 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19142
8794a964
DM
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19144 Move to...
19145 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19146 Here.
19147
6270516e
RM
191482013-01-11 Roland McGrath <roland@hack.frob.com>
19149
19150 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19151 not in the main loop.
19152 * configure: Regenerated.
19153
6a57d931
JM
191542013-01-11 Joseph Myers <joseph@codesourcery.com>
19155
19156 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19157 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19158 to just #else.
19159 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19160 [!__GLIBC_HAVE_LONG_LONG] case.
19161 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19162 condition to just #else.
19163 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19164 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19165 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19166 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19167 unconditional.
19168 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19169 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19170 #elif condition to just #else.
19171 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19172 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19173 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19174 #elif condition to just #else.
19175
0e8529e9
SE
191762013-01-11 Steve Ellcey <sellcey@mips.com>
19177
19178 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19179 (EF_MIPS_ARCH_64): Fix value.
19180 (EF_MIPS_ARCH_32R2): New.
19181 (EF_MIPS_ARCH_64R2): New.
19182
740b3dbe
L
191832013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19184
19185 * Makeconfig (+link-pie-before-libc): New.
19186 (+link-pie-after-libc): Likewise.
19187 (+link-pie-tests): Likewise.
19188 (+link-pie): Rewritten.
19189 (link-before-libc): Remove $(config-LDFLAGS).
19190 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19191 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19192 (config-LDFLAGS): Renamed to ...
19193 (rtld-LDFLAGS): This.
19194 (rtld-tests-LDFLAGS): New macro.
19195 (link-libc-rpath-link): Likewise.
19196 (link-libc-tests-rpath-link): Likewise.
19197 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19198 (link-libc): Prepand $(link-libc-rpath-link).
19199 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19200 (test-program-prefix): New macro.
19201 (test-via-rtld-prefix): Likewise.
19202 (test-program-cmd): Likewise.
19203 (host-test-program-cmd): Likewise.
19204 * Makefile ($(common-objpfx)testrun.sh): Replace
19205 $(run-program-prefix) with $(test-program-prefix).
19206 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19207 $(rtld-LDFLAGS).
19208 ($(common-objpfx)shlib.lds): Likewise.
19209 (build-module-helper): Likewise.
19210 ($(common-objpfx)format.lds): Likewise.
19211 * Rules (binaries-pie-tests): New.
19212 (binaries-pie-notests): Likewise.
19213 (binaries-pie): Rewritten.
19214 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19215 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19216 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19217 (make-test-out): Replace $(host-built-program-cmd) with
19218 $(host-test-program-cmd).
19219 * config.make.in (build-hardcoded-path-in-tests): New variable.
19220 * configure.in (--enable-hardcoded-path-in-tests): New configure
19221 option.
19222 (hardcoded_path_in_tests): New AC_SUBST.
19223 * configure: Regenerated.
19224 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19225 $(built-program-cmd) with $(test-program-cmd).
19226 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19227 (test_program_cmd): This.
19228 * elf/Makefile ($(objpfx)order.out): Run test with
19229 $(test-program-prefix).
19230 ($(objpfx)order2.out): Likewise.
19231 ($(objpfx)tst-initorder.out): Likewise.
19232 ($(objpfx)tst-initorder2.out): Likewise.
19233 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19234 $(test-program-cmd).
19235 ($(objpfx)tst-array1-static.out): Likewise.
19236 ($(objpfx)tst-array2.out): Likewise.
19237 ($(objpfx)tst-array3.out): Likewise.
19238 ($(objpfx)tst-array4.out): Likewise.
19239 ($(objpfx)tst-array5.out): Likewise.
19240 ($(objpfx)tst-array5-static.out): Likewise.
19241 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19242 $(test-program-cmd).
19243 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19244 $(run-program-prefix) with $(test-program-prefix).
19245 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19246 (test_program_prefix): This.
19247 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19248 $(run-program-prefix) with $(test-program-prefix).
19249 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19250 (test_program_prefix): This.
19251 * iconvdata/tst-tables.sh: Likewise.
19252 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19253 $(run-program-prefix) with $(test-program-prefix).
19254 ($(objpfx)tst-translit.out): Likewise.
19255 ($(objpfx)tst-gettext2.out): Likewise.
19256 ($(objpfx)tst-gettext4.out): Likewise.
19257 ($(objpfx)tst-gettext6.out): Likewise.
19258 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19259 (test_program_prefix): This.
19260 * intl/tst-gettext2.sh: Likewise.
19261 * intl/tst-gettext4.sh Likewise.
19262 * intl/tst-gettext6.sh: Likewise.
19263 * intl/tst-translit.sh: Likewise.
19264 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19265 with $(test-program-cmd).
19266 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19267 $(run-program-prefix) with $(test-program-prefix).
19268 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19269 (test_program_prefix): This.
19270 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19271 $(run-program-prefix) with $(test-program-prefix).
19272 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19273 (test_program_prefix): This.
19274 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19275 * posix/Makefile ($(objpfx)globtest.out): Replace
19276 $(run-via-rtld-prefix) and $(test-wrapper) with
19277 $(test-program-prefix) and $(test-via-rtld-prefix).
19278 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19279 $(test-program-prefix).
19280 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19281 $(host-test-program-cmd).
19282 (tst-spawn-ARGS): Likewise.
19283 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19284 $(test-program-prefix).
19285 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19286 (test_via_rtld_prefix): This.
19287 (test_wrapper): Renamed to ...
19288 (test_program_prefix): This.
19289 (run_program_prefix): Replaced by test_program_prefix.
19290 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19291 (test_program_prefix): This.
19292 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19293 with $(host-test-program-cmd).
19294 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19295 $(run-program-prefix) with $(test-program-prefix).
19296 ($(objpfx)tst-printf.out): Likewise.
19297 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19298 $(test-program-cmd).
19299 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19300 (test_program_prefix): This.
19301 * stdio-common/tst-unbputc.sh: Likewise.
19302 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19303 $(run-program-prefix) with $(test-program-prefix).
19304 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19305 (test_program_prefix): This.
19306 * string/Makefile ($(objpfx)tst-svc.out): Replace
19307 $(built-program-cmd) with $(test-program-cmd).
19308
c6fe55cf
AJ
193092013-01-11 Andreas Jaeger <aj@suse.de>
19310
19311 [BZ #15003]
19312 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19313 value. Sync with Linux 3.7.
19314
9e6919c8
DM
193152013-01-10 David S. Miller <davem@davemloft.net>
19316
19317 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19318 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19319 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19320
1c9f1a02
RM
193212013-01-10 Roland McGrath <roland@hack.frob.com>
19322
19323 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19324 never set.
19325 * configure: Regenerated.
19326
b9de2dde
DM
193272013-01-10 David S. Miller <davem@davemloft.net>
19328
19329 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19330 sparc V9 rather than using V8 code.
19331 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19332 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19333
e7f68ef4
RM
193342013-01-10 Roland McGrath <roland@hack.frob.com>
19335
19336 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19337 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19338 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19339 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19340 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19341 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19342 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19343 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19344 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19345 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19346 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19347 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19348 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19349 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19350 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19351 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19352 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19353 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19354 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19355 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19356 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19357 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19358 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19359 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19360 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19361 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19362 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19363
5a47cc9c
DM
193642013-01-10 David S. Miller <davem@davemloft.net>
19365
19366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19367
4cf8f209
L
193682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19369
19370 * posix/Makefile (tests-static): New variable.
19371 (tests): Add $(tests-static).
19372 (tst-exec-static-ARGS): New variable.
19373 (tst-spawn-static-ARGS): Likewise.
19374 * posix/tst-exec-static.c: New file.
19375 * posix/tst-spawn-static.c: Likewise.
19376 * posix/tst-exec.c: Support run directly.
19377 * posix/tst-spawn.c: Likewise.
19378
fed0faa1
JM
193792013-01-10 Joseph Myers <joseph@codesourcery.com>
19380
828beb13
JM
19381 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19382 long.
19383 * math/bits/mathcalls.h (llrint): Likewise.
19384 (llround): Likewise.
19385 * stdlib/stdlib.h (struct drand48_data): Likewise.
19386 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19387 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19388 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19389 Likewise.
19390 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19391 Likewise.
19392 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19393 (elf_greg_t): Likewise.
19394 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19395 (__jmp_buf): Likewise.
19396 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19397 definitions.
19398 (llrint): Likewise, for all definitions.
19399 (llrintl): Likewise.
19400
fed0faa1
JM
19401 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19402 Remove [__GNUC__] condition.
19403 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19404 condition to just [__USE_ISOC99].
19405 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19406
1a20cb20
L
194072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19408
19409 [BZ #14200]
19410 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19411 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19412 defined.
19413 (_POSIX_V6_ILP32_OFF32): Likewise.
19414 (_XBS5_ILP32_OFF32): Likewise.
19415 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19416 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19417
751b85f7
SP
194182013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19419
7490eb81
SP
19420 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19421
751b85f7
SP
19422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19423 doubles __mpexp_twomm1. Adjust usage.
19424 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19425 Remove.
19426
988197f0
AS
194272013-01-10 Andreas Schwab <schwab@suse.de>
19428
19429 [BZ #14964]
19430 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19431 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19432
e83d7298
DM
194332013-01-09 David S. Miller <davem@davemloft.net>
19434
034ed64b 19435 [BZ #15003]
57f41c40
AS
19436 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19437 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19438 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19439 (TCP_FASTOPEN): Define.
e83d7298
DM
19440 (tcp_repair_opt): New structure.
19441 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19442 enum values.
57f41c40
AS
19443 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19444 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19445 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19446 (tcp_cookie_transactions): New structure.
19447
d5e0b9bd
AB
194482013-01-09 Anton Blanchard <anton@samba.org>
19449
19450 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19451 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19452 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19453 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19454
0c07e3ea
JM
194552013-01-09 Joseph Myers <joseph@codesourcery.com>
19456
19457 * include/features.h (__USE_ANSI): Remove.
19458
232f7002
RM
194592013-01-09 Roland McGrath <roland@hack.frob.com>
19460
ad98e30c
RM
19461 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19462
232f7002
RM
19463 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19464
950c99ca
SP
194652013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19466
b5792741
SP
19467 * sysdeps/s390/fpu/libm-test-ulps: Update.
19468
47cf2278
SP
19469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19470
950c99ca
SP
19471 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19472 (__acr): Likewise.
19473 (__cpy): Likewise.
19474 (norm): Likewise.
19475 (denorm): Likewise.
19476 (__mp_dbl): Likewise.
19477 (__dbl_mp): Likewise.
19478 (add_magnitudes): Likewise.
19479 (sub_magnitudes): Likewise.
19480 (__add): Likewise.
19481 (__sub): Likewise.
19482 (__mul): Likewise.
19483 (__inv): Likewise.
19484 (__dvd): Likewise.
19485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19486 (__acr): Likewise.
19487 (__cpy): Likewise.
19488 (norm): Likewise.
19489 (denorm): Likewise.
19490 (__mp_dbl): Likewise.
19491 (__dbl_mp): Likewise.
19492 (add_magnitudes): Likewise.
19493 (sub_magnitudes): Likewise.
19494 (__add): Likewise.
19495 (__sub): Likewise.
19496 (__mul): Likewise.
19497 (__inv): Likewise.
19498 (__dvd): Likewise.
19499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19500 (__acr): Likewise.
19501 (__cpy): Likewise.
19502 (norm): Likewise.
19503 (denorm): Likewise.
19504 (__mp_dbl): Likewise.
19505 (__dbl_mp): Likewise.
19506 (add_magnitudes): Likewise.
19507 (sub_magnitudes): Likewise.
19508 (__add): Likewise.
19509 (__sub): Likewise.
19510 (__mul): Likewise.
19511 (__inv): Likewise.
19512 (__dvd): Likewise.
19513
eede9df9
JM
195142013-01-08 Joseph Myers <joseph@codesourcery.com>
19515
19516 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19517 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19518 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19519 2 && __USE_EXTERN_INLINES]: Likewise.
19520
c40ea3d9
AJ
195212013-01-08 Andreas Jaeger <aj@suse.de>
19522
19523 [BZ# 14985]
19524 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19525 Remove.
19526 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19527 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19528
2ccdea26
AB
195292013-01-07 Anton Blanchard <anton@samba.org>
19530
19531 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19532 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19533 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19534 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19535 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19536 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19537 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19538 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19540 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19541 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19542 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19543 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19544 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19545 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19546 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19547 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19548 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19549 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19550 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19551 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19552 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19553 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19554 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19555 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19556 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19557 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19558 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19559 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19560 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19561 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19563 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19564 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19565 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19566 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19567 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19568 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19570 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19571 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19573 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19574
a9708fed
JM
195752013-01-07 Joseph Myers <joseph@codesourcery.com>
19576
375607b9
JM
19577 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19578 (__MALLOC_PMT): Likewise.
19579 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19580 [__GNUC__], only on [_LIBC].
19581 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19582 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19583 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19584 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19585 forward declaration.
19586 (realloc_hook_ini): Likewise.
19587 (memalign_hook_ini): Likewise.
19588 (__libc_memalign): Do not use __MALLOC_PMT in variable
19589 declaration.
19590 (__libc_valloc): Likewise.
19591 (__libc_pvalloc): Likewise.
19592 (__libc_calloc): Likewise.
19593 (__posix_memalign): Likewise.
19594
a9708fed
JM
19595 [BZ #14996]
19596 * math/s_casinh.c: Include <float.h>.
19597 (__casinh): Do not do computation with squaring and square root
19598 for large arguments.
19599 * math/s_casinhf.c: Include <float.h>.
19600 (__casinhf): Do not do computation with squaring and square root
19601 for large arguments.
19602 * math/s_casinhl.c: Include <float.h>.
19603 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19604 (__casinhl): Do not do computation with squaring and square root
19605 for large arguments.
19606 * math/libm-test.inc (casin_test): Add more tests.
19607 (casinh_test): Likewise.
19608 * sysdeps/i386/fpu/libm-test-ulps: Update.
19609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19610
afec409a
L
196112013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19612
19613 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19614 (__x86_64_raw_data_cache_size): Likewise.
19615 (__x86_64_data_cache_size_half): Likewise.
19616 (__x86_64_raw_data_cache_size_half): Likewise.
19617 (__x86_64_shared_cache_size): Likewise.
19618 (__x86_64_raw_shared_cache_size): Likewise.
19619 (__x86_64_shared_cache_size_half): Likewise.
19620 (__x86_64_raw_shared_cache_size_half): Likewise.
19621 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19622 to ...
19623 (__x86_data_cache_size): This.
19624 (__x86_64_raw_data_cache_size): Renamed to ...
19625 (__x86_raw_data_cache_size): This.
19626 (__x86_64_data_cache_size_half): Renamed to ...
19627 (__x86_data_cache_size_half): This.
19628 (__x86_64_raw_data_cache_size_half): Renamed to ...
19629 (__x86_raw_data_cache_size_half): This.
19630 (__x86_64_shared_cache_size): Renamed to ...
19631 (__x86_shared_cache_size): This.
19632 (__x86_64_raw_shared_cache_size): Renamed to ...
19633 (__x86_raw_shared_cache_size): This.
19634 (__x86_64_shared_cache_size_half): Renamed to ...
19635 (__x86_shared_cache_size_half): This.
19636 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19637 (__x86_raw_shared_cache_size_half): This.
19638 * sysdeps/x86_64/memcpy.S: Updated.
19639 * sysdeps/x86_64/memset.S: Likewise.
19640 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19643
0b3986d0
DM
196442013-01-04 David S. Miller <davem@davemloft.net>
19645
19646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19647
e47686e9
AS
196482013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19649
d643bac1
AS
19650 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19651 1 to avoid redefinition warning.
19652 (__USE_GNU): Don't define.
19653 (init_signaling_nan): Protoize.
19654
e47686e9
AS
19655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19656
b18decba
SP
196572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19658
fffb407f
SP
19659 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19661 (__cpymn): Likewise.
19662 (norm): Remove commented code.
19663 (denorm): Likewise.
19664 (__mp_dbl): Likewise.
19665 (__inv): Likewise.
19666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19667 (__cpymn): Likewise.
19668 (norm): Remove commented code.
19669 (denorm): Likewise.
19670 (__mp_dbl): Likewise.
19671 (__inv): Likewise.
19672
b18decba
SP
19673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19674 mp_no value for 1.0 and 2.0.
19675 (norm): Use RADIXI instead of radixi.d.
19676 (denorm): Likewise.
19677 (__mul): Use 0.0 instead of zero.d.
19678 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19679 mp_no value for 1.0 and 2.0.
19680 (norm): Use RADIXI instead of radixi.d.
19681 (denorm): Likewise.
19682 (__mul): Use 0.0 instead of zero.d.
19683
cdc1c96f
JM
196842013-01-04 Joseph Myers <joseph@codesourcery.com>
19685
19686 [BZ #14994]
19687 * math/s_casinh.c (__casinh): Reduce finite argument to first
19688 quadrant then set signs of results at the end.
19689 * math/s_casinhf.c (__casinhf): Likewise.
19690 * math/s_casinhl.c (__casinhl): Likewise.
19691 * math/libm-test.inc (casin_test): Add more tests.
19692 (casinh_test): Likewise.
19693 * sysdeps/i386/fpu/libm-test-ulps: Update.
19694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19695
302913e1
SP
196962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19697
6420d207
SP
19698 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19699
a9e48ab4
SP
19700 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19701
b7837264
SP
19702 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19703 declarations.
19704 (denorm): Likewise.
19705 (__mp_dbl): Likewise.
19706 (__inv): Likewise.
19707
f8af25d2
SP
19708 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19709 and adjust the header comment.
19710
302913e1
SP
19711 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19712 variable name from declaration.
19713
5d7dd1ca
L
197142013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19715
19716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19717 Initialize COMMON_CPUID_INDEX_7 element.
19718 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19719 (CPUID_RTM): Likewise.
19720 (HAS_RTM): Likewise.
19721 (COMMON_CPUID_INDEX_7): New enum.
19722
2f5f40f4
AS
197232013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19724
19725 [BZ #14981]
19726 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19727 size is zero, record memory as freed.
19728
4056f4a0
AJ
197292013-01-03 Andreas Jaeger <aj@suse.de>
19730
19731 * po/ia.po: Add new Interlingua translation.
19732
ab15736f 197332012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19734
19735 * locale/programs/localedef.c: Fix description of '--posix' flag.
19736
568035b7
JM
197372013-01-02 Joseph Myers <joseph@codesourcery.com>
19738
e6898b8d
JM
19739 * NEWS: Update dates in second copyright notice.
19740 * README: Update copyright dates in example.
19741 * manual/libc.texinfo: Update copyright dates.
19742 * scripts/test-installation.pl: Update copyright date in --version
19743 output.
19744
0e2f9562
JM
19745 * hurd/ctty-input.c: Fix copyright notice formatting.
19746 * hurd/ctty-output.c: Likewise.
19747 * hurd/dtable.c: Likewise.
19748 * hurd/hurd-raise.c: Likewise.
19749 * hurd/hurdprio.c: Likewise.
19750 * hurd/msgportdemux.c: Likewise.
19751 * misc/sys/file.h: Likewise.
19752 * misc/sys/ioctl.h: Likewise.
19753 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19754 * sysdeps/mach/hurd/chdir.c: Likewise.
19755 * sysdeps/mach/hurd/fchdir.c: Likewise.
19756 * sysdeps/mach/hurd/rename.c: Likewise.
19757 * sysdeps/mach/hurd/rmdir.c: Likewise.
19758 * sysdeps/mach/hurd/seekdir.c: Likewise.
19759 * sysdeps/mach/hurd/setsid.c: Likewise.
19760 * sysdeps/posix/wait3.c: Likewise.
19761
568035b7
JM
19762 * All files with FSF copyright notices: Update copyright dates
19763 using scripts/update-copyrights.
19764 * intl/plural.c: Regenerated.
19765 * locale/programs/charmap-kw.h: Likewise.
19766 * locale/programs/locfile-kw.h: Likewise.
19767
da08f647
SP
197682013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19769
0f5477af
SP
19770 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19771 four values.
19772
44e0d4c2
SP
19773 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19774 calculation loop and add branch prediction.
19775
4d55b4e5
SP
19776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19777 check access beyond bounds of m1np.
19778
da08f647
SP
19779 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19780 MPTWO.
19781 (__inv): Remove local variable MPTWO to use the global
19782 constant.
19783 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19784 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19785 variable MPTWO.
19786 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19787 MP3HALFS static const.
19788
8e051029
DM
197892013-01-01 David S. Miller <davem@davemloft.net>
19790
19791 * po/ca.po: Update from translation team.
19792
f4cf5f2d
JM
197932013-01-01 Joseph Myers <joseph@codesourcery.com>
19794
19795 * scripts/update-copyrights: New file.
19796 * Makeconfig: Reformat copyright notice.
19797 * ctype/ctype.h: Likewise.
19798 * debug/swprintf_chk.c: Likewise.
19799 * elf/dl-cache.c: Likewise.
19800 * elf/dl-debug.c: Likewise.
19801 * elf/dl-object.c: Likewise.
19802 * grp/initgroups.c: Likewise.
19803 * hurd/Makefile: Likewise.
19804 * hurd/hurd/signal.h: Likewise.
19805 * hurd/hurdfault.c: Likewise.
19806 * hurd/hurdioctl.c: Likewise.
19807 * hurd/hurdlookup.c: Likewise.
19808 * hurd/intr-msg.c: Likewise.
19809 * iconv/gconv_open.c: Likewise.
19810 * libio/swprintf.c: Likewise.
19811 * locale/lc-ctype.c: Likewise.
19812 * locale/nl_langinfo.c: Likewise.
19813 * mach/Machrules: Likewise.
19814 * mach/Makefile: Likewise.
19815 * malloc/obstack.h: Likewise.
19816 * manual/Makefile: Likewise.
19817 * manual/tsort.awk: Likewise.
19818 * misc/bits/stab.def: Likewise.
19819 * nis/nis_print_group_entry.c: Likewise.
19820 * nis/nis_table.c: Likewise.
19821 * nis/nss_compat/compat-pwd.c: Likewise.
19822 * nis/nss_compat/compat-spwd.c: Likewise.
19823 * po/Makefile: Likewise.
19824 * posix/fnmatch.c: Likewise.
19825 * posix/regex.h: Likewise.
19826 * resolv/Makefile: Likewise.
19827 * resolv/nss_dns/dns-network.c: Likewise.
19828 * resolv/res_hconf.c: Likewise.
19829 * scripts/gen-sorted.awk: Likewise.
19830 * soft-fp/soft-fp.h: Likewise.
19831 * stdio-common/printf.h: Likewise.
19832 * stdlib/monetary.h: Likewise.
19833 * stdlib/random.c: Likewise.
19834 * stdlib/random_r.c: Likewise.
19835 * sysdeps/generic/Makefile: Likewise.
19836 * sysdeps/gnu/Makefile: Likewise.
19837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19839 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19844 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19860 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19861 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19863 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19864 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19865 * sysdeps/mach/hurd/errnos.awk: Likewise.
19866 * sysdeps/mach/hurd/fork.c: Likewise.
19867 * sysdeps/mach/hurd/getcwd.c: Likewise.
19868 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19869 * sysdeps/mach/hurd/mmap.c: Likewise.
19870 * sysdeps/mach/hurd/utimes.c: Likewise.
19871 * sysdeps/mach/hurd/xmknod.c: Likewise.
19872 * sysdeps/posix/profil.c: Likewise.
19873 * sysdeps/posix/readdir_r.c: Likewise.
19874 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19875 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19876 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19877 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19879 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19880 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19881 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19883 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19884 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19885 * sysdeps/pthread/lio_listio.c: Likewise.
19886 * sysdeps/sparc/dl-procinfo.h: Likewise.
19887 * sysdeps/unix/i386/sysdep.S: Likewise.
19888 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19889 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19890 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19891 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19893 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19894 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19895 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19896 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19897 * sysdeps/wordsize-32/divdi3.c: Likewise.
19898 * time/sys/time.h: Likewise.
19899 * wcsmbs/Makefile: Likewise.
19900
0549fbba
DM
199012013-01-01 David S. Miller <davem@davemloft.net>
19902
a141f1a7
DM
19903 * po/fr.po: Update from translation team.
19904
0549fbba
DM
19905 * catgets/gencat.c: Update copyright year.
19906 * csu/version.c: Likewise.
19907 * debug/catchsegv.sh: Likewise.
19908 * debug/pcprofiledump.c: Likewise.
19909 * debug/xtrace.sh: Likewise.
19910 * elf/ldconfig.c: Likewise.
19911 * elf/ldd.bash.in: Likewise.
19912 * elf/pldd.c: Likewise.
19913 * elf/sotruss.ksh: Likewise.
19914 * elf/sprof.c: Likewise.
19915 * iconv/iconv_prog.c: Likewise.
19916 * iconv/iconvconfig.c: Likewise.
19917 * locale/programs/locale.c: Likewise.
19918 * locale/programs/localedef.c: Likewise.
19919 * login/programs/pt_chown.c: Likewise.
19920 * malloc/memusage.sh: Likewise.
19921 * malloc/memusagestat.c: Likewise.
19922 * malloc/mtrace.pl: Likewise.
19923 * nscd/nscd.c: Likewise.
19924 * nss/getent.c: Likewise.
19925 * nss/makedb.c: Likewise.
19926 * posix/getconf.c: Likewise.
19927
18ea052c
SP
199282012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19929
19930 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19931 numbers.
19932
9c89fca6
MF
199332012-12-30 Mike Frysinger <vapier@gentoo.org>
19934
19935 * math/bits/mathcalls.h (modf): Use __nonnull.
19936
085ec079
SP
199372012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19938
19939 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19940 (split): Use macro CN instead of the bare value.
19941 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19942 could be used.
19943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19944 instead of the bare value.
19945 (power1): Likewise.
19946
6d9f97e1
SP
199472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19948
d63f73be
SP
19949 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19950 __ATAN_TWOM.
19951 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19952
6d9f97e1
SP
19953 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19954 their values.
19955 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19956 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19957 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19958 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19959
4c4febf5
AJ
199602012-12-28 Andreas Jaeger <aj@suse.de>
19961
af5843ef
AJ
19962 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19963 values are from Linux 3.7.
19964
4c4febf5
AJ
19965 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19966 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19967
99136f82
SP
199682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19969
2f216c3c 19970 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19971 TRUE case.
19972
99136f82
SP
19973 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19974 (norm): Likewise.
19975 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19976 variables with preprocessor constants.
19977 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19978 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19979 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19980
7fffbdff
BH
199812012-12-27 Bruno Haible <bruno@clisp.org>
19982
19983 [BZ #14317]
19984 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19985 only if needed.
19986
b76eb5f0
SP
199872012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19988
31a7fe5c
SP
19989 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19990 and use variable directly.
19991 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19992
b76eb5f0
SP
19993 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19994 MPONE.
19995 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19997 variable MPONE.
19998 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20000 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20001 include directive. Remove local variable MPONE.
20002 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20003 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20004 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20005
2c8bfe7d
DM
200062012-12-25 David S. Miller <davem@davemloft.net>
20007
20008 * version.h (RELEASE): Set to "development".
20009 (VERSION): Set to "2.17.90".
20010 * NEWS: Add 2.18 section.
20011
147d03b0
DM
200122012-12-21 David S. Miller <davem@davemloft.net>
20013
20014 * po/hr.po: Update from translation team.
20015
a8ebb2b9
AK
200162012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20017
20018 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20019
95b4f1b6
SE
200202012-12-19 Steve Ellcey <sellcey@mips.com>
20021
b2d94007 20022 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20023
cedb2a90
MS
200242012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20025
20026 * manual/contrib.texi (Contributors): Spelling correction.
20027
bbf527d6
DM
200282012-12-15 David S. Miller <davem@davemloft.net>
20029
20030 * po/ru.po: Update from translation team.
20031
bc38c906
DM
200322012-12-13 David S. Miller <davem@davemloft.net>
20033
85429b1a
DM
20034 * NEWS: Mention IFUNC testsuite enhancements.
20035
d283e353
DM
20036 * po/pl.po: Update from translation team.
20037 * po/bg.po: Likewise.
20038
bc38c906
DM
20039 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20040 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20041
a181b0d7
DM
200422012-12-11 David S. Miller <davem@davemloft.net>
20043
4641d57e
DM
20044 * po/sv.po: Update from translation team.
20045
f7bc6495
DM
20046 * po/vi.po: Update from translation team.
20047
6fc9048f
DM
20048 * po/cs.po: Update from translation team.
20049
a181b0d7
DM
20050 * po/de.po: Update from translation team.
20051 * po/eo.po: Likewise.
20052 * po/nl.po: Likewise.
20053
f70bfe80
SP
200542012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20055
3c8b4190
SP
20056 [BZ #14246]
20057 * manual/argp.texi (Argp Helper Functions): Move node to follow
20058 Argp Parsing State.
20059
f70bfe80
SP
20060 [BZ #14872]
20061 * manual/conf.texi (Limits on File System Capacity): Mention if
20062 terminating null is included in the max size.
20063
188f0adf
AJ
200642012-12-10 Andreas Jaeger <aj@suse.de>
20065
20066 * po/cs.po: Update from translation team.
20067
56e7d3ad
SP
200682012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20069
20070 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20071 void pointer and cast to uintptr_t.
20072 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20073 path.
20074 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20075 * sysdeps/s390/s390-64/memset.S: Likewise.
20076
76f2d2ea 200772012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20078
20079 [BZ #14833]
20080 * menual/message.texi (Message Translation): Fix typos.
20081 (Helper programs for gettext): Likewise.
20082
67cbf9a2
AS
200832012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20084
20085 [BZ #14898]
20086 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20087 Change to -1.
20088
682d0e9a
DM
200892012-12-07 David S. Miller <davem@davemloft.net>
20090
20091 * po/libc.pot: Update.
20092
573cd484
RH
200932012-12-07 Richard Henderson <rth@redhat.com>
20094
7e9da188 20095 [BZ #10114]
573cd484
RH
20096 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20097 normal/normal case to before the switch.
20098 (_FP_DIV): Likewise.
20099
e933a943
MF
201002012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20101 Mike Frysinger <vapier@gentoo.org>
20102
20103 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20104 check for __NR_fadvise64_64.
20105
82123268
CM
201062012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20107
20108 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20109 0, not just to plain "0" as a statement.
20110 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20111 with cw.
20112
d9814526
JM
201132012-12-06 Joseph Myers <joseph@codesourcery.com>
20114
20115 * NEWS: Use sourceware.org in Bugzilla URL.
20116
7728c574
SP
201172012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20118
f16946dd
SP
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20120 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20121
5704bbcb
SP
20122 * stdio-common/tst-put-error.c (do_test): Add newline to the
20123 padded test to ensure flush.
20124
17aa0516
JL
201252012-12-05 Jeff Law <law@redhat.com>
20126
20127 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20128
363313b5
JM
201292012-12-05 Joseph Myers <joseph@codesourcery.com>
20130
effbd42a
JM
20131 * README: Don't refer to ports add-on as distributed separately.
20132 Mention AArch64 in list of systems supported in the ports add-on.
20133
87600365
JM
20134 * LICENSES: Add more non-FSF copyright and license notices.
20135
a0d7066a
JM
20136 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20137 ((unused)).
20138
66ca5a5b
JM
20139 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20140
363313b5
JM
20141 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20142 10000 as width of padded output.
20143
b37984ad
JM
201442012-12-04 Joseph Myers <joseph@codesourcery.com>
20145
9003570a
JM
20146 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20147
b37984ad
JM
20148 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20149 variable LX with __attribute__ ((unused)).
20150 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20151 Likewise.
20152 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20154 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20155 with __attribute__ ((unused)).
20156
c8df52ec
DM
201572012-12-04 David S. Miller <davem@abraco.davemloft.net>
20158
20159 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20160
b3b099af
JM
201612012-12-04 Joseph Myers <joseph@codesourcery.com>
20162
c33aa6e3
JM
20163 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20164 (CFLAGS-nldbl-acos.c): New variable.
20165 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20166 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20167 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20168 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20169 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20170 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20171 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20172 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20173 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20174 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20175 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20176 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20177 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20178 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20179 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20180 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20181 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20182 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20183 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20184 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20185 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20186 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20187 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20188 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20189 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20190 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20191 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20192 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20193 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20194 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20195 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20196 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20197 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20198 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20199 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20200 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20201 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20202 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20203 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20204 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20205 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20206 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20207 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20208 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20209 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20210 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20211 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20212 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20213 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20214 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20215 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20216 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20217 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20218 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20219 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20220 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20221 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20222 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20223 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20224 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20225 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20226 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20227 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20228 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20229 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20230 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20231 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20232 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20233 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20262
20f0018d
JM
20263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20264 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20265
b3b099af
JM
20266 [BZ #14914]
20267 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20268 whole low double instead of just low 47 bits when splitting values
20269 into two parts.
20270
029264d1
AM
202712012-12-03 Allan McRae <allan@archlinux.org>
20272
20273 * manual/stdio.texi (Predefined Printf Handlers): Remove
20274 @hsep and @vsep usage.
20275
c9d6789e
MF
202762012-12-03 Mike Frysinger <vapier@gentoo.org>
20277
20278 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20279 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20280
4b7634a5
JL
202812012-12-03 Jeff Law <law@redhat.com>
20282
20283 * time/sys/time.h (settimeofday): Do not mark TV argument
20284 as __nonnull.
20285
eb6cbd24
MF
202862012-12-01 Mike Frysinger <vapier@gentoo.org>
20287
20288 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20289 when currently writing and seek to current position when not.
20290 * libio/Makefile (tests): Remove bug-fclose1.
20291 * libio/bug-fclose1.c: Delete.
20292
f638872a
JM
202932012-12-01 Joseph Myers <joseph@codesourcery.com>
20294
20295 * manual/arith.texi (feenableexcept): Fix typo.
20296 (fedisableexcept): Likewise.
20297
48085d14
RM
202982012-11-30 Roland McGrath <roland@hack.frob.com>
20299
20300 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20301 second, differently-typed declaration, rather than a cast.
20302
1a538b9f
SP
203032012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20304
20305 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20306 * include/rpc/svc.h: ... here.
20307
d07f2ff1 203082012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20309
20310 [BZ #13013]
20311 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20312 depending n and resplen2 to catch cases where answer
20313 equals answerp2.
20314
c93ec1f0
CD
203152012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20316
20317 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20318 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20319
37db69de
MF
203202012-11-29 Mike Frysinger <vapier@gentoo.org>
20321
20322 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20323
e10c4e4f
RM
203242012-11-29 Roland McGrath <roland@hack.frob.com>
20325
20326 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20327
2af1b328
JL
203282012-11-28 Jeff Law <law@redhat.com>
20329
20330 [BZ #13761]
20331 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20332 dataset_temporary. Track alloca usage into alloca_used.
20333 If dataset is large allocate and release it via malloc/free.
20334
111db5b1
FW
203352012-06-04 Florian Weimer <fweimer@redhat.com>
20336
f06cc227 20337 [BZ #14197]
111db5b1
FW
20338 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20339
dd694abd
DM
203402012-11-28 David S. Miller <davem@davemloft.net>
20341
20342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20343
9984dd01
JM
203442012-11-28 Joseph Myers <joseph@codesourcery.com>
20345
20346 [BZ #14803]
20347 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20348 of pi/2 rounded to nearest to 64 bits.
20349 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20350 nearest to 64 bits.
20351 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20352 bits.
20353
14bc93a9
JL
203542012-11-28 Jeff Law <law@redhat.com>
20355 Martin Osvald <mosvald@redhat.com>
20356
20357 [BZ #14889]
20358 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20359 * sunrpc/svc.c: Include time.h.
20360 (__svc_accept_failed): New function.
20361 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20362 any reason other than EINTR, call __svc_accept_failed.
20363 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20364 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20365
e3c6aa3a
AS
203662012-11-28 Andreas Schwab <schwab@suse.de>
20367
20368 * scripts/abilist.awk: Also handle indirect functions in .opd
20369 section.
20370
1bead169
JM
203712012-11-28 Joseph Myers <joseph@codesourcery.com>
20372
20373 [BZ #13881]
20374 * sysdeps/x86/fpu/powl_helper.c: New file.
20375 * sysdeps/x86/fpu/Makefile: Likewise.
20376 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20377 (p3): New object.
20378 (__ieee754_powl): Use __powl_helper for finite arguments except
20379 integer exponents below 8.
20380 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20381 (p3): New object.
20382 (__ieee754_powl): Use __powl_helper for finite arguments except
20383 integer exponents below 8.
20384 * math/libm-test.inc (pow_test): Add more tests and enable some
20385 previously disabled tests.
20386 * sysdeps/i386/fpu/libm-test-ulps: Update.
20387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20388
0817d63d
SP
203892012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20390 Carlos O'Donell <carlos_odonell@mentor.com>
20391
20392 * nss/makedb.c (is_prime): Assert that input is odd and greater
20393 than 4. Note that fact in a comment too.
20394 (next_prime): Add 4 to input.
20395
de2fd463
SP
203962012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20397
20398 [BZ #11741]
20399 * libio/Makefile (tests): Add test case tst-fwrite-error.
20400 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20401 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20402 * libio/tst-fwrite-error.c: New test case.
20403
c515fb51
L
204042012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20405
20406 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20407 before casting to void *.
20408 * include/libc-internal.h (__pointer_type): New macro.
20409 (__integer_if_pointer_type_sub): Likewise.
20410 (__integer_if_pointer_type): Likewise.
20411 (cast_to_integer): Likewise.
20412 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20413 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20414 before casting to atomic64_t.
20415 (atomic_exchange_acq): Likewise.
20416 (__arch_exchange_and_add_body): Likewise.
20417 (__arch_add_body): Likewise.
20418 (atomic_add_negative): Likewise.
20419 (atomic_add_zero): Likewise.
20420
4cf77aa9
JM
204212012-11-26 Joseph Myers <joseph@codesourcery.com>
20422
20423 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20424 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20425 (add_fdes): Likewise.
20426 (linear_search_fdes): Likewise.
20427 (binary_search_unencoded_fdes): Likewise.
20428
d260b3b4
AS
204292012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20430
20431 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20432
67060746
AC
204332012-11-24 Adam Conrad <adconrad@0c3.net>
20434
20435 * configure.in: Autodetect C++ header directories.
20436 * configure: Regenerated.
20437
800938a1
MF
204382012-11-23 Mike Frysinger <vapier@gentoo.org>
20439
20440 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20441
4e6e34e6
AS
204422012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20443
20444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20445
7c7feb47
JM
204462012-11-22 Joseph Myers <joseph@codesourcery.com>
20447
7184dcdf
JM
20448 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20449 LDBL_MANT_DIG == 106]: Disable some tests.
20450 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20451 Likewise.
20452 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20453 Likewise.
20454
0a42601f
JM
20455 [BZ #14871]
20456 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20457 input for small inputs. Return +/- pi/2 for large inputs.
20458 * math/libm-test.inc (atan_test): Add more tests.
20459
79c9b9fe
JM
20460 * sysdeps/generic/unwind-dw2-fde-glibc.c
20461 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20462 __attribute__ ((unused)).
20463
c60d3bf2
JM
20464 [BZ #14645]
20465 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20466 x * y if x and y are nonzero and z is zero.
20467
ef1e0867
JM
20468 [BZ #14811]
20469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20470 nonzero exponents with absolute value below 0x1p-117 to +/-
20471 0x1p-117.
20472
1468ded3
JM
20473 [BZ #14869]
20474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20475 up arguments below 2**-450, not just those below 2**-500.
20476 * math/libm-test.inc (hypot_test): Add another test.
20477
8e27e3cc
JM
20478 [BZ #14868]
20479 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20480 Return a+b for ratio over 2**120, not 2**60.
20481 * math/libm-test.inc (hypot_test): Add another test.
20482
c9c0279b
JM
20483 * math/libm-test.inc (clog_test): Use
20484 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20485 (clog10_test): Likewise.
20486
7c7feb47
JM
20487 [BZ #6778]
20488 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20489
fff1530e
AS
204902012-11-22 Andreas Schwab <schwab@suse.de>
20491
20492 * sysdeps/i386/fpu/libm-test-ulps: Update.
20493
94558d30
PT
204942012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20495
20496 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20497 printf output with newline.
20498
7e1be741
L
204992012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20500
6bfea974
L
20501 [BZ #14865]
20502 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20503 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20504 -z nodlopen, -z initfirst and -z execstack support.
20505 * configure: Regenerated.
20506
7e1be741
L
20507 * elf/elf.h (DF_1_NODIRECT): New macro.
20508 (DF_1_IGNMULDEF): Likewise.
20509 (DF_1_NOKSYMS): Likewise.
20510 (DF_1_NOHDR): Likewise.
20511 (DF_1_EDITED): Likewise.
20512 (DF_1_NORELOC): Likewise.
20513 (DF_1_SYMINTPOSE): Likewise.
20514 (DF_1_GLOBAUDIT): Likewise.
20515 (DF_1_SINGLETON): Likewise.
20516 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20517 DT_1_SUPPORTED_MASK bits.
20518 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20519
105ce2ce
CD
205202012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20521
20522 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20523
123be9de
TS
205242012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20525
d072f3f7
TS
20526 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20527 macro.
20528
123be9de
TS
20529 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20530 (sendmmsg): Move declarations...
20531 * socket/sys/socket.h: ... here.
20532 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20533 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20534 include it from...
20535 * socket/recvmmsg.c: ... this new file.
20536 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20537 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20538 definition of __sendmmsg hidden.
20539 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20540 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20541 Move ENOSYS stub into and include it from...
20542 * socket/sendmmsg.c: ... this new file.
20543 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20544 (sysdep_routines): Move recvmmsg and sendmmsg...
20545 * socket/Makefile (routines): ... here.
20546 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20547 (GLIBC_PRIVATE): Add __sendmmsg.
20548 * include/sys/socket.h (__sendmmsg): Add declarations.
20549 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20550 sendmmsg.
20551
cf9a5d18
JM
205522012-11-20 Joseph Myers <joseph@codesourcery.com>
20553
20554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20555 variable I1 with __attribute__ ((unused)).
20556 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20557
ecd4caf9
JM
205582012-11-19 Joseph Myers <joseph@codesourcery.com>
20559
be14d48f
JM
20560 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20561 DUMMY variables with __attribute__ ((unused)).
20562
ecd4caf9
JM
20563 * bits/byteswap.h: Include <bits/types.h>.
20564 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20565
986cab95
PT
205662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20567
20568 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20569 string_t. Do not manually set errno.
20570 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20571 length with __strnlen. Make sure to both set errno and return it on
20572 failure.
20573
6d33cc9d
DM
205742012-11-19 David S. Miller <davem@davemloft.net>
20575
20576 With help from Joseph Myers.
20577 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20578 very large arguments properly.
20579 * math/libm-test.inc (atan_test): New tests.
20580 (atan2_test): New tests.
20581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20583
ee663277
JM
205842012-11-19 Joseph Myers <joseph@codesourcery.com>
20585
877f2d8e
JM
20586 [BZ #14856]
20587 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20588 Define to 3.
20589
116fc08a
JM
20590 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20591 [POSIX] (EADDRNOTAVAIL): Likewise.
20592 [POSIX] (EAFNOSUPPORT): Likewise.
20593 [POSIX] (EALREADY): Likewise.
20594 [POSIX] (ECONNABORTED): Likewise.
20595 [POSIX] (ECONNREFUSED): Likewise.
20596 [POSIX] (ECONNRESET): Likewise.
20597 [POSIX] (EDESTADDRREQ): Likewise.
20598 [POSIX] (EDQUOT): Likewise.
20599 [POSIX] (EHOSTUNREACH): Likewise.
20600 [POSIX] (EIDRM): Likewise.
20601 [POSIX] (EISCONN): Likewise.
20602 [POSIX] (ELOOP): Likewise.
20603 [POSIX] (EMULTIHOP): Likewise.
20604 [POSIX] (ENETDOWN): Likewise.
20605 [POSIX] (ENETUNREACH): Likewise.
20606 [POSIX] (ENOBUFS): Likewise.
20607 [POSIX] (ENODATA): Likewise.
20608 [POSIX] (ENOLINK): Likewise.
20609 [POSIX] (ENOMSG): Likewise.
20610 [POSIX] (ENOPROTOOPT): Likewise.
20611 [POSIX] (ENOSR): Likewise.
20612 [POSIX] (ENOSTR): Likewise.
20613 [POSIX] (ENOTCONN): Likewise.
20614 [POSIX] (ENOTSOCK): Likewise.
20615 [POSIX] (EOPNOTSUPP): Likewise.
20616 [POSIX] (EOVERFLOW): Likewise.
20617 [POSIX] (EPROTO): Likewise.
20618 [POSIX] (EPROTONOSUPPORT): Likewise.
20619 [POSIX] (EPROTOTYPE): Likewise.
20620 [POSIX] (ESTALE): Likewise.
20621 [POSIX] (ETIME): Likewise.
20622 [POSIX] (ETXTBSY): Likewise.
20623 [POSIX] (EWOULDBLOCK): Likewise.
20624 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20625 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20626 [POSIX] (SEEK_CUR): Likewise.
20627 [POSIX] (SEEK_END): Likewise.
20628 [POSIX || UNIX98] (mode_t): Do not require.
20629 [POSIX] (off_t): Likewise.
20630 [POSIX] (pid_t): Likewise.
20631 [POSIX] (sys/stat.h): Do not allow header.
20632 [POSIX] (unistd.h): Likewise.
20633 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20634 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20635 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20636 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20637 require.
20638 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20639 sigevent): Specify elements.
20640 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20641 entry.
20642 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20643 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20644
a483863f
JM
20645 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20646 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20647 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20648 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20649 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20650 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20651 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20652 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20653 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20654 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20655 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20656 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20657 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20658 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20659 Likewise.
20660 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20661 Likewise.
20662 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20663 Likewise.
20664 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20665 Likewise.
20666 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20667 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20668 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20669 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20670 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20671 Specify lower bound on value.
20672 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20673 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20674 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20675 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20676 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20677 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20678 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20679 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20680 value.
20681 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20682 as optional.
20683 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20684 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20685 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20686 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20687 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20688 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20689 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20690 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20691 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20692 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20693 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20694 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20695 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20696 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20697 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20698 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20699 entry.
20700 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20701 optional.
20702 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20703 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20704 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20705 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20706 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20707 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20708 Likewise.
20709 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20710 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20711 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20712 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20713 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20714 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20715 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20716 as optional.
20717 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20718 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20719 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20720 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20721 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20722 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20723 specify as optional.
20724 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20725 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20726 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20727 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20728 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20729 [XPG3] (NL_LANGMAX): Likewise.
20730 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20731 [POSIX || XPG3] (NL_NMAX): Likewise.
20732 [POSIX || XPG3] (NL_SETMAX): Likewise.
20733 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20734 [XPG3] (NZERO): Likewise.
20735 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20736 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20737 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20738 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20739 (REG_ERANGE): Expect.
20740 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20741 optional-constant.
20742 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20743 Use (void) in prototype.
20744 [POSIX] (*_t): Allow.
20745 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20746 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20747 (WRDE_BADVAL): Expect.
20748
5ba924e3
JM
20749 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20750 expect.
20751 [XPG3 || XPG4] (O_RSYNC): Likewise.
20752 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20753 Likewise.
20754 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20755 [XPG3 || XPG4] (sigqueue): Likewise.
20756 [XPG3 || XPG4] (sigtimedwait): Likewise.
20757 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20758 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20759 [XPG3 || XPG4] (vsnprintf): Likewise.
20760 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20761 Likewise.
20762 [XPG3 || XPG4] (blksize_t): Likewise.
20763 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20764 Likewise.
20765 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20766 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20767 [XPG3 || XPG4] (struct itimerspec): Likewise.
20768 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20769 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20770 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20771 [XPG3 || XPG4] (clockid_t): Likewise.
20772 [XPG3 || XPG4] (timer_t): Likewise.
20773 [XPG3 || XPG4] (clock_getres): Likewise.
20774 [XPG3 || XPG4] (clock_gettime): Likewise.
20775 [XPG3 || XPG4] (clock_settime): Likewise.
20776 [XPG3 || XPG4] (nanosleep): Likewise.
20777 [XPG3 || XPG4] (timer_create): Likewise.
20778 [XPG3 || XPG4] (timer_delete): Likewise.
20779 [XPG3 || XPG4] (timer_gettime): Likewise.
20780 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20781 [XPG3 || XPG4] (timer_settime): Likewise.
20782 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20783 [XPG3 || XPG4] (getlogin_r): Likewise.
20784 [XPG3 || XPG4] (pread): Likewise.
20785 [XPG3 || XPG4] (pthread_atfork): Likewise.
20786 [XPG3 || XPG4] (pwrite): Likewise.
20787
ee663277
JM
20788 [BZ #14835]
20789 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20790 <bits/siginfo.h>.
20791
942caa16
PT
207922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20793
e19af380
PT
20794 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20795 finalizing MALLSTREAM.
20796
942caa16
PT
20797 * sysdeps/mach/hurd/syncfs.c: New file.
20798
cfde9b46
SP
207992012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20800
20801 [BZ #14719]
20802 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20803 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20804 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20805 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20806 (_nss_dns_gethostbyname4_r): Likewise.
20807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20808 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20809
f6da27e5
PH
208102012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20811
20812 [BZ #13763]
20813 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20814
6665d4a2
SM
208152012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20816
1f51ee92
SM
20817 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20818 * elf/cache.c (print_entry): Print ",AArch64" for
20819 FLAG_AARCH64_LIB64
20820
6665d4a2
SM
20821 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20822 * elf/cache.c (print_entry): Print ",hard-float" for
20823 FLAG_ARM_LIBHF.
20824
05b227bd
DM
208252012-11-18 David S. Miller <davem@davemloft.net>
20826
20827 With help from Joseph Myers.
20828 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20829 cutoff to 2**-13.
20830 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20831 cutoff to 2**-25.
20832 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20833 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20834 small.
20835 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20836 * math/libm-test.inc (y0_test): New tests.
20837 (y1_test): New tests.
20838 * sysdeps/i386/fpu/libm-test-ulps: Update.
20839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20841
786b0b67
AS
208422012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20843
20844 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20845 64-bit targets.
20846 * configure: Regenerated.
20847
8e18b86d
DM
208482012-11-17 David S. Miller <davem@davemloft.net>
20849
20850 [BZ #14811]
20851 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20852 nonzero exponents with absolute value below 0x1p-128 to +/-
20853 0x1p-128.
20854
531f1ae0
JM
208552012-11-17 Joseph Myers <joseph@codesourcery.com>
20856
12df29e2
JM
20857 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20858
150dc1a0
JM
20859 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20860
531f1ae0
JM
20861 * posix/getconf-speclist.c: New file.
20862 * posix/posix-envs.def: Likewise.
20863 * posix/confstr.c (START_ENV_GROUP): New macro.
20864 (END_ENV_GROUP): Likewise.
20865 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20866 (KNOWN_PRESENT_ENV_STRING): Likewise.
20867 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20868 (UNKNOWN_ENVIRONMENT): Likewise.
20869 (confstr): Include posix-envs.def instead of handling
20870 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20871 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20872 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20873 (END_ENV_GROUP): Likewise.
20874 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20875 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20876 (UNKNOWN_ENVIRONMENT): Likewise.
20877 (__sysconf): Include posix-envs.def instead of handling associated
20878 cases directly here.
20879 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20880 preprocessing getconf-speclist.c rather than running getconf or
20881 generating empty file.
20882
a93f9cbc
PT
208832012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20884
20885 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20886
d64d9f87
AL
208872012-11-16 Andrej Lajovic <natrij@gmail.com>
20888
20889 [BZ #14672]
20890 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20891
447885eb
DM
208922012-11-16 David S. Miller <davem@davemloft.net>
20893
20894 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20895 smaller than LDBL_EPSILON/2.0L, just return xm1.
20896
bcbf9830
L
208972012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20898
20899 * elf/tst-array1.c (init): Set constructor priority to 1000.
20900 (fini): Set destructor priority to 1000.
20901 * elf/tst-array2dep.c: Likewise.
20902
2b766585
SP
209032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20904
20905 [BZ #11741]
20906 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20907 (_IO_new_file_xsputn): Also return EOF if none of the input
20908 data was written when overflow failed.
20909 * libio/iopadn.c (_IO_padn): Likewise.
20910 * libio/iowpadn.c (_IO_wpadn): Likewise.
20911 * stdio-common/tst-put-error.c: Add copyright notice.
20912 (do_test): Add case for printing padded string.
20913 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20914 _IO_padn returned error.
20915 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20916 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20917 return EOF.
20918
b1848fde
SP
209192012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20920
20921 * libio/libioP.h: Add comment note that the references to C++
20922 bits are now obsolete.
20923
2fd89785
MS
209242012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20925
20926 * math/libm-test.inc (check_complex): Use asprintf.
20927
e3ea5409
JM
209282012-11-14 Joseph Myers <joseph@codesourcery.com>
20929
20930 * debug/pcprofiledump.c (print_version): Update copyright year.
20931 * malloc/memusagestat.c (print_version): Likewise.
20932
2e64d265
L
209332012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20934
20935 [BZ #14831]
20936 * elf/Makefile (tests): Add tst-audit8.
20937 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20938 ($(objpfx)tst-audit8.out): New target.
20939 (tst-audit8-ENV): New variable.
20940 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20941 audit if l_reloc_result is NULL.
20942 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20943 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20944 * elf/tst-audit8.c: New file.
20945
c485e4d2
MS
209462012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20947
20948 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20949 * misc/Makefile (CFLAGS-select.c): Define.
20950 * posix/Makefile (CFLAGS-pause.c): Define.
20951
3a0d900a
DM
209522012-11-13 David S. Miller <davem@davemloft.net>
20953
20954 * crypt/Makefile: Move test targets after toplevel Rules
20955 inclusion. Grab any necessary sysdep routines when linking.
20956 * crypt/md5.c (md5_process_block): Remove define, we will always
20957 name it __md5_process_block.
20958 (md5_finish_ctx): Update md5_process_block call.
20959 (md5_stream): Likewise.
20960 (md5_process_bytes): Likewise.
20961 (md5_process_block): Rename to __md5_process_block and move to ...
20962 * crypt/md5-block.c: ... here.
20963 * crypt/sha256.c (sha256_process_block): Move to ...
20964 * crypt/sha256-block.c: ... here.
20965 * crypt/sha512.c (sha512_process_block): Move to ...
20966 * crypt/sha512-block.c: ... here.
20967 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20968 path.
20969 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20970 * sysdeps/sparc/sparc64/multiarch/Makefile
20971 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20972 crypt subdir.
20973 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20974 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20975 multiarch changes.
20976 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20977 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20978 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20979 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20980 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20981 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20982 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20983 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20984 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20985 file.
20986 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20987 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20988 file.
20989 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20990
8ca89318
JM
209912012-11-13 Joseph Myers <joseph@codesourcery.com>
20992
e27d476a
JM
20993 * timezone/tzselect.ksh: Update from tzcode git revision
20994 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20995 * timezone/zdump.c: Likewise.
20996 * timezone/zic.c: Likewise.
20997 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20998 in TZVERSION setting, not $(PKGVERSION).
20999 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21000 REPORT_BUGS_TO settings.
21001
8ca89318
JM
21002 [BZ #14838]
21003 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21004 macro.
21005
47594329
MS
210062012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21007
21008 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21009 detection to immediately after _FP_ROUND().
21010 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21011 bits are 0.
21012
640ac3f1
DM
210132012-11-11 David S. Miller <davem@davemloft.net>
21014
21015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21016 inttypes.h
21017 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21018 __close rather than their public counterparts.
21019
3d2577bb
JM
210202012-11-10 Joseph Myers <joseph@codesourcery.com>
21021
21022 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21023 file.
21024 [UNIX98] (sem_timedwait): Do not expect.
21025 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21026 [XPG4 || UNIX98] (sockatmark): Do not expect.
21027 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21028 (clock_getcpuclockid): Do not expect.
21029 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21030 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21031 Do not expect.
21032 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21033 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21034 [UNIX98] (vwscanf): Likewise.
21035 [UNIX98] (vswscanf): Likewise.
21036
fb1ae1ee
JM
210372012-11-09 Joseph Myers <joseph@codesourcery.com>
21038
9ec6f8bd
JM
21039 * timezone/version.h: Remove file.
21040 * timezone/README: Do not refer to version.h.
21041 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21042 $(objpfx)version.h.
21043 ($(objpfx)zdump.o): Likewise.
c3f81911 21044 ($(objpfx)version.h): New target.
9ec6f8bd 21045
0aa8f8a1
JM
21046 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21047 2012i.
21048 * timezone/README: Don't mention modification to tzselect.ksh.
21049 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21050 work on unmodified tzselect.ksh. Substitute version numbers in
21051 tzselect.ksh.
21052
4e87147f
JM
21053 * Makefile (format-me): Remove.
21054 (INSTALL): Adjust indentation. Use commands directly instead of
21055 using $(format-me).
21056
8b748aed
JM
21057 * aclocal.m4 (ACX_PKGVERSION): New macro.
21058 (ACX_BUGURL): Likewise.
21059 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21060 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21061 (REPORT_BUGS_TO): Likewise.
21062 * configure: Regenerated.
21063 * config.h.in (PKGVERSION): New macro.
21064 (REPORT_BUGS_TO): Likewise.
21065 * config.make.in (PKGVERSION): New variable.
21066 (PKGVERSION_TEXI): Likewise.
21067 (REPORT_BUGS_TO): Likewise.
21068 (REPORT_BUGS_TEXI): Likewise.
21069 * Makefile (format-me): Use -I$(common-objpfx)manual.
21070 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21071 ($(common-objpfx)manual/%): New target.
21072 (manual/%): Remove target.
21073 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21074 (print_version): Use PKGVERSION.
21075 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21076 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21077 and REPORT_BUGS_TO.
21078 ($(objpfx)xtrace): Likewise.
21079 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21080 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21081 (print_version): Use PKGVERSION.
21082 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21083 (do_version): Use PKGVERSION.
21084 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21085 REPORT_BUGS_TO.
21086 (common-ldd-rewrite): Likewise.
21087 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21088 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21089 (print_version): Use PKGVERSION.
21090 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21091 * elf/pldd.c (argp_program_bug_address): Remove variable.
21092 (more_help): New function.
21093 (argp): Use more_help.
21094 (print_version): Use PKGVERSION.
21095 * elf/sln.c (main): Use PKGVERSION.
21096 (usage): Use REPORT_BUGS_TO.
21097 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21098 (top level): Use PKGVERSION.
21099 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21100 (print_version): Use PKGVERSION.
21101 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21102 (print_version): Use PKGVERSION.
21103 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21104 (print_version): Use PKGVERSION.
21105 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21106 (print_version): Use PKGVERSION.
21107 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21108 (print_version): Use PKGVERSION.
21109 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21110 (print_version): Use PKGVERSION.
21111 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21112 and BUGURL.
21113 ($(objpfx)memusage): Likewise.
21114 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21115 (do_version): Use PKGVERSION.
21116 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21117 (print_version): Use PKGVERSION.
21118 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21119 ($PKGVERSION): New variable.
21120 ($REPORT_BUGS_TO): Likewise.
21121 (usage): Use $REPORT_BUGS_TO.
21122 (top level): Use $PKGVERSION.
21123 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21124 ($(objpfx)pkgvers.texi): New rule.
21125 ($(objpfx)stamp-pkgvers): Likewise.
21126 * manual/install.texi: Include pkgvers.texi.
21127 (--with-pkgversion): Document new configure option.
21128 (--with-bugurl): Likewise.
21129 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21130 than necessarily for this particular distribution. Use
21131 REPORT_BUGS_TO for where to report bugs.
21132 * INSTALL: Regenerated.
21133 * manual/libc.texinfo: Include pkgvers.texi.
21134 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21135 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21136 (print_version): Use PKGVERSION.
21137 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21138 (print_version): Use PKGVERSION.
21139 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21140 (print_version): Use PKGVERSION.
21141 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21142 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21143 macro.
21144 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21145 (print_version): Use PKGVERSION.
21146 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21147 (print_version): Use PKGVERSION.
21148 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21149 and PKGVERSION.
21150
92e4b6a9
JM
21151 * timezone/checktab.awk: Update from tzcode 2012i.
21152 * timezone/ialloc.c: Likewise.
21153 * timezone/private.h: Likewise.
21154 * timezone/scheck.c: Likewise.
21155 * timezone/tzfile.h: Likewise.
21156 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21157 (TZVERSION): Hardcode tzcode version number.
21158 * timezone/zdump.c: Update from tzcode 2012i.
21159 * timezone/zic.c: Likewise.
21160 * timezone/version.h: New file.
21161 * timezone/README: Describe version.h. Update upstream location.
21162
9bde902c
JM
21163 [BZ #14824]
21164 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21165 (mktemp): Enable declaration.
21166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21169 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21170 Likewise.
21171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21172 Likewise.
21173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21174 Likewise.
21175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21176 Likewise.
21177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21178 Likewise.
21179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21180 Likewise.
21181
fb1ae1ee
JM
21182 [BZ #14821]
21183 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21184 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21185 for copies of such integer values.
21186 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21187 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21188
2c1adbcb
AJ
211892012-11-09 Andreas Jaeger <aj@suse.de>
21190
21191 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21192 definitions and declarations that are provided by
21193 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21194
d0f8457e
AK
211952012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21196
3a235abb 21197 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21198 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21199 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21200 definition.
21201
57241e26
MS
212022012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21203
21204 * elf/elf.h: Update comment before AArch64 relocations.
21205
60e8270d
DM
212062012-11-07 David S. Miller <davem@davemloft.net>
21207
21208 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21209 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21210 (__start_context): Declare.
21211 (__makecontext_ret): Delete.
21212 (__makecontext): Hook up __start_context instead of
21213 __makecontext_ret.
21214 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21215 (sysdep_routines): Add __start_context when in stdlib.
21216
0fbb0fbc
JM
212172012-11-07 Joseph Myers <joseph@codesourcery.com>
21218
21219 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21220 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21221 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21222 hardcoded "nm".
21223 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21224 (READELF): New variable. Use it instead of hardcoded "readelf".
21225
eb48db7e
L
212262012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21227
21228 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21229 * sysdeps/x86/Makefile: Here.
21230 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21231 * sysdeps/x86/tst-xmmymm.sh: This.
21232
05bcf62a
JM
212332012-11-07 Joseph Myers <joseph@codesourcery.com>
21234
c4b6cf53
JM
21235 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21236 expectations.
21237 [UNIX98] (pthread_barrier_t): Do not expect.
21238 [UNIX98] (pthread_barrierattr_t): Likewise.
21239 [UNIX98] (pthread_spinlock_t): Likewise.
21240 [UNIX98] (pthread_barrier_destroy): Likewise.
21241 [UNIX98] (pthread_barrier_init): Likewise.
21242 [UNIX98] (pthread_barrier_wait): Likewise.
21243 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21244 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21245 [UNIX98] (pthread_barrierattr_init): Likewise.
21246 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21247 [UNIX98] (pthread_getcpuclockid): Likewise.
21248 [UNIX98] (pthread_mutex_timedlock): Likewise.
21249 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21250 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21251 [UNIX98] (pthread_sigmask): Likewise.
21252 [UNIX98] (pthread_spin_destroy): Likewise.
21253 [UNIX98] (pthread_spin_init): Likewise.
21254 [UNIX98] (pthread_spin_lock): Likewise.
21255 [UNIX98] (pthread_spin_trylock): Likewise.
21256 [UNIX98] (pthread_spin_unlock): Likewise.
21257 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21258 Do not expect.
21259 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21260 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21261 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21262 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21263 [XPG3 || XPG4] (pthread_key_t): Likewise.
21264 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21265 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21266 [XPG3 || XPG4] (pthread_once_t): Likewise.
21267 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21268 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21269 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21270 [XPG3 || XPG4] (pthread_t): Likewise.
21271
cbe6e120
JM
21272 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21273 not expect.
21274 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21275
1b126443
JM
21276 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21277 Change function return type to int.
21278
b961a573
JM
21279 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21280 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21281 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21282 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21283 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21284 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21285 [!POSIX] (posix_madvise): Likewise.
21286 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21287 && !UNIX98].
21288 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21289 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21290 (mode_t): Likewise.
21291 (posix_mem_offset): Likewise.
21292 (posix_typed_mem_get_info): Likewise.
21293 (posix_typed_mem_open): Likewise.
21294
9e188909
JM
21295 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21296 Change condition to [XOPEN2K8].
21297
05bcf62a
JM
21298 * conform/conformtest.pl: Preprocess allow-header data with -x c
21299 instead of from stdin.
21300 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21301 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21302 [C99-based standards] (cerfc): Likewise.
21303 [C99-based standards] (cexp2): Likewise.
21304 [C99-based standards] (cexpm1): Likewise.
21305 [C99-based standards] (clog10): Likewise.
21306 [C99-based standards] (clog1p): Likewise.
21307 [C99-based standards] (clog2): Likewise.
21308 [C99-based standards] (clgamma): Likewise.
21309 [C99-based standards] (ctgamma): Likewise.
21310 [C99-based standards] (cerff): Likewise.
21311 [C99-based standards] (cerfcf): Likewise.
21312 [C99-based standards] (cexp2f): Likewise.
21313 [C99-based standards] (cexpm1f): Likewise.
21314 [C99-based standards] (clog10f): Likewise.
21315 [C99-based standards] (clog1pf): Likewise.
21316 [C99-based standards] (clog2f): Likewise.
21317 [C99-based standards] (clgammaf): Likewise.
21318 [C99-based standards] (ctgammaf): Likewise.
21319 [C99-based standards] (cerfl): Likewise.
21320 [C99-based standards] (cerfcl): Likewise.
21321 [C99-based standards] (cexp2l): Likewise.
21322 [C99-based standards] (cexpm1l): Likewise.
21323 [C99-based standards] (clog10l): Likewise.
21324 [C99-based standards] (clog1pl): Likewise.
21325 [C99-based standards] (clog2l): Likewise.
21326 [C99-based standards] (clgammal): Likewise.
21327 [C99-based standards] (ctgammal): Likewise.
21328 * conform/data/inttypes.h-data [C99-based standards]: Include
21329 stdint.h-data. Remove all expectations for stdint.h contents.
21330 [C99-based standards] (PRI*): Do not allow.
21331 [C99-based standards] (SCN*): Likewise.
21332 [C99-based standards] (*_t): Likewise.
21333 [C99-based-standards] (PRId8): Expect macro.
21334 [C99-based-standards] (PRIi8): Likewise.
21335 [C99-based-standards] (PRIo8): Likewise.
21336 [C99-based-standards] (PRIu8): Likewise.
21337 [C99-based-standards] (PRIx8): Likewise.
21338 [C99-based-standards] (PRIX8): Likewise.
21339 [C99-based-standards] (SCNd8): Likewise.
21340 [C99-based-standards] (SCNi8): Likewise.
21341 [C99-based-standards] (SCNo8): Likewise.
21342 [C99-based-standards] (SCNu8): Likewise.
21343 [C99-based-standards] (SCNx8): Likewise.
21344 [C99-based-standards] (PRIdLEAST8): Likewise.
21345 [C99-based-standards] (PRIiLEAST8): Likewise.
21346 [C99-based-standards] (PRIoLEAST8): Likewise.
21347 [C99-based-standards] (PRIuLEAST8): Likewise.
21348 [C99-based-standards] (PRIxLEAST8): Likewise.
21349 [C99-based-standards] (PRIXLEAST8): Likewise.
21350 [C99-based-standards] (SCNdLEAST8): Likewise.
21351 [C99-based-standards] (SCNiLEAST8): Likewise.
21352 [C99-based-standards] (SCNoLEAST8): Likewise.
21353 [C99-based-standards] (SCNuLEAST8): Likewise.
21354 [C99-based-standards] (SCNxLEAST8): Likewise.
21355 [C99-based-standards] (PRIdFAST8): Likewise.
21356 [C99-based-standards] (PRIiFAST8): Likewise.
21357 [C99-based-standards] (PRIoFAST8): Likewise.
21358 [C99-based-standards] (PRIuFAST8): Likewise.
21359 [C99-based-standards] (PRIxFAST8): Likewise.
21360 [C99-based-standards] (PRIXFAST8): Likewise.
21361 [C99-based-standards] (SCNdFAST8): Likewise.
21362 [C99-based-standards] (SCNiFAST8): Likewise.
21363 [C99-based-standards] (SCNoFAST8): Likewise.
21364 [C99-based-standards] (SCNuFAST8): Likewise.
21365 [C99-based-standards] (SCNxFAST8): Likewise.
21366 [C99-based-standards] (PRId16): Likewise.
21367 [C99-based-standards] (PRIi16): Likewise.
21368 [C99-based-standards] (PRIo16): Likewise.
21369 [C99-based-standards] (PRIu16): Likewise.
21370 [C99-based-standards] (PRIx16): Likewise.
21371 [C99-based-standards] (PRIX16): Likewise.
21372 [C99-based-standards] (SCNd16): Likewise.
21373 [C99-based-standards] (SCNi16): Likewise.
21374 [C99-based-standards] (SCNo16): Likewise.
21375 [C99-based-standards] (SCNu16): Likewise.
21376 [C99-based-standards] (SCNx16): Likewise.
21377 [C99-based-standards] (PRIdLEAST16): Likewise.
21378 [C99-based-standards] (PRIiLEAST16): Likewise.
21379 [C99-based-standards] (PRIoLEAST16): Likewise.
21380 [C99-based-standards] (PRIuLEAST16): Likewise.
21381 [C99-based-standards] (PRIxLEAST16): Likewise.
21382 [C99-based-standards] (PRIXLEAST16): Likewise.
21383 [C99-based-standards] (SCNdLEAST16): Likewise.
21384 [C99-based-standards] (SCNiLEAST16): Likewise.
21385 [C99-based-standards] (SCNoLEAST16): Likewise.
21386 [C99-based-standards] (SCNuLEAST16): Likewise.
21387 [C99-based-standards] (SCNxLEAST16): Likewise.
21388 [C99-based-standards] (PRIdFAST16): Likewise.
21389 [C99-based-standards] (PRIiFAST16): Likewise.
21390 [C99-based-standards] (PRIoFAST16): Likewise.
21391 [C99-based-standards] (PRIuFAST16): Likewise.
21392 [C99-based-standards] (PRIxFAST16): Likewise.
21393 [C99-based-standards] (PRIXFAST16): Likewise.
21394 [C99-based-standards] (SCNdFAST16): Likewise.
21395 [C99-based-standards] (SCNiFAST16): Likewise.
21396 [C99-based-standards] (SCNoFAST16): Likewise.
21397 [C99-based-standards] (SCNuFAST16): Likewise.
21398 [C99-based-standards] (SCNxFAST16): Likewise.
21399 [C99-based-standards] (PRId32): Likewise.
21400 [C99-based-standards] (PRIi32): Likewise.
21401 [C99-based-standards] (PRIo32): Likewise.
21402 [C99-based-standards] (PRIu32): Likewise.
21403 [C99-based-standards] (PRIx32): Likewise.
21404 [C99-based-standards] (PRIX32): Likewise.
21405 [C99-based-standards] (SCNd32): Likewise.
21406 [C99-based-standards] (SCNi32): Likewise.
21407 [C99-based-standards] (SCNo32): Likewise.
21408 [C99-based-standards] (SCNu32): Likewise.
21409 [C99-based-standards] (SCNx32): Likewise.
21410 [C99-based-standards] (PRIdLEAST32): Likewise.
21411 [C99-based-standards] (PRIiLEAST32): Likewise.
21412 [C99-based-standards] (PRIoLEAST32): Likewise.
21413 [C99-based-standards] (PRIuLEAST32): Likewise.
21414 [C99-based-standards] (PRIxLEAST32): Likewise.
21415 [C99-based-standards] (PRIXLEAST32): Likewise.
21416 [C99-based-standards] (SCNdLEAST32): Likewise.
21417 [C99-based-standards] (SCNiLEAST32): Likewise.
21418 [C99-based-standards] (SCNoLEAST32): Likewise.
21419 [C99-based-standards] (SCNuLEAST32): Likewise.
21420 [C99-based-standards] (SCNxLEAST32): Likewise.
21421 [C99-based-standards] (PRIdFAST32): Likewise.
21422 [C99-based-standards] (PRIiFAST32): Likewise.
21423 [C99-based-standards] (PRIoFAST32): Likewise.
21424 [C99-based-standards] (PRIuFAST32): Likewise.
21425 [C99-based-standards] (PRIxFAST32): Likewise.
21426 [C99-based-standards] (PRIXFAST32): Likewise.
21427 [C99-based-standards] (SCNdFAST32): Likewise.
21428 [C99-based-standards] (SCNiFAST32): Likewise.
21429 [C99-based-standards] (SCNoFAST32): Likewise.
21430 [C99-based-standards] (SCNuFAST32): Likewise.
21431 [C99-based-standards] (SCNxFAST32): Likewise.
21432 [C99-based-standards] (PRId64): Likewise.
21433 [C99-based-standards] (PRIi64): Likewise.
21434 [C99-based-standards] (PRIo64): Likewise.
21435 [C99-based-standards] (PRIu64): Likewise.
21436 [C99-based-standards] (PRIx64): Likewise.
21437 [C99-based-standards] (PRIX64): Likewise.
21438 [C99-based-standards] (SCNd64): Likewise.
21439 [C99-based-standards] (SCNi64): Likewise.
21440 [C99-based-standards] (SCNo64): Likewise.
21441 [C99-based-standards] (SCNu64): Likewise.
21442 [C99-based-standards] (SCNx64): Likewise.
21443 [C99-based-standards] (PRIdLEAST64): Likewise.
21444 [C99-based-standards] (PRIiLEAST64): Likewise.
21445 [C99-based-standards] (PRIoLEAST64): Likewise.
21446 [C99-based-standards] (PRIuLEAST64): Likewise.
21447 [C99-based-standards] (PRIxLEAST64): Likewise.
21448 [C99-based-standards] (PRIXLEAST64): Likewise.
21449 [C99-based-standards] (SCNdLEAST64): Likewise.
21450 [C99-based-standards] (SCNiLEAST64): Likewise.
21451 [C99-based-standards] (SCNoLEAST64): Likewise.
21452 [C99-based-standards] (SCNuLEAST64): Likewise.
21453 [C99-based-standards] (SCNxLEAST64): Likewise.
21454 [C99-based-standards] (PRIdFAST64): Likewise.
21455 [C99-based-standards] (PRIiFAST64): Likewise.
21456 [C99-based-standards] (PRIoFAST64): Likewise.
21457 [C99-based-standards] (PRIuFAST64): Likewise.
21458 [C99-based-standards] (PRIxFAST64): Likewise.
21459 [C99-based-standards] (PRIXFAST64): Likewise.
21460 [C99-based-standards] (SCNdFAST64): Likewise.
21461 [C99-based-standards] (SCNiFAST64): Likewise.
21462 [C99-based-standards] (SCNoFAST64): Likewise.
21463 [C99-based-standards] (SCNuFAST64): Likewise.
21464 [C99-based-standards] (SCNxFAST64): Likewise.
21465 [C99-based-standards] (PRIdMAX): Likewise.
21466 [C99-based-standards] (PRIiMAX): Likewise.
21467 [C99-based-standards] (PRIoMAX): Likewise.
21468 [C99-based-standards] (PRIuMAX): Likewise.
21469 [C99-based-standards] (PRIxMAX): Likewise.
21470 [C99-based-standards] (PRIXMAX): Likewise.
21471 [C99-based-standards] (SCNdMAX): Likewise.
21472 [C99-based-standards] (SCNiMAX): Likewise.
21473 [C99-based-standards] (SCNoMAX): Likewise.
21474 [C99-based-standards] (SCNuMAX): Likewise.
21475 [C99-based-standards] (SCNxMAX): Likewise.
21476 [C99-based-standards] (PRIdPTR): Likewise.
21477 [C99-based-standards] (PRIiPTR): Likewise.
21478 [C99-based-standards] (PRIoPTR): Likewise.
21479 [C99-based-standards] (PRIuPTR): Likewise.
21480 [C99-based-standards] (PRIxPTR): Likewise.
21481 [C99-based-standards] (PRIXPTR): Likewise.
21482 [C99-based-standards] (SCNdPTR): Likewise.
21483 [C99-based-standards] (SCNiPTR): Likewise.
21484 [C99-based-standards] (SCNoPTR): Likewise.
21485 [C99-based-standards] (SCNuPTR): Likewise.
21486 [C99-based-standards] (SCNxPTR): Likewise.
21487 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21488 allow.
21489 * conform/data/stdint.h-data: Update comments to clarify
21490 requirements.
21491 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21492 type.
21493 [C99-based standards] (INT8_MAX): Likewise.
21494 [C99-based standards] (INT16_MIN): Likewise.
21495 [C99-based standards] (INT16_MAX): Likewise.
21496 [C99-based standards] (INT32_MIN): Likewise.
21497 [C99-based standards] (INT32_MAX): Likewise.
21498 [C99-based standards] (INT64_MIN): Likewise.
21499 [C99-based standards] (INT64_MAX): Likewise.
21500 [C99-based standards] (UINT8_MAX): Likewise.
21501 [C99-based standards] (UINT16_MAX): Likewise.
21502 [C99-based standards] (UINT32_MAX): Likewise.
21503 [C99-based standards] (UINT64_MAX): Likewise.
21504 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21505 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21506 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21507 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21508 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21509 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21510 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21511 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21512 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21513 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21514 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21515 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21516 [C99-based standards] (INT_FAST8_MIN): Likewise.
21517 [C99-based standards] (INT_FAST8_MAX): Likewise.
21518 [C99-based standards] (INT_FAST16_MIN): Likewise.
21519 [C99-based standards] (INT_FAST16_MAX): Likewise.
21520 [C99-based standards] (INT_FAST32_MIN): Likewise.
21521 [C99-based standards] (INT_FAST32_MAX): Likewise.
21522 [C99-based standards] (INT_FAST64_MIN): Likewise.
21523 [C99-based standards] (INT_FAST64_MAX): Likewise.
21524 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21525 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21526 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21527 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21528 [C99-based standards] (INTPTR_MIN): Likewise.
21529 [C99-based standards] (INTPTR_MAX): Likewise.
21530 [C99-based standards] (UINTPTR_MAX): Likewise.
21531 [C99-based standards] (INTMAX_MIN): Likewise.
21532 [C99-based standards] (INTMAX_MAX): Likewise.
21533 [C99-based standards] (UINTMAX_MAX): Likewise.
21534 [C99-based standards] (PTRDIFF_MIN): Likewise.
21535 [C99-based standards] (PTRDIFF_MAX): Likewise.
21536 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21537 [C99-based standards] (SIZE_MAX): Likewise.
21538 [C99-based standards] (WCHAR_MAX): Likewise.
21539 [C99-based standards] (WINT_MAX): Likewise.
21540 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21541 constraint on value.
21542 [C99-based standards] (WCHAR_MIN): Likewise.
21543 [C99-based standards] (WINT_MIN): Likewise.
21544 [C99-based standards] (*_t): Allow.
21545 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21546 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21547 Include math.h-data and complex.h-data. Remove all expectations
21548 of math.h and complex.h contents.
21549 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21550 at end of line.
21551 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21552 (struct tm): Expect tag.
21553 [C99-based-standards] (wcstof): Expect function.
21554 [C99-based-standards] (wcstold): Likewise.
21555 [C99-based-standards] (wcstoll): Likewise.
21556 [C99-based-standards] (wcstoull): Likewise.
21557 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21558 macro-int-constant. Specify type.
21559 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21560 constraint on value.
21561 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21562 Specify type.
21563 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21564 Specify value.
21565 [ISO C standards]: Do not allow headers.
21566 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21567 wcs[abcdefghijklmnopqrstuvwxyz]*.
21568 [ISO C standards] (*_t): Do not allow.
21569 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21570 Expect function.
21571 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21572 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21573 Specify type.
21574 [ISO C standards]: Do not allow headers.
21575 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21576 is[abcdefghijklmnopqrstuvwxyz]*.
21577 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21578 to[abcdefghijklmnopqrstuvwxyz]*.
21579 [ISO C standards] (*_t): Do not allow.
21580 * conform/data/stdalign.h-data: New file.
21581 * conform/data/stdbool.h-data: Likewise.
21582 * conform/data/stdnoreturn.h-data: Likewise.
21583
7514feb8
RM
215842012-11-07 Roland McGrath <roland@hack.frob.com>
21585
21586 [BZ #14815]
21587 * manual/filesys.texi (Directory Entries): Typo fix.
21588 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21589
19b2ecfc
MS
215902012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21591
21592 * elf/elf.h (EM_AARCH64): New macro.
21593 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21594 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21595 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21596 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21597 (R_AARCH64_TLSDESC): Likewise.
21598 (NT_ARM_TLS): Likewise.
21599 (NT_ARM_HW_BREAK): Likewise.
21600 (NT_ARM_HW_WATCH): Likewise.
21601
60e235ee
JM
216022012-11-07 Joseph Myers <joseph@codesourcery.com>
21603
21604 [BZ #14811]
21605 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21606 (__ieee754_powl): Saturate nonzero exponents with absolute value
21607 below 0x1p-79 to +/- 0x1p-79.
21608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21609 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21610 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21611 nonzero exponents with absolute value below 0x1p-32 to +/-
21612 0x1p-32.
21613 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21614 (__ieee754_powl): Saturate nonzero exponents with absolute value
21615 below 0x1p-79 to +/- 0x1p-79.
21616 * math/libm-test.inc (pow_test): Add more tests.
21617
0ab234b7
AK
216182012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21619
21620 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21621 _dl_s390_cap_flags with kernel. Increase string length.
21622 (_dl_s390_platforms): Add z196 and zEC12.
21623
45832f74
JM
216242012-11-07 Joseph Myers <joseph@codesourcery.com>
21625
21626 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21627 Change XOPEN21K to XOPEN2K.
21628
19218757
MK
216292012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21630
21631 * string/memmove.c: Use memcpy when possible.
21632
c5f45721
AJ
216332012-11-06 Andreas Jaeger <aj@suse.de>
21634
21635 * po/eo.po: Update from translation team.
21636
82477c28
JM
216372012-11-06 Joseph Myers <joseph@codesourcery.com>
21638
21639 [BZ #14793]
21640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21641 exponent and small x and y exponents, scale x or y up. Increase
21642 by 2 the exponent used in scaling up.
21643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21645 * math/libm-test.inc (fma_test): Add more tests.
21646 (fma_test_towardzero): Likewise.
21647 (fma_test_downward): Likewise.
21648 (fma_test_upward): Likewise.
21649
99252c8c
JM
216502012-11-05 Joseph Myers <joseph@codesourcery.com>
21651
acfa885f
JM
21652 [BZ #14805]
21653 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21654 fenv_t *.
21655
99252c8c
JM
21656 [BZ #14801]
21657 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21658 namespace for names of struct fields.
21659 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21660 fenv_t fields.
21661 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21662 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21663
d6d98dea
ST
216642012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21665
21666 [BZ #3665]
21667 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21668
e10bb107
TS
216692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21670
21671 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21672 PTR_DEMANGLE.
21673
21674 [BZ #5246]
21675 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21676 PTR_DEMANGLE.
21677
a0c2940d
JM
216782012-11-04 Joseph Myers <joseph@codesourcery.com>
21679
21680 [BZ #14797]
21681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21682 definitely overflow as x * y not x * y + z.
21683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21685 * math/libm-test.inc (fma_test): Add more tests.
21686 (fma_test_towardzero): Likewise.
21687 (fma_test_downward): Likewise.
21688 (fma_test_upward): Likewise.
21689
b830319d
TS
216902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21691
21692 [BZ #157]
21693
21694 * include/stub-tag.h: Remove file.
21695 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21696 '#include' of it.
21697 * manual/maint.texi (Porting): Don't reference it.
21698 * Makerules ($(objpfx)stubs): Likewise.
21699 * dirent/closedir.c: Don't include <stub-tag.h>.
21700 * dirent/dirfd.c: Likewise.
21701 * dirent/fdopendir.c: Likewise.
21702 * dirent/getdents.c: Likewise.
21703 * dirent/getdents64.c: Likewise.
21704 * dirent/opendir.c: Likewise.
21705 * dirent/readdir.c: Likewise.
21706 * dirent/readdir64.c: Likewise.
21707 * dirent/readdir64_r.c: Likewise.
21708 * dirent/readdir_r.c: Likewise.
21709 * dirent/rewinddir.c: Likewise.
21710 * dirent/seekdir.c: Likewise.
21711 * dirent/telldir.c: Likewise.
21712 * gmon/profil.c: Likewise.
21713 * grp/setgroups.c: Likewise.
21714 * inet/if_index.c: Likewise.
21715 * io/access.c: Likewise.
21716 * io/chdir.c: Likewise.
21717 * io/chmod.c: Likewise.
21718 * io/chown.c: Likewise.
21719 * io/close.c: Likewise.
21720 * io/dup.c: Likewise.
21721 * io/dup2.c: Likewise.
21722 * io/dup3.c: Likewise.
21723 * io/euidaccess.c: Likewise.
21724 * io/faccessat.c: Likewise.
21725 * io/fchdir.c: Likewise.
21726 * io/fchmod.c: Likewise.
21727 * io/fchmodat.c: Likewise.
21728 * io/fchown.c: Likewise.
21729 * io/fchownat.c: Likewise.
21730 * io/fcntl.c: Likewise.
21731 * io/flock.c: Likewise.
21732 * io/fstatfs.c: Likewise.
21733 * io/fstatfs64.c: Likewise.
21734 * io/fstatvfs.c: Likewise.
21735 * io/fstatvfs64.c: Likewise.
21736 * io/futimens.c: Likewise.
21737 * io/fxstat.c: Likewise.
21738 * io/fxstat64.c: Likewise.
21739 * io/fxstatat.c: Likewise.
21740 * io/fxstatat64.c: Likewise.
21741 * io/getcwd.c: Likewise.
21742 * io/isatty.c: Likewise.
21743 * io/lchmod.c: Likewise.
21744 * io/lchown.c: Likewise.
21745 * io/link.c: Likewise.
21746 * io/linkat.c: Likewise.
21747 * io/lseek.c: Likewise.
21748 * io/lseek64.c: Likewise.
21749 * io/lxstat64.c: Likewise.
21750 * io/mkdir.c: Likewise.
21751 * io/mkdirat.c: Likewise.
21752 * io/mkfifo.c: Likewise.
21753 * io/mkfifoat.c: Likewise.
21754 * io/open.c: Likewise.
21755 * io/open64.c: Likewise.
21756 * io/openat.c: Likewise.
21757 * io/openat64.c: Likewise.
21758 * io/pipe.c: Likewise.
21759 * io/pipe2.c: Likewise.
21760 * io/poll.c: Likewise.
21761 * io/posix_fadvise.c: Likewise.
21762 * io/posix_fadvise64.c: Likewise.
21763 * io/posix_fallocate.c: Likewise.
21764 * io/posix_fallocate64.c: Likewise.
21765 * io/read.c: Likewise.
21766 * io/readlink.c: Likewise.
21767 * io/readlinkat.c: Likewise.
21768 * io/rmdir.c: Likewise.
21769 * io/sendfile.c: Likewise.
21770 * io/sendfile64.c: Likewise.
21771 * io/statfs.c: Likewise.
21772 * io/statfs64.c: Likewise.
21773 * io/statvfs.c: Likewise.
21774 * io/statvfs64.c: Likewise.
21775 * io/symlink.c: Likewise.
21776 * io/symlinkat.c: Likewise.
21777 * io/ttyname.c: Likewise.
21778 * io/ttyname_r.c: Likewise.
21779 * io/umask.c: Likewise.
21780 * io/unlink.c: Likewise.
21781 * io/unlinkat.c: Likewise.
21782 * io/utime.c: Likewise.
21783 * io/utimensat.c: Likewise.
21784 * io/write.c: Likewise.
21785 * io/xmknod.c: Likewise.
21786 * io/xmknodat.c: Likewise.
21787 * io/xstat.c: Likewise.
21788 * io/xstat64.c: Likewise.
21789 * login/getpt.c: Likewise.
21790 * login/grantpt.c: Likewise.
21791 * login/unlockpt.c: Likewise.
21792 * math/e_acoshl.c: Likewise.
21793 * math/e_acosl.c: Likewise.
21794 * math/e_asinl.c: Likewise.
21795 * math/e_atan2l.c: Likewise.
21796 * math/e_atanhl.c: Likewise.
21797 * math/e_coshl.c: Likewise.
21798 * math/e_expl.c: Likewise.
21799 * math/e_fmodl.c: Likewise.
21800 * math/e_gammal_r.c: Likewise.
21801 * math/e_hypotl.c: Likewise.
21802 * math/e_j0l.c: Likewise.
21803 * math/e_j1l.c: Likewise.
21804 * math/e_jnl.c: Likewise.
21805 * math/e_lgammal_r.c: Likewise.
21806 * math/e_log10l.c: Likewise.
21807 * math/e_log2l.c: Likewise.
21808 * math/e_logl.c: Likewise.
21809 * math/e_powl.c: Likewise.
21810 * math/e_rem_pio2l.c: Likewise.
21811 * math/e_sinhl.c: Likewise.
21812 * math/e_sqrtl.c: Likewise.
21813 * math/fclrexcpt.c: Likewise.
21814 * math/fedisblxcpt.c: Likewise.
21815 * math/feenablxcpt.c: Likewise.
21816 * math/fegetenv.c: Likewise.
21817 * math/fegetexcept.c: Likewise.
21818 * math/fegetround.c: Likewise.
21819 * math/feholdexcpt.c: Likewise.
21820 * math/fesetenv.c: Likewise.
21821 * math/fesetround.c: Likewise.
21822 * math/feupdateenv.c: Likewise.
21823 * math/fgetexcptflg.c: Likewise.
21824 * math/fraiseexcpt.c: Likewise.
21825 * math/fsetexcptflg.c: Likewise.
21826 * math/ftestexcept.c: Likewise.
21827 * math/k_cosl.c: Likewise.
21828 * math/k_rem_pio2l.c: Likewise.
21829 * math/k_sinl.c: Likewise.
21830 * math/k_tanl.c: Likewise.
21831 * math/s_asinhl.c: Likewise.
21832 * math/s_atanl.c: Likewise.
21833 * math/s_cbrtl.c: Likewise.
21834 * math/s_erfl.c: Likewise.
21835 * math/s_expm1l.c: Likewise.
21836 * math/s_log1pl.c: Likewise.
21837 * math/s_tanhl.c: Likewise.
21838 * misc/acct.c: Likewise.
21839 * misc/brk.c: Likewise.
21840 * misc/chflags.c: Likewise.
21841 * misc/chroot.c: Likewise.
21842 * misc/fchflags.c: Likewise.
21843 * misc/fgetxattr.c: Likewise.
21844 * misc/flistxattr.c: Likewise.
21845 * misc/fremovexattr.c: Likewise.
21846 * misc/fsetxattr.c: Likewise.
21847 * misc/fsync.c: Likewise.
21848 * misc/ftruncate.c: Likewise.
21849 * misc/futimes.c: Likewise.
21850 * misc/futimesat.c: Likewise.
21851 * misc/getdomain.c: Likewise.
21852 * misc/getdtsz.c: Likewise.
21853 * misc/gethostid.c: Likewise.
21854 * misc/gethostname.c: Likewise.
21855 * misc/getloadavg.c: Likewise.
21856 * misc/getpagesize.c: Likewise.
21857 * misc/getsysstats.c: Likewise.
21858 * misc/getxattr.c: Likewise.
21859 * misc/gtty.c: Likewise.
21860 * misc/ioctl.c: Likewise.
21861 * misc/lgetxattr.c: Likewise.
21862 * misc/listxattr.c: Likewise.
21863 * misc/llistxattr.c: Likewise.
21864 * misc/lremovexattr.c: Likewise.
21865 * misc/lsetxattr.c: Likewise.
21866 * misc/lutimes.c: Likewise.
21867 * misc/madvise.c: Likewise.
21868 * misc/mincore.c: Likewise.
21869 * misc/mlock.c: Likewise.
21870 * misc/mlockall.c: Likewise.
21871 * misc/mmap.c: Likewise.
21872 * misc/mprotect.c: Likewise.
21873 * misc/msync.c: Likewise.
21874 * misc/munlock.c: Likewise.
21875 * misc/munlockall.c: Likewise.
21876 * misc/munmap.c: Likewise.
21877 * misc/preadv.c: Likewise.
21878 * misc/preadv64.c: Likewise.
21879 * misc/ptrace.c: Likewise.
21880 * misc/pwritev.c: Likewise.
21881 * misc/pwritev64.c: Likewise.
21882 * misc/readv.c: Likewise.
21883 * misc/reboot.c: Likewise.
21884 * misc/remap_file_pages.c: Likewise.
21885 * misc/removexattr.c: Likewise.
21886 * misc/revoke.c: Likewise.
21887 * misc/select.c: Likewise.
21888 * misc/setdomain.c: Likewise.
21889 * misc/setegid.c: Likewise.
21890 * misc/seteuid.c: Likewise.
21891 * misc/sethostid.c: Likewise.
21892 * misc/sethostname.c: Likewise.
21893 * misc/setregid.c: Likewise.
21894 * misc/setreuid.c: Likewise.
21895 * misc/setxattr.c: Likewise.
21896 * misc/sstk.c: Likewise.
21897 * misc/stty.c: Likewise.
21898 * misc/swapoff.c: Likewise.
21899 * misc/swapon.c: Likewise.
21900 * misc/sync.c: Likewise.
21901 * misc/syncfs.c: Likewise.
21902 * misc/syscall.c: Likewise.
21903 * misc/truncate.c: Likewise.
21904 * misc/ualarm.c: Likewise.
21905 * misc/usleep.c: Likewise.
21906 * misc/ustat.c: Likewise.
21907 * misc/utimes.c: Likewise.
21908 * misc/vhangup.c: Likewise.
21909 * misc/writev.c: Likewise.
21910 * posix/_exit.c: Likewise.
21911 * posix/alarm.c: Likewise.
21912 * posix/execve.c: Likewise.
21913 * posix/fexecve.c: Likewise.
21914 * posix/fork.c: Likewise.
21915 * posix/fpathconf.c: Likewise.
21916 * posix/getaddrinfo.c: Likewise.
21917 * posix/getegid.c: Likewise.
21918 * posix/geteuid.c: Likewise.
21919 * posix/getgid.c: Likewise.
21920 * posix/getgroups.c: Likewise.
21921 * posix/getlogin.c: Likewise.
21922 * posix/getlogin_r.c: Likewise.
21923 * posix/getpgid.c: Likewise.
21924 * posix/getpid.c: Likewise.
21925 * posix/getppid.c: Likewise.
21926 * posix/getresgid.c: Likewise.
21927 * posix/getresuid.c: Likewise.
21928 * posix/getsid.c: Likewise.
21929 * posix/getuid.c: Likewise.
21930 * posix/glob64.c: Likewise.
21931 * posix/nanosleep.c: Likewise.
21932 * posix/pathconf.c: Likewise.
21933 * posix/pause.c: Likewise.
21934 * posix/posix_madvise.c: Likewise.
21935 * posix/pread.c: Likewise.
21936 * posix/pread64.c: Likewise.
21937 * posix/pwrite.c: Likewise.
21938 * posix/pwrite64.c: Likewise.
21939 * posix/sched_getaffinity.c: Likewise.
21940 * posix/sched_getp.c: Likewise.
21941 * posix/sched_gets.c: Likewise.
21942 * posix/sched_primax.c: Likewise.
21943 * posix/sched_primin.c: Likewise.
21944 * posix/sched_rr_gi.c: Likewise.
21945 * posix/sched_setaffinity.c: Likewise.
21946 * posix/sched_setp.c: Likewise.
21947 * posix/sched_sets.c: Likewise.
21948 * posix/sched_yield.c: Likewise.
21949 * posix/setgid.c: Likewise.
21950 * posix/setlogin.c: Likewise.
21951 * posix/setpgid.c: Likewise.
21952 * posix/setresgid.c: Likewise.
21953 * posix/setresuid.c: Likewise.
21954 * posix/setsid.c: Likewise.
21955 * posix/setuid.c: Likewise.
21956 * posix/sleep.c: Likewise.
21957 * posix/spawni.c: Likewise.
21958 * posix/sysconf.c: Likewise.
21959 * posix/times.c: Likewise.
21960 * posix/wait.c: Likewise.
21961 * posix/wait3.c: Likewise.
21962 * posix/wait4.c: Likewise.
21963 * posix/waitpid.c: Likewise.
21964 * resolv/gai_sigqueue.c: Likewise.
21965 * resource/getpriority.c: Likewise.
21966 * resource/getrlimit.c: Likewise.
21967 * resource/getrusage.c: Likewise.
21968 * resource/nice.c: Likewise.
21969 * resource/setpriority.c: Likewise.
21970 * resource/setrlimit.c: Likewise.
21971 * resource/ulimit.c: Likewise.
21972 * rt/aio_cancel.c: Likewise.
21973 * rt/aio_fsync.c: Likewise.
21974 * rt/aio_read.c: Likewise.
21975 * rt/aio_sigqueue.c: Likewise.
21976 * rt/aio_suspend.c: Likewise.
21977 * rt/aio_write.c: Likewise.
21978 * rt/clock_getres.c: Likewise.
21979 * rt/clock_gettime.c: Likewise.
21980 * rt/clock_nanosleep.c: Likewise.
21981 * rt/clock_settime.c: Likewise.
21982 * rt/lio_listio.c: Likewise.
21983 * rt/mq_close.c: Likewise.
21984 * rt/mq_getattr.c: Likewise.
21985 * rt/mq_notify.c: Likewise.
21986 * rt/mq_open.c: Likewise.
21987 * rt/mq_receive.c: Likewise.
21988 * rt/mq_send.c: Likewise.
21989 * rt/mq_setattr.c: Likewise.
21990 * rt/mq_timedreceive.c: Likewise.
21991 * rt/mq_timedsend.c: Likewise.
21992 * rt/mq_unlink.c: Likewise.
21993 * rt/shm_open.c: Likewise.
21994 * rt/shm_unlink.c: Likewise.
21995 * rt/timer_create.c: Likewise.
21996 * rt/timer_delete.c: Likewise.
21997 * rt/timer_getoverr.c: Likewise.
21998 * rt/timer_gettime.c: Likewise.
21999 * rt/timer_settime.c: Likewise.
22000 * setjmp/__longjmp.c: Likewise.
22001 * setjmp/setjmp.c: Likewise.
22002 * signal/kill.c: Likewise.
22003 * signal/killpg.c: Likewise.
22004 * signal/raise.c: Likewise.
22005 * signal/sigaction.c: Likewise.
22006 * signal/sigaltstack.c: Likewise.
22007 * signal/sigblock.c: Likewise.
22008 * signal/sigignore.c: Likewise.
22009 * signal/sigintr.c: Likewise.
22010 * signal/signal.c: Likewise.
22011 * signal/sigpause.c: Likewise.
22012 * signal/sigpending.c: Likewise.
22013 * signal/sigqueue.c: Likewise.
22014 * signal/sigreturn.c: Likewise.
22015 * signal/sigset.c: Likewise.
22016 * signal/sigsetmask.c: Likewise.
22017 * signal/sigstack.c: Likewise.
22018 * signal/sigsuspend.c: Likewise.
22019 * signal/sigtimedwait.c: Likewise.
22020 * signal/sigvec.c: Likewise.
22021 * signal/sigwait.c: Likewise.
22022 * signal/sigwaitinfo.c: Likewise.
22023 * signal/sysv_signal.c: Likewise.
22024 * socket/accept.c: Likewise.
22025 * socket/accept4.c: Likewise.
22026 * socket/bind.c: Likewise.
22027 * socket/connect.c: Likewise.
22028 * socket/getpeername.c: Likewise.
22029 * socket/getsockname.c: Likewise.
22030 * socket/getsockopt.c: Likewise.
22031 * socket/isfdtype.c: Likewise.
22032 * socket/listen.c: Likewise.
22033 * socket/recv.c: Likewise.
22034 * socket/recvfrom.c: Likewise.
22035 * socket/recvmsg.c: Likewise.
22036 * socket/send.c: Likewise.
22037 * socket/sendmsg.c: Likewise.
22038 * socket/sendto.c: Likewise.
22039 * socket/setsockopt.c: Likewise.
22040 * socket/shutdown.c: Likewise.
22041 * socket/sockatmark.c: Likewise.
22042 * socket/socket.c: Likewise.
22043 * socket/socketpair.c: Likewise.
22044 * stdio-common/ctermid.c: Likewise.
22045 * stdio-common/cuserid.c: Likewise.
22046 * stdio-common/remove.c: Likewise.
22047 * stdio-common/rename.c: Likewise.
22048 * stdio-common/renameat.c: Likewise.
22049 * stdio-common/tempname.c: Likewise.
22050 * stdlib/getcontext.c: Likewise.
22051 * stdlib/makecontext.c: Likewise.
22052 * stdlib/setcontext.c: Likewise.
22053 * stdlib/swapcontext.c: Likewise.
22054 * stdlib/system.c: Likewise.
22055 * streams/fattach.c: Likewise.
22056 * streams/fdetach.c: Likewise.
22057 * streams/getmsg.c: Likewise.
22058 * streams/getpmsg.c: Likewise.
22059 * streams/putmsg.c: Likewise.
22060 * streams/putpmsg.c: Likewise.
22061 * sysdeps/unix/bsd/getpt.c: Likewise.
22062 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22063 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22064 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22066 Likewise.
22067 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22068 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22069 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22070 * sysvipc/msgctl.c: Likewise.
22071 * sysvipc/msgget.c: Likewise.
22072 * sysvipc/msgrcv.c: Likewise.
22073 * sysvipc/msgsnd.c: Likewise.
22074 * sysvipc/semctl.c: Likewise.
22075 * sysvipc/semget.c: Likewise.
22076 * sysvipc/semop.c: Likewise.
22077 * sysvipc/semtimedop.c: Likewise.
22078 * sysvipc/shmat.c: Likewise.
22079 * sysvipc/shmctl.c: Likewise.
22080 * sysvipc/shmdt.c: Likewise.
22081 * sysvipc/shmget.c: Likewise.
22082 * termios/tcdrain.c: Likewise.
22083 * termios/tcflow.c: Likewise.
22084 * termios/tcflush.c: Likewise.
22085 * termios/tcgetattr.c: Likewise.
22086 * termios/tcgetpgrp.c: Likewise.
22087 * termios/tcsendbrk.c: Likewise.
22088 * termios/tcsetattr.c: Likewise.
22089 * termios/tcsetpgrp.c: Likewise.
22090 * time/adjtime.c: Likewise.
22091 * time/clock.c: Likewise.
22092 * time/getitimer.c: Likewise.
22093 * time/gettimeofday.c: Likewise.
22094 * time/setitimer.c: Likewise.
22095 * time/settimeofday.c: Likewise.
22096 * time/stime.c: Likewise.
22097 * time/time.c: Likewise.
22098
220992012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22100
a20492cf
PT
22101 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22102 /usr/old/bin.
22103
72e182e3
PT
22104 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22105 instead of spaces.
22106 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22107
fbeafede
JM
221082012-11-03 Joseph Myers <joseph@codesourcery.com>
22109
5b5b04d6
JM
22110 [BZ #14796]
22111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22112 FE_TONEAREST before applying Dekker multiplication and Knuth
22113 addition. Clear inexact exceptions and check for exact zero
22114 results afterwards.
22115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22116 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22118 * math/libm-test.inc (fma_test): Add more tests.
22119 (fma_test_towardzero): Likewise.
22120 (fma_test_downward): Likewise.
22121 (fma_test_upward): Likewise.
22122 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22123 function.
22124 (libc_fesetround): New macro.
22125 (libc_fesetroundf): Likewise.
22126 (libc_fesetroundl): Likewise.
22127 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22128 function.
22129 (libc_fesetround_387): Likewise.
22130 (libc_fesetroundf): New macro.
22131 (libc_fesetround): Likewise.
22132 (libc_fesetroundl): Likewise.
22133 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22134 function.
22135 (libc_fesetroundf): New macro.
22136 (libc_fesetround): Likewise.
22137 (libc_fesetroundl): Likewise.
22138 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22139 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22140 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22141 libm_hidden_ver.
22142 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22143 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22144 libm_hidden_def.
22145 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22146 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22147 libm_hidden_ver.
22148 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22149 libm_hidden_def.
22150
fbeafede
JM
22151 [BZ #3439]
22152 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22153 integer constant usable in #if and use that to give value to enum
22154 constant.
22155 (FE_DIVBYZERO): Likewise.
22156 (FE_UNDERFLOW): Likewise.
22157 (FE_OVERFLOW): Likewise.
22158 (FE_INVALID): Likewise.
22159 (FE_INVALID_SNAN): Likewise.
22160 (FE_INVALID_ISI): Likewise.
22161 (FE_INVALID_IDI): Likewise.
22162 (FE_INVALID_ZDZ): Likewise.
22163 (FE_INVALID_IMZ): Likewise.
22164 (FE_INVALID_COMPARE): Likewise.
22165 (FE_INVALID_SOFTWARE): Likewise.
22166 (FE_INVALID_SQRT): Likewise.
22167 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22168 (FE_TONEAREST): Likewise.
22169 (FE_TOWARDZERO): Likewise.
22170 (FE_UPWARD): Likewise.
22171 (FE_DOWNWARD): Likewise.
22172 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22173 (FE_DIVBYZERO): Likewise.
22174 (FE_OVERFLOW): Likewise.
22175 (FE_UNDERFLOW): Likewise.
22176 (FE_INEXACT): Likewise.
22177 (FE_TONEAREST): Likewise.
22178 (FE_DOWNWARD): Likewise.
22179 (FE_UPWARD): Likewise.
22180 (FE_TOWARDZERO): Likewise.
22181 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22182 (FE_UNDERFLOW): Likewise.
22183 (FE_OVERFLOW): Likewise.
22184 (FE_DIVBYZERO): Likewise.
22185 (FE_INVALID): Likewise.
22186 (FE_TONEAREST): Likewise.
22187 (FE_TOWARDZERO): Likewise.
22188 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22189 (FE_OVERFLOW): Likewise.
22190 (FE_UNDERFLOW): Likewise.
22191 (FE_DIVBYZERO): Likewise.
22192 (FE_INEXACT): Likewise.
22193 (FE_TONEAREST): Likewise.
22194 (FE_TOWARDZERO): Likewise.
22195 (FE_UPWARD): Likewise.
22196 (FE_DOWNWARD): Likewise.
22197 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22198 (FE_DIVBYZERO): Likewise.
22199 (FE_OVERFLOW): Likewise.
22200 (FE_UNDERFLOW): Likewise.
22201 (FE_INEXACT): Likewise.
22202 (FE_TONEAREST): Likewise.
22203 (FE_DOWNWARD): Likewise.
22204 (FE_UPWARD): Likewise.
22205 (FE_TOWARDZERO): Likewise.
22206
105ca950
CM
222072012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22208
22209 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22210
a542b389
AS
222112012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22212
22213 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22214 commands. Quote $PWD.
22215 (blacklist_exports): Don't use remove_newlines. Replace "declare
22216 -x" by "export".
22217 (remove_newlines): Remove.
22218
f62c8abc
L
222192012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22220
22221 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22222 * stdlib/stdlib.h (atof): Moved to ...
22223 * include/bits/stdlib-float.h: Here. New file.
22224 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22225 * stdlib/bits/stdlib-float.h: New file.
22226 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22227 -mno-sse -mno-mmx.
22228 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22229 <xmmintrin.h>.
22230
0155d5b2
JM
222312012-11-02 Joseph Myers <joseph@codesourcery.com>
22232
a68d0680
JM
22233 * conform/conformtest.pl (@headers): Add fenv.h.
22234 * conform/data/fenv.h-data: New file.
22235 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22236 include of <math/fenv.h>.
22237
caf7f573
JM
22238 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22239 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22240 && !UNIX98]. Enables tests for XOPEN2K8.
22241 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22242 POSIX2008]: Likewise.
22243
6c073ad6
JM
22244 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22245 (struct rusage): Do not expect type or its members.
22246
0155d5b2
JM
22247 [BZ #3439]
22248 * math/math.h (FP_NAN): Define macro to integer constant usable in
22249 #if and use that to give value to enum constant.
22250 (FP_INFINITE): Likewise.
22251 (FP_ZERO): Likewise.
22252 (FP_SUBNORMAL): Likewise.
22253 (FP_NORMAL): Likewise.
22254
b5dcacb4
AS
222552012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22256
22257 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22258 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22259 arguments.
22260
f7934be8
RM
222612012-11-02 Roland McGrath <roland@hack.frob.com>
22262
22263 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22264 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22265 autoconf-time if not.
22266 * configure.in: Remove AC_PREREQ.
22267
d7d08bde
TMQMF
222682012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22269
22270 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22271 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22272 of the internal implementation.
22273
dcdae19a
JM
222742012-11-02 Joseph Myers <joseph@codesourcery.com>
22275
22276 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22277 except include of <misc/sys/syslog.h>.
22278
d6cffd3e
AS
222792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22280
22281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22282 function returns with a NULL context exit with zero.
22283
b3563932
TMQMF
222842012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22285
22286 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22287
b288a93d
L
222882012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22289
22290 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22291 (run_program_cmd): This.
22292 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22293 (tst_langinfo): New variable. Use it.
22294
a2421a68
SAS
222952012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22296
22297 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22298 floating point opcodes.
22299
6f796e1b
TS
223002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22301
7402596b
TS
22302 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22303 variable.
22304
d0d4f868
TS
22305 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22306
6f796e1b
TS
22307 * sysdeps/mach/hurd/powerpc: Remove directory.
22308 * sysdeps/mach/powerpc: Likewise.
22309
4da224a2
AS
223102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22311
22312 * scripts/check-local-headers.sh: Ignore c++ headers.
22313
341dd673
TS
223142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22315
22316 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22317 __libc_cleanup_region_start argument.
22318
473611b2
JM
223192012-11-01 Joseph Myers <joseph@codesourcery.com>
22320
22321 [BZ #14784]
22322 [BZ #14785]
22323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22324 x * y using scaling, not as x * y + z.
22325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22326 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22327 * math/libm-test.inc (fma_test): Add more tests.
22328 (fma_test_towardzero): Likewise.
22329 (fma_test_downward): Likewise.
22330 (fma_test_upward): Likewise.
22331
4078da3d
TS
223322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22333
22334 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22335
903252aa
JM
223362012-10-31 Joseph Myers <joseph@codesourcery.com>
22337
22338 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22339 New variable.
22340
cbc818d0
TS
223412012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22342
22343 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22344
5a03cb1e
AS
223452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22346
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22348 Fix sort order.
22349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22350 Likewise.
22351
90aff2ff
TMQMF
223522012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22353
22354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22355 Fix the order of the list for glibc 2.17.
22356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22357 Likewise.
22358
1818fcb7
AS
223592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22360
22361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22362
ef82f4da
JM
223632012-10-31 Joseph Myers <joseph@codesourcery.com>
22364
16a0e2ec
JM
22365 [BZ #14610]
22366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22367 for low part of x being zero before using __atanl (y).
22368 * math/libm-test.inc (atan2_test): Add another test.
22369
0eb69512
JM
22370 * manual/install.texi (Configuring and compiling): Document
22371 general use of test-wrapper and test-wrapper-env.
22372 * INSTALL: Regenerated.
22373
ef82f4da
JM
22374 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22375 (__fma): Do not extract and scale down low bits on after-rounding
22376 systems when result rounded to normal precision would have normal
22377 exponent.
22378 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22379 (__fmal): Do not extract and scale down low bits on after-rounding
22380 systems when result rounded to normal precision would have normal
22381 exponent.
22382 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22383 (__fmal): Do not extract and scale down low bits on after-rounding
22384 systems when result rounded to normal precision would have normal
22385 exponent.
22386 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22387 macro.
22388 (fma_test): Add more tests.
22389 (fma_test_towardzero): Likewise.
22390 (fma_test_downward): Likewise.
22391 (fma_test_upward): Likewise.
22392
954ef0d9
L
223932012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22394
22395 * sysdeps/i386/tininess.h: Renamed to ...
22396 * sysdeps/x86/tininess.h: This.
22397 * sysdeps/x86_64/tininess.h: Removed.
22398
df61ffb2
JM
223992012-10-30 Joseph Myers <joseph@codesourcery.com>
22400
22401 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22402 input. Use $(build-program-cmd).
22403 ($(objpfx)tst-array1-static.out): Likewise.
22404 ($(objpfx)tst-array2.out): Likewise.
22405 ($(objpfx)tst-array3.out): Likewise.
22406 ($(objpfx)tst-array4.out): Likewise.
22407 ($(objpfx)tst-array5.out): Likewise.
22408 ($(objpfx)tst-array5-static.out): Likewise.
22409
01767843
CM
224102012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22411
47cc1490
CM
22412 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22413 if defined.
22414
01767843
CM
22415 * nss/nsswitch.h (nss_interface_function): Provide new
22416 macro for use with NSS functions.
22417 * grp/initgroups.c: Use new macro.
22418 * nss/getXXbyYY.c: Likewise.
22419 * nss/getXXbyYY_r.c: Likewise.
22420 * nss/getXXent.c: Likewise.
22421 * nss/getXXent_r.c: Likewise.
22422 * sysdeps/posix/getaddrinfo.c: Likewise.
22423
8321aa97
AJ
224242012-10-30 Andreas Jaeger <aj@suse.de>
22425
22426 * po/ru.po: Update Russion translation from translation project.
22427
2a27fd6d
JM
224282012-10-30 Joseph Myers <joseph@codesourcery.com>
22429
8627a232
JM
22430 [BZ #14152]
22431 [BZ #14783]
22432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22433 result and shift together with sticky bit instead of replicating
22434 round-to-nearest rounding.
22435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22437 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22438 missing underflow exceptions.
22439 (fma_test_towardzero): Add more tests.
22440 (fma_test_downward): Likewise.
22441 (fma_test_upward): Likewise.
22442
2a27fd6d
JM
22443 [BZ #14047]
22444 * sysdeps/generic/tininess.h: New file.
22445 * sysdeps/i386/tininess.h: Likewise.
22446 * sysdeps/sh/tininess.h: Likewise.
22447 * sysdeps/x86_64/tininess.h: Likewise.
22448 * stdlib/tst-strtod-underflow.c: Likewise.
22449 * stdlib/tst-tininess.c: Likewise.
22450 * stdlib/strtod_l.c: Include <tininess.h>.
22451 (round_and_return): Do not set errno for exact underflow cases.
22452 Force an underflow exception when setting errno for underflow.
22453 Determine underflow based on rounding to normal precision if
22454 TININESS_AFTER_ROUNDING.
22455 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22456 ERANGE for exact underflow cases.
22457 * stdlib/Makefile (tests): Add tst-tininess and
22458 tst-strtod-underflow.
22459 ($(objpfx)tst-tininess): Use $(link-libm).
22460 ($(objpfx)tst-strtod-underflow): Likewise.
22461
e7170363
AJ
224622012-10-30 Andreas Jaeger <aj@suse.de>
22463
e5088dc6
AJ
22464 [BZ#14767]
22465 * elf/Makefile (tests): Remove conditional for have-initfini-array
22466 since this is now always required and the variable does not exist
22467 anymore.
22468 (tests-static): Likewise.
22469 (modules-names): Likewise.
22470
e7170363 22471 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22472
22473 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22474 merged with constructor/destructor.
22475 (init_array): Likewise.
22476 * elf/tst-array2dep.c (fini_array): Likewise.
22477 (init_array): Likewise.
22478
60457d8a
MF
224792012-10-29 Mike Frysinger <vapier@gentoo.org>
22480
22481 * manual/message.texi: Delete @cartouche tags.
22482
8bece752
PT
224832012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22484
94ce799f
PT
22485 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22486 EOPNOTSUPP.
22487 * sysdeps/mach/hurd/fsync.c: Likewise.
22488
8bece752
PT
22489 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22490 [_POSIX_REALTIME_SIGNALS]: Change condition to
22491 [_POSIX_REALTIME_SIGNALS > 0].
22492
86ebe6b1
AJ
224932012-10-27 Andreas Jaeger <aj@suse.de>
22494
22495 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22496 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22498 [__WORDSIZE != 64]: Likewise.
22499
54399c08
L
225002012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22501
22502 * iconvdata/tst-table.sh: Remove ${SHELL}.
22503 * iconvdata/tst-tables.sh: Likewise.
22504
e2211bed
DM
225052012-10-25 David S. Miller <davem@davemloft.net>
22506
22507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22508 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22509 of strtoull.
22510
f303f97c
DM
22511 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22512 ifunc-impl-list.c
22513 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22514 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22515 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22516 file.
22517
1e9d84cd
RM
225182012-10-25 Roland McGrath <roland@hack.frob.com>
22519
22520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22521 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22522 __getdirentries.
22523
df381762
JM
225242012-10-25 Joseph Myers <joseph@codesourcery.com>
22525 Jim Blandy <jimb@codesourcery.com>
22526
22527 * scripts/cross-test-ssh.sh: New file.
22528 * manual/install.texi (Configuring and compiling): Document use of
22529 cross-test-ssh.sh.
22530 * INSTALL: Regenerated.
22531
bff64913
PT
225322012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22533
22534 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22535 EOPNOTSUPP.
22536
25fe8932
JM
225372012-10-25 Joseph Myers <joseph@codesourcery.com>
22538
22539 * Makeconfig (run-program-prefix): Fix comment.
22540
cc1290d0
JM
225412012-10-24 Joseph Myers <joseph@codesourcery.com>
22542 Jim Blandy <jimb@codesourcery.com>
22543
22544 * Makeconfig (test-wrapper): New variable,
22545 (test-wrapper-env): Likewise.
22546 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22547 (run-built-tests): Define to yes.
22548 (run-program-prefix): Use $(test-wrapper).
22549 (built-program-cmd): Likewise.
22550 * Rules (make-test-out): Use $(test-wrapper-env) and
22551 $(host-built-program-cmd).
22552 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22553 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22554 tst-pathopt.sh.
22555 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22556 $(test-wrapper-env) to tst-rtld-load-self.sh.
22557 ($(objpfx)order2.out): Use $(test-wrapper).
22558 ($(objpfx)tst-initorder.out): Likewise.
22559 ($(objpfx)tst-initorder2.out): Likewise.
22560 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22561 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22562 (test_wrapper_env): New variable. Use it to run ld.so.
22563 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22564 Use it to run ld.so.
22565 (test_wrapper_env): Likewise.
22566 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22567 $(test-wrapper) to run-iconv-test.sh.
22568 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22569 (ICONV): Use $test_wrapper.
22570 * posix/Makefile ($(objpfx)globtest.out): Pass
22571 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22572 globtest.sh, not $(run-program-prefix).
22573 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22574 (test_wrapper): Likewise.
22575 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22576 set together with run_via_rtld_prefix.
22577 (run_program_prefix): Define in terms of test_wrapper and
22578 run_via_rtld_prefix.
22579
6e6249d0
RM
225802012-10-24 Roland McGrath <roland@hack.frob.com>
22581
22582 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22583 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22584 Targets removed.
22585
22586 [BZ #14743]
22587 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22588 Declare __clock_getres, __clock_gettime, __clock_settime,
22589 __clock_nanosleep, and __clock_getcpuclockid.
22590 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22591 Remove librt_hidden_def (clock_gettime).
22592 * sysdeps/unix/clock_gettime.c: Likewise.
22593 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22595 * rt/clock_getres.c: Define __clock_getres as an alias.
22596 * sysdeps/posix/clock_getres.c: Likewise.
22597 * rt/clock_settime.c: Define __clock_settime as an alias.
22598 * sysdeps/unix/clock_settime.c: Likewise.
22599 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22600 * sysdeps/unix/clock_nanosleep.c: Likewise.
22601 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22602 * rt/clock-compat.c: New file.
22603 * rt/Makefile (librt-routines): Add clock-compat and move
22604 $(clock-routines) to ...
22605 (routines): ... here, new variable.
22606 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22607 Don't add get_clockfreq here.
22608 * rt/Versions (libc: GLIBC_2.17): New version set.
22609 Add clock_* symbols here.
22610 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22611 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22612 (GLIBC_2.17): Add clock_* symbols.
22613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22617 Likewise.
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22619 Likewise.
22620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22624 * NEWS: Mention the move.
22625
22626 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22627 Use __open, __read, __close rather than their public counterparts.
22628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22629 (__get_clockfreq_via_cpuinfo): Likewise.
22630 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22631 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22632
22633 * config.h.in (HAVE_IFUNC): New #undef.
22634 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22635 was successful.
22636 * configure: Regenerated.
22637
0cae3f4b
MF
226382012-10-24 Mike Frysinger <vapier@gentoo.org>
22639
22640 * configure.in: Move READELF check to start of file.
22641 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22642 libc_cv_asm_gnu_indirect_function in the process.
22643 * configure: Regenerated.
22644
8175a253
MF
226452012-10-24 Mike Frysinger <vapier@gentoo.org>
22646
22647 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22648 send the output to /dev/null.
22649 (libc_cv_cc_with_libunwind): Likewise.
22650 (libc_cv_as_noexecstack): Likewise.
22651 * configure: Regenerate.
22652
0708a7d1
JM
226532012-10-24 Joseph Myers <joseph@codesourcery.com>
22654
10b40d85
JM
22655 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22656
0708a7d1
JM
22657 * posix/globtest.sh (TMPDIR): Do not set.
22658 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22659 (testout): Likewise.
22660
9fddec1a
AJ
226612012-10-24 Andreas Jaeger <aj@suse.de>
22662
3a8db22f
AJ
22663 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22664 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22665 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22666 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22667 posix_fadvise64, posix_fallocate64.
22668
9fddec1a
AJ
22669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22670 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22671 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22672 Likewise.
22673 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22674 Likewise.
22675 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22676
22677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22678 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22679 <bits/fcntl-linux.h>.
22680 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22681
22682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22683 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22684 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22685 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22686 [__WORDSIZE != 64]: Likewise.
22687
ebfd1bbd
JM
226882012-10-23 Joseph Myers <joseph@codesourcery.com>
22689
03ac099f
JM
22690 * Makeconfig (run-built-tests): New variable.
22691 * Rules [$(cross-compiling) = yes]: Change condition to
22692 [$(run-built-tests) = no].
22693 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22694 to [$(run-built-tests) = yes].
22695 * elf/Makefile [$(cross-compiling) = no]: Likewise
22696 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22697 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22698 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22699 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22700 * io/Makefile [$(cross-compiling) = no]: Likewise.
22701 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22702 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22703 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22704 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22705 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22706 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22707 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22708 * string/Makefile [$(cross-compiling) = no]: Likewise.
22709
ebfd1bbd
JM
22710 * posix/Makefile ($(objpfx)globtest.out): Pass
22711 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22712 $(rtld-installed-name).
22713 * posix/globtest.sh (elf_objpfx): Remove variable.
22714 (rtld_installed_name): Likewise.
22715 (library_path): Likewise.
22716 (run_program_prefix): New variable. Use for running globtest
22717 binary.
22718
166bca24
JB
227192012-10-23 Jim Blandy <jimb@codesourcery.com>
22720 Joseph Myers <joseph@codesourcery.com>
22721
22722 * Makeconfig (host-built-program-cmd): New variable.
22723 * elf/Makefile (tst-stackguard1-ARGS): Use
22724 $(host-built-program-cmd).
22725 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22726 (tst-spawn-ARGS): Likewise.
22727 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22728
88866099
JM
227292012-10-23 Joseph Myers <joseph@codesourcery.com>
22730 Jim Blandy <jimb@codesourcery.com>
22731
22732 * Makeconfig (run-via-rtld-prefix): New variable.
22733 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22734 (built-program-cmd): Likewise.
22735
b4b4c296
AJ
227362012-10-22 Andreas Jaeger <aj@suse.de>
22737
22738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22739 __O_RSYNC if it exists, otherwise to O_SYNC.
22740
6fb54a22
JB
227412012-10-22 Jim Blandy <jimb@codesourcery.com>
22742 Joseph Myers <joseph@codesourcery.com>
22743
22744 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22745 /dev/null.
22746 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22747 from /dev/null
22748 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22749 /dev/null.
22750
481b90b9
AJ
227512012-10-22 Andreas Jaeger <aj@suse.de>
22752
2a0e2669
AJ
22753 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22754 Define always.
22755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22756
76e38f9a
AJ
22757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22758 bits/fcntl-linux.h.
22759
7cd37b43
AJ
22760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22761 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22762
481b90b9
AJ
22763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22764 to __O_LARGEFILE.
22765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22766 to __O_LARGEFILE.
22767
aba75984
JB
227682012-10-21 Jim Blandy <jimb@codesourcery.com>
22769 Joseph Myers <joseph@codesourcery.com>
22770
22771 * config.make.in (NM): New variable.
22772
88d4247f
AJ
227732012-10-21 Andreas Jaeger <aj@suse.de>
22774
22775 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22776 definitions and declarations that are provided by
22777 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22778
f2eed205
L
227792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22780
22781 [BZ #14683]
22782 * elf/Makefile (tests-static): Add tst-leaks1-static.
22783 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22784 ($(objpfx)tst-leaks1-static): New rule.
22785 ($(objpfx)tst-leaks1-static-mem): Likewise.
22786 (tst-leaks1-static-ENV): New macro.
22787 * elf/dl-open.c (dl_open_worker): Check the main application
22788 only if SHARED is defined.
22789 * elf/tst-leaks1-static.c: New file.
22790
335e6931
AJ
227912012-10-20 Andreas Jaeger <aj@suse.de>
22792
22793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22794 generic values for Linux.
22795 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22796 and declarations that are provided by <bits/fcntl-linux.h> and
22797 include <bits/fcntl-linux.h>.
22798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22800
ac5c94d3
RM
228012012-10-20 Roland McGrath <roland@hack.frob.com>
22802
22803 * io/fcntl.h: Move include of <bits/types.h> to the top and
22804 include it unconditionally.
22805
de54b33a
L
228062012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22807
228cfb01
L
22808 * wcsmbs/Makefile (tests-ifunc): New variable.
22809 (tests): Add $(tests-ifunc).
22810 * wcsmbs/test-wcschr-ifunc.c: New file.
22811 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22812 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22813 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22814 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22815 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22816
69f07e5f
L
22817 * string/Makefile (tests-ifunc): New variable.
22818 (tests): Add $(tests-ifunc).
22819 * string/test-memccpy.c (TEST_NAME): New macro.
22820 * string/test-memchr.c (TEST_NAME): Likewise.
22821 * string/test-memcmp.c (TEST_NAME): Likewise.
22822 * string/test-memcpy.c (TEST_NAME): Likewise.
22823 * string/test-memmem.c (TEST_NAME): Likewise.
22824 * string/test-memmove.c (TEST_NAME): Likewise.
22825 * string/test-memset.c (TEST_NAME): Likewise.
22826 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22827 * string/test-stpcpy.c (TEST_NAME): Likewise.
22828 * string/test-stpncpy.c (TEST_NAME): Likewise.
22829 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22830 * string/test-strcasestr.c (TEST_NAME): Likewise.
22831 * string/test-strcat.c (TEST_NAME): Likewise.
22832 * string/test-strchr.c (TEST_NAME): Likewise.
22833 * string/test-strcmp.c(TEST_NAME): Likewise.
22834 * string/test-strcpy.c (TEST_NAME): Likewise.
22835 * string/test-strcspn.c (TEST_NAME): Likewise.
22836 * string/test-strlen.c (TEST_NAME): Likewise.
22837 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22838 * string/test-strncmp.c (TEST_NAME): Likewise.
22839 * string/test-strncpy.c (TEST_NAME): Likewise.
22840 * string/test-strnlen.c (TEST_NAME): Likewise.
22841 * string/test-strpbrk.c (TEST_NAME): Likewise.
22842 * string/test-strrchr.c (TEST_NAME): Likewise.
22843 * string/test-strspn.c (TEST_NAME): Likewise.
22844 * string/test-strstr.c (TEST_NAME): Likewise.
22845 * string/test-bcopy-ifunc.c: New file.
22846 * string/test-bzero-ifunc.c: Likewise.
22847 * string/test-memccpy-ifunc.c: Likewise.
22848 * string/test-memchr-ifunc.c: Likewise.
22849 * string/test-memcmp-ifunc.c: Likewise.
22850 * string/test-memcpy-ifunc.c: Likewise.
22851 * string/test-memmem-ifunc.c: Likewise.
22852 * string/test-memmove-ifunc.c: Likewise.
22853 * string/test-mempcpy-ifunc.c: Likewise.
22854 * string/test-memset-ifunc.c: Likewise.
22855 * string/test-rawmemchr-ifunc.c: Likewise.
22856 * string/test-stpcpy-ifunc.c: Likewise.
22857 * string/test-stpncpy-ifunc.c: Likewise.
22858 * string/test-strcasecmp-ifunc.c: Likewise.
22859 * string/test-strcasestr-ifunc.c: Likewise.
22860 * string/test-strcat-ifunc.c: Likewise.
22861 * string/test-strchr-ifunc.c: Likewise.
22862 * string/test-strchrnul-ifunc.c: Likewise.
22863 * string/test-strcmp-ifunc.c: Likewise.
22864 * string/test-strcpy-ifunc.c: Likewise.
22865 * string/test-strcspn-ifunc.c: Likewise.
22866 * string/test-strlen-ifunc.c: Likewise.
22867 * string/test-strncasecmp-ifunc.c: Likewise.
22868 * string/test-strncat-ifunc.c: Likewise.
22869 * string/test-strncmp-ifunc.c: Likewise.
22870 * string/test-strncpy-ifunc.c: Likewise.
22871 * string/test-strnlen-ifunc.c: Likewise.
22872 * string/test-strpbrk-ifunc.c: Likewise.
22873 * string/test-strrchr-ifunc.c: Likewise.
22874 * string/test-strspn-ifunc.c: Likewise.
22875 * string/test-strstr-ifunc.c: Likewise.
22876
de54b33a
L
22877 * debug/Makefile (tests-ifunc): New variable.
22878 (tests): Add $(tests-ifunc).
22879 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22880 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22881 * debug/test-stpcpy_chk-ifunc.c: New file.
22882 * debug/test-strcpy_chk-ifunc.c: Likewise.
22883
88481c16
SP
228842012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22885
22886 [BZ #13601]
22887 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22888 header is not read in.
22889
135948bd
JM
228902012-10-19 Joseph Myers <joseph@codesourcery.com>
22891
89f1c388
JM
22892 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22893 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22894 directly. Pass built executable to script as
22895 $(built-program-cmd).
22896 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22897 $testprogram without using LD_LIBRARY_PATH and $ldso.
22898
e40a0d21
JM
22899 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22900 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22901 $(rtld-installed-name).
22902 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22903 (rtld_installed_name): Likewise.
22904 (library_path): Likewise.
22905 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22906 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22907 $(run-program-prefix) to tst-tables.sh.
22908 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22909 it to run tst-table-from and tst-table-to.
22910 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22911 Pass it to tst-table.sh.
22912 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22913 $(run-program-prefix) to tst-gettext.sh.
22914 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22915 tst-translit.sh.
22916 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22917 tst-gettext2.sh.
22918 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22919 to run tst-gettext.
22920 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22921 to run tst-gettext2.
22922 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22923 to run tst-translit.
22924 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22925 $(run-program-prefix) to tst-mtrace.sh.
22926 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22927 to run tst-mtrace.
22928 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22929 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22930 $(rtld-installed-name).
22931 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22932 (rtld_installed_name): Likewise.
22933 (run_program_prefix): New variable. Use it to run wordexp-test.
22934
728e272a
JM
22935 * Makeconfig (ARCH): Remove all definitions.
22936 (machine): Likewise.
22937 [ARCH]: Remove conditional code.
22938 [!objdir]: Give error.
22939 [!objdir] (objpfx): Remove.
22940 [!objdir] (common-objpfx): Likewise.
22941 [!objdir] (common-objdir): Likewise.
22942 * configure.in (config_makefile): Remove. Hardcode Makefile in
22943 AC_CONFIG_FILES call.
22944 * configure: Regenerated.
22945
d528cdcf
JM
22946 [BZ #13888]
22947 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22948 or TMPDIR.
22949 (testout): Likewise.
22950
135948bd
JM
22951 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22952 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22953 $(rtld-installed-name).
22954 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22955 (rtld_installed_name): Likwise.
22956 (runit): Remove function.
22957 (run_getconf): New variable, Use it for running getconf binary.
22958
38c78296
L
229592012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22960
22961 [BZ #14716]
22962 * string/test-memmem.c (check_result): New function.
22963 (do_one_test): Use it.
22964 (check1): New function.
22965 (test_main): Use it.
22966
d077f65f
MT
229672012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22968
22969 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22970
ced52c71
JM
229712012-10-18 Joseph Myers <joseph@codesourcery.com>
22972
22973 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22974 (_G_LSEEK64): Likewise.
22975 (_G_MMAP64): Likewise.
22976 (_G_FSTAT64): Likewise.
22977 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22978 (_G_LSEEK64): Likewise.
22979 (_G_MMAP64): Likewise.
22980 (_G_FSTAT64): Likewise.
22981 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22982 unconditional. Call __mmap64 directly.
22983 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22984 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22985 __lseek64 directly.
22986 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22987 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22988 __mmap64 directly.
22989 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22990 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22991 __lseek64 directly.
22992 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22993 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22994 __lseek64 directly.
22995 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22996 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22997 __lseek64 directly.
22998 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22999 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23000 __fxstat64 directly.
23001 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23002 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23003 unconditional.
23004 (freopen64) [!_G_OPEN64]: Remove conditional code.
23005 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23006 unconditional.
23007 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23008 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23009 unconditional.
23010 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23011 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23012 unconditional.
23013 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23014 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23015 unconditional.
23016 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23017 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23018 unconditional.
23019 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23020 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23021 unconditional.
23022 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23023 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23024 unconditional.
23025 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23026
b741de23
SP
230272012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23028
23029 [BZ #12140]
23030 * manual/memory.texi (Malloc Tunable Parameters): Add note
23031 about free list pointers overwriting some perturb bytes.
23032 Wording suggested by Roland McGrath.
23033
f9b9d9c9
JM
230342012-10-17 Joseph Myers <joseph@codesourcery.com>
23035
23036 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23037 (lgamma_test): Likewise.
23038 (tgamma_test): Likewise.
23039
172a631a
FW
230402012-10-16 Florian Weimer <fweimer@redhat.com>
23041
23042 [BZ #14700]
23043 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23044 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23045
e9f37252
MK
230462012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23047
23048 * NEWS: Mention BZ #14716.
23049 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23050 when removing AVAILABLE1_USES_J macro.
23051
d394eb74
L
230522012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23053
23054 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23055 (__bswap_64): __uint64_t for unsigned 64-bit int.
23056
ca38dc17
AS
230572012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23058
23059 * include/string.h (memmem): Declare libc hidden alias.
23060 * string/memmem.c (memmem): Define libc hidden alias.
23061 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23062 __read, __close instead of open, read, close.
23063
9a387d1f
L
230642012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23065
ac49ecaf
L
23066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23067 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23068 global and hidden.
23069 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23070 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23071 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23072 Likewise.
23073 (__rawmemchr_sse2): Likewise.
23074 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23075 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23076 (__strchr_sse2): Likewise.
23077 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23078 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23079 (__strcasecmp_sse2): Likewise.
23080 (__strncasecmp_sse2): Likewise.
23081 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23082 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23083 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23084 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23085 (__strrchr_sse2): Likewise.
23086 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23087 ifunc-impl-list.c.
23088 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23089 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23090 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23091 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23092 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23094 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23095 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23096 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23097 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23098 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23099 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23100 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23101 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23102 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23103 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23104 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23105 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23106 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23107 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23108 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23109 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23110 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23111 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23112 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23113 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23114 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23115 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23116 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23117 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23118
b090e8ea
L
23119 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23120 global and hidden.
23121 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23122 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23123 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23124 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23125 Likewise.
23126 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23127 Likewise.
23128 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23129 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23130 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23131 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23132 ifunc-impl-list.c.
23133 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23134 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23135 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23136 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23137 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23138 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23139 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23140 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23141 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23142 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23143 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23144 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23145 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23146 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23147 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23148 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23149 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23150 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23151 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23152 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23153 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23154 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23155 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23156 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23158 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23159 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23160 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23161 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23162 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23163 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23164 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23165 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23166 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23167 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23168 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23169 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23170 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23171 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23172 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23173 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23174
11dd4af6
L
23175 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23176 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23177 * include/ifunc-impl-list.h: New file.
23178 * misc/ifunc-impl-list.c: Likewise.
23179 * misc/Makefile (routines): Add ifunc-impl-list.
23180 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23181 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23182 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23183 TEST_NAME]: New variables.
11dd4af6
L
23184 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23185 are defined.
23186 (test_init): Call __libc_ifunc_impl_list to initialize
23187 func_list if TEST_IFUNC and TEST_NAME are defined.
23188
9a387d1f
L
23189 * string/Makefile (strop-tests): Add bcopy and bzero.
23190 * string/test-bcopy.c: New file.
23191 * string/test-bzero.c: Likewise.
23192 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23193 defined.
23194 * string/test-memset.c: Support bzero test if TEST_BZERO is
23195 defined.
23196 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23197 __libc_memmove.
23198 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23199 __libc_memset.
23200 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23201 of memset.
23202
472371b9
JM
232032012-10-10 Joseph Myers <joseph@codesourcery.com>
23204
1e4a9536
JM
23205 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23206 * configure: Regenerated.
23207
d173d12e
JM
23208 * Makeconfig (+link-static-before-libc): Don't include
23209 $(link-static-libc).
23210
472371b9
JM
23211 * libio/libio.h (_IO_pos_t): Remove.
23212
89a3ad0b
AO
232132012-10-10 Alexandre Oliva <aoliva@redhat.com>
23214
23215 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23216 McGrath.
23217
e7451425
AO
232182012-10-10 Alexandre Oliva <aoliva@redhat.com>
23219
23220 * crypt/crypt-entry.c: Include fips-private.h.
23221 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23222 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23223 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23224 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23225
4ba74a35
AO
232262012-10-10 Alexandre Oliva <aoliva@redhat.com>
23227
23228 * crypt/crypt-private.h: Include stdbool.h.
23229 (_ufc_setup_salt_r): Return bool.
23230 * crypt/crypt-entry.c: Include errno.h.
23231 (__crypt_r): Return NULL with EINVAL for bad salt.
23232 * crypt/crypt_util.c (bad_for_salt): New.
23233 (_ufc_setup_salt_r): Check that salt is long enough and within
23234 the specified alphabet.
23235 * crypt/badsalttest.c: New file.
23236 * crypt/Makefile (tests): Add it.
23237 ($(objpfx)badsalttest): New.
23238
f96f1242
MK
232392012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23240
23241 * NEWS: Add entry for BZ #14602.
23242
0e8e0c1c
JM
232432012-10-09 Joseph Myers <joseph@codesourcery.com>
23244
23245 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23246 type-generic.
23247 * math/libm-test.inc: Update comment listing what functions and
23248 macros are tested.
23249 (isgreater_test): New function.
23250 (isgreaterequal_test): Likewise.
23251 (isless_test): Likewise.
23252 (islessequal_test): Likewise.
23253 (islessgreater_test): Likewise.
23254 (isunordered_test): Likewise.
23255 (main): Call the new functions.
23256
273edc5e
RM
232572012-10-09 Roland McGrath <roland@hack.frob.com>
23258
b8493de0
RM
23259 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23260 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23261 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23262 * sysdeps/i386/configure: Regenerated.
23263 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23264 * sysdeps/mach/configure: Regenerated.
23265 * sysdeps/mach/hurd/configure: Regenerated.
23266 * sysdeps/powerpc/configure: Regenerated.
23267 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23268 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23269 * sysdeps/s390/s390-32/configure: Regenerated.
23270 * sysdeps/s390/s390-64/configure: Regenerated.
23271 * sysdeps/sh/configure: Regenerated.
23272 * sysdeps/sparc/configure: Regenerated.
23273 * sysdeps/unix/sysv/linux/configure: Regenerated.
23274 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23275 * sysdeps/x86_64/configure: Regenerated.
23276
273edc5e
RM
23277 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23278 defined. Don't check if MAP is NULL.
23279
c8450f70
JM
232802012-10-09 Joseph Myers <joseph@codesourcery.com>
23281
23282 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23283 (_G_stat64): Likewise.
23284 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23285 (_G_stat64): Likewise.
23286 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23287 instead of struct _G_stat64.
23288 * libio/fileops.c (mmap_remap_check): Likewise.
23289 (decide_maybe_mmap): Likewise.
23290 (_IO_new_file_seekoff): Likewise.
23291 (_IO_file_stat): Likewise.
23292 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23293 _G_off64_t.
23294 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23295 instead of struct _G_stat64.
23296 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23297
57e605ba
MK
232982012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23299
23300 [BZ #14602]
23301 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23302 Replace with ...
23303 (CHECK_EOL): New macro.
23304 (two_way_short_needle): Check beginning of haystack for EOL. Use
23305 CHECK_EOL.
23306 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23307 Replace with CHECK_EOL.
23308 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23309 Replace with CHECK_EOL.
23310
ef1bb361
JM
233112012-10-08 Joseph Myers <joseph@codesourcery.com>
23312
23313 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23314 type-generic.
23315 * math/libm-test.inc: Update comment listing what functions and
23316 macros are tested.
23317 (finite_test): New function.
23318 (isinf_test): Likewise.
23319 (isnan_test): Likewise.
23320 (fpclassify_test): Test subnormal input.
23321 (isfinite_test): Likewise.
23322 (isnormal_test): Likewise.
23323 (main): Call the new functions.
23324
55f11534
JN
233252012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23326
23327 [BZ #14660]
23328 * Makerules (%.dynsym): Force C locale when running
23329 $(OBJDUMP) --dynamic-syms.
23330
1ab29350
AS
233312012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23332
23333 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23334 <stdint.h>.
23335
f1ecb7ef
DM
233362012-10-06 David S. Miller <davem@davemloft.net>
23337
23338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23339 upper 32-bits of the length value in %o2 since we use branch-on-register
23340 tests which consider the entire 64-bit register.
23341
5d41d91a
L
233422012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23343
23344 * string/test-strstr.c (check2): Add a test for page boundary.
23345
3baddb72
DM
233462012-10-05 David S. Miller <davem@davemloft.net>
23347
23348 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23349 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23350 file.
23351 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23352 sysdep_routines.
23353 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23354 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23355 and bzero when HWCAP_SPARC_CRYPTO is present.
23356
9cee5585
L
233572012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23358
d7e0dab9
L
23359 [BZ #14602]
23360 * string/test-strstr.c (check2): New function.
23361 (test_main): Call check2.
23362
03759f47
L
23363 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23364 and bug-strchr1.
23365 * string/bug-strcasestr1.c (do_test): Moved to ...
23366 * string/test-strcasestr.c (check1): Here. New function.
23367 (do_one_test): Break out result checking code into ...
23368 (check_result): This. New function.
23369 (do_one_test): Call check_result.
23370 (test_main): Call check1.
23371 * string/bug-strchr1.c (do_test): Moved to ...
23372 * string/test-strchr.c (check1): Here. New function.
23373 (do_one_test): Break out result checking code into ...
23374 (check_result): This. New function.
23375 (do_one_test): Call check_result.
23376 (test_main): Call check1.
23377 * string/bug-strstr1.c (main): Moved to ...
046f153e 23378 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23379 (do_one_test): Break out result checking code into ...
23380 (check_result): This. New function.
23381 (do_one_test): Call check_result.
23382 (test_main): Call check1.
23383 * string/bug-strcasestr1.c: Removed.
23384 * string/bug-strchr1.c: Likewise.
23385 * string/bug-strstr1.c: Likewise.
23386
53cea63e
L
23387 * elf/Makefile (dl-routines): Add hwcaps.
23388 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23389 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23390 (_dl_important_hwcaps): Moved to ...
23391 * elf/dl-hwcaps.c: Here. New file.
23392 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23393
9cee5585 23394 [BZ #14557]
bb859b06
L
23395 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23396 if IS_IN_rtld isn't defined.
23397
9cee5585
L
23398 * elf/dl-support.c (_dl_sysinfo_map): New.
23399 Include "get-dynamic-info.h" and "setup-vdso.h".
23400 (_dl_non_dynamic_init): Call setup_vdso.
23401 * elf/dynamic-link.h: Don't include <assert.h>.
23402 (elf_get_dynamic_info): Moved to ...
23403 * elf/get-dynamic-info.h: Here. New file.
23404 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23405 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23406 * elf/setup-vdso.h: Here. New file.
23407 * elf/rtld.c: Include "setup-vdso.h".
23408 (dl_main): Call setup_vdso.
23409
23c31b76
JM
234102012-10-05 Joseph Myers <joseph@codesourcery.com>
23411
28234b07
JM
23412 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23413 creal in comment listing functions tested. List finite, isinf,
23414 isnan, isless, islessequal, isgreater, isgreaterequal,
23415 islessgreater, isunordered, lgamma_r and pow10 as functions and
23416 macros not tested. Mention which functions not tested are aliases
23417 for other functions. Fix typo. Note that signs of NaNs are not
23418 tested.
23419
23c31b76
JM
23420 * scripts/config.guess: Update from config.git.
23421 * scripts/config.sub: Likewise.
23422
9043e228
RM
234232012-10-04 Roland McGrath <roland@hack.frob.com>
23424
23425 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23426 * misc/madvise.c (madvise): Renamed to __madvise.
23427 Make madvise a weak alias.
23428 * include/sys/mman.h: Declare __madvise.
23429 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23430 * sysdeps/unix/syscalls.list
23431 (madvise): Make __madvise the strong name, and madvise a weak alias.
23432 * sysdeps/unix/sysv/linux/syscalls.list
23433 (madvise, mmap): Remove redundant entries.
23434 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23435 * malloc/malloc.c (mtrim): Likewise.
23436 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23437
f57f8055
RM
234382012-10-03 Roland McGrath <roland@hack.frob.com>
23439
23440 * sysdeps/mach/hurd/dl-cache.c: File removed.
23441 * config.h.in (USE_LDCONFIG): New #undef.
23442 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23443 * configure: Regenerated.
23444 * elf/Makefile (dl-routines): Add dl-cache only under
23445 [$(use-ldconfig) = yes].
23446 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23447 cache on [USE_LDCONFIG].
23448 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23449 [USE_LDCONFIG].
23450 * elf/rtld.c (dl_main): Likewise.
23451
5bb0c10a
PT
234522012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23453
23454 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23455 _SC_LEVEL4_CACHE_LINESIZE.
23456
010188c6
RM
234572012-10-03 Roland McGrath <roland@hack.frob.com>
23458
23459 * sysdeps/unix/bsd/confstr.h: File removed.
23460
b6c5ec07
AO
234612012-10-02 Alexandre Oliva <aoliva@redhat.com>
23462
23463 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23464 sys/sdt-config.h.
23465
408223d4
RM
234662012-10-02 Roland McGrath <roland@hack.frob.com>
23467
23468 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23469 Make 'mapoff' field ElfW(Off) rather than off_t.
23470
bb9510dc
DL
234712012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23472
fc997c6e
DL
23473 * nscd/Makefile: Remove nscd-cflags and all its users.
23474 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23475 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23476
bb9510dc
DL
23477 [BZ #10631]
23478 * malloc.c (malloc_printerr): Clarify error message.
23479
05699367
L
234802012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23481
23482 [BZ #14648]
23483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23484 Set bit_FMA_Usable if FMA is supported.
23485 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23486 macro.
23487 (bit_FMA4_Usable): Updated.
23488 (index_FMA_Usable): New macro.
23489 (CPUID_FMA): Likewise
23490 (HAS_FMA): Defined with bit_FMA_Usable.
23491
51367701
RM
234922012-10-01 Roland McGrath <roland@hack.frob.com>
23493
23494 * bits/types.h (__swblk_t): Type removed.
23495 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23496 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23497 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23498 (__SWBLK_T_TYPE): Likewise.
23499 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23500 (__SWBLK_T_TYPE): Likewise.
23501 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23502 (__SWBLK_T_TYPE): Likewise.
23503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23504 (__SWBLK_T_TYPE): Likewise.
23505
4d57bf63 235062012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23507 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23508
23509 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23510 (xdr_mapname): Use YPMAXMAP as maxsize.
23511 (xdr_peername): Use YPMAXPEER as maxsize.
23512 (xdr_keydat): Use YPAXRECORD as maxsize.
23513 (xdr_valdat): Use YPMAXRECORD as maxsize.
23514
93c65d43
RM
235152012-10-01 Roland McGrath <roland@hack.frob.com>
23516
497a03d6
RM
23517 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23518
93c65d43
RM
23519 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23520 * csu/init-first.c: ... here.
23521 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23522 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23523 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23524 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23525 * sysdeps/i386/init-first.c: File removed.
23526 * sysdeps/sh/init-first.c: File removed.
23527
bec749fd
JM
235282012-10-01 Joseph Myers <joseph@codesourcery.com>
23529
23530 [BZ #14645]
23531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23532 if x * y might underflow to zero and z is zero.
23533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23535 * math/libm-test.inc (min_subnorm_value): New variable.
23536 (fma_test): Add more tests.
23537 (fma_test_towardzero): Likewise.
23538 (fma_test_downward): Likewise
23539 (fma_test_upward): Likewise.
23540 (initialize): Set min_subnorm_value.
23541
8ec5b013
JM
235422012-09-29 Joseph Myers <joseph@codesourcery.com>
23543
23544 [BZ #14638]
23545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23546 0 + 0.
23547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23548 mode for addition resulting in exact zero.
23549 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23551 exact 0 + 0.
23552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23554 * math/libm-test.inc (fma_test): Add more tests.
23555 (fma_test_towardzero): New function.
23556 (fma_test_downward): Likewise.
23557 (fma_test_upward): Likewise.
23558 (main): Call the new functions.
23559
b1fa802e
DM
235602012-09-28 David S. Miller <davem@davemloft.net>
23561
23562 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23563
d3b9fd9e
RM
235642012-09-28 Roland McGrath <roland@hack.frob.com>
23565
ea4d37b3
RM
23566 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23567 instead of SIGALRM.
23568
ac51c949
RM
23569 * sysdeps/gnu/_G_config.h: Moved to ...
23570 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23571 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23572 * sysdeps/generic/_G_config.h: ... here.
23573
28c195f7
RM
23574 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23575
848917f9
RM
23576 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23577
6bacf05b
RM
23578 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23579 Conditionalize target on [libnss_test1.so-version].
23580
91363dbb
RM
23581 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23582
cc87f7d8
RM
23583 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23584 (elfobjdir): Move out of conditionals.
23585
b1c608fe
RM
23586 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23587 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23588 (__nss_lookup_function): Conditionalize label remove_from_tree on
23589 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23590
1d9a6d96
DM
235912012-09-28 David S. Miller <davem@davemloft.net>
23592
23593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23595 file.
23596 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23597 sysdep_routines.
23598 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23600 when HWCAP_SPARC_CRYPTO is present.
23601
72581615
PT
236022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23603
23604 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23605
715a900c
JL
236062012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23607
23608 [BZ #6530]
23609 * stdio-common/vfprintf.c (process_string_arg): Revert
23610 2000-07-22 change.
23611
236122011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23613
23614 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23615 for testcase.
23616 * stdio-common/tst-sprintf.c: Include <locale.h>
23617 (main): Test sprintf's handling of incomplete multibyte
23618 characters.
23619
9bac1d86
L
236202012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23621
23622 * elf/dl-runtime.c (VERSYMIDX): Removed.
23623 * elf/dl-version.c (VERSYMIDX): Likewise.
23624 * elf/do-rel.h (VERSYMIDX): Likewise.
23625 (VALIDX): Likewise.
23626 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23627 * elf/rtld.c (VALIDX): Likewise.
23628 (ADDRIDX): Likewise.
9bac1d86
L
23629 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23630 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23631 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23632 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23633 (VALIDX): Likewise.
23634 (ADDRIDX): Likewise.
9bac1d86 23635
b31606c0
PT
236362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23637
23638 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23639
11541177
JL
236402012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23641
23642 [BZ #11438]
23643 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23644 to global scope.
23645 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23646 addresses are in the same scope as 192.0.2/24.
23647 * posix/gai.conf: Document new scope table defaults.
23648
adb26fae
SP
236492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23650
23651 [BZ #5298]
23652 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23653 for ftell. Compute offsets from write pointers instead.
23654 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23655
4573c6b0
SP
236562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23657
23658 [BZ #14543]
23659 * libio/Makefile (tests): New test case tst-fseek.
23660 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23661 combination works in wide mode.
23662 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23663 state when the external buffer state changes.
23664
aa9bbfe6
DM
236652012-09-27 David S. Miller <davem@davemloft.net>
23666
23667 [BZ #14376]
23668 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23669 pass reloc->r_addend in as the 'high' argument to
23670 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23671
784421e7
DM
23672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23673
c39bc8b8
PT
236742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23675
23676 * rt/tst-aio2.c: Include <pthread.h>.
23677 * rt/tst-aio3.c: Likewise.
23678
1ccc2399
SE
236792012-09-27 Steve Ellcey <sellcey@mips.com>
23680
23681 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23682
31ed4153
L
236832012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23684
25f5f885
L
23685 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23686 contents on [SHARED].
31ed4153 23687
b7bfe116
MP
236882012-09-26 Marek Polacek <polacek@redhat.com>
23689
23690 [BZ #14530]
23691 [BZ #13741]
23692 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23693 for C++ and GCC <4.3 as well as for non GCC compilers.
23694
43c4edba
MT
236952012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23696
23697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23698
6a1bf82f
RM
236992012-09-25 Roland McGrath <roland@hack.frob.com>
23700
23701 * Makefile.in (all, install): Declare with .PHONY.
23702 Reported by Michael Hope <michael.hope@linaro.org>.
23703
8ad11b9a
TMQMF
237042012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23705
23706 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23707 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23708 system header.
23709 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23710 Likewise.
23711 (sydep_routines): Add the new and the internal functions.
23712 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23713 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23715 (GLIBC_2.17): Add the new function.
23716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23717 (GLIBC_2.17): Likewise.
23718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23719 (GLIBC_2.17): Likewise.
23720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23721 (GLIBC_2.17): Likewise.
23722 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23723
7e2fca8d
AM
237242012-09-25 Alan Modra <amodra@gmail.com>
23725
23726 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23727 Add release barrier before setting once_control to say
23728 initialisation is done. Add hints on lwarx. Use macro in
23729 place of isync.
23730 (clear_once_control): Add release barrier.
23731
b87c4b24
JM
237322012-09-25 Joseph Myers <joseph@codesourcery.com>
23733
d032e0d2
JM
23734 [BZ #13629]
23735 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23736 specially.
23737 * math/s_clog10.c (__clog10): Likewise.
23738 * math/s_clog10f.c (__clog10f): Likewise.
23739 * math/s_clog10l.c (__clog10l): Likewise.
23740 * math/s_clogf.c (__clogf): Likewise.
23741 * math/s_clogl.c (__clogl): Likewise.
23742 * math/Makefile (libm-calls): Add x2y2m1.
23743 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23744 (__x2y2m1): Likewise.
23745 (__x2y2m1l): Likewise.
23746 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23747 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23750 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23751 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23752 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23753 * sysdeps/i386/fpu/libm-test-ulps: Update.
23754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23755
b87c4b24
JM
23756 [BZ #14621]
23757 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23758 int as type of variable DEPTH.
23759 (glob): Use size_t instead of int as type of variables NEWCOUNT
23760 and OLD_PATHC.
23761
6d3bf199
LD
237622012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23763
22bf5c17
LD
23764 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23765 Add s_sincosf-sse2.
23766 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23767 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23768 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23769 macros for using routine as __sincosf_ia32.
23770 Use macro for function declaration and weak_alias.
23771 * sysdeps/i386/fpu/libm-test-ulps: Update.
23772
23773 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23775
23776 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23777 subnormal argument.
23778 * math/s_cexpf.c (__cexpf): Likewise.
23779 * math/s_csinf.c (__csinf): Likewise.
23780 * math/s_csinhf.c (__csinhf): Likewise.
23781 * math/s_ctanf.c (__ctanf): Likewise.
23782 * math/s_ctanhf.c (__ctanhf): Likewise.
23783 * math/s_ccosh.c (__ccoshf): Likewise.
23784 * math/s_cexp.c (__cexpl): Likewise.
23785 * math/s_csin.c (__csin): Likewise.
23786 * math/s_csinh.c (__csinh): Likewise.
23787 * math/s_ctan.c (__ctan): Likewise.
23788 * math/s_ctanh.c (ctanh): Likewise.
23789 * math/s_ccoshl.c (__ccoshl): Likewise.
23790 * math/s_cexpl.c (__cexpl): Likewise.
23791 * math/s_csinl.c (__csinl): Likewise.
23792 * math/s_csinhl.c (__csinhl): Likewise.
23793 * math/s_ctanl.c (__ctanl): Likewise.
23794 * math/s_ctanhl.c (__ctanhl): Likewise.
23795
203e5603
JM
237962012-09-25 Joseph Myers <joseph@codesourcery.com>
23797
23798 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23799 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23800 (_IO_off_t): Define to __off_t, not _G_off_t.
23801 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23802 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23803 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23804 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23805 type of __dummy and __dummy2 fields.
23806 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23807 (_G_ssize_t): Likewise.
23808 (_G_off_t): Likewise.
23809 (_G_pid_t): Likewise.
23810 (_G_uid_t): Likewise.
23811 (_G_wchar_t): Likewise.
23812 (_G_wint_t): Likewise.
23813 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23814 (_G_ssize_t): Likewise.
23815 (_G_off_t): Likewise.
23816 (_G_pid_t): Likewise.
23817 (_G_uid_t): Likewise.
23818 (_G_wchar_t): Likewise.
23819 (_G_wint_t): Likewise.
23820 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23821 (_G_ssize_t): Likewise.
23822 (_G_off_t): Likewise.
23823 (_G_pid_t): Likewise.
23824 (_G_uid_t): Likewise.
23825 (_G_wchar_t): Likewise.
23826 (_G_wint_t): Likewise.
23827
9fab36eb
SP
238282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23829
23830 * malloc/arena.c: Include malloc-sysdep.h.
23831 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23832 is sufficient to shrink the heap or an unmap is needed.
23833 * sysdeps/generic/malloc-sysdep.h: New file. Define
23834 new function check_may_shrink_heap.
23835 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23836 new function check_may_shrink_heap.
23837
2b4f00d1
SP
238382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23839
23840 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23841 comments.
23842
9a9028b1
DL
238432012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23844
57c69bef
DL
23845 * catgets/test-gencat.sh: Add "set -e".
23846 * elf/tst-pathopt.sh: Likewise.
23847 * grp/tst_fgetgrent.sh: Likewise.
23848 * iconvdata/run-iconv-test.sh: Likewise.
23849 * intl/tst-gettext.sh: Likewise.
23850 * intl/tst-gettext2.sh: Likewise.
23851 * intl/tst-gettext4.sh: Likewise.
23852 * intl/tst-gettext6.sh: Likewise.
23853 * intl/tst-translit.sh: Likewise.
23854 * io/ftwtest-sh: Likewise.
23855 * libio/test-freopen.sh: Likewise.
23856 * malloc/tst-mtrace.sh: Likewise.
23857 * posix/globtest.sh: Likewise.
23858 * posix/tst-getconf.sh: Likewise.
23859 * posix/wordexp-tst.sh: Likewise.
23860 * stdio-common/tst-printf.sh: Likewise.
23861 * stdio-common/tst-unbputc.sh: Likewise.
23862 * stdlib/tst-fmtmsg.sh: Likewise.
23863 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23864 * catgets/Makefile: Do not specify -e option when running
23865 testsuite shell scripts.
23866 * elf/Makefile: Likewise.
23867 * grp/Makefile: Likewise.
23868 * iconvdata/Makefile: Likewise.
23869 * intl/Makefile: Likewise.
23870 * io/Makefile: Likewise.
23871 * libio/Makefile: Likewise.
23872 * malloc/Makefile: Likewise.
23873 * posix/Makefile: Likewise.
23874 * stdio-common/Makefile: Likewise.
23875 * stdlib/Makefile: Likewise.
23876 * sysdeps/x86_64/Makefile: Likewise.
23877
9a9028b1
DL
23878 * io/ftwtest-sh: Add copyright header.
23879 * posix/globtest.sh: Likewise.
23880 * posix/tst-getconf.sh: Likewise.
23881 * posix/wordexp-tst.sh: Likewise.
23882 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23883
ced6f16e
L
238842012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23885
94b32c39
L
23886 [BZ #13679]
23887 * Makeconfig (+link): Defined as $(+link-static) if
23888 $(build-shared) isn't yes.
23889 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23890 isn't yes.
23891 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23892
189e935b
L
23893 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23894
ced6f16e
L
23895 [BZ #14562]
23896 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23897 new chunk size with MALLOC_ALIGN_MASK.
23898
a9f8e53a
JM
238992012-09-24 Joseph Myers <joseph@codesourcery.com>
23900
23901 [BZ #5044]
23902 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23903 <rounding-mode.h>.
23904 (__printf_fphex): Determine rounding using get_rounding_mode and
23905 round_away.
23906 * stdio-common/tst-printf-round.c (struct hex_test): New
23907 structure.
23908 (hex_tests): New variable.
23909 (test_hex_in_one_mode): New function.
23910 (do_test): Also run tests for hex float output.
23911
43153109
JM
239122012-09-21 Joseph Myers <joseph@codesourcery.com>
23913
23914 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23915 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23916 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23917 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23918 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23919 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23920 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23921 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23922
8a26625d
JM
239232012-09-20 Joseph Myers <joseph@codesourcery.com>
23924
23925 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23926 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23927 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23928 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23929
f3fd569c
DL
239302012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23931
23932 [BZ #14579]
23933 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23934 mode only.
23935 * elf/tst-rtld-load-self.sh: New test.
23936 * elf/Makefile: Run it.
23937
63bbedd4
JM
239382012-09-18 Joseph Myers <joseph@codesourcery.com>
23939
23940 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23941 (tst-writev-ENV): Remove.
23942 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23943
626f8b6a
CM
239442012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23945
23946 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23947
b7aaa4d6
JM
239482012-09-17 Joseph Myers <joseph@codesourcery.com>
23949
23950 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23951 unconditional.
23952 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23953 Likewise.
23954 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23955 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23956 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23957 Likewise.
23958
65513990
L
239592012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23960
23961 [BZ #14587]
23962 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23963 * config.make.in (have-cpp-asm-debuginfo): Removed.
23964 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23965 * configure: Regenerated.
23966
784761be
JM
239672012-09-14 Joseph Myers <joseph@codesourcery.com>
23968
23969 [BZ #5044]
23970 * stdio-common/printf_fp.c: Include <stdbool.h> and
23971 <rounding-mode.h>.
23972 (___printf_fp): Determine rounding using get_rounding_mode and
23973 round_away.
23974 * stdio-common/tst-printf-round.c: New file.
23975 * stdio-common/Makefile (tests): Add tst-printf-round.
23976 (link-libm): New variable.
23977 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23978
9503345f
L
239792012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23980
23981 [BZ #14576]
23982 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23983 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23984 Likewise.
23985 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23986 Likewise.
23987
ad35fc00
JM
239882012-09-13 Joseph Myers <joseph@codesourcery.com>
23989
23990 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23991 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23992 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23993 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23994
6c9b0f68
JM
239952012-09-12 Joseph Myers <joseph@codesourcery.com>
23996
23997 [BZ #14518]
23998 * include/rounding-mode.h: New file.
23999 * sysdeps/generic/get-rounding-mode.h: Likewise.
24000 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24001 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24002 (MAX_VALUE): New macro.
24003 (MIN_VALUE): Likewise.
24004 (overflow_value): New function.
24005 (underflow_value): Likewise.
24006 (round_and_return): Use overflow_value and underflow_value to
24007 determine return values in overflow and underflow cases. Use
24008 round_away to determine rounding depending on rounding mode.
24009 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24010 determine return values in overflow and underflow cases.
24011 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24012 (struct test_results): New structure.
24013 (struct test): Use struct test_results to store expected results
24014 for all rounding modes.
24015 (TEST): Include expected results for all rounding modes.
24016 (test_in_one_mode): New function.
24017 (do_test): Use test_in_one_mode to compute and check results.
24018 Check results for all rounding modes.
24019 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24020 $(link-libm).
24021
19fcedd5
AM
240222012-12-09 Allan McRae <allan@archlinux.org>
24023
1e9d84cd 24024 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24025
8bbfd2f1
JM
240262012-09-11 Joseph Myers <joseph@codesourcery.com>
24027
24028 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24029 (_G_int32_t): Likewise.
24030 (_G_uint16_t): Likewise.
24031 (_G_uint32_t): Likewise.
24032 (_G_HAVE_BOOL): Likewise.
24033 (_G_HAVE_ATEXIT): Likewise.
24034 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24035 (_G_HAVE_IO_FILE_OPEN): Likewise.
24036 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24037 (_G_int32_t): Likewise.
24038 (_G_uint16_t): Likewise.
24039 (_G_uint32_t): Likewise.
24040 (_G_HAVE_BOOL): Likewise.
24041 (_G_HAVE_ATEXIT): Likewise.
24042 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24043 (_G_HAVE_IO_FILE_OPEN): Likewise.
24044 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24045 (_G_int32_t): Likewise.
24046 (_G_uint16_t): Likewise.
24047 (_G_uint32_t): Likewise.
24048 (_G_HAVE_BOOL): Likewise.
24049 (_G_HAVE_ATEXIT): Likewise.
24050 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24051 (_G_HAVE_IO_FILE_OPEN): Likewise.
24052
b1dc5912
L
240532012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24054
24055 * csu/libc-tls.c: Update copyright years.
24056
0e886ef9
JM
240572012-09-10 Joseph Myers <joseph@codesourcery.com>
24058
28361c5e
JM
24059 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24060 [!_G_USING_THUNKS]: Remove conditional code.
24061 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24062 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24063
0e886ef9
JM
24064 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24065 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24066 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24067 (_G_VTABLE_LABEL_PREFIX): Likewise.
24068 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24069 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24070 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24071 (_G_VTABLE_LABEL_PREFIX): Likewise.
24072 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24073 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24074 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24075 (_G_VTABLE_LABEL_PREFIX): Likewise.
24076 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24077
bcba7aa2
L
240782012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24079
24080 * libio/Makefile: Include ../Makeconfig before tests.
24081 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24082 only if $(build-shared) is yes.
24083
06585ee8
L
24084 * iconv/gconv_db.c: Update copyright years.
24085
80ccd52c
LD
240862012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24087
24088 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24089 unwind info if defined PIC. Fix special cases description.
24090 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24091
24092 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24093 DP_HI_MASK entry.
24094 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24095
691bc9c1
L
240962012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24097
3d9b46b3
L
24098 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24099
de2139a9
L
24100 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24101 is NULL.
24102
5ca78dd0
L
24103 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24104 (LDLIBS-tst-chk4): This.
24105 (LDFLAGS-tst-chk5): Renamed to ...
24106 (LDLIBS-tst-chk5): This.
24107 (LDFLAGS-tst-chk6): Renamed to ...
24108 (LDLIBS-tst-chk6): This.
24109 (LDFLAGS-tst-lfschk4): Renamed to ...
24110 (LDLIBS-tst-lfschk4): This.
24111 (LDFLAGS-tst-lfschk5): Renamed to ...
24112 (LDLIBS-tst-lfschk5): This.
24113 (LDFLAGS-tst-lfschk6): Renamed to ...
24114 (LDLIBS-tst-lfschk6): This.
24115
691bc9c1
L
24116 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24117 on $(common-objpfx)soversions.mk.
24118
65cafb1c
JM
241192012-09-07 Joseph Myers <joseph@codesourcery.com>
24120
24121 [BZ #10014]
24122 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24123 example host name.
24124
c78ab094
SP
241252012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24126
24127 * malloc/arena.c (arena_get_retry): New function that gets
24128 another arena for the caller to try its request on.
24129 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24130 current arena cannot fulfill the request.
24131 (__libc_memalign): Likewise.
24132 (__libc_memalign): Likewise.
24133 (__libc_pvalloc): Likewise.
24134 (__libc_calloc): Likewise.
24135
01f49f59
JT
241362012-09-05 John Tobey <john.tobey@gmail.com>
24137
24138 [BZ #13542]
24139 * manual/arith.texi (Operations on Complex): Fix description
24140 of carg branch cut.
24141
4c23fed5
JM
241422012-09-06 Joseph Myers <joseph@codesourcery.com>
24143
1d3c8572
JM
24144 [BZ #10014]
24145 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24146 host name.
24147
4c23fed5
JM
24148 [BZ #10038]
24149 * manual/memory.texi (Memory): Make order of menu items match
24150 order of sections.
24151
04570aaa
L
241522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24153
24154 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24155 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24156 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24157
b80af2f4
L
241582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24159
24160 * csu/libc-tls.c (static_dtv): Renamed to ...
24161 (_dl_static_dtv): This. Make it global.
24162 (_dl_initial_dtv): Removed.
24163 (__libc_setup_tls): Updated.
24164 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24165 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24166 DL_INITIAL_DTV.
24167
2abe9f15
PM
241682012-09-06 Petr Machata <pmachata@redhat.com>
24169
24170 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24171 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24172 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24173 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24174
0948c3af
L
241752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24176
24177 [BZ #14545]
24178 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24179 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24180 freeing dtv[-1].
24181
a5055ad1
L
241822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24183
24184 [BZ #14544]
24185 * Makeconfig (link-static-before-libc): Replace $(+prector)
24186 with $(+prectorT).
24187 (link-static-after-libc): Replace $(+postctor) with
24188 $(+postctorT).
24189 (link-bounded): Replace $(+prector)/$(+postctor) with
24190 $(+prectorT)/$(+postctorT).
24191 (+prectorT): New macro.
24192 (+postctorT): Likewise.
24193
ed8c2ecd
JM
241942012-09-06 Joseph Myers <joseph@codesourcery.com>
24195
24196 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24197 (round_str): Handle values above the maximum for IBM long double
24198 as inexact.
24199 * stdlib/tst-strtod-round.c (tests): Regenerated.
24200
14c996c8
AK
242012012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24202
24203 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24204 assembler flag.
24205 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24206 zarch_nohighgprs around the zarch optimized routines.
24207 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24208 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24209 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24210 for zarch.
24211
430d6ce6
DM
242122012-09-05 David S. Miller <davem@davemloft.net>
24213
24214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24215
57f41c40
AS
24216 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24217 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24218 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24219 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24220 entries.
24221
24d4e01b
AO
242222012-09-05 Alexandre Oliva <aoliva@redhat.com>
24223
24224 * malloc/arena.c: Fold copyright years.
24225 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24226
61d58174
AO
242272012-09-05 Alexandre Oliva <aoliva@redhat.com>
24228
24229 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24230
20196a5e
AO
242312012-09-05 Alexandre Oliva <aoliva@redhat.com>
24232
24233 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24234
5c447383
AO
242352012-09-05 Alexandre Oliva <aoliva@redhat.com>
24236
24237 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24238 change internal state upon failure.
24239
fad64255
AO
242402012-09-05 Alexandre Oliva <aoliva@redhat.com>
24241
24242 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24243 * malloc/memusage.c (mmap): Likewise.
24244 (mmap64, mremap): Likewise. Adjust name in comment.
24245
1ffb8c90
SP
242462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24247
24248 * libio/fileops.c: Fix typos in comments.
24249 * libio/oldfileops.c: Likewise.
24250 * libio/wfileops.c: Likewise.
24251
6ef9cc37
SP
242522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24253
24254 [BZ #1349]
24255 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24256 (tst-malloc-usable-ENV): Set environment for test case.
24257 * malloc/hooks.c (malloc_check_get_size): New function to get
24258 requested size.
24259 * malloc/malloc.c (musable): Use malloc_check_get_size.
24260 * malloc/tst-malloc-usable.c: New test case.
24261
4d038ae3
AS
242622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24263
24264 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24265
c4e85184
AM
242662012-09-05 Allan McRae <allan@archlinux.org>
24267
b9dafc56 24268 [BZ #13966]
c4e85184
AM
24269 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24270 determine header location.
24271 * configure: Regenerated.
24272
e1343020
AS
242732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24274
24275 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24276 float format.
24277 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24278 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24279 format.
e1343020
AS
24280 (test): Regenerate.
24281
0a9f1987
DM
242822012-09-04 David S. Miller <davem@davemloft.net>
24283
24284 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24285 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24286 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24287
29237804
FW
242882012-09-04 Florian Weimer <fweimer@redhat.com>
24289
24290 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24291 failures.
24292
edb3cb88
FW
24293 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24294
60160d83
JM
242952012-09-04 Joseph Myers <joseph@codesourcery.com>
24296
24297 [BZ #9914]
24298 * libio/iogetdelim.c: Include <limits.h>.
24299 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24300 + len + 1 would overflow.
24301
bcd6c8dc
AJ
243022012-09-03 Andreas Jaeger <aj@suse.de>
24303
24304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24305 * sysdeps/i386/fpu/libm-test-ulps: Update.
24306
4ffffbd2
LD
243072012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24308
24309 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24310 Add s_sinf-sse2, s_conf-sse2.
24311
24312 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24313 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24314 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24315 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24316
24317 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24318 for using routine as __sinf_ia32.
24319 Use macro for function declaration and weak_alias.
24320 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24321 for using routine as __cosf_ia32.
24322 Use macro for function declaration and weak_alias.
24323
24324 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24325 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24326
24327 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24328 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24330
24331 * math/libm-test.inc (cos_test): Add more test cases.
24332 (sin_test): Likewise.
24333 (sincos_test): Likewise.
24334
511fa286
AK
243352012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24336
24337 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24338 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24339 hidden.
24340 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24341
5f30cfec
L
243422012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24343
24344 [BZ #14538]
24345 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24346 first element of the GOT.
24347 (elf_machine_load_address): Return the difference between
24348 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24349
0786794f
AM
243502012-09-01 Allan McRae <allan@archlinux.org>
24351
5f30cfec
L
24352 [BZ #13412]
24353 * configure.in (AWK): Require gawk version 3.0 or later.
24354 * configure: Regenerated.
0786794f 24355
26889eac
JM
243562012-09-01 Joseph Myers <joseph@codesourcery.com>
24357
24358 * sysdeps/unix/sysv/linux/kernel-features.h
24359 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24361 [__NR_clock_getres]: Make code unconditional.
24362 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24363 (clock_getcpuclockid): Remove code left unreachable by removal of
24364 conditionals.
24365 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24366 code unconditional.
24367 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24368 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24369 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24370 Make code unconditional.
24371 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24372 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24373 * sysdeps/unix/sysv/linux/clock_settime.c
24374 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24375 conditional code.
24376 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24377 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24378
d22e28b0
L
243792012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24380
24381 [BZ #14476]
24382 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24383 scripts/test-installation.pl.
24384
24385 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24386 and $ld_so_version if it is set.
24387
050af9c4
SP
243882012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24389
24390 [BZ #14516]
24391 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24392 failure if reading from procfs failed.
24393 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24394
ad845c0b
JM
243952012-08-27 Joseph Myers <joseph@codesourcery.com>
24396
24397 * sysdeps/unix/sysv/linux/kernel-features.h
24398 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24399 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24400 Remove conditional code.
24401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24402 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24403 Remove conditional code.
24404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24405 * sysdeps/unix/sysv/linux/i386/fxstat.c
24406 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24408 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24409 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24411 * sysdeps/unix/sysv/linux/i386/lxstat.c
24412 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24414 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24415 Remove conditional code.
24416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24417 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24418 Remove conditional code.
24419 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24420 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24421 <kernel-features.h>.
24422 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24423 Remove.
24424 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24425 Remove conditional code.
24426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24427 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24428 Remove conditional.
24429
5dbf56af
MF
244302012-08-27 Mike Frysinger <vapier@gentoo.org>
24431
24432 [BZ #5400]
24433 * NEWS: Add fixed bug number.
24434
d6e70f43
JM
244352012-08-27 Joseph Myers <joseph@codesourcery.com>
24436
7efb4737
JM
24437 [BZ #14519]
24438 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24439 underflowing exponent in case of negative sign.
24440 * stdlib/tst-strtod-round-data: Add more tests.
24441 * stdlib/tst-strtod-round.c (tests): Regenerated.
24442
af92131a
JM
24443 [BZ #3479]
24444 * stdlib/strtod_l.c (NDIG): Remove.
24445 (HEXNDIG): Likewise.
24446 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24447 smallest representable value.
24448 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24449 lie within an exact representation of 1/2 ulp of the result.
24450 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24451 unconditionally.
24452 (TENS_P9_IDX): Define unconditionally.
24453 (TENS_P9_SIZE): Likewise.
24454 (TENS_P10_IDX): Likewise.
24455 (TENS_P10_SIZE): Likewise.
24456 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24457 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24458 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24459 entries for 10^2^13 and 10^2^14.
24460 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24461 (TENS_P13_IDX): Define.
24462 (TENS_P13_SIZE): Likewise.
24463 (TENS_P14_IDX): Likewise.
24464 (TENS_P14_SIZE): Likewise.
24465 (_fpioconst_pow10): Change array size to
24466 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24467 unconditional.
24468 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24469 1024]: Add entries for 10^2^13 and 10^2^14.
24470 [LAST_POW10 > _LAST_POW10]: Remove #error.
24471 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24472 (_fpioconst_pow10): Change array size to
24473 FPIOCONST_POW10_ARRAY_SIZE.
24474 * stdlib/gen-fpioconst.c: New file.
24475 * stdlib/gen-tst-strtod-round.c: Likewise.
24476 * stdlib/tst-strtod-round-data: Likewise.
24477 * stdlib/tst-strtod-round.c: Likewise.
24478 * stdlib/Makefile (tests): Add tst-strtod-round.
24479
d6e70f43
JM
24480 [BZ #14459]
24481 * stdlib/strtod_l.c: Include <stdint.h>.
24482 (NDEBUG): Do not define.
24483 (round_and_return): Change EXPONENT parameter to type intmax_t.
24484 Rearrange calculations to avoid internal overflow possibilities.
24485 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24486 Rearrange calculations to avoid internal overflow possibilities.
24487 Assert that number fits inside MPNSIZE limbs.
24488 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24489 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24490 calculations and add assertions to avoid internal overflow
24491 possibilities. Add casts to avoid signed/unsigned operations.
24492 * stdlib/tst-strtod-overflow.c: New file.
24493 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24494
1f529f7d
MP
244952012-08-25 Marek Polacek <polacek@redhat.com>
24496
24497 * time/time.h: Fix some typos in comments.
24498
59a629f1
RM
244992012-08-23 Roland McGrath <roland@hack.frob.com>
24500
24501 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24502 * posix/tst-rfc3484-2.c: Likewise.
24503 * posix/tst-rfc3484-3.c: Likewise.
24504
d3bafbc9
SM
245052012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24506
24507 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24508 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24509
4efcc022
JM
245102012-08-23 Joseph Myers <joseph@codesourcery.com>
24511
24512 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24513 #include of fxstatat64.c.
24514
3cc3ef96
RM
245152012-08-22 Roland McGrath <roland@hack.frob.com>
24516
f04e2132
RM
24517 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24518 * shadow/getspent_r.c: Likewise.
24519 * shadow/getspnam.c: Likewise.
24520 * shadow/getspnam_r.c: Likewise.
24521 * gshadow/getsgent.c: Likewise.
24522 * gshadow/getsgent_r.c: Likewise.
24523 * gshadow/getsgnam.c: Likewise.
24524 * gshadow/getsgnam_r.c: Likewise.
24525 * inet/getnetbyad.c: Likewise.
24526 * inet/getnetbyad_r.c: Likewise.
24527 * inet/getnetbynm.c: Likewise.
24528 * inet/getnetbynm_r.c: Likewise.
24529 * inet/getnetent.c: Likewise.
24530 * inet/getnetent_r.c: Likewise.
24531 * inet/getproto.c: Likewise.
24532 * inet/getproto_r.c: Likewise.
24533 * inet/getprtent.c: Likewise.
24534 * inet/getprtent_r.c: Likewise.
24535 * inet/getprtname.c: Likewise.
24536 * inet/getprtname_r.c: Likewise.
24537 * inet/getrpcbyname.c: Likewise.
24538 * inet/getrpcbyname_r.c: Likewise.
24539 * inet/getrpcbynumber.c: Likewise.
24540 * inet/getrpcbynumber_r.c: Likewise.
24541 * inet/getrpcent.c: Likewise.
24542 * inet/getrpcent_r.c: Likewise.
24543 * inet/getaliasent.c: Likewise.
24544 * inet/getaliasent_r.c: Likewise.
24545 * inet/getaliasname.c: Likewise.
24546 * inet/getaliasname_r.c: Likewise.
24547 * nscd/getgrgid_r.c: Likewise.
24548 * nscd/getgrnam_r.c: Likewise.
24549 * nscd/gethstbyad_r.c: Likewise.
24550 * nscd/gethstbynm3_r.c: Likewise.
24551 * nscd/getpwnam_r.c: Likewise.
24552 * nscd/getpwuid_r.c: Likewise.
24553 * nscd/getsrvbynm_r.c: Likewise.
24554 * nscd/getsrvbypt_r.c: Likewise.
24555 * nscd/gai.c: Likewise.
24556
c53d909c
RM
24557 * configure.in (build_nscd): New substituted variable, set
24558 by --disable-build-nscd and defaults to $use_nscd.
24559 * configure: Regenerated.
24560 * config.make.in (build-nscd): New substituted variable.
24561 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24562 Change conditional to require [$(build-nscd) = yes] as well.
24563 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24564
3cc3ef96
RM
24565 [BZ# 13696]
24566 * configure.in (use_nscd): New substituted variable, set by
24567 --disable-nscd. If enabled, define USE_NSCD.
24568 * configure: Regenerated.
24569 * config.h.in: Add USE_NSCD.
24570 * config.make.in (use-nscd): New substituted variable.
24571 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24572 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24573 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24574 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24575 (CFLAGS-getgrnam_r.c): Likewise.
24576 (CFLAGS-initgroups.c): Likewise.
24577 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24578 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24579 Variables removed.
24580 * inet/getnetgrent_r.c
24581 (nscd_setnetgrent): New function, broken out of ...
24582 (setnetgrent): ... here. Call it.
24583 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24584 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24585 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24586 * nscd/Makefile (routines, aux): Move definitions after include of
24587 Makeconfig. Conditionalize on [$(use-nscd) != no].
24588 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24589 Conditionalize on [USE_NSCD].
24590 (is_nscd, nscd_init_cb): Likewise.
24591 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24592 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24593 * nss/nss_db/db-init.c: Likewise.
24594 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24595 [USE_NSCD].
24596 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24597 (make_request): Use it.
24598 (cache_valid_p): New function.
24599 (__check_pf): Use it.
24600 * NEWS: Add item for --disable-nscd.
24601
07e51550
DL
246022012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24603
24604 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24605 to support sed >= 4.2.1-20-ga9bf076.
24606 * configure: Regenerated.
24607
35a5b08b
RM
246082012-08-22 Roland McGrath <roland@hack.frob.com>
24609
24610 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24611 Conditionalize whole body on [IREL].
24612
8479f23a
JL
246132012-08-22 Jeff Law <law@redhat.com>
24614
24615 [BZ #14505]
24616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24617 if the family is PF_UNSPEC.
24618
48da0b21
MF
246192012-08-22 Mike Frysinger <vapier@gentoo.org>
24620
24621 * Makerules (lib-version): Rename from V.
24622 (install-lib-nosubdir): Change V to lib-version.
24623
15d0da8c
WS
246242012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24625
24626 [BZ #14252]
24627 * powerpc32/power6/wcschr.c: New file.
24628 * powerpc32/power6/wcscpy.c: New file.
24629 * powerpc32/power6/wcsrchr.c: New file.
24630 * powerpc64/power6/wcschr.c: New file.
24631 * powerpc64/power6/wcscpy.c: New file.
24632 * powerpc64/power6/wcsrchr.c: New file.
24633
bcca0895
MK
246342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24635
24636 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24637 (two_way_short_needle): Use it.
5a4aaa33
RM
24638 * string/strstr.c (AVAILABLE1_USES_J): Define.
24639 * string/strcasestr.c: Likewise.
99677e57
MK
24640
24641 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24642 array references.
24643 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24644
400726de
MK
24645 [BZ #11607]
24646 * NEWS: Add an entry.
24647 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24648 define their defaults.
24649 (two_way_short_needle): Detect end-of-string on-the-fly.
24650 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24651 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24652 * string/bug-strcasestr1.c: New test.
24653 * string/Makefile: Run it.
24654
20a71f2c
MK
246552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24656
24657 [BZ #11607]
24658 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24659 the first character.
24660
21ad0558
RM
246612012-08-21 Roland McGrath <roland@hack.frob.com>
24662
24663 * csu/elf-init.c (__libc_csu_irel): Function removed.
24664 * csu/libc-start.c (apply_irel): New function.
24665 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24666
0e1d9911
JM
246672012-08-21 Joseph Myers <joseph@codesourcery.com>
24668
24669 * sysdeps/unix/sysv/linux/kernel-features.h
24670 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24671 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24672 <kernel-features.h>.
24673 [__NR_fadvise64_64]: Make code unconditional.
24674 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24675 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24676 !__NR_fadvise64_64)]: Likewise.
24677 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24678 !__NR_fadvise64_64))]: Likewise.
24679 [__NR_fadvise64]: Make code unconditional.
24680 [!__NR_fadvise64]: Remove conditional code.
24681 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24682 <kernel-features.h>.
24683 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24684 unconditional.
24685 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24686 conditional code.
24687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24688 not include <kernel-features.h>.
24689 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24690 unconditional.
24691 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24692 conditional code.
24693 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24694 include <kernel-features.h>.
24695 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24696 unconditional.
24697 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24698 conditional code.
24699
14a50c9d
WS
247002012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24701
24702 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24703 slight instruction rearrangements per scrollpipe analysis.
24704 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24705
c0f4faf0
RM
247062012-08-20 Roland McGrath <roland@hack.frob.com>
24707
696da859
RM
24708 * manual/syslog.texi (syslog; vsyslog, closelog):
24709 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24710 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24711
c0f4faf0
RM
24712 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24713 DSOCAPS to match condition on defining it.
24714
348363b2
JM
247152012-08-20 Joseph Myers <joseph@codesourcery.com>
24716
a35cbf28
JM
24717 * sysdeps/unix/sysv/linux/kernel-features.h
24718 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24720 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24721 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24723 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24724 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24726 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24727 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24728
445f7ecd
JM
24729 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24730 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24731
348363b2
JM
24732 * sysdeps/unix/sysv/linux/kernel-features.h
24733 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24734 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24735 unconditional.
24736 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24737 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24738 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24739 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24740 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24741 Make code unconditional.
24742 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24743 (__mmap64) [!__NR_mmap2]: Likewise.
24744 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24745 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24746 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24747 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24748 [__NR_mmap2]: Make code unconditional.
24749 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24750 (__mmap64) [!__NR_mmap2]: Likewise.
24751
bc5bc0e5
AK
247522012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24753
24754 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24755
88d506de
AJ
247562012-08-18 Andreas Jaeger <aj@suse.de>
24757
24758 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24759
493387d2
MF
247602012-08-18 Mike Frysinger <vapier@gentoo.org>
24761
24762 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24763 * include/unistd.h (__have_sock_cloexec): Likewise.
24764 (__have_pipe2): Likewise.
24765 (__have_dup3): Likewise.
24766
a277af22
MF
247672012-08-18 Mike Frysinger <vapier@gentoo.org>
24768
24769 [BZ #9685]
24770 * include/unistd.h (__have_pipe2): Change define into an extern int.
24771 (__have_dup3): Likewise.
24772 * socket/have_sock_cloexec.c: Include fcntl.h.
24773 (__have_pipe2): New variable.
24774 (__have_dup3): Likewise.
24775
fdab8fd3
MF
247762012-08-17 Mike Frysinger <vapier@gentoo.org>
24777
24778 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24779
31035e80
MP
247802012-08-17 Marek Polacek <polacek@redhat.com>
24781
24782 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24783 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24784
3bd9e993
RM
247852012-08-17 Roland McGrath <roland@hack.frob.com>
24786
c91c505f
RM
24787 * configure.in: Add AC_SUBST for sysheaders.
24788 * configure: Regenerated.
24789 * config.make.in (sysheaders): New substituted variable.
24790
7c6f9d53
RM
24791 * sysdeps/unix/mkfifo.c: Moved ...
24792 * sysdeps/posix/mkfifo.c: ... here.
24793 * sysdeps/unix/mkfifoat.c: Moved ...
24794 * sysdeps/posix/mkfifoat.c: ... here.
24795
24796 * sysdeps/unix/utime.c: Moved ...
24797 * sysdeps/posix/utime.c: ... here.
24798
24799 * sysdeps/unix/time.c: Moved ...
24800 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24801 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24802 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24803
24804 * sysdeps/unix/nice.c: Moved ...
24805 * sysdeps/posix/nice.c: ... here.
24806
24807 * sysdeps/unix/alarm.c: Moved ...
24808 * sysdeps/posix/alarm.c: ... here.
24809
3bd9e993
RM
24810 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24811
d1f09384
JL
248122012-08-17 Jeff Law <law@redhat.com>
24813
24814 * intl/Makefile (codeset_mo): New variable.
24815 ($(codeset_mo)): New target.
24816 (tst-codeset.out): Depend on that. Remove explicit rule.
24817 (tst-gettext3.out, tst-gettext5.out): Likewise.
24818 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24819 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24820 * intl/tst-codeset.sh: Remove.
24821 * intl/tst-gettext3.sh: Likewise.
24822 * intl/tst-gettext5.sh: Likewise.
24823
2ae1ae5c
RM
248242012-08-17 Roland McGrath <roland@hack.frob.com>
24825
c31fdb83
RM
24826 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24827 * sysdeps/unix/syscalls.list: ... here.
24828
a0844057
RM
24829 * sysdeps/posix/getaddrinfo.c
24830 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24831 (gaiconf_init, gaiconf_reload): Use them.
24832 [!_STATBUF_ST_NSEC]
24833 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24834 Define using time_t rather than struct timespec.
24835
750c1f2a
RM
24836 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24837 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24838 Macros removed.
24839 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24840 [!NO_THREADS].
24841 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24842 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24843 Likewise.
24844
2ae1ae5c
RM
24845 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24846 __libc_cleanup_push argument.
24847
e66a42f5
RM
24848 * bits/param.h: New file.
24849 * misc/sys/param.h: New file.
24850 * include/sys/param.h: New file.
24851 * misc/Makefile (headers): Add bits/param.h.
24852 * sysdeps/generic/sys/param.h: File removed.
24853 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24854 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24855 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24856 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24857
b7c08a66
RM
24858 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24859 last change.
24860
b2e1c562
RM
24861 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24862 [_IO_MTSAFE_IO].
24863 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24864 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24865 New macros.
24866
c75ccd4c
RM
24867 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24868 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24869 rather than -D_IO_MTSAFE_IO conditionally.
24870 * stdio-common/Makefile (CPPFLAGS): Likewise.
24871 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24872 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24873 Use $(libio-mtsafe).
24874 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24875 of -D_IO_MTSAFE_IO.
24876 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24877 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24878 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24879 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24880 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24881 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24882 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24883 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24884 (CFLAGS-fread_u_chk.c): Likewise.
24885 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24886 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24887 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24888 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24889 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24890 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24891 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24892 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24893 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24894
24895 * libio/Makefile: Test [$(libc-reentrant) = yes]
24896 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24897
24898 * Makeconfig
24899 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24900 * sysdeps/pthread/configure: File removed.
24901 * sysdeps/pthread/Makeconfig: New file.
24902 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24903 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24904
d9195db8
GB
249052012-08-16 Gary Benson <gbenson@redhat.com>
24906
24907 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24908 unmapping the first object in a namespace.
24909
86466cd9
RM
249102012-08-16 Roland McGrath <roland@hack.frob.com>
24911
24912 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24913 (__internal_setnetgrent): ... this. Add internal_function to
24914 definition. Add libc_hidden_def.
24915 (setnetgrent): Update caller.
24916 (internal_endnetgrent): Renamed to ...
24917 (__internal_endnetgrent): ... this. Add internal_function to
24918 definition. Add libc_hidden_def.
24919 (endnetgrent): Update caller.
24920 (internal_getnetgrent_r): Renamed to ...
24921 (__internal_getnetgrent_r): ... this. Add internal_function to
24922 definition. Add libc_hidden_def.
24923 (__getnetgrent_r): Update caller.
24924 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24925
c3c8283c
JM
249262012-08-16 Joseph Myers <joseph@codesourcery.com>
24927
24928 * stdlib/longlong.h: Update from GCC.
24929
db1ee0a8
RM
249302012-08-16 Roland McGrath <roland@hack.frob.com>
24931
24932 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24933 on _QL, which is set by umul_ppmm but never used.
24934 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24935 variables, which are set by GMP macros but never used.
24936 * stdio-common/_itowa.c (_itowa): Likewise.
24937 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24938 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24939
30f69637
CD
249402012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24941
24942 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24943 struct La_sh_regs is not constant.
24944 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24945 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24946 and struct La_sparc64_regs are not constant.
24947
93a78ac4
JM
249482012-08-16 Joseph Myers <joseph@codesourcery.com>
24949
24950 * sysdeps/unix/sysv/linux/kernel-features.h
24951 (__ASSUME_POSIX_TIMERS): Remove.
24952 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24953 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24954 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24955 Make code unconditional.
24956 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24957 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24958 Make code unconditional.
24959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24960 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24961 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24963 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24964 Make code unconditional.
24965 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24966 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24967 (__libc_missing_posix_timers): Remove.
24968
dd924cd7
RM
249692012-08-15 Roland McGrath <roland@hack.frob.com>
24970
4b4f2771
RM
24971 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24972 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24973
601c888b
RM
24974 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24975
176790a7
RM
24976 * elf/dl-sym.c: Include <stdlib.h>.
24977
329bc018
RM
24978 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24979 constants, which avoids warnings in 32-bit builds.
24980
e04e272d
RM
24981 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24982 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24983
952bf94a
RM
24984 * misc/lseek.c: File moved to ...
24985 * io/lseek.c: ... here.
24986
7c99b50a
RM
24987 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24988
dd924cd7
RM
24989 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24990 shifting LEN more than 31 bits at once.
24991
b3f479a8
LD
249922012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24993
24994 [BZ #14195]
8c4ae0d4
RM
24995 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24996 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24997 * string/test-strncasecmp.c (check1): Renamed to...
24998 (bz12205): ...this.
24999 (bz14195): Add new testcase for two empty input strings and N > 0.
25000 (test_main): Call new testcase, adapt for renamed function.
25001
9c55864e
AJ
250022012-08-15 Andreas Jaeger <aj@suse.de>
25003
25004 [BZ #14090]
25005 * crypt/md5test2.c: New test, based on test supplied by Serge
25006 Belyshev <belyshev@depni.sinp.msu.ru>.
25007 * crypt/Makefile (xtests): Add md5test-giant..
25008 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25009
02dcb6c5
PE
250102012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25011
25012 [BZ #14090]
25013 * crypt/md5.c (md5_process_block): Don't assume the buffer
25014 length is less than 2**32.
25015 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25016 length is less than 2**64.
25017
a3f95dcc
RM
250182012-08-15 Roland McGrath <roland@hack.frob.com>
25019
be75d758
RM
25020 * string/str-two-way.h: Include <sys/param.h>.
25021 (MAX): Macro removed.
25022
7312ca90
RM
25023 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25024 Move #define and #undef of memmove to just before and after
25025 including <string.h>.
25026
9a0a5486
RM
25027 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25028 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25029 and after including <string.h>. Move declarations of
25030 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25031 to before #include "string/memmove.c".
25032
67cc348d
RM
25033 * include/dirent.h: Declare __getdirentries.
25034
a3f95dcc
RM
25035 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25036 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25037
ca98e171
MF
250382012-08-14 Mike Frysinger <vapier@gentoo.org>
25039
25040 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25041 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25042 * sysdeps/i386/configure: Regenerated.
25043 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25044 STABS_CURRENT_FILE, and STABS_FUN.
25045 (END): Remove call to STABS_FUN_END.
25046 (STABS_CURRENT_FILE1): Delete.
25047 (STABS_CURRENT_FILE): Likewise.
25048 (STABS_FUN): Likewise.
25049 (STABS_FUN_END): Likewise.
25050 (STABS_FUN2): Likewise.
25051 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25052 * sysdeps/x86_64/configure: Regenerated.
25053
5908bf46
RM
250542012-08-14 Roland McGrath <roland@hack.frob.com>
25055
25056 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25057 * elf/dl-lookup.c: Likewise.
5908bf46 25058
f2c05b9e
JM
250592012-08-14 Joseph Myers <joseph@codesourcery.com>
25060
25061 * sysdeps/unix/sysv/linux/kernel-features.h
25062 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25063 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25064 unconditionally.
25065 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25066 unconditionally.
25067 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25068 condition on __ASSUME_CLONE_THREAD_FLAGS.
25069
e11f5155
AJ
250702012-08-14 Andreas Jaeger <aj@suse.de>
25071
25072 * sysdeps/i386/fpu/libm-test-ulps: Update.
25073
51a9ba86
MK
250742012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25075
2fdd4f78
AJ
25076 * include/atomic.h (atomic_exchange_and_add): Split into ...
25077 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25078 New atomic macros.
51a9ba86 25079
ba6cba9e
MT
250802012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25081
25082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25083
42443a47
JL
250842012-08-13 Jeff Law <law@redhat.com>
25085
25086 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25087 null byte in the output string.
25088
121dce05
JM
250892012-08-10 Joseph Myers <joseph@codesourcery.com>
25090
25091 * sysdeps/unix/sysv/linux/kernel-features.h
25092 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25093 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25094 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25095 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25096 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25097 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25098 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25099
bf51f568
JL
251002012-08-09 Jeff Law <law@redhat.com>
25101
25102 [BZ #13939]
25103 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25104 When avoid_arena is set, don't retry in the that arena. Pick the
25105 next one, whatever it might be.
25106 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25107 (arena_lock): Pass in new parameter to arena_get2.
25108 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25109 arena_get2.
25110 (__libc_malloc): Unify retrying after main arena failure with
25111 __libc_memalign version.
25112 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25113
f85fa270
L
251142012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25115
25116 [BZ #14166]
25117 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25118 to __redirect_strstr.
25119 (__strstr_sse42): Use typeof __redirect_strstr.
25120 (__strstr_ia32): Likewise.
25121 (__libc_strstr): New prototype.
25122 (strstr): Renamed to ...
25123 (__libc_strstr): This.
25124 (strstr): New strong alias of __libc_strstr.
25125 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25126 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25127 __redirect_time.
25128 Include <time.h>.
25129 (__libc_time): New prototype.
25130 (time_ifunc): Replace time with __libc_time.
25131 (time): New strong alias and hidden definition of __libc_time.
25132 (__GI_time): Remove strong alias.
25133 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25134 Include <stddef.h>.
25135 (memmove): Redefined to __redirect_memmove.
25136 (__memmove_sse2): Use typeof __redirect_memmove.
25137 (__memmove_ssse3): Likewise.
25138 (__memmove_ssse3_back): Likewise.
25139 (__libc_memmove): New prototype.
25140 (memmove): Renamed to ...
25141 (__libc_memmove): This.
25142 (memmove): New strong alias of __libc_memmove.
25143
33b4a91e
MS
251442012-08-08 Mark Salter <msalter@redhat.com>
25145
25146 * elf/elf.h
25147 (R_MN10300_TLS_GD): Define.
25148 (R_MN10300_TLS_LD): Likewise.
25149 (R_MN10300_TLS_LDO): Likewise.
25150 (R_MN10300_TLS_GOTIE): Likewise.
25151 (R_MN10300_TLS_IE): Likewise.
25152 (R_MN10300_TLS_LE): Likewise.
25153 (R_MN10300_TLS_DTPMOD): Likewise.
25154 (R_MN10300_TLS_DTPOFF): Likewise.
25155 (R_MN10300_TLS_TPOFF): Likewise.
25156 (R_MN10300_SYM_DIFF): Likewise.
25157 (R_MN10300_ALIGN): Likewise.
25158 (R_MN10300_NUM): Update.
25159
b36137f1
JM
251602012-08-08 Joseph Myers <joseph@codesourcery.com>
25161
25162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25163 Remove.
25164
cdd915fd
RM
251652012-08-08 Roland McGrath <roland@hack.frob.com>
25166
a2433aac
RM
25167 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25168
cdd915fd
RM
25169 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25170 sysdeps/unix -> sysdeps/posix move.
25171 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25172
bf9b740a
AM
251732012-08-07 Allan McRae <allan@archlinux.org>
25174
25175 [BZ #14303]
25176 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25177 (SUNOS_CPP): Likewise.
25178 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25179 not found.
25180 (open_input): Call CPP using execvp.
25181
93df14ee
JM
251822012-08-07 Joseph Myers <joseph@codesourcery.com>
25183
25184 * sysdeps/unix/sysv/linux/kernel-features.h
25185 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25186 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25187 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25188 (__ASSUME_WAITID_SYSCALL): Likewise.
25189 * sysdeps/unix/sysv/linux/dl-execstack.c
25190 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25191 code unconditional.
25192 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25193 conditional code.
25194 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25195 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25196 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25197 code.
25198 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25199 unconditional.
25200 [__ASSUME_WAITID_SYSCALL]: Likewise.
25201 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25202
d34689de
RM
252032012-08-07 Roland McGrath <roland@hack.frob.com>
25204
a281decc
RM
25205 * sysdeps/unix/closedir.c: Renamed to ...
25206 * sysdeps/posix/closedir.c: ... here.
25207 * sysdeps/unix/dirfd.c: Renamed to ...
25208 * sysdeps/posix/dirfd.c: ... here.
25209 * sysdeps/unix/dirstream.h: Renamed to ...
25210 * sysdeps/posix/dirstream.h: ... here.
25211 * sysdeps/unix/fdopendir.c: Renamed to ...
25212 * sysdeps/posix/fdopendir.c: ... here.
25213 * sysdeps/unix/opendir.c: Renamed to ...
25214 * sysdeps/posix/opendir.c: ... here.
25215 * sysdeps/unix/readdir.c: Renamed to ...
25216 * sysdeps/posix/readdir.c: ... here.
25217 * sysdeps/unix/readdir_r.c: Renamed to ...
25218 * sysdeps/posix/readdir_r.c: ... here.
25219 * sysdeps/unix/rewinddir.c: Renamed to ...
25220 * sysdeps/posix/rewinddir.c: ... here.
25221 * sysdeps/unix/seekdir.c: Renamed to ...
25222 * sysdeps/posix/seekdir.c: ... here.
25223 * sysdeps/unix/telldir.c: Renamed to ...
25224 * sysdeps/posix/telldir.c: ... here.
25225 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25226 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25227 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25228 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25229
22895b47
RM
25230 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25231 * bits/fcntl.h: ... here.
25232
707a53b6
RM
25233 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25234 not 0.
25235 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25236 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25237 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25238 (struct flock): Move l_start, l_len to the beginning.
25239 Use __pid_t for l_pid.
25240 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25241 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25242 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25243 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25244 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25245 [__USE_LARGEFILE64] (struct flock64): New type.
25246 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25247
f0bd3e25
RM
25248 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25249 * bits/dirent.h: ... here.
25250
d34689de
RM
25251 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25252 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25253
6dad2c06
JM
252542012-08-07 Joseph Myers <joseph@codesourcery.com>
25255
25256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25257 Change from 2.6.0 to 2.6.16.
25258 * sysdeps/unix/sysv/linux/configure: Regenerated.
25259 * sysdeps/unix/sysv/linux/kernel-features.h
25260 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25261 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25262 version.
25263 (__ASSUME_UTIMES): Likewise.
25264 (__ASSUME_CLONE_STOPPED): Remove.
25265 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25266 architectures, not kernel version.
25267 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25268 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25269 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25270 (__ASSUME_WAITID_SYSCALL): Likewise.
25271 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25272 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25273 * README: State 2.6.16 as minimum Linux kernel version. Do not
25274 refer to older versions.
25275
03af9520
RM
252762012-08-06 Roland McGrath <roland@hack.frob.com>
25277
8e49df1d
RM
25278 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25279 Define alphasort64 as an alias.
25280 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25281 Define versionsort64 as an alias.
25282 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25283 Define scandir64 as an alias.
25284 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25285 Define scandirat64 as an alias.
25286 * dirent/alphasort64.c (alphasort64):
25287 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25288 * dirent/versionsort64.c: Likewise.
25289 * dirent/scandir64.c: Likewise.
25290 * dirent/scandirat64.c: Likewise.
25291 * sysdeps/wordsize-64/alphasort.c: File removed.
25292 * sysdeps/wordsize-64/alphasort64.c: File removed.
25293 * sysdeps/wordsize-64/scandir.c: File removed.
25294 * sysdeps/wordsize-64/scandir64.c: File removed.
25295 * sysdeps/wordsize-64/scandirat.c: File removed.
25296 * sysdeps/wordsize-64/scandirat64.c: File removed.
25297 * sysdeps/wordsize-64/versionsort.c: File removed.
25298 * sysdeps/wordsize-64/versionsort64.c: File removed.
25299 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25300 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25301 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25302 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25303 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25304 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25305 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25306 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25307
25308 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25310 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25312 [defined __arch64__ || defined __sparcv9]
25313 (__INO_T_MATCHES_INO64_T): New macro.
25314 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25315 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25316 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25317 * sysdeps/unix/sysv/linux/bits/dirent.h
25318 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25319 (_DIRENT_MATCHES_DIRENT64): New macro.
25320
03af9520
RM
25321 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25322 Define lockf64 as an alias.
25323 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25324 Define fseeko64 as an alias.
25325 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25326 Define ftello64 as an alias.
25327 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25328 Define _IO_fgetpos64 and fgetpos64 as aliases.
25329 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25330 Define _IO_fsetpos64 and fsetpos64 as aliases.
25331 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25332 Conditionalize body on this.
25333 * libio/fseeko64.c: Likewise.
25334 * libio/ftello64.c: Likewise.
25335 * libio/iofgetpos64.c: Likewise.
25336 * libio/iofsetpos64.c: Likewise.
25337 * sysdeps/wordsize-64/lockf.c: File removed.
25338 * sysdeps/wordsize-64/lockf64.c: File removed.
25339 * sysdeps/wordsize-64/fseeko.c: File removed.
25340 * sysdeps/wordsize-64/fseeko64.c: File removed.
25341 * sysdeps/wordsize-64/ftello.c: File removed.
25342 * sysdeps/wordsize-64/ftello64.c: File removed.
25343 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25344 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25345 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25346 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25347 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25348 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25349 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25350 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25351 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25352 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25353 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25354 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25355 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25356 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25357
25358 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25360 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25362 [defined __arch64__ || defined __sparcv9]
25363 (__OFF_T_MATCHES_OFF64_T): New macro.
25364 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25365 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25367 (__OFF_T_MATCHES_OFF64_T): New macro.
25368
c5757acd
L
253692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25370
25371 * stdlib/secure-getenv.c (__secure_getenv): Replace
25372 GLIBC_2_16 with GLIBC_2_17.
25373
3a31811e
L
253742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25375
25376 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25377 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25378
faa2bccb
DM
253792012-08-03 David S. Miller <davem@davemloft.net>
25380
25381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25382
85fe1997
JM
253832012-08-03 Joseph Myers <joseph@codesourcery.com>
25384
25385 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25386 Remove.
25387 (__ASSUME_CORRECT_SI_PID): Likewise.
25388 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25389 (__ASSUME_TMPFS_NAME): Likewise.
25390 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25391 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25392 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25393 (HAVE_AUX_SECURE): Make definition unconditional.
25394 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25395 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25396
4f75b7a0
RM
253972012-08-03 Roland McGrath <roland@hack.frob.com>
25398
25399 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25400 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25401 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25402 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25403 __eloop_threshold instead of SYMLOOP_MAX.
25404
25405 * sysdeps/generic/eloop-threshold.h: New file.
25406 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25407 of MAXSYMLINKS.
25408 * elf/chroot_canon.c (chroot_canon): Likewise.
25409
7aab07e4
JM
254102012-08-03 Joseph Myers <joseph@codesourcery.com>
25411
25412 [BZ #13717]
25413 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25414 Change to 2.6.0 everywhere.
25415 * sysdeps/unix/sysv/linux/configure: Regenerated.
25416 * sysdeps/unix/sysv/linux/kernel-features.h
25417 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25418 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25419 kernel versions.
25420 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25421 (__ASSUME_FUTEX_REQUEUE): Remove.
25422 (__ASSUME_STATFS64): Define unconditionally.
25423 (__ASSUME_AT_SECURE): Likewise.
25424 (__ASSUME_CORRECT_SI_PID): Likewise.
25425 (__ASSUME_TGKILL): Define without depending on kernel version for
25426 i386.
25427 (__ASSUME_UTIMES): Likewise.
25428 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25429 kernel version.
25430 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25431 (__ASSUME_TMPFS_NAME): Likewise.
25432 * README: Update reference to Linux kernel versions.
25433
b67e9372
MP
254342012-08-02 Marek Polacek <polacek@redhat.com>
25435
1f529f7d 25436 [BZ# 14150]
b67e9372
MP
25437 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25438 libc_cv_asm_type_prefix with %.
25439 * configure: Regenerated.
d2441631
RM
25440 * include/libc-symbols.h: Remove comment about
25441 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25442 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25443 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25444 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25445 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25446 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25447 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25448 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25449 * elf/tst-unique2mod1.c: Likewise.
25450 * elf/tst-unique1mod2.c: Likewise.
25451 * elf/tst-unique1mod1.c: Likewise.
25452 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25453 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25454 Replace ASM_TYPE_DIRECTIVE with .type.
25455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25456 * sysdeps/i386/sysdep.h: Likewise.
25457 * sysdeps/x86_64/sysdep.h: Likewise.
25458 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25460 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25461 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25462 * sysdeps/powerpc/powerpc32/sysdep.h:
25463 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25464 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25465 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25466 * sysdeps/i386/fpu/e_powf.S: Likewise.
25467 * sysdeps/i386/fpu/e_expl.S: Likewise.
25468 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25470 * sysdeps/i386/fpu/e_pow.S: Likewise.
25471 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25473 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25474 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25475 * sysdeps/i386/fpu/e_log2.S: Likewise.
25476 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25477 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25478 * sysdeps/i386/fpu/e_powl.S: Likewise.
25479 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25480 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25481 * sysdeps/i386/fpu/e_logl.S: Likewise.
25482 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25483 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25484 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25485 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25486 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25487 * sysdeps/i386/fpu/e_log.S: Likewise.
25488 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25489 * sysdeps/i386/fpu/e_logf.S: Likewise.
25490 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25491 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25492 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25493 * sysdeps/i386/fpu/e_log10.S: Likewise.
25494 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25495 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25496 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25497 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25498 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25499 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25500 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25501 * sysdeps/i386/i686/strtok.S: Likewise.
25502 * sysdeps/i386/i386-mcount.S: Likewise.
25503 * sysdeps/i386/strtok.S: Likewise.
25504 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25505 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25506 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25507 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25508 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25509 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25510 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25511 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25512 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25513 * sysdeps/x86_64/_mcount.S: Likewise.
25514 * sysdeps/x86_64/strtok.S: Likewise.
25515 * sysdeps/sh/_mcount.S: Likewise.
25516
2747bf9a
RM
255172012-08-01 Roland McGrath <roland@hack.frob.com>
25518
25519 * libio/iofopen.c: Include <fcntl.h>.
25520 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25521 (_IO_fopen64, fopen64): Define as aliases.
25522 * libio/iofopen64.c: Include <fcntl.h>.
25523 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25524 Conditionalize body on this.
25525 * sysdeps/wordsize-64/iofopen.c: File removed.
25526 * sysdeps/wordsize-64/iofopen64.c: File removed.
25527
3fb791b8
MP
255282012-08-01 Marek Polacek <polacek@redhat.com>
25529
25530 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25531 Use dlfcn directly instead of a variable.
25532 (binfmt-subdir): Do not define.
25533 (dlfcn): Likewise.
25534
a9f1039f
JM
255352012-08-01 Joseph Myers <joseph@codesourcery.com>
25536
23bddc06
JM
25537 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25538 Remove all definitions.
25539 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25540 <kernel-features.h>.
25541 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25542 (miss_F_GETOWN_EX): Remove all definitions.
25543 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25544 macro definition.
25545 [!__ASSUME_FCNTL64]: Remove conditional code.
25546 [__ASSUME_FCNTL64]: Make code unconditional.
25547 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25548 <kernel-features.h>.
25549 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25550 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25551 (lockf64) [__NR_fcntl64]: Make code unconditional.
25552 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25553
a9f1039f
JM
25554 * sysdeps/unix/sysv/linux/kernel-features.h
25555 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25556 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25557 Make code unconditional.
25558 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25559 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25561 [__NR_vfork]: Make code unconditional.
25562 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25563 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25565 [__NR_vfork]: Make code unconditional.
25566 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25567 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25568
09c0ee5f
RM
255692012-08-01 Roland McGrath <roland@hack.frob.com>
25570
48aec5b9
RM
25571 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25572 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25573
cd97c966
RM
25574 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25575 Define mkstemp64 as an alias.
3f55550c
RM
25576 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25577 Define mkstemps64 as an alias.
cd97c966
RM
25578 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25579 Define mkostemp64 as an alias.
b8625cfc
RM
25580 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25581 Define mkostemps64 as an alias.
cd97c966
RM
25582 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25583 Conditionalize body on this.
25584 * misc/mkostemp64.c: Likewise.
b8625cfc 25585 * misc/mkostemps64.c: Likewise.
3f55550c 25586 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25587 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25588 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25589 * sysdeps/wordsize-64/mkostemp.c: File removed.
25590 * sysdeps/wordsize-64/mkstemp.c: File removed.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25594 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25595
09c0ee5f
RM
25596 [BZ #14138]
25597 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25598 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25599 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25600 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25601
25602 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25603 compat_symbol macros from <shlib-compat.h> rather than the underlying
25604 default_symbol_version and symbol_version macros, so that DEFAULT
25605 lines in shlib-versions are respected.
25606 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25607
7e66ee51
FW
256082012-08-01 Florian Weimer <fweimer@redhat.com>
25609
25610 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25611 Declare with warn_unused_result.
25612 (setgid, setregid, setegid, setresgid): Likewise.
25613 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25614 Likewise.
25615 * WUR-REPORT: Remove set*id functions.
25616
d2a54255
PT
256172012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25618
25619 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25620
7ecdb005
RM
256212012-07-31 Roland McGrath <roland@hack.frob.com>
25622
b4180a5e 25623 [BZ #10191]
789bd351
RM
25624 * include/sys/socket.h (__libc_accept, __libc_accept4):
25625 Add attribute_hidden.
25626 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25627
40ce302d
RM
25628 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25629 use of PTR_MANGLE.
25630 * inet/getnetgrent_r.c (setup): Likewise.
25631
7ecdb005
RM
25632 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25633
e2eabb2c
DM
256342012-07-31 David S. Miller <davem@davemloft.net>
25635
25636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25637
d0419dbf
JM
256382012-07-31 Joseph Myers <joseph@codesourcery.com>
25639
25640 [BZ #13629]
25641 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25642 value between 1.0 and 2.0 and smaller part has absolute value less
25643 than 1.0.
25644 * math/s_clog10.c (__clog10): Likewise.
25645 * math/s_clog10f.c (__clog10f): Likewise.
25646 * math/s_clog10l.c (__clog10l): Likewise.
25647 * math/s_clogf.c (__clogf): Likewise.
25648 * math/s_clogl.c (__clogl): Likewise.
25649 * math/libm-test.inc (clog_test): Add more tests.
25650 (clog10_test): Likewise.
25651 * sysdeps/i386/fpu/libm-test-ulps: Update.
25652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25653
2bc13872
FW
256542012-07-31 Florian Weimer <fweimer@redhat.com>
25655
25656 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25657 Exit with zero in case no suitable GID is found, and write a
25658 message to standard error.
25659
bea9b193
RM
256602012-07-30 Roland McGrath <roland@hack.frob.com>
25661
25662 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25663 rather than to 1.
25664 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25665 (MAXPATHLEN): Removed.
25666 (NOGROUP, NODEV): New macros.
25667 (setbit, clrbit, isset, isclr): New macros.
25668 (howmany, roundup, powerof2): New macros.
25669 (DEV_BSIZE): New macro.
25670
25671 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25672 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25673
25674 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25675 definition on [!__NO_LONG_DOUBLE_MATH].
25676
25677 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25678 PTR_MANGLE and PTR_DEMANGLE.
25679
25680 * socket/accept4.c (accept4): Rename to __libc_accept4.
25681 Define accept4 as a weak alias.
25682
25683 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25684 on [_DIRENT_HAVE_D_TYPE].
25685 * io/ftw.c (ftw_dir): Likewise.
25686
25687 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25688
25689 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25690
25691 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25692 Use the BSD numbers rather than the arbitrary ones we had.
25693 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25694 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25695 (SIGXCPU, SIGXFSZ): New macros.
25696 (_NSIG): Now 32.
25697
25698 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25699 initializer on [_LIBC_REENTRANT].
25700
25701 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25702 definitions inside [_POSIX_MAPPED_FILES].
25703
25704 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25705
25706 * dirent/opendir.c: Include <fcntl.h>.
25707
25708 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25709 (__libc_getspecific): Likewise.
25710 (__libc_key_create): Likewise.
25711
25712 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25713 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25714 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25715 (tmpfile64): Define as alias.
25716 * sysdeps/wordsize-64/tmpfile.c: File removed.
25717 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25719 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25720
25721 * stdio-common/vfscanf.c: Include <stdbool.h>.
25722 * nss/makedb.c: Likewise.
25723 * stdio-common/_i18n_number.h: Likewise.
25724 * argp/argp-help.c: Likewise.
25725 * posix/wordexp.c: Likewise.
25726 * sysdeps/posix/spawni.c: Likewise.
25727 * nss/nss_files/files-initgroups.c: Likewise.
25728 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25729 * nss/nss_files/files-initgroups.c: Likewise.
25730 * nss/nss_db/db-netgrp.c: Likewise.
25731 * nss/nss_db/db-initgroups.c: Likewise.
25732 * io/fchmodat.c: Include <sys/stat.h>.
25733
25734 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25735 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25736
25737 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25738 [HAVE_MMAP].
25739
25740 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25741 Add multiple inclusion protection.
25742
e5abc686
DM
257432012-07-27 David S. Miller <davem@davemloft.net>
25744
25745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25746
815e6fa3
GB
257472012-07-27 Gary Benson <gbenson@redhat.com>
25748
25749 [BZ #14298]
25750 * elf/rtld.c: Include <stap-probe.h>.
25751 (dl_main): Added static probes "init_start" and "init_complete".
25752 * elf/dl-load.c: Include <stap-probe.h>.
25753 (lose): Take new parameter "nsid".
25754 Added static probe "map_failed".
25755 (_dl_map_object_from_fd): Pass namespace id to lose.
25756 Added static probe "map_start".
25757 (open_verify): Pass namespace id to lose.
25758 * elf/dl-open.c: Include <stap-probe.h>.
25759 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25760 and "reloc_complete".
25761 * elf/dl-close.c: Include <stap-probe.h>.
25762 (_dl_close_worker): Added static probes "unmap_start" and
25763 "unmap_complete".
25764 * elf/rtld-debugger-interface.txt: New file documenting the above.
25765
9f98c16c
RM
257662012-07-26 Roland McGrath <roland@hack.frob.com>
25767
25768 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25769 rather than a string variable.
25770 * sunrpc/rpc_main.c (h_output): Likewise.
25771 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25772
f3c22df3
PT
257732012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25774
25775 * inet/check_native.c: New file.
25776
3129cfc6
JM
257772012-07-26 Joseph Myers <joseph@codesourcery.com>
25778
da865e95
JM
25779 [BZ #13629]
25780 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25781 if larger part has absolute value 1.0.
25782 * math/s_clog10.c (__clog10): Likewise.
25783 * math/s_clog10f.c (__clog10f): Likewise.
25784 * math/s_clog10l.c (__clog10l): Likewise.
25785 * math/s_clogf.c (__clogf): Likewise.
25786 * math/s_clogl.c (__clogl): Likewise.
25787 * math/libm-test.inc (clog_test): Add more tests.
25788 (clog10_test): Likewise.
25789 * sysdeps/i386/fpu/libm-test-ulps: Update.
25790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25791
3129cfc6
JM
25792 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25793 (pltexit): Likewise.
25794 (La_regs): Likewise.
25795 (La_retval): Likewise.
25796 (int_retval): Likewise.
25797 Update #error for removed macros to refer only to definitions in
25798 tst-audit.h.
25799 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25800 macro.
25801 (pltexit): Likewise.
25802 (La_regs): Likewise.
25803 (La_retval): Likewise.
25804 (int_retval): Likewise.
25805 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25806 macro.
25807 (pltexit): Likewise.
25808 (La_regs): Likewise.
25809 (La_retval): Likewise.
25810 (int_retval): Likewise.
25811 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25812 macro.
25813 (pltexit): Likewise.
25814 (La_regs): Likewise.
25815 (La_retval): Likewise.
25816 (int_retval): Likewise.
25817 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25818 macro.
25819 (pltexit): Likewise.
25820 (La_regs): Likewise.
25821 (La_retval): Likewise.
25822 (int_retval): Likewise.
25823 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25824 macro.
25825 (pltexit): Likewise.
25826 (La_regs): Likewise.
25827 (La_retval): Likewise.
25828 (int_retval): Likewise.
25829 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25830 macro.
25831 (pltexit): Likewise.
25832 (La_regs): Likewise.
25833 (La_retval): Likewise.
25834 (int_retval): Likewise.
25835 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25836 macro definitions in tst-audit.h.
25837 * sysdeps/i386/tst-audit.h: New file.
25838 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25839 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25840 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25841 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25842 * sysdeps/sh/tst-audit.h: Likewise.
25843 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25844 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25845 * sysdeps/x86_64/tst-audit.h: Likewise.
25846
bfc07087
AJ
258472012-07-26 Andreas Jaeger <aj@suse.de>
25848
b1b2aaf8
AJ
25849 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25850 ptrace.
25851
25852 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25853 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25854 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25855 PTRACE_O_MASK.
25856 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25857 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25858 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25859
bfc07087
AJ
25860 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25861 value.
25862
25863 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25864 _sigsys.
25865 (si_call_addr, si_syscall, si_arch): Define new macro.
25866 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25867 _sigsys.
25868 (si_call_addr, si_syscall, si_arch): Define new marcro.
25869 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25870 _sigsys.
25871 (si_call_addr, si_syscall, si_arch): Define new macro.
25872 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25873 _sigsys.
25874 (si_call_addr, si_syscall, si_arch): Define new macro.
25875
89b4b02f
JM
258762012-07-25 Joseph Myers <joseph@codesourcery.com>
25877
25878 [BZ #13717]
25879 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25880 Change to 2.4.21 where previously 2.4.1.
25881 * sysdeps/unix/sysv/linux/configure: Regenerated.
25882 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25883 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25884 Linux kernel version.
25885 (__ASSUME_STD_AUXV): Remove.
25886 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25887 kernel version.
25888 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25889 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25890 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25891 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25892 (__ASSUME_NETLINK_SUPPORT): Likewise.
25893 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25894 (__no_netlink_support): Remove conditional definition.
25895 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25896 Remove.
25897 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25898 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25899 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25900 (if_nameindex_ioctl): Remove.
25901 (if_nameindex_netlink): Do not handle __no_netlink_support.
25902 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25903 code.
25904 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25905 Remove conditional code.
25906 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25907 code.
25908 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25909 unconditional.
25910 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25911 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25912 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25913 Remove.
25914 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25915 [!__ASSUME_STD_AUXV]: Remove conditional code.
25916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25917 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25918 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25920 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25921 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25922 code.
25923 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25925 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25926 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25927 conditional code.
25928 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25930 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25931 code.
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25933 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25934 conditional code.
25935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25936 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25937 code unconditional.
25938 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25939 conditional code.
25940 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25941 unconditional.
25942 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25943 conditional code.
25944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25945 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25946 unconditional.
25947 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25948 conditional code.
25949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25950 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25951 code unconditional.
25952 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25953 conditional code.
25954 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25955 unconditional.
25956 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25957 conditional code.
25958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25959 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25960 code unconditional.
25961 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25962 conditional code.
25963 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25964 unconditional.
25965 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25966 conditional code.
25967
842a39cd
AS
259682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25969
25970 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25971 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25972 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25973 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25974 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25975 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25976 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25977 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25978 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25979 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25980 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25981 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25982 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25983 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25984 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25985 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25986 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25987 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25988 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25990 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25991 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25993
84b3fd84
FW
259942012-07-25 Florian Weimer <fweimer@redhat.com>
25995
25996 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25997 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25998 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25999 Introduce __libc_secure_getenv.
0c7936d5
FW
26000 * stdlib/Versions (2.17): Add secure_getenv
26001 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26002 * stdlib/secure-getenv.c: Rename __secure_getenv to
26003 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26004 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26005 * stdlib/tst-secure-getenv.c: New.
26006 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26007 * manual/startup.texi (Environment Access): Document
26008 secure_getenv.
84b3fd84
FW
26009 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26010 __libc_secure_getenv.
26011 * inet/ruserpass.c (ruserpass): Likewise.
26012 * malloc/mtrace.c (mtrace): Likewise.
26013 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26014 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26015 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26016 * sysdeps/posix/tempname.c: Likewise. Evaluate
26017 HAVE_SECURE_GETENV.
26018 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26019 __secure_getenv to __libc_secure_getenv.
84b3fd84 26020 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26022 Likewise.
26023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26024 Likewise.
26025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26027 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26032
56e49b71
JM
260332012-07-25 Joseph Myers <joseph@codesourcery.com>
26034
26035 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26036 (struct La_i86_retval): Likewise.
26037 (struct La_x86_64_regs): Likewise.
26038 (struct La_x86_64_retval): Likewise.
26039 (struct La_x32_regs): Likewise.
26040 (struct La_x32_retval): Likewise.
26041 (struct La_ppc32_regs): Likewise.
26042 (struct La_ppc32_retval): Likewise.
26043 (struct La_ppc64_regs): Likewise.
26044 (struct La_ppc64_retval): Likewise.
26045 (struct La_sh_regs): Likewise.
26046 (struct La_sh_retval): Likewise.
26047 (struct La_s390_32_regs): Likewise.
26048 (struct La_s390_32_retval): Likewise.
26049 (struct La_s390_64_regs): Likewise.
26050 (struct La_s390_64_retval): Likewise.
26051 (struct La_sparc32_regs): Likewise.
26052 (struct La_sparc32_retval): Likewise.
26053 (struct La_sparc64_regs): Likewise.
26054 (struct La_sparc64_retval): Likewise.
26055 (struct audit_ifaces): Remove architecture-specific pltenter and
26056 pltexit members.
26057 * sysdeps/i386/ldsodefs.h: New file.
26058 * sysdeps/powerpc/ldsodefs.h: Likewise.
26059 * sysdeps/s390/ldsodefs.h: Likewise.
26060 * sysdeps/sh/ldsodefs.h: Likewise.
26061 * sysdeps/sparc/ldsodefs.h: Likewise.
26062 * sysdeps/x86_64/ldsodefs.h: Likewise.
26063
354691b7
MP
260642012-07-25 Marek Polacek <polacek@redhat.com>
26065
26066 [BZ #6808]
26067 * math/libm-test.inc (yn_test): Add another test.
26068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26069 to ERANGE when the result is +-Inf.
26070 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26071 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26072 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26073 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26074
bf9e2071
JM
260752012-07-24 Joseph Myers <joseph@codesourcery.com>
26076
26077 * conform/data/time.h-data (NULL): Use macro-constant. Require
26078 equal to 0.
26079 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26080 clock_t.
26081 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26082
57633811
TS
260832012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26084
26085 * configure.in <sysdeps resolving>: Correct printing
26086 Implies_before.
26087 * configure: Regenerate.
26088
c23c33b0
TS
260892012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26090
26091 * math/w_ilogb.c: Include <limits.h>.
26092 * math/w_ilogbl.c: Likewise.
26093
b5982523
JM
260942012-07-20 Joseph Myers <joseph@codesourcery.com>
26095
26096 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26097 va_copy. Document allowing for unavailable va_copy only as
26098 pre-C99 compatibility.
26099 * manual/string.texi (Copying and Concatenation): Use va_copy
26100 instead of __va_copy in concat example.
26101
ac4ea442
PT
261022012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26103
26104 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26105 (__sendto): Use create_address_port. Initialize APORT and deallocate
26106 it if not null.
26107
f98eafbd
PT
26108 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26109 with O_NOLINK passed to __file_name_lookup.
26110
898c7aab
PT
26111 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26112 with O_NOLINK passed to __file_name_lookup.
26113
0ced335a
PT
26114 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26115 negative N or less than NGIDS.
26116
b3404dbd
PT
26117 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26118 type to string_t. Set ERANGE as errno and return it if NAME is not big
26119 enough. Use memcpy instead of strncpy.
26120
0f48659e
JM
261212012-07-20 Joseph Myers <joseph@codesourcery.com>
26122
26123 * elf/Makefile (check-data): Remove.
26124 (localplt.data): New vpath directive.
26125 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26126 instead of $(check-data).
26127 * scripts/data/localplt-generic.data: Move to ...
26128 * sysdeps/generic/localplt.data: ... here.
26129 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26130 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26131 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26133 ... here.
26134 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26136 ... here.
26137 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26139 ... here.
26140 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26142 ... here.
26143 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26145 ... here.
26146 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26148 ... here.
26149
d37cbdaa
AZ
261502012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26151
26152 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26153 PPC32 and PPC64 files.
26154 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26155 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26156
46f85fc2
AK
261572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26158
26159 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26160 __makecontext_ret to ...
26161 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26162 ... here and call exit if uc_link is NULL. New file.
26163 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26164 __makecontext_ret.S.
26165 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26166 __makecontext_ret to ...
26167 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26168 ... here and call exit if uc_link is NULL. New file.
26169 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26170 __makecontext_ret.S.
26171
08f43f9b
AK
261722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26173
26174 * elf/elf.h (R_390_IRELATIVE): New definition.
26175 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26176 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26177 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26178 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26179 (elf_machine_lazy_rel): Likewise.
26180 * sysdeps/s390/dl-irel.h: New file.
26181 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26182 * sysdeps/s390/s390-64/memset.S: New asm code.
26183 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26184 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26185 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26186 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26187 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26188 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26190 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26191 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26192 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26193 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26194 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26195 * sysdeps/s390/s390-32/memset.S: New asm code.
26196 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26197
3b05db33
MP
261982012-07-17 Marek Polacek <polacek@redhat.com>
26199
26200 [BZ #14349]
26201 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26202 * sysdeps/s390/s390-64/configure.in: Likewise.
26203 * sysdeps/sparc/configure.in: Likewise.
26204 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26205 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26206 * sysdeps/i386/configure.in: Likewise.
26207 * sysdeps/x86_64/configure.in: Likewise.
26208 * sysdeps/sh/configure.in: Likewise.
26209 * sysdeps/s390/s390-32/configure: Regenerated.
26210 * sysdeps/s390/s390-64/configure: Likewise.
26211 * sysdeps/x86_64/configure: Likewise.
26212 * sysdeps/sh/configure: Likewise.
26213 * sysdeps/powerpc/powerpc64/configure: Likewise.
26214 * sysdeps/powerpc/powerpc32/configure: Likewise.
26215 * sysdeps/sparc/configure: Likwise.
26216 * sysdeps/i386/configure: Likewise.
26217
a66877c6
MP
26218 * elf/dl-open.c: Comment fixes.
26219
cfc82fd8
JM
262202012-07-17 Joseph Myers <joseph@codesourcery.com>
26221
bd29910a
JM
26222 * Makefile [CXX] (check-data): Remove.
26223 [CXX] (c++-types.data): New vpath directive.
26224 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26225 vpath. Do not allow for C++ type data being missing.
26226 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26227 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26228 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26229 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26230 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26231 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26232 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26234 ... here.
26235 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26237 ... here.
26238 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26240 ... here.
26241 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26243 ... here.
26244 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26246 ... here.
26247 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26249 ... here.
26250 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26252 ... here.
26253 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26255
cfc82fd8
JM
26256 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26257 definitions to architecture-specific files.
26258 (TLS_IE): Likewise.
26259 (TLS_LD): Likewise.
26260 (TLS_GD): Likewise.
26261 * sysdeps/i386/tls-macros.h: New file.
26262 * sysdeps/powerpc/tls-macros.h: Likewise.
26263 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26264 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26265 * sysdeps/sh/tls-macros.h: Likewise.
26266 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26267 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26268 * sysdeps/x86_64/tls-macros.h: Likewise.
26269
f7db3170
TS
262702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26271
07cbfc23
TS
26272 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26273 zero value for regular exit case.
26274
f7db3170
TS
26275 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26276 (__start_context): Preserve zero value for regular exit case.
26277
dc97c227
TS
262782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26279 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26280
26281 * manual/setjmp.texi (setcontext): Clarify normal process
26282 termination when uc_link is the null pointer.
26283 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26284 exit call.
26285
d0cd7d02
AS
262862012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26287
26288 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26289 preprocessor. Test for each exception mask separately.
26290
dd318934
AJ
262912012-07-16 Andreas Jaeger <aj@suse.de>
26292
26293 * po/ru.po: Update from translation team.
26294
8048311a
JM
262952012-07-15 Joseph Myers <joseph@codesourcery.com>
26296
26297 * conform/data/string.h-data (NULL): Use macro-constant. Require
26298 equal to 0.
26299 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26300 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26301 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26302 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26304
b637d46e
AJ
263052012-07-13 Andreas Jaeger <aj@suse.de>
26306
26307 * po/fr.po: Update from translation team.
26308
541428fe
MP
263092012-07-12 Marek Polacek <polacek@redhat.com>
26310
26311 [BZ #14173]
26312 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26313 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26314 loop condition.
26315
ec332e94
JM
263162012-07-12 Joseph Myers <joseph@codesourcery.com>
26317
26318 [BZ #13717]
26319 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26320 Change to 2.4.1 where previously 2.4.0.
26321 * sysdeps/unix/sysv/linux/configure: Regenerated.
26322 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26323 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26324 version.
26325 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26326 (__ASSUME_AT_CLKTCK): Remove.
26327 (__ASSUME_AT_PAGESIZE): Likewise.
26328 (__ASSUME_AT_XID): Likewise.
26329 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26330 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26331 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26332 unconditionally.
26333 (HAVE_AUX_PAGESIZE): Likewise.
26334 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26335 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26336 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26337
7b6e99be
JB
263382012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26339
26340 [BZ #14307]
26341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26342 the temporary buffer used to invoke __gethostbyname2_r,
26343 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26344 host_data / struct gaih_addrtuple.
26345 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26346 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26347 header file nss/nsswitch.h.
26348 * nss/nsswitch.h (global scope): Add definition of implementation
26349 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26350 resolv/nss_dns/dns-host.c).
26351
608404eb
AJ
263522012-07-11 Andreas Jaeger <aj@suse.de>
26353
26354 * po/fr.po: Update from translation team.
26355
71220aca
AJ
26356 * po/sv.po: Update from translation team
26357 * po/fr.po: Another update from translation team.
26358
28cfe843
AZ
263592012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26360
26361 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26362 for subnormals or multiply small sinh result by itself.
26363 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26365
6b90f981
DM
263662012-07-11 David S. Miller <davem@davemloft.net>
26367
26368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26369
c6825772
AS
263702012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26371
26372 [BZ #14347]
26373 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26374 (INTERNAL_MARK): Shift it here.
26375
7b8e0d49
MP
263762012-07-10 Marek Polacek <polacek@redhat.com>
26377
26378 [BZ #14151]
26379 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26380 libc_cv_asm_global_directive with .globl.
26381 * configure: Regenerated.
26382 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26383 with .globl.
26384 * sysdeps/i386/configure: Regenerated.
26385 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26386 with .globl.
26387 * sysdeps/x86_64/configure: Regenerated.
26388 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26389 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26390 * elf/tst-unique2mod2.c: Likewise.
26391 * elf/tst-unique2mod1.c: Likewise.
26392 * elf/tst-unique1mod2.c: Likewise.
26393 * elf/tst-unique1mod1.c: Likewise.
26394 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26395 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26396 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26397 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26398 * sysdeps/mach/sysdep.h: Likewise.
26399 * sysdeps/i386/sysdep.h: Likewise.
26400 * sysdeps/i386/i386-mcount.S: Likewise.
26401 * sysdeps/x86_64/_mcount.S: Likewise.
26402 * sysdeps/x86_64/sysdep.h: Likewise.
26403 * sysdeps/sh/_mcount.S: Likewise.
26404 * sysdeps/sh/sysdep.h: Likewise.
26405 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26406 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26407 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26408 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26409 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26410 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26411 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26412 * locale/localeinfo.h: Likewise.
26413 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26414 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26415
6c55cda3
RM
264162012-07-09 Roland McGrath <roland@hack.frob.com>
26417
26418 [BZ #14336]
26419 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26420 system".
26421 * manual/message.texi (The Uniforum approach): Likewise.
26422 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26423 (glibc iconv Implementation): Likewise.
26424
638a572e
JM
264252012-07-09 Joseph Myers <joseph@codesourcery.com>
26426
26427 [BZ #14337]
26428 * math/s_clog.c (__clog): Avoid scaling a value down where that
26429 could result in underflow.
26430 * math/s_clog10.c (__clog10): Likewise.
26431 * math/s_clog10f.c (__clog10f): Likewise.
26432 * math/s_clog10l.c (__clog10l): Likewise.
26433 * math/s_clogf.c (__clogf): Likewise.
26434 * math/s_clogl.c (__clogl): Likewise.
26435 * math/libm-test.inc (clog_test): Add more tests.
26436 (clog10_test): Likewise.
26437 * sysdeps/i386/fpu/libm-test-ulps: Update.
26438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26439
261f4859
AS
264402012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26441
0abaf3e4
AS
26442 [BZ #14283]
26443 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26444 by 7 not 8 to examine high bit of fractional part.
26445
261f4859
AS
26446 [BZ #14042]
26447 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26448 for call to __mcount_internal.
26449 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26450 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26451 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26452
f17ac40d
JM
264532012-07-06 Joseph Myers <joseph@codesourcery.com>
26454
9ad63c23
JM
26455 [BZ #14154]
26456 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26457 approximation for values within 0x1p-13f of an odd multiple of
26458 pi/4.
26459 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26460 exception. Add more tests.
26461 * sysdeps/i386/fpu/libm-test-ulps: Update.
26462
f17ac40d
JM
26463 [BZ #6778]
26464 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26465 inputs and return -1 for them. Do not check for +Inf in case not
26466 reachable for +Inf.
26467 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26468 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26470 and return -1 for them. Do not check for +Inf in case not
26471 reachable for +Inf.
26472 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26473 define.
26474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26475 and return -1 for them. Do not check for +Inf in case not
26476 reachable for +Inf.
26477 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26478 spurious underflow.
26479 * sysdeps/i386/fpu/libm-test-ulps: Update.
26480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26481
fb21f89b
MF
264822012-07-06 Mike Frysinger <vapier@gentoo.org>
26483
26484 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26485
cdfe2c5e
JM
264862012-07-05 Joseph Myers <joseph@codesourcery.com>
26487
26488 [BZ #14157]
26489 [BZ #14331]
26490 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26491 could result in spurious underflow. Scale down values above
26492 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26493 * math/s_csqrtf.c (__csqrtf): Likewise.
26494 * math/s_csqrtl.c (__csqrtl): Likewise.
26495 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26496 spurious underflow.
26497 * sysdeps/i386/fpu/libm-test-ulps: Update.
26498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26499
70d35b67
AS
265002012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26501
704bc459
AS
26502 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26503 xopen-msg.sed.
26504 * catgets/xopen-msg.awk: New file.
26505 * catgets/xopen-msg.sed: Removed.
26506
70d35b67
AS
26507 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26508 po2text.sed.
26509 * intl/po2test.awk: New file.
26510 * intl/po2test.sed: Removed.
26511
ca61cf32
JM
265122012-07-04 Joseph Myers <joseph@codesourcery.com>
26513
26514 [BZ #14328]
26515 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26516 or multiply small sinh result by itself.
26517 * math/s_ctanf.c (__ctanf): Likewise.
26518 * math/s_ctanh.c (__ctanh): Likewise.
26519 * math/s_ctanhf.c (__ctanhf): Likewise.
26520 * math/s_ctanhl.c (__ctanhl): Likewise.
26521 * math/s_ctanl.c (__ctanl): Likewise.
26522 * math/libm-test.inc (ctan_test_tonearest): New function.
26523 (ctan_test_towardzero): Likewise.
26524 (ctan_test_downward): Likewise.
26525 (ctan_test_upward): Likewise.
26526 (ctanh_test_tonearest): Likewise.
26527 (ctanh_test_towardzero): Likewise.
26528 (ctanh_test_downward): Likewise.
26529 (ctanh_test_upward): Likewise.
26530 (main): Call these new functions.
26531 * sysdeps/i386/fpu/libm-test-ulps: Update.
26532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26533
ca48a46a
MF
265342012-07-03 Mike Frysinger <vapier@gentoo.org>
26535
26536 * .gitignore: Delete /ports entry.
26537
9d63d37d
AJ
265382012-07-03 Andreas Jaeger <aj@suse.de>
26539
26540 * po/bg.po: Update from translation team.
26541 * po/cs.po: Likewise.
26542 * po/de.po: Likewise.
26543 * po/hr.po: Likewise.
26544 * po/nl.pl: Likewise.
26545 * po/pl.po: Likewise.
26546 * po/vi.po: Likewise.
26547
370ca3d2
JM
265482012-07-03 Joseph Myers <joseph@codesourcery.com>
26549
95f5a9a8
JM
26550 * Makeconfig [!+link] (+link-before-libc): New variable.
26551 [!+link] (+link-after-libc): Likewise.
26552 [!+link] (+link-tests): Likewise.
26553 [!+link] (+link): Define in terms of $(+link-before-libc) and
26554 $(+link-after-libc).
26555 [!+link-static] (+link-static-before-libc): New variable.
26556 [!+link-static] (+link-static-after-libc): Likewise.
26557 [!+link-static] (+link-static-tests): Likewise.
26558 [!+link-static] (+link-static): Define in terms of
26559 $(+link-static-before-libc) and $(+link-static-after-libc).
26560 [build-shared] (link-libc-before-gnulib): New variable.
26561 [build-shared] (link-libc-tests): Likewise.
26562 [build-shared] (link-libc): Define in terms of
26563 $(link-libc-before-gnulib).
26564 [!build-shared] (link-libc-tests): New variable.
26565 (link-libc-static-tests): New variable.
26566 [!gnulib] (gnulib-arch): New variable.
26567 [!gnulib] (gnulib-tests): Likewise.
26568 [!gnulib] (static-gnulib-arch): Likewise.
26569 [!gnulib] (static-gnulib-tests): Likewise.
26570 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26571 Define with "=" instead of ":=".
26572 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26573 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26574 * Rules (binaries-all-notests): New variable.
26575 (binaries-all-tests): Likewise.
26576 (binaries-static-notests): Likewise.
26577 (binaries-static-tests): Likewise.
26578 (binaries-all): Define using $(binaries-all-notests) and
26579 $(binaries-all-tests).
26580 (binaries-static): Define using $(binaries-static-notests) and
26581 $(binaries-static-tests).
26582 (binaries-shared-tests): New variable.
26583 (binaries-shared-notests): Likewise.
26584 (binaries-shared): Remove variable.
26585 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26586 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26587 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26588 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26589 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26590 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26591 * elf/Makefile (sln-modules): New variable.
26592 (extra-objs): Add $(sln-modules:=.o).
26593 (ldconfig-modules): Add static-stubs.
26594 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26595 * elf/static-stubs.c: New file.
26596
7a845b2c
JM
26597 [BZ #14283]
26598 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26599 by 7 not 8 to examine high bit of fractional part. Use volatile
26600 variables when splitting into final array of floats if
26601 __FLT_EVAL_METHOD__ != 0.
26602 * math/libm-test.inc (cos_test): Add another test.
26603 (sin_test): Likewise.
26604 * sysdeps/i386/fpu/libm-test-ulps: Update.
26605
e2283f38
JM
26606 [BZ #14273]
26607 * math/libm-test.inc (cosh_test): Add more tests.
26608
370ca3d2
JM
26609 * version.h (RELEASE): Set to "development".
26610 (VERSION): Set to "2.16.90".
26611
ee9247c3
CD
266122012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26613
26614 * NEWS: Update copyright. Remove last-updated date.
26615 Mention math library bug fixes and timezone data changes.
26616 * README: Mention GNU/Hurd, x32, and HPPA support status.
26617
4648c381
TS
266182012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26619
26620 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26621
aac78a43
AJ
266222012-06-27 Andreas Jaeger <aj@suse.de>
26623
26624 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26625
ed3dbfad
AJ
266262012-06-25 Andreas Jaeger <aj@suse.de>
26627
26628 * sysdeps/s390/fpu/libm-test-ulps: Update.
26629
4d0ee855
AS
266302012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26631 Thomas Schwinge <thomas@codesourcery.com>
26632
26633 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26634 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26636 fanotify_mark.
26637
af1bce34
TS
266382012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26639
a9fa33ba
TS
26640 * sysdeps/mach/start.c: Remove file.
26641 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26642 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26643 * sysdeps/sh/init-first.c: Likewise.
26644
58f902b8
TS
26645 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26646 registers for frame unwinding purposes, add CFI directives.
26647 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26648 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26649 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26650 Likewise.
26651
1518f58b
TS
26652 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26653 __fortify_fail returning.
26654 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26655
db9b5059
TS
26656 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26657 sysdeps/sh/____longjmp_chk.S.
26658 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26659 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26660 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26661 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26662
967705fe
TS
26663 * sysdeps/sh/abort-instr.h: New file.
26664 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26665 process in case exit returns.
26666
a9def8c4
TS
26667 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26668 initialize the GOT register before use.
26669
2a649725
TS
26670 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26671 calculation of ARGC > 4.
26672
af1bce34
TS
26673 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26674 meaningful names to some local labels.
26675
d230f50a
KK
266762012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26677 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26678
26679 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26680 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26681 (__arch_compare_and_exchange_val_16_acq): Likewise.
26682 (__arch_compare_and_exchange_val_32_acq): Likewise.
26683 (atomic_exchange_and_add): Fix gUSA sequence.
26684 (atomic_add): Likewise.
26685 (atomic_add_negative): Likewise.
26686 (atomic_add_zero): Likewise.
26687 (atomic_bit_test_set): Likewise.
26688
0479b305
AS
266892012-06-22 Andreas Schwab <schwab@redhat.com>
26690
26691 [BZ #13579]
26692 * include/link.h (struct link_map): Add l_free_initfini.
26693 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26694 l_initfini.
26695 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26696 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26697 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26698 set.
26699
0e3933b9
CD
267002012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26701
26702 * configure.in: Use AC_LANG_SOURCE.
26703 * configure: Regenerate.
26704
4248b1b1
RM
267052012-06-22 Roland McGrath <roland@hack.frob.com>
26706
26707 * configure.in (libc_cv_localstatedir): New substituted variable.
26708 * configure: Regenerated.
26709 * config.make.in (localstatedir): New variable, substituted from
26710 libc_cv_localstatedir.
26711 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26712 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26713 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26714 * sysdeps/gnu/configure: Regenerated.
26715
006dd861
JL
267162012-06-21 Jeff Law <law@redhat.com>
26717
26718 [BZ #14277]
26719 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26720 free. Simplify list management for _LIBC case.
26721
79662d42
JM
267222012-06-21 Joseph Myers <joseph@codesourcery.com>
26723
b7abb4bf
JM
26724 [BZ #14273]
26725 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26726 Clear sign bit of 64-bit integer value before comparing against
26727 overflow value.
26728
79662d42
JM
26729 * sysdeps/mach/configure: Regenerated.
26730
1f150908
L
267312012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26732
26733 [BZ #14278]
26734 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26735
28363bbf
JL
267362012-06-21 Jeff Law <law@redhat.com>
26737
26738 [BZ #13882]
26739 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26740 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26741 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26742 * elf/dl-open.c (dl_open_worker): Likewise.
26743
09615db4
CD
267442012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26745
26746 * scripts/list-sources.sh: Scan PORTS for translations.
26747 * po/libc.pot: Regenerated.
26748
2174c6dd
AJ
267492012-06-21 Andreas Jaeger <aj@suse.de>
26750
26751 [BZ #12194]
26752 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26753 warning.
26754 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26755 * bits/byteswap-16.h (__bswap_16): Likewise.
26756 * bits/byteswap.h (__bswap_constant_16): Likewise.
26757
3ee947b1
L
267582012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26759
26760 [BZ #14117]
a2f34833
L
26761 * sysdeps/i386/fpu_control.h: Removed.
26762 * sysdeps/x86_64/fpu_control.h: Moved to ...
26763 * sysdeps/x86/fpu_control.h: Here.
26764
3ee947b1
L
26765 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26766 (_FPU_SETCW): Likewise.
26767
ed1825f8
L
267682012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26769
25f1282a
L
26770 [BZ #14117]
26771 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26772 * sysdeps/x86/fpu/bits/mathinline.h: This.
26773 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26774
ed1825f8
L
26775 [BZ #14050]
26776 [BZ #14117]
26777 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26778 functions if __x86_64__ is defined.
26779
36d54b74
CLT
267802012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26781
26782 * string/endian.h: Add !__ASSEMBLER__ condition for including
26783 conversion interfaces.
26784
10285c21
JM
267852012-06-15 Joseph Myers <joseph@codesourcery.com>
26786
26787 [BZ #14241]
26788 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26789 of ABS(x) in calculating zero to negative powers other than odd
26790 integers.
26791 * math/libm-test.inc (pow_test): Add more tests.
26792
06c5abbd
AJ
267932012-06-15 Andreas Jaeger <aj@suse.de>
26794
26795 * manual/contrib.texi (Contributors): Update entry of Liubov
26796 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26797 Machado Filho.
26798
a3aeac40
CH
267992012-06-15 Cyril Hrubis <metan@ucw.cz>
26800
26801 * string/string.h: Add __wur to GNU version of strerror_r.
26802
49bdf4c1
L
268032012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26804
26805 [BZ #14229]
26806 * string/Makefile (tests): Add tst-strtok_r.
26807 * string/tst-strtok_r.c: New file.
26808 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26809 RAX_LP/RDX_LP on SAVE_PTR.
26810
834f9b8d
RM
268112012-06-14 Roland McGrath <roland@hack.frob.com>
26812
26813 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26814
75fa1921
JM
268152012-06-14 Joseph Myers <joseph@codesourcery.com>
26816
26817 * libm_test.inc (csqrt_test): Allow more spurious underflow
26818 exceptions.
26819 (j0_test): Likewise.
26820 (j1_test): Likewise.
26821 (y0_test): Likewise.
26822 (y1_test): Likewise.
26823
771766df
CD
268242012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26825
26826 * po/Makefile (libc.pot): Use UTF-8 charset.
26827
ceb9e56b
PP
268282012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26829
26830 [BZ #14210]
26831 Suppress sign-conversion warning from FD_SET.
26832 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26833 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26834 not unsigned long int.
26835 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26836
ddb28975
L
268372012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26838
26839 [BZ #14050]
26840 [BZ #14117]
26841 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26842 __extern_always_inline instead of __extern_inline.
26843 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26844 (__signbit): Likewise.
26845 (__signbitl): Support C++ namespace.
26846 (lrintf): New inline function.
26847 (lrint): Likewise.
26848 (llrintf): Likewise.
26849 (llrint): Likewise.
26850 (fmaxf): Likewise.
26851 (fmax): Likewise.
26852 (fminf): Likewise.
26853 (fmin): Likewise.
26854 (rint): Likewise.
26855 (rintf): Likewise.
26856 (ceil): Likewise.
26857 (ceilf): Likewise.
26858 (floor): Likewise.
26859 (floorf): Likewise.
26860 (nearbyint): Likewise.
26861 (nearbyintf): Likewise.
26862
d7b4fb26
TS
268632012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26864
26865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26866 non-default versions.
26867
eb55f5c2
RM
268682012-06-11 Roland McGrath <roland@hack.frob.com>
26869
26870 [BZ #14218]
26871 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26872
366af02c
TS
268732012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26874
99ff6e5c
TS
26875 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26876 (FE_UPWARD, FE_DOWNWARD): Don't define.
26877 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26879
366af02c
TS
26880 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26881 reading it.
26882 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26883 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26884
793ea851
KK
268852012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26886
26887 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26888 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26889 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26890 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26891
a728a38f
L
268922012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26893
26894 [BZ #14117]
c08010c7
L
26895 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26896 * sysdeps/i386/fpu/Implies: New file.
26897 * sysdeps/x86_64/fpu/Implies: Likewise.
26898 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26899 * sysdeps/x86/fpu/bits/fenv.h: This.
26900
a728a38f
L
26901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26902 __SSE_MATH__.
26903
6e230d11
SP
269042012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26905
26906 [BZ #14134]
26907 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26908 character 0xffff that matches the last element of the
26909 conversion table.
26910
1b671feb
AZ
269112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26912
26913 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26914 fmodl commit.
26915
6043738b
AZ
269162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26917
26918 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26919 values higher than 25.6283.
26920
34ae0b32
AZ
269212012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26922
26923 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26924 subnormal exponent extraction and add some __builtin_expect.
26925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26926 Fix for subnormal mantissa calculation.
26927
1214ec8f
MF
269282012-06-04 Mike Frysinger <vapier@gentoo.org>
26929
26930 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26931 cpu2 is -1 and errno is not ENOSYS.
26932
f3d1f93c
L
269332012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26934
26935 [BZ #14117]
0e4a3cd7
L
26936 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26937 * sysdeps/x86/bits/string.h: This.
26938 * sysdeps/x86_64/bits/string.h: Removed.
26939
6704c645
L
26940 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26941 if not compiling for x86-64, but compiling for >= i486.
26942
48495318
L
26943 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26944 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26945
14adcbfc
L
26946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26947 New macro from Linux kernel 3.4.0.
26948 (FP_XSTATE_MAGIC2): Likewise.
26949 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26950 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26951 (struct _fpx_sw_bytes): New struct.
26952 (struct _xsave_hdr): Likewise.
26953 (struct _ymmh_state): Likewise.
26954 (struct _xstate): Likewise.
26955
68e408ab
L
26956 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26957 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26958 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26959 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26960 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26961 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26962
f3d1f93c
L
26963 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26964 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26965 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26966 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26967 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26968 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26969
d9dc34cd
TMQMF
269702012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26971
26972 [BZ #13743]
26973 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26974 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26975 (sysdep_headers): Include sys/platform/ppc.h.
26976 * sysdeps/powerpc/test-gettimebase.c: Test for
26977 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26978 * manual/Makefile (appendices): Include platform.texi.
26979 * manual/contrib.texi (Contributors): Update @node pointers.
26980 * manual/maint.texi (Maintenance): Likewise.
26981 (Platform): New node.
26982 * manual/platform.texi: New file. Document the new features.
26983
4af3879c
SP
269842012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26985 Jakub Jelinek <jakub@redhat.com>
26986
26987 [BZ #14188]
26988 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26989 where __builtin_expect is unavailable.
26990
2fd6ff13
DM
269912012-06-03 David S. Miller <davem@davemloft.net>
26992
26993 * stdlib/longlong.h: Updated from GCC.
26994
173f7220
AS
269952012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26996
26997 [BZ #14042]
26998 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26999 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27000 __mcount_internal.
27001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27002 (GLIBC_2.16): Likewise.
27003
f34a1c6f
L
270042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27005
27006 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27007
88a4576f
JM
270082012-06-01 Joseph Myers <joseph@codesourcery.com>
27009
ea32bcdd
JM
27010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27011 (default-abi): New variable.
27012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27013 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27014 variable.
27015 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27016 Likewise.
27017 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27018 Likewise.
27019 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27020 Likewise.
27021
88a4576f
JM
27022 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27023 definition. Document in comment.
27024
402fe938
DM
270252012-06-01 David S. Miller <davem@davemloft.net>
27026
27027 * stdlib/longlong.h: Updated from GCC.
27028
3553723f
L
270292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27030
27031 [BZ #14117]
3bd872c4
L
27032 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27033 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27034 sys/debugreg.h sys/io.h here.
27035 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27036 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27037 sys/io.h.
27038 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27039 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27040 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27041 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27042 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27043 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27044
3553723f
L
27045 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27046 Define only if __x86_64__ is defined.
27047
4842e4fe
JM
270482012-06-01 Joseph Myers <joseph@codesourcery.com>
27049
c5bfe3d5
JM
27050 [BZ #14048]
27051 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27052 Use int64_t for variable i.
27053 * math/libm-test.inc (fmod_test): Add more tests.
27054
4842e4fe
JM
27055 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27056 z computation is not scheduled after fetestexcept.
27057 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27058 Use math_force_eval instead of asm to ensure calculation scheduled
27059 before exception test.
27060 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27061 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27062
efb73488
AJ
270632012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27064
27065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27066 computation is not scheduled after fetestexcept.
27067
29bcce7c
L
270682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27069
27070 [BZ #14117]
27071 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27072 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27073
73a68f94
AZ
270742012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27075
27076 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27077 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27078
67b6df78
L
270792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27080
edf2933a 27081 [BZ #14117]
ebc64a18
L
27082 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27083 <bits/wordsize.h>.
27084 (__WCHAR_MIN): Support __WORDSIZE == 64.
27085 (__WCHAR_MAX): Likewise.
27086
edf2933a
L
27087 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27088 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27089
57c6cf40
L
27090 [BZ #14183]
27091 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27092 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27093
67b6df78 27094 [BZ #14117]
8eb6281e
L
27095 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27096 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27097
aac639f4
L
27098 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27099 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27100
67b6df78
L
27101 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27102 Defined to 1 if __x86_64__ isn't defined.
27103 (_STAT_VER_LINUX_OLD): New.
27104 (st_atime): Remove duplicate.
27105 (st_mtime): Likewise.
27106 (st_ctime): Likewise.
27107
1c2cfe81
DM
271082012-05-31 David S. Miller <davem@davemloft.net>
27109
27110 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27111 entries.
27112
5be8418c
AS
271132012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27114
e7725326
AS
27115 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27116 gen-libm-test.pl.
27117
5be8418c
AS
27118 [BZ #14132]
27119 * elf/dl-reloc.c: Include <_itoa.h>.
27120 (_dl_reloc_bad_type): Remove use of INTUSE.
27121 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27122 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27123 * stdio-common/psiginfo.c (psiginfo): Likewise.
27124 * stdio-common/psignal.c (psignal): Likewise.
27125 * string/strsignal.c (strsignal): Likewise.
27126 * include/signal.h (_sys_siglist): Declare hidden proto.
27127 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27128 INTVARDEF with libc_hidden_data_def.
27129 * stdio-common/itoa-udigits.c: Likewise.
27130 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27131 (_itoa_lower_digits_internal): Remove declaration.
27132 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27133 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27134 (_sys_sigabbrev_internal): Remove aliases.
27135 (_sys_siglist): Define hidden alias.
27136
507352f1
MT
271372012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27138
27139 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27140 bits/sysctl.h.
27141
42bbb1c3
L
271422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27143
27144 [BZ #14117]
6bd784b6
L
27145 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27146 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27147
8bca20f0
L
27148 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27149 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27150 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27151 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27153 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27154
f9e890a9
L
27155 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27156 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27157 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27158
471101a1
L
27159 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27160 with __addr.
27161 (insw): Likewise.
27162 (insl): Likewise.
27163 (outsb): Likewise.
27164 (outsw): Likewise.
27165 (outsl): Likewise.
27166
6451c862
L
27167 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27169 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27170
a254b8c9
L
27171 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27172 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27173 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27174 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27175 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27176 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27177
b8dfdd92
L
27178 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27179 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27180
578cd270
L
27181 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27182 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27183
de662f5f
L
27184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27186 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27187
25653439
L
27188 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27189 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27190 to ...
27191 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27192
6bad24a0
L
27193 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27194 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27195 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27196
42bbb1c3
L
27197 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27198 for x86-64.
27199 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27200
2d10d547
JM
272012012-05-31 Joseph Myers <joseph@codesourcery.com>
27202
27203 * math/math.h (M_El): Use two more decimal places.
27204 (M_LOG2El): Likewise.
27205 (M_LOG10El): Likewise.
27206 (M_LN2l): Likewise.
27207 (M_LN10l): Likewise.
27208 (M_PIl): Likewise.
27209 (M_PI_2l): Likewise.
27210 (M_PI_4l): Likewise.
27211 (M_1_PIl): Likewise.
27212 (M_2_PIl): Likewise.
27213 (M_2_SQRTPIl): Likewise.
27214 (M_SQRT2l): Likewise.
27215 (M_SQRT1_2l): Likewise.
27216
f230c29b
DM
272172012-05-31 David S. Miller <davem@davemloft.net>
27218
27219 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27220 values between float registers.
27221 * sysdeps/sparc/sparc64/memset.S: Likewise.
27222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27223
fed806c3
MF
272242012-05-31 Mike Frysinger <vapier@gentoo.org>
27225
27226 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27227 -D_FORTIFY_SOURCE=1.
27228 (CPPFLAGS-tst-longjmp_chk.c): Define.
27229 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27230 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27231 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27232 CFLAGS-tst-wchar-h.c.
27233
30917259
MP
272342012-05-31 Marek Polacek <polacek@redhat.com>
27235
27236 [BZ #14132]
27237 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27238 __endmntent_internal): Remove declaration.
27239 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27240 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27241 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27242
1c58d5dc
DM
272432012-05-30 David S. Miller <davem@davemloft.net>
27244
27245 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27246 (___Q_simulate_exceptions): Use real FP ops rather than writing
27247 into the %fsr.
27248 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27249 Likewise.
27250
7dc00e0d
L
272512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27252
27253 [BZ #14117]
0bd53985
L
27254 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27255 * sysdeps/x86/bits/xtitypes.h: This.
27256
3a257e66
L
27257 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27258 * sysdeps/x86/bits/wordsize.h: This.
27259
62f62904
L
27260 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27261 * sysdeps/x86/bits/huge_vall.h: This.
27262
404fe9d9
L
27263 * sysdeps/i386/bits/select.h: Removed.
27264 * sysdeps/x86_64/bits/select.h: Renamed to ...
27265 * sysdeps/x86/bits/select.h: This.
27266
d48d0446
L
27267 * sysdeps/i386/bits/setjmp.h: Removed.
27268 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27269 * sysdeps/x86/bits/setjmp.h: This.
27270
7dc00e0d
L
27271 * sysdeps/i386/bits/mathdef.h: Removed.
27272 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27273 * sysdeps/x86/bits/mathdef.h: This.
27274
03277f8f
AS
272752012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27276
27277 [BZ #14132]
27278 * include/sys/socket.h (__connect_internal)
27279 (__libc_sa_len_internal): Remove declaration.
27280 (__connect, __libc_sa_len): Declare hidden_proto.
27281 (SA_LEN): Remove use of INTUSE.
27282 * socket/connect.c: Add libc_hidden_def.
27283 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27284 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27285 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27286 alias.
27287 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27288 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27289 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27290 of adding _internal alias.
27291
13764867
L
272922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27293
27294 [BZ #14117]
6bd97696
L
27295 * sysdeps/i386/bits/link.h: Removed.
27296 * sysdeps/i386/bits/linkmap.h: Likewise.
27297 * sysdeps/x86_64/bits/link.h: Renamed to ...
27298 * sysdeps/x86/bits/link.h: This.
27299 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27300 * sysdeps/x86/bits/linkmap.h: This.
27301
f726f0bb
L
27302 * sysdeps/i386/bits/endian.h: Removed.
27303 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27304 * sysdeps/x86/bits/endian.h: This.
27305
13764867
L
27306 * sysdeps/i386/bits/byteswap.h: Removed.
27307 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27308 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27309 * sysdeps/x86/bits/byteswap.h: This.
27310 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27311 * sysdeps/x86/bits/byteswap-16.h: This.
27312 * sysdeps/i386/Implies: Add x86.
27313 * sysdeps/x86_64/Implies: Likewise.
27314
ae251b0b
DM
273152012-05-30 David S. Miller <davem@davemloft.net>
27316
27317 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27318 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27319 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27320 (FP_TRAPPING_EXCEPTIONS): Define.
27321 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27322 (FP_TRAPPING_EXCEPTIONS): Define.
27323 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27324 subnormals only when inexact has been signalled or underflow
27325 exceptions are enabled.
27326 (_FP_PACK_CANONICAL): Likewise.
27327
d5c90867
L
273282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27329
27330 [BZ #14183]
27331 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27332 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27333
63f1549e
RH
273342012-05-30 Richard Henderson <rth@twiddle.net>
27335
8d8f2279
RH
27336 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27337 with #ifndef NOT_IN_libc.
27338
63f1549e
RH
27339 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27340 marked to avoid plt entry.
27341
0ab0291b
L
273422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27343
27344 [BZ #14112]
27345 * Makeconfig (default-abi): New macro.
27346 (abi-includes): Likewise.
27347 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27348 $(abi-$(default-abi)-lib-soname) for soname if defined.
27349 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27350 abi-variants.
27351 * Makefile (installed-stubs): Likewise.
27352 * include/stubs-biarch.h: Removed.
27353 * scripts/lib-names.awk: Only handle one library at a time.
27354 * scripts/soversions.awk: Remove WORDSIZE support.
27355 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27356 entries.
27357 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27358 Removed.
27359 (syscall-list-default-condition): Likewise.
27360 (syscall-list-default-condition): Likewise.
27361 (syscall-list-includes): Likewise.
27362 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27363 syscall-list-* with abi-*. Handle undefined abi-variants.
27364 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27365 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27366 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27367 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27368 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27369 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27370 Removed.
27371 (syscall-list-32-options): Likewise.
27372 (syscall-list-32-condition): Likewise.
27373 (syscall-list-64-options): Likewise.
27374 (syscall-list-64-condition): Likewise.
27375 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27376 macro.
27377 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27378 Renamed to ...
27379 (abi-*): This.
27380 (abi-64-ld-soname): New macro.
27381 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27383 Renamed to ...
27384 (abi-*): This.
27385 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27386 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27387
4da0431d
JM
273882012-05-30 Joseph Myers <joseph@codesourcery.com>
27389
3a85279c
JM
27390 * sysdeps/unix/sysv/linux/kernel-features.h
27391 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27392 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27393 include <kernel-features.h>.
27394 [!__NR_ftruncate64]: Remove conditional code.
27395 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27396 [__NR_ftruncate64]: Make code unconditional.
27397 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27398 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27399 include <kernel-features.h>.
27400 [!__NR_ftruncate64]: Remove conditional code.
27401 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27402 [__NR_ftruncate64]: Make code unconditional.
27403 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27405 include <kernel-features.h>.
27406 [!__NR_ftruncate64]: Remove conditional code.
27407 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27408 [__NR_ftruncate64]: Make code unconditional.
27409 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27411 include <kernel-features.h>.
27412 [!__NR_ftruncate64]: Remove conditional code.
27413 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27414 [__NR_ftruncate64]: Make code unconditional.
27415 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27416
4da0431d
JM
27417 * configure.in (libc_cv_fpie): Weaken to a compile test using
27418 LIBC_TRY_CC_OPTION.
27419 * configure: Regenerated.
27420
11ef492c
AK
274212012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27422
27423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27427 Refreshed.
27428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27434 Refreshed.
27435
d66ef399
DM
274362012-05-27 David S. Miller <davem@davemloft.net>
27437
27438 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27439 (___Q_zero): New.
27440 (__Q_simulate_exceptions): Return void. Change to simulate
27441 exceptions by writing into the %fsr.
27442 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27443 (__Qp_handle_exceptions): Likewise.
27444 (numbers): Delete.
27445 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27446 __Qp_handle_exceptions.
27447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27448 __Qp_handle_exceptions.
27449 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27450 as unused and give dummy FP_RND_NEAREST initializer.
27451 (FP_INHIBIT_RESULTS): Define.
27452 (___Q_simulate_exceptions): Update declaration.
27453 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27454 formatting.
27455 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27456 as unused and give dummy FP_RND_NEAREST initializer.
27457 (__Qp_handle_exceptions): Update declaration.
27458 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27459 formatting.
27460
04fb54b5
TS
274612012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27462
27463 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27464 the temporary FPU control word.
27465 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27466 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27467 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27468 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27469 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27470 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27471 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27473 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27474 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27475 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27476
3f99608f
KK
274772012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27478
27479 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27480 fields.
27481
65a4de4e
CLT
274822012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27483
27484 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27485 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27486 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27487 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27488 Likewise.
27489 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27490 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27491 Likewise.
27492
15749d40
UD
274932012-05-27 Ulrich Drepper <drepper@gmail.com>
27494
27495 * po/h.po: Update from translation team.
27496
25dbcb27
AS
274972012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27498
3d3f8e55
AS
27499 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27500
25dbcb27
AS
27501 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27502 handling of denormals.
27503 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27504 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27505 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27506 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27507 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27510 Likewise.
27511
7ad47a80 275122012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27513
27514 [BZ #14152]
27515 * math/libm-test.inc (fma_test): Don't always expect underflow
27516 exception.
27517
9c6ea9fa
SP
275182012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27519
27520 [BZ #12416]
27521 * elf/tst-execstack.c: Include stackinfo.h.
27522 (do_test): Adjust test case to ensure that pthread_getattr_np
27523 behaviour remains the same after marking stack executable.
27524
a8239222
JM
275252012-05-25 Joseph Myers <joseph@codesourcery.com>
27526
27527 * sysdeps/unix/sysv/linux/kernel-features.h
27528 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27529 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27530 kernel-features.h.
27531 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27532 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27533 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27534 kernel-features.h.
27535 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27536 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27537
918b5606
L
275382012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27539
27540 * configure.in: Define the default includes to being none.
27541 * configure: Regenerated.
27542
3a097cc7
RM
275432012-05-25 Roland McGrath <roland@hack.frob.com>
27544
8422c9a5
RM
27545 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27546 * sysdeps/x86_64/setjmp.S: Likewise.
27547 * sysdeps/i386/bsd-setjmp.S: Likewise.
27548 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27549 * sysdeps/i386/setjmp.S: Likewise.
27550 * sysdeps/i386/__longjmp.S: Likewise.
27551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27552 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27553
3a097cc7
RM
27554 * include/stap-probe.h: New file.
27555 * configure.in: Handle --enable-systemtap.
27556 * configure: Regenerated.
27557 * config.h.in (USE_STAP_PROBE): New #undef.
27558 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27559 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27560 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27561
21708942
JM
275622012-05-25 Joseph Myers <joseph@codesourcery.com>
27563
27564 [BZ #13717]
27565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27566 to 2.4.0 where earlier.
27567 * sysdeps/unix/sysv/linux/configure: Regenerated.
27568 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27569 <kernel-features.h>.
27570 [__ASSUME_32BITUIDS]: Make code unconditional.
27571 [!__ASSUME_32BITUIDS]: Remove conditional code.
27572 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27573 <kernel-features.h>.
27574 [__ASSUME_32BITUIDS]: Make code unconditional.
27575 [!__ASSUME_32BITUIDS]: Remove conditional code.
27576 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27577 [__ASSUME_32BITUIDS]: Make code unconditional.
27578 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27579 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27580 <kernel-features.h>.
27581 [__ASSUME_32BITUIDS]: Make code unconditional.
27582 [!__ASSUME_32BITUIDS]: Remove conditional code.
27583 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27584 <kernel-features.h>.
27585 [__ASSUME_32BITUIDS]: Make code unconditional.
27586 [!__ASSUME_32BITUIDS]: Remove conditional code.
27587 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27588 <kernel-features.h>.
27589 [__ASSUME_32BITUIDS]: Make code unconditional.
27590 [!__ASSUME_32BITUIDS]: Remove conditional code.
27591 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27592 <kernel-features.h>.
27593 [__ASSUME_32BITUIDS]: Make code unconditional.
27594 [!__ASSUME_32BITUIDS]: Remove conditional code.
27595 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27596 <kernel-features.h>.
27597 [__ASSUME_32BITUIDS]: Make code unconditional.
27598 [!__ASSUME_32BITUIDS]: Remove conditional code.
27599 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27600 <kernel-features.h>.
27601 [__ASSUME_32BITUIDS]: Make code unconditional.
27602 [!__ASSUME_32BITUIDS]: Remove conditional code.
27603 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27604 <kernel-features.h>.
27605 [__ASSUME_32BITUIDS]: Make code unconditional.
27606 [!__ASSUME_32BITUIDS]: Remove conditional code.
27607 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27608 <kernel-features.h>.
27609 [__ASSUME_32BITUIDS]: Make code unconditional.
27610 [!__ASSUME_32BITUIDS]: Remove conditional code.
27611 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27612 <kernel-features.h>.
27613 [__ASSUME_32BITUIDS]: Make code unconditional.
27614 [!__ASSUME_32BITUIDS]: Remove conditional code.
27615 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27616 <kernel-features.h>.
27617 [__ASSUME_32BITUIDS]: Make code unconditional.
27618 [!__ASSUME_32BITUIDS]: Remove conditional code.
27619 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27620 <kernel-features.h>.
27621 [__NR_setresgid] (__setresgid): Do not declare.
27622 [__ASSUME_32BITUIDS]: Make code unconditional.
27623 [!__ASSUME_32BITUIDS]: Remove conditional code.
27624 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27625 <kernel-features.h>.
27626 [__NR_setresuid] (__setresuid): Do not declare.
27627 [__ASSUME_32BITUIDS]: Make code unconditional.
27628 [!__ASSUME_32BITUIDS]: Remove conditional code.
27629 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27630 <kernel-features.h>.
27631 [__ASSUME_32BITUIDS]: Make code unconditional.
27632 [!__ASSUME_32BITUIDS]: Remove conditional code.
27633 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27634 <kernel-features.h>.
27635 [__ASSUME_32BITUIDS]: Make code unconditional.
27636 [!__ASSUME_32BITUIDS]: Remove conditional code.
27637 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27638 <kernel-features.h>.
27639 [__ASSUME_32BITUIDS]: Make code unconditional.
27640 [!__ASSUME_32BITUIDS]: Remove conditional code.
27641 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27642 <kernel-features.h>.
27643 [__ASSUME_32BITUIDS]: Make code unconditional.
27644 [!__ASSUME_32BITUIDS]: Remove conditional code.
27645 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27646 <kernel-features.h>.
27647 [__ASSUME_32BITUIDS]: Make code unconditional.
27648 [!__ASSUME_32BITUIDS]: Remove conditional code.
27649 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27650 <kernel-features.h>.
27651 [__ASSUME_32BITUIDS]: Make code unconditional.
27652 [!__ASSUME_32BITUIDS]: Remove conditional code.
27653 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27654 <kernel-features.h>.
27655 [__ASSUME_32BITUIDS]: Make code unconditional.
27656 [!__ASSUME_32BITUIDS]: Remove conditional code.
27657 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27658 <kernel-features.h>.
27659 [__ASSUME_32BITUIDS]: Make code unconditional.
27660 [!__ASSUME_32BITUIDS]: Remove conditional code.
27661 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27662 <kernel-features.h>.
27663 [__ASSUME_32BITUIDS]: Make code unconditional.
27664 [!__ASSUME_32BITUIDS]: Remove conditional code.
27665 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27666 <kernel-features.h>.
27667 [__ASSUME_32BITUIDS]: Make code unconditional.
27668 [!__ASSUME_32BITUIDS]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/kernel-features.h
27670 (__ASSUME_SETRESUID_SYSCALL): Remove.
27671 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27672 (__ASSUME_32BITUIDS): Likewise.
27673 (__ASSUME_LDT_WORKS): Likewise.
27674 (__ASSUME_O_DIRECTORY): Likewise.
27675 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27676 architecture but not kernel version.
27677 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27678 (__ASSUME_MMAP2_SYSCALL): Likewise.
27679 (__ASSUME_STAT64_SYSCALL): Likewise.
27680 (__ASSUME_IPC64): Likewise.
27681 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27682 <kernel-features.h>.
27683 [__ASSUME_32BITUIDS]: Make code unconditional.
27684 [!__ASSUME_32BITUIDS]: Remove conditional code.
27685 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27686 <kernel-features.h>.
27687 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27688 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27689 132096]: Remove conditional code.
27690 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27691 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27692 <kernel-features.h>.
27693 [__ASSUME_32BITUIDS]: Make code unconditional.
27694 [!__ASSUME_32BITUIDS]: Remove conditional code.
27695 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27696 <kernel-features.h>.
27697 [__ASSUME_32BITUIDS]: Make code unconditional.
27698 [!__ASSUME_32BITUIDS]: Remove conditional code.
27699 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27700 <kernel-features.h>.
27701 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27702 unconditional.
27703 (__setresgid): Do not declare.
27704 [__ASSUME_32BITUIDS]: Make code unconditional.
27705 [!__ASSUME_32BITUIDS]: Remove conditional code.
27706 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27707 <kernel-features.h>.
27708 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27709 unconditional.
27710 (__setresuid): Do not declare.
27711 [__ASSUME_32BITUIDS]: Make code unconditional.
27712 [!__ASSUME_32BITUIDS]: Remove conditional code.
27713 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
27718 <kernel-features.h>.
27719 [__ASSUME_32BITUIDS]: Make code unconditional.
27720 [!__ASSUME_32BITUIDS]: Remove conditional code.
27721
a386f1cc
RH
277222012-05-25 Richard Henderson <rth@twiddle.net>
27723
27724 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27725 dl_hwcap to ifunc resolver.
27726 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27727 elf_ifunc_invoke.
27728 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27729 dl_hwcap to ifunc resolver.
27730 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27731
b6550497
JM
277322012-05-24 Joseph Myers <joseph@codesourcery.com>
27733
27734 [BZ #14153]
27735 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27736 for |x| <= 2**-26, not 2**-57.
27737 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27738 exception.
27739
b0bc23a1
JL
277402012-05-24 Jeff Law <law@redhat.com>
27741
27742 * stdio-common/Makefile (tests): Add bug25.
27743 * stdio-common/bug25.c: New test.
27744
347c92e9
L
277452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27746
27747 [BZ #13576]
27748 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27749 multiple of MALLOC_ALIGNMENT in size.
27750 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27751
6bcc8b3f
JM
277522012-05-24 Joseph Myers <joseph@codesourcery.com>
27753
27754 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27755 Require >= 256.
27756 (FILENAME_MAX): Use macro-int-constant.
27757 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27758 (_IOFBF): Use macro-int-constant.
27759 (_IOLBF): Likewise.
27760 (_IONBF): Likewise.
27761 (SEEK_CUR): Likewise.
27762 (SEEK_END): Likewise.
27763 (SEEK_SET): Likewise.
27764 (TMP_MAX): Likewise.
27765 (EOF): Use macro-int-constant. Require < 0.
27766 (NULL): Use macro-constant. Require == 0.
27767 (stdin): Require type to be FILE *.
27768 (stdout): Likewise.
27769 (stderr): Likewise.
27770 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27771 macro-int-constant.
27772 (EXIT_SUCCESS): Likewise.
27773 (NULL): Use macro-constant. Require == 0.
27774 (RAND_MAX): Use macro-int-constant.
27775 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27776 [C99-based standards] (strtof): Require function.
27777 [C99-based standards] (strtold): Likewise.
27778 [C99-based standards] (strtoll): Likewise.
27779 [C99-based standards] (strtoull): Likewise.
27780 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27781 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27782 [ISO || ISO99 || ISO11] (math.h): Likewise.
27783 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27784 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27786
d18ea0c5
AS
277872012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27788
27789 [BZ #14132]
56d25bb8
AS
27790 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27791 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27792 * intl/dgettext.c (DCGETTEXT): Likewise.
27793 * intl/gettext.c (DCGETTEXT): Likewise.
27794 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27795 * posix/regex_internal.h (gettext): Likewise.
27796 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27797 Remove declaration.
27798 * include/argz.h (__argz_count_internal)
27799 (__argz_stringify_internal): Remove declaration.
27800 (__argz_count, __argz_stringify): Declare hidden proto.
27801 * intl/dcgettext.c: Remove use of INTDEF.
27802 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27803 * string/argz-stringify.c: Likewise.
27804 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27805 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27806 Declare hidden proto.
d18ea0c5
AS
27807 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27808 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27809 Declare hidden proto.
27810 * include/stdio.h (__asprintf_internal): Don't declare.
27811 (__asprintf): Don't define as macro. Declare hidden proto.
27812 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27813 (__fsetlocking): Declare hidden proto.
27814 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27815 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27816 hidden proto.
27817 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27818 (_IO_setlinebuf): Remove use of INTUSE.
27819 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27820 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27821 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27822 Remove declaration.
27823 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27824 (_IO_do_flush): Remove use of INTUSE.
27825 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27826 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27827 (_IO_adjust_column, _IO_least_wmarker)
27828 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27829 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27830 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27831 (_IO_default_doallocate, _IO_wdefault_doallocate)
27832 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27833 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27834 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27835 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27836 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27837 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27838 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27839 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27840 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27841 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27842 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27843 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27844 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27845 proto.
27846 (_IO_flush_all_internal, _IO_adjust_column_internal)
27847 (_IO_default_uflow_internal, _IO_default_finish_internal)
27848 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27849 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27850 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27851 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27852 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27853 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27854 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27855 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27856 (_IO_file_close_internal, _IO_file_close_it_internal)
27857 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27858 (_IO_file_init_internal, _IO_file_attach_internal)
27859 (_IO_file_fopen_internal, _IO_file_read_internal)
27860 (_IO_file_sync_internal, _IO_file_seek_internal)
27861 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27862 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27863 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27864 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27865 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27866 (_IO_list_all_internal, _IO_link_in_internal)
27867 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27868 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27869 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27870 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27871 (_IO_do_write_internal, _IO_padn_internal)
27872 (_IO_getline_info_internal, _IO_getline_internal)
27873 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27874 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27875 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27876 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27877 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27878 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27879 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27880 with libc_hidden_ver, remove use of INTUSE.
27881 * libio/genops.c: Likewise.
27882 * libio/freopen.c: Likewise.
27883 * libio/freopen64.c: Likewise.
27884 * libio/iofclose.c: Likewise.
27885 * libio/iofdopen.c: Likewise.
27886 * libio/iofflush.c: Likewise.
27887 * libio/iofflush_u.c: Likewise.
27888 * libio/iofgets.c: Likewise.
27889 * libio/iofgets_u.c: Likewise.
27890 * libio/iofopen.c: Likewise.
27891 * libio/iofopncook.c: Likewise.
27892 * libio/iofread.c: Likewise.
27893 * libio/iofread_u.c: Likewise.
27894 * libio/ioftell.c: Likewise.
27895 * libio/iofwrite.c: Likewise.
27896 * libio/iogetline.c: Likewise.
27897 * libio/iogets.c: Likewise.
27898 * libio/iogetwline.c: Likewise.
27899 * libio/iopadn.c: Likewise.
27900 * libio/iopopen.c: Likewise.
27901 * libio/ioseekoff.c: Likewise.
27902 * libio/ioseekpos.c: Likewise.
27903 * libio/iosetbuffer.c: Likewise.
27904 * libio/iosetvbuf.c: Likewise.
27905 * libio/ioungetc.c: Likewise.
27906 * libio/ioungetwc.c: Likewise.
27907 * libio/iovdprintf.c: Likewise.
27908 * libio/iovsprintf.c: Likewise.
27909 * libio/iovsscanf.c: Likewise.
27910 * libio/memstream.c: Likewise.
27911 * libio/obprintf.c: Likewise.
27912 * libio/oldfileops.c: Likewise.
27913 * libio/oldiofclose.c: Likewise.
27914 * libio/oldiofdopen.c: Likewise.
27915 * libio/oldiofopen.c: Likewise.
27916 * libio/oldiopopen.c: Likewise.
27917 * libio/oldstdfiles.c: Likewise.
27918 * libio/putc.c: Likewise.
27919 * libio/setbuf.c: Likewise.
27920 * libio/setlinebuf.c: Likewise.
27921 * libio/stdfiles.c: Likewise.
27922 * libio/strops.c: Likewise.
27923 * libio/vasprintf.c: Likewise.
27924 * libio/vscanf.c: Likewise.
27925 * libio/vsnprintf.c: Likewise.
27926 * libio/vswprintf.c: Likewise.
27927 * libio/wfiledoalloc.c: Likewise.
27928 * libio/wfileops.c: Likewise.
27929 * libio/wgenops.c: Likewise.
27930 * libio/wmemstream.c: Likewise.
27931 * libio/wstrops.c: Likewise.
27932 * libio/__fpurge.c: Likewise.
27933 * libio/__fsetlocking.c: Likewise.
27934 * assert/assert.c: Likewise.
27935 * debug/fgets_chk.c: Likewise.
27936 * debug/fgets_u_chk.c: Likewise.
27937 * debug/fread_chk.c: Likewise.
27938 * debug/fread_u_chk.c: Likewise.
27939 * debug/gets_chk.c: Likewise.
27940 * debug/obprintf_chk.c: Likewise.
27941 * debug/vasprintf_chk.c: Likewise.
27942 * debug/vdprintf_chk.c: Likewise.
27943 * debug/vsnprintf_chk.c: Likewise.
27944 * debug/vsprintf_chk.c: Likewise.
27945 * malloc/mtrace.c: Likewise.
27946 * misc/error.c: Likewise.
27947 * misc/syslog.c: Likewise.
27948 * stdio-common/asprintf.c: Likewise.
27949 * stdio-common/fxprintf.c: Likewise.
27950 * stdio-common/getw.c: Likewise.
27951 * stdio-common/isoc99_fscanf.c: Likewise.
27952 * stdio-common/isoc99_scanf.c: Likewise.
27953 * stdio-common/isoc99_vfscanf.c: Likewise.
27954 * stdio-common/isoc99_vscanf.c: Likewise.
27955 * stdio-common/isoc99_vsscanf.c: Likewise.
27956 * stdio-common/printf-prs.c: Likewise.
27957 * stdio-common/printf_fp.c: Likewise.
27958 * stdio-common/printf_fphex.c: Likewise.
27959 * stdio-common/printf_size.c: Likewise.
27960 * stdio-common/putw.c: Likewise.
27961 * stdio-common/scanf.c: Likewise.
27962 * stdio-common/sprintf.c: Likewise.
27963 * stdio-common/tmpfile.c: Likewise.
27964 * stdio-common/vfprintf.c: Likewise.
27965 * stdio-common/vfscanf.c: Likewise.
27966 * stdlib/strfmon_l.c: Likewise.
27967 * sunrpc/openchild.c: Likewise.
27968 * sunrpc/xdr_stdio.c: Likewise.
27969 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27970 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27971
d6c33fda
RM
279722012-05-24 Roland McGrath <roland@hack.frob.com>
27973
c1487492
RM
27974 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27975
27976 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27977 in the third column, to generate for the shared library an IFUNC
27978 that uses _dl_vdso_vsym.
27979 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27980 * Makeconfig (object-suffixes-noshared): New variable.
27981
27982 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27983 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27984 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27985 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27986
d6c33fda
RM
27987 [BZ #14132]
27988 * include/sys/time.h (__gettimeofday): Remove macro.
27989 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27990 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27991 Remove INTDEF.
27992 (__gettimeofday): Add libc_hidden_def.
27993 (gettimeofday): Add libc_hidden_weak.
27994 * sysdeps/mach/gettimeofday.c: Likewise.
27995 * sysdeps/posix/gettimeofday.c: Likewise.
27996 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27997 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27999 (__gettimeofday_internal): Remove strong_alias.
28000 (__gettimeofday): Add libc_hidden_def.
28001 (gettimeofday): Add libc_hidden_weak.
28002 * sysdeps/unix/syscalls.list (gettimeofday):
28003 Remove __gettimeofday_internal alias.
28004
b5a2bbe6
L
280052012-05-24 Daniel Jacobowitz <drow@false.org>
28006 H.J. Lu <hongjiu.lu@intel.com>
28007
28008 [BZ #12495]
28009 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28010 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28011 (largebin_index_32_big): New.
28012 (largebin_index): Use it for 16-byte alignment.
28013 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28014 correction with front_misalign.
28015
cfba4fda
L
280162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28017
7f907421
L
28018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28020 Likewise.
28021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28022 Likewise.
28023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28024 Likewise.
28025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28026 Likewise.
28027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28028 Likewise.
28029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28030 Likewise.
28031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28032 Likewise.
28033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28034 Likewise.
28035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28036 Likewise.
28037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28038 Likewise.
28039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28040 Likewise.
28041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28042 Likewise.
28043
cfba4fda
L
28044 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28045 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28046
80bad0cc
JM
280472012-05-24 Joseph Myers <joseph@codesourcery.com>
28048
7a25eb06
JM
28049 [BZ #10846]
28050 [BZ #14036]
28051 * math/libm-test.inc (exp_test): Add test from bug 14036.
28052 (pow_test): Add test from bug 10846.
28053
795405f9
JM
28054 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28055 and other flags.
28056 (special_function): Do not include flags in test name.
28057 (parse_args): Likewise.
28058 * sysdeps/i386/fpu/libm-test-ulps: Update.
28059 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28060 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28061 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28063
80bad0cc
JM
28064 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28065 exceptions.
28066 * math/libm-test.inc ("Philosophy"): Update comment about
28067 exception testing.
28068 (UNDERFLOW_EXCEPTION): New macro.
28069 (UNDERFLOW_EXCEPTION_OK): Likewise.
28070 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28071 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28072 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28073 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28074 (INVALID_EXCEPTION_OK): Update value.
28075 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28076 (OVERFLOW_EXCEPTION_OK): Likewise.
28077 (IGNORE_ZERO_INF_SIGN): Likewise.
28078 (test_exceptions): Handle underflow exceptions.
28079 (acos_test): Update for underflow exception expectations.
28080 (cexp_test): Likewise.
28081 (clog_test): Likewise.
28082 (clog10_test): Likewise.
28083 (csqrt_test): Likewise.
28084 (ctan_test): Likewise.
28085 (ctanh_test): Likewise.
28086 (exp_test): Likewise.
28087 (exp10_test): Likewise.
28088 (exp2_test): Likewise.
28089 (expm1_test): Likewise.
28090 (fma_test): Likewise.
28091 (j0_test): Likewise.
28092 (jn_test): Likewise.
28093 (nexttoward_test): Likewise.
28094 (pow_test): Likewise.
28095 (scalbn_test): Likewise.
28096 (scalbln_test): Likewise.
28097 (tan_test): Likewise.
28098 (y1_test): Likewise.
28099 * sysdeps/i386/fpu/libm-test-ulps: Update.
28100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28101
9e0e3d0b
DM
281022012-05-23 David S. Miller <davem@davemloft.net>
28103
28104 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28105 (__libc_sigaction): Remove unused local variables.
28106
ccd0a08f
L
281072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28108
28109 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28110
62bdf9a6
PE
281112012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28112
f8591f80
PE
28113 mktime: avoid signed integer overflow
28114 * time/mktime.c (__mktime_internal): Do not mishandle the case
28115 where diff == INT_MIN.
28116
94c7d826
PE
28117 mktime: simplify computation of average
28118 * time/mktime.c (ranged_convert): Use new time_t_avg function
28119 instead of rolling our own (probably-slower) code.
28120
ce73d683
PE
28121 mktime: do not assume signed right shift propagates sign bit
28122 * time/mktime.c (isdst_differ): New static function.
28123 (__mktime_internal): No need to normalize tm_isdst now.
28124 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28125 tm_isdst values.
28126
72a22e59
PE
28127 mktime: merge another wrapv change from gnulib
28128 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28129 from some compilers.
28130
68605433
PE
28131 mktime: remove incorrect attempt at unusual arithmetics
28132 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28133 The code didn't really work on such machines anyway.
28134 (TYPE_MINIMUM): Assume two's complement.
28135 (twos_complement_arithmetic): Verify that long_int and time_t
28136 are two's complement (or unsigned, in the latter case).
28137
03cf7fe3
PE
28138 mktime: check signed shifts on long_int and time_t, too
28139 * time/mktime.c (SHR): Check that shifts work as desired
28140 on the types long_int and time_t too, as SHR is used on
28141 such types.
28142
f04dfbc2
PE
28143 mktime: do not assume 'long' is wide enough
28144 * time/mktime.c (verify): Move decl up.
28145 (long_int): New type.
28146 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28147 to remove assumption in the code that 'long' is wide enough to
28148 store year values. This assumption is not true on x32 and on
28149 some non-glibc platforms.
28150
62bdf9a6
PE
28151 mktime: merge wrapv change from gnulib
28152 * time/mktime.c (WRAPV): New macro.
28153 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28154 (guess_time_tm, __mktime_internal): Do not assume that signed
28155 integer overflow wraps around; modern compilers generate code
28156 where this assumption is no longer valid.
28157
5e292e4f
L
281582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28159
28160 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28161 Replace "jmp L(pseudo_end)" with "ret".
28162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28163 Likewise.
28164
8caf8c87
AJ
281652012-05-23 Andreas Jaeger <aj@suse.de>
28166
28167 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28168 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28169
1a09dc56
AJ
281702012-05-23 Andreas Jaeger <aj@suse.de>
28171 Maximilian Attems <max@stro.at>
28172
28173 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28174 New macros.
28175
1c87aba0
L
281762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28177
28178 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28179 code so that pseudo_end is just ret and the stack pointer is
28180 correct also for static library in error case.
28181
40e45bd5
JM
281822012-05-23 Joseph Myers <joseph@codesourcery.com>
28183
c2670533
JM
28184 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28185 move to syscalls.list.
28186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28190
40e45bd5
JM
28191 * manual/install.texi (Running make install): Do not mention Linux
28192 kernel version for which pt_chown is not needed.
28193 (Linux): Do not mention problems with nscd with 2.0 kernels.
28194 * INSTALL: Regenerated.
28195
be08eda5
AJ
281962012-05-23 Andreas Jaeger <aj@suse.de>
28197
28198 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28199 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28200 macro.
28201 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28202 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28203 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28204 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28205 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28206 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28207 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28209 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28211 * sysdeps/unix/sysv/linux/bits/in.h
28212 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28213
a6a056bb
RM
282142012-05-22 Roland McGrath <roland@hack.frob.com>
28215
28216 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28217 (PREPARE_VERSION): Just use assert instead, it will be elided
28218 under [NDEBUG] anyway.
28219
c9009328
L
282202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28221
28222 * sysdeps/unix/sysv/linux/Makefile: Include
28223 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28224 (sysdep_routines): Remove sysctl.
c9009328
L
28225 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28226 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28227 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28229 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28230
73338355
AJ
282312012-05-22 Andreas Jaeger <aj@suse.de>
28232
28233 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28234 that pseudo_end is just ret and the stack pointer is correct also
28235 for static library in error case.
28236
d44638b0
PP
282372012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28238
28239 [BZ #14122]
28240 * nss/nsswitch.c (defconfig_entries): New variable.
28241 (__nss_database_lookup): Don't leak defconfig entries.
28242 (nss_parse_service_list): Don't leak on error paths.
28243 (free_database_entries): New function.
28244 (free_defconfig): New function.
28245 (free_mem): Move common code to free_database_entries.
28246
31a39bd8
L
282472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28248
da0331a8
L
28249 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28250 Add arch_prctl.
28251 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28252
31a39bd8
L
28253 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28254 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28256 New macro.
28257 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28258 (INTERNAL_SYSCALL_TYPES): Likewise.
28259 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28260 (LOAD_REGS_TYPES_[1-6]): Likewise.
28261 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28262 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28263
45470df3
AZ
282642012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28265
28266 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28267 copysignl for GLIBC_2_0.
28268 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28269 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28270 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28271 logbl for GLIBC_2_0.
28272 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28273 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28274
98a61bcb
L
282752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28276
a4f6e481
L
28277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28278 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28279
f63d5db6
L
28280 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28281 Use "neg %eax".
28282
98a61bcb
L
28283 * time/mktime.c: Update copyright years.
28284
95770f14
PE
282852012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28286
6226efbd
PE
28287 mktime: merge comment-quoting-style change from gnulib
28288 * time/mktime.c: Quote 'like this' in comments.
28289 The GNU coding standards suggest that we no longer quote `like this',
28290 as "`" and "'" are typically rendered asymmetrically nowadays.
28291 The typical gnulib style is to quote 'like this' when quoting
28292 code, and "like this" when quoting English.
28293
b99e4f78
PE
28294 * time/mktime.c (compile-command): Add "-I.".
28295
643e01e6
PE
28296 mktime: merge mktime-internal.h change from gnulib
28297 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28298
2554247d
PE
28299 mktime: merge time_r change from gnulib
28300 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28301
826dd0ab
PE
28302 mktime: merge DEBUG change from gnulib
28303 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28304 case system <time.h> has a #define.
28305
bd83aabe
PE
28306 mktime: merge <sys/types.h> change from gnulib
28307 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28308 since <time.t> is now guaranteed to define time_t.
28309
95770f14
PE
28310 mktime: merge HAVE_CONFIG_H change from gnulib
28311 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28312
5e1a27a9
L
283132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28314
0e44a77e
L
28315 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28316 Use "neg %eax".
28317
5e1a27a9
L
28318 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28319 __rlim_t cast.
28320 (struct rusage): Use anonymous union to pad each field to
28321 __syscall_slong_t.
28322
46259bec
DM
283232012-05-21 David S. Miller <davem@davemloft.net>
28324
28325 * Makefules (o-iterator): Remove .s cases.
28326 (compile-command.s): Delete.
28327 (COMPILE.s): Delete.
28328 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28329
59f0c22e
JM
283302012-05-21 Joseph Myers <joseph@codesourcery.com>
28331
28332 * configure.in (libc_cv_predef_stack_protector): Only consider
28333 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28334 * configure: Regenerated.
28335
20c07380
L
283362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28337
bbb3154b
L
28338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28339 New macro. Use R*LP on int and pointer.
28340 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28341 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28342 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28343 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28344
20c07380
L
28345 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28346 [__WORDSIZE_TIME64_COMPAT32] instead of
28347 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28348 (struct utmp): Likewise.
28349 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28350 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28351 Renamed to ...
28352 (__WORDSIZE_TIME64_COMPAT32): This.
28353 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28354 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28355 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28356 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28357 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28358 (__WORDSIZE_TIME64_COMPAT32): New macro.
28359
d8d1017e
AJ
283602012-05-21 Andreas Jaeger <aj@suse.de>
28361
28362 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28363 only if [SHARED]. Add prototype for __wcschr_ia32.
28364
6c7fb145
RM
283652012-05-21 Roland McGrath <roland@hack.frob.com>
28366
28367 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28368 of %rbp unmolested in the jmp_buf while mangling the low bits.
28369 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28370 unmolested high bits of %rbp while demangling the low bits.
28371 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28372
66274218
AJ
283732012-05-21 Andreas Jaeger <aj@suse.de>
28374
07c58f8f
AJ
28375 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28376 * sunrpc/svc_simple.c: Use it for registerrpc.
28377 * sunrpc/xcrypt.c: Use it for passwd2des.
28378
66274218
AJ
28379 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28380
61f65140
L
283812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28384 Don't define if [__SYSCALL_WORDSIZE != 32].
28385 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28386 New macro.
28387
5fefb436
AJ
283882012-05-21 Bruno Haible <bruno@clisp.org>
28389 Andreas Jaeger <aj@suse.de>
28390
28391 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28392 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28393 inptr and inend for must_buffer_ch.
28394 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28395 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28396 * stdio-common/Makefile (tests): Remove bug15.
28397 (bug15-ENV): Remove macro.
28398 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28399 anymore.
28400
d8e272ab
AJ
284012012-05-19 Andreas Jaeger <aj@suse.de>
28402 Roland McGrath <roland@hack.frob.com>
28403
28404 * manual/contrib.texi: Completely rewritten. It contains now an
28405 alphabetical list of contributors and their contributions.
28406
4a56a162
RH
284072012-05-21 Richard Henderson <rth@twiddle.net>
28408
28409 * misc/getauxval.c (__getauxval): Use unsigned long int.
28410 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28411 (getauxval): Use unsigned long int.
28412
d024d23c
L
284132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28416
cbc00a03
RM
284172012-05-21 Roland McGrath <roland@hack.frob.com>
28418
28419 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28420 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28421 __alignof__ (long double).
28422
478143fa
AZ
284232012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28424
28425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28426
c7683a6d
RH
284272012-05-20 Richard Henderson <rth@twiddle.net>
28428
28429 * misc/getauxval.c: New file.
28430 * misc/sys/auxv.h: New file.
28431 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28432 (routines): Add getauxval.
28433 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28434 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28435 * elf/dl-sysdep.c (_dl_auxv): Remove.
28436 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28437 * elf/dl-support.c (_dl_auxv): New variable.
28438 (_dl_aux_init): Initialize it.
28439 * manual/startup.texi (Auxiliary Vector): New node.
28440 * sysdeps/generic/bits/hwcap.h: New file.
28441 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28442 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28443 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28444 * sysdeps/sparc/sysdep.h: ... here. Include it.
28445 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28446 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28448 Update.
c7683a6d
RH
28449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28457
a6f1845d
AZ
284582012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28459
28460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28461
cbcbe830
DM
284622012-05-19 David S. Miller <davem@davemloft.net>
28463
28464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28465
e0b16cc2
JM
284662012-05-19 Joseph Myers <joseph@codesourcery.com>
28467
28468 [BZ #14123]
28469 * math/s_ccosh.c: Include <float.h>
28470 (__ccosh): Avoid internal overflow calculating sinh and cosh
28471 values before multiplying by sin and cos values.
28472 * math/s_ccoshf.c: Likewise.
28473 * math/s_ccoshl.c: Likewise.
28474 * math/s_csin.c: Likewise.
28475 * math/s_csinf.c: Likewise.
28476 * math/s_csinl.c: Likewise.
28477 * math/s_csinh.c: Likewise.
28478 * math/s_csinhf.c: Likewise.
28479 * math/s_csinhl.c: Likewise.
28480 * math/libm-test.inc (ccos_test): Add more tests.
28481 (ccosh_test): Likewise.
28482 (csin_test): Likewise.
28483 (csinh_test): Likewise.
28484 * sysdeps/i386/fpu/libm-test-ulps: Update.
28485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28486
6ad13e08
L
284872012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28488
f66f0ce8
L
28489 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28490 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28491
6ad13e08
L
28492 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28493
b1d072a7
JM
284942012-05-19 Joseph Myers <joseph@codesourcery.com>
28495
28496 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28497 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28498 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28499 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28500 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28501 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28502 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28503 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28504 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28505 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28506 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28507 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28508 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28509 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28510 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28511 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28512 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28513 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28514 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28515 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28516 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28517 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28518 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28519 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28520 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28521 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28522 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28523 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28524 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28525 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28526 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28527
9eae47cb
AJ
285282012-05-18 Andreas Jaeger <aj@suse.de>
28529
28530 * csu/.gitignore: Delete.
28531
bb07f69f
L
285322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28533
28534 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28535 (timex): Use __syscall_slong_t.
28536
e6bdb741
AJ
285372012-05-18 Andreas Jaeger <aj@suse.de>
28538 Carlos O'Donell <carlos_odonell@mentor.com>
28539
28540 * manual/install.texi (Configuring and compiling): Update
28541 description about files modified in the source directory.
d6c33fda 28542 * INSTALL: Regenerated.
e6bdb741 28543
1b74487e
L
285442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28545
28546 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28547 value. Use "or" to set return value to -1.
28548 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28549 negate return value.
28550
a88b64b9
TMQMF
285512012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28552
57f41c40
AS
28553 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28554 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28555 failure if the compiler has Graphite support disabled.
28556 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28557 Likewise.
57f41c40
AS
28558 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28559 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28560 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28561 Likewise.
28562
3707636e
L
285632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28564
610b8622
L
28565 * sysdeps/x86_64/x32/_itoa.h: New file.
28566
7cd195df
L
28567 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28568 getdents system call only if kernel and user dirents have the
28569 same d_ino and d_off.
28570
94b07d20
L
28571 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28572 LLONG_MAX != LONG_MAX.
28573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28574 (_fitoa_word): Likewise.
28575
18298070
L
28576 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28577 years.
28578 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28579 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28580 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28581
553c7ea4
L
28582 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28583 include <bits/wordsize.h>. Check __x86_64__ instead of
28584 __WORDSIZE.
28585 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28586 if __x86_64__ is defined. Use anonymous union on fpstate.
28587
3707636e
L
28588 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28589 anonymous union.
28590
b53ef01a
AS
285912012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28592
37fb1dc0
AS
28593 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28594 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28595 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28596 Refer to _rtld_local_ro instead of _rtld_global_ro.
28597 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28598 Likewise.
28599 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28600 Likewise.
28601 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28602 Likewise.
28603 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28604 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28605 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28606
b53ef01a
AS
28607 * sysdeps/powerpc/powerpc32/dl-machine.c
28608 (__elf_machine_runtime_setup) [PROF]: Don't reference
28609 _dl_prof_resolve.
28610
7a185db2
AJ
286112012-05-18 Andreas Jaeger <aj@suse.de>
28612
28613 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28614 function only available for GCCs before 3.4 since GCC 3.4
28615 introduced a builtin.
28616 (lrint): Likewise.
28617 (llrintf): Likewise.
28618 (llrint): Likewise.
28619 (fmaxf): Likewise.
28620 (fmax): Likewise.
28621 (fminf): Likewise.
28622 (fmin): Likewise.
28623 (rint): Likewise.
28624 (rintf): Likewise.
28625 (nearbyint): Likewise.
28626 (nearbyintf): Likewise.
28627 (ceil): Likewise.
28628 (ceilf): Likewise.
28629 (floor): Likewise.
28630 (floorf): Likewise.
28631
3e5aef87
L
286322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28633
428bd707
L
28634 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28635 on both fields and cast pointer to __syscall_ulong_t.
28636
3e5aef87
L
28637 * bits/types.h (__fsword_t): New type.
28638 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28639 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28641 (__FSWORD_T_TYPE): Likewise.
28642 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28643 (__FSWORD_T_TYPE): Likewise.
28644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28645 (__FSWORD_T_TYPE): Likewise.
28646 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28647 (__FSWORD_T_TYPE): Likewise.
28648 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28649 __SWORD_TYPE with __fsword_t.
28650 (statfs64): Likewise.
28651
1ba7c3dc
DM
286522012-05-17 David S. Miller <davem@davemloft.net>
28653
28654 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28655
59910343
AJ
286562012-05-17 Andreas Jaeger <aj@suse.de>
28657
28658 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28659 warning.
28660
2e4c1e9e
L
286612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28662
28663 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28664
de7f5ce7
AJ
286652012-05-17 Andreas Jaeger <aj@suse.de>
28666
28667 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28668 when it is used.
28669
286abc3d
CM
286702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28671
28672 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28673
477cc68e
L
286742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28675
28676 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28677 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28678
1a0994f5
CD
286792012-05-17 Andreas Jaeger <aj@suse.de>
28680 Carlos O'Donell <carlos_odonell@mentor.com>
28681
28682 [BZ #14059]
28683 * sysdeps/x86_64/multiarch/init-arch.h
28684 (bit_YMM_Usable): Rename to...
28685 (bit_AVX_Usable): ... this.
28686 (bit_FMA4_Usable): New macro.
28687 (bit_XMM_state): New macro.
28688 (bit_YMM_state): New macro.
28689 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28690 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28691 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28692 (CPUID_OSXSAVE): New macro.
28693 (CPUID_AVX): New macro.
28694 (CPUID_FMA4): New macro.
28695 (index_YMM_Usable): Rename to...
28696 (index_AVX_Usable): ... this.
28697 (HAS_AVX): Use HAS_ARCH_FEATURE.
28698 (HAS_FMA4): Likewise.
28699 (HAS_YMM_USABLE): Remove.
28700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28701 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28702 are present.
28703 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28704 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28705 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28706 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28707 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28708
0af797de
CM
287092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28710
28711 * math/libm-test.c: Support platforms without multiple rounding modes.
28712 * math/bug-nextafter.c: Support platforms without FP exceptions.
28713 * math/bug-nexttoward.c: Likewise.
28714 * math/test-fenv.c: Likewise.
28715 * math/test-misc.c: Likewise.
28716 * stdlib/bug-getcontext.c: Likewise.
28717
e39745ff
AJ
287182012-05-17 Andreas Jaeger <aj@suse.de>
28719
28720 * manual/examples/search.c (critter_cmp): Change signature to
28721 avoid warnings.
28722 * manual/string.texi (Collation Functions): Likewise.
28723
48970aba
L
287242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28725
28726 * bits/types.h: Fold copyright years.
28727 * bits/typesizes.h: Likewise.
28728 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28732 * time/time.h: Likewise.
28733
bedee953
PP
287342012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28735
28736 [BZ #208]
28737 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28738 in instead of returning them. Return void.
28739 (__libc_mallinfo): Accumulate over all arenas.
28740 (__malloc_stats): Adjust for change in int_mallinfo interface.
28741
61653dfb
RM
287422012-05-16 Roland McGrath <roland@hack.frob.com>
28743
30b99d79
RM
28744 [BZ #10375]
28745 * configure.in (NM): Add AC_CHECK_TOOL for it.
28746 (libc_extra_cflags): New substituted variable.
28747 Check for -fstack-protector being used implicitly.
28748 * configure: Regenerated.
28749 * config.make.in (config-extra-cflags): New variable,
28750 gets @libc_extra_cflags@.
28751 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28752
61653dfb
RM
28753 [BZ #10375]
28754 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28755 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28756 * configure: Regenerated.
28757 * config.make.in (CPPUNDEFS): New substituted variable.
28758 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28759 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28760 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28761
661768bb
L
287622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28763
28764 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28765 (mq_attr): Use __syscall_slong_t.
28766
d4261567
L
287672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28768
28769 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28770 Check __x86_64__ instead of __WORDSIZE.
28771 (_STAT_VER_LINUX): Likewise.
28772 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28773 __syscall_ulong_t and __syscall_slong_t.
28774 (stat64): Likewise.
28775
cf3ff365
L
287762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28777
28778 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28779
76cf3e4d
L
287802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28781
28782 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28783
a637753a
L
287842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28785
28786 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28787 __syscall_ulong_t.
28788
d5e05119
L
28789 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28790 include <bits/wordsize.h>. Check __x86_64__ instead of
28791 __WORDSIZE.
28792 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28793 defined.
28794 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28795
f62ee380
L
28796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28797 include <bits/wordsize.h>. Check __x86_64__ instead of
28798 __WORDSIZE.
28799 (user_regs_struct): Use "__extension__ unsigned long long"
28800 instead of "unsigned long" if __x86_64__ is defined.
28801 (user): Likewise. Pad after pointer field if __ILP32__ is
28802 defined.
28803
4e124ced
JM
288042012-05-16 Joseph Myers <joseph@codesourcery.com>
28805
6a3951a0
JM
28806 * configure.in (makeinfo): Require version 4.5 or later. Allow
28807 versions 5 to 9.
28808 * configure: Regenerated.
28809 * manual/install.texi (texinfo): Increase version requirement to
28810 4.5 or later.
28811 * INSTALL: Regenerated.
28812
4e124ced
JM
28813 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28814
953ca31a
L
288152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28816
28817 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28818
617aca05
L
28819 * sysdeps/x86_64/x32/ffs.c: New file.
28820
5762f7ae
L
28821 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28822 __syscall_ulong_t.
28823 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28824 defined. Use __syscall_ulong_t.
28825 (shminfo): Use __syscall_ulong_t.
28826 (shm_info): Likewise.
28827
a26b6856
L
28828 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28829 __syscall_ulong_t.
28830
cb2b9ef7
L
28831 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28832 <bits/wordsize.h>.
28833 (msgqnum_t): Use __syscall_ulong_t.
28834 (msglen_t): Likewise.
28835 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28836 __syscall_ulong_t.
28837
34683bb0
L
28838 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28839 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28840
84a68786
L
28841 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28842
48baa5f1
L
28843 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28844 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28845
180be88b
L
28846 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28847 __syscall_slong_t.
28848
5e90c8ad
L
28849 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28850 include <bits/wordsize.h>. Check __x86_64__ instead of
28851 __WORDSIZE.
28852
23dfb58b
L
28853 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28854 "unsigned long long int" if __x86_64__ is defined.
28855 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28856
ce5d54b0
L
28857 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28858 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28859 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28860
13dc9eac
L
28861 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28862 <stdint.h>.
28863 (GET_PC): Cast to uintptr_t first.
28864 (GET_FRAME): Likewise.
28865 (GET_STACK): Likewise.
28866
a7895d15
L
28867 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28868 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28869 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28870 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28871 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28872 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28873 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28874 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28875 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28876 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28877 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28878 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28879 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28880 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28881 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28882 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28883 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28884 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28886 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28887 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28888 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28889 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28890 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28891 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28893 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28894 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28895 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28896
656416c9
AS
288972012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28898
5bd66283
AS
28899 * Makerules (+depfiles): Also collect depfiles from .oS in
28900 $(extra-objs).
28901 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28902 .oS, $(libnldbl-routines)).
28903
656416c9
AS
28904 * Makerules (native-compile-mkdep-flags): Define.
28905 * sunrpc/Makefile (extra-objs): Add $(addprefix
28906 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28907 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28908 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28909 calling $(make-target-directory).
28910
a46f2169
L
289112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28912
28913 * bits/types.h (__snseconds_t): Removed.
28914 * time/time.h (struct timespec): Replace __snseconds_t with
28915 __syscall_slong_t.
28916 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28917 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28918 Likewise.
28919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28920 (__SNSECONDS_T_TYPE): Likewise.
28921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28922 (__SNSECONDS_T_TYPE): Likewise.
28923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28924 (__SNSECONDS_T_TYPE): Likewise.
28925
6af6528b
L
289262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28927
28928 * sysdeps/mach/hurd/bits/typesizes.h
28929 (__SYSCALL_SLONG_TYPE): New macro.
28930 (__SYSCALL_ULONG_TYPE): Likewise.
28931
de986b56
L
289322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28933
28934 * bits/types.h (__syscall_slong_t): New type.
28935 (__syscall_ulong_t): Likewise.
28936
28937 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28938 (__SYSCALL_ULONG_TYPE): Likewise.
28939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28940 (__SYSCALL_SLONG_TYPE): Likewise.
28941 (__SYSCALL_ULONG_TYPE): Likewise.
28942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28943 (__SYSCALL_SLONG_TYPE): Likewise.
28944 (__SYSCALL_ULONG_TYPE): Likewise.
28945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28946 (__SYSCALL_SLONG_TYPE): Likewise.
28947 (__SYSCALL_ULONG_TYPE): Likewise.
28948
85736dc7
L
289492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28950
28951 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28952 Add sigaltstack-offsets.sym.
28953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28954 <sigaltstack-offsets.h>.
28955 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28956 longjmp_msg pointer.
28957 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28958 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28959 signal stack.
28960 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28961
cc03b296
JM
289622012-05-15 Joseph Myers <joseph@codesourcery.com>
28963
a9538892
JM
28964 * elf/stackguard-macros.h: Remove file.
28965 * sysdeps/generic/stackguard-macros.h: New file.
28966 * sysdeps/i386/stackguard-macros.h: Likewise.
28967 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28968 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28969 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28970 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28971 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28972 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28973 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28974 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28975 <elf/stackguard-macros.h>.
28976
cc03b296
JM
28977 [BZ #14109]
28978 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28979 __aligned__ in attribute.
28980 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28981 (gregset_t): Likewise.
28982
93171016
L
289832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28984
28985 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28986 * sysdeps/x86_64/64/Implies-after: Here. New file.
28987 * sysdeps/x86_64/x32/Implies-after: New file.
28988
d86813a0
L
289892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28992 and access return value for _dl_profile_fixup. Use R10_LP to
28993 load frame size.
28994
2953ec75
L
289952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28996
28997 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28998
3b550e9e
L
289992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29000
29001 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29002 * sysdeps/x86_64/x32/sysdep.h: New file.
29003
eda41706
L
290042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29005
29006 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29007 * sysdeps/x86_64/setjmp.S: Likewise.
29008
9ea01d93
AZ
290092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29010
29011 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29012 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29013 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29014 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29015 remove unused global constant.
29016
02a91938
CM
290172012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29018
29019 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29020 include of <not-cancel.h>.
29021
6540185f
RM
290222012-05-15 Roland McGrath <roland@hack.frob.com>
29023
29024 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29025
509072a0
AJ
290262012-05-15 Jeff Law <law@redhat.com>
29027 Andreas Jaeger <aj@suse.de>
29028
29029 [BZ #13594]
29030 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29031 out from...
29032 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29033 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29034 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29035 code changing __hst_map_handle.map.
29036
ba75122d
RM
290372012-05-15 Roland McGrath <roland@hack.frob.com>
29038
29039 * configure.in (sysnames): Look for Implies-before and Implies-after
29040 files.
29041 * configure: Regenerated.
29042
890d8bd8
L
290432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29044
29045 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29046 8-byte data alignment with LP_SIZE alignment.
29047
f6ee6623
L
290482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29049
29050 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29051 into R10_LP.
29052
ea2626f6
L
290532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29054
29055 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29056
085f715e
L
290572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29058
29059 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29060 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29062 Likewise.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29064
be8498fc
L
290652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29066
29067 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29068 (stackinfo_sub_sp): Likewise.
29069
70bc83b9
L
290702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29071
29072 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29073 RAX_LP.
29074
9bc0b730
L
290752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29076
29077 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29078 into R*_LP.
29079
6d2850e7
L
290802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29081
29082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29083 sizes into R*_LP.
29084
3cb84561
L
290852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29086
29087 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29088
54e2ed81
L
290892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29090
29091 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29092 into R11_LP and load __x86_64_shared_cache_size_half into
29093 R8_LP.
29094
8a17f349
L
290952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29096
29097 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29098 R8_LP.
29099
777b1eea
AZ
291002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29101
29102 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29103 logb for POWER7.
29104 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29105 logbf for POWER7.
29106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29107 logbl for POWER7.
29108 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29109 powerpc32/power7/fpu/s_logb.c via #include.
29110 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29111 powerpc32/power7/fpu/s_logbf.c via #include.
29112 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29113 powerpc32/power7/fpu/s_logbl.c via #include.
29114
d20d4ac2
JM
291152012-05-15 Joseph Myers <joseph@codesourcery.com>
29116
29117 * README.libm: Remove file.
29118
6cdef1ab
L
291192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29120
29121 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29122 count for x32. Use R*_LP and omit operand-size suffix.
29123
0b254d8f
L
291242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29125
29126 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29127 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29128 * sysdeps/x86_64/x32/shlib-versions: New file.
29129
ceb809dc
RM
291302012-05-14 Roland McGrath <roland@hack.frob.com>
29131
29132 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29133 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29134 Use _dl_fatal_printf instead.
29135
37f1abd4
JM
291362012-05-14 Joseph Myers <joseph@codesourcery.com>
29137
29138 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29139 set if not set by the user. Do not allow for being unset.
29140 * sysdeps/unix/sysv/linux/configure: Regenerated.
29141
11de3a33
L
291422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29143
29144 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29145 the `q' suffix from lea and replace .quad with ASM_ADDR.
29146
e02f153a
L
291472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29148
29149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29150 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29151 instead of $17.
29152 (PTR_DEMANGLE): Likewise.
29153
520ae0fd
L
291542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29155
29156 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29157 (LP_OP): Likewise.
29158 (ASM_ADDR): Likewise.
29159 (RAX_LP): Likewise.
29160 (RBP_LP): Likewise.
29161 (RBX_LP): Likewise.
29162 (RCX_LP): Likewise.
29163 (RDI_LP): Likewise.
29164 (RSI_LP): Likewise.
29165 (RSP_LP): Likewise.
29166 (R8_LP): Likewise.
29167 (R9_LP): Likewise.
29168 (R10_LP): Likewise.
29169 (R10_LP): Likewise.
29170 (R11_LP): Likewise.
29171 (R12_LP): Likewise.
29172 (R13_LP): Likewise.
29173 (R14_LP): Likewise.
29174 (R15_LP): Likewise.
29175
b985be81
L
291762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29177
29178 * sysdeps/x86_64/x32/dl-machine.h: New file.
29179
6a4888ff
AJ
291802012-05-14 Andreas Jaeger <aj@suse.de>
29181
29182 * manual/Makefile (subdir): Remove export of subdir.
29183 (all): Remove target.
29184 (.PHONY): Remove all from list.
29185 (mkinstalldirs): Remove.
29186 (.PHONY): Remove installdirs from list.
29187 ($(inst_infodir)/libc.info): Use make-target-directory.
29188 (installdirs): Remove.
29189 (subdir_%): Remove.
29190 (glibc-targets): Remove.
29191 (lib): Remove.
29192 (stubs): Remove.
29193 ($(objpfx)stubs ../po/manual.pot): Remove.
29194 ($(objpfx)stamp%): Remove.
29195 (make-target-directory): Remove.
29196 (subdir_install): Remove.
29197 (routines): Remove.
29198 (aux): Remove.
29199 (sources): Remove.
29200 (objects): Remove.
29201 (headers): Remove.
29202
29203 [BZ #13750]
29204 * manual/.gitignore: Remove, it's not needed anymore.
29205 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29206 all files in it.
29207 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29208 directory.
29209 (texis): Renamed to $(objpfx)texis.
29210 (texis-path): New, contains path to generated files.
29211 (chapters.%): Use texis-path for complete path, add extra argument
29212 libc-texinfo.sh.
29213 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29214 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29215 (summary,texi, stamp-summary): Use complete path of
29216 files. Generate files in build dir.
29217 (dir-add.texi): Build in build dir.
29218 (libm-err.texi,stamp-libm-err): Likewise.
29219 (version.texi, stamp-version): Likewise.
29220 (.%c.texi): Likewise.
29221 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29222 (mostlyclean): Remove target.
29223 (realclean): Remove target.
29224 (generated): Add new variable with contents from mostlyclean and
29225 realclean, remove entries duplicated in common-mostlyclean, add
29226 stamp-libm-err and stamp-version.
29227 (generated-dirs): Add libc directory.
29228 ($(inst_infodir)/libc.info): Install files from build dir.
29229
29230 * manual/install.texi (Configuring and compiling): Adjust since
29231 the info files are not part of the tar ball anymore.
29232
7ac77294
AJ
292332012-05-14 Andreas Jaeger <aj@suse.de>
29234
29235 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29236 variable.
29237
ffb7875d
JM
292382012-05-14 Joseph Myers <joseph@codesourcery.com>
29239
29240 [BZ #13717]
29241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29242 to 2.2.0 where earlier.
29243 * sysdeps/unix/sysv/linux/configure: Regenerated.
29244 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29245 Remove conditional code.
29246 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29247 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29248 Remove conditional code.
29249 [!__NR_lchown]: Likewise.
29250 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29251 [__NR_lchown]: Likewise.
29252 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29253 comment referencing __ASSUME_LCHOWN_SYSCALL.
29254 * sysdeps/unix/sysv/linux/i386/sigaction.c
29255 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29256 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29257 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29258 Remove conditional code.
29259 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29260 (__protocol_available): Remove #if 0 code.
29261 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29262 conditional code.
29263 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29264 * sysdeps/unix/sysv/linux/kernel-features.h
29265 (__ASSUME_GETCWD_SYSCALL): Don't define.
29266 (__ASSUME_REALTIME_SIGNALS): Likewise.
29267 (__ASSUME_PREAD_SYSCALL): Likewise.
29268 (__ASSUME_PWRITE_SYSCALL): Likewise.
29269 (__ASSUME_POLL_SYSCALL): Likewise.
29270 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29271 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29272 non-SPARC.
29273 (__ASSUME_SIOCGIFNAME): Don't define.
29274 (__ASSUME_MSG_NOSIGNAL): Likewise.
29275 (__ASSUME_SENDFILE): Define unconditionally.
29276 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29277 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29278 conditional code.
29279 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29280 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29281 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29282 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29283 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29284 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29285 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29287 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29290 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29293 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29296 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29299 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29302 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29305 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29308 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29310 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29311 Remove conditional code.
29312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29313 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29314 Remove conditional code.
29315 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29316 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29317 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29318 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29319 Remove conditional code.
29320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29321 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29322 Remove conditional code.
29323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29324 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29325 Remove conditional code.
29326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29327 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29328 Remove conditional code.
29329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29330 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29331 Remove conditional code.
29332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29333 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29336 * sysdeps/unix/sysv/linux/sigaction.c
29337 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29338 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29339 * sysdeps/unix/sysv/linux/sigpending.c
29340 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29341 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29342 * sysdeps/unix/sysv/linux/sigprocmask.c
29343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29345 * sysdeps/unix/sysv/linux/sigsuspend.c
29346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29348 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29349 (__libc_missing_rt_sigs): Remove.
29350 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29351 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29352 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29353 Remove conditional code.
29354 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29355 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29356 return 1.
29357 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29358 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29359 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29360 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29361
1bfb7291
AJ
293622012-05-14 Andreas Jaeger <aj@suse.de>
29363
caae5a81
AJ
29364 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29365 it's not used in glibc.
29366 (__coshm1): Likewise.
29367 (__acosh1p): Likewise.
29368 (__sgn): Likewise.
29369
1bfb7291
AJ
29370 * manual/string.texi (Copying and Concatenation): Add missing
29371 variable in concat example.
29372 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29373
c044d724
L
293742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29375
144c5467 29376 [BZ #14103]
c044d724
L
29377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29378 __builtin_clzl with __builtin_clzll.
29379
2523c62b
L
293802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29381
29382 [BZ #14104]
29383 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29384 libc_freeres_ptr.
29385
d7bb4c42
LD
293862012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29387
29388 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29389 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29390 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29391 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29392
9dc4e1fb
MF
293932012-05-14 Mike Frysinger <vapier@gentoo.org>
29394
29395 * NEWS: Update ia64 info.
29396
c7df0112
AS
293972012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29398
29399 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29400 used as bcopy.
29401
dc70356c
TS
294022012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29403
29404 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29405 * sysdeps/unix/syscalls.list (dup3): Likewise.
29406 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29407 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29408
9fb1a21f
L
294092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29410
29411 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29412 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29413
4822a2a5
L
294142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29415
29416 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29417 thread pointer.
29418 (TLS_IE): Use mov/add instead of movq/addq to load thread
29419 pointer.
29420 (TLS_GD_PREFIX): New.
29421 (TLS_GD): Use it.
29422
842b81d6
DM
294232012-05-11 David S. Miller <davem@davemloft.net>
29424
29425 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29426 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29427 (_FPU_SETCW): Likewise.
29428
1cf463cd
L
294292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29430
29431 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29432 is 32-byte aligned.
29433
60cc4a18
AS
294342012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29435
29436 [BZ #11837]
29437 * iconvdata/gb18030.c: Update tables.
29438 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29439 characters specially.
29440 (BODY for TO_LOOP): Add encoding of missing ranges.
29441
febb44a4
TS
294422012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29443
29444 [BZ #13673]
29445 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29446 * sysdeps/mach/hurd/dup3.c: Likewise.
29447 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29448 * sysdeps/powerpc/memmove.c:: Likewise.
29449
0a10fb9e
L
294502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29451
29452 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29453 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29454
df8a552f
L
294552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29456
29457 * elf/elf.h (R_X86_64_RELATIVE64): New.
29458 (R_X86_64_NUM): Updated.
29459 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29460 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29461 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29462 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29463 tst-quad1pie tst-quad2pie
29464 (modules-names): Add tst-quadmod1 tst-quadmod2.
29465 ($(objpfx)tst-quad1): New dependency.
29466 ($(objpfx)tst-quad2): Likewise.
29467 ($(objpfx)tst-quad1pie): Likewise.
29468 ($(objpfx)tst-quad2pie): Likewise.
29469 * sysdeps/x86_64/tst-quad1.c: New file.
29470 * sysdeps/x86_64/tst-quad1pie.c: New file.
29471 * sysdeps/x86_64/tst-quad2.c: Likewise.
29472 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29473 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29474 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29475 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29476 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29477
f34d6f84
ST
294782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29479
f42d41d1
ST
29480 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29481 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29482 * streams/stropts.h (t_scalar_t): Define type.
29483
3c3571fc
ST
29484 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29485 (_PATH_PRESERVE): Set to "/var/lib".
29486 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29487
61f06bd3
ST
29488 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29489 instead of int.
29490
918d4d71
ST
29491 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29492 if __dir_mkfile succeeded.
29493
f34d6f84
ST
29494 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29495 checking for _hurd_dtablesize. Unlock it right after having
29496 finished _hurd_dtable allocation.
29497
10589b4a
TS
294982012-05-10 Thomas Schwinge <thomas@schwinge.name>
29499
674cdbc7
TS
29500 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29501 * sysdeps/mach/hurd/configure: Regenerated.
29502 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29503 special-casing to...
29504 * sysdeps/gnu/configure.in: ... this new file.
29505 * sysdeps/unix/sysv/linux/configure: Regenerated.
29506 * sysdeps/gnu/configure: New generated file.
29507
8e41b99f
TS
29508 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29509 for Linux: use nsec instead of usec, as well as:
29510 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29511 members of type struct timespec.
29512 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29513 New macros.
29514 (struct stat64): Likewise.
29515 (_STATBUF_ST_NSEC): New macro.
29516 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29517
10589b4a
TS
29518 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29519 __strtoul_internal rather than strtoul.
29520
63643c85
PT
295212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29522
29523 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29524 and reject them.
29525
3faebe6a
ST
295262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29527
29528 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29529 which preserves existing values.
29530 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29531
c6474b07
PT
295322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29533
29534 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29535 TIMEOUT values. Return EINVAL for NFDS values either negative or
29536 greater than FD_SETSIZE.
29537
1043890b
ST
295382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29539
29540 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29541 allocated, call __vm_protect to finish enabling the existing space, and
29542 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29543 allocate the remainder.
29544
37ed8b9b
PT
295452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29546
29547 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29548 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29549
db653660
ST
295502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29551
37ed8b9b
PT
29552 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29553 sysdeps/mach/hurd/readlink.c.
b29d4053 29554
db653660
ST
29555 * posix/tst-sysconf.c (posix_options): Only use
29556 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29557 _POSIX_SYNCHRONIZED_IO when they are defined
29558 * sysdeps/mach/hurd/bits/posix_opt.h:
29559 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29560 (_XOPEN_REALTIME): Undefine macro.
29561 (_XOPEN_REALTIME_THREADS): Undefine macro.
29562 (_XOPEN_SHM): Undefine macro.
29563 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29564 macro to -1.
29565 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29566 macro to -1.
29567 (_POSIX_ASYNC_IO): Undefine macro.
29568 (_POSIX_PRIORITIZED_IO): Undefine macro.
29569 (_POSIX_SPIN_LOCKS): Define macro to -1.
29570
ee16e894
ST
29571 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29572 SA_NODEFER, SA_RESETHAND.
29573 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29574 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29575 F_DUPFD_CLOEXEC.
29576
6103ae3b
TS
295772012-05-10 Thomas Schwinge <thomas@schwinge.name>
29578
29579 * elf/Makefile (pldd-modules): Define unconditionally.
29580
80b4e5f3
TS
295812012-05-10 Thomas Schwinge <thomas@schwinge.name>
29582
29583 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29584
edadcbd6
ST
295852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29586
29587 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29588 Return ENOENT when name is empty.
29589 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29590
80694780
TS
295912012-05-10 Thomas Schwinge <thomas@schwinge.name>
29592
1792c087
TS
29593 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29594
80694780
TS
29595 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29596
6b645f0d
ST
295972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29598
80694780
TS
29599 Fix mlock in all cases except non-readable pages.
29600 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29601 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29602
6b645f0d
ST
29603 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29604 (__mkdir): When path is `/', just fail with EEXIST.
29605 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29606
e468f8a3
TS
296072012-05-10 Thomas Schwinge <thomas@schwinge.name>
29608
29609 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29610 <sys/uio.h> (for writev).
29611 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29612 and <sys/param.h> (for MIN).
29613
a4186cff
PT
296142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29615
29616 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29617 REQUESTED_TIME. Properly set the remaining time and return EINTR
29618 if interrupted.
29619
510bbf14
TS
296202012-05-10 Thomas Schwinge <thomas@schwinge.name>
29621
29622 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29623 Depend on against $(link-rpcuserlibs).
29624
5d5722e8
ST
296252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29626
a4186cff
PT
29627 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29628 (__libc_stack_end): Do not use attribute_relro.
29629 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29630 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29631 to libthread-provided value.
a4186cff
PT
29632 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29633 attribute_relro.
5d5722e8 29634
37233df9
TS
296352012-05-10 Thomas Schwinge <thomas@schwinge.name>
29636
be971a2b
TS
29637 [BZ #3748]
29638 * bits/libc-lock.h (__libc_once_get): New macro.
29639 * sysdeps/mach/bits/libc-lock.h: Likewise.
29640 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29641 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29642 instead of using implementation details.
29643
37233df9
TS
29644 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29645 * libio/freopen.c: Likewise.
29646 * libio/freopen64.c: Likewise.
29647 * misc/syslog.c: Likewise.
29648 * nscd/connections.c: Likewise.
29649 * nscd/netgroupcache.c: Likewise.
29650 * sysdeps/posix/getcwd.c: Likewise.
29651
38de94a5
RM
296522012-05-10 Roland McGrath <roland@hack.frob.com>
29653
29654 * math/w_ilogbf.c: Add #include <limits.h>.
29655
67530489
ST
296562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29657
a4186cff 29658 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29659 path instead of returning without unlocking.
29660
67530489
ST
29661 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29662 immediate-write ioctls.
29663 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29664
5aa3a74a
TS
296652012-05-10 Thomas Schwinge <thomas@schwinge.name>
29666
18bad2ae
TS
29667 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29668 __builtin_frame_address instead of making assumptions about the
29669 location of the return address relative to DATA. Force early load of
29670 the return address.
29671 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29672 __builtin_frame_address.
29673
5aa3a74a
TS
29674 dup3 for GNU Hurd.
29675 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29676 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29677 implement dup3 and do some further code clean-ups.
29678 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29679 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29680
ecd0de9a
ST
296812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29682
cd9fa985
ST
29683 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29684
a4186cff
PT
29685 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29686 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29687 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29688 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29689 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29690 d->port.lock.
802ca5a5 29691
a4186cff
PT
29692 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29693 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29694 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29695
bcf55240
TS
296962012-05-10 Thomas Schwinge <thomas@schwinge.name>
29697
6960eb42
TS
29698 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29699 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29700 definitions.
29701
eb43375f
TS
29702 accept4 for GNU Hurd.
29703 * include/sys/socket.h (__libc_accept4): New prototype.
29704 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29705 to implement __libc_accept4.
29706 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29707 __libc_accept4.
29708 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29709
bcf55240
TS
29710 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29711 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29712 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29713 signal-defines.sym.
29714
6178c55b
ST
297152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29716
a4186cff 29717 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29718
6f080c2f
TS
297192012-05-10 Thomas Schwinge <thomas@schwinge.name>
29720
29721 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29722 assertion on O_CLOEXEC flag.
29723 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29724 * hurd/intern-fd.c: Likewise.
29725 * hurd/port2fd.c: Likewise.
29726
bcfe3a54
ST
297272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29728
29729 [BZ #3906]
29730 * bits/in.h (IPV6_PKTINFO): Define new macro.
29731 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29732
89c9aa49
AZ
297332012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29734
29735 [BZ #13954]
29736 [BZ #13955]
29737 [BZ #13956]
29738 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29739 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29740 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29741 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29743 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29744 * math/libm-test.inc (logb_test) : Additional logb tests.
29745
021db4be
AJ
297462012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29747 Andreas Jaeger <aj@suse.de>
29748
29749 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29750 * configure: Regenerated.
29751 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29752 * config.make.in (link-obsolete-rpc): New substituted variable.
29753 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29754 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29755 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29756 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29757 so that libc.a contains the symbols.
29758 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29759 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29760 * sunrpc/auth_none.c: Likewise.
29761 * sunrpc/auth_unix.c: Likewise.
29762 * sunrpc/authdes_prot.c: Likewise.
29763 * sunrpc/authuxprot.c: Likewise.
29764 * sunrpc/clnt_gen.c: Likewise.
29765 * sunrpc/clnt_perr.c: Likewise.
29766 * sunrpc/clnt_raw.c: Likewise.
29767 * sunrpc/clnt_simp.c: Likewise.
29768 * sunrpc/clnt_tcp.c: Likewise.
29769 * sunrpc/clnt_udp.c: Likewise.
29770 * sunrpc/clnt_unix.c: Likewise.
29771 * sunrpc/des_crypt.c: Likewise.
29772 * sunrpc/des_soft.c: Likewise.
29773 * sunrpc/get_myaddr.c: Likewise.
29774 * sunrpc/key_call.c: Likewise.
29775 * sunrpc/key_prot.c: Likewise.
29776 * sunrpc/netname.c: Likewise.
29777 * sunrpc/pm_getmaps.c: Likewise.
29778 * sunrpc/pm_getport.c: Likewise.
29779 * sunrpc/pmap_clnt.c: Likewise.
29780 * sunrpc/pmap_prot.c: Likewise.
29781 * sunrpc/pmap_prot2.c: Likewise.
29782 * sunrpc/pmap_rmt.c: Likewise.
29783 * sunrpc/publickey.c: Likewise.
29784 * sunrpc/rpc_cmsg.c: Likewise.
29785 * sunrpc/rpc_common.c: Likewise.
29786 * sunrpc/rpc_dtable.c: Likewise.
29787 * sunrpc/rpc_prot.c: Likewise.
29788 * sunrpc/rpc_thread.c: Likewise.
29789 * sunrpc/rtime.c: Likewise.
29790 * sunrpc/svc.c: Likewise.
29791 * sunrpc/svc_auth.c: Likewise.
29792 * sunrpc/svc_raw.c: Likewise.
29793 * sunrpc/svc_run.c: Likewise.
29794 * sunrpc/svc_tcp.c: Likewise.
29795 * sunrpc/svc_udp.c: Likewise.
29796 * sunrpc/svc_unix.c: Likewise.
29797 * sunrpc/svcauth_des.c: Likewise.
29798 * sunrpc/xcrypt.c: Likewise.
29799 * sunrpc/xdr.c: Likewise.
29800 * sunrpc/xdr_array.c: Likewise.
29801 * sunrpc/xdr_float.c: Likewise.
29802 * sunrpc/xdr_intXX_t.c: Likewise.
29803 * sunrpc/xdr_mem.c: Likewise.
29804 * sunrpc/xdr_rec.c: Likewise.
29805 * sunrpc/xdr_ref.c: Likewise.
29806 * sunrpc/xdr_sizeof.c: Likewise.
29807 * sunrpc/xdr_stdio.c: Likewise.
29808
b5c086a2
RM
298092012-05-10 Roland McGrath <roland@hack.frob.com>
29810
29811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29812 change. Update copyright years.
29813
6d74dd09
JM
298142012-05-10 Joseph Myers <joseph@codesourcery.com>
29815
29816 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29817
28e72501
MK
298182012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29819 Joseph Myers <joseph@codesourcery.com>
29820 Paul Pluzhnikov <ppluzhnikov@google.com>
29821
29822 [BZ #14012]
29823 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29824 requiring rpcgen.
29825 [cross-compiling] (extra-libs): Likewise.
29826 [cross-compiling] (extra-libs-others): Likewise.
29827 [cross-compiling] (librpcsvc-routines): Likewise.
29828 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29829 [cross-compiling] (omit-deps): Likewise.
29830 (sunrpc-CPPFLAGS): New variable.
29831 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29832 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29833 (cross-rpcgen-objs): New variable.
29834 (extra-objs): Append $(cross-rpcgen-objs).
29835 ($(cross-rpcgen-objs)): New rule.
29836 ($(objpfx)cross-rpcgen): Likewise.
29837 (rpcgen-cmd): Define to use $(built-program-file). Expand
29838 comment.
29839 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29840 ($(objpfx)x%.stmp): Likewise.
29841 * sunrpc/proto.h [IS_IN_build] (_): Define.
29842 [IS_IN_build] (_libc_intl_domainname): Likewise.
29843
c8c59454
L
298442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29845
29846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29847 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29848 and R_X86_64_TPOFF64.
29849
6f27cd16
JM
298502012-05-10 Joseph Myers <joseph@codesourcery.com>
29851
29852 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29853 sysdeps/unix/sysv/syscalls.list.
29854 (stime): Likewise.
29855 (utime): Likewise.
29856 * sysdeps/unix/sysv/syscalls.list: Remove file.
29857
02467e1c
PE
298582012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29859
29860 [BZ #3440]
29861 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29862 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29863 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29864 (__LC_IDENTIFICATION): Make these macros useful in #if
29865 expressions, as required by C99.
29866
da392631
AS
298672012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29868
29869 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29870 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29871 after this.
29872
8115f29b
L
298732012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29874
29875 * stdlib/longlong.h: Updated from GCC.
29876
bdd74070
AJ
298772012-05-09 Andreas Jaeger <aj@suse.de>
29878
edfe0dbe
AJ
29879 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29880 default is first entry.
29881 (run_mode): Set type.
29882 (main): Remove informal message about syslog.
29883 (options): Fix typo.
29884
bcfe3a54
ST
29885 [BZ #14053]
29886 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29887 to asm.
bcfe3a54
ST
29888 (lrint): Likewise.
29889 (llrintf): Likewise.
29890 (llrint): Likewise.
29891 (rint): Likewise.
29892 (rintf): Likewise.
29893 (nearbyint): Likewise.
29894 (nearbyintf): Likewise.
bdd74070 29895
91d8d69e
AJ
298962012-05-09 Andreas Jaeger <aj@suse.de>
29897 Pedro Alves <palves@redhat.com>
29898
29899 * nscd/nscd.c (run_mode): Use enum.
29900 (main): Cleanup coding style issue.
29901
bb90b80b
AJ
299022012-05-09 Alexandre Oliva <aoliva@redhat.com>
29903 Andreas Jaeger <aj@suse.de>
29904
bcfe3a54
ST
29905 * nscd/nscd.c (go_background): Replaced with...
29906 (run_mode): ... this.
bb90b80b 29907 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29908 (options): Add -F --foreground.
29909 (main): Implement it.
29910 (parse_opt): Parse it.
bb90b80b 29911
1a4b75a1
AJ
299122012-05-09 Andreas Jaeger <aj@suse.de>
29913
29914 [BZ #14083]
29915 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29916 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29917 -Wconversion warning.
29918 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29919 Likewise.
29920
b1cc2472
JM
299212012-05-09 Joseph Myers <joseph@codesourcery.com>
29922
29923 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29924 == 0.
29925 (LC_ALL): Use macro-int-constant.
29926 (LC_COLLATE): Likewise.
29927 (LC_CTYPE): Likewise.
29928 (LC_MESSAGES): Likewise.
29929 (LC_MONETARY): Likewise.
29930 (LC_NUMERIC): Likewise.
29931 (LC_TIME): Likewise.
29932 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29933 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29935 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29936 Specify type.
29937 [C99-based standards] (float_t): Expect type.
29938 [C99-based standards] (double_t): Expect type.
29939 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29940 type.
29941 [C99-based standards] (HUGE_VALL): Likewise.
29942 [C99-based standards] (INFINITY): Likewise.
29943 [C99-based standards] (NAN): Likewise.
29944 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29945 [C99-based standards] (FP_NAN): Likewise.
29946 [C99-based standards] (FP_NORMAL): Likewise.
29947 [C99-based standards] (FP_SUBNORMAL): Likewise.
29948 [C99-based standards] (FP_ZERO): Likewise.
29949 [C99-based standards] (FP_FAST_FMA): Use
29950 optional-macro-int-constant. Specify type. Require == 1.
29951 [C99-based standards] (FP_FAST_FMAF): Likewise.
29952 [C99-based standards] (FP_FAST_FMAL): Likewise.
29953 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29954 [C99-based standards] (FP_ILOGBNAN): Likewise.
29955 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29956 Specify type.
29957 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29958 [C99-based standards] (math_errhandling): Specify type.
29959 [ISO99 || ISO11] (signgam): Do not allow.
29960 [non-C99-based standards] (copysignf): Do not allow.
29961 [non-C99-based standards] (exp2f): Likewise.
29962 [non-C99-based standards] (log2f): Likewise.
29963 [non-C99-based standards] (modff): Allow.
29964 [non-C99-based standards] (erff): Do not allow.
29965 [non-C99-based standards] (erfcf): Likewise.
29966 [non-C99-based standards] (gammaf): Likewise.
29967 [non-C99-based standards] (hypotf): Likewise.
29968 [non-C99-based standards] (j0f): Likewise.
29969 [non-C99-based standards] (j1f): Likewise.
29970 [non-C99-based standards] (jnf): Likewise.
29971 [non-C99-based standards] (lgammaf): Likewise.
29972 [non-C99-based standards] (tgammaf): Likewise.
29973 [non-C99-based standards] (y0f): Likewise.
29974 [non-C99-based standards] (y1f): Likewise.
29975 [non-C99-based standards] (ynf): Likewise.
29976 [non-C99-based standards] (isnanf): Likewise.
29977 [non-C99-based standards] (acoshf): Likewise.
29978 [non-C99-based standards] (asinhf): Likewise.
29979 [non-C99-based standards] (atanhf): Likewise.
29980 [non-C99-based standards] (cbrtf): Likewise.
29981 [non-C99-based standards] (expm1f): Likewise.
29982 [non-C99-based standards] (ilogbf): Likewise.
29983 [non-C99-based standards] (log1pf): Likewise.
29984 [non-C99-based standards] (logbf): Likewise.
29985 [non-C99-based standards] (nextafterf): Likewise.
29986 [non-C99-based standards] (remainderf): Likewise.
29987 [non-C99-based standards] (rintf): Likewise.
29988 [non-C99-based standards] (scalbf): Likewise.
29989 [non-C99-based standards] (copysignl): Likewise.
29990 [non-C99-based standards] (exp2l): Likewise.
29991 [non-C99-based standards] (log2l): Likewise.
29992 [non-C99-based standards] (modfl): Allow.
29993 [non-C99-based standards] (erfl): Do not allow.
29994 [non-C99-based standards] (erfcl): Likewise.
29995 [non-C99-based standards] (gammal): Likewise.
29996 [non-C99-based standards] (hypotl): Likewise.
29997 [non-C99-based standards] (j0l): Likewise.
29998 [non-C99-based standards] (j1l): Likewise.
29999 [non-C99-based standards] (jnl): Likewise.
30000 [non-C99-based standards] (lgammal): Likewise.
30001 [non-C99-based standards] (tgammal): Likewise.
30002 [non-C99-based standards] (y0l): Likewise.
30003 [non-C99-based standards] (y1l): Likewise.
30004 [non-C99-based standards] (ynl): Likewise.
30005 [non-C99-based standards] (isnanl): Likewise.
30006 [non-C99-based standards] (acoshl): Likewise.
30007 [non-C99-based standards] (asinhl): Likewise.
30008 [non-C99-based standards] (atanhl): Likewise.
30009 [non-C99-based standards] (cbrtl): Likewise.
30010 [non-C99-based standards] (expm1l): Likewise.
30011 [non-C99-based standards] (ilogbl): Likewise.
30012 [non-C99-based standards] (log1pl): Likewise.
30013 [non-C99-based standards] (logbl): Likewise.
30014 [non-C99-based standards] (nextafterl): Likewise.
30015 [non-C99-based standards] (remainderl): Likewise.
30016 [non-C99-based standards] (rintl): Likewise.
30017 [non-C99-based standards] (scalbl): Likewise.
30018 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30019 [non-C99-based standards] (FP_*): Do not allow.
30020 [C99-based standards] (FP_*): Change to
30021 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30022 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30023 allow.
30024 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30025 (SIG_ERR): Likewise.
30026 [X/Open-based standards] (SIG_HOLD): Likewise.
30027 (SIG_IGN): Likewise.
30028 (SIGABRT): Use macro-int-constant. Specify type. Require
30029 positive value.
30030 (SIGFPE): Likewise.
30031 (SIGILL): Likewise.
30032 (SIGINT): Likewise.
30033 (SIGSEGV): Likewise.
30034 (SIGTER): Likewise.
30035 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30036 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30037 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30038 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30039 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30040 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30041 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30042 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30043 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30044 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30045 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30046 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30047 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30048 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30049 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30050 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30051 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30052 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30053 [X/Open-based standards] (SIGTRAP): Likewise.
30054 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30055 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30056 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30058 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30059 allow.
30060
b9f1922d
IW
300612012-05-08 Ian Wienand <ianw@vmware.com>
30062
30063 [BZ #14080]
30064 * time/tzset.c (__tzset_parse_tz): Update default rules for
30065 daylight time changes in the Energy Policy Act of 2005.
30066
1db86e88
AJ
300672012-05-09 Andreas Jaeger <aj@suse.de>
30068
30069 [BZ #13983]
30070 * elf/ldconfig.c (parse_conf): Change string to make clear that
30071 ldconfig only issued a warning if ld.so.conf does not exist.
30072
dee4a4e3
DM
300732012-05-08 David S. Miller <davem@davemloft.net>
30074
ee0db190
DM
30075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30076 movxtod instead of popping the value on the stack.
30077
dee4a4e3
DM
30078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30079
6a43ec98
CD
300802012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30081
30082 * config.h.in: Add HAVE_ARM_PCS_VFP.
30083
05c2c961
RMG
300842012-05-08 Roland Mc Grath <roland@hack.frob.com>
30085
bcfe3a54
ST
30086 [BZ #13979]
30087 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30088 checking but the checks are disabled for any reason.
05c2c961 30089
4b30f61a
L
300902012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30091
30092 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30093 and ELF64_R_TYPE with ELFW(R_TYPE).
30094
eee2bc67
JM
300952012-05-08 Joseph Myers <joseph@codesourcery.com>
30096
7ea5391a
JM
30097 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30098 (ulimit): Likewise.
30099
eee2bc67
JM
30100 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30101 (settimeofday): Likewise.
30102
abb66a67
MF
301032012-05-08 Mike Frysinger <vapier@gentoo.org>
30104
30105 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30106 a struct th_u2 inside the union, and move tu_block/tu_code into
30107 a new th_u3 union of tu_block/tu_code inside of that. Move
30108 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30109 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30110 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30111 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30112 (th_stuff): Change to th_u1.tu_stuff.
30113 (th_data): Define.
30114 (th_msg): Change to th_u1.th_u2.tu_data.
30115
7f18b530
DM
301162012-05-07 David S. Miller <davem@davemloft.net>
30117
05760585
DM
30118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30119
7f18b530
DM
30120 [BZ #14074]
30121 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30122 (SETUP_PIC_REG): Use it.
30123 (SETUP_PIC_REG_LEAF): Use it.
30124
495fd99f
JM
301252012-05-07 Joseph Myers <joseph@codesourcery.com>
30126
30127 [BZ #13885]
30128 [BZ #13923]
30129 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30130 USE_AS_EXPM1L.
30131 (EXPL_FINITE): Likewise.
30132 (FLDLOG): Likewise.
30133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30134 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30135 e_expl.S.
30136 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30137 USE_AS_EXPM1L.
30138 (EXPL_FINITE): Likewise.
30139 (FLDLOG): Likewise.
30140 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30141 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30142 e_expl.S.
30143 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30144 test of -max_value argument for long double.
30145 * sysdeps/i386/fpu/libm-test-ulps: Update.
30146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30147
6693d694
DM
301482012-05-06 David S. Miller <davem@davemloft.net>
30149
30150 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30151 quad soft-float symbols whose references which are compiler
30152 generated.
30153 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30154
6c23e11c
JM
301552012-05-06 Joseph Myers <joseph@codesourcery.com>
30156
d8b82cad
JM
30157 [BZ #13884]
30158 [BZ #13914]
30159 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30160 USE_AS_EXP10L.
30161 (EXPL_FINITE): Likewise.
30162 (FLDLOG): Likewise.
30163 (c0): Likewise.
30164 (c1): Likewise.
30165 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30166 Adjust comments for base varying.
30167 (__expl_finite): Change alias to EXPL_FINITE.
30168 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30169 e_expl.S.
30170 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30171 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30172 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30173 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30174 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30175 USE_AS_EXP10L.
30176 (EXPL_FINITE): Likewise.
30177 (FLDLOG): Likewise.
30178 (c0): Likewise.
30179 (c1): Likewise.
30180 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30181 Adjust comments for base varying.
30182 (__expl_finite): Change alias to EXPL_FINITE.
30183 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30184 tests for bugs.
30185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30186
6c23e11c
JM
30187 [BZ #14064]
30188 * math/libm-test.inc (check_float_internal): Correct ulp
30189 calculation for subnormal expected results.
30190
29ba805c
AJ
301912012-05-06 Andreas Jaeger <aj@suse.de>
30192
30193 * Makeconfig (+math-flags): New, set to -frounding-math.
30194 (+cflags): Add +math-flags so that all of glibc gets compiled with
30195 it.
30196
30197 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30198
7b17aeda
JM
301992012-05-05 Joseph Myers <joseph@codesourcery.com>
30200
5779f134
JM
30201 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30202 Disable one test.
30203
41498f4d
JM
30204 [BZ #13787]
30205 [BZ #13922]
30206 [BZ #14036]
30207 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30208 (__ieee754_expl): Allow for and saturate large arguments.
30209 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30210 (u_threshold): Likewise.
30211 (__exp): Call __ieee754_exp before checking for overflow and
30212 underflow.
30213 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30214 (u_threshold): Likewise.
30215 (__expf): Call __ieee754_expf before checking for overflow and
30216 underflow.
30217 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30218 (u_threshold): Likewise.
30219 (__expl): Call __ieee754_expl before checking for overflow and
30220 underflow.
30221 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30222 (__ieee754_expl): Allow for and saturate large arguments.
30223 * math/libm-test.inc (exp_test): Add another test. Do not allow
30224 missing overflow exception on overflow.
30225 (expm1_test): Do not allow missing overflow exception on overflow.
30226
6698b8bf
JM
30227 * sysdeps/i386/fpu/e_expl.c: Move to ...
30228 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30229 rather than using inline asm.
30230 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30231 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30232 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30233
7b17aeda
JM
30234 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30235 (nice): Likewise.
30236 (poll): Likewise.
30237 (signal): Likewise.
30238 (time): Likewise.
30239 (times): Likewise.
30240
f7c85819
JM
302412012-05-04 Joseph Myers <joseph@codesourcery.com>
30242
30243 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30244 sysdeps/unix/common/syscalls.list.
30245 (fchmod): Likewise.
30246 (fchown): Likewise.
30247 (ftruncate): Likewise.
30248 (getrusage): Likewise.
30249 (gettimeofday): Likewise.
30250 (setpgid): Likewise.
30251 (setregid): Likewise.
30252 (setreuid): Likewise.
30253 (sigaction): Likewise.
30254 (truncate): Likewise.
30255 (vhangup): Likewise.
30256 * sysdeps/unix/common/syscalls.list: Remove file.
30257 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30258 * sysdeps/unix/sysv/linux/Implies: Likewise.
30259
336270d0
L
302602012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30261
30262 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30264 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30265 Moved to ...
30266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30267 Here.
30268 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30269 to ...
30270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30271 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30272 to ...
30273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30274 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30275 to ...
30276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30277 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30278 to ...
30279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30280 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30281 to ...
30282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30283 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30284 to ...
30285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30286 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30287 to ...
30288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30289 Here.
30290 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30291 to ...
30292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30293 Here.
30294 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30295 to ...
30296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30297 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30298 Moved to ...
30299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30300 Here.
30301 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30302 to ...
30303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30304
d128e450
JM
303052012-05-04 Joseph Myers <joseph@codesourcery.com>
30306
fa8ee516
JM
30307 * sysdeps/unix/common/bits/dirent.h: Remove file.
30308 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30309
d128e450
JM
30310 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30311 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30312 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30313 * sysdeps/unix/bsd/isatty.c: Likewise.
30314 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30315 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30316 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30317
ff8faaf0 303182012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30319
62881be4 30320 [BZ #13563]
31dc8730
AZ
30321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30322 long double comparison inaccuracies.
30323 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30325
6fef930c
AS
303262012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30327
30328 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30329 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30330
8f203e6c
JM
303312012-05-04 Joseph Myers <joseph@codesourcery.com>
30332
30333 [BZ #14049]
30334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30335 nonzero digits before rounding a hex value.
30336 * stdlib/tst-strtod.c (tests): Add another test.
30337
5197d9c2
AK
303382012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30339
30340 * sysdeps/s390/fpu/libm-test-ulps: Update.
30341
f0c1dedf
AJ
303422012-05-03 Andreas Jaeger <aj@suse.de>
30343
30344 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30345 does not get optimized out.
30346 (malloc_opt_barrier): New.
30347
a65ef2ae 303482012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30349 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30350
2b942cb7 30351 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30352 intermediate file deletion.
2b942cb7 30353 (generated): Add .symlist files.
a65ef2ae 30354
54b71e02
JM
303552012-05-03 Joseph Myers <joseph@codesourcery.com>
30356
30357 [BZ #13775]
30358 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30359 Redirect under this condition.
30360 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30361 [__USE_GNU] (__dprintf_chk): Not under this condition.
30362 [__USE_GNU] (__vdprintf_chk): Likewise.
30363 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30364 under this condition.
30365 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30366 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30367 [__USE_XOPEN2K8] (vdprintf): Likewise.
30368 [__USE_GNU] (__dprintf_chk): Not under this condition.
30369 [__USE_GNU] (__vdprintf_chk): Likewise.
30370 [__USE_GNU] (dprintf): Likewise.
30371 [__USE_GNU] (vdprintf): Likewise.
30372
d3dfcc41
RM
303732012-05-03 Roland McGrath <roland@hack.frob.com>
30374
30375 * elf/Makefile (common-generated): Set this instead of generated for
30376 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30377 $(all-built-dso)-derived lists.
30378
7ac30cc5
AJ
303792012-05-03 Andreas Jaeger <aj@suse.de>
30380
0c51e550
AJ
30381 * sysdeps/i386/fpu/libm-test-ulps: Update.
30382
7ac30cc5
AJ
30383 * FAQ: Removed.
30384 * FAQ.in: Likewise.
30385 * scripts/gen-FAQ.pl: Likewise.
30386 * manual/install.texi (Installation): Point to online location of
30387 FAQ.
30388 * Makefile (files-for-dist): Remove FAQ.
30389 (FAQ): Remove.
30390
d4c2917f
AM
303912012-05-02 Allan McRae <allan@archlinux.org>
30392
30393 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30394 (LDFLAGS-reldepmod5.so): Likewise.
30395 (LDFLAGS-reldep6mod1.so): Likewise.
30396 (LDFLAGS-reldep6mod4.so): Likewise.
30397 (LDFLAGS-reldep8mod3.so): Likewise.
30398 (LDFLAGS-unload4mod1.so): Likewise.
30399 (LDFLAGS-unload4mod2.so): Likewise.
30400 (LDFLAGS-tst-initorder): Likewise.
30401 (LDFLAGS-tst-initordera2.so): Likewise.
30402 (LDFLAGS-tst-initordera3.so): Likewise.
30403 (LDFLAGS-tst-initordera4.so): Likewise.
30404 (LDFLAGS-tst-initorderb2.so): Likewise.
30405 (LDFLAGS-noload): Likewise.
30406 (LDFLAGS-next): Likewise.
30407 (LDFLAGS-order2mod1.so): Likewise.
30408 (LDFLAGS-order2mod2.so): Likewise.
30409 (LDFLAGS-tst-initorder2): Likewise.
30410 (LDFLAGS-tst-initorder2a.so): Likewise.
30411 (LDFLAGS-tst-initorder2b.so): Likewise.
30412 (LDFLAGS-tst-initorder2c.so): Likewise.
30413 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30414
d77f993f
DM
304152012-05-02 David S. Miller <davem@davemloft.net>
30416
30417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30418
171a70b4
PP
304192012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30420
30421 [BZ #14055]
30422 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30423
0be196ad
AJ
304242012-05-02 Andreas Jaeger <aj@suse.de>
30425
30426 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30427 since we manipulate rounding mode.
30428 (CPPFLAGS-test-idouble.c): Likewise.
30429 (CPPFLAGS-test-ifloat.c): Likewise.
30430 (CFLAGS-test-ldouble.c): Likewise.
30431 (CFLAGS-test-double.c): Likewise.
30432 (CFLAGS-test-float.c): Likewise.
30433 (CFLAGS-test-misc.c): Likewise.
30434 (CFLAGS-test-test-fenv.c): Likewise.
30435
4f9d04aa
AZ
304362012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30437
2b942cb7
RM
30438 [BZ #2550]
30439 [BZ #2570]
30440 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30441 comparisons to determine direction to adjust input.
4f9d04aa 30442
82a79e7d
RM
304432012-05-01 Roland McGrath <roland@hack.frob.com>
30444
f5a01ca9
RM
30445 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30446 output to the target.
30447
90fe4186
RM
30448 * scripts/localplt.awk: New file.
30449 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30450 (check-localplt-CFLAGS): Variable removed.
30451 ($(all-built-dso:=.jmprel)): New static pattern rule.
30452 (generated): Add those targets.
30453 (localplt-built-dso): New variable.
30454 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30455
30456 * elf/check-localplt.c: File removed.
30457
82397ed6
RM
30458 * scripts/check-execstack.awk: New file.
30459 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30460 (check-execstack-CFLAGS): Variable removed.
30461 ($(objpfx)check-execstack.h): Target removed.
30462 ($(objpfx)execstack-default): New target.
30463 (generated): Add that instead of check-execstack.h.
30464 ($(all-built-dso:=.phdr)): New static pattern rule.
30465 (generated): Add those targets.
30466 * elf/check-execstack.c: File removed.
30467
82a79e7d
RM
30468 * scripts/check-textrel.awk: New file.
30469 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30470 (check-textrel-CFLAGS): Variable removed.
30471 (all-built-dso): Use := to define.o
30472 ($(all-built-dso:=.dyn)): New static pattern rule.
30473 (generated): Add those targets.
30474 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30475 * config.make.in (READELF): New substituted variable.
30476 * elf/check-textrel.c: File removed.
30477
62fde54f 304782012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30479
615605c9
JM
30480 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30481 allow.
30482 * conform/data/ctype.h-data [C99-based standards] (isblank):
30483 Expect function.
30484 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30485 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30487 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30488 Specify type. Require positive value.
30489 (EILSEQ): Likewise.
30490 (ERANGE): Likewise.
30491 [ISO || POSIX] (EILSEQ): Do not expect.
30492 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30493 Specify type. Require positive value.
30494 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30495 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30496 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30497 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30498 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30499 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30500 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30501 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30502 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30503 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30504 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30505 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30506 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30507 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30508 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30509 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30510 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30511 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30512 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30513 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30514 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30515 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30516 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30517 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30518 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30519 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30520 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30521 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30522 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30523 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30524 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30525 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30526 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30527 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30528 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30529 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30530 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30531 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30532 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30533 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30534 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30535 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30536 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30537 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30538 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30539 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30540 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30541 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30542 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30543 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30544 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30545 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30546 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30547 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30548 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30549 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30550 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30551 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30552 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30553 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30554 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30555 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30556 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30557 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30558 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30559 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30560 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30561 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30562 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30568 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30569 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30570 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30571 Require >= 2.
30572 (FLT_ROUNDS): Expect as macro, not constant.
30573 (FLT_MANT_DIG): Use macro-int-constant.
30574 (DBL_MANT_DIG): Likewise.
30575 (LDBL_MANT_DIG): Likewise.
30576 (FLT_DIG): Likewise.
30577 (DBL_DIG): Likewise.
30578 (LDBL_DIG): Likewise.
30579 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30580 (DBL_MIN_EXP): Likewise.
30581 (LDBL_MIN_EXP): Likewise.
30582 (FLT_MAX_EXP): Use macro-int-constant.
30583 (DBL_MAX_EXP): Likewise.
30584 (LDBL_MAX_EXP): Likewise.
30585 (FLT_MAX_10_EXP): Likewise.
30586 (DBL_MAX_10_EXP): Likewise.
30587 (LDBL_MAX_10_EXP): Likewise.
30588 (FLT_MAX): Use macro-constant.
30589 (DBL_MAX): Likewise.
30590 (LDBL_MAX): Likewise.
30591 (FLT_EPSILON): Use macro-constant. Give upper bound.
30592 (DBL_EPSILON): Likewise.
30593 (LDBL_EPSILON): Likewise.
30594 (FLT_MIN): Likewise.
30595 (DBL_MIN): Likewise.
30596 (LDBL_MIN): Likewise.
30597 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30598 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30599 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30600 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30601 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30602 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30603 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30604 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30605 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30606 [ISO11] (FLT_TRUE_MIN): Likewise.
30607 [ISO11] (LDBL_TRUE_MIN): Likewise.
30608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30609 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30610 (SCHAR_MIN): Use macro-int-constant. Specify type.
30611 (SCHAR_MAX): Likewise.
30612 (UCHAR_MAX): Likewise.
30613 (CHAR_MIN): Likewise.
30614 (CHAR_MAX): Likewise.
30615 (MB_LEN_MAX): Use macro-int-constant.
30616 (SHRT_MIN): Use macro-int-constant. Specify type.
30617 (SHRT_MAX): Likewise.
30618 (USHRT_MAX): Likewise.
30619 (INT_MAX): Likewise.
30620 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30621 bound negative.
30622 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30623 bound with "U".
30624 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30625 bound with "L".
30626 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30627 bound negative. Suffix upper bound with "L".
30628 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30629 bound with "UL".
30630 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30631 Specify type.
30632 [C99-based standards] (LLONG_MAX): Likewise.
30633 [C99-based standards] (ULLONG_MAX): Likewise.
30634 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30635 == 0.
30636 [ISO11] (max_align_t): Require type.
30637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30638
c9140a62
JM
30639 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30640 from $CFLAGS, without defining away __attribute__ calls.
30641 (checknamespace): Use $CFLAGS_namespace.
30642
9af0bf29
JM
30643 * conform/conformtest.pl (@keywords): Only include C99 keywords
30644 for standards based on C99 or C11.
30645
343222a2
JM
30646 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30647 Disable tests.
30648 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30649 UNIX98]: Likewise.
30650
661f8cf0
JM
30651 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30652 usability of symbols in #if.
30653
ee74b9cb
JM
30654 * conform/conformtest.pl: If macro or constant types start
30655 "promoted:", expect the symbol to be of the following type
30656 promoted by the integer promotions.
62fde54f 30657
aafc49b3
JM
30658 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30659 in one place. Also handle "macro-constant".
30660
fefdf574
JM
30661 * conform/conformtest.pl: Only accept expected macro values with
30662 "==". Parse all "macro" lines in one place.
30663 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30664
f2d922fe
JM
30665 * conform/conformtest.pl: Handle braced types on "constant" lines
30666 instead of handling "typed-constant".
30667 * conform/data/signal.h-data: Use "constant" instead of
30668 "typed-constant".
30669
d22956c9
JM
30670 * conform/conformtest.pl: Handle "optional-" at start of lines in
30671 one place rather than duplicating several cases. Handle each
30672 format of "macro" line with initial "optional-".
30673
028e2e38
JM
30674 * conform/conformtest.pl: Only accept expected constant or
30675 optional-constant values with "==". Parse all "constant" lines in
30676 one place. Parse all "optional-constant" lines in one place.
30677 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30678 * conform/data/fmtmsg.h-data: Likewise.
30679 * conform/data/netinet/in.h-data: Likewise.
30680 * conform/data/tar.h-data: Likewise.
30681 * conform/data/limits.h-data: Use "==" form on "constant" and
30682 "optional-constant" lines.
30683
1b8f2850
JM
30684 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30685 Use -std=c99 for XOPEN2K.
30686 (@knownproblems): Remove.
30687 (newtoken): Don't check %isknown.
30688
a05a144b
JM
30689 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30690 Do not expect macro.
30691 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30703 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30704 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30721 [XPG3] (acosh): Likewise.
30722 [XPG3] (asinh): Likewise.
30723 [XPG3] (atanh): Likewise.
30724 [XPG3] (cbrt): Likewise.
30725 [XPG3] (expm1): Likewise.
30726 [XPG3] (ilogb): Likewise.
30727 [XPG3] (log1p): Likewise.
30728 [XPG3] (logb): Likewise.
30729 [XPG3] (nextafter): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30732 [XPG3] (remainder): Likewise.
30733 [XPG3] (rint): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30741 [UNIX98 || XOPEN2K] (scalb): Expect.
30742 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30743 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30800 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30801 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30809 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30810 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30811 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30879
73c5ebe3
JM
30880 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30881 _XOPEN_SOURCE_EXTENDED for XPG4.
30882
39c33b6c
JM
30883 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30884
62fde54f
JM
30885 * Makeconfig (localtime): Remove variable.
30886 (inst_localtime-file): Likewise.
30887
0741d64c
AS
308882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30889
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30891 Update.
30892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30893 Update.
30894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30895 Update.
30896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30897 Update.
30898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30899 Update.
30900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30901 Update.
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30903 Update.
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30905 Update.
30906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30907 Update.
30908
7cb029ee
JM
309092012-05-01 Joseph Myers <joseph@codesourcery.com>
30910
30911 [BZ #2550]
30912 [BZ #2570]
30913 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30914 comparisons to determine direction to adjust input.
30915 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30916 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30917 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30918 Likewise.
30919 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30920 Likewise.
30921 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30922 Likewise.
30923 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30924 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30925 Likewise.
30926 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30927 Likewise.
30928 * math/libm-test.inc (nexttoward_test): Add more tests.
30929
412bd966
AS
309302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30931
30932 [BZ #14040]
30933 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30934 in version GLIBC_2.1, not GLIBC_2.0.
30935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30936 Likewise.
30937
9568c0c2
JM
309382012-04-30 Joseph Myers <joseph@codesourcery.com>
30939
adfbc8ac
JM
30940 [BZ #13942]
30941 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30942 (1 - x) * (1 + x).
30943 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30944 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30945 * math/libm-test.inc (acos_test): Add more tests.
30946 (asin_test): Likewise.
30947 * sysdeps/i386/fpu/libm-test-ulps: Update.
30948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30949
5ba3cc69
JM
30950 [BZ #14034]
30951 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30952 of square root.
30953 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30954 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30955 * math/libm-test.inc (acos_test_tonearest): New function.
30956 (acos_test_towardzero): Likewise.
30957 (acos_test_downward): Likewise.
30958 (acos_test_upward): Likewise.
30959 (asin_test_tonearest): Likewise.
30960 (asin_test_towardzero): Likewise.
30961 (asin_test_downward): Likewise.
30962 (asin_test_upward): Likewise.
30963 (main): Call the new functions.
30964 * sysdeps/i386/fpu/libm-test-ulps: Update.
30965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30966
9568c0c2
JM
30967 [BZ #13884]
30968 [BZ #13924]
30969 * math/e_exp10.c: Include <float.h>.
30970 (__ieee754_exp10): Handle underflow here rather than multiplying
30971 large negative argument by M_LN10.
30972 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30973 of __ieee754_expf.
30974 * math/e_exp10l.c: Include <float.h>.
30975 (__ieee754_exp10l): Handle underflow here rather than multiplying
30976 large negative argument by M_LN10l.
30977 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30978 spurious overflow exception on underflow.
30979
5ac3ea17
MP
309802012-04-29 Marek Polacek <polacek@redhat.com>
30981
30982 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30983 (__fortify_function): New macro.
30984 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30985 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30986 __extern_always_inline.
30987 * libio/bits/stdio2.h: Likewise.
30988 * libio/bits/stdio.h: Likewise.
30989 * string/string.h: Likewise.
30990 * string/bits/string3.h: Likewise.
30991 * include/stdio.h: Likewise.
30992 * stdlib/bits/stdlib.h: Likewise.
30993 * stdlib/stdlib.h: Likewise.
30994 * rt/bits/mqueue2.h: Likewise.
30995 * rt/mqueue.h: Likewise.
30996 * posix/bits/unistd.h: Likewise.
30997 * posix/unistd.h: Likewise.
30998 * io/bits/poll2.h: Likewise.
30999 * io/bits/fcntl2.h: Likewise.
31000 * io/fcntl.h: Likewise.
31001 * io/sys/poll.h: Likewise.
31002 * misc/bits/syslog.h: Likewise.
31003 * misc/bits/syslog-ldbl.h: Likewise.
31004 * misc/sys/syslog.h: Likewise.
31005 * socket/bits/socket2.h: Likewise.
31006 * socket/sys/socket.h: Likewise.
31007 * debug/tst-chk1.c: Likewise.
31008 * wcsmbs/bits/wchar2.h: Likewise.
31009 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31010 * wcsmbs/wchar.h: Likewise.
31011
ecf0ebfb
AJ
310122012-04-29 Andreas Jaeger <aj@suse.de>
31013
31014 * Makerules (tests): Remove enable-check-abi protection.
31015 (check-abi-warn): Remove.
31016 (check-abi-%): Remove check-abi-warn usage.
31017
31018 * configure.in: Remove check-abi configure option.
31019 * configure: Regenerated.
31020 * config.make.in (enable-check-abi): Remove.
31021
6d5c57fa
AS
310222012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31023
24c5d07e 31024 [BZ #14033]
ded5180a
AS
31025 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31026 double functions to double *_finite functions.
31027
7e0d315d
AS
31028 [BZ #13941]
31029 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31030 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31031 LDBL_MIN_EXP.
31032 * stdio-common/Makefile (tests): Add tst-sprintf3.
31033 * stdio-common/tst-sprintf3.c: New file.
31034
6d5c57fa
AS
31035 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31036 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31037
0749ff8b
JM
310382012-04-28 Joseph Myers <joseph@codesourcery.com>
31039
31040 * conform/conformtest.pl: Remove duplicate typed-constant
31041 handling.
31042
8dbd5d7b
DM
310432012-04-28 David S. Miller <davem@davemloft.net>
31044
31045 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31046 (check-abi-%): Remove AWK script prerequisite and explicit
31047 abilist directory.
31048 (check-abi): Rewrite to just diff the symlist with the abilist.
31049 (config-tls, config-abi-config): Delete, no longer used.
31050 (update-abi-%): Remove AWK script and explicit abilist directory.
31051 (update-abi): Rewrite to simply compare and conditionally copy the
31052 symlist and the sysdep abilist file. Remove update-abi-config
31053 checks.
31054 * abilist/ld.abilist: Remove.
31055 * abilist/libBrokenLocale.abilist: Remove.
31056 * abilist/libanl.abilist: Remove.
31057 * abilist/libcrypt.abilist: Remove.
31058 * abilist/libdl.abilist: Remove.
31059 * abilist/librt.abilist: Remove.
31060 * abilist/libthread_db.abilist: Remove.
31061 * abilist/libutil.abilist: Remove.
31062 * scripts/extract-abilist.awk: Remove.
31063 * scripts/merge-abilist.awk: Remove.
31064 * sysdeps/generic/libcidn.abilist: New file.
31065 * sysdeps/generic/libnss_compat.abilist: New file.
31066 * sysdeps/generic/libnss_db.abilist: New file.
31067 * sysdeps/generic/libnss_dns.abilist: New file.
31068 * sysdeps/generic/libnss_files.abilist: New file.
31069 * sysdeps/generic/libnss_hesiod.abilist: New file.
31070 * sysdeps/generic/libnss_nis.abilist: New file.
31071 * sysdeps/generic/libnss_nisplus.abilist: New file.
31072 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31073 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31074 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31075 file.
31076 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31077 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31078 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31079 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31080 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31082 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31083 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31084 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31085 file.
31086 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31087 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31088 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31089 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31090 file.
31091 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31092 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31093 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31094 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31095 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31096 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31097 file.
31098 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31099 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31100 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31101 file.
31102 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31104 New file.
31105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31106 New file.
31107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31108 New file.
31109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31110 New file.
31111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31112 New file.
31113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31114 New file.
31115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31116 New file.
31117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31118 New file.
31119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31120 New file.
31121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31122 New file.
31123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31124 New file.
31125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31126 New file.
31127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31128 New file.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31130 file.
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31132 New file.
31133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31134 New file.
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31136 file.
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31138 New file.
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31140 New file.
31141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31142 file.
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31144 New file.
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31146 New file.
31147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31148 New file.
31149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31150 New file.
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31152 New file.
31153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31154 New file.
31155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31157 file.
31158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31159 New file.
31160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31161 file.
31162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31163 file.
31164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31165 file.
31166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31167 file.
31168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31169 file.
31170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31171 New file.
31172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31173 file.
31174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31175 file.
31176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31177 New file.
31178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31179 file.
31180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31182 file.
31183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31184 New file.
31185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31186 file.
31187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31188 file.
31189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31190 file.
31191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31192 file.
31193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31194 file.
31195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31196 New file.
31197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31198 file.
31199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31200 file.
31201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31202 New file.
31203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31204 file.
31205 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31206 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31207 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31208 file.
31209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31210 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31211 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31212 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31213 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31214 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31215 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31216 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31217 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31218 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31221 file.
31222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31223 New file.
31224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31225 file.
31226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31227 file.
31228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31229 file.
31230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31231 file.
31232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31233 file.
31234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31235 New file.
31236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31237 New file.
31238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31239 file.
31240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31241 New file.
31242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31243 file.
31244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31246 file.
31247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31248 New file.
31249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31250 file.
31251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31252 file.
31253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31254 file.
31255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31256 file.
31257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31258 file.
31259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31260 New file.
31261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31262 New file.
31263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31264 file.
31265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31266 New file.
31267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31268 file.
31269
41d73a1b
JM
312702012-04-28 Joseph Myers <joseph@codesourcery.com>
31271
31272 * conform/conformtest.pl: Fix typo in handling typed-constant from
31273 allow-header.
31274
28aeeda4
JM
312752012-04-27 Joseph Myers <joseph@codesourcery.com>
31276
adae8f5e
JM
31277 * README: Cut down references to pre-2.6 Linux kernels and
31278 Linuxthreads. Update lists of configurations in libc and ports
31279 and sort alphabetically. Say "or newer" with Linux kernel version
31280 requirements.
31281
28aeeda4
JM
31282 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31283
a462cb63
RA
312842012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31285
31286 [BZ #887]
31287 * math/libm-test.inc (logb_test_downward): New test to expose
31288 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31289 rounding mode.
31290
6ad3493e
JM
312912012-04-27 Joseph Myers <joseph@codesourcery.com>
31292
31293 [BZ #14027]
31294 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31295 to be done.
31296 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31297 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31298
2ce4f015
JM
312992012-04-26 Joseph Myers <joseph@codesourcery.com>
31300
5aeb141a
JM
31301 * sysdeps/unix/i386/brk.S: Remove file.
31302 * sysdeps/unix/i386/dl-brk.S: Likewise.
31303 * sysdeps/unix/i386/pipe.S: Likewise.
31304 * sysdeps/unix/i386/sigreturn.S: Likewise.
31305 * sysdeps/unix/i386/syscall.S: Likewise.
31306 * sysdeps/unix/i386/vfork.S: Likewise.
31307 * sysdeps/unix/i386/wait.S: Likewise.
31308
7143acae
JM
31309 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31310 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31311
2ce4f015
JM
31312 * configure.in (arm*-none*): Do not allow without
31313 --enable-hacker-mode.
31314 (netbsd*): Remove case setting base_os.
31315 (386bsd*): Likewise.
31316 (freebsd*): Likewise.
31317 (bsdi*): Likewise.
31318 (osf*): Likewise.
31319 (sunos*): Likewise.
31320 (ultrix*): Likewise.
31321 (newsos*): Likewise.
31322 (dynix*): Likewise.
31323 (*bsd*): Likewise.
31324 (sysv*): Likewise.
31325 (isc*): Likewise.
31326 (esix*): Likewise.
31327 (sco*): Likewise.
31328 (minix*): Likewise.
31329 (irix4*): Likewise.
31330 (irix6*): Likewise.
31331 (solaris[2-9]*): Likewise.
31332 (none): Likewise.
31333 * configure: Regenerated.
31334
0ac229c8
AZ
313352012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31336
31337 [BZ #11521]
31338 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31339 overflow or cancellation in calculating denominator.
31340 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31342 down expression to avoid unexpected rounding in newer GCCs.
31343 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31344
33f244f4
DM
313452012-04-26 David S. Miller <davem@davemloft.net>
31346
31347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31348 long-double compat symbols.
31349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31362
cfa1f3e8
DM
313632012-04-25 David S. Miller <davem@davemloft.net>
31364
31365 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31366 HWCAP_* values only after the memory barriers have been defined.
31367 (atomic_full_barrier): Define.
31368 (atomic_read_barrier): Define.
31369 (atomic_write_barrier): Define.
31370
6e236b92
SP
313712012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31372
31373 * shlib-versions: Add libgcc_s version information.
31374 * sysdeps/generic/libgcc_s.h: Remove.
31375 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31376 libgcc_s.h.
31377 * sysdeps/gnu/unwind-resume.c: Likewise.
31378 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31379
aab39a09
DM
313802012-04-25 David S. Miller <davem@davemloft.net>
31381
31382 * sysdeps/unix/sparc/brk.S: Delete.
31383 * sysdeps/unix/sparc/dl-brk.S: Delete.
31384 * sysdeps/unix/sparc/pipe.S: Delete.
31385 * sysdeps/unix/sparc/sysdep.S: Delete.
31386 * sysdeps/unix/sparc/sysdep.h: Delete.
31387 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31388 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31389 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31391 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31392 (JUMPTARGET): Remove.
31393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31394 sysdeps/unix/sparc/sysdep.h
31395 (ENTRY, END): Remove.
31396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31397
a3cc4f48
JM
313982012-04-25 Joseph Myers <joseph@codesourcery.com>
31399
2ed8cda2
JM
31400 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31401 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31402 -DIS_IN_build.
31403
35d76d59
JM
31404 * timezone/README: Update upstream location and email address for
31405 tzcode and tzdata.
31406 * timezone/zdump.c: Update from tzcode 2012b.
31407 * timezone/zic.c: Likewise.
31408
a3cc4f48
JM
31409 * configure.in (libc_cv_as_needed): Remove test.
31410 * configure: Regenerated.
31411 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31412 conditional definition.
31413 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31414 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31415 * config.make.in (have-as-needed): Remove variable.
31416
ceab42c3
SP
314172012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31418 Paul Pluzhnikov <ppluzhnikov@google.com>
31419
31420 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31421 strings correctly.
31422
3ce2865f
CLT
314232012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31424
31425 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31426 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31427 * sysdeps/sh/strlen.S: Likewise.
31428
f37e0d68
JM
314292012-04-24 Joseph Myers <joseph@codesourcery.com>
31430
ae186e9a
JM
31431 * sysdeps/unix/fork.S: Remove file.
31432 * sysdeps/unix/i386/fork.S: Likewise.
31433 * sysdeps/unix/sparc/fork.S: Likewise.
31434
b96914af
JM
31435 * sysdeps/unix/system.c: Remove file.
31436 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31437
f37e0d68
JM
31438 * sysdeps/unix/getegid.S: Remove file.
31439 * sysdeps/unix/geteuid.S: Likewise.
31440
87ef29ca
RM
314412012-04-24 Roland McGrath <roland@hack.frob.com>
31442
83bcd236
RM
31443 * scripts/check-localplt.awk: New file.
31444 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31445 of diff.
31446 * scripts/data/localplt-generic.data: Add a comment.
31447
87ef29ca
RM
31448 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31449 NODE when __dir_mkfile failed.
31450 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31451 Reported by Ludovic Courtès <ludo@gnu.org>.
31452
e5a6e567
AJ
314532012-04-24 Andreas Jaeger <aj@suse.de>
31454
31455 * Makerules (common-clean): Also remove gen-as-const-headers
31456 files.
31457
c1820385
JM
314582012-04-24 Joseph Myers <joseph@codesourcery.com>
31459
31460 * Makerules (native-compile): Do not change working directory for
31461 build. Use $(OUTPUT_OPTION) in command.
31462 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31463
94e02fc4
AZ
314642012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31465
31466 [BZ #13886]
31467 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31468 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31469 * math/libm-test.inc (floor_test): Add more tests.
31470 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31471
3a533ca3
JM
314722012-04-24 Joseph Myers <joseph@codesourcery.com>
31473
940ab4b3
JM
31474 * sysdeps/unix/getdents.c: Remove file.
31475 * sysdeps/unix/sysv/getdents.c: Likewise.
31476 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31477
90e037bd
JM
31478 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31479 sysdeps/unix/mman/syscalls.list.
31480 (mmap): Likewise.
31481 (mprotect): Likewise.
31482 (msync): Likewise.
31483 (munmap): Likewise.
31484 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31485 * sysdeps/unix/mman/syscalls.list: Remove.
31486 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31487
3a533ca3
JM
31488 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31489 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31490 * configure: Regenerated.
31491 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31492 $(libgcc_s_suffix).
31493 * config.make.in (libgcc_s_suffix): Remove variable.
31494
1ad743de
JM
314952012-04-23 Joseph Myers <joseph@codesourcery.com>
31496
4ad451e2
JM
31497 * sysdeps/unix/sysv/gethostname.c: Move to ...
31498 * sysdeps/posix/gethostname.c: ... here.
31499
5e37ce39
JM
31500 * sysdeps/unix/execve.S: Remove file.
31501
1ad743de
JM
31502 * sysdeps/unix/_exit.S: Remove file.
31503
4e681b5b
AJ
315042012-04-23 Andreas Jaeger <aj@suse.de>
31505
31506 [BZ #13739]
31507 * manual/Makefile: Remove make dist support, there's no
31508 need for a stand-alone documentation tar ball.
31509 (TEXI2DVI): Define always, it's not in Makeconfig.
31510 (dist): Removed.
31511 (tar-it): Removed.
31512 (edition): Removed.
31513 (glibc-doc-$(edition).tar): Removed
31514 (%.Z): Removed.
31515 (%.gz): Removed.
31516 (%.uu): Removed.
31517 (ETAGS): Remove, it's in Makeconfig.
31518 (move-if-change): Remove, it's in Makeconfig.
31519
38686a03 315202012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31521
31522 [BZ #13970]
31523 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31524 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31525 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31526 (strtod_l, strtof_l, strtold_l): Remove __wur.
31527 It is not necessarily an error to ignore strtol's return value.
31528 One can reliably look at the stored endptr to decide whether
31529 the number had valid syntax.
31530
7c0616fa
AJ
315312012-04-21 Andreas Jaeger <aj@suse.de>
31532
803cb6b7 31533 [BZ #13739]
7c0616fa
AJ
31534 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31535
b0fe253f
JM
315362012-04-21 Joseph Myers <joseph@codesourcery.com>
31537
31538 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31539 * sysdeps/unix/sysv/Versions: Remove file.
31540
8280f22d
MT
315412012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31542
31543 [BZ #13927]
31544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31545
75ce411f 315462012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31547
31548 [BZ #7064]
31549 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31550 version from __vm86.
31551
097d59fa
JM
315522012-04-20 Joseph Myers <joseph@codesourcery.com>
31553
a90f3bcb
JM
31554 * sysdeps/unix/common/lxstat.c: Remove file.
31555 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31556
edc7ea78
JM
31557 * sysdeps/unix/sysv/Makefile: Remove file.
31558
cb78c221
JM
31559 * sysdeps/unix/sysv/direct.h: Remove file.
31560
efa6a45f
JM
31561 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31562 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31563 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31564 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31565 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31566 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31567 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31568
9c9f2d0c
JM
31569 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31570
4541c83b
JM
31571 * sysdeps/unix/xmknod.c: Remove file.
31572 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31573
f5d153a0
JM
31574 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31575
aa746595
JM
31576 * sysdeps/unix/sysv/i386/time.S: Remove file.
31577
cce5905e
JM
31578 * sysdeps/unix/fxstat.c: Remove file.
31579 * sysdeps/unix/xstat.c: Likewise.
31580 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31581
37fa3841
JM
31582 * sysdeps/unix/sysv/sigaction.c: Remove file.
31583
ff1962a3
JM
31584 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31585 (sysdep_headers): Remove variable.
31586 [termio.h not in sysdep_headers] (generated): Likewise.
31587 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31588 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31589 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31590 * sysdeps/unix/sysv/tcflow.c: Likewise.
31591 * sysdeps/unix/sysv/tcflush.c: Likewise.
31592 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31593 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31594 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31595 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31596 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31597
e7740d31
JM
31598 * sysdeps/unix/siglist.c: Remove file.
31599
ee06f18b
JM
31600 * sysdeps/unix/getppid.S: Remove file.
31601
097d59fa
JM
31602 * sysdeps/unix/mkdir.c: Remove file.
31603 * sysdeps/unix/rmdir.c: Likewise.
31604
ff3d51ec
AS
316052012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31606
31607 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31608 ERR_MAX value.
31609 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31610 errlist-compat value.
31611
50f81fd7
DM
316122012-04-18 David S. Miller <davem@davemloft.net>
31613
31614 * sysdeps/generic/memcopy.h (reg_char): Delete.
31615 * debug/strcat_chk.c: Use char, not reg_char.
31616 * debug/strcpy_chk.c: Likewise.
31617 * debug/strncat_chk.c: Likewise.
31618 * debug/strncpy_chk.c: Likewise.
31619 * string/memchr.c: Likewise.
31620 * string/memrchr.c: Likewise.
31621 * string/rawmemchr.c: Likewise.
31622 * string/strcat.c: Likewise.
31623 * string/strchr.c: Likewise.
31624 * string/strchrnul.c: Likewise.
31625 * string/strcmp.c: Likewise.
31626 * string/strcpy.c: Likewise.
31627 * string/strncat.c: Likewise.
31628 * string/strncmp.c: Likewise.
31629 * string/strncpy.c: Likewise.
31630
8ff41c46
WS
316312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31632
31633 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31634 __builtin_memcopy is called when src and dest ranges are known to not
31635 overlap.
31636
6b652f46
WS
316372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31638
31639 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31640 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31641 fwd_align_merge macro call.
31642 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31643 bwd_align_merge macro call.
31644 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31645
b282631e
WS
316462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31647
31648 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31649 bwd_align_merge macros.
31650 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31651 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31652 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31653
95aa737c
DM
316542012-04-18 David S. Miller <davem@davemloft.net>
31655
31656 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31657
7a99a614
AJ
316582012-04-18 Andreas Jaeger <aj@suse.de>
31659
31660 [BZ# 6794]
31661 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31662 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31663 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31664
31665 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31666 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31667 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31668
31669 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31670 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31671 Adjust for changed ldbl-128 files.
31672
31673 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31674 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31675 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31676
e5270c23
DM
316772012-04-17 David S. Miller <davem@davemloft.net>
31678
31679 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31680
fb5e92c9
AS
316812012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31682
31683 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31684 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31685 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31686 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31687 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31688 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31689
76da7265
AZ
316902012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31691
31692 [BZ #6794]
31693 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31694 * math/libm-test.inc: Add ilogb errno and exception tests.
31695 * math/w_ilogb.c: New file: ilogb wrapper.
31696 * math/w_ilogbf.c: New file: ilogbf wrapper.
31697 * math/w_ilogbl.c: New file: ilogbl wrapper.
31698 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31699 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31700 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31701 exception being thrown with 0.0 as argument.
31702 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31703 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31704 exception being thrown with 0.0 as argument.
31705 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31706 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31707 exception being thrown with 0.0 as argument.
31708 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31709 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31710 exception being thrown with 0.0 as argument.
31711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31712 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31713 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31714 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31715 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31716 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31717 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31718 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31719 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31720
0396e69d
PB
317212012-04-17 Petr Baudis <pasky@ucw.cz>
31722
31723 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31724 with altivec.
31725
750b5926
MP
317262012-04-16 Marek Polacek <polacek@redhat.com>
31727
31728 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31729
751728a1
MP
317302012-04-16 Marek Polacek <polacek@redhat.com>
31731
31732 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31733 operands of fdivp instruction.
31734
34a27407
L
317352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31736
31737 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31738 * elf/tst-auditmod3b.c: Likewise.
31739 * elf/tst-auditmod4b.c: Likewise.
31740 * elf/tst-auditmod5b.c: Likewise.
31741 * elf/tst-auditmod6b.c: Likewise.
31742 * elf/tst-auditmod6c.c: Likewise.
31743 * elf/tst-auditmod7b.c: Likewise.
31744 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31745 * sysdeps/x86_64/preconfigure.in: Likewise.
31746 * sysdeps/x86_64/preconfigure: Regenerated.
31747
7e73e17d
L
317482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31749
31750 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31751 __ILP32__.
31752
c7a6ab72
AB
317532012-04-13 Antoine Balestrat <merkil33@gmail.com>
31754
31755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31756 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31757
a9e8e0e0
CL
317582012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31759
31760 [BZ #13973]
31761 * locale/iso-639.def: Fix gl language name. Spotted by
31762 Yaron Shahrabani.
31763
ec98af7d
RM
317642012-04-12 Roland McGrath <roland@hack.frob.com>
31765
31766 [BZ #2074]
31767 * libio/libio.h (__io_write_fn): Update comment.
31768
247c3ede
PB
317692012-04-12 Petr Baudis <pasky@ucw.cz>
31770
31771 [BZ #2074]
31772 * stdio.texi (Hook Functions): The user provided writer function
31773 is not allowed to return -1.
31774
55939d6d
DM
317752012-04-11 David S. Miller <davem@davemloft.net>
31776
31777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31778
90020f5a
MF
317792012-04-11 Mike Frysinger <vapier@gentoo.org>
31780
31781 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31782 Add a leading slash to rtkaio.
31783
288f9098
JM
317842012-04-11 Jim Meyering <meyering@redhat.com>
31785
90020f5a
MF
31786 [BZ #11959]
31787 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31788 It is not necessarily an error to ignore fwrite's return
31789 value. One can reliably use ferror to test for errors after
31790 the fact.
288f9098 31791
4be2b570
L
317922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31793
31794 * bits/types.h (__snseconds_t): New type.
31795 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31796
31797 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31799 (__SNSECONDS_T_TYPE): Likewise.
31800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31801 (__SNSECONDS_T_TYPE): Likewise.
31802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31803 (__SNSECONDS_T_TYPE): Likewise.
31804
288f9098 318052012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31806
31807 [BZ #2636]
31808 * manual/time.texi (Processor Time): Return type of times is
31809 elapsed real time since an arbitrary point in the past.
31810 (CPU Time): Move CLK_TCK from here...
31811 (Processor Time): ...to here. Correct description.
31812 * manual/conf.texi (Constants for Sysconf): Correct description of
31813 _SC_CLK_TCK.
31814
d7dd4413
DM
318152012-04-10 David S. Miller <davem@davemloft.net>
31816
31817 [BZ #13967]
31818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31819 where the is a gap between DT_REL(A) and DT_JMPREL.
31820
b46068fc
L
318212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31822
31823 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31824 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31825 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31826
73d65cc3
SP
318272012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31828
31829 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31830 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31831 (dl_main): Handle --inhibit-cache.
31832 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31833 _dl_inhibit_cache.
31834 * elf/dl-load.c (_dl_map_object): Use it.
31835 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31836
bcc8d661
JM
318372012-04-09 Joseph Myers <joseph@codesourcery.com>
31838
8f9a2fae
JM
31839 [BZ #13872]
31840 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31841 (__ieee754_powl): Saturate large exponents rather than testing for
31842 overflow of y*log2(x).
31843 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31844 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31845 exceptions.
31846
bcc8d661
JM
31847 [BZ #11521]
31848 * math/s_ctan.c: Include <float.h>.
31849 (__ctan): Avoid internal overflow or cancellation in calculating
31850 denominator.
31851 * math/s_ctanf.c: Likewise.
31852 * math/s_ctanl.c: Likewise.
31853 * math/s_ctanh.c: Likewise.
31854 * math/s_ctanhf.c: Likewise.
31855 * math/s_ctanhl.c: Likewise.
31856 * math/libm-test.inc (ctan_test): Add more tests.
31857 (ctanh_test): Likewise.
31858 * sysdeps/i386/fpu/libm-test-ulps: Update.
31859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31860
823fbbb4
AJ
318612012-04-09 Andreas Jaeger <aj@suse.de>
31862
03879793
AJ
31863 [BZ #6894]
31864 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31865 is an optional BSD extension.
31866
823fbbb4
AJ
31867 [BZ #10254]
31868 * manual/stdio.texi (Opening Streams): Document additional fopen
31869 parameters.
31870
8de131cb
RM
318712012-04-09 Roland McGrath <roland@hack.frob.com>
31872
31873 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31874 %eax without telling the compiler.
31875
c0ed9d7d
CD
318762012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31877
31878 [BZ # 13963]
31879 * manual/install.texi: Use sourceware.org.
31880
c483f6b4
JM
318812012-04-09 Joseph Myers <joseph@codesourcery.com>
31882
d7dd9453
JM
31883 [BZ #13873]
31884 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31885 (__ieee754_pow): Generate overflow and underflow using huge*huge
31886 and tiny*tiny rather than just returning constant infinity or zero
31887 for large exponents.
31888 * math/libm-test.inc (pow_test): Require overflow exceptions for
31889 applicable cases of large exponents.
31890
c483f6b4
JM
31891 [BZ #706]
31892 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31893 (__ieee754_pow): Use iterative multiplication algorithm only for
31894 integer exponents with absolute value below 1024. Check for odd
31895 integer exponents when using algorithm for real exponents.
31896 * math/libm-test.inc (pow_test): Add more tests.
31897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31898
d2de7579
JM
318992012-04-08 Joseph Myers <joseph@codesourcery.com>
31900
31901 [BZ #13705]
31902 * math/libm-test.inc (exp_test): Do not allow overflow exception
31903 on underflow test.
31904
f77f1232
AJ
319052012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31906
31907 [BZ #13705]
31908 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31909 instead of __kernel_standard_f.
31910
3884932b
MF
319112012-04-08 Mike Frysinger <vapier@gentoo.org>
31912
31913 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31914 * sysdeps/x86_64/memset_chk.S: Likewise.
31915
54472e9c
AJ
319162012-04-08 Andreas Jaeger <aj@suse.de>
31917
6ab0fbfc
AJ
31918 [BZ #10153]
31919 * manual/startup.texi (Environment Access): Describe return value
31920 for putenv and setenv.
31921
61efba8c
AJ
31922 [BZ #6895]
31923 * manual/filesys.texi (Directory Entries): Add description for
31924 DT_LNK.
31925
95c3f29a
AJ
31926 [BZ #6890]
31927 * manual/filesys.texi (Directory Entries): Clarify that it's file
31928 system not operating system in the description of DT_UNKNOWN.
31929
54472e9c
AJ
31930 [BZ #6578]
31931 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31932
624254b1
SC
319332012-04-08 Stephen Compall <s11@member.fsf.org>
31934
31935 [BZ #6649]
31936 * manual/llio.texi (Opening and Closing Files): Add cross
31937 reference to explain mode argument.
31938
1e4920e0
MF
319392012-04-07 Mike Frysinger <vapier@gentoo.org>
31940
31941 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31942 * sysdeps/x86_64/memset_chk.S: Likewise.
31943
5ed848f3
DM
319442012-04-07 David S. Miller <davem@davemloft.net>
31945
31946 * elf/elf.h (R_SPARC_WDISP10): Define.
31947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31948 R_SPARC_SIZE32.
31949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31950 R_SPARC_SIZE64 and R_SPARC_H34.
31951
96154cd8
CD
319522012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31953
31954 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31955 conditions and remove no longer applicable assertion.
31956
9904dc47
L
319572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31958
31959 * bits/byteswap.h: Include <features.h>.
31960 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31961 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31962
f8887d0a
L
319632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31964
31965 * bits/byteswap.h (__bswap_16): Removed.
31966 Include <bits/byteswap-16.h> to get __bswap_16.
31967 * sysdeps/i386/bits/byteswap.h: Likewise.
31968 * sysdeps/s390/bits/byteswap.h: Likewise.
31969 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31970 * bits/byteswap-16.h: New file.
31971 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31972 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31973 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31974 * string/Makefile (headers): Add bits/byteswap-16.h.
31975
62470f60
PP
319762012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31977
31978 [BZ #13895]
31979 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31980 extra indirection.
31981 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31982 * nss/tst-nss-static.c: New.
31983
4dad7bab
RM
319842012-04-06 Robert Millan <rmh@gnu.org>
31985
31986 [BZ #6486]
31987 * manual/llio.texi (File Position Primitive): lseek
31988 refers to WHENCE when it really means OFFSET.
31989
e9142a17
AJ
319902012-04-06 Andreas Jaeger <aj@suse.de>
31991
2c040eff
AJ
31992 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31993 strncmp declarations.
31994
e9142a17
AJ
31995 * abilist/libc.abilist: Add __poll and __ppoll.
31996
ff9f1c5f
DM
319972012-04-05 David S. Miller <davem@davemloft.net>
31998
dcd2ae90
DM
31999 * scripts/check-local-headers.sh: Accept a host triplet in the
32000 path matched by the exclude regexp.
32001
993eb054
DM
32002 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32003 definition.
32004 * sysdeps/powerpc/powerpc32/dl-machine.h
32005 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32006 * sysdeps/s390/s390-32/dl-machine.h
32007 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32008 * sysdeps/sparc/sparc32/dl-machine.h
32009 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32010 * sysdeps/sparc/sparc64/dl-machine.h
32011 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32012
ff9f1c5f
DM
32013 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32014 lazy binding.
48e2e132 32015 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32016 undefined symbol errors.
32017
48e2e132 32018 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32019 DT_NEEDED entries.
32020
e80d6f94
MM
320212012-04-05 Michael Matz <matz@suse.de>
32022
32023 [BZ #13592]
32024 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32025
349fa79f
AJ
320262012-04-05 Andreas Jaeger <aj@suse.de>
32027
32028 [BZ #13908]
32029 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32030 comment.
32031
f402708f
KK
320322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32033
32034 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32035 which ROUND is no valid rounding mode.
32036
2ecccfc9
KK
320372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32038
32039 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32040 read again.
32041 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32042
8a53f50f
KK
320432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32044
32045 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32046 an exception using FPU order intentionally.
32047
320482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32049
32050 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32051 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32052 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32053 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32054
d653abb7
SJ
320552012-04-05 Simon Josefsson <simon@josefsson.org>
32056
32057 [BZ #12340]
32058 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32059 EINVAL when BUFLEN is too smal.
32060
c3b1bf7d
TS
320612012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32062
32063 [BZ #13553]
32064 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32065 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32066
b1aa60f3
AJ
320672012-04-03 Andreas Jaeger <aj@suse.de>
32068
c3b1bf7d 32069 [BZ #13938]
67f60a26
AJ
32070 * manual/setjmp.texi (System V contexts): Fix sentence.
32071
b1aa60f3
AJ
32072 [BZ #13926]
32073 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32074 New macro for this case.
32075 [!__GNUC__] (__bswap_64): New inline function for this case.
32076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32077 * bits/byteswap.h: Likewise.
32078 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32079 ull, guard with __GLIBC_HAVE_LONG_LONG.
32080
32081 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32082 __GLIBC_HAVE_LONG_LONG.
32083
32084 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32085 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32086
39c59c35
TMQMF
320872012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32088
32089 [BZ #13691]
32090 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32091 inptr and inend, rather than using last_ch.
32092
135ffda8
DM
320932012-04-02 David S. Miller <davem@davemloft.net>
32094
32095 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32096 * stdio-common/printf-parse.h (read_int): Change return type to
32097 'int', return -1 on INT_MAX overflow.
32098 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32099 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32100 overflows INT_MAX. Check for overflow of in-format-string precision
32101 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32102 SIZE_MAX not INT_MAX for integer overflow test.
32103 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32104 skip the construct in the format string but do not record anything.
32105 * stdio-common/bug22.c: Adjust to test both width/prevision
32106 INT_MAX overflow as well as total length INT_MAX overflow. Check
32107 explicitly for proper errno values.
32108
228c019e
TS
321092012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32110
302cadd3
TS
32111 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32112 CHAR_MAX.
32113 * string/test-strcmp.c [! WIDE]: Likewise.
32114 * time/tst-mktime2.c: Likewise for INT_MAX.
32115 * string/test-string.h: #include <sys/param.h> for MIN.
32116
228c019e
TS
32117 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32118 * sysdeps/i386/init-first.c (init): Likewise.
32119 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32120 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32121 * sysdeps/sh/init-first.c (init): Likewise.
32122
cfa633f5
UD
321232012-04-01 Ulrich Drepper <drepper@gmail.com>
32124
32125 * po/ru.po: Update from translation team.
d1635ef8 32126 * po/vi.po: Likewise.
cfa633f5 32127
6cd0a5ea
SP
321282012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32129
32130 * resolv/nss_dns/dns-host.c: Merge copyright years.
32131
4b43400f
LD
321322012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32133
32134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32135 Optimize memcpy with prefetch if
32136 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32137 src, dst pointers have unequal 16 byte alignments.
32138
48c41d04
SP
321392012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32140
32141 [BZ #13928]
32142 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32143 from a CNAME entry and return the minimum ttl for the query.
32144 (gaih_getanswer_slice): Likewise.
32145
b8dc394d
JL
321462012-03-30 Jeff Law <law@redhat.com>
32147
32148 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32149 due to long keys.
32150 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32151 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32152
2f5a5ed0
JL
32153 * resolv/nss_dns/dns-host.c: Update copyright year.
32154
1d39e359
UD
321552012-03-30 Ulrich Drepper <drepper@gmail.com>
32156
c030f70c 32157 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32158 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32159
1d39e359
UD
32160 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32161 comments for sendmmsg.
32162
321632012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32164
32165 [BZ #13691]
32166 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32167 with only 1 character between 0x0041 and 0x01b0.
32168 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32169 * wcsmbs/tst-mbsnrtowcs.c: New file.
32170
20fde227
DM
321712012-03-29 David S. Miller <davem@davemloft.net>
32172
32173 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32174 small copies by hand.
32175
984a4237
JL
321762012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32177
32178 [BZ #13761]
57f41c40
AS
32179 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32180 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32181 group memberships.
984a4237 32182
18c9d62b
DM
321832012-03-28 David S. Miller <davem@davemloft.net>
32184
88d85d4f
DM
32185 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32186 that branches into memcpy.
32187 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32188 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32189 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32190 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32192 bits.
32193 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32194 implementation too.
32195 * sysdeps/sparc/mempcpy.S: New file.
32196
e5aa83e1
DM
32197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32198 the IFUNC routine in the libc case.
32199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32200
88570753
DM
32201 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32202 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32203 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32204 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32205 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32206 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32207 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32208 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32209
249d7567
DM
32210 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32211 loop to 256 bytes instead of 64 bytes and fix test signedness.
32212
18c9d62b
DM
32213 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32214 * sysdeps/sparc/sparc32/Makefile: rather than here...
32215 * sysdeps/sparc/sparc64/Makefile: and here.
32216
05f3d1f6
UD
322172012-03-28 Ulrich Drepper <drepper@gmail.com>
32218
32219 * malloc/mallocbug.c: Avoid warnings about unused variables.
32220
86ae07a8
JL
322212012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32222
32223 [BZ #13760]
32224 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32225 in the right place. Discard and retry query if response is
32226 larger than input buffer size.
32227
41bf21a1
JM
322282012-03-28 Joseph Myers <joseph@codesourcery.com>
32229
d6270972
JM
32230 [BZ #369]
32231 [BZ #2678]
32232 [BZ #3866]
32233 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32234 x for large integer exponent.
32235 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32236 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32237 sign of result as needed afterwards.
32238 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32239 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32240 result for underflowing pow the same as for overflow.
32241 (__kernel_standard_l): Handle powl overflow and underflow here
32242 rather than calling __kernel_standard.
32243 * math/libm-test.inc (pow_test): Add more tests.
32244
414fca03 32245 [BZ #3868]
41bf21a1
JM
32246 [BZ #13879]
32247 [BZ #13910]
32248 [BZ #13911]
32249 [BZ #13912]
32250 [BZ #13913]
32251 [BZ #13915]
32252 [BZ #13916]
32253 [BZ #13917]
32254 [BZ #13918]
32255 [BZ #13919]
32256 [BZ #13920]
32257 [BZ #13921]
32258 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32259 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32260 (__kernel_standard_l): New function.
32261 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32262 __kernel_standard.
32263 * math/w_acosl.c (__acosl): Likewise.
32264 * math/w_asinl.c (__asinl): Likewise.
32265 * math/w_atan2l.c (__atan2l): Likewise.
32266 * math/w_atanhl.c (__atanhl): Likewise.
32267 * math/w_coshl.c (__coshl): Likewise.
32268 * math/w_exp10l.c (__exp10l): Likewise.
32269 * math/w_exp2l.c (__exp2l): Likewise.
32270 * math/w_fmodl.c (__fmodl): Likewise.
32271 * math/w_hypotl.c (__hypotl): Likewise.
32272 * math/w_j0l.c (__j0l, __y0l): Likewise.
32273 * math/w_j1l.c (__j1l, __y1l): Likewise.
32274 * math/w_jnl.c (__jnl, __ynl): Likewise.
32275 * math/w_lgammal.c (__lgammal): Likewise.
32276 * math/w_log10l.c (__log10l): Likewise.
32277 * math/w_log2l.c (__log2l): Likewise.
32278 * math/w_logl.c (__logl): Likewise.
32279 * math/w_powl.c (__powl): Likewise.
32280 * math/w_remainderl.c (__remainderl): Likewise.
32281 * math/w_scalbl.c (sysv_scalbl): Likewise.
32282 * math/w_sinhl.c (__sinhl): Likewise.
32283 * math/w_sqrtl.c (__sqrtl): Likewise.
32284 * math/w_tgammal.c (__tgammal): Likewise.
32285 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32286 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32287 * math/libm-test.inc (acos_test): Add more tests.
32288 (acosh_test): Likewise.
32289 (asin_test): Likewise.
32290 (atanh_test): Likewise.
32291 (exp_test): Likewise.
32292 (exp10_test): Likewise.
32293 (exp2_test): Likewise.
32294 (expm1_test): Likewise.
32295 (lgamma_test): Likewise.
32296 (log_test): Likewise.
32297 (log10_test): Likewise.
32298 (log1p_test): Likewise.
32299 (log2_test): Likewise.
32300 (pow_test): Do not allow some spurious overflow exceptions.
32301 (sqrt_test): Add more tests.
32302 (tgamma_test): Likewise.
32303 (y0_test): Likewise.
32304 (y1_test): Likewise.
32305 (yn_test): Likewise.
32306
dd62fda6
AB
323072012-03-27 Anton Blanchard <anton@samba.org>
32308
32309 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32310 MAP_HUGETLB.
32311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32312 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32313 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32314
1e3cdfda
AJ
323152012-03-27 David S. Miller <davem@davemloft.net>
32316
b855ab85
DM
32317 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32318
1e3cdfda
AJ
32319 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32320 have-as-vis3 check.
32321
323222012-03-27 Andreas Jaeger <aj@suse.de>
32323
32324 * sysdeps/x86_64/elf/configure.in: Moved to ...
32325 * sysdeps/x86_64/configure.in: ... here.
32326 * sysdeps/x86_64/elf/start.S: Moved to ...
32327 * sysdeps/x86_64/start.S: ... here.
32328 * sysdeps/x86_64/elf/configure: Delete.
32329
32330 * sysdeps/x86_64/configure.in: Merge contents from
32331 sysdeps/i386/configure.in (without i686 check).
32332
32333 * sysdeps/i386/elf/Versions: Merge into ...
32334 * sysdeps/i386/Versions: ... this.
32335 * sysdeps/i386/elf/Versions: Delete file.
32336 * sysdeps/i386/elf/start.S: Moved to ...
32337 * sysdeps/i386/start.S: ...here.
32338 * sysdeps/i386/elf/configure.in: Merge into...
32339 * sysdeps/i386/configure.in: ...here.
32340 * sysdeps/i386/elf/configure.in: Delete file.
32341 * sysdeps/i386/elf/configure: Delete file.
32342
32343 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32344 * debug/backtracesyms.c: ... here.
32345 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32346 * debug/backtracesymsfd.c: ... here.
32347 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32348 * sysdeps/generic/ifunc-sel.h: ... here.
32349
32350 * sysdeps/unix/i386/start.c: Delete file.
32351 * sysdeps/unix/sparc/start.c: Delete file.
32352 * sysdeps/unix/start.c: Delete file.
32353
32354 * sysdeps/sh/elf/configure.in: Moved to ...
32355 * sysdeps/sh/configure.in: ... here.
32356 * sysdeps/sh/elf/start.S: Moved to ...
32357 * sysdeps/sh/start.S: ... here.
32358 * sysdeps/sh/elf/configure: Delete file.
32359
32360 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32361 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32362 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32363 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32364 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32365 * sysdeps/powerpc/powerpc64/start.S: here.
32366 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32367 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32368 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32369 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32370 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32371
32372 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32373 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32374 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32375 * sysdeps/powerpc/powerpc32/start.S: ... here.
32376 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32377 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32378 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32379
32380 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32381 * sysdeps/powerpc/ifunc-sel.h: ... here.
32382 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32383 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32384
32385 * sysdeps/sparc/elf/configure.in: Moved to ...
32386 * sysdeps/sparc/configure.in: ... here.
32387 * sysdeps/sparc/elf/configure: Delete file.
32388 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32389 * sysdeps/sparc/sparc32/start.S: ... here.
32390 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32391 * sysdeps/sparc/sparc64/start.S: ... here.
32392 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32393 * sysdeps/sparc/sparc32/Makefile: ... this.
32394 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32395 * sysdeps/sparc/sparc64/Makefile: ... this.
32396
32397 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32398 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32399 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32400 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32401 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32402 * sysdeps/s390/s390-32/setjmp.S: ... here.
32403 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32404 * sysdeps/s390/s390-32/configure.in: ... here.
32405 * sysdeps/s390/s390-32/elf/configure: Delete file.
32406 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32407 * sysdeps/s390/s390-32/start.S: ... here.
32408
32409 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32410 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32411 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32412 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32413 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32414 * sysdeps/s390/s390-64/setjmp.S: ... here.
32415 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32416 * sysdeps/s390/s390-64/configure.in: ... here
32417 * sysdeps/s390/s390-64/elf/configure: Delete file.
32418 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32419 * sysdeps/s390/s390-64/start.S: ... here.
32420 * sysdeps/s390/s390-64/elf/configure: Delete.
32421
32422 * configure.in: Remove support for elf directories in sysdeps.
32423
32424 * configure: Regenerated.
32425 * sysdeps/i386/configure: Regenerated.
32426 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32427 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32428 * sysdeps/s390/s390-32/configure: Regenerated.
32429 * sysdeps/s390/s390-64/configure: Regenerated.
32430 * sysdeps/sh/configure: Regenerated.
32431 * sysdeps/sparc/configure: Regenerated.
32432 * sysdeps/x86_64/configure: Regenerated.
32433
a3f61311
AS
324342012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32435
c876e002
AS
32436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32437
a3f61311
AS
32438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32439 denormal result into account.
32440
ac4c54f0
RM
324412012-03-25 Roland McGrath <roland@hack.frob.com>
32442
32443 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32444 Reported by Allan McRae <allan@archlinux.org>.
32445
6a9b9c02
JL
324462012-03-23 Jeff Law <law@redhat.com>
32447
32448 * nss/getnssent.c (__nss_getent): Fix typo.
32449
4c42a0c1
DM
324502012-03-23 David S. Miller <davem@davemloft.net>
32451
32452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32453
1532c7ac
L
324542012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32455
32456 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32457 to pad to uint64_t for each field.
32458 (dl_tls_index): Replace unsigned long with uint64_t.
32459
3ff42526
PP
324602012-03-23 Daniel Jacobowitz <dmj@google.com>
32461 Paul Pluzhnikov <ppluzhnikov@google.com>
32462
32463 [BZ #6528]
32464 * grp/Makefile (otherlibs): Don't set it.
32465 * inet/Makefile (otherlibs): Likewise.
32466 * login/Makefile (otherlibs): Likewise.
32467 * nscd/Makefile (otherlibs): Likewise.
32468 * posix/Makefile (otherlibs): Likewise.
32469 * pwd/Makefile (otherlibs): Likewise.
32470 * rt/Makefile (otherlibs): Likewise.
32471 * sunrpc/Makefile (otherlibs): Likewise.
32472 * nss/Makefile (otherlibs): Likewise.
32473 Add libnss_files to routines and static-only-routines.
32474 ($(objpfx)getent): Remove rule.
32475 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32476 static-only-routines.
32477
7c69cd14
JM
324782012-03-22 Joseph Myers <joseph@codesourcery.com>
32479
32480 [BZ #13892]
32481 * math/s_cexp.c: Include <float.h>.
32482 (__cexp): Handle exp result overflowing not necessarily
32483 overflowing both real and imaginary parts of result.
32484 * math/s_cexpf.c: Likewise.
32485 * math/s_cexpl.c: Likewise.
32486 * math/libm-test.inc (cexp_test): Add more tests.
32487 * sysdeps/i386/fpu/libm-test-ulps: Update.
32488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32489
81b035fe
L
324902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32491
32492 * include/link.h (ELFW): New macro.
32493 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32494 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32495
1da7940c
L
324962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32497
32498 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32499 with uint64_t.
32500
b749dbb9
L
325012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32502
32503 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32504 declaration.
32505 (struct La_x32_retval): Likewise.
32506
2ff87f3f
L
325072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32508
32509 * sysdeps/x86_64/preconfigure.in: New file.
32510 * sysdeps/x86_64/preconfigure: New generated file.
32511
c0df8e69
JM
325122012-03-22 Joseph Myers <joseph@codesourcery.com>
32513
48e44791
JM
32514 [BZ #13824]
32515 * math/e_exp2l.c: Include <float.h>.
32516 (__ieee754_exp2l): Handle overflow and underflow cases
32517 separately. Only pass fractional part of argument to
32518 __ieee754_expl.
32519 * math/libm-test.inc (exp2_test): Add more tests.
32520
c0df8e69
JM
32521 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32522 negating x to take absolute value.
32523 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32524 Likewise.
32525 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32526 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32527 Likewise.
32528 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32529 computing low part if x was negated.
32530 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32531
c8e43ba7
L
325322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32533
32534 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32535 la_x32_gnu_pltexit.
32536 (pltexit): Cast int_retval to ptrdiff_t.
32537 * elf/tst-auditmod3b.c: Likewise.
32538 * elf/tst-auditmod4b.c: Likewise.
32539 * elf/tst-auditmod5b.c: Likewise.
32540 * elf/tst-auditmod6b.c: Likewise.
32541 * elf/tst-auditmod6c.c: Likewise.
32542 * elf/tst-auditmod7b.c: Likewise.
32543
32544 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32545 and x32_gnu_pltexit.
32546
32547 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32548 __ELF_NATIVE_CLASS.
32549 (La_x32_regs): New macro.
32550 (La_x32_retval): Likewise.
32551 (la_x32_gnu_pltenter): New function prototype.
32552 (la_x32_gnu_pltexit): Likewise.
32553
7998fa78
AS
325542012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32555
dcb33988
AS
32556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32557 exponent.
32558
233fc563
AS
32559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32560
7998fa78
AS
32561 * configure.in (libc_cv_cc_nofma): Check for option to disable
32562 generation of FMA instructions.
32563 * configure: Regenerate.
32564 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32565 * sysdeps/ieee754/dbl-64/Makefile: New file.
32566 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32567 Remove brandred-fma4.
32568 (CFLAGS-brandred-fma4.c): Remove.
32569 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32570 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32571 define.
32572 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32573 define.
32574
8e95c99a
L
325752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32576
32577 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32578 LLONG_MAX != LONG_MAX.
32579 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32580 (_fitoa_word): Likewise.
32581 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32582 LLONG_MAX != LONG_MAX.
32583 * stdio-common/_itowa.h: Include <_itoa.h>.
32584 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32585 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32586 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32587 only if not defined.
32588 (_ITOA_WORD_TYPE): Likewise.
32589 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32590 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32591
6f4db457
DM
325922012-03-21 David S. Miller <davem@davemloft.net>
32593
32594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32595
7785fe5a
L
325962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32597
32598 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32599 of x86_64 when setting libc_cv_slibdir, libdir and
32600 libc_cv_localedir.
32601 * sysdeps/unix/sysv/linux/configure: Regenerated.
32602
4535cd55
JM
326032012-03-21 Joseph Myers <joseph@codesourcery.com>
32604
32605 * manual/lang.texi (Old Varargs): Remove section.
32606 (How Variadic): Update menu.
32607 (va_start): Do not mention varargs.h.
32608
17228132
TS
326092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32610 Joseph Myers <joseph@codesourcery.com>
32611
32612 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32613 link test.
32614 * configure: Regenerated.
32615
8149f976
TS
326162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32617
05f3d1f6
UD
32618 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32619 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32620 conformtest.pl
8149f976 32621
1a4ac776
JM
326222012-03-21 Joseph Myers <joseph@codesourcery.com>
32623
be22ce65
JM
32624 * NOTES: Remove.
32625 * Makefile (files-for-dist): Remove NOTES.
32626 (NOTES): Remove rule.
32627 * README: Don't refer to NOTES.
32628 * manual/creature.texi: Don't include macros.texi.
32629 * manual/intro.texi (creature.texi): Remove comment referring to
32630 NOTES.
32631
40b601fb
JM
32632 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32633 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32634 * configure: Regenerated.
32635 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32636 LIBC_TRY_CC_OPTION.
32637 (libc_cv_as_i686): Likewise.
32638 (libc_cv_cc_avx): Likewise.
32639 (libc_cv_cc_sse2avx): Likewise.
32640 (libc_cv_cc_fma4): Likewise.
32641 (libc_cv_cc_novzeroupper): Likewise.
32642 * sysdeps/i386/configure: Regenerated.
32643
1a4ac776
JM
32644 [BZ #13883]
32645 * sysdeps/i386/fpu/s_cexp.S: Remove.
32646 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32647 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32648 * math/libm-test.inc (cexp_test): Add more tests.
32649 * sysdeps/i386/fpu/libm-test-ulps: Update.
32650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32651
a458e7fe
AM
326522012-03-21 Allan McRae <allan@archlinux.org>
32653
32654 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32655
0cb7efc5
JM
326562012-03-21 Joseph Myers <joseph@codesourcery.com>
32657
32658 [BZ #13871]
32659 * math/w_exp2.c: Do not include <float.h>.
32660 (o_threshold, u_threshold): Remove.
32661 (__exp2): Calculate result before checking finiteness and calling
32662 __kernel_standard.
32663 * math/w_exp2f.c: Likewise.
32664 * math/w_exp2l.c: Likewise.
32665 * math/libm-test.inc (exp2_test): Require overflow exception for
32666 1e6 input.
2460d3aa
JM
32667
32668 [BZ #3866]
32669 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32670 range of signed 64-bit integers before using fistpll. Remove
32671 checks for whether integers fit in mantissa bits.
32672 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32673 the range of signed 32-bit integers before using fistpl. Remove
32674 checks for whether integers fit in mantissa bits.
32675 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32676 (__ieee754_powl): Test for y outside the range of signed 64-bit
32677 integers before using fistpll. Reduce 64-bit values to 63-bit
32678 ones as needed.
32679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32680 divide-by-zero is raised for zero to large negative powers.
32681 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32682 (__ieee754_powl): Test for y outside the range of signed 64-bit
32683 integers before using fistpll. Reduce 64-bit values to 63-bit
32684 ones as needed.
32685 * math/libm-test.inc (pow_test): Add more tests.
32686
eb96ffb0
L
326872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32688
32689 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32690 <stdio-common/_itoa.h>.
32691 * debug/segfault.c: Likewise.
32692 * elf/dl-cache.c: Likewise.
32693 * elf/dl-minimal.c: Likewise.
32694 * elf/dl-misc.c: Likewise.
32695 * elf/dl-sysdep.c: Likewise.
32696 * elf/dl-version.c: Likewise.
32697 * elf/rtld.c: Likewise.
32698 * hurd/hurdsock.c: Likewise.
32699 * hurd/lookup-retry.c: Likewise.
32700 * malloc/malloc.c: Likewise.
32701 * malloc/mtrace.c: Likewise.
32702 * nscd/nscd_getgr_r.c: Likewise.
32703 * nscd/nscd_getpw_r.c: Likewise.
32704 * nscd/nscd_getserv_r.c: Likewise.
32705 * posix/getopt_init.c: Likewise.
32706 * posix/wordexp.c: Likewise.
32707 * stdio-common/_itoa.c: Likewise.
32708 * stdio-common/printf_fphex.c: Likewise.
32709 * stdio-common/vfprintf.c: Likewise.
32710 * string/_strerror.c: Likewise.
32711 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32712 * sysdeps/i386/i686/hp-timing.h: Likewise.
32713 * sysdeps/mach/_strerror.c: Likewise.
32714 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32715 * sysdeps/mach/hurd/sethostid.c: Likewise.
32716 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32717 * sysdeps/mach/xpg-strerror.c: Likewise.
32718 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32719 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32720 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32721 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32722 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32723 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32724 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32725 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32726 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32727 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32728 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32729 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32730 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32731 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32732 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32733 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32734 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32735 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32736 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32737 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32738 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32739
32740 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32741
32742 * stdio-common/_itoa.h: Moved to ...
32743 * sysdeps/generic/_itoa.h: Here.
32744
32745 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32746
32747 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32748 instead of "_itoa.h" and "_itowa.h".
32749 * stdio-common/vfprintf.: Likewise.
32750
d1af992d
L
327512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32752
32753 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32754 <bits/wordsize.h>.
32755 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32756 (__signbit): Likwise.
32757 (llrintf): Likwise.
32758 (llrint): Likwise.
32759
114883e0
L
327602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32761
32762 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32763 __WORDSIZE != 64.
32764
c135cc1b
JM
327652012-03-20 Joseph Myers <joseph@codesourcery.com>
32766
32767 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32768 OVERFLOW_EXCEPTION_OK.
32769 * math/libm-test.inc ("Philosophy"): Update comment about
32770 exception testing.
32771 (OVERFLOW_EXCEPTION): Define.
32772 (OVERFLOW_EXCEPTION_OK): Likewise.
32773 (INVALID_EXCEPTION_OK): Renumber.
32774 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32775 (IGNORE_ZERO_INF_SIGN): Likewise.
32776 (test_exceptions): Handle FE_OVERFLOW.
32777 (exp10_test): Expect overflow exceptions.
32778 (exp2_test): Likewise.
32779 (expm1_test): Likewise.
32780 (nextafter_test): Likewise.
32781 (pow_test): Likewise.
32782 (scalbn_test): Likewise.
32783 (scalbln_test): Likewise.
32784
95443d88
L
327852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32786
32787 * sysdeps/x86_64/bits/atomic.h
32788 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32789 64bit integer.
32790 (atomic_exchange_acq): Likewise.
32791 (__arch_exchange_and_add_body): Likewise.
32792 (__arch_add_body): Likewise.
32793 (atomic_add_negative): Likewise.
32794 (atomic_add_zero): Likewise.
32795
490df6c4
L
327962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32797
c2722551 32798 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32799 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32800
5e52b189
L
328012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32802
32803 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32804 Check __x86_64__ instead of __WORDSIZE.
32805
a9879d4c
L
328062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32807
32808 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32809
5df98260
DM
328102012-03-19 David S. Miller <davem@davemloft.net>
32811
e1497744
DM
32812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32813
5df98260
DM
32814 * sysdeps/sparc/fpu/fenv_private.h: New file.
32815 * sysdeps/sparc/fpu/math_private.h: Use it.
32816 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32817 Remove.
57f41c40 32818 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
32819 (libc_feholdexcept_setroundl): Remove.
32820 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32821 Remove.
32822 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32823 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32824
b4c35121
L
328252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32826
32827 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32828 int64_t instead of long int.
32829 (INSERT_WORDS64): Likwise.
32830
56965fd7
L
328312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32832
32833 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32834 _Unwind_GetCFA return to _Unwind_Ptr first.
32835
83d1aec8
JM
328362012-03-19 Joseph Myers <joseph@codesourcery.com>
32837
1897ad44
JM
32838 [BZ #13629]
32839 * math/s_clog.c: Include <float.h>.
32840 (__clog): Scale large or subnormal inputs.
32841 * math/s_clogf.c: Likewise.
32842 * math/s_clogl.c: Likewise.
32843 * math/s_clog10.c: Include <float.h>.
32844 (M_LOG10_2): Define.
32845 (__clog10): Scale large or subnormal inputs.
32846 * math/s_clog10f.c: Likewise.
32847 * math/s_clog10l.c: Likewise.
32848 * math/libm-test.inc (clog_test): Add more tests.
32849 (clog10_test): Likewise.
32850 * sysdeps/i386/fpu/libm-test-ulps: Update.
32851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32852
7726d6a9
JM
32853 [BZ #11451]
32854 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32855 x and y.
32856 * math/libm-test.inc (atan2_test): Add another test.
32857
83d1aec8
JM
32858 * Makerules (common-objdir-compile): Remove.
32859 * sysdeps/unix/Makefile (config-generated): Do not add
32860 $(unix-generated) to variable.
32861 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32862 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32863 Remove rule.
32864 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32865 Likewise.
32866 [generic bits/local_lim.h] (before-compile): Do not append to
32867 variable.
32868 [generic bits/local_lim.h] (common-generated): Likewise.
32869 [generic sys/param.h] (before-compile): Do not append to variable.
32870 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32871 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32872 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32873 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32874 include.
32875 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32876 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32877 [generic sys/param.h] ($(addprefix
32878 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32879 [generic sys/param.h] (common-generated): Do not append to
32880 variable.
32881 [generic sys/param.h] (sysdep_headers): Likewise.
32882 [generic bits/errno.h] (before-compile): Do not append to
32883 variable.
32884 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32885 rule.
32886 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32887 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32888 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32889 [generic bits/errno.h] (common-generated): Do not append to
32890 variable.
32891 [generic bits/ioctls.h] (before-compile): Do not append to
32892 variable.
32893 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32894 rule.
32895 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32896 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32897 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32898 rule.
32899 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32900 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32901 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32902 [generic bits/ioctls.h] (common-generated): Do not append to
32903 variable.
32904 [generic sys/syscall.h] (syscall.h): Remove variable.
32905 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32906 rule.
32907 [generic sys/syscall.h] (before-compile): Do not append to
32908 variable.
32909 [generic sys/syscall.h] (common-generated): Likewise.
32910 * sysdeps/unix/errnos-tmpl.c: Remove file.
32911 * sysdeps/unix/errnos.awk: Likewise.
32912 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32913 * sysdeps/unix/ioctls.awk: Likewise.
32914 * sysdeps/unix/mk-local_lim.c: Likewise.
32915 * sysdeps/unix/snarf-ioctls: Likewise.
32916
4851a949
RH
329172012-03-19 Richard Henderson <rth@twiddle.net>
32918
bd37f2ee
RH
32919 * sysdeps/i386/fpu/fenv_private.h: New file.
32920 * sysdeps/i386/fpu/math_private.h: Use it.
32921 (math_opt_barrier, math_force_eval): Remove.
32922 (libc_feholdexcept_setround_53bit): Remove.
32923 (libc_feupdateenv_53bit): Remove.
32924 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32925 (math_opt_barrier, math_force_eval): Remove.
32926 (libc_feholdexcept): Remove.
32927 (libc_feholdexcept_setround): Remove.
32928 (libc_fetestexcept, libc_fesetenv): Remove.
32929 (libc_feupdateenv_test): Remove.
32930 (libc_feupdateenv, libc_feholdsetround): Remove.
32931 (libc_feresetround): Remove.
32932
d0adc922
RH
32933 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32934 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32935
0fe0f1f8
RH
32936 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32937 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32938 (libc_feupdateenv_testl): New.
32939 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32940 (libc_feupdateenv_testf): New.
32941 (libc_feupdateenv): Use libc_feupdateenv_test.
32942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32943 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32944
eb92c487
RH
32945 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32946 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32947 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32948 (libc_feresetround_noex): New.
32949 (libc_feresetround_noexf): New.
32950 (libc_feresetround_noexl): New.
32951 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32952 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32953 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32954 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32955 SET_RESTORE_ROUND.
32956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32958 (__cos): Likewise.
32959 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32960 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32961 SET_RESTORE_ROUND_NOEX.
32962 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32963 SET_RESTORE_ROUND_NOEXF.
32964 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32965 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32966 (libc_feholdsetroundf): New.
32967 (libc_feresetround, libc_feresetroundf): New.
32968
7d2e8012
RH
32969 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32970 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32971 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32972
b4dabbb4
RH
32973 * sysdeps/generic/math_private.h: Include <fenv.h>.
32974 (default_libc_feholdexcept): New.
32975 (default_libc_feholdexcept_setround): New.
32976 (default_libc_fesetenv, default_libc_feupdateenv): New.
32977 (libc_feholdexcept): Only define if undefined.
32978 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32979 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32980 (libc_feholdexcept_setroundl): Likewise.
32981 (libc_feholdexcept_setround_53bit): Likewise.
32982 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32983 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32984 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32985 (libc_feupdateenv_53bit): Likewise.
32986 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32987 (libc_feholdexcept): Convert from macro to inline function.
32988 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32989 (libc_fesetenv, libc_feupdateenv): Likewise.
32990
4851a949
RH
32991 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32992 not previously defined.
32993 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32994 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32995 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32996 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32997 * sysdeps/ieee754/flt-32/math_private.h: New file.
32998 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32999 math_private.h below SET_FLOAT_WORD.
33000 (__isnan, __isinf_ns, __finite): Remove.
33001 (__isnanf, __isinf_nsf, __finitef): Remove.
33002
e79d442e
AS
330032012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33004
33005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33006
90b80344
DM
330072012-03-17 David S. Miller <davem@davemloft.net>
33008
33009 [BZ #6471]
33010 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33011 for 2.16.
33012
edc21804
DM
330132012-03-16 David S. Miller <davem@davemloft.net>
33014
77e927af
DM
33015 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33016 warnings.
33017
374976dd
DM
33018 [BZ #6471]
33019 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33020 properly.
33021 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33022 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33023 sysdep_routines when subdir is sysvipc.
33024 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33025 __getshmlba helper.
33026
edc21804
DM
33027 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33028
473c3ef3
L
330292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33030
33031 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33032 [__LP64__].
33033
eb0f39b6
L
330342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33035
33036 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33037 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33038 (__lround): Renamed to ...
33039 (__llround): This. Replace long int with long long int.
33040 Define lround functions as aliases of llround functions.
33041 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33042
6b6cd74b
L
330432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33044
33045 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33046 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33047 adresses to uintptr_t. Replace "long int" and "unsigned long
33048 int" with "greg_t" on va_arg.
33049
f1a77b01
L
330502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33051
33052 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33053 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33054
33055 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33056 Move e_machine check before EI_CLASS check. Handle x32
33057 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33058 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33059 SKIP_EM_IA_64 and include
33060 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33061
33062 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33063 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33064 (add_system_dir): New macro.
33065
33066 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33067 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33068
11b90b9f
JM
330692012-03-16 Joseph Myers <joseph@codesourcery.com>
33070
c36e1d23
JM
33071 [BZ #2551]
33072 [BZ #2552]
33073 [BZ #2553]
33074 [BZ #2554]
33075 [BZ #2562]
33076 [BZ #2563]
33077 [BZ #2565]
33078 [BZ #2566]
33079 [BZ #2576]
33080 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33081 (y0): Likewise.
33082 * math/w_j0f.c (j0f): Likewise.
33083 (y0f): Likewise.
33084 * math/w_j0l.c (__j0l): Likewise.
33085 (__y0l): Likewise.
33086 * math/w_j1.c (j1): Likewise.
33087 (y1): Likewise.
33088 * math/w_j1f.c (j1f): Likewise.
33089 (y1f): Likewise.
33090 * math/w_j1l.c (__j1l): Likewise.
33091 (__y1l): Likewise.
33092 * math/w_jn.c (jn): Likewise.
33093 (yn): Likewise.
33094 * math/w_jnf.c (jnf): Likewise.
33095 (ynf): Likewise.
33096 * math/w_jnl.c (__jnl): Likewise.
33097 (__ynl): Likewise.
33098 * math/libm-test.inc (j0_test): Add more tests.
33099 (j1_test): Likewise.
33100 (jn_test): Likewise. Add trailing semicolon to existing test.
33101 (y0_test): Likewise.
33102 (y1_test): Likewise.
33103 * sysdeps/i386/fpu/libm-test-ulps: Update.
33104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33105
11b90b9f
JM
33106 [BZ #13851]
33107 [BZ #13854]
33108 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33109 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33110 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33111 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33112 (__tanl): Set errno for infinite argument.
33113 * sysdeps/i386/fpu/mptan.c: Remove.
33114 * sysdeps/i386/fpu/s_tan.S: Likewise.
33115 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33116 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33117 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33118 * math/libm-test.inc (tan_test): Add more tests and enable more
33119 tests for double and long double.
33120 * sysdeps/i386/fpu/libm-test-ulps: Update.
33121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33122
6a1bd2a1
JK
331232012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33124
33125 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33126 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33127
10a803e0
RM
331282012-03-16 Roland McGrath <roland@hack.frob.com>
33129
33130 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33131 * configure.in: Use it for both main tree and add-ons.
33132 * configure: Regenerated.
33133
f196c7f7
L
331342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33135
33136 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33137
8848d99d
JM
331382012-03-16 Joseph Myers <joseph@codesourcery.com>
33139
96cbe7f4
JM
33140 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33141 in comment.
33142
8848d99d
JM
33143 [BZ #13851]
33144 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33145 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33146 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33147 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33148 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33149 infinite argument.
33150 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33151 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33152 != 0 for prec == 2.
33153 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33154 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33155 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33156 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33157 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33158 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33159 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33160 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33161 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33162 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33163 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33164 * math/libm-test.inc (cos_test): Add more tests and enable more
33165 tests for long double.
33166 (sin_test): Likewise.
33167 (sincos_test): Likewise.
33168 * sysdeps/i386/fpu/libm-test-ulps: Update.
33169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33170
dd7f4703
DM
331712012-03-16 David S. Miller <davem@davemloft.net>
33172
33173 * sysdeps/sparc/fpu/math_private.h: New file.
33174
006f1daa
DM
331752012-03-15 David S. Miller <davem@davemloft.net>
33176
c0c83bc8
DM
33177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33178 file.
e6a62e18 33179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33181 file.
e6a62e18
DM
33182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33188 sysdep routines.
33189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33190
88cb87d9
DM
33191 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33192 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33193
006f1daa 33194 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33196 sparc-ifunc.h
006f1daa 33197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33199 Likewise.
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33201 Likewise.
006f1daa
DM
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33206 Likewise.
006f1daa
DM
33207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33212 Likewise.
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33214 Likewise.
006f1daa
DM
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33239
11e0098e
AS
332402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33241
33242 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33243 scaling.
33244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33245
e85b09d0
AJ
332462012-03-15 Andreas Jaeger <aj@suse.de>
33247
33248 [BZ #13852]
33249 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33250 ieee754/flt-32 implementation for sin, cos and sincos.
33251 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33252 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33253 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33254 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33255 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33256 ieee754/flt-32 implementation for tan.
33257
33258 * math/libm-test.inc (cos_test): Enable some large input tests for
33259 float as well
33260 (sin_test): Likewise.
33261 (sincos_test): Likewise.
33262 (tan_test): Add tests for large input.
33263
33264 * sysdeps/i386/fpu/libm-test-ulps: Update.
33265
81c64153
AJ
332662012-03-15 Andreas Jaeger <aj@suse.de>
33267
33268 [BZ #13658]
33269 * math/libm-test.inc (cos_test): Add more test cases.
33270 (sin_test): Likewise.
33271 (sincos_test): Likewise.
33272
7bbfa5c6
AJ
332732012-03-15 Andreas Jaeger <aj@suse.de>
33274
33275 [BZ #13837]
33276 * math/libm-test.inc (cos_test): Add a test case for large input
33277 value.
33278 (sin_test): Likewise.
33279 (sincos_test): Likewise.
33280
57f41c40
AS
332812012-03-15 Andreas Jaeger <aj@suse.de>
33282 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33283
33284 [BZ #13658]
0671f479 33285 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33286 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33287 * sysdeps/i386/fpu/branred.c: Likewise.
33288 * sysdeps/i386/fpu/dosincos.c: Likewise.
33289 * sysdeps/i386/fpu/mpa.c: Likewise.
33290 * sysdeps/i386/fpu/s_cos.S: Likewise.
33291 * sysdeps/i386/fpu/s_sin.S: Likewise.
33292 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33293 * sysdeps/i386/fpu/sincos32.c: Likewise.
33294
33295 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33296 Define.
33297 (libc_feupdateenv_53bit): Define.
33298 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33299 Define.
33300 (libc_feupdateenv_53bit): Define.
33301
33302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33303 53 bit (without extend i386 double precision).
33304
33305 * math/libm-test.inc (sincos_test): Add tests for large input.
33306 (sin): Likewise.
33307 (cos): Likewise.
33308
33309 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33310
9cad04ea
AS
333112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33312
33313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33314
f7062b9a
DM
333152012-03-15 David S. Miller <davem@davemloft.net>
33316
33317 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33318 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33319 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33320 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33333 file.
f7062b9a 33334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33336 file.
f7062b9a 33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33339 file.
f7062b9a 33340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33342 file.
f7062b9a
DM
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33344 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33345 fmin/fmax sysdep routines.
33346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33347
7bd951ff
DM
333482012-03-14 David S. Miller <davem@davemloft.net>
33349
559398ab
DM
33350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33357 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33379 routines.
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33381 file.
559398ab 33382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33384 file.
559398ab 33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33387 file.
559398ab 33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33390 file.
559398ab 33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33393 file.
559398ab 33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33396 file.
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33398 file.
33399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33400 file.
33401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33402 file.
33403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33404 New file.
33405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33406 file.
33407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33408 file.
559398ab 33409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33411 file.
559398ab 33412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33414 file.
559398ab 33415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33417 file.
559398ab 33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33420 VIS3 routines.
559398ab
DM
33421
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33423 New file.
33424
5a1c1e32
DM
33425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33426
eae47a36
DM
33427 * sysdeps/sparc/configure.in: New file.
33428 * sysdeps/sparc/configure: Generate.
33429 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33430 * configure: Regenerate.
33431 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33432 * config.make.in (have-as-vis3): New.
33433 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33434 available use -Av9d instead of -Av9a.
33435 * sysdeps/sparc/sparc64/Makefile: Likewise.
33436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33438 New file.
33439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33440 file.
33441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33442 New file.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33444 file.
eae47a36
DM
33445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33450
c0c83bc8
DM
33451 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33452 fzeros/fnegs to load 0x80000000 into a float register instead of
33453 using the stack.
7bd951ff
DM
33454 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33455
bd951ccb
JM
334562012-03-14 Joseph Myers <joseph@codesourcery.com>
33457
33458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33459 bits/syscall.h.
33460 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33461 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33462 ($(inst_includedir)/bits/syscall.h): Remove rule.
33463 ($(objpfx)bits/syscall.d): Include instead of
33464 $(objpfx)syscall-list.d.
33465 (generated): Change syscall-list.h and syscall-list.d to
33466 bits/syscall.h and bits/syscall.d.
33467
bb4e6db2
RM
334682012-03-14 Roland McGrath <roland@hack.frob.com>
33469
33470 [BZ #13846]
33471 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33472
aa4a2ae1
JM
334732012-03-14 Joseph Myers <joseph@codesourcery.com>
33474
e456826d
JM
33475 [BZ #13841]
33476 * math/s_csqrt.c: Include <float.h>.
33477 (__csqrt): Scale large or subnormal inputs.
33478 * math/s_csqrtf.c: Likewise.
33479 * math/s_csqrtl.c: Likewise.
33480 * math/libm-test.inc (csqrt_test): Add more tests.
33481 * sysdeps/i386/fpu/libm-test-ulps: Update.
33482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33483
aa4a2ae1
JM
33484 [BZ #13840]
33485 * math/libm-test.inc (hypot_test): Add more tests.
33486
7c10fd35
DM
334872012-03-13 David S. Miller <davem@davemloft.net>
33488
33489 [BZ #13840]
33490 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33491 double-precision for the calculation instead of scaling.
33492
f453b98b
JM
334932012-03-13 Joseph Myers <joseph@codesourcery.com>
33494
33495 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33496 manipulate bits before adding and subtracting TWO52[sx].
33497 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33499 Likewise.
33500 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33501
09a3453f
DM
335022012-03-13 David S. Miller <davem@davemloft.net>
33503
8e59da90
DM
33504 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33505 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33507 rtld-global-offsets.h
33508 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33509
2a8ab7f2
DM
33510 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33511 large parameters.
33512
10f62770
DM
33513 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33514
5f0bdb18
DM
33515 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33516 'err' in the ifdef scope in which it is actually used.
33517
09a3453f
DM
33518 * nss/nss_db/db-init.c: Include string.h
33519
b4b2eb5e
DM
335202012-03-12 David S. Miller <davem@davemloft.net>
33521
98bb2f1c
DM
33522 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33523 masking out of the most significant byte of random value used.
33524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33525 Fix coding style in previous change.
33526
b4b2eb5e
DM
33527 * sysdeps/unix/sysv/linux/kernel-features.h
33528 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33529 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33530 expression.
33531 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33532 later.
33533
6e226b09
DM
335342012-03-11 David S. Miller <davem@davemloft.net>
33535
a1bcbd40
DM
33536 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33537 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33538 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33539 for 'resultvar' otherwise things get truncated on 64-bit.
33540
cb9d6174
DM
33541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33542 Fix masking out of the most significant byte of random value used.
33543
6e226b09
DM
33544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33545
058c132d
AS
335462012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33547
33548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33549
2d2cd515
DM
335502012-03-09 David S. Miller <davem@davemloft.net>
33551
33552 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33553 variables with appropriate CPP guards.
57f41c40
AS
33554 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33555 from the frame pointer, not the stack pointer. Correct layout
33556 comments. Fix test on resulting framesize and the management of
33557 the outregs buffer for pltexit. Preserve floating point return
33558 values across _dl_call_pltexit call.
2d2cd515
DM
33559 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33560 framesize and the management of the outregs buffer for pltexit.
33561 Preserve floating point return values across _dl_call_pltexit
33562 call.
57f41c40
AS
33563 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33564 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33565 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33566 (print_exit): Fix format string for return register value.
33567
9a07f9d0
JM
335682012-03-10 Joseph Myers <joseph@codesourcery.com>
33569
33570 * sunrpc/Makefile (others): Add rpcgen.
33571 ($(objpfx)rpcgen): Remove special build rule and dependency on
33572 libc.
33573 * sunrpc/rpcgen.c: New file.
33574
547b5e30
PE
335752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33576
c524201a
PE
33577 [BZ #13673]
33578 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33579 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33580 * sysdeps/i386/crti.S: Likewise.
33581 * sysdeps/i386/crtn.S: Likewise.
33582 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33583 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33584 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33585 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33586 * sysdeps/sh/crti.S: Likewise.
33587 * sysdeps/sh/crtn.S: Likewise.
33588 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33589
7b6235f2
PE
33590 [BZ #13673]
33591 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33592 with URL.
33593 * locale/programs/locfile-kw.gperf: Likewise.
33594 * locale/programs/charmap-kw.h: Regenerated.
33595 * locale/programs/locfile-kw.h: Likewise.
33596
547b5e30
PE
33597 [BZ #13673]
33598 * intl/plural.y: Replace FSF snail mail address with URL.
33599 * intl/plural.c: Regenerated.
33600
5f0a5dae
RH
336012012-03-09 Richard Henderson <rth@twiddle.net>
33602
33603 * include/math_private.h: Remove file.
33604 * math/math_private.h: Move file ...
33605 * sysdeps/generic/math_private.h: ... here.
33606
b8c03620
RH
33607 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33608 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33609 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33610
4e234f5d 33611 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33612 and <math_private.h>.
33613 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33614 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33615 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33616 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33617 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33621 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33625 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33630 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33631 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33632 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33634 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33635 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33637 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33638 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33639 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33640 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33641 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33644 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33645 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33646 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33647 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33648 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33649 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33653 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33663 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33665 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33668 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33670 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33676 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33677 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33678 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33679 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33680 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33681 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33682 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33683 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33685 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33701 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33702 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33703 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33704 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33705 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33706 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33707 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33708 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33709 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33710 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33711 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33712 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33713 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33714 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33715 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33716 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33717 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33718 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33719 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33720 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33721 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33722 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33723 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33724 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33725 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33726 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33727 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33728 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33729 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33730 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33732 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33733 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33734 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33735 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33736 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33737 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33739 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33740 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33742 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33743 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33744 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33746 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33747 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33748 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33749 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33750 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33751 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33752 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33754 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33756 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33757 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33758 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33759 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33760 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33761 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33762 * sysdeps/ieee754/k_standard.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33794 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33796 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33802 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33804 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33809 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33813 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33814 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33815 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33878 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33881 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33882 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33883 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33885 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33890 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33895 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33898 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33904 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33905 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33911 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33912 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33913 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33922 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33923 * sysdeps/ieee754/s_lib_version.c: Likewise.
33924 * sysdeps/ieee754/s_matherr.c: Likewise.
33925 * sysdeps/ieee754/s_signgam.c: Likewise.
33926 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33927 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33929 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33930 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33931 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33932 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33933 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33934 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33935 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33936 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33937 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33940 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33941 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33942 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33943 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33944 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33947
1991fa03
JM
339482012-03-09 Joseph Myers <joseph@codesourcery.com>
33949
33950 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33951 * sunrpc/rpc_main.c: Likewise.
33952 * sunrpc/rpc_svcout.c: Likewise.
33953
60d6f5a6
DM
339542012-03-09 David S. Miller <davem@davemloft.net>
33955
33956 * include/math_private.h: New file.
33957
4962050e
JM
339582012-03-09 Joseph Myers <joseph@codesourcery.com>
33959
02a6f887
JM
33960 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33961 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33962 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33963 from <bits/socket_type.h>.
33964 (enum __socket_type): Don't define here.
33965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33967 bits/socket_type.h.
33968
c6e013c1
JM
33969 [BZ #13566]
33970 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33971 checking __USE_GNU.
33972
4962050e
JM
33973 * Makerules ($(inst_includedir)/%.h): New rule.
33974 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33975 (install-others): Remove variable setting.
33976 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33977
38842f45
RH
339782012-03-08 Richard Henderson <rth@twiddle.net>
33979
67bb6da6
RH
33980 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33981 from macro to inline function; merge with the
33982 !__LIBC_INTERNAL_MATH_INLINES version.
33983 (__ieee754_sqrtf): Likewise.
33984
15194b4b
RH
33985 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33986 to inline function.
33987 (__rintf, __floor, __floorf): Likewise.
33988
64e21ede
RH
33989 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33990 macro to inline function.
33991 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33992
38842f45
RH
33993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33994 not <math/math_private.h>.
33995
c64bf5fe
DM
339962012-03-08 David S. Miller <davem@davemloft.net>
33997
33998 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33999 copyright year.
34000 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34001
82d86f28
TS
340022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34003
34004 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34005 normalization.
34006 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34007 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34008
aea5d727
UD
340092012-03-08 Ulrich Drepper <drepper@gmail.com>
34010
34011 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34012 be defined individually, they must be defined as a block. Define
34013 S for printing a string instead of hidint the different by using a
34014 macro for adding the 'l'.
34015 * stdio-common/tst-fphex-wide.c: Adjust.
34016
70bca0a3
MP
340172012-03-07 Marek Polacek <polacek@redhat.com>
34018
34019 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34020
65b81130
MP
340212012-03-08 Marek Polacek <polacek@redhat.com>
34022
34023 [BZ #13806]
34024 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34025 * stdio-common/tst-fphex.c: Define a few macros to make the
34026 test reusable. Use them.
34027 * stdio-common/tst-fphex-wide.c: New file.
34028
07037eeb
JM
340292012-03-08 Joseph Myers <joseph@codesourcery.com>
34030
a7a93d50
JM
34031 [BZ #6911]
34032 * manual/macros.texi (gnusystems): New macro.
34033 (nongnusystems): Likewise.
34034 (gnulinuxhurdsystems): Likewise.
34035 (gnuhurdsystems): Likewise..
34036 (gnulinuxsystems): Likewise.
34037 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34038 variants of the GNU system, not "GNU system".
34039 * manual/conf.texi: Likewise.
34040 * manual/errno.texi: Likewise. Update example of errno macro
34041 expansion.
34042 * manual/filesys.texi: Likewise.
34043 (getumask): Document as specific to GNU/Hurd.
34044 * manual/install.texi: Likewise. Reword some references to
34045 GNU/Linux.
34046 * manual/intro.texi: Likewise.
34047 * manual/io.texi: Likewise.
34048 (File Name Portability): Detail which constraints are inapplicable
34049 to all GNU systems and which are only inapplicable to GNU/Hurd.
34050 * manual/job.texi: Likewise.
34051 * manual/llio.texi: Likewise.
34052 (O_NOCTTY): Document as present on GNU/Linux.
34053 * manual/maint.texi: Likewise.
34054 * manual/memory.texi: Likewise.
34055 * manual/pattern.texi: Likewise.
34056 * manual/pipe.texi: Likewise.
34057 * manual/process.texi: Likewise.
34058 * manual/resource.texi: Likewise.
34059 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34060 child on GNU/Hurd.
34061 * manual/setjmp.texi: Likewise.
34062 * manual/signal.texi: Likewise.
34063 * manual/startup.texi: Likewise.
34064 * manual/stdio.texi: Likewise.
34065 * manual/terminal.texi: Likewise.
34066 (ONLCR): Document as POSIX.
34067 (OXTABS): Document availability on GNU/Linux as XTABS.
34068 (ONOEOT): Document availability separately from other bits.
34069 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34070 * manual/time.texi: Likewise.
34071 * manual/users.texi: Likewise.
34072 * INSTALL: Regenerated.
34073 * sysdeps/gnu/errlist.c: Regenerated.
34074
07037eeb
JM
34075 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34076 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34077 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34078 puts.
34079 * configure: Regenerated.
34080
d1d3431a
JM
340812012-03-07 Joseph Myers <joseph@codesourcery.com>
34082
af6a1e37
JM
34083 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34084 default includes instead of AC_HEADER_CHECK.
34085 * sysdeps/i386/configure: Regenerated.
34086
d1d3431a
JM
34087 [BZ #10716]
34088 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34089 * math/s_cacoshf.c (__cacoshf): Likewise.
34090 * math/s_cacoshl.c (__cacoshl): Likewise.
34091 * math/s_casinh.c (__casinh): Set signs of result from argument.
34092 * math/s_casinhf.c (__casinhf): Likewise.
34093 * math/s_casinhl.c (__casinhl): Likewise.
34094 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34095 (casinh_test): Add more tests.
34096 * sysdeps/i386/fpu/libm-test-ulps: Update.
34097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34098
482ff4da
UD
340992012-03-07 Ulrich Drepper <drepper@gmail.com>
34100
872fda05
UD
34101 * po/zh_TW.po: Update from translation team.
34102
a4300c7a
UD
34103 * login/Makefile (distribute): Remove variable.
34104 * catgets/Makefile: Likewise.
34105 * mach/Makefile: Likewise.
34106 * malloc/Makefile: Likewise.
34107 * misc/Makefile: Likewise.
34108 * iconv/Makefile: Likewise.
34109 * nscd/Makefile: Likewise.
34110 * hurd/Makefile: Likewise.
34111 * manual/Makefile: Likewise.
34112 * locale/Makefile: Likewise.
34113 * intl/Makefile: Likewise.
34114 * conform/Makefile: Likewise.
34115 * nss/Makefile: Likewise.
34116 * time/Makefile: Likewise.
34117 * soft-fp/Makefile: Likewise.
34118 * dirent/Makefile: Likewise.
34119 * gmon/Makefile: Likewise.
34120 * po/Makefile: Likewise.
34121 * rt/Makefile: Likewise.
34122 * socket/Makefile: Likewise.
34123 * math/Makefile: Likewise.
34124 * signal/Makefile: Likewise.
34125 * debug/Makefile: Likewise.
34126 * elf/Makefile: Likewise.
34127 * timezone/Makefile: Likewise.
34128 * stdlib/Makefile: Likewise.
34129 * iconvdata/Makefile: Likewise.
34130 * sunrpc/Makefile: Likewise.
34131 * io/Makefile: Likewise.
34132 * argp/Makefile: Likewise.
34133 * inet/Makefile: Likewise.
34134 * hesiod/Makefile: Likewise.
34135 * grp/Makefile: Likewise.
34136 * csu/Makefile: Likewise.
34137 * wctype/Makefile: Likewise.
34138 * crypt/Makefile: Likewise.
34139 * libio/Makefile: Likewise.
34140 * string/Makefile: Likewise.
34141 * nis/Makefile: Likewise.
34142 * resolv/Makefile: Likewise.
34143 * stdio-common/Makefile: Likewise.
34144 * wcsmbs/Makefile: Likewise.
34145 * dlfcn/Makefile: Likewise.
34146 * posix/Makefile: Likewise.
34147
3b7c4e74 34148 [BZ #6959]
482ff4da
UD
34149 * timezone/Makefile: Don't install timezone files, just the programs
34150 and scripts.
34151
f72ed77d
UD
341522012-03-06 Ulrich Drepper <drepper@gmail.com>
34153
a000466f
UD
34154 * nss/databases.def: Add missing gshadow entry.
34155
f72ed77d
UD
34156 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34157
a53b7a4e
MP
341582012-03-06 Marek Polacek <polacek@redhat.com>
34159
34160 [BZ #13726]
34161 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34162 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34163 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34164 * stdio-common/tst-long-dbl-fphex.c: New file.
34165
e9258400
DM
341662012-03-06 David S. Miller <davem@davemloft.net>
34167
34168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34169 (set_obp_int): New function.
34170 (get_obp_int): New function.
34171 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34172 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34173 Avoid unused variable warnings on 'val' and use builtin_expect.
34174 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34175 __builtin_expect.
e9258400
DM
34176 (INLINE_CLONE_SYSCALL): Likewise.
34177
3bd2c723
DM
341782012-03-05 David S. Miller <davem@davemloft.net>
34179
34180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34181
bbb78d03
AS
341822012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34183
884c5db4
AS
34184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34185
bbb78d03
AS
34186 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34187 only for |x| >= 40.
34188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34189
1c9f702a 341902012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34191
34192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34193 Replace gettimeofday with __vdso_gettimeofday.
34194
7be16f82
RM
34195 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34196 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34197 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34198
34199 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34200 time with __vdso_time.
34201
ed58a00f
JM
342022012-03-05 Joseph Myers <joseph@codesourcery.com>
34203
34204 * manual/lang.texi (size_t): Note types to which size_t may be
34205 equivalent with the GNU C Library, but do not describe when
34206 differences between them are significant.
34207
30ee4ced
AJ
342082012-03-05 Andreas Jaeger <aj@suse.de>
34209
34210 * sysdeps/i386/fpu/libm-test-ulps: Update.
34211
b7cd39e8
JM
342122012-03-05 Joseph Myers <joseph@codesourcery.com>
34213
34214 [BZ #3976]
34215 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34216 (__ieee754_pow): Save and restore rounding mode and use
34217 round-to-nearest for main computations.
34218 * math/libm-test.inc (pow_test_tonearest): New function.
34219 (pow_test_towardzero): Likewise.
34220 (pow_test_downward): Likewise.
34221 (pow_test_upward): Likewise.
34222 (main): Call the new functions.
34223 * sysdeps/i386/fpu/libm-test-ulps: Update.
34224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34225
34226 [BZ #3976]
34227 * math/libm-test.inc (cosh_test_tonearest): New function.
34228 (cosh_test_towardzero): Likewise.
34229 (cosh_test_downward): Likewise.
34230 (cosh_test_upward): Likewise.
34231 (sinh_test_tonearest): Likewise.
34232 (sinh_test_towardzero): Likewise.
34233 (sinh_test_downward): Likewise.
34234 (sinh_test_upward): Likewise.
34235 (main): Call the new functions.
34236 * sysdeps/i386/fpu/libm-test-ulps: Update.
34237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34238
6c6a98c9
TV
342392012-03-05 Tom de Vries <tom@codesourcery.com>
34240
34241 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34242 default stack guard is set in last bytes.
34243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34244
21bb2d2e 342452012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34246
21bb2d2e 34247 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34248
21bb2d2e
AJ
34249 [BZ #13656]
34250 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34251 possibly allocate from heap instead of stack.
34252 * stdio-common/bug-vfprintf-nargs.c: New file.
34253 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34254
c6922934
AS
342552012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34256
34257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34258
bc957d53
MP
342592012-03-03 Marek Polacek <polacek@redhat.com>
34260
34261 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34262 * math/math_private.h: Likewise.
34263 * stdlib/tst-strtod.c: Likewise.
34264 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34265 * sysdeps/x86_64/bits/atomic.h: Likewise.
34266
6358490d
DM
342672012-03-02 David S. Miller <davem@davemloft.net>
34268
34269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34273 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34274 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34275 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34276 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34277
01ae168d
RM
342782012-03-02 Roland McGrath <roland@hack.frob.com>
34279
d9a17c07
RM
34280 [BZ #13792]
34281 * manual/examples/README: New file, says the example source files
34282 can be used under GPL>=2.
34283 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34284 line containing just "*/".
34285 * manual/examples/add.c: Add copyright header (GPL>=2).
34286 * manual/examples/argp-ex1.c: Likewise.
34287 * manual/examples/argp-ex2.c: Likewise.
34288 * manual/examples/argp-ex3.c: Likewise.
34289 * manual/examples/argp-ex4.c: Likewise.
34290 * manual/examples/atexit.c: Likewise.
34291 * manual/examples/db.c: Likewise.
34292 * manual/examples/dir.c: Likewise.
34293 * manual/examples/dir2.c: Likewise.
34294 * manual/examples/execinfo.c: Likewise.
34295 * manual/examples/filecli.c: Likewise.
34296 * manual/examples/filesrv.c: Likewise.
34297 * manual/examples/fmtmsgexpl.c: Likewise.
34298 * manual/examples/genpass.c: Likewise.
34299 * manual/examples/inetcli.c: Likewise.
34300 * manual/examples/inetsrv.c: Likewise.
34301 * manual/examples/isockad.c: Likewise.
34302 * manual/examples/longopt.c: Likewise.
34303 * manual/examples/memopen.c: Likewise.
34304 * manual/examples/memstrm.c: Likewise.
34305 * manual/examples/mkfsock.c: Likewise.
34306 * manual/examples/mkisock.c: Likewise.
34307 * manual/examples/mygetpass.c: Likewise.
34308 * manual/examples/pipe.c: Likewise.
34309 * manual/examples/popen.c: Likewise.
34310 * manual/examples/rprintf.c: Likewise.
34311 * manual/examples/search.c: Likewise.
34312 * manual/examples/select.c: Likewise.
34313 * manual/examples/setjmp.c: Likewise.
34314 * manual/examples/sigh1.c: Likewise.
34315 * manual/examples/sigusr.c: Likewise.
34316 * manual/examples/stpcpy.c: Likewise.
34317 * manual/examples/strdupa.c: Likewise.
34318 * manual/examples/strftim.c: Likewise.
34319 * manual/examples/strncat.c: Likewise.
34320 * manual/examples/subopt.c: Likewise.
34321 * manual/examples/swapcontext.c: Likewise.
34322 * manual/examples/termios.c: Likewise.
34323 * manual/examples/testopt.c: Likewise.
34324 * manual/examples/testpass.c: Likewise.
34325 * manual/examples/timeval_subtract.c: Likewise.
34326
01ae168d
RM
34327 [BZ #13792]
34328 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34329 function to ...
34330 * manual/timeval_subtract.c.texi: ... here, new file.
34331
49efa33d
DM
343322012-03-02 David S. Miller <davem@davemloft.net>
34333
34334 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34335
28afd92d
JM
343362012-03-02 Joseph Myers <joseph@codesourcery.com>
34337
804360ed
JM
34338 [BZ #3976]
34339 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34340 (__sin): Save and restore rounding mode and use round-to-nearest
34341 for all computations.
34342 (__cos): Save and restore rounding mode and use round-to-nearest
34343 for all computations.
34344 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34345 <fenv.h>.
34346 (tan): Save and restore rounding mode and use round-to-nearest for
34347 all computations.
34348 * math/libm-test.inc (cos_test_tonearest): New function.
34349 (cos_test_towardzero): Likewise.
34350 (cos_test_downward): Likewise.
34351 (cos_test_upward): Likewise.
34352 (sin_test_tonearest): Likewise.
34353 (sin_test_towardzero): Likewise.
34354 (sin_test_downward): Likewise.
34355 (sin_test_upward): Likewise.
34356 (tan_test_tonearest): Likewise.
34357 (tan_test_towardzero): Likewise.
34358 (tan_test_downward): Likewise.
34359 (tan_test_upward): Likewise.
34360 (main): Call the new functions.
34361 * sysdeps/i386/fpu/libm-test-ulps: Update.
34362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34363
a6d06d7b
JM
34364 [BZ #10135]
34365 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34366 small n, then large n, before computing and testing k+n.
34367 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34368 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34369 Likewise.
34370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34371 Likewise.
34372 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34373 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34374 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34375 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34379 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34380 * math/libm-test.inc (scalbn_test): Add more tests.
34381 (scalbln_test): Likewise.
34382
07e12bb3
JM
34383 * manual/filesys.texi (mode_t): Describe constraints on size and
34384 signedness, not exact equivalence to a particular type.
34385 (ino_t): Likewise.
34386 (ino64_t): Likewise.
34387 (dev_t): Likewise.
34388 (nlink_t): Likewise.
34389 (blkcnt_t): Likewise.
34390 (blkcnt64_t): Likewise.
34391 * manual/llio.texi (off_t): Likewise.
34392
28afd92d
JM
34393 [BZ #3976]
34394 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34395 (__ieee754_exp): Save and restore rounding mode and use
34396 round-to-nearest for all computations.
34397 * math/libm-test.inc (exp_test_tonearest): New function.
34398 (exp_test_towardzero): Likewise.
34399 (exp_test_downward): Likewise.
34400 (exp_test_upward): Likewise.
34401 (main): Call the new functions.
34402 * sysdeps/i386/fpu/libm-test-ulps: Update.
34403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34404
b1eeb65d
CD
344052012-03-01 Chris Demetriou <cgd@google.com>
34406
34407 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34408 have predictable order.
34409
53362a4b
DM
344102012-03-01 David S. Miller <davem@davemloft.net>
34411
3c969083
DM
34412 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34413
759707de
DM
34414 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34415 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34416 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34417 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34418
dfdb8ff2
DM
34419 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34420 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34421 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34423 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34424 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34425 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34426 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34427 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34428
ead89f96
DM
34429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34430
7f66bd07
DM
34431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34432 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34433 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34434
53362a4b
DM
34435 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34437 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34438 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34439 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34440 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34442 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34443 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34444 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34445 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34446 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34448 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34449 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34451 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34452 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34453 * sysdeps/sparc/elf/configure: Regenerated.
34454
7b1902cb
JM
344552012-03-01 Joseph Myers <joseph@codesourcery.com>
34456
bec039bc
JM
34457 * configure.in (AS, LD): Require binutils 2.20 or later.
34458 * configure: Regenerated.
34459 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34460 as required minimum version.
34461 * INSTALL: Regenerated.
34462
7b1902cb
JM
34463 [BZ #2541]
34464 [BZ #4108]
34465 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34466 before squaring exponent.
34467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34468 bottom long double and 27 bits of top long double before squaring
34469 exponent.
34470 * math/libm-test.inc (erfc_test): Add more tests.
34471 * sysdeps/i386/fpu/libm-test-ulps: Update.
34472 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34474
f775c276
KT
344752012-03-01 Kai Tietz <ktietz@redhat.com>
34476
34477 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34478 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34479 containing bit-fields.
34480 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34481 * soft-fp/single.h (_FP_UNION_S): Likewise.
34482 * soft-fp/double.h (_FP_UNION_D): Likewise.
34483
5b8a4d4a
JM
344842012-02-29 Joseph Myers <joseph@codesourcery.com>
34485
0bab47b6
JM
34486 [BZ #13786]
34487 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34488 not include ../strcmp.S.
34489 [USE_AS_STRNCASECMP_L]: Likewise.
34490 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34491 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34492 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34493 (__strncasecmp_l_ia32): Define as alias to
34494 __strncasecmp_l_nonascii.
34495
0fcad3e2
JM
34496 [BZ #5794]
34497 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34498 * sysdeps/i386/fpu/libm-test-ulps: Update.
34499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34500
5b8a4d4a
JM
34501 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34503
8fdceb2e
JL
345042012-02-29 Jeff Law <law@redhat.com>
34505
34506 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34507 out of bounds read.
34508
1f393a11
MP
345092012-02-29 Marek Polacek <polacek@redhat.com>
34510
34511 [BZ #13706]
34512 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34513 * elf/Makefile: Add rules to run tst-unused-dep.out.
34514
8847f037
DM
345152012-02-28 David S. Miller <davem@davemloft.net>
34516
34517 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34518 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34519 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34520 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34521 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34522 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34523
169d7f11
JM
345242012-02-29 Joseph Myers <joseph@codesourcery.com>
34525
34526 * math/libm-test.inc (llround_test): Move one test from
34527 lround_test. Use TEST_f_L in moved test.
34528 (lround_test): Move misplaced test to llround_test. Add testcase
34529 from bug 2561.
34530
39adf059
UD
345312012-02-28 Ulrich Drepper <drepper@gmail.com>
34532
34533 * sysdeps/x86_64/fpu/e_expf.S: New file.
34534 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34535
71b5d1c5
SB
345362012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34537
34538 [BZ #13637]
34539 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34540 of remain_len that may cause incomplete multi-byte character and
34541 false match.
34542 * posix/bug-regex33.c: New file.
34543 * posix/Makefile (tests): Add bug-regex33.
34544
1f77f049
JM
345452012-02-28 Joseph Myers <joseph@codesourcery.com>
34546
34547 * manual/macros.texi: New file.
34548 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34549 * manual/libc.texinfo: Include macros.texi.
34550 * manual/creatute.texi: Likewise.
34551 * manual/install.texi: Likewise.
34552 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34553 @glibcadj{} in references to the GNU C Library.
34554 * manual/charset.texi: Likewise.
34555 * manual/conf.texi: Likewise.
34556 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34557 when not using those macros.
34558 * manual/creature.texi: Likewise.
34559 * manual/crypt.texi: Likewise.
34560 * manual/errno.texi: Likewise.
34561 * manual/filesys.texi: Likewise.
34562 * manual/header.texi: Likewise.
34563 * manual/install.texi: Likewise.
34564 * manual/intro.texi: Likewise.
34565 * manual/io.texi: Likewise.
34566 * manual/job.texi: Likewise.
34567 * manual/lang.texi: Likewise.
34568 * manual/libc.texiinfo: Likewise.
34569 * manual/llio.texi: Likewise.
34570 * manual/locale.texi: Likewise.
34571 * manual/maint.texi: Likewise.
34572 * manual/math.texi: Likewise.
34573 * manual/memory.texi: Likewise.
34574 * manual/message.texi: Likewise.
34575 * manual/nss.texi: Likewise.
34576 * manual/pattern.texi: Likewise.
34577 * manual/process.texi: Likewise.
34578 * manual/resource.texi: Likewise.
34579 * manual/search.texi: Likewise.
34580 * manual/setjmp.texi: Likewise.
34581 * manual/signal.texi: Likewise.
34582 * manual/socket.texi: Likewise.
34583 * manual/startup.texi: Likewise.
34584 * manual/stdio.texi: Likewise.
34585 * manual/string.texi: Likewise.
34586 * manual/sysinfo.texi: Likewise.
34587 * manual/syslog.texi: Likewise.
34588 * manual/terminal.texi: Likewise.
34589 * manual/time.texi: Likewise.
34590 * manual/users.texi: Likewise.
34591 * INSTALL: Regenerated.
34592 * NOTES: Regenerated.
d40c5d54 34593 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34594
450bf206
AS
345952012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34596
34597 * include/dirent.h: Include <dirstream.h> before
34598 <dirent/dirent.h>.
34599
741a235b
DM
346002012-02-28 David S. Miller <davem@davemloft.net>
34601
34602 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34603 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34604 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34605 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34606
d6b5aa58
DM
346072012-02-27 David S. Miller <davem@davemloft.net>
34608
1aff59a3
DM
34609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34611 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34612 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34613
d6b5aa58
DM
34614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34615 frame pointer instead of stack pointer relative arg slot.
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34617 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34618 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34619
433f48bf
CD
346202012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34621
34622 [BZ #3992]
34623 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34624
d674b76d
DM
346252012-02-27 David S. Miller <davem@davemloft.net>
34626
34627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34631 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34632 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34633 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34634 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34635
0e7727f7
JM
346362012-02-27 Joseph Myers <joseph@codesourcery.com>
34637
34638 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34639 later. Allow versions 5-9.
43be4ca2 34640 * configure: Regenerated.
0e7727f7
JM
34641 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34642 required minimum version and 4.6 as recommended version. Do not
34643 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34644 * INSTALL: Regenerated.
0e7727f7 34645
a78bc654
DM
346462012-02-27 David S. Miller <davem@davemloft.net>
34647
428d5830
DM
34648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34652 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34653 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34654 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34655 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34656
a78bc654
DM
34657 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34658 manipulate bits before adding and subtracting TWO112[sx].
34659 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34660
4579f81c
RM
346612012-02-27 Roland McGrath <roland@hack.frob.com>
34662
36c8acb4
RM
34663 [BZ #13775]
34664 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34665 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34666 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34667 being in POSIX, because they are in 1003.1-2008.
34668
84ad622b
RM
34669 * rt/tst-aio.c: Include <fcntl.h>.
34670 * rt/tst-aio7.c: Likewise.
34671 * rt/tst-aio64.c: Likewise.
34672
4579f81c
RM
34673 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34674
abd923db
JM
346752012-02-27 Joseph Myers <joseph@codesourcery.com>
34676
34677 * manual/install.texi (--with-headers): Describe headers as
34678 interface headers, not private headers.
34679 (Specific advice for GNU/Linux systems): Describe use of headers
34680 from "make headers_install", not private headers from older
34681 kernels.
43be4ca2 34682 * INSTALL: Regenerated.
abd923db
JM
34683 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34684 Change to 2.6.19.
34685 * sysdeps/unix/sysv/linux/configure: Regenerated.
34686
6664049b
JM
34687 * manual/llio.texi (fclean): Remove documentation.
34688
bb8b6697
JM
34689 * manual/Makefile (libc-texi-generated): New variable. Include
34690 version.texi.
34691 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34692 $(libc-texi-generated), not duplicated list of files.
34693 (version.texi, stamp-version): New rules.
34694 (realclean): Remove $(libc-texi-generated), not individual files
34695 from that list. Do not remove dir-add.texinfo.
34696 * manual/libc.texinfo: Comment out uses of edition numbers and
34697 references to printed manual. Remove last-updated dates.
34698 (EDITION): Comment out.
34699 (ISBN): Likewise.
34700 (VERSION, UPDATED): Remove.
34701 (version.texi): Include.
34702
12e5c3b9
AS
347032012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34704
34705 * sysdeps/posix/spawni.c: Include <signal.h>.
34706 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34707 * sysdeps/pthread/aio_fsync.c: Likewise.
34708
4efeffc1 347092012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34710
ba63ba08
UD
34711 * conform/Makefile (tests): Run only when not cross-compiling and
34712 when fast-check is not defined.
34713
d94a4670
UD
34714 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34715 * conform/data/limits.h-data: Fixes for POSIX2008.
34716 * conform/run-conformtest.sh: Run all tests.
34717 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34718 headers.
34719 * include/bits/dlfcn.h: Likewise.
34720 * include/langinfo.h: Likewise.
34721 * include/monetary.h: Likewise.
34722 * include/sys/poll.h: Likewise.
34723
34724 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34725 for __USE_GNU.
34726 * posix/spawn.h: Define __need_sigset_t.
34727 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34728 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34729 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34730 to get sigevent_t only.
34731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34732 only for __USE_GNU.
34733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34734 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34735 process_vm_writev only for __USE_GNU.
34736 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34737
34738 * conform/Makefile: For now ignore errors from run-conformtest.
34739 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34740 POSIX to avoid namespace pollution. Don't prepend headers.
34741 * conform/data/aio.h-data: Fixes for POSIX testing.
34742 * conform/data/fcntl.h-data: Likewise.
34743 * conform/data/glob.h-data: Likewise.
34744 * conform/data/grp.h-data: Likewise.
34745 * conform/data/pthread.h-data: Likewise.
34746 * conform/data/pwd.h-data: Likewise.
34747 * conform/data/signal.h-data: Likewise.
34748 * conform/data/spawn.h-data: Likewise.
34749 * conform/data/stdio.h-data: Likewise.
34750 * conform/data/stdlib.h-data: Likewise.
34751 * conform/data/stropts.h-data: Likewise.
34752 * conform/data/sys/mman.h-data: Likewise.
34753 * conform/data/sys/stat.h-data: Likewise.
34754 * conform/data/sys/types.h-data: Likewise.
34755 * conform/data/sys/wait.h-data: Likewise.
34756 * conform/data/time.h-data: Likewise.
34757 * conform/data/unistd.h-data: Likewise.
34758 * conform/data/utime.h-data: Likewise.
34759
34760 * io/sys/stat.h: fchmod was always in POSIX.
34761 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34762 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34763 * rt/aio.h: Define __need_timespec before including <time.h>.
34764 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34765 struct. Add forward declaration of pthread_attr_t and use it in
34766 sigevent.
34767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34768 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34769 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34770 always remove CLK_TCK definition.
34771
c20105c3
AS
347722012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34773
34774 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34775
7a270350
UD
347762012-02-25 Ulrich Drepper <drepper@gmail.com>
34777
31341567
UD
34778 * conform/run-conformtest.sh: New file.
34779 * conform/Makefile: Run run-conformtest for tests.
34780 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34781 support.
34782
34783 * conform/data/uchar.h-data: New file.
34784 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34785 * conform/data/arpa/inet.h-data: Likewise.
34786 * conform/data/assert.h-data: Likewise.
34787 * conform/data/complex.h-data: Likewise.
34788 * conform/data/cpio.h-data: Likewise.
34789 * conform/data/ctype.h-data: Likewise.
34790 * conform/data/dirent.h-data: Likewise.
34791 * conform/data/dlfcn.h-data: Likewise.
34792 * conform/data/errno.h-data: Likewise.
34793 * conform/data/fcntl.h-data: Likewise.
34794 * conform/data/float.h-data: Likewise.
34795 * conform/data/fmtmsg.h-data: Likewise.
34796 * conform/data/fnmatch.h-data: Likewise.
34797 * conform/data/ftw.h-data: Likewise.
34798 * conform/data/glob.h-data: Likewise.
34799 * conform/data/grp.h-data: Likewise.
34800 * conform/data/iconv.h-data: Likewise.
34801 * conform/data/inttypes.h-data: Likewise.
34802 * conform/data/langinfo.h-data: Likewise.
34803 * conform/data/libgen.h-data: Likewise.
34804 * conform/data/limits.h-data: Likewise.
34805 * conform/data/locale.h-data: Likewise.
34806 * conform/data/math.h-data: Likewise.
34807 * conform/data/monetary.h-data: Likewise.
34808 * conform/data/mqueue.h-data: Likewise.
34809 * conform/data/ndbm.h-data: Likewise.
34810 * conform/data/net/if.h-data: Likewise.
34811 * conform/data/netdb.h-data: Likewise.
34812 * conform/data/netinet/in.h-data: Likewise.
34813 * conform/data/nl_types.h-data: Likewise.
34814 * conform/data/poll.h-data: Likewise.
34815 * conform/data/pthread.h-data: Likewise.
34816 * conform/data/pwd.h-data: Likewise.
34817 * conform/data/regex.h-data: Likewise.
34818 * conform/data/sched.h-data: Likewise.
34819 * conform/data/search.h-data: Likewise.
34820 * conform/data/semaphore.h-data: Likewise.
34821 * conform/data/setjmp.h-data: Likewise.
34822 * conform/data/signal.h-data: Likewise.
34823 * conform/data/spawn.h-data: Likewise.
34824 * conform/data/stdarg.h-data: Likewise.
34825 * conform/data/stdio.h-data: Likewise.
34826 * conform/data/stdlib.h-data: Likewise.
34827 * conform/data/string.h-data: Likewise.
34828 * conform/data/strings.h-data: Likewise.
34829 * conform/data/stropts.h-data: Likewise.
34830 * conform/data/sys/ipc.h-data: Likewise.
34831 * conform/data/sys/mman.h-data: Likewise.
34832 * conform/data/sys/msg.h-data: Likewise.
34833 * conform/data/sys/resource.h-data: Likewise.
34834 * conform/data/sys/select.h-data: Likewise.
34835 * conform/data/sys/sem.h-data: Likewise.
34836 * conform/data/sys/shm.h-data: Likewise.
34837 * conform/data/sys/socket.h-data: Likewise.
34838 * conform/data/sys/stat.h-data: Likewise.
34839 * conform/data/sys/statvfs.h-data: Likewise.
34840 * conform/data/sys/time.h-data: Likewise.
34841 * conform/data/sys/timeb.h-data: Likewise.
34842 * conform/data/sys/times.h-data: Likewise.
34843 * conform/data/sys/types.h-data: Likewise.
34844 * conform/data/sys/uio.h-data: Likewise.
34845 * conform/data/sys/un.h-data: Likewise.
34846 * conform/data/sys/utsname.h-data: Likewise.
34847 * conform/data/sys/wait.h-data: Likewise.
34848 * conform/data/syslog.h-data: Likewise.
34849 * conform/data/tar.h-data: Likewise.
34850 * conform/data/termios.h-data: Likewise.
34851 * conform/data/utime.h-data: Likewise.
34852 * conform/data/utmpx.h-data: Likewise.
34853 * conform/data/varargs.h-data: Likewise.
34854 * conform/data/wchar.h-data: Likewise.
34855 * conform/data/wctype.h-data: Likewise.
34856 * conform/data/wordexp.h-data: Likewise.
34857
34858 * include/stropts.h: New file.
34859 * include/uchar.h: New file.
34860 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34861 * include/assert.h: Likewise.
34862 * include/ctype.h: Likewise.
34863 * include/dirent.h: Likewise.
34864 * include/dlfcn.h: Likewise.
34865 * include/fcntl.h: Likewise.
34866 * include/fnmatch.h: Likewise.
34867 * include/glob.h: Likewise.
34868 * include/grp.h: Likewise.
34869 * include/libio.h: Likewise.
34870 * include/locale.h: Likewise.
34871 * include/math.h: Likewise.
34872 * include/net/if.h: Likewise.
34873 * include/netdb.h: Likewise.
34874 * include/netinet/in.h: Likewise.
34875 * include/pthread.h: Likewise.
34876 * include/pwd.h: Likewise.
34877 * include/regex.h: Likewise.
34878 * include/sched.h: Likewise.
34879 * include/search.h: Likewise.
34880 * include/setjmp.h: Likewise.
34881 * include/signal.h: Likewise.
34882 * include/stdio.h: Likewise.
34883 * include/stdlib.h: Likewise.
34884 * include/string.h: Likewise.
34885 * include/sys/cdefs.h: Likewise.
34886 * include/sys/mman.h: Likewise.
34887 * include/sys/msg.h: Likewise.
34888 * include/sys/resource.h: Likewise.
34889 * include/sys/select.h: Likewise.
34890 * include/sys/socket.h: Likewise.
34891 * include/sys/stat.h: Likewise.
34892 * include/sys/statvfs.h: Likewise.
34893 * include/sys/time.h: Likewise.
34894 * include/sys/times.h: Likewise.
34895 * include/sys/uio.h: Likewise.
34896 * include/sys/utsname.h: Likewise.
34897 * include/sys/wait.h: Likewise.
34898 * include/termios.h: Likewise.
34899 * include/time.h: Likewise.
34900 * include/ulimit.h: Likewise.
34901 * include/unistd.h: Likewise.
34902 * include/utime.h: Likewise.
34903 * include/wchar.h: Likewise.
34904 * include/wctype.h: Likewise.
34905 * include/wordexp.h: Likewise.
34906
34907 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34908
7a270350
UD
34909 * time/time.h: TIME_UTC must be a macro.
34910 Make timespec_get available for ISO C11 only as well.
34911
7724defc
UD
349122012-02-24 Ulrich Drepper <drepper@gmail.com>
34913
34914 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34915 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34916
6b1d1d46
JM
349172012-02-24 Joseph Myers <joseph@codesourcery.com>
34918
34919 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34920
0f8bbd69
JM
349212012-02-24 Joseph Myers <joseph@codesourcery.com>
34922
34923 * manual/texinfo.tex: Update to version 2012-01-19.16.
34924
66ab80bc
JM
349252012-02-24 Joseph Myers <joseph@codesourcery.com>
34926
34927 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34928
74981cc5
RM
349292012-02-24 Roland McGrath <roland@hack.frob.com>
34930
ee968201
RM
34931 [BZ #13738]
34932 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34933 * manual/fdl-1.3.texi: New file.
34934 * manual/fdl-1.1.texi: File removed.
34935
74981cc5
RM
34936 [BZ #13738]
34937 * manual/libc.texinfo (FDL_VERSION): New @set.
34938 Use it for mention of FDL in cover text.
34939 (Documentation License): Use it in @include file name.
34940
7bb764bc
JM
349412012-02-22 Joseph Myers <joseph@codesourcery.com>
34942 Roland McGrath <roland@hack.frob.com>
34943
34944 [BZ #5461]
57f41c40
AS
34945 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
34946 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
34947 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34948 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34949 name.
34950 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34951
6cbeae47
JM
349522012-02-22 Joseph Myers <joseph@codesourcery.com>
34953
34954 [BZ #2547]
34955 [BZ #11365]
34956 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34957 manipulate bits before adding and subtracting TWO23[sx].
34958 * math/libm-test.inc (nearbyint_test): Add more tests.
34959
fe45ce09
JM
349602012-02-22 Joseph Myers <joseph@codesourcery.com>
34961
34962 [BZ #2548]
34963 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34964 bits before adding and subtracting TWO23[sx].
34965 * math/libm-test.inc (rint_test): Add more tests.
34966 (rint_test_tonearest): Likewise.
34967 (rint_test_towardzero): Likewise.
34968 (rint_test_downward): Likewise.
34969 (rint_test_upward: Likewise.
34970
ff3b3d82
JM
349712012-02-22 Joseph Myers <joseph@codesourcery.com>
34972
34973 [BZ #10110]
34974 * include/stdc-predef.h: New file. Extracted from features.h.
34975 * include/features.h: Include stdc-predef.h.
34976 * Makefile (headers): Add stdc-predef.h.
34977 * CONFORMANCE (Compiler limitations): Update.
34978
ef0aab35
JM
349792012-02-22 Joseph Myers <joseph@codesourcery.com>
34980
34981 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34982
58639409
DM
349832012-02-21 David S. Miller <davem@davemloft.net>
34984
34985 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34986 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34987
c0e70b25
DM
349882012-02-20 David S. Miller <davem@davemloft.net>
34989
34990 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34991 using a normal save/restore sequence, rather than allocating a
34992 dummy stack frame just to store a frame pointer and restore.
34993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34994
fb06851d
JM
349952012-02-21 Joseph Myers <joseph@codesourcery.com>
34996
34997 * manual/install.texi: Fix stray word in line-wrapped comment.
34998
7a8b71c3
DM
349992012-02-20 David S. Miller <davem@davemloft.net>
35000
d510c123
DM
35001 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35002 both binutils and gcc support GOTDATA.
35003
0722d7c2
DM
35004 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35005 "rd %pc" in the PIC register setup sequences.
35006
3d2b3019
DM
35007 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35008 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35009 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35010 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35011 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35012 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35014 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35016 (SYSCALL_ERROR_HANDLER): Likewise.
35017 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35018 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35020 (SYSCALL_ERROR_HANDLER): Likewise.
35021
c80098a9
DM
35022 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35023 (HAVE_GCC_GOTDATA): New.
35024 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35025 relocation support in both binutils and gcc.
35026 * sysdeps/sparc/elf/configure: Regenerate.
35027
3a2545a0
DM
35028 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35029 * sysdeps/sparc/sparc32/elf/configure: Delete.
35030 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35031 * sysdeps/sparc/sparc64/elf/configure: Delete.
35032 * sysdeps/sparc/elf/configure.in: New file.
35033 * sysdeps/sparc/elf/configure: Generate.
35034
7a8b71c3
DM
35035 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35036 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35037 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35038 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35039 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35040
f1e86fca
JM
350412012-02-21 Joseph Myers <joseph@codesourcery.com>
35042
35043 * manual/install.texi: Do not mention specific glibc version
35044 numbers.
35045 * manual/libc.texinfo (VERSION, UPDATED): Update.
35046 (@copying): Use @copyright{} and range of years.
35047
0e7dfaef
JM
350482012-02-21 Joseph Myers <joseph@codesourcery.com>
35049
35050 [BZ #13695]
35051 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35052 [crti.S not in sysdirs] (generated): Do not append.
35053 [crti.S not in sysdirs] (omit-deps): Likewise.
35054 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35055 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35056 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35057 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35058 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35059 Likewise.
35060 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35061 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35062 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35063 * csu/defs.awk: Remove file.
35064 * sysdeps/generic/initfini.c: Likewise.
35065 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35066 variable.
35067 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35068 Likewise.
35069
599af3ca
JM
350702012-02-20 Joseph Myers <joseph@codesourcery.com>
35071
35072 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35073 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35074 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35075 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35076 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35077 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35078 <bits/epoll.h>.
35079 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35080 (__EPOLL_PACKED): Define to empty if not defined by
35081 <bits/epoll.h>.
35082 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35084 bits/epoll.h.
35085
0e499750
JM
350862012-02-20 Joseph Myers <joseph@codesourcery.com>
35087
35088 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35089 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35090 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35091 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35092 <bits/timerfd.h>.
35093 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35095 bits/timerfd.h.
35096
5ad91f6e
JM
350972012-02-20 Joseph Myers <joseph@codesourcery.com>
35098
35099 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35100 in C locale.
35101 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35102 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35103 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35105
06b99b02
AJ
351062012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35107
35108 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35109 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35110
7638c0fd
AS
351112012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35112
35113 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35114 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35115 defined.
35116 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35117 Likewise.
35118 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35119 entry for 2.16.
35120
92221550
AJ
351212012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35122
35123 * math/w_acos.c: Use non-signaling floating-point comparisons.
35124 * math/w_acosf.c: Likewise.
35125 * math/w_acosh.c: Likewise.
35126 * math/w_acoshf.c: Likewise.
35127 * math/w_acoshl.c: Likewise.
35128 * math/w_acosl.c: Likewise.
35129 * math/w_asin.c: Likewise.
35130 * math/w_asinf.c: Likewise.
35131 * math/w_asinl.c: Likewise.
35132 * math/w_atanh.c: Likewise.
35133 * math/w_atanhf.c: Likewise.
35134 * math/w_atanhl.c: Likewise.
35135 * math/w_exp2.c: Likewise.
35136 * math/w_exp2f.c: Likewise.
35137 * math/w_exp2l.c: Likewise.
35138 * math/w_j0.c: Likewise.
35139 * math/w_j0f.c: Likewise.
35140 * math/w_j0l.c: Likewise.
35141 * math/w_j1.c: Likewise.
35142 * math/w_j1f.c: Likewise.
35143 * math/w_j1l.c: Likewise.
35144 * math/w_jn.c: Likewise.
35145 * math/w_jnf.c: Likewise.
35146 * math/w_log.c: Likewise.
35147 * math/w_log10.c: Likewise.
35148 * math/w_log10f.c: Likewise.
35149 * math/w_log10l.c: Likewise.
35150 * math/w_log2.c: Likewise.
35151 * math/w_log2f.c: Likewise.
35152 * math/w_log2l.c: Likewise.
35153 * math/w_logf.c: Likewise.
35154 * math/w_logl.c: Likewise.
35155 * math/w_sqrt.c: Likewise.
35156 * math/w_sqrtf.c: Likewise.
35157 * math/w_sqrtl.c: Likewise.
35158 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35159 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35160 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35161 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35162 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35163
ebaf36eb
JM
351642012-02-19 Joseph Myers <joseph@codesourcery.com>
35165
35166 [BZ #9739]
35167 * manual/string.texi (strnlen): Use correct parameter name in
35168 equivalent expression.
35169
71c254a6
JM
351702012-02-19 Joseph Myers <joseph@codesourcery.com>
35171
35172 [BZ #11174]
35173 * manual/users.texi (seteuid): Consistently use neweuid for
35174 argument name.
35175
16d2c631
JM
351762012-02-19 Joseph Myers <joseph@codesourcery.com>
35177
35178 [BZ #13704]
35179 * manual/nss.texi (Services in the NSS configuration): Correct
35180 list of services in example configuration file.
35181
cd837b09
NB
351822012-02-19 Nick Bowler <nbowler@draconx.ca>
35183
35184 [BZ #11322]
35185 * manual/arith.texi: Remove statements about negative zero
35186 behaving identically to zero.
35187
02c4bbad
JM
351882012-02-18 Joseph Myers <joseph@codesourcery.com>
35189
35190 [BZ #5993]
35191 * manual/install.texi: Do not document upgrading from libc5.
35192
366842e7
JM
351932012-02-18 Joseph Myers <joseph@codesourcery.com>
35194
35195 [BZ #4596]
35196 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35197
dd54084d
DM
351982012-02-18 David S. Miller <davem@davemloft.net>
35199
35200 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35201 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35202 %o7 across the call.
35203 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35204 instead.
35205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35206 SETUP_PIC_REG_LEAF.
35207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35208 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35209 * sysdeps/sparc/crtn.S: Likewise.
35210
2bcc53a3
UD
352112012-02-17 Ulrich Drepper <drepper@gmail.com>
35212
35213 * aout/Makefile: Remove.
35214
09c093b5
RK
352152012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35216
35217 [BZ #13058]
35218 * manual/examples/argp-ex1.c (main): Format definition in GNU
35219 style.
35220 * manual/examples/argp-ex2.c (main): Likewise.
35221 * manual/examples/argp-ex3.c (main): Likewise.
35222 * manual/examples/argp-ex4.c (main): Likewise.
35223 * manual/examples/longopt.c (main): Use new-style prototype
35224 definition.
35225 * manual/examples/strncat.c (main): Specify return type and use
35226 (void) for arguments.
35227 * manual/examples/subopt.c (main): Use char **argv argument.
35228
2ee633a2
JM
352292012-02-17 Joseph Myers <joseph@codesourcery.com>
35230
35231 [BZ #5077]
35232 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35233 rounding modes.
35234
0520adde
FB
352352012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35236
35237 [BZ #6907]
35238 * manual/string.texi (strchr): Change when strchrnul is
35239 recommended.
35240
3f4081cd
DGM
352412012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35242
35243 [BZ #174]
35244 * manual/locale.texi (setlocale): Document LOCPATH.
35245
d1b10e78
JM
352462012-02-17 Joseph Myers <joseph@codesourcery.com>
35247
35248 [BZ #10210]
35249 * manual/process.texi (execle): Move @dots{} before last argument.
35250
79c6869c
PB
352512012-02-17 Paul Bolle <pebolle@tiscali.nl>
35252
35253 [BZ #12047]
35254 * manual/charset.texi (Generic Charset Conversion): Fix typo
35255 (LC_TYPE -> LC_CTYPE).
35256
cc6e48bc
NB
352572012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35258
35259 [BZ #5805]
35260 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35261 (scalbnf): Likewise.
35262 (scalbnl): Likewise.
35263 (scalbln): Likewise.
35264 (scalblnf): Likewise.
35265 (scalblnl): Likewise.
35266 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35267 (vwarnx): Likewise.
35268 (verr): Likewise.
35269 (verrx): Likewise.
35270 * manual/filesys.texi (telldir): Use braces around return type.
35271 * manual/llio.texi (mmap): Add space after comma.
35272 (mmap64): Likewise.
35273 * manual/math.texi (jn): Use @var{} on parameter names.
35274 (jnf): Likewise.
35275 (jnl): Likewise.
35276 (yn): Likewise.
35277 (ynf): Likewise.
35278 (ynl): Likewise.
35279 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35280 line.
35281 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35282 "...".
35283 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35284 (sched_get_priority_max): Likewise.
35285 * manual/signal.texi (sigvec): Add space after comma.
35286 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35287 names.
35288 (if_indextoname): Likewise.
35289 (if_freenameindex): Likewise.
35290 (sendto): Use ',' instead of '.' in prototype.
35291 * manual/startup.texi (syscall): Use @dots{} instead of literal
35292 "...".
35293 * manual/stdio.texi (__fpending): Separate initial words of
35294 paragraph from @deftypefun line.
35295 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35296 "...".
35297 (vsyslog): Use @var{} on parameter names.
35298 * manual/terminal.texi (stty): Use @var{} on parameter names.
35299 * manual/users.texi (getutmp): Use @var{} on parameter names.
35300 (getutmpx): Likewise.
35301
5b23062f
JM
353022012-02-17 Joseph Myers <joseph@codesourcery.com>
35303
35304 [BZ #6884]
35305 * manual/stdio.texi (fopen): Fix typos in description of
35306 ",ccs=STRING".
35307
8dee4833
AJ
353082012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35309
35310 [BZ #4026]
35311 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35312 get clock_id definition.
35313
9078ce93
TS
353142012-02-17 Thomas Schwinge <thomas@schwinge.name>
35315
35316 [BZ #4822]
35317 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35318 (madvise): Cast every argument to void on its own.
35319
3835c55f
JM
353202012-02-17 Joseph Myers <joseph@codesourcery.com>
35321
35322 [BZ #9902]
35323 * manual/startup.texi (Exit Status): Fix typo.
35324
35c47e37
JM
353252012-02-17 Joseph Myers <joseph@codesourcery.com>
35326
35327 [BZ #10140]
35328 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35329 * manual/examples/argp-ex2.c: Likewise.
35330 * manual/examples/argp-ex3.c: Likewise.
35331
e3b69ca7
RH
353322012-02-16 Richard Henderson <rth@redhat.com>
35333
35334 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35335 * sysdeps/s390/s390-32/initfini.c: Remove.
35336 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35337 * sysdeps/s390/s390-64/initfini.c: Remove.
35338
df83af67
KK
353392012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35340
35341 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35342 compiler output for sysdeps/generic/initfini.c.
35343 * sysdeps/sh/elf/initfini.c: Remove file.
35344
f63f3380
DM
353452012-02-16 David S. Miller <davem@davemloft.net>
35346
fb59b3a4
DM
35347 [BZ #11494]
35348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35349
f63f3380
DM
35350 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35351 * sysdeps/sparc/crti.S: New file.
35352 * sysdeps/sparc/crtn.S: New file.
35353 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35354 * sysdeps/sparc/sparc64/Makefile: Likewise.
35355
df6a4a4a
MF
353562012-02-15 Mike Frysinger <vapier@gentoo.org>
35357
6dd8f3dc 35358 [BZ #3335]
df6a4a4a
MF
35359 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35360
1cac7236
RM
353612012-02-15 Roland McGrath <roland@hack.frob.com>
35362
d2c736f8
RM
35363 [BZ #4822]
35364 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35365
1cac7236
RM
35366 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35367 (write, read, close): Likewise.
35368 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35369
8e475601
JM
353702012-02-15 Joseph Myers <joseph@codesourcery.com>
35371
35372 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35373 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35374 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35375 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35376 <bits/signalfd.h>.
35377 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35379 bits/signalfd.h.
35380
ed656b40
MP
353812012-02-14 Marek Polacek <polacek@redhat.com>
35382
35383 * sysdeps/x86_64/crti.S: New file.
35384 * sysdeps/x86_64/crtn.S: New file.
35385 * sysdeps/x86_64/elf/initfini.c: Remove file.
35386
2a979d3a
JM
353872012-02-13 Joseph Myers <joseph@codesourcery.com>
35388
35389 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35390 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35391 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35392 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35393 <bits/inotify.h>.
35394 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35395 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35396 bits/inotify.h.
35397
2a418ac3
JM
353982012-02-13 Joseph Myers <joseph@codesourcery.com>
35399
35400 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35401 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35402 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35403 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35404 <bits/eventfd.h>.
35405 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35407 bits/eventfd.h.
35408
fb779be7
TS
354092012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35410
e19e83c5
RM
35411 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35412 __feraiseexcept instead of feraiseexcept.
7c35ffed 35413
fb779be7
TS
35414 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35415 nanosleep invocations.
35416 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35417 strings, and add error checking for a nanosleep invocations.
35418
59ba27a6
PE
354192012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35420
35421 Replace FSF snail mail address with URLs, as per GNU coding standards.
35422 Most of the snail mail addresses were wrong anyway, and omitting
35423 them makes the source code easier to maintain. Almost all of the
35424 changes are to license notices and to locale LC_IDENTIFICATION
35425 addresses, except for this one:
35426 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35427 not its snail mail address.
35428
57b957eb
RH
354292012-02-09 Richard Henderson <rth@twiddle.net>
35430
af850b1c
RH
35431 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35432 of kernel-features.h.
35433
57b957eb
RH
35434 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35435
6b73181a
MP
354362012-02-08 Marek Polacek <polacek@redhat.com>
35437
35438 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35439 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35440 * sysdeps/gnu/_G_config.h: Likewise.
35441 * sysdeps/generic/_G_config.h: Likewise.
35442
26ecc33a
AS
354432012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35444
6c6dbc63
AS
35445 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35446 tests.
35447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35448
e216c012
AS
35449 * sysdeps/powerpc/powerpc32/crti.S: New file.
35450 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35451 * sysdeps/powerpc/powerpc64/crti.S: New file.
35452 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35453
26ecc33a
AS
35454 * Makeconfig (have-initfini): Don't set.
35455 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35456 * configure.in (nopic_initfini): Don't substitute.
35457 * config.h.in (HAVE_INITFINI): Don't #undef.
35458 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35459 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35460
3add8e13
JM
354612012-02-08 Joseph Myers <joseph@codesourcery.com>
35462
35463 Support crti.S and crtn.S provided directly by architectures.
35464 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35465 [crti.S in sysdirs] (omit-deps): Likewise.
35466 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35467 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35468 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35469 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35470 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35471 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35472 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35473 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35474 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35475 compiler output for sysdeps/generic/initfini.c.
35476 * sysdeps/i386/elf/Makefile: Remove file.
35477 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35478
a22f12b4
MP
354792012-02-07 Marek Polacek <polacek@redhat.com>
35480
35481 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35482 * sysdeps/gnu/_G_config.h: Likewise.
35483 * sysdeps/mach/hurd/_G_config.h: Likewise.
35484
148cf100
MP
354852012-02-07 Marek Polacek <polacek@redhat.com>
35486
35487 * math/Makefile (tests): Add tst-CMPLX2.
35488 * math/tst-CMPLX2.c: New file.
35489
cfdc0dd7
AS
354902012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35491
84ba42c4
AS
35492 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35493
cfdc0dd7
AS
35494 * math/libm-test.inc (jn_test): Add missing L suffix.
35495
622c86f4
MP
354962012-02-06 Marek Polacek <polacek@redhat.com>
35497
35498 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35499 * sysdeps/i386/fpu/e_powf.S: Likewise.
35500 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35501 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35502 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35503 * sysdeps/i386/fpu/e_pow.S: Likewise.
35504 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35505 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35506 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35507 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35508 * sysdeps/i386/fpu/e_log2.S: Likewise.
35509 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35510 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35511 * sysdeps/i386/fpu/e_powl.S: Likewise.
35512 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35514 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35515 * sysdeps/i386/fpu/e_logl.S: Likewise.
35516 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35517 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35518 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35519 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35520 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35521 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35522 * sysdeps/i386/fpu/e_log.S: Likewise.
35523 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35524 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35525 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35526 * sysdeps/i386/fpu/e_logf.S: Likewise.
35527 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35528 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35529 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35530 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35531 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35532 * sysdeps/i386/fpu/e_log10.S: Likewise.
35533 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35535 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35536 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35537 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35538 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35539 * sysdeps/i386/asm-syntax.h: Likewise.
35540 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35541 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35542 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35543 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35544 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35545 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35546 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35547 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35548 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35549 * sysdeps/powerpc/sysdep.h: Likewise.
35550 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35551 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35552
d4a54ac6
JM
355532012-02-06 Joseph Myers <joseph@codesourcery.com>
35554
35555 [BZ #411]
35556 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35557
314054ea
JM
355582012-02-06 Joseph Myers <joseph@codesourcery.com>
35559
35560 * sysdeps/i386/sysdep.h: Include <features.h>.
35561 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35562 version.
35563
d8e0ca50
JM
355642012-02-05 Joseph Myers <joseph@codesourcery.com>
35565
35566 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35567 Define.
35568 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35569 LOAD_PIC_REG_STR.
35570
b1da7dd9
JM
355712012-02-03 Joseph Myers <joseph@codesourcery.com>
35572
35573 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35574 (SETUP_PIC_REG): Use GET_PC_THUNK.
35575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35576 macro.
35577
9a1d9254
JM
355782012-02-03 Joseph Myers <joseph@codesourcery.com>
35579
35580 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35581 for non-PIC compilation.
35582 (SETUP_PIC_REG): Add .p2align directive.
35583 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35584 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35585 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35586 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35587 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35588 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35589 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35591 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35592 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35593 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35594 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35595 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35596 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35597 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35598 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35599 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35600 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35601 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35602 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35603 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35605 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35606 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35607 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35608 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35609 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35610 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35611 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35612 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35613 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35614 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35615 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35616 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35617 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35618 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35619 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35620 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35621 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35622 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35623 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35624
65dc3b75
JM
356252012-02-03 Joseph Myers <joseph@codesourcery.com>
35626
35627 * math/tst-CMPLX.c: Include <stdio.h>.
35628
d55bf177
JM
356292012-01-31 Joseph Myers <joseph@codesourcery.com>
35630
35631 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35632 float.
35633 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35634 * sysdeps/sparc/bits/mathdef.h: Likewise.
35635
69db4f8f
MP
356362012-01-31 Marek Polacek <polacek@redhat.com>
35637
35638 * libio/libio.h: Don't define _PARAMS.
35639 * locale/programs/config.h: Don't define PARAMS.
35640 * stdlib/strtol_l.c: Likewise.
35641 (__strtol_l): Remove PARAMS from the prototype.
35642
41b81892
UD
356432012-01-31 Ulrich Drepper <drepper@gmail.com>
35644
3b49edc0
UD
35645 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35646 names. Just use the correct names. Remove unnecessary wrapper
35647 functions.
35648 * malloc/arena.c: Likewise.
35649 * malloc/hooks.c: Likewise.
35650
41b81892
UD
35651 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35652 ARENA_TEST says not to. Simplify test for creation of a new arena.
35653 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35654
27a25b6e
UD
356552012-01-30 Ulrich Drepper <drepper@gmail.com>
35656
35657 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35658 into tail calls.
35659 (update_get_addr): New function.
35660 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35661 GET_ADDR_MODULE parameter.
35662
c8a89e7d
JM
356632012-01-30 Joseph Myers <joseph@codesourcery.com>
35664
35665 * crypt/cert.c: Remove __STDC__ conditionals.
35666 * crypt/crypt-entry.c: Likewise.
35667 * crypt/crypt_util.c: Likewise.
35668 * libio/filedoalloc.c: Likewise.
35669 * libio/fileops.c: Likewise.
35670 * libio/genops.c: Likewise.
35671 * libio/iofclose.c: Likewise.
35672 * libio/iofdopen.c: Likewise.
35673 * libio/iofopen.c: Likewise.
35674 * libio/iofopen64.c: Likewise.
35675 * libio/iogetdelim.c: Likewise.
35676 * libio/iopopen.c: Likewise.
35677 * libio/obprintf.c: Likewise.
35678 * libio/oldfileops.c: Likewise.
35679 * libio/oldiofclose.c: Likewise.
35680 * libio/oldiofdopen.c: Likewise.
35681 * libio/oldiofopen.c: Likewise.
35682 * libio/oldiopopen.c: Likewise.
35683 * libio/wfiledoalloc.c: Likewise.
35684 * libio/wgenops.c: Likewise.
35685 * locale/programs/xmalloc.c: Likewise.
35686 * misc/syslog.c: Likewise.
35687 * stdio-common/xbug.c: Likewise.
35688 * string/memchr.c: Likewise.
35689 * string/memcmp.c: Likewise.
35690 * string/memrchr.c: Likewise.
35691 * string/rawmemchr.c: Likewise.
35692 * sysdeps/posix/getcwd.c: Likewise.
35693 * time/strftime_l.c: Likewise.
35694
3b100462
JM
356952012-01-30 Joseph Myers <joseph@codesourcery.com>
35696
35697 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35698 * config.make.in (config-cflags-sse2avx): Define.
35699 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35700 Fix typo.
35701
607998af
CM
357022012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35703
35704 * scripts/config.guess: Update from upstream config git repository.
35705 * scripts/config.sub: Likewise.
35706
3601428f
CM
357072012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35708
3ac8b282
CM
35709 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35710 (EM_NUM): Update.
35711 (R_TILEPRO_*, R_TILEGX_*): New macros.
35712
e034841e
CM
35713 * scripts/firstversions.awk: Fix bug in version range handling.
35714
540d7568
CM
35715 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35716
3601428f
CM
35717 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35718
463de862
CM
35719 * include/sys/epoll.h: New file.
35720 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35721 libc_hidden_def.
35722
73139a76
UD
357232012-01-28 Ulrich Drepper <drepper@gmail.com>
35724
96bc5b45
UD
35725 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35726 Avoid unnecessary __WORDSIZE == 64 test.
35727 (fmaxf): Use VEX format if possible.
35728 (fmax): Likewise.
35729 (fminf): Likewise.
35730 (fmin): Likewise.
35731
56f6f6a2
UD
35732 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35733 * math/math_private.h: Remove libc_fegetround* and
35734 libc_fesetround*.
35735 * sysdeps/i386/configure.in: Check for -msse2avx.
35736 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35737 also if SSE2AVX is defined.
35738 Remove libc_fegetround* and libc_fesetround*.
35739 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35740 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35742 of HAS_YMM_USABLE.
35743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35748
73139a76
UD
35749 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35750
d73f93a4
AZ
357512012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35752
35753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35754 size is not set.
35755 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35756
6ee65ed6
UD
357572012-01-27 Ulrich Drepper <drepper@gmail.com>
35758
35759 [BZ #13618]
35760 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35761 relocation.
35762 * Makeconfig (libm): Define.
35763 * elf/Makefile: Add rules to build and run tst-relsort1.
35764 * elf/tst-relsort1.c: New file.
35765 * elf/tst-relsort1mod1.c: New file.
35766 * elf/tst-relsort1mod2.c: New file.
35767
8db21882
JM
357682012-01-27 Joseph Myers <joseph@codesourcery.com>
35769
35770 * math/s_ldexp.c: Remove __STDC__ conditionals.
35771 * math/s_ldexpf.c: Likewise.
35772 * math/s_ldexpl.c: Likewise.
35773 * math/s_nextafter.c: Likewise.
35774 * math/s_nexttowardf.c: Likewise.
35775 * math/s_significand.c: Likewise.
35776 * math/s_significandf.c: Likewise.
35777 * math/s_significandl.c: Likewise.
35778 * math/w_jnl.c: Likewise.
35779 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35780 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35781 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35782 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35783 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35784 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35785 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35786 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35787 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35788 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35789 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35790 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35791 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35792 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35793 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35794 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35795 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35796 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35798 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35799 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35800 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35801 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35802 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35803 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35804 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35805 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35806 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35807 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35808 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35809 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35810 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35811 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35813 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35814 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35815 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35816 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35817 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35818 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35819 * sysdeps/ieee754/k_standard.c: Likewise.
35820 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35822 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35823 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35824 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35825 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35826 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35827 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35828 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35829 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35830 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35832 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35833 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35834 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35836 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35837 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35838 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35839 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35841 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35842 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35843 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35844 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35845 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35851 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35855 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35856 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35858 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35859 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35860 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35862 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35863 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35864 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35865 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35866 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35868 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35869 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35870 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35871 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35872 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35873 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35874 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35875 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35877 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35878 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35879 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35880 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35881 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35882 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35883 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35884 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35885 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35886 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35892 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35894 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35895 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35897 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35899 * sysdeps/ieee754/s_matherr.c: Likewise.
35900 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35901 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35904
965a54a4
JM
359052012-01-26 Joseph Myers <joseph@codesourcery.com>
35906
35907 * crypt/md5.h: Remove __STDC__ conditionals.
35908 * libio/libioP.h: Likewise.
35909 * locale/programs/config.h: Likewise.
35910 * sysdeps/generic/sysdep.h: Likewise.
35911 * sysdeps/i386/asm-syntax.h: Likewise.
35912 * sysdeps/s390/asm-syntax.h: Likewise.
35913 * sysdeps/unix/sysdep.h: Likewise.
35914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35916
7071ad79
JM
359172012-01-26 Joseph Myers <joseph@codesourcery.com>
35918
35919 * libio/libio.h: Remove __STDC__ conditionals.
35920 * malloc/obstack.h: Likewise.
35921 * math/complex.h: Likewise.
35922 * math/math.h: Likewise.
35923 * sysdeps/generic/_G_config.h: Likewise.
35924 * sysdeps/gnu/_G_config.h: Likewise.
35925 * sysdeps/mach/hurd/_G_config.h: Likewise.
35926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35927 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35928 * sysdeps/sparc/bits/mathdef.h: Likewise.
35929
afc5ed09
UD
359302012-01-26 Ulrich Drepper <drepper@gmail.com>
35931
35932 [BZ #13583]
35933 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35934 Clean up HAS_* macros.
afc5ed09 35935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35936 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35937 possible.
35938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35939 HAS_AVX.
35940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35941 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35942 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35945
bdb6de1d
JM
359462012-01-25 Joseph Myers <joseph@codesourcery.com>
35947
35948 * elf/tst-unique3.cc (gets): Remove declaration.
35949 * elf/tst-unique3lib.cc (gets): Likewise.
35950 * elf/tst-unique3lib2.cc (gets): Likewise.
35951 * elf/tst-unique4.cc (gets): Likewise.
35952
b15549e6
UD
359532012-01-24 Ulrich Drepper <drepper@gmail.com>
35954
35955 * include/stdio.h: Add C++ protection. Add gets declarations and
35956 definitions.
35957 * debug/tst-chk1.c: Don't declare gets here.
35958 * stdio-common/tst-gets.c: Likewise.
35959
a037381f
JM
359602012-01-24 Joseph Myers <joseph@codesourcery.com>
35961
35962 * posix/glob: Remove directory.
35963
f1d4aa75
JM
359642012-01-24 Joseph Myers <joseph@codesourcery.com>
35965
35966 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35967
81c0c964
PT
359682012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35969
35970 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35971 of the non-standard EPFNOSUPPORT.
35972
0ea698ae
ST
359732011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35974
35975 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35976 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35977 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35978
d220b117
UD
359792012-01-21 Ulrich Drepper <drepper@gmail.com>
35980
35981 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35982
3e1aa84e
UD
359832012-01-20 Ulrich Drepper <drepper@gmail.com>
35984
35985 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35986 transient errors.
35987 * nscd/grpcache.c (cache_addgr): Likewise.
35988 * nscd/hstcache.c (cache_addhst): Likewise.
35989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35990 * nscd/pwdcache.c (cache_addpw): Likewise.
35991 * nscd/servicescache.c (cache_addserv): Likewise.
35992
400aa020
UD
359932012-01-16 Ulrich Drepper <drepper@gmail.com>
35994
d77e7869
UD
35995 * malloc/malloc.c: Various cleanups.
35996 * malloc/hooks.c: Likewise.
35997
400aa020
UD
35998 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35999 * stdlib/bug-fmtmsg1.c: New file.
36000
36001 * stdlib/fmtmsg.c (init): Add missing unlock.
36002 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36003
e0a309cf
MP
360042012-01-12 Marek Polacek <polacek@redhat.com>
36005
36006 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36007 and _GNU_SOURCE.
36008
929d11c7
WS
360092012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36010
36011 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36012 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36013 macro to ensure uniqueness of label name.
36014 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36015 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36016
41d0e869
UD
360172012-01-11 Ulrich Drepper <drepper@gmail.com>
36018
0cc5ed3b
UD
36019 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36020
41d0e869
UD
36021 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36022 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36023 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36024 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36025
a47a831a
UD
360262012-01-10 Ulrich Drepper <drepper@gmail.com>
36027
daa891c0
UD
36028 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36029
36030 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36031 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36032 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36033
e58ef0f2
UD
36034 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36035
a47a831a 36036 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36037 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36040
36041 * math/bits/math-finite.h: Add ldexp support.
36042
a0bfc9c7
MP
360432012-01-10 Marek Polacek <polacek@redhat.com>
36044
36045 * locale/programs/localedef.h (show_archive_content): Add noreturn
36046 attribute.
36047
d6e97a1d
UD
360482012-01-09 Ulrich Drepper <drepper@gmail.com>
36049
36050 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36051
d5835c26
UD
360522012-01-08 Ulrich Drepper <drepper@gmail.com>
36053
e5f484c6
UD
36054 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36055
d5835c26
UD
36056 * io/Makefile (headers): Add bits/poll2.h.
36057
d1f741e9
WS
360582011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36059
36060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36061 typo #include statement.
36062
ec09c1c4
UD
360632012-01-08 Ulrich Drepper <drepper@gmail.com>
36064
36065 * include/sys/cdefs.h: Define __attribute_alloc_size.
36066 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36067 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36068 * elf/pldd.c: Likewise.
36069 * iconv/iconv_charmap.c: Likewise.
36070 * iconv/iconvconfig.c: Likewise.
36071 * iconv/strtab.c: Likewise.
36072 * locale/programs/locale.c: Likewise.
36073 * locale/programs/localedef.h: Likewise.
36074 * locale/programs/simple-hash.c: Likewise.
36075 * nscd/nscd.h: Likewise.
36076 * nss/makedb.c: Likewise.
36077 * sysdeps/generic/ldconfig.h: Likewise.
36078 * locale/programs/localedef.c: Remove xmalloc prototype.
36079 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36080
20b38e03
PP
360812012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36082
36083 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36084 appropriate.
36085
a0da5fe1
UD
360862012-01-08 Ulrich Drepper <drepper@gmail.com>
36087
1d5a644a 36088 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36089 * math/tst-CMPLX.c: New file.
1d5a644a 36090
8784a6db
UD
36091 * math/complex.h (CMPLXL): Fix typo.
36092
d9a216c0
UD
36093 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36094 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36095 GLIBC_2.16.
36096 * debug/tst-chk1.c: Add poll and ppoll tests.
36097 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36098 * include/sys/poll.h: Add hidden proto for ppoll.
36099 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36100 * sysdeps/mach/hurd/ppoll.c: Likewise.
36101 * io/ppoll.c: Likewise.
36102 * debug/poll_chk.c: New file.
36103 * debug/ppoll_chk.c: New file.
36104 * include/bits/poll2.h: New file.
36105 * io/bits/poll2.h: New file.
36106
ac097f5c
UD
36107 [BZ #1350]
36108 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36109
2119dcfa
UD
36110 * configure.in: static is always set to yes. Remove.
36111 * config.make.in: Don't set build-static.
36112 * Makeconfig: Remove use of build-static.
36113 * dlfcn/Makefile: Likewise.
36114 * elf/Makefile: Likewise.
36115 * math/Makefile: Likewise.
36116 * misc/Makefile: Likewise.
36117 * nptl/Makefile: Likewise.
36118 * sysdeps/mach/hurd/Makefile: Likewise.
36119
121766a9
UD
36120 * configure.in: PWD_P is not used anymore.
36121 * config.make.in: Remove PWD_P entry.
36122
51a1d39c 36123 * configure.in: Remove last remnants of RANLIB.
8720d066 36124 No need to check for signed size_t anymore.
215f4bdc
UD
36125 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36126 and IA-64.
3857022a 36127 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36128 * aclocal.m4: Likewise.
36129
d3ed7225
UD
36130 * wcsmbs/mbrtoc16.c: Implement using towc function.
36131 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36132 * wcsmbs/wcsmbsload.c: Likewise.
36133 * iconv/gconv_simple.c: Likewise.
36134 * iconv/gconv_int.h: Likewise.
36135 * iconv/gconv_builtin.h: Likewise.
36136 * iconv/iconv_prog.c: Remove CHAR16 handling.
36137
36138 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36139
36140 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36141
a0da5fe1
UD
36142 * configure.in: Remove --with-elf and --enable-bounded options.
36143 Dont set base_machine for ia64. More non-ELF conditions removed.
36144 Remove testing and setting of leading underscore information.
36145 * config.make.in (build-bounded): Set to no.
36146 * config.h.in: Remove NO_UNDERSCORES entry.
36147 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36148 them.
36149 * csu/start.c: Remove !NO_UNDERSCORE code.
36150 * locale/localeinfo.h: Likewise.
36151 * sysdeps/generic/machine-gmon.h: Likewise.
36152 * sysdeps/generic/sysdep.h: Likewise.
36153 * sysdeps/i386/sysdep.h: Likewise.
36154 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36155 * sysdeps/mach/sysdep.h: Likewise.
36156 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36158 * sysdeps/sh/sysdep.h: Likewise.
36159 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36160 * sysdeps/unix/i386/sysdep.S: Likewise.
36161 * sysdeps/unix/sparc/start.c: Likewise.
36162 * sysdeps/unix/sparc/sysdep.S: Likewise.
36163 * sysdeps/unix/sparc/sysdep.h: Likewise.
36164 * sysdeps/unix/start.c: Likewise.
36165 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36166 * sysdeps/x86_64/sysdep.h: Likewise.
36167
df78418a
UD
361682012-01-07 Ulrich Drepper <drepper@gmail.com>
36169
a784e502
UD
36170 [BZ #13553]
36171 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36172 for non-gcc.
36173 * argp/argp-fmtstream.h: Use const instead __const.
36174 * argp/argp.h: Likewise.
36175 * assert/assert.h: Likewise.
36176 * bits/fenv.h: Likewise.
36177 * bits/sched.h: Likewise.
36178 * bits/sigset.h: Likewise.
36179 * bits/sigthread.h: Likewise.
36180 * catgets/nl_types.h: Likewise.
36181 * conform/data/pthread.h-data: Likewise.
36182 * crypt/crypt-private.h: Likewise.
36183 * crypt/crypt.h: Likewise.
36184 * crypt/crypt_util.c: Likewise.
36185 * ctype/ctype.h: Likewise.
36186 * debug/execinfo.h: Likewise.
36187 * debug/mbsnrtowcs_chk.c: Likewise.
36188 * debug/mbsrtowcs_chk.c: Likewise.
36189 * debug/wcsnrtombs_chk.c: Likewise.
36190 * debug/wcsrtombs_chk.c: Likewise.
36191 * debug/wcstombs_chk.c: Likewise.
36192 * dirent/dirent.h: Likewise.
36193 * dlfcn/dlfcn.h: Likewise.
36194 * elf/neededtest4.c: Likewise.
36195 * grp/grp.h: Likewise.
36196 * gshadow/gshadow.h: Likewise.
36197 * iconv/gconv.h: Likewise.
36198 * iconv/gconv_int.h: Likewise.
36199 * iconv/gconv_simple.c: Likewise.
36200 * iconv/iconv.h: Likewise.
36201 * iconv/loop.c: Likewise.
36202 * iconv/skeleton.c: Likewise.
36203 * include/aio.h: Likewise.
36204 * include/aliases.h: Likewise.
36205 * include/argz.h: Likewise.
36206 * include/arpa/inet.h: Likewise.
36207 * include/assert.h: Likewise.
36208 * include/dirent.h: Likewise.
36209 * include/dlfcn.h: Likewise.
36210 * include/execinfo.h: Likewise.
36211 * include/fcntl.h: Likewise.
36212 * include/fenv.h: Likewise.
36213 * include/glob.h: Likewise.
36214 * include/grp.h: Likewise.
36215 * include/libintl.h: Likewise.
36216 * include/mntent.h: Likewise.
36217 * include/netdb.h: Likewise.
36218 * include/pwd.h: Likewise.
36219 * include/rpc/netdb.h: Likewise.
36220 * include/sched.h: Likewise.
36221 * include/search.h: Likewise.
36222 * include/shadow.h: Likewise.
36223 * include/signal.h: Likewise.
36224 * include/stdio.h: Likewise.
36225 * include/stdlib.h: Likewise.
36226 * include/string.h: Likewise.
36227 * include/sys/socket.h: Likewise.
36228 * include/sys/stat.h: Likewise.
36229 * include/sys/statfs.h: Likewise.
36230 * include/sys/statvfs.h: Likewise.
36231 * include/sys/syslog.h: Likewise.
36232 * include/sys/time.h: Likewise.
36233 * include/sys/uio.h: Likewise.
36234 * include/time.h: Likewise.
36235 * include/unistd.h: Likewise.
36236 * include/utmp.h: Likewise.
36237 * include/wchar.h: Likewise.
36238 * include/wctype.h: Likewise.
36239 * inet/aliases.h: Likewise.
36240 * inet/arpa/inet.h: Likewise.
36241 * inet/netinet/ether.h: Likewise.
36242 * inet/netinet/in.h: Likewise.
36243 * intl/libintl.h: Likewise.
36244 * io/bits/fcntl2.h: Likewise.
36245 * io/fcntl.h: Likewise.
36246 * io/ftw.h: Likewise.
36247 * io/sys/poll.h: Likewise.
36248 * io/sys/stat.h: Likewise.
36249 * io/sys/statfs.h: Likewise.
36250 * io/sys/statvfs.h: Likewise.
36251 * io/utime.h: Likewise.
36252 * libio/bits/stdio.h: Likewise.
36253 * libio/bits/stdio2.h: Likewise.
36254 * libio/libio.h: Likewise.
36255 * libio/libioP.h: Likewise.
36256 * libio/stdio.h: Likewise.
36257 * locale/lc-ctype.c: Likewise.
36258 * locale/locale.h: Likewise.
36259 * login/utmp.h: Likewise.
36260 * malloc/arena.c: Likewise.
36261 * malloc/malloc.c: Likewise.
36262 * malloc/malloc.h: Likewise.
36263 * malloc/mcheck.c: Likewise.
36264 * malloc/mtrace.c: Likewise.
36265 * math/bits/mathcalls.h: Likewise.
36266 * math/fenv.h: Likewise.
36267 * math/math_private.h: Likewise.
36268 * misc/bits/error.h: Likewise.
36269 * misc/bits/syslog.h: Likewise.
36270 * misc/err.h: Likewise.
36271 * misc/error.h: Likewise.
36272 * misc/fstab.h: Likewise.
36273 * misc/mntent.h: Likewise.
36274 * misc/regexp.h: Likewise.
36275 * misc/search.h: Likewise.
36276 * misc/sgtty.h: Likewise.
36277 * misc/sys/mman.h: Likewise.
36278 * misc/sys/syslog.h: Likewise.
36279 * misc/sys/uio.h: Likewise.
36280 * misc/sys/xattr.h: Likewise.
36281 * misc/ttyent.h: Likewise.
36282 * nis/rpcsvc/ypclnt.h: Likewise.
36283 * nss/nss.h: Likewise.
36284 * posix/bits/unistd.h: Likewise.
36285 * posix/fnmatch.h: Likewise.
36286 * posix/glob.h: Likewise.
36287 * posix/sched.h: Likewise.
36288 * posix/spawn.h: Likewise.
36289 * posix/sys/wait.h: Likewise.
36290 * posix/unistd.h: Likewise.
36291 * posix/wordexp.h: Likewise.
36292 * pwd/pwd.h: Likewise.
36293 * resolv/netdb.h: Likewise.
36294 * resource/sys/resource.h: Likewise.
36295 * rt/aio.h: Likewise.
36296 * rt/bits/mqueue2.h: Likewise.
36297 * rt/mqueue.h: Likewise.
36298 * shadow/shadow.h: Likewise.
36299 * signal/signal.h: Likewise.
36300 * socket/send.c: Likewise.
36301 * socket/sendto.c: Likewise.
36302 * socket/sys/socket.h: Likewise.
36303 * stdio-common/printf.h: Likewise.
36304 * stdlib/bits/stdlib.h: Likewise.
36305 * stdlib/fmtmsg.h: Likewise.
36306 * stdlib/monetary.h: Likewise.
36307 * stdlib/stdlib.h: Likewise.
36308 * stdlib/ucontext.h: Likewise.
36309 * streams/stropts.h: Likewise.
36310 * string/argz.h: Likewise.
36311 * string/bits/string2.h: Likewise.
36312 * string/string.h: Likewise.
36313 * string/strings.h: Likewise.
36314 * sunrpc/rpc/auth.h: Likewise.
36315 * sunrpc/rpc/auth_des.h: Likewise.
36316 * sunrpc/rpc/clnt.h: Likewise.
36317 * sunrpc/rpc/netdb.h: Likewise.
36318 * sunrpc/rpc/pmap_clnt.h: Likewise.
36319 * sunrpc/rpc/xdr.h: Likewise.
36320 * sysdeps/generic/inttypes.h: Likewise.
36321 * sysdeps/generic/net/if.h: Likewise.
36322 * sysdeps/generic/sys/swap.h: Likewise.
36323 * sysdeps/gnu/net/if.h: Likewise.
36324 * sysdeps/gnu/utmpx.h: Likewise.
36325 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36326 * sysdeps/i386/i486/bits/string.h: Likewise.
36327 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36328 * sysdeps/s390/bits/string.h: Likewise.
36329 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36330 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36331 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36332 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36333 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36334 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36335 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36336 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36337 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36338 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36339 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36340 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36341 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36342 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36343 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36344 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36345 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36347 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36349 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36350 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36351 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36352 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36353 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36354 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36355 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36357 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36358 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36359 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36360 * sysvipc/sys/ipc.h: Likewise.
36361 * sysvipc/sys/msg.h: Likewise.
36362 * sysvipc/sys/sem.h: Likewise.
36363 * sysvipc/sys/shm.h: Likewise.
36364 * termios/termios.h: Likewise.
36365 * time/sys/time.h: Likewise.
36366 * time/time.h: Likewise.
36367 * wcsmbs/bits/wchar2.h: Likewise.
36368 * wcsmbs/uchar.h: Likewise.
36369 * wcsmbs/wchar.h: Likewise.
36370 * wctype/wctype.h: Likewise.
36371
0269750c
UD
36372 [BZ #13551]
36373 * Makeconfig: Remove all but ELF support including AIX support.
36374 * Makerules: Likewise.
36375 * config.h.in: Likewise.
36376 * config.make.in: Likewise.
36377 * configure: Likewise.
36378 * configure.in: Likewise.
36379 * csu/Makefile: Likewise.
36380 * csu/version.c: Likewise.
36381 * debug/Makefile: Likewise.
36382 * dlfcn/Makefile: Likewise.
36383 * elf/Makefile: Likewise.
36384 * extra-lib.mk: Likewise.
36385 * iconv/Makefile: Likewise.
36386 * include/libc-symbols.h: Likewise.
36387 * include/shlib-compat.h: Likewise.
36388 * resolv/Makefile: Likewise.
36389 * resolv/res_libc.c: Likewise.
36390 * rt/Makefile: Likewise.
36391 * sysdeps/i386/asm-syntax.h: Likewise.
36392 * sysdeps/i386/sysdep.h: Likewise.
36393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36394 * sysdeps/mach/sysdep.h: Likewise.
36395 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36396 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36397 * sysdeps/s390/asm-syntax.h: Likewise.
36398 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36400 * sysdeps/sh/sysdep.h: Likewise.
36401 * sysdeps/unix/sparc/sysdep.h: Likewise.
36402 * sysdeps/wordsize-32/divdi3.c: Likewise.
36403 * sysdeps/x86_64/sysdep.h: Likewise.
36404
00bbd29b
UD
36405 * argp/Versions: Remove _argp_unlock_xxx.
36406
36407 [BZ #13559]
36408 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36409 * abilist/libBrokenLocale.abilist: Likewise.
36410 * abilist/libanl.abilist: Likewise.
36411 * abilist/libc.abilist: Likewise.
36412 * abilist/libcrypt.abilist: Likewise.
36413 * abilist/libdl.abilist: Likewise.
36414 * abilist/libm.abilist: Likewise.
36415 * abilist/libnsl.abilist: Likewise.
36416 * abilist/libpthread.abilist: Likewise.
36417 * abilist/libresolv.abilist: Likewise.
36418 * abilist/librt.abilist: Likewise.
36419 * abilist/libthread_db.abilist: Likewise.
36420 * abilist/libutil.abilist: Likewise.
36421 * abilist/libnss_db.abilist: New file.
36422
36423 * scripts/abilist.awk: Add support for indirect functions.
36424
a2693a0e
UD
36425 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36426
3f05895f
UD
36427 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36428
ecb6fb48
UD
36429 * shlib-versions: Remove entries for ports architectures.
36430
664f8cb9
UD
36431 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36432 files in ports.
36433 * elf/stackguard-macros.h: Remove support for IA-64.
36434 * elf/tst-auditmod1.c: Likewise.
36435 * sysdeps/generic/ldsodefs.h: Likewise.
36436
7ae81d88
UD
36437 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36438 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36439 configure files.
36440
bdeba135
UD
36441 [BZ #13552]
36442 * configure.in: Remove --enable-omitfp support.
36443 * FAQ.in: Adjust.
36444 * config.make.in: Likewise.
36445 * Makeconfig: Likewise.
36446 * manual/install.texi: Likewise.
36447
d75a0a62
UD
36448 In case anyone cares, the IA-64 architecture could move to ports.
36449 * sysdeps/ia64/*: Removed.
36450 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36451 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36452
dcc9756b
UD
36453 [BZ #13555]
36454 * configure.in: Remove entries for unsupported architectures.
36455
d3761ebc 36456 [BZ #13533]
9954432e
UD
36457 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36458 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36459 routines.
36460 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36461 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36462 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36463 fall back to using wcrtomb.
36464 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36465 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36466 renaming.
36467 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36468 * wcsmbs/tst-c16c32-1.c: New file.
36469
36470 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36471 local variable.
36472
c3a87236
UD
36473 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36474
28926a1b
UD
36475 * elf/tst-unique3.cc: Add explicit declaration of gets.
36476 * elf/tst-unique3lib.cc: Likewise.
36477 * elf/tst-unique3lib2.cc: Likewise.
36478 * elf/tst-unique4.cc: Likewise.
36479
df78418a
UD
36480 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36481
8ecd6b2a
JM
364822012-01-06 Joseph Myers <joseph@codesourcery.com>
36483
36484 [BZ #13566]
36485 * assert/assert.h (static_assert): Don't define for C++.
36486 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36487 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36488
9f115170
UD
364892012-01-03 Ulrich Drepper <drepper@gmail.com>
36490
5e0d0300
UD
36491 * iconv/loop.c (single loop): Fix assertion in storing of
36492 remaining bytes.
36493
9f115170
UD
36494 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36495
81fb02b0
UD
364962012-01-01 Ulrich Drepper <drepper@gmail.com>
36497
36498 * posix/getconf.c: Update copyright year.
36499 * nss/getent.c: Likewise.
a316c1f6 36500 * nss/makedb.c: Likewise.
81fb02b0
UD
36501 * iconv/iconvconfig.c: Likewise.
36502 * iconv/iconv_prog.c: Likewise.
36503 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36504 * elf/pldd.c: Likewise.
36505 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36506 * catgets/gencat.c: Likewise.
36507 * csu/version.c: Likewise.
36508 * elf/ldd.bash.in: Likewise.
36509 * elf/sprof.c (print_version): Likewise.
36510 * locale/programs/locale.c: Likewise.
36511 * locale/programs/localedef.c: Likewise.
a316c1f6 36512 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36513 * nscd/nscd.c (print_version): Likewise.
36514 * debug/xtrace.sh: Likewise.
36515 * malloc/memusage.sh: Likewise.
36516 * malloc/mtrace.pl: Likewise.
36517 * debug/catchsegv.sh: Likewise.
36518
2ba92745
JJ
365192011-12-30 Jakub Jelinek <jakub@redhat.com>
36520
36521 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36522 pure attribute.
36523
dadebdae
UD
365242011-12-24 Ulrich Drepper <drepper@gmail.com>
36525
d3761ebc 36526 [BZ #13533]
db6af3eb
UD
36527 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36528 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36529 transformations.
36530 * iconv/gconv_int.h: Likewise.
36531 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36532 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36533 from libc for GLIBC_2.16.
36534 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36535 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36536 * wcsmbs/uchar.h: Really define mbstate_t.
36537 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36538 * wcsmbs/c16rtomb.c: New file.
36539 * wcsmbs/mbrtoc16.c: New file.
36540 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36541 for C/POSIX locale.
36542 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36543 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36544
dadebdae
UD
36545 * wcsmbs/wchar.h: Add missing __restrict.
36546
67371b56
UD
365472011-12-23 Ulrich Drepper <drepper@gmail.com>
36548
74033a25
UD
36549 [BZ #13532]
36550 * time/Makefile (routines): Add timespec_get.
36551 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36552 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36553 timespec for ISO C11.
36554 * time/timespec_get.c: New file.
36555 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36556 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36557
380d7e87
UD
36558 [BZ #13531]
36559 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36560 * stdlib/stdlib.h: Declare aligned_alloc.
36561 * Versions.def: Add GLIBC_2.16 for libc.
36562 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36563
4e9e7a35
UD
36564 [BZ 13527]
36565 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36566 ISO C11.
36567
380d7e87 36568 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36569 code.
36570
03a71829
UD
36571 [BZ #13528]
36572 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36573
839e283e
UD
36574 [BZ #13529]
36575 * assert/assert.h (static_assert): Define.
36576
ce5294e2 36577 * version.h: Update for 2.16 development version.
90fa7312 36578
8d44e150 36579 [BZ #13526]
d7809905
UD
36580 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36581 _ISOC11_SOURCE.
36582
c0da14cd
UD
36583 * version.h (RELEASE): Bump for 2.15 release.
36584 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36585
530a3249
MP
36586 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36587 Patch by Marek Polacek <mpolacek@redhat.com>.
36588
67371b56
UD
36589 * bits/byteswap.h: Protect long long constants with __extension__.
36590 * sysdeps/i386/bits/byteswap.h: Likewise.
36591 * sysdeps/ia64/bits/byteswap.h: Likewise.
36592 * sysdeps/s390/bits/byteswap.h: Likewise.
36593 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36594
15db4de1
LD
365952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36596
36597 [BZ #13540]
bbe315ea
LD
36598 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36599 destination buffer.
15db4de1
LD
36600 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36601
2b2596b1
MP
366022011-12-23 Marek Polacek <polacek@redhat.com>
36603
36604 * elf/dl-addr.c (determine_info): Add inline keyword.
36605 * elf/tst-auditmod4b.c (check_avx): Likewise.
36606 * elf/tst-auditmod6b.c (check_avx): Likewise.
36607 * elf/tst-auditmod6c.c (check_avx): Likewise.
36608 * elf/tst-auditmod7b.c (check_avx): Likewise.
36609
70c6c246
UD
366102011-12-23 Ulrich Drepper <drepper@gmail.com>
36611
36612 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36613 !__SSE_MATH__.
36614
c044cf14
LD
366152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36616
15db4de1 36617 [BZ #13540]
c044cf14
LD
36618 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36619 processing for last bytes.
36620
6b13d9d9
BH
366212011-08-06 Bruno Haible <bruno@clisp.org>
36622
d455f537
BH
36623 [BZ #13061]
36624 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36625 U+0385, not to U+1FEE.
36626
6b13d9d9
BH
36627 [BZ #13062]
36628 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36629 entry for U+00A5 U+0301.
36630
db910efd
UD
366312011-12-22 Ulrich Drepper <drepper@gmail.com>
36632
27deeafc
UD
36633 [BZ #13166]
36634 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36635 buffer for the output is too small.
36636
aed9d171
UD
36637 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36638 optimization.
36639
db910efd
UD
36640 [BZ #13185]
36641 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36642 SSE flags if possible.
36643
2bd779ae
LD
366442011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36645
e7f9dac3 36646 [BZ #13540]
2bd779ae
LD
36647 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36648 processing for last bytes.
36649
154bfc16
JM
366502011-12-22 Joseph Myers <joseph@codesourcery.com>
36651
36652 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36653 (syscall-list-default-options, syscall-list-default-condition)
36654 (syscall-list-includes): Define.
36655 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36656 list of ABIs and options and #if conditions for each ABI. Do not
36657 handle common syscalls between ABIs specially.
36658 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36659 Remove.
36660 (syscall-list-variants, syscall-list-32bit-options)
36661 (syscall-list-32bit-condition, syscall-list-64bit-options)
36662 (syscall-list-64bit-condition): Define.
36663 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36664 (syscall-list-variants, syscall-list-32bit-options)
36665 (syscall-list-32bit-condition, syscall-list-64bit-options)
36666 (syscall-list-64bit-condition): Define.
36667 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36668 Remove.
36669 (syscall-list-variants, syscall-list-32bit-options)
36670 (syscall-list-32bit-condition, syscall-list-64bit-options)
36671 (syscall-list-64bit-condition): Define.
36672 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36673 Remove.
36674 (syscall-list-variants, syscall-list-32bit-options)
36675 (syscall-list-32bit-condition, syscall-list-64bit-options)
36676 (syscall-list-64bit-condition): Define.
36677
21eaf3a5
UD
366782011-12-22 Ulrich Drepper <drepper@gmail.com>
36679
16c6f992
UD
36680 * locale/iso-639.def: Add brx entry.
36681
41043168
UD
36682 [BZ #13328]
36683 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36684 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36685
21eaf3a5
UD
36686 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36687 __feraiseexcept_renamed.
36688
e3a851a2
UD
366892011-12-21 Ulrich Drepper <drepper@gmail.com>
36690
4920765e
UD
36691 [BZ #13538]
36692 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36693 EPOLLET with unsigned values.
36694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36695 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36696
e3a851a2
UD
36697 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36698 to large cancellation.
36699 * math/s_cacoshf.c: Likewise.
36700 * math/s_cacoshl.c: Likewise.
36701
b27e24b8
RK
367022011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36703
36704 [BZ #13305]
aebefeee 36705 [BZ #12786]
b27e24b8
RK
36706 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36707 * math/s_cacoshf.c: Likewise.
36708 * math/s_cacoshl.c: Likewise.
36709
ee190f67
UD
367102011-12-21 Ulrich Drepper <drepper@gmail.com>
36711
36712 [BZ #13439]
36713 * iconv/gconv.h: Define __GCONV_SWAP.
36714 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36715 * iconvdata/utf-16.c: Likewise.
36716 * iconvdata/utf-32.c: Likewise.
36717
707f25df
AS
367182011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36719
36720 [BZ #13524]
36721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36722 numerator after shifting it by one limb.
36723
d2daaa1e
RÁE
367242011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36725
36726 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36727 under [__USE_EXTERN_INLINES].
36728
a4647e72
UD
367292011-12-17 Ulrich Drepper <drepper@gmail.com>
36730
36731 [BZ #13446]
36732 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36733
f0b264f1
AZ
367342011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36735
36736 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36737 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36738 optimized code.
36739 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36740 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36741 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36742 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36743 for strncasecmp/strncasecmp_l compilation.
36744 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36745 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36746
8ef4f244
MP
367472011-12-08 Marek Polacek <mpolacek@redhat.com>
36748
36749 [BZ #13484]
36750 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36751 of __asm__.
36752
97ac2654
UD
367532011-12-17 Ulrich Drepper <drepper@gmail.com>
36754
36755 [BZ #13506]
36756 * time/tzfile.c (__tzfile_read): Check values from file header.
36757
91d2a845
WS
367582011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36759
36760 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36761 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36762 * powerpc/powerpc32/dl-start.S: Likewise.
36763 * powerpc/powerpc32/elf/start.S: Likewise.
36764 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36765 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36766 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36767 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36768 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36769 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36770 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36771 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36772 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36773 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36774 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36775 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36776 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36777 * powerpc/powerpc32/memset.S: Likewise.
36778 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36779 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36780 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36781 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36782 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36783 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36784 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36785 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36786 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36787 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36788 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36789 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36790 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36791
a1267ba1
AZ
367922011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36793
36794 * math/libm-test.inc: Added more nearbyint tests.
36795 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36796 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36799
ad8ac1bd
RL
368002011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36801
36802 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36803 FD_CLOEXEC.
36804
1d3e4b61
UD
368052011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36806
36807 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36808 Add wcscpy-ssse3 wcscpy-c.
36809 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36810 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36811 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36812 * sysdeps/x86_64/wcschr.S: New file.
36813 * sysdeps/x86_64/wcsrchr.S: New file.
36814 * string/test-strcmp.c: Remove checking of wcscmp function for
36815 wrong alignments.
36816 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36817 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36818 wcsrchr-sse2 wcsrchr-c.
36819 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36820 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36821 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36822 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36823 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36824 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36825 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36826 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36827 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36828 * wcsmbc/wcschr.c (WCSCHR): New macro.
36829
5b330a2d
UD
368302011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36831
36832 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36833 * wcsmbs/test-wcsrchr.c: New file.
36834 * string/test-strrchr.c: Add wcsrchr support.
36835 (WIDE): New macro.
36836 * wcsmbs/test-wcscpy.c: New file.
36837 * string/test-strcpy.c: Add wcscpy support.
36838 (WIDE): New macro.
26428b7c 36839
f039c043
UD
368402011-12-10 Ulrich Drepper <drepper@gmail.com>
36841
36842 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36843 the inner loop.
36844
850fb039
AS
368452011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36846
36847 [BZ #13472]
36848 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36849
4efbd5cb
UD
368502011-12-04 Ulrich Drepper <drepper@gmail.com>
36851
52ff5dd0 36852 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36853 Minor optimizations.
52ff5dd0 36854
4efbd5cb
UD
36855 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36856 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36857 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36858
8a426e12
UD
368592011-12-03 Ulrich Drepper <drepper@gmail.com>
36860
aff2453d
UD
36861 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36862 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36863 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36864 for gcc to avoid warnings.
36865 * inet/Makefile (tests): Add tst-checks.
36866 * inet/tst-checks.c: New file.
36867
36868 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36869 warning.
36870
36871 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36872 __wmemcmp_sse2.
36873
36874 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36875 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36876
8a426e12
UD
36877 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36878
9bea3473
UD
368792011-12-02 Ulrich Drepper <drepper@gmail.com>
36880
3a965496
UD
36881 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36882 problem.
36883
9bea3473
UD
36884 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36885
f101631b
UD
368862011-11-29 Joseph Myers <joseph@codesourcery.com>
36887
36888 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36889 conditional on GCC version.
36890 (__arch_compare_and_exchange_val_8_acq)
36891 (__arch_compare_and_exchange_val_16_acq)
36892 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36893 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36894 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36895
a98275aa
UD
368962011-12-02 Joseph Myers <joseph@codesourcery.com>
36897
36898 * sysdeps/sh/backtrace.c: New file.
36899
d4cc29a2
AS
369002011-12-02 Andreas Schwab <schwab@redhat.com>
36901
36902 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36903 parenthesis.
36904
6257af2d
AS
369052011-12-01 Andreas Schwab <schwab@redhat.com>
36906
36907 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36908 falling back to utime.
36909
b5f44c1a
AS
369102011-11-30 Andreas Schwab <schwab@redhat.com>
36911
36912 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36913 expectations for float.
36914
f3a6cc0a
AS
369152011-11-29 Andreas Schwab <schwab@redhat.com>
36916
36917 * locale/weight.h (findidx): Add parameter len.
36918 * locale/weightwc.h (findidx): Likewise.
36919 * posix/fnmatch_loop.c (FCT): Adjust caller.
36920 * posix/regcomp.c (build_equiv_class): Likewise.
36921 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36922 * posix/regexec.c (check_node_accept_bytes): Likewise.
36923 * string/strcoll_l.c (STRCOLL): Likewise.
36924 * string/strxfrm_l.c (STRXFRM): Likewise.
36925
9d65ea3a
UD
369262011-11-17 Ulrich Drepper <drepper@gmail.com>
36927
36928 * Makefile.in: Remove CVSOPT handling.
36929 * configure.in: Remove use of AC_REVISION.
36930 * iconvdata/Makefile (distribute): No need to filter out CVS.
36931 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36932 handling.
36933
5583a086
AS
369342011-11-16 Andreas Schwab <schwab@redhat.com>
36935
36936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36937 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36938 [USE_AS_STRNCASECMP_L]: Likewise.
36939 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36940 NO_TLS_DIRECT_SEG_REFS.
36941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36942 Fix argument offsets for non-PIC.
36943 [USE_AS_STRNCASECMP_L]: Likewise.
36944 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36945 NO_TLS_DIRECT_SEG_REFS.
36946
d62a8200
UD
369472011-11-15 Ulrich Drepper <drepper@gmail.com>
36948
9d65ea3a 36949 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36950 O_CLOEXEC.
36951 * locale/loadlocale.c (_nl_load_locale): Likewise.
36952
09f93bd3
AS
369532011-11-15 Andreas Schwab <schwab@redhat.com>
36954
446514f9
AS
36955 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36956 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36957 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36958 (SYSCALL_GETTIME): Set errno on error.
36959
09f93bd3
AS
36960 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36961 count references to noai6ai_cached.
36962
312be3f9
UD
369632011-11-15 Ulrich Drepper <drepper@gmail.com>
36964
36965 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36966
36967 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36968 FD_CLOEXEC for /proc/self/maps.
36969
36970 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36971 FD_CLOEXEC for /proc/meminfo.
36972
36973 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36974 gai.conf.
36975
36976 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36977 FD_CLOEXEC for given file.
36978
36979 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36980
36981 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36982 FD_CLOEXEC for /etc/hosts.
36983 (_gethtent): Likewise.
36984
36985 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36986
36987 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36988 cancellation and set FD_CLOEXEC for /etc/netgroup.
36989
36990 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36991 reading /etc/publickey.
36992
36993 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36994 allow cancellation when reading /etc/group.
36995
36996 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36997 cancellation.
36998 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36999
37000 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37001 when using data file.
37002
37003 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37004
37005 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37006 (write_nis_obj): Use "c" and "e" in fopen.
37007
37008 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37009
37010 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37011
37012 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37013
37014 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37015
37016 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37017 locale.alias.
37018
37019 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37020
37021 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37022
37023 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37024
37025 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37026 file parsing and set FD_CLOEXEC.
37027
82af0fa8
UD
370282011-11-14 Ulrich Drepper <drepper@gmail.com>
37029
37030 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37031
a5fb313c
AS
370322011-11-14 Andreas Schwab <schwab@redhat.com>
37033
37034 * malloc/arena.c (arena_get2): Don't call reused_arena when
37035 _int_new_arena failed.
37036
6abf3465
UD
370372011-11-14 Ulrich Drepper <drepper@gmail.com>
37038
37039 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37040 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37042 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37043 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37044 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37045 to compile strcasecmp and strncasecmp.
37046 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37047 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37048
37049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37050
76e3966e
UD
370512011-11-13 Ulrich Drepper <drepper@gmail.com>
37052
37053 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37054 locale-defines.sym to gen-as-const-headers.
37055 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37056 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37058 to compile strcasecmp and strncasecmp.
37059 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37060 strcasecmp_l and strncasecmp_l.
37061 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37062 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37063 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37064 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37065 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37066 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37067 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37068 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37069 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37070 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37071 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37072
ab26144e
UD
370732011-11-12 Ulrich Drepper <drepper@gmail.com>
37074
7edb22ef
UD
37075 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37076 result of SYSDEP_GETTIME_CPU to retval.
37077 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37078 parameter list to macro. Remove trailing semicolon. Adjust users.
37079
9694fc44
UD
37080 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37081 variable.
37082
8ad89ef8
UD
37083 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37084 mantissa words.
37085 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37086
0c822ef9
UD
37087 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37088 from unused variable.
37089
874e0564
UD
37090 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37091 DWARF definitions.
37092 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37093 for assembling.
37094
3a2edc79
UD
37095 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37096 over namespaces.
37097
f3c2577f
UD
37098 * sunrpc/rpc_prot.c (rejected): Fix case value.
37099
294ce126
UD
37100 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37101 unsigned long long int to avoid warnings in shift.
37102
5e2b63c6
UD
37103 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37104 of use of trans.
37105 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37106 variable tmp.
37107
e7f4b08e
UD
37108 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37109 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37110 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37111
ab26144e
UD
37112 * nis/nis_table.c (nis_list): Use variable of correct type for
37113 result of __follow_path call.
37114
8a6d5255
AZ
371152011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37116
37117 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37118 of math functions ceil, trunc, floor, round, and sqrt, when
37119 avaliable on the platform.
37120 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37121 name clash.
37122 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37123 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37124 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37125
aaddc98c
MP
371262011-10-30 Marek Polacek <mpolacek@redhat.com>
37127
37128 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37129 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37130
95b7042b
RM
371312011-11-11 Roland McGrath <roland@hack.frob.com>
37132
37133 * include/unistd.h: Fix __readlink return type.
37134 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37135
57769839
UD
371362011-11-11 Ulrich Drepper <drepper@gmail.com>
37137
37138 * stdlib/ucontext.h: Undo last change for makecontext.
37139
edc5984d
AS
371402011-11-11 Andreas Schwab <schwab@redhat.com>
37141
98591e58
AS
37142 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37143
edc5984d
AS
37144 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37145 * setjmp/setjmp.h: Mark functions as non-leaf.
37146 * setjmp/bits/setjmp2.h: Likewise.
37147 * stdlib/ucontext.h: Likewise.
37148
77cdc054
AS
371492011-11-10 Andreas Schwab <schwab@redhat.com>
37150
37151 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37152 (reused_arena): Don't check arena limit.
37153 (arena_get2): Atomically check arena limit.
37154
fe72eebd
UD
371552011-11-08 Ulrich Drepper <drepper@gmail.com>
37156
5f078c32
UD
37157 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37158 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37159
fe72eebd
UD
37160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37161 instructions.
37162
ae1bc2fa
AS
371632011-11-07 Andreas Schwab <schwab@redhat.com>
37164
7583a88d
AS
37165 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37166 handler when locking.
37167
ae1bc2fa
AS
37168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37169 Fix size of allocated buffer.
37170
10fb0bfa
AS
371712011-11-04 Andreas Schwab <schwab@redhat.com>
37172
998832a4
AS
37173 [BZ #10103]
37174 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37175 declarations for long double functions.
37176 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37177
10fb0bfa
AS
37178 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37179
3d7ba52b
AS
371802011-11-03 Andreas Schwab <schwab@redhat.com>
37181
a9ae54a1
AS
37182 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37183 installed.
37184
3d7ba52b
AS
37185 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37186 is disabled.
37187
bc8db248
ST
371882011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37189
37190 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37191
45b96dd6
AS
371922011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37193
647776f6
AS
37194 * include/alloca.h (stackinfo_alloca_round): Define.
37195 (extend_alloca): Use it.
37196 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37197 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37198 here.
37199
d91a8b93
AS
37200 * scripts/check-local-headers.sh: Ignore libaudit.h.
37201
45b96dd6
AS
37202 * nscd/Makefile (extra-objs): Make recursively expanded.
37203
432d41ce
UD
372042011-11-01 Ulrich Drepper <drepper@gmail.com>
37205
34372fc6
UD
37206 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37207 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37208
fadb59f8
UD
37209 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37210 * posix/tst-rfc3484-2.c: Likewise.
37211 * posix/tst-rfc3484-3.c: Likewise.
37212
78239589
UD
37213 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37214 process_vm_writev.
37215 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37216 process_vm_writev.
37217 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37218 process_vm_writev from libc using GLIBC_2.15 version.
37219
432d41ce
UD
37220 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37221
02f9c6cf
PP
372222011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37223
37224 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37225 stack usage.
37226
3a2c0242
UD
372272011-10-31 Ulrich Drepper <drepper@gmail.com>
37228
f4ec4833
UD
37229 [BZ #13367]
37230 * nss/getent.c (initgroups_keys): Show error message in case no group
37231 names are given.
37232
3a2c0242
UD
37233 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37234 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37235 __bump_nl_timestamp.
37236 * nscd/connections (nscd_init): When host database is served open
37237 netlink socket and request notification about configuration changes.
37238 (main_loop_poll): Track netlink file descriptor and bump timestamp
37239 in case data becomes available.
37240 (main_loop_epoll): Likewise.
37241 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37242 (database_pers_head): Add extra_data fileds.
37243 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37244 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37245 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37246 Adjust caller.
37247 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37248 in6ai data, call __free_in6ai.
37249 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37250 Add -DHAVE_NETLINK.
37251 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37252 interface information. Reuse previous data if netlink timestamp
37253 is not changed.
37254 (__bump_nl_timestamp): New function.
37255 (__free_in6ai): New function.
37256
636064eb
UD
372572011-10-30 Ulrich Drepper <drepper@gmail.com>
37258
37259 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37260 close_not_cancel_no_status here.
37261 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37262
9beb2334
UD
372632011-10-29 Ulrich Drepper <drepper@gmail.com>
37264
6ef76f3b
UD
37265 [BZ #13276]
37266 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37267 return value.
37268
0ffc4f3e 37269 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37270 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37271 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37272
cb95113e
UD
372732011-07-03 Andreas Jaeger <aj@suse.de>
37274
37275 [BZ #10709]
37276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37277 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37278 * math/libm-test.inc (sin_test): Add test case.
37279
a1b560ff
UD
372802011-10-29 Ulrich Drepper <drepper@gmail.com>
37281
c9aaface
UD
37282 [BZ #13337]
37283 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37284 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37285
d272e7f1
UD
37286 * elf/chroot_canon.c (chroot_canon): Cleanups.
37287
1bc33071
UD
37288 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37289
1760874d
TJ
37290 [BZ #13335]
37291 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37292 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37293
51d91b18
UD
37294 * string/test-strchr.c: Make usable for strchrnul testing.
37295 * string/test-strchrnul.c: New file.
37296 * string/Makefile (strop-tests): Add strchrnul.
37297
a1b560ff 37298 * po/it.po: Update from translation team.
b611fb81 37299 * po/es.po: Likewise.
a1b560ff 37300
a5b81e1f
UD
373012011-10-28 Ulrich Drepper <drepper@gmail.com>
37302
fd52bc6d
UD
37303 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37304 the three constants needed as parameters. Drop the others.
37305 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37306 __m128i_strloadu_tolower.
52e4b9eb
UD
37307 Create and initialize variable zero and use it in all the places
37308 where _mm_setzero_si128 was used.
fd52bc6d 37309
a5b81e1f
UD
37310 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37311 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37312 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37313 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37314 anymore.
37315 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37316 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37317 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37318 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37319 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37320 __mpranred, __mptan.
37321 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37322 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37323 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37324 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37325 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37326 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37328 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37329 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37330
b4343346
AS
373312011-10-28 Andreas Schwab <schwab@redhat.com>
37332
0c92d8a8
AS
37333 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37334 redefine if SHARED.
37335 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37336
b4343346
AS
37337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37338 wide char related routines to wcsmbs subdir.
37339
3871f58f
AS
373402011-10-27 Andreas Schwab <schwab@redhat.com>
37341
37342 [BZ #13344]
37343 * misc/sys/cdefs.h (__THROWNL): Define.
37344 * posix/unistd.h: Use __THREADNL instead of __THREAD
37345 for memory synchronization functions.
37346
94d44d9f
RM
373472011-10-26 Roland McGrath <roland@hack.frob.com>
37348
21b64b15 37349 [BZ #13349]
94d44d9f
RM
37350 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37351 doesn't exist.
37352 * manual/stdio.texi (Obstack Streams): Node removed.
37353
f6ce9294
AS
373542011-10-26 Andreas Schwab <schwab@redhat.com>
37355
80479147
AS
37356 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37357 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37359
f6ce9294
AS
37360 * math/math_private.h (math_force_eval): Allow non-addressable
37361 arguments.
37362 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37363
618280a1
UD
373642011-10-25 Ulrich Drepper <drepper@gmail.com>
37365
e0016b11
UD
37366 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37367 file is not needed.
37368
37369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37371 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37372 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37373 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37374 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37375 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37376 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37377 Add AVX variants.
37378 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37379 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37380 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37381 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37382 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37383 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37384 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37385 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37386 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37387 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37388 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37389 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37390 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37391 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37392 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37393 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37394 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37395 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37396 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37397
37398 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37399 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37400
618280a1
UD
37401 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37402 place. Use VEX encoding when compiling for AVX.
37403
37822576
AS
374042011-10-25 Andreas Schwab <schwab@redhat.com>
37405
1f1e1947
AS
37406 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37407 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37408
37822576
AS
37409 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37410
31ea014d
UD
374112011-10-25 Ulrich Drepper <drepper@gmail.com>
37412
d7826aa1 37413 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37414 useless if() expression.
d7826aa1
UD
37415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37416 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37418 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37420 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37423 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37425 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37426 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37427 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37428 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37429 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37431 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37432 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37433 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37434
31ea014d
UD
37435 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37436
16437fec
AS
374372011-10-25 Andreas Schwab <schwab@redhat.com>
37438
37439 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37440 condition.
37441 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37442
31d3cc00
UD
374432011-10-25 Ulrich Drepper <drepper@gmail.com>
37444
37445 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37446 .text section. Avoid duplicate constants.
37447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37449 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37451 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37457 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37459 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37462 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37464 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37465 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37467 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37468 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37469 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37471 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37472 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37473 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37474 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37475 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37476 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37477 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37478 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37479 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37480 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37481 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37482 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37483 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37485 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37486 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37487 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37488 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37489 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37490 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37492
58985aa9
UD
374932011-10-24 Ulrich Drepper <drepper@gmail.com>
37494
202c9deb
UD
37495 * sysdeps/x86_64/dla.h: Move to ...
37496 * sysdeps/x86_64/fpu/dla.h: ...here.
37497 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37498 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37499
af968f62
UD
37500 * config.make.in: Add have-mfma4 entry.
37501 * configure.in: Substitute libc_cv_cc_fma4.
37502 * math/Makefile (dbl-only-routines): Add sincostab.
37503 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37504 Use __sincostab not sincos.
37505 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37506 name is a macro.
37507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37511 using __copysign.
37512 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37513 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37514 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37515 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37516 and __inv.
37517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37518 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37519 __copysign.
37520 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37521 define aliases when function name is a macro.
37522 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37523 sysdeps/ieee754/dbl-64/sincos.tbl.
37524 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37525 fma4-enabled routines.
37526 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37527 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37528 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37529 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37530 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37531 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37532 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37533 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37535 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37536 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37537 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37538 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37539 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37540 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37541 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37542 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37543 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37544 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37546 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37547 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37549 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37551 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37552 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37553 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37554 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37555 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37556
58985aa9
UD
37557 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37558 rename.
37559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37567
a201fbcf
AS
375682011-10-24 Andreas Schwab <schwab@redhat.com>
37569
37570 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37571
fc2ee42a
LD
375722011-10-23 Ulrich Drepper <drepper@gmail.com>
37573
bb3129bd
UD
37574 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37575
0275fff8
UD
37576 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37577 prediction.
37578 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37579
2fa2ae85
UD
37580 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37581 Remove unused variable magic_bits.
37582 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37583
fc2ee42a
LD
37584 * string/strnlen.c: Define and use STRNLEN macro.
37585 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37586 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37588 * wcsmbs/wcslen.c: Define and use WCSLEN.
37589 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37590 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37591 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37592 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37593 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37594 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37595 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37596
ce7dd29f
LD
375972011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37598
37599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37600 strnlen-sse2-no-bsf.
37601 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37603 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37604 Add strnlen support.
37605 (USE_AS_STRNLEN): New macro.
37606 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37607 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37608 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37609 * sysdeps/x86_64/wcslen.S: New file.
37610
979c70a3
MZ
376112011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37612
37613 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37614 XMM-moves are used for copying on small sizes.
37615
2d09f82f
LD
376162011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37617
37618 * wcsmbs/Makefile (strop-tests): Add wcschr.
37619 * wcsmbs/test-wcschr.c: New file.
37620 * string/test-strchr.c: Update.
37621 Add wcschr support.
37622 (WIDE): New macro.
37623
619fccca
LD
376242011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37625
2d09f82f 37626 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37627 * wcsmbs/test-wcslen.c: New file.
37628 * string/test-strlen.c: Update.
37629 Add wcslen support.
37630 (WIDE): New macro.
37631
09f699ea
UD
376322011-10-23 Ulrich Drepper <drepper@gmail.com>
37633
37634 * po/it.po: Update from translation team.
37635
95584d3b
LD
376362011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37637
37638 * sysdeps/x86_64/wcscmp.S: Update.
37639 Fix wrong comparison semantics.
37640 wcscmp shall use signed comparison not unsigned.
37641 Don't use substraction to avoid overflow bug.
37642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37643 * wcsmbc/wcscmp.c: Likewise.
37644 * string/test-strcmp.c: Likewise.
37645 Add new tests to check cases with negative values.
37646
c8b3296b
UD
376472011-10-23 Ulrich Drepper <drepper@gmail.com>
37648
37649 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37650 * sysdeps/x86_64/dla.h: ...here. New file.
37651 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37656 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37660
246ad57a
AS
376612011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37662
37663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37664 __ynl_finite aliases.
37665
a1a87169
UD
376662011-10-22 Ulrich Drepper <drepper@gmail.com>
37667
0d355eb7
UD
37668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37669
a1a87169
UD
37670 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37671 define DLA_FMA.
37672 [DLA_FMA] (EMULV): Use DLA_FMA.
37673 [DLA_FMA] (MUL12): Use EMULV.
37674 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37675 that are not needed.
37676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37683
ee2aafe0
AS
376842011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37685
37686 * math/s_nan.c: Undef __nan.
37687 * math/s_nanf.c: Undef __nanf.
37688 * math/s_nanl.c: Undef __nanl.
37689 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37690 "math_private.h".
37691
bc62c2fb
UD
376922011-10-22 Ulrich Drepper <drepper@gmail.com>
37693
77425c63
UD
37694 * math/s_catan.c: Add branch predictions.
37695 * math/s_catanf.c: Likewise.
37696 * math/s_catanh.c: Likewise.
37697 * math/s_catanhf.c: Likewise.
37698 * math/s_catanhl.c: Likewise.
37699 * math/s_catanl.c: Likewise.
37700 * math/s_cexp.c: Likewise.
37701 * math/s_cexpf.c: Likewise.
37702 * math/s_cexpl.c: Likewise.
37703 * math/s_clog.c: Likewise.
37704 * math/s_clog10.c: Likewise.
37705 * math/s_clog10f.c: Likewise.
37706 * math/s_clog10l.c: Likewise.
37707 * math/s_clogf.c: Likewise.
37708 * math/s_clogl.c: Likewise.
37709 * math/s_csqrt.c: Likewise.
37710 * math/s_csqrtf.c: Likewise.
37711 * math/s_csqrtl.c: Likewise.
37712 * math/s_ctanf.c: Likewise.
37713 * math/s_ctanh.c: Likewise.
37714 * math/s_ctanhf.c: Likewise.
37715 * math/s_ctanhl.c: Likewise.
37716 * math/s_ctanl.c: Likewise.
37717
bc62c2fb
UD
37718 * math/math_private.h: Define __nan, __nanf, __nanl.
37719 * math/s_cacosh.c: Include <math_private.h>.
37720 * math/s_cacoshl.c: Likewise.
37721 * math/s_casinh.c: Likewise.
37722 * math/s_casinhf.c: Likewise.
37723 * math/s_casinhl.c: Likewise.
37724 * math/s_ccos.c: Rely entire on ccosh.
37725 * math/s_ccosf.c: Rely entire on ccoshf.
37726 * math/s_ccosl.c: Rely entirely on ccoshl.
37727 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37728 Remove tests for FE_INVALID.
37729 * math/s_ccoshf.c: Likewise.
37730 * math/s_ccoshl.c: Likewise.
37731 * math/s_csin.c: Likewise.
37732 * math/s_csinf.c: Likewise.
37733 * math/s_csinh.c Likewise.
37734 * math/s_csinhf.c: Likewise.
37735 * math/s_csinhl.c: Likewise.
37736 * math/s_csinl.c: Likewise.
37737 * math/s_ctan.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37739 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37740 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37741
8ec250a4
UD
377422011-10-21 Ulrich Drepper <drepper@gmail.com>
37743
c196fed8
UD
37744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37745 compilation problems.
37746
8ec250a4
UD
37747 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37748 __builtin_expect.
37749
8d4f46c6
UD
377502011-10-20 Ulrich Drepper <drepper@gmail.com>
37751
ed72b654
UD
37752 * sysdeps/i386/configure.in: Test for -mfma4 option.
37753 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37754 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37755 COMMON_CPUID_INDEX_80000001.
37756 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37757 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37758 use it if FMA3 is not supported.
37759 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37760
8d4f46c6
UD
37761 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37762 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37763
d45c60c2
AS
377642011-10-20 Andreas Schwab <schwab@redhat.com>
37765
37766 [BZ #12892]
37767 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37768 it would create a cycle with a link time dependency.
37769
d9a4d2ab
UD
377702011-10-19 Ulrich Drepper <drepper@gmail.com>
37771
855d1560
UD
37772 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37773 instruction.
37774 * string/Makefile (strop-tests): Add rawmemchr.
37775 * string/test-rawmemchr.c: New file.
37776
d9a4d2ab
UD
37777 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37779 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37780 when compiling str{,n}casecmp and when AVX is available. Hook up
37781 new optimized code in initializers.
37782
8f3b1ffe
AS
377832011-10-19 Andreas Schwab <schwab@redhat.com>
37784
37785 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37786 __feraiseexcept instead of feraiseexcept.
37787
d38f1dba
UD
377882011-10-18 Ulrich Drepper <drepper@gmail.com>
37789
d9a8d0ab
UD
37790 * math/math_private.h: Define defaults for libc_fetestexcept and
37791 libc_feupdateenv.
37792 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37793 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37794 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37795 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37796 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37797 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37798 libc_fetestexcept and libc_feupdateenv.
37799
4855e3dd
UD
37800 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37801 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37802 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37803 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37804 libc_feholdexcept_setround.
37805
581d30e3
UD
37806 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37807 Add s_nearbyint-c and s_nearbyintf-c.
37808 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37809 nearbyintf inlines.
37810 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37811 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37812 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37813 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37814
d38f1dba
UD
37815 * math/math_private.h: Define defaults for libc_fegetround,
37816 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37817 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37818 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37819 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37820 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37821 standard functions.
37822 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37823 Remove comments and hacks for old compiler versions.
37824 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37825 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37826 libc_feholdexceptl.
37827
caa6c9d8
AS
378282011-10-18 Andreas Schwab <schwab@redhat.com>
37829
37830 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37831 (__feraiseexcept_renamed): Add __NTH.
37832 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37833 namespace violations.
37834
97c066e6
UD
378352011-10-17 Ulrich Drepper <drepper@gmail.com>
37836
99ce7b04
UD
37837 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37838
1004d182
UD
37839 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37840
228a984d
UD
37841 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37842 recently added interfaces.
37843 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37844
c8553a6a
UD
37845 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37846 about macro parameter expansion.
37847
ed22dcf6
UD
37848 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37849 __NO_MATH_INLINES is defined. Cleanups.
37850
37851 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37852 and __floorf is target has SSE4.1.
37853 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37854 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37855 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37856 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37857
b171c137
UD
37858 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37859 name.
37860 (floorf): Likewise.
37861
97c066e6
UD
37862 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37863
629f62ef
AS
378642011-10-17 Andreas Schwab <schwab@redhat.com>
37865
49a43d80
AS
37866 * misc/sys/cdefs.h: Fix last change.
37867
629f62ef
AS
37868 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37869 database lookup.
37870
e453f6cd
UD
378712011-10-16 Ulrich Drepper <drepper@gmail.com>
37872
aa78043a
UD
37873 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37874
ad0f5cad
UD
37875 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37878 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37880 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37881 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37882 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37883 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37884 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37885 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37886 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37887 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37888 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37889 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37890 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37891 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37892 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37894 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37895 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37896 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37897
37898 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37899 ceil, ceilf, floor, floorf.
37900
37901 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37902 Perform IRELATIVE relocations last.
37903
e453f6cd
UD
37904 * elf/do-rel.h: Add another parameter nrelative, replacing the
37905 local variable with the same name. Change name of the function
37906 to end in Rel or Rela (uppercase).
37907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37908 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37909 elf_dynamic_do_##reloc function.
37910
fd5bdc09
UD
379112011-10-15 Ulrich Drepper <drepper@gmail.com>
37912
79b195b5
UD
37913 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37914 is sufficient, at least on modern CPUs.
37915
d4a28569
UD
37916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37917
b61099b5
UD
37918 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37919 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37920
bcf01e6d
UD
37921 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37922 __expl_finite.
37923 * math/bits/math-finite.h: Add entries for exp.
37924 * math/e_expl.c: Add __*_finite alias.
37925 * sysdeps/i386/fpu/e_exp.S: Likewise.
37926 * sysdeps/i386/fpu/e_expf.S: Likewise.
37927 * sysdeps/i386/fpu/e_expl.c: Likewise.
37928 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37929 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37930 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37933 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37934 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37935
ba1a0d59
UD
37936 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37937 is sufficient, at least on modern CPUs.
37938
fd5bdc09
UD
37939 * ctype/ctype-info.c (__ctype_init): Define.
37940 * include/ctype.h (__ctype_init): Declare.
37941 (__ctype_b_loc): The variable is always initialized.
37942 (__ctype_toupper_loc): Likewise.
37943 (__ctype_tolower_loc): Likewise.
37944 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37945 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37946
7872cfb0
AS
379472011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37948
b468825a
AS
37949 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37950
7872cfb0
AS
37951 * configure.in: Also look in $cxxmachine/include for C++ system
37952 headers.
37953
be13f7bf
LD
379542011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37955
37956 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37957 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37958 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37959 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37960 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37961 (USE_AS_WMEMCMP): New macro.
37962 Fixing indents.
37963 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37964 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37965 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37966 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37968 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37969 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37970 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37971 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37972 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37974 (USE_AS_WMEMCMP): New macro.
37975 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37976 * sysdeps/string/test-memcmp.c: Update.
37977 Fix simple_wmemcmp.
37978 Add new tests.
37979 * wcsmbs/wmemcmp.c: Update.
37980 (WMEMCMP): New macro.
37981 Fix overflow bug.
37982
556a2007
AJ
379832011-10-12 Andreas Jaeger <aj@suse.de>
37984
37985 [BZ #13268]
37986 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37987
538faaa7
UD
379882011-10-15 Ulrich Drepper <drepper@gmail.com>
37989
ab6737ff
UD
37990 * libio/iofwide.c (do_length): Avoid warning.
37991
538faaa7
UD
37992 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37993
396a21b1
UD
379942011-10-14 Ulrich Drepper <drepper@gmail.com>
37995
cdf2901f
UD
37996 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37997
38ad40ce
UD
37998 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37999 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38000 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38001 * sysdeps/i386/i686/fpu/e_log.S: New file.
38002 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38003 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38004
396a21b1
UD
38005 * ctype/ctype.h: Add support for inlined isXXX functions when
38006 compiling C++ code.
38007
6b1f68c9
AS
380082011-10-14 Andreas Schwab <schwab@redhat.com>
38009
349290c0
AS
38010 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38011
6b1f68c9
AS
38012 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38013
f2282d42
RM
380142011-10-13 Roland McGrath <roland@hack.frob.com>
38015
38016 [BZ #13291]
38017 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38018
5298ffa8
AS
380192011-10-13 Andreas Schwab <schwab@redhat.com>
38020
714fad23
AS
38021 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38022 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38023 feraiseexcept.
38024
81dcc7fb
AS
38025 * sysdeps/x86_64/memrchr.S: Check for zero size.
38026
5298ffa8
AS
38027 * string/stratcliff.c: Add memrchr tests.
38028
951fbcec
LD
380292011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38030
38031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38032 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38033 rawmemchr-sse2 rawmemchr-sse2-bsf.
38034 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38035 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38036 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38037 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38038 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38039 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38040 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38041 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38042 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38043 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38044 * string/memrchr.c (MEMRCHR): New macro.
38045
0ac5ae23
UD
380462011-10-12 Ulrich Drepper <drepper@gmail.com>
38047
38048 Add integration with gcc's -ffinite-math-only and optimize wrapper
38049 functions in libm.
38050 * Versions.def: Define GLIBC_2.15 version for libm.
38051 * math/Makefile (headers): Add bits/math-finite.h.
38052 * math/bits/math-finite.h: New file.
38053 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38054 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38055 * math/e_acoshl.c: Add __*_finite alias.
38056 * math/e_acosl.c: Likewise.
38057 * math/e_asinl.c: Likewise.
38058 * math/e_atan2l.c: Likewise.
38059 * math/e_atanhl.c: Likewise.
38060 * math/e_coshl.c: Likewise.
38061 * math/e_exp10.c: Likewise.
38062 * math/e_exp10f.c: Likewise.
38063 * math/e_exp10l.c: Likewise.
38064 * math/e_exp2l.c: Likewise.
38065 * math/e_fmodl.c: Likewise.
38066 * math/e_gammal_r.c: Likewise.
38067 * math/e_hypotl.c: Likewise.
38068 * math/e_j0l.c: Likewise.
38069 * math/e_j1l.c: Likewise.
38070 * math/e_jnl.c: Likewise.
38071 * math/e_lgammal_r.c: Likewise.
38072 * math/e_log10l.c: Likewise.
38073 * math/e_log2l.c: Likewise.
38074 * math/e_logl.c: Likewise.
38075 * math/e_powl.c: Likewise.
38076 * math/e_sinhl.c: Likewise.
38077 * math/e_sqrtl.c: Likewise.
38078 * math/e_scalb.c: Completely rewritten and optimized.
38079 * math/e_scalbf.c: Likewise.
38080 * math/e_scalbl.c: Likewise.
38081 * math/w_acos.c: Likewise.
38082 * math/w_acosf.c: Likewise.
38083 * math/w_acosl.c: Likewise.
38084 * math/w_acosh.c: Likewise.
38085 * math/w_acoshf.c: Likewise.
38086 * math/w_acoshl.c: Likewise.
38087 * math/w_asin.c: Likewise.
38088 * math/w_asinf.c: Likewise.
38089 * math/w_asinl.c: Likewise.
38090 * math/w_atan2.c: Likewise.
38091 * math/w_atan2f.c: Likewise.
38092 * math/w_atan2l.c: Likewise.
38093 * math/w_atanh.c: Likewise.
38094 * math/w_atanhf.c: Likewise.
38095 * math/w_atanhl.c: Likewise.
38096 * math/w_exp10.c: Likewise.
38097 * math/w_exp10f.c: Likewise.
38098 * math/w_exp10l.c: Likewise.
38099 * math/w_fmod.c: Likewise.
38100 * math/w_fmodf.c: Likewise.
38101 * math/w_fmodl.c: Likewise.
38102 * math/w_j0.c: Likewise.
38103 * math/w_j0f.c: Likewise.
38104 * math/w_j0l.c: Likewise.
38105 * math/w_j1.c: Likewise.
38106 * math/w_j1f.c: Likewise.
38107 * math/w_j1l.c: Likewise.
38108 * math/w_jn.c: Likewise.
38109 * math/w_jnf.c: Likewise.
38110 * math/w_log.c: Likewise.
38111 * math/w_logf.c: Likewise.
38112 * math/w_logl.c: Likewise.
38113 * math/w_log10.c: Likewise.
38114 * math/w_log10f.c: Likewise.
38115 * math/w_log10l.c: Likewise.
38116 * math/w_log2.c: Likewise.
38117 * math/w_log2f.c: Likewise.
38118 * math/w_log2l.c: Likewise.
38119 * math/w_pow.c: Likewise.
38120 * math/w_powf.c: Likewise.
38121 * math/w_powl.c: Likewise.
38122 * math/w_remainder.c: Likewise.
38123 * math/w_remainderf.c: Likewise.
38124 * math/w_remainderl.c: Likewise.
38125 * math/w_scalb.c: Likewise.
38126 * math/w_scalbf.c: Likewise.
38127 * math/w_scalbl.c: Likewise.
38128 * math/w_sqrt.c: Likewise.
38129 * math/w_sqrtf.c: Likewise.
38130 * math/w_sqrtl.c: Likewise.
38131 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38132 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38133 used.
38134 * math/math_private.h: Declare __kernel_standard_f.
38135 * math/w_cosh.c: Remove cruft and optimize a bit.
38136 * math/w_coshf.c: Likewise.
38137 * math/w_coshl.c: Likewise.
38138 * math/w_exp2.c: Likewise.
38139 * math/w_exp2f.c: Likewise.
38140 * math/w_exp2l.c: Likewise.
38141 * math/w_hypot.c: Likewise.
38142 * math/w_hypotf.c: Likewise.
38143 * math/w_hypotl.c: Likewise.
38144 * math/w_lgamma.c: Likewise.
38145 * math/w_lgamma_r.c: Likewise.
38146 * math/w_lgammaf.c: Likewise.
38147 * math/w_lgammaf_r.c: Likewise.
38148 * math/w_lgammal.c: Likewise.
38149 * math/w_lgammal_r.c: Likewise.
38150 * math/w_sinh.c: Likewise.
38151 * math/w_sinhf.c: Likewise.
38152 * math/w_sinhl.c: Likewise.
38153 * math/w_tgamma.c: Likewise.
38154 * math/w_tgammaf.c: Likewise.
38155 * math/w_tgammal.c: Likewise.
38156 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38157 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38158 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38159 Minor optimizations. Pretty printing. Remove cruft.
38160 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38161 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38162 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38163 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38164 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38165 * sysdeps/i386/fpu/e_asin.S: Likewise.
38166 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38167 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38168 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38169 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38170 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38171 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38172 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38173 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38174 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38175 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38176 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38177 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38178 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38179 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38180 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38181 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38182 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38183 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38184 * sysdeps/i386/fpu/e_log.S: Likewise.
38185 * sysdeps/i386/fpu/e_log10.S: Likewise.
38186 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38187 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38188 * sysdeps/i386/fpu/e_log2.S: Likewise.
38189 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38190 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38191 * sysdeps/i386/fpu/e_logf.S: Likewise.
38192 * sysdeps/i386/fpu/e_logl.S: Likewise.
38193 * sysdeps/i386/fpu/e_pow.S: Likewise.
38194 * sysdeps/i386/fpu/e_powf.S: Likewise.
38195 * sysdeps/i386/fpu/e_powl.S: Likewise.
38196 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38197 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38198 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38200 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38201 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38202 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38203 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38204 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38205 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38206 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38208 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38209 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38210 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38212 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38215 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38216 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38218 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38219 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38221 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38222 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38225 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38226 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38227 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38228 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38229 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38230 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38231 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38232 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38233 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38234 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38235 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38236 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38237 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38238 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38239 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38240 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38241 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38242 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38243 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38244 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38245 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38246 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38247 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38248 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38249 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38250 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38251 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38252 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38253 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38254 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38255 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38256 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38257 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38260 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38261 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38262 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38263 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38266 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38270 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38271 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38275 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38276 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38278 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38279 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38280 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38281 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38282 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38284 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38285 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38286 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38287 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38288 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38290 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38291 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38292 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38293 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38294 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38295 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38296 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38298 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38299 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38300 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38301 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38302 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38303 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38304 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38305 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38306 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38307 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38308 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38309 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38310 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38311 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38312 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38313 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38314 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38315 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38316 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38317 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38318 (__isnanf): Likewise.
38319 (__isinf_ns): Likewise.
38320 (__isinf_nsf): Likewise.
38321 (__finite): Likewise.
38322 (__finitef): Likewise.
38323 (__ieee754_sqrt): Define as macro.
38324 (__ieee754_sqrtf): Define as macro.
38325 (__ieee754_sqrtl): Define as macro.
38326 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38327 inlined copy.
38328 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38329 __FINITE_MATH_ONLY__ consistent.
38330 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38331
12cc2fcd
AS
383322011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38333
a843a204
AS
38334 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38335 of rawmemchr.
38336
12cc2fcd
AS
38337 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38338
c853acd5
UD
383392011-10-09 Ulrich Drepper <drepper@gmail.com>
38340
38341 * po/ja.po: Update from translation team.
38342
c658d255
RM
383432011-10-08 Roland McGrath <roland@hack.frob.com>
38344
110946e4
RM
38345 * locale/programs/locarchive.c (prepare_address_space): New function.
38346 (create_archive, enlarge_archive, open_archive): Use it.
38347
50604220
RM
38348 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38349 inside [SHARED], where it is used.
38350
c658d255
RM
38351 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38352
38353 * nss/getent.c (netgroup_keys): Remove unused variable.
38354 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38355
6a621eb7
UD
383562011-10-08 Ulrich Drepper <drepper@gmail.com>
38357
7edb55ce
UD
38358 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38361 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38362 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38363 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38364 * math/Makefile (libm-calls): Add s_isinf_ns.
38365 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38366 * math/multc3.c: Likewise.
38367 * math/s_casin.c: Likewise.
38368 * math/s_casinf.c: Likewise.
38369 * math/s_casinl.c: Likewise.
38370 * math/s_ccos.c: Likewise.
38371 * math/s_ccosf.c: Likewise.
38372 * math/s_ccosl.c: Likewise.
38373 * math/s_ctan.c: Likewise.
38374 * math/s_ctanf.c: Likewise.
38375 * math/s_ctanh.c: Likewise.
38376 * math/s_ctanhf.c: Likewise.
38377 * math/s_ctanhl.c: Likewise.
38378 * math/s_ctanl.c: Likewise.
38379 * math/w_fmod.c: Likewise.
38380 * math/w_fmodf.c: Likewise.
38381 * math/w_fmodl.c: Likewise.
38382 * math/w_remainder.c: Likewise.
38383 * math/w_remainderf.c: Likewise.
38384 * math/w_remainderl.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38386 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38389 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38390 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38391 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38392 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38393
187da0ae
UD
38394 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38395 of the number.
38396 * stdio-common/printf_fphex.c: Likewise.
38397 * stdio-common/printf_size.c: Likewise.
38398
9277c064
UD
38399 * math/e_exp10.c: Include math_private.h using <...> not "...".
38400 * math/e_exp10f.c: Likewise.
38401 * math/e_exp10l.c: Likewise.
38402 * math/e_exp2l.c: Likewise.
38403 * math/e_j0l.c: Likewise.
38404 * math/e_j1l.c: Likewise.
38405 * math/e_jnl.c: Likewise.
38406 * math/e_lgammal_r.c: Likewise.
38407 * math/e_rem_pio2l.c: Likewise.
38408 * math/e_scalb.c: Likewise.
38409 * math/e_scalbf.c: Likewise.
38410 * math/e_scalbl.c: Likewise.
38411 * math/k_cosl.c: Likewise.
38412 * math/k_sinl.c: Likewise.
38413 * math/k_tanl.c: Likewise.
38414 * math/s_cacoshf.c: Likewise.
38415 * math/s_catan.c: Likewise.
38416 * math/s_catanf.c: Likewise.
38417 * math/s_catanh.c: Likewise.
38418 * math/s_catanhf.c: Likewise.
38419 * math/s_catanhl.c: Likewise.
38420 * math/s_catanl.c: Likewise.
38421 * math/s_ccosh.c: Likewise.
38422 * math/s_ccoshf.c: Likewise.
38423 * math/s_ccoshl.c: Likewise.
38424 * math/s_cexp.c: Likewise.
38425 * math/s_cexpf.c: Likewise.
38426 * math/s_cexpl.c: Likewise.
38427 * math/s_clog.c: Likewise.
38428 * math/s_clog10.c: Likewise.
38429 * math/s_clog10f.c: Likewise.
38430 * math/s_clog10l.c: Likewise.
38431 * math/s_clogf.c: Likewise.
38432 * math/s_clogl.c: Likewise.
38433 * math/s_csin.c: Likewise.
38434 * math/s_csinf.c: Likewise.
38435 * math/s_csinh.c: Likewise.
38436 * math/s_csinhf.c: Likewise.
38437 * math/s_csinhl.c: Likewise.
38438 * math/s_csinl.c: Likewise.
38439 * math/s_csqrt.c: Likewise.
38440 * math/s_csqrtf.c: Likewise.
38441 * math/s_csqrtl.c: Likewise.
38442 * math/s_ctan.c: Likewise.
38443 * math/s_ctanf.c: Likewise.
38444 * math/s_ctanh.c: Likewise.
38445 * math/s_ctanhf.c: Likewise.
38446 * math/s_ctanhl.c: Likewise.
38447 * math/s_ctanl.c: Likewise.
38448 * math/s_ldexp.c: Likewise.
38449 * math/s_ldexpf.c: Likewise.
38450 * math/s_ldexpl.c: Likewise.
38451 * math/s_significand.c: Likewise.
38452 * math/s_significandf.c: Likewise.
38453 * math/s_significandl.c: Likewise.
38454 * math/w_acos.c: Likewise.
38455 * math/w_acosf.c: Likewise.
38456 * math/w_acosh.c: Likewise.
38457 * math/w_acoshf.c: Likewise.
38458 * math/w_acoshl.c: Likewise.
38459 * math/w_acosl.c: Likewise.
38460 * math/w_asin.c: Likewise.
38461 * math/w_asinf.c: Likewise.
38462 * math/w_asinl.c: Likewise.
38463 * math/w_atan2.c: Likewise.
38464 * math/w_atan2f.c: Likewise.
38465 * math/w_atan2l.c: Likewise.
38466 * math/w_atanh.c: Likewise.
38467 * math/w_atanhf.c: Likewise.
38468 * math/w_atanhl.c: Likewise.
38469 * math/w_cosh.c: Likewise.
38470 * math/w_coshf.c: Likewise.
38471 * math/w_coshl.c: Likewise.
38472 * math/w_dremf.c: Likewise.
38473 * math/w_exp10.c: Likewise.
38474 * math/w_exp10f.c: Likewise.
38475 * math/w_exp10l.c: Likewise.
38476 * math/w_exp2.c: Likewise.
38477 * math/w_exp2f.c: Likewise.
38478 * math/w_fmod.c: Likewise.
38479 * math/w_fmodf.c: Likewise.
38480 * math/w_fmodl.c: Likewise.
38481 * math/w_hypot.c: Likewise.
38482 * math/w_hypotf.c: Likewise.
38483 * math/w_hypotl.c: Likewise.
38484 * math/w_j0.c: Likewise.
38485 * math/w_j0f.c: Likewise.
38486 * math/w_j0l.c: Likewise.
38487 * math/w_j1.c: Likewise.
38488 * math/w_j1f.c: Likewise.
38489 * math/w_j1l.c: Likewise.
38490 * math/w_jn.c: Likewise.
38491 * math/w_jnf.c: Likewise.
38492 * math/w_jnl.c: Likewise.
38493 * math/w_lgamma.c: Likewise.
38494 * math/w_lgamma_r.c: Likewise.
38495 * math/w_lgammaf.c: Likewise.
38496 * math/w_lgammaf_r.c: Likewise.
38497 * math/w_lgammal.c: Likewise.
38498 * math/w_lgammal_r.c: Likewise.
38499 * math/w_log.c: Likewise.
38500 * math/w_log10.c: Likewise.
38501 * math/w_log10f.c: Likewise.
38502 * math/w_log10l.c: Likewise.
38503 * math/w_log2.c: Likewise.
38504 * math/w_log2f.c: Likewise.
38505 * math/w_log2l.c: Likewise.
38506 * math/w_logf.c: Likewise.
38507 * math/w_logl.c: Likewise.
38508 * math/w_pow.c: Likewise.
38509 * math/w_powf.c: Likewise.
38510 * math/w_powl.c: Likewise.
38511 * math/w_remainder.c: Likewise.
38512 * math/w_remainderf.c: Likewise.
38513 * math/w_remainderl.c: Likewise.
38514 * math/w_scalb.c: Likewise.
38515 * math/w_scalbf.c: Likewise.
38516 * math/w_scalbl.c: Likewise.
38517 * math/w_sinh.c: Likewise.
38518 * math/w_sinhf.c: Likewise.
38519 * math/w_sinhl.c: Likewise.
38520 * math/w_sqrt.c: Likewise.
38521 * math/w_sqrtf.c: Likewise.
38522 * math/w_sqrtl.c: Likewise.
38523 * math/w_tgamma.c: Likewise.
38524 * math/w_tgammaf.c: Likewise.
38525 * math/w_tgammal.c: Likewise.
38526
6a621eb7
UD
38527 * po/ja.po: Update from translation team.
38528
bf582445
AJ
385292011-09-29 Andreas Jaeger <aj@suse.de>
38530
f9efbf3a
AJ
38531 [BZ #13179]
38532 * sunrpc/netname.c (netname2host): Fix logic.
38533
bf582445
AJ
38534 [BZ #6779]
38535 [BZ #6783]
38536 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38537 correctly.
38538 * math/w_remainder.c (__remainder): Likewise.
38539 * math/w_remainderf.c (__remainderf): Likewise.
38540 * math/libm-test.inc (remainder_test): Add test cases.
38541
48693bea
AK
385422011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38543
38544 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38545 sdiv_qrnnd.
38546
42622229
LD
385472011-10-07 Ulrich Drepper <drepper@gmail.com>
38548
38549 * string/test-memcmp.c: Avoid unncessary #defines.
38550 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38551
093ecf92
LD
385522011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38553
38554 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38555 Use new sse2 version for core i3 - i7 as it's faster
38556 than sse42 version.
38557 (bit_Prefer_PMINUB_for_stringop): New.
38558 * sysdeps/x86_64/rawmemchr.S: Update.
38559 Replace with faster SSE2 version.
38560 * sysdeps/x86_64/memrchr.S: New file.
38561 * sysdeps/x86_64/memchr.S: Update.
38562 Replace with faster SSE2 version.
38563
fde56e5c
MP
385642011-09-12 Marek Polacek <mpolacek@redhat.com>
38565
38566 * elf/dl-load.c (lose): Add cast to avoid warning.
38567
21fd49a9
UD
385682011-10-07 Ulrich Drepper <drepper@gmail.com>
38569
5a06e643
UD
38570 * po/ca.po: Update from translation team.
38571
684ae515
UD
38572 * inet/getnetgrent_r.c: Hook up nscd.
38573 * nscd/Makefile (routines): Add nscd_netgroup.
38574 (nscd-modules): Add netgroupcache.
38575 (CFLAGS-netgroupcache.c): Define.
38576 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38577 (cache_search): Add const to second parameter.
38578 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38579 INNETGR.
38580 (dbs): Add netgrdb entry.
38581 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38582 (verify_persistent_db): Handle netgrdb.
38583 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38584 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38585 GETFDNETGR.
38586 (netgroup_response_header): Define.
38587 (innetgroup_response_header): Define.
38588 (datahead): Add netgroup_response_header and innetgroup_response_header
38589 elements.
38590 * nscd/nscd.conf: Add entries for netgroup cache.
38591 * nscd/nscd.h (dbtype): Add netgrdb.
38592 (_PATH_NSCD_NETGROUP_DB): Define.
38593 (netgroup_iov_disabled): Declare.
38594 (xmalloc, xcalloc, xrealloc): Move declarations here.
38595 (cache_search): Adjust prototype.
38596 Add netgroup-related prototypes.
38597 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38598 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38599 (__nscd_innetgr): Declare.
38600 * nscd/selinux.c (perms): Use access_vector_t as element type and
38601 add netgroup-related initializers.
38602 * nscd/netgroupcache.c: New file.
38603 * nscd/nscd_netgroup.c: New file.
38604 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38605 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38606 For four parameters use innetgr.
38607 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38608 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38609 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38610 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38611
21fd49a9
UD
38612 * nscd/connections.c (register_traced_file): Don't register file
38613 for disabled databases.
38614
054c0457
UD
386152011-10-06 Ulrich Drepper <drepper@gmail.com>
38616
32b63198
UD
38617 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38618
054c0457
UD
38619 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38620 from tree and freeing node.
38621
64031225
JO
386222011-09-25 Jiri Olsa <jolsa@redhat.com>
38623
38624 * nss/nsswitch.c (__nss_database_lookup): Handle
38625 nss_parse_service_list out of memory case.
38626
0490345c
JO
386272011-09-15 Jiri Olsa <jolsa@redhat.com>
38628
38629 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38630 out of memory case.
38631
3a62d00d
AS
386322011-10-04 Andreas Schwab <schwab@redhat.com>
38633
38634 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38635 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38636 pass it down.
38637 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38638 elf_machine_rela, elf_machine_lazy_rel.
38639 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38640 (ELF_DYNAMIC_DO_REL): Likewise.
38641 (ELF_DYNAMIC_DO_RELA): Likewise.
38642 (ELF_DYNAMIC_RELOCATE): Likewise.
38643 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38644 to ELF_DYNAMIC_DO_REL.
38645 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38646 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38647 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38648 elf_machine_rela.
38649 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38650 skip_ifunc, don't call ifunc function if non-zero.
38651 (elf_machine_rela): Likewise.
38652 (elf_machine_lazy_rel): Likewise.
38653 (elf_machine_lazy_rela): Likewise.
38654 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38655 (elf_machine_lazy_rel): Likewise.
38656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38657 Likewise.
38658 (elf_machine_lazy_rel): Likewise.
38659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38660 Likewise.
38661 (elf_machine_lazy_rel): Likewise.
38662 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38663 (elf_machine_lazy_rel): Likewise.
38664 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38665 (elf_machine_lazy_rel): Likewise.
38666 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38667 (elf_machine_lazy_rel): Likewise.
38668 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38669 (elf_machine_lazy_rel): Likewise.
38670 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38671 (elf_machine_lazy_rel): Likewise.
38672 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38673 (elf_machine_lazy_rel): Likewise.
38674
68577918
UD
386752011-09-28 Ulrich Drepper <drepper@gmail.com>
38676
38677 * nss/nss_files/files-init.c (_nss_files_init): Use static
38678 initialization for all the *_traced_file variables.
38679
68822d74
AS
386802011-09-28 Andreas Schwab <schwab@redhat.com>
38681
38682 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38683
2056100b
RM
386842011-09-27 Roland McGrath <roland@hack.frob.com>
38685
38686 [BZ #13226]
38687 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38688
32c76b63
AS
386892011-09-27 Andreas Schwab <schwab@redhat.com>
38690
38691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38692 Reread the line before reparsing it.
38693
bf972c9d
AS
386942011-09-26 Andreas Schwab <schwab@redhat.com>
38695
38696 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38697
e057a1b5
JM
386982011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38699 Maxim Kuvyrkov <maxim@codesourcery.com>
38700 Joseph Myers <joseph@codesourcery.com>
38701
38702 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38703 if needed for __stack_chk_guard.
38704
bc7e1c36
RM
387052011-09-19 Roland McGrath <roland@hack.frob.com>
38706
ecb1482f
RM
38707 * sysdeps/posix/spawni.c (script_execute): Always define it.
38708 It will be optimized away if unused.
38709 (maybe_script_execute): New function.
38710 (__spawni): Call it.
38711
bc7e1c36
RM
38712 * Makerules: Don't include tls.make.
38713 (config-tls): Always set to thread.
38714 * tls.make.c: File removed.
38715
1c3b002b
MF
387162011-09-19 Mike Frysinger <vapier@gentoo.org>
38717
38718 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38719 * config.make.in (CPPFLAGS-config): New substituted variable.
38720
2840865d
UD
387212011-09-15 Ulrich Drepper <drepper@gmail.com>
38722
88738eb6
UD
38723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38724
cbf645a6 38725 [BZ #13192]
2840865d
UD
38726 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38727 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38728
b402e91a
RM
387292011-09-15 Roland McGrath <roland@hack.frob.com>
38730
38731 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38732 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38734 (CALL_FAIL): Likewise.
38735 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38736 (CALL_FAIL): Macro removed.
38737 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38738
4c1a1f71
UD
387392011-09-15 Ulrich Drepper <drepper@gmail.com>
38740
38741 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38742 for __FINITE_MATH_ONLY__ == 1.
38743
edc121be
AS
387442011-09-15 Andreas Schwab <schwab@redhat.com>
38745
38746 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38747 __ieee754_sqrt instead of sqrt.
38748 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38749 __ieee754_sqrtf instead of sqrtf.
38750 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38751 __floorf instead of floorf.
38752 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38753 __floorf, __truncf instead of floorf, truncf.
38754
cd205654
UD
387552011-09-14 Ulrich Drepper <drepper@gmail.com>
38756
ee4d0315
UD
38757 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38758
cd205654
UD
38759 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38760 __extern_always_inline.
38761 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38762 32-bit.
38763
48b67d71
AS
387642011-09-14 Andreas Schwab <schwab@redhat.com>
38765
38766 * elf/rtld.c (dl_main): Also relocate in dependency order when
38767 doing symbol dependency testing.
38768
1ae12c75
AS
387692011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38770
38771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38772 Always define `refsym'.
38773
995a80df
AS
387742011-09-13 Andreas Schwab <schwab@redhat.com>
38775
e529793b
AS
38776 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38777 (__FD_ELT): Renamed from __FDELT.
38778 * misc/bits/select2.h (__FD_ELT): Likewise.
38779 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38780 __FD_MASK instead of __FDELT, __FDMASK.
38781 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38782 Likewise.
38783 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38784 Likewise.
38785
52d4fef8
AS
38786 * elf/Makefile (gen-ldd): Fix pattern.
38787
995a80df
AS
38788 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38789 (init_tls): Likewise.
38790
8682f8b0
UD
387912011-09-12 Ulrich Drepper <drepper@gmail.com>
38792
38793 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38794
de82006d
AS
387952011-09-12 Andreas Schwab <schwab@redhat.com>
38796
a7c8e6a1
AS
38797 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38798 `struct cmsghdr *' instead of `void *'.
38799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38800 Likewise.
38801
0f31fe77
AS
388022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38803
38804 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38805 if non-absolute.
38806 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38807 ldd_rewrite_script.
0f31fe77 38808
32b4c839
UD
388092011-09-11 Ulrich Drepper <drepper@gmail.com>
38810
83cd1420
UD
38811 * configure.in: Remove --with-tls option.
38812 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38813 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38814 out in case it is missing.
38815 * sysdeps/ia64/elf/configure.in: Likewise.
38816 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38817 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38818 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38819 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38820 * sysdeps/sh/elf/configure.in: Likewise.
38821 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38822 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38823 * sysdeps/x86_64/elf/configure.in: Likewise.
38824 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38825 * sysdeps/mach/hurd/tls.h: Likewise.
38826
633f745d
UD
38827 [BZ #13067]
38828 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38829
f318beb8
UD
38830 [BZ #13090]
38831 * configure.in: Fix use of AC_INIT.
38832
32b4c839
UD
38833 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38834
3ce1f295
UD
388352011-09-10 Ulrich Drepper <drepper@gmail.com>
38836
bb016596
UD
38837 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38838 __set_errno.
8e58439c
UD
38839 * malloc/hooks.c: Likewise.
38840
aebae053 38841 [BZ #11929]
02d46fc4
UD
38842 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38843 variables statically.
38844 (narenas): Initialize.
38845 (list_lock): Initialize.
bb016596
UD
38846 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38847 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38848 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38849 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38850 Add initializers to main_arena and mp_.
38851 (malloc_state): Remove pagesize member. Change all users to use
38852 GLRO(dl_pagesize).
38853
38854 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38855 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38856 is always initialized.
38857
22a89187
UD
38858 * malloc/malloc.c: Removed unused configurations and dead code.
38859 * malloc/arena.c: Likewise.
38860 * malloc/hooks.c: Likewise.
02d46fc4 38861 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38862
d063d164
UD
38863 * include/tls.h: Removed. USE___THREAD must always be defined.
38864 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38865 * elf/dl-libc.c: Likewise.
38866 * elf/dl-tsd.c: Likewise.
38867 * include/errno.h: Likewise.
38868 * include/netdb.h: Likewise.
38869 * include/resolv.h: Likewise.
38870 * inet/herrno-loc.c: Likewise.
38871 * inet/herrno.c: Likewise.
38872 * malloc/arena.c: Likewise.
38873 * malloc/hooks.c: Likewise.
38874 * malloc/malloc.c: Likewise.
38875 * resolv/res-state.c: Likewise.
38876 * resolv/res_libc.c: Likewise.
38877 * sysdeps/i386/dl-machine.h: Likewise.
38878 * sysdeps/ia64/dl-machine.h: Likewise.
38879 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38880 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38881 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38882 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38883 * sysdeps/sh/dl-machine.h: Likewise.
38884 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38885 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38886 * sysdeps/unix/i386/sysdep.S: Likewise.
38887 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38888 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38891 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38893 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38897 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38898 * sysdeps/x86_64/dl-machine.h: Likewise.
38899 * tls.make.c: Likewise.
38900
3ce1f295
UD
38901 * configure.in: Remove --with-__thread option. Make tests for
38902 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38903 tls_model attribute fail if no support is available. Remove
38904 USE_IN_LIBIO.
38905 * Makeconfig: Adjust for dropped configure option. All features are
38906 now mandatory.
38907 * Makerules: Likewise.
38908 * Versions.def: Likewise.
38909 * argp/argp-fmtstream.c: Likewise.
38910 * argp/argp-fmtstream.h: Likewise.
38911 * argp/argp-help.c: Likewise.
38912 * assert/assert.c: Likewise.
38913 * config.h.in: Likewise.
38914 * config.make.in: Likewise.
38915 * configure: Likewise.
38916 * configure.in: Likewise.
38917 * csu/Versions: Likewise.
38918 * csu/init.c: Likewise.
38919 * elf/tst-audit2.c: Likewise.
38920 * elf/tst-tls10.c: Likewise.
38921 * elf/tst-tls10.h: Likewise.
38922 * elf/tst-tls11.c: Likewise.
38923 * elf/tst-tls12.c: Likewise.
38924 * elf/tst-tls14.c: Likewise.
38925 * elf/tst-tlsmod11.c: Likewise.
38926 * elf/tst-tlsmod12.c: Likewise.
38927 * elf/tst-tlsmod13.c: Likewise.
38928 * elf/tst-tlsmod13a.c: Likewise.
38929 * elf/tst-tlsmod14a.c: Likewise.
38930 * elf/tst-tlsmod15b.c: Likewise.
38931 * elf/tst-tlsmod16a.c: Likewise.
38932 * elf/tst-tlsmod16b.c: Likewise.
38933 * elf/tst-tlsmod7.c: Likewise.
38934 * elf/tst-tlsmod8.c: Likewise.
38935 * elf/tst-tlsmod9.c: Likewise.
38936 * gmon/gmon.c: Likewise.
38937 * grp/fgetgrent_r.c: Likewise.
38938 * grp/putgrent.c: Likewise.
38939 * hurd/fopenport.c: Likewise.
38940 * include/libc-symbols.h: Likewise.
38941 * include/tls.h: Likewise.
38942 * intl/gettextP.h: Likewise.
38943 * intl/loadinfo.h: Likewise.
38944 * locale/global-locale.c: Likewise.
38945 * locale/localeinfo.h: Likewise.
38946 * mach/devstream.c: Likewise.
38947 * malloc/arena.c: Likewise.
38948 * malloc/set-freeres.c: Likewise.
38949 * misc/err.c: Likewise.
38950 * misc/getttyent.c: Likewise.
38951 * misc/mntent_r.c: Likewise.
38952 * posix/getopt.c: Likewise.
38953 * posix/wordexp.c: Likewise.
38954 * pwd/fgetpwent_r.c: Likewise.
38955 * resolv/Versions: Likewise.
38956 * resolv/res_hconf.c: Likewise.
38957 * shadow/fgetspent_r.c: Likewise.
38958 * shadow/putspent.c: Likewise.
38959 * stdio-common/printf_fphex.c: Likewise.
38960 * stdio-common/tmpfile.c: Likewise.
38961 * stdlib/abort.c: Likewise.
38962 * stdlib/fmtmsg.c: Likewise.
38963 * sunrpc/auth_unix.c: Likewise.
38964 * sunrpc/clnt_perr.c: Likewise.
38965 * sunrpc/clnt_tcp.c: Likewise.
38966 * sunrpc/clnt_udp.c: Likewise.
38967 * sunrpc/clnt_unix.c: Likewise.
38968 * sunrpc/openchild.c: Likewise.
38969 * sunrpc/svc_simple.c: Likewise.
38970 * sunrpc/svc_tcp.c: Likewise.
38971 * sunrpc/svc_udp.c: Likewise.
38972 * sunrpc/svc_unix.c: Likewise.
38973 * sunrpc/xdr.c: Likewise.
38974 * sunrpc/xdr_array.c: Likewise.
38975 * sunrpc/xdr_rec.c: Likewise.
38976 * sunrpc/xdr_ref.c: Likewise.
38977 * sunrpc/xdr_stdio.c: Likewise.
38978
1248c1c4
PB
389792011-09-09 Ulrich Drepper <drepper@gmail.com>
38980
38981 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38982
389832011-07-03 Andreas Jaeger <aj@suse.de>
38984
38985 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38986 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38987 regenerate with gen-libm-tests.pl.
38988
389892010-05-12 Petr Baudis <pasky@suse.cz>
38990
38991 [BZ #11589]
38992 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38993 around j0() zero points by switching to j1().
38994 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38998
f22e1074
UD
389992011-09-09 Ulrich Drepper <drepper@gmail.com>
39000
f19009c1
UD
39001 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39002 instead of 0.
39003 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39004 instead of 0.
f19009c1
UD
39005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39006 Patch in part by Pavel Roskin <proski@gnu.org>.
39007
3f8cc204
UD
39008 [BZ #13138]
39009 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39010 realloc.
39011 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39012 Free memory block if necessary.
39013
f22e1074
UD
39014 [BZ #12847]
39015 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39016 be NULL. Don't lock in this case.
39017
0a2349f9
RM
390182011-09-09 Roland McGrath <roland@hack.frob.com>
39019
39020 * elf/elf.h (ELFOSABI_GNU): New macro.
39021 (ELFOSABI_LINUX): Define to that.
39022
f3cdd467
DZ
390232011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39024
39025 * string/strncat.c (strncat): Undef the symbol in case it has been
39026 defined in bits/string.h.
39027
74718d13
UD
390282011-09-09 Ulrich Drepper <drepper@gmail.com>
39029
633e9e0f
UD
39030 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39031
0a2349f9 39032 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39033 link map.
39034
f9924780
AJ
390352011-08-17 Andreas Jaeger <aj@suse.de>
39036
39037 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39038
7f5517aa
PP
390392011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39040 Ian Lance Taylor <iant@google.com>
39041
39042 * math/libm-test.inc (lround_test): New testcase.
39043 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39044
762011fe
UD
390452011-09-08 Ulrich Drepper <drepper@gmail.com>
39046
92963737
UD
39047 * Makefile: Remove support for automatic cvs check-ins.
39048 * Makerules: Likewise.
39049 * config.make.in: Likewise.
39050 * configure.in: Likewise.
39051 * intl/Makefile: Likewise.
39052 * locale/Makefile: Likewise.
39053 * po/Makefile: Likewise.
39054 * posix/Makefile: Likewise.
39055 * sysdeps/gnu/Makefile: Likewise.
39056 * sysdeps/mach/hurd/Makefile: Likewise.
39057 * sysdeps/sparc/sparc32/Makefile: Likewise.
39058
b0727fd8
JS
39059 [BZ #13118]
39060 * posix/Makefile (bug-regex32-ENV): Define.
39061 Patch by John Stanley <jpsinthemix@verizon.net>.
39062
a0f33f99
UD
39063 * misc/Makefile (headers): Add bits/select2.h.
39064 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39065 * misc/bits/select2.h: New file.
39066 * include/bits/select2.h: New file.
39067 * debug/Makefile (routines): Add fdelt_chk.
39068 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39069 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39070 FD_ISSET.
39071 * debug/fdelt_chk.c: New file.
39072
762011fe
UD
39073 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39074 * wcsmbs/test-wmemcmp.c: Likewise.
39075 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39076 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39077
390782011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39079
39080 * string/Makefile (strop-tests): Add memcmp.
39081 * string/test-wmemcmp.c: New file.
39082 * string/test-memcmp.c: Add wmemcmp support.
39083
7f513ec8
RM
390842011-09-08 Roland McGrath <roland@hack.frob.com>
39085
0442afb4
RM
39086 [BZ #13153]
39087 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39088 2011-07-19 change.
39089
7f513ec8
RM
39090 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39091 garbage value in a __mach_port_mod_refs call in the cases of the
39092 task-self and thread-self ports.
39093
a12b2239
ST
390942011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39095
39096 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39097
610f9ab4
AS
390982011-09-08 Andreas Schwab <schwab@redhat.com>
39099
7f513ec8 39100 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39101
48882a1a
LD
391022011-09-07 Ulrich Drepper <drepper@gmail.com>
39103
b49865be
UD
39104 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39105
fdc86bc9
UD
39106 * elf/dl-libc.c (dlerror_run): Pass back error code from
39107 dl_catch_error.
39108
c966526a
UD
39109 [BZ #13123]
39110 * elf/dl-load.c (lose): Free l_origin if it is valid.
39111
48882a1a
LD
39112 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39113 names.
39114 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39115 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39116 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39117 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39118 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39119 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39120
77a2a8b4
AZ
391212011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39122
39123 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39124 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39125 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39126 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39127 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39128 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39129 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39130 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39131 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39132 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39133
24f579d8
AM
391342011-08-15 Alan Modra <amodra@gmail.com>
39135
39136 [BZ #13092]
39137 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39138 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39139 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39140 ppc_mcount to static-only-routines.
39141 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39142 __mcount_internal.
39143 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39144 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39145
3d4837df
UD
391462011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39147
39148 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39149 for finite and infinity parameters.
39150
22700377
WS
391512011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39152
39153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39154 and add nop instructions for throughput optimization.
39155 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39156
5025581e
WS
391572011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39158
39159 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39160 aligned copy for power7 with vector-scalar instructions.
39161 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39162
08a300c9
L
391632011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39164
39165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39166 AVX check.
39167
59178ef9
AS
391682011-09-07 Andreas Schwab <schwab@redhat.com>
39169
39170 [BZ #13144]
39171 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39172 last change.
39173
e38ba7ab
UD
391742011-09-07 Ulrich Drepper <drepper@gmail.com>
39175
39176 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39177 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39178 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39179 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39180 clock_gettime.
39181
d53a73ac
UD
391822011-09-06 Ulrich Drepper <drepper@gmail.com>
39183
fc8bffcc
UD
39184 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39185 Forgot to demangle the pointer.
39186
ceaa0c5d
UD
39187 * sysdeps/i386/sysdep.h: Define atom_text_section.
39188 * sysdeps/x86_64/sysdep.h: Likewise.
39189 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39190 section with atom_text_section.
39191 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39192 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39193 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39194 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39195 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39196
a77d3c17
UD
39197 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39199 already be defined. Change to take two parameters and don't assign
39200 result to variable. Adjust all users.
39201 Define INTERNAL_GETTIME if not already defined.
39202 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39203 call.
39204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39205 HAVE_CLOCK_GETTIME_VSYSCALL.
39206 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39207
d53a73ac
UD
39208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39209 gettimeofday vsyscall, just use time.
39210
a8f84144
AS
392112011-09-06 Andreas Schwab <schwab@redhat.com>
39212
39213 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39214 <errno.h>.
39215
ef606249
UD
392162011-09-06 Ulrich Drepper <drepper@gmail.com>
39217
39218 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39219 syscall on x86-64.
39220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39221 syscall.
39222 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39223 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39224 syscall if possible.
39225
6585cb60
UD
392262011-09-05 Ulrich Drepper <drepper@gmail.com>
39227
39228 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39229 e_ident. Don't pass to find_mapsXX.
39230 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39231
a5f524e4
LD
392322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39233
39234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39235 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39236 * sysdeps/x86_64/multiarch/strchr.S: Update.
39237 Check bit_slow_BSF bit.
39238 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39239 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39240 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39241
554881ef
UD
392422011-09-05 Ulrich Drepper <drepper@gmail.com>
39243
d96de963
UD
39244 [BZ #13134]
39245 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39246 before glibc 2.15.
39247 (tryshell): Define.
39248 (__spawni): Change last parameter to be flag. Test
39249 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39250 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39251 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39252 * posix/spawni.c: Likewise.
39253 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39254 * posix/spawnp.c: Likewise. Change normal version to use
39255 SPAWN_XFLAGS_USE_PATH.
39256 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39257 SPAWN_XFLAGS_TRY_SHELL.
39258
d48e5868
UD
39259 [BZ #13150]
39260 * posix/glob.h: Remove gcc 1.x support.
39261
554881ef
UD
39262 [BZ #13068]
39263 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39264
693fb948
LD
392652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39266
39267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39268 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39269 strrchr-sse2-bsf
39270 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39271 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39272 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39273 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39274 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39275 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39276
1b48c537
UD
392772011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39278
49d42c37
UD
39279 * sysdeps/x86_64/wcscmp.S: New file.
39280
1b48c537
UD
39281 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39282 wcscmp-c wcscmp-sse2
39283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39284 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39285 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39286 * wcsmbs/wcscmp.c: Allow renaming.
39287
15c95c5d
DM
392882011-09-05 David S. Miller <davem@davemloft.net>
39289
39290 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39291 stack slot, rather than the struct return pointer slot.
39292 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39293 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39295 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39296
2f0ad8f3
UD
392972011-09-05 Ulrich Drepper <drepper@gmail.com>
39298
d88ae418
UD
39299 * po/ja.po: Update from translation team.
39300
2f0ad8f3
UD
39301 [BZ #13144]
39302 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39303 kernel in 64-bit binaries.
39304
5f4318d1
DM
393052011-09-01 David S. Miller <davem@davemloft.net>
39306
39307 * elf/elf.h (HWCAP_SPARC_*): Move to..
39308 * sysdeps/sparc/sysdep.h: this new file and add new values.
39309 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39310 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39311 _DL_HWCAP_COUNT to 24.
39312 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39313 entries.
39314 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39315 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39316 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39318 instead of magic constants.
39319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39320
3ba57516
DM
393212011-08-31 David S. Miller <davem@davemloft.net>
39322
39323 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39325 Reimplement to do errno handling inline.
39326 (SYSCALL_ERROR_HANDLER): New macro.
39327 (__SYSCALL_STRING): Do not do errno handling in asm.
39328 (__CLONE_SYSCALL_STRING): Delete.
39329 (__INTERNAL_SYSCALL_STRING): Delete.
39330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39331 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39332 (PSEUDO): Reimplement to do errno handling inline.
39333 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39334 (SYSCALL_ERROR_HANDLER): New macro.
39335 (__SYSCALL_STRING): Do not do errno handling in asm.
39336 (__CLONE_SYSCALL_STRING): Delete.
39337 (__INTERNAL_SYSCALL_STRING): Delete.
39338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39339 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39340 i386.
39341 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39342 (inline_syscall*): Add 'err' argument.
39343 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39344 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39345 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39346 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39347
39348 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39349 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39350
2bc17433
AS
393512011-08-30 Andreas Schwab <schwab@redhat.com>
39352
39353 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39354
fbeb5f4d
JO
393552011-08-29 Jiri Olsa <jolsa@redhat.com>
39356
39357 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39358 directive.
39359
ad69cc26
DM
393602011-08-24 David S. Miller <davem@davemloft.net>
39361
39362 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39363
39dd69df
AS
393642011-08-24 Andreas Schwab <schwab@redhat.com>
39365
39366 * elf/Makefile: Add rules to build and run unload8 test.
39367 * elf/unload8.c: New file.
39368 * elf/unload8mod1.c: New file.
39369 * elf/unload8mod1x.c: New file.
39370 * elf/unload8mod2.c: New file.
39371 * elf/unload8mod3.c: New file.
39372
39373 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39374 it wasn't used.
39375
2c0b250a
DM
393762011-08-23 David S. Miller <davem@davemloft.net>
39377
39378 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39379 subtract stack bias.
39380 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39381 %sp not %fp in calculations.
39382 (_JMPBUF_UNWINDS_ADJ): Likewise.
39383
22044b48
DM
39384 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39385 (aio_suspend): Call it to force an exception region around the
39386 AIO_MISC_WAIT() invocation.
39387
2cae4995
AS
393882011-08-23 Andreas Schwab <schwab@redhat.com>
39389
39390 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39391 backslash.
39392
873a772e
AJ
393932011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39394
39395 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39396 protection macro.
39397 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39398 and <dl-machine.h>.
39399 (Elf64_FuncDesc): Remove.
39400
25ad0df1
DM
394012011-08-22 David S. Miller <davem@davemloft.net>
39402
39403 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39404 sigaltstack check, add missing cfi directives.
39405 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39406 missing cfi directives, and sigaltstack handling.
39407
e888bcbe
AS
394082011-08-16 Andreas Schwab <schwab@redhat.com>
39409
39410 [BZ #11724]
39411 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39412 object is seen twice.
39413 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39414
39415 * elf/Makefile (distribute): Add tst-initorder2.c.
39416 (tests): Add tst-initorder2.
39417 (modules-names): Add tst-initorder2a tst-initorder2b
39418 tst-initorder2c tst-initorder2d. Add rules to build them.
39419 ($(objpfx)tst-initorder2.out): New rule.
39420 * elf/tst-initorder2.c: New file.
39421 * elf/tst-initorder2.exp: New file.
39422
87162f46
AS
394232011-08-22 Andreas Schwab <schwab@redhat.com>
39424
70538b7f
AS
39425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39426
f55ffe58
AS
39427 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39428 dependencies back to end of function.
39429
87162f46
AS
39430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39431 $(elfobjdir)/ld.so.
39432
91b392a4
UD
394332011-08-21 Ulrich Drepper <drepper@gmail.com>
39434
39435 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39436 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39438 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39439 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39440 of __vdso_gettimeofday.
39441 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39442 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39443 attribute_hidden.
39444 (_libc_vdso_platform_setup): Remove initialization of
39445 __vdso_gettimeofday and __vdso_time.
39446
5c43483f
UD
394472011-08-20 Ulrich Drepper <drepper@gmail.com>
39448
775a77e7
UD
39449 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39450 and fgetc_unlocked.
39451 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39452 getc_unlocked.
89f447ed 39453
49c74ba9
UD
39454 * elf/dl-open.c (add_to_global): Report additions to the global scope
39455 for LD_DEBUG=scopes.
39456 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39457 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39458
5c43483f
UD
39459 [BZ #13114]
39460 * stdio-common/Makefile (tests): Add bug24.
39461 * stdio-common/bug24.c: New file.
39462
a101b025
AJ
394632011-08-19 Andreas Jaeger <aj@suse.de>
39464
39465 [BZ #13114]
39466 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39467 non-existant file when using close-on-exec mode.
39468
c88f1766
UD
394692011-08-20 Ulrich Drepper <drepper@gmail.com>
39470
0276a718
UD
39471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39472 the very first instruction.
39473
c88f1766
UD
39474 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39475 the CFI state in the end.
39476 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39477 inclusion of dl-trampoline.h.
39478 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39479
51ccffa0
AS
394802011-08-19 Andreas Schwab <schwab@redhat.com>
39481
94d7165f
AS
39482 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39483 expectations for long double.
39484
51ccffa0
AS
39485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39486 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39487
fd708658 394882011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39489
39490 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39491 artificual limit depends upon the system page size.
39492
44f0a71e
UD
394932011-08-17 Ulrich Drepper <drepper@gmail.com>
39494
39495 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39496 * resolv/Makefile: Define CFLAGS-libresolv.
39497
8de79a24
AS
394982011-08-17 Andreas Schwab <schwab@redhat.com>
39499
39500 * nss/makedb.c (compute_tables): Make variables used in nested
39501 function static.
39502
27724598
UD
395032011-08-17 Ulrich Drepper <drepper@gmail.com>
39504
c5305d88
UD
39505 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39506 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39507 if buffer was too small.
39508
27724598
UD
39509 * elf/pldd.c (main): Attach to all threads in the process.
39510 Rewrite /proc handling to use *at functions.
39511
076fe015
UD
395122011-08-16 Ulrich Drepper <drepper@gmail.com>
39513
174baab3
UD
39514 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39515 specifies first scope to show.
39516 (dl_open_worker): Update callers. Move printing scope of new
39517 object to before the relocation.
44f0a71e 39518 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39519 * sysdeps/generic/ldsodefs.h: Update declaration.
39520
076fe015
UD
39521 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39522 string for the scope number.
39523
a60df2c3
UD
395242011-08-14 Ulrich Drepper <drepper@gmail.com>
39525
39526 * nscd/servicescache.c (cache_addserv): Make sure written is always
39527 initialized.
39528
5e4287d1
RM
395292011-08-14 Roland McGrath <roland@hack.frob.com>
39530
85ae0589
RM
39531 * sysdeps/i386/i486/bits/atomic.h
39532 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39533 statement expression, so as to suppress "set but not used" warning.
39534 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39535
69f63097
RM
39536 * string/strncat.c (STRNCAT): Use prototype definition.
39537
675456ef
RM
39538 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39539 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39540 -Iprograms here.
39541 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39542 (localedef-modules): Add localedef.
39543 (locale-modules): Add locale.
39544
5e4287d1
RM
39545 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39546 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39547 to avoid a warning.
39548
9c96ff23
DM
395492011-08-14 David S. Miller <davem@davemloft.net>
39550
39551 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39552 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39553
f9ddf089
UD
395542011-08-13 Ulrich Drepper <drepper@gmail.com>
39555
44f0a71e 39556 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39557 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39558 * elf/rtld.c (dl_main): Set l_name of vDSO.
39559 Call _dl_show_scope when DL_DEBUG_SCOPES.
39560 (process_dl_debug): Recognize scopes flag and also set it for all.
39561 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39562 Declare _dl_show_scope.
39563
1dc27704
UD
39564 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39565 (do_dlopen): Pass caller_dlopen to dl_open.
39566 (__libc_dlopen_mode): Initialize caller_dlopen.
39567
f9ddf089
UD
39568 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39569 of libc. Make tolower call locale-independent. Optimize a bit by
39570 using isdigit instead of isalnum.
39571 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39572
9ac533d3
UD
395732011-08-12 Ulrich Drepper <drepper@gmail.com>
39574
39575 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39576 was a dependency or dynamically loaded.
39577
89edf2e9
UD
395782011-08-11 Ulrich Drepper <drepper@gmail.com>
39579
8e999d29
UD
39580 * intl/l10nflist.c: Allow architecture-specific pop function.
39581 * sysdeps/x86_64/l10nflist.c: New file.
39582
89edf2e9
UD
39583 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39584 classification.
39585
14d96785
AS
395862011-08-10 Andreas Schwab <schwab@redhat.com>
39587
39588 * include/dirent.h: Add libc_hidden_proto for scandirat and
39589 scandirat64. Don't declare __scandirat64.
39590 * dirent/scandirat.c: Add libc_hidden_def.
39591 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39592 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39593
6761ac04
DM
395942011-08-10 David S. Miller <davem@davemloft.net>
39595
39596 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39597 enum.
39598 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39599 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39600 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39601
c55fbd1e
UD
396022011-08-09 Ulrich Drepper <drepper@gmail.com>
39603
39604 * Versions.def [libc]: Add GLIBC_2.15.
39605 * dirent/Makefile (routines): Add scandirat and scandirat64.
39606 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39607 GLIBC_2.15.
39608 * dirent/dirent.h: Declare scandirat and scandirat64.
39609 * dirent/scandirat.c: New file.
39610 * dirent/scandirat64.c: New file.
39611 * sysdeps/wordsize-64/scandirat.c: New file.
39612 * sysdeps/wordsize-64/scandirat64.c: New file.
39613 * dirent/opendir.c: Define opendirat.
39614 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39615 using scandirat.
39616 * dirent/scandir64.c: Adjust for scandir.c change.
39617 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39618 __scandirat64, and __scandir_cancel_handler.
39619 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39620 additional parameter and use openat instead of open (outside of ld.so).
39621 Add new __opendir as wrapper around __opendirat.
39622 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39623 here without requiring old scandirat implementation.
39624
879165f2
UD
396252011-08-08 Ulrich Drepper <drepper@gmail.com>
39626
39627 * dirent/scandir.c (cancel_handler): Renamed to
39628 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39629 defined. Adjust users.
39630 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39632
cb7e923b
UD
396332011-08-04 Ulrich Drepper <drepper@gmail.com>
39634
16292edd
UD
39635 * string/test-string.h (IMPL): Use __STRING to expand name and then
39636 stringify it.
39637
cb7e923b
UD
39638 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39639 of cleanups.
39640
cff82933
LD
396412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39642
39643 * string/Makefile: Update.
39644 (strop-tests): Append strncat.
39645 * string/test-wcscmp.c: New file.
39646 New comprehensive test for wcscmp.
39647 * string/test-strcmp.c: Update.
39648 (WIDE): New define.
39649
9be9bfcc
AS
396502011-07-22 Andreas Schwab <schwab@redhat.com>
39651
39652 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39653 line.
39654
2e96f1c7
AS
396552011-07-26 Andreas Schwab <schwab@redhat.com>
39656
39657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39658 encoding to ACE if AI_IDN.
39659
85188888
JJ
396602011-08-01 Jakub Jelinek <jakub@redhat.com>
39661
39662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39663 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39664
5fa16e9b
LD
396652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39666
39667 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39668 Fix overflow bug in strncat.
39669 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39670
39671 * string/test-strncat.c: Update.
39672 Add new tests for checking overflow bugs.
39673
396742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39675
39676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39677 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39678 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39679 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39680 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39681 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39682 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39683 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39684 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39685
39686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39687 (USE_AS_STRCAT): Define.
39688 Add strcat and strncat support.
39689 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39690
8c1a459f
AS
396912011-07-25 Andreas Schwab <schwab@redhat.com>
39692
39693 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39694 __n bigger than INT_MAX+1.
39695 (__strncmp_g): Likewise.
39696
bba33c28
UD
396972011-07-23 Ulrich Drepper <drepper@gmail.com>
39698
798be72d
UD
39699 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39700 * libio/stido.h: Likewise.
39701
8accd4dc
UD
39702 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39703 (AF_NFC): Define.
39704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39705 (AF_NFC): Define.
39706
cbff0d96
UD
39707 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39708 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39709 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39710 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39711 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39712
9191c04a
UD
39713 [BZ #13021]
39714 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39715 installed.
39716
bba33c28
UD
39717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39718 typo.
39719 (_dl_x86_64_save_sse): Likewise.
39720
90f139dd
UD
397212011-07-22 Ulrich Drepper <drepper@gmail.com>
39722
1aae088a
UD
39723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39724 OSXSAVE.
39725 (_dl_x86_64_save_sse): Likewise.
39726
8e2045f5
UD
39727 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39728
90f139dd
UD
39729 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39730
1d002f25
AS
397312011-07-21 Andreas Schwab <schwab@redhat.com>
39732
39733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39734 change.
39735 (_dl_x86_64_save_sse): Use correct AVX check.
39736
21137f89
UD
397372011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39738
39739 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39740 bug in strncpy/strncat.
39741 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39742
a65c0b7a
UD
397432011-07-21 Ulrich Drepper <drepper@gmail.com>
39744
39745 * string/tester.c (test_strcat): Add tests for different alignments
39746 of source and destination.
39747 (test_strncat): Likewise.
39748
6986b98a
UD
397492011-07-20 Ulrich Drepper <drepper@gmail.com>
39750
90bb2039
UD
39751 [BZ #12852]
39752 * posix/glob.c (glob): Check passed in values before using them in
39753 expressions to avoid some overflows.
39754 (glob_in_dir): Likewise.
39755
5644ef54
UD
39756 [BZ #13007]
39757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39758 check for AVX enablement so that we don't crash with old kernels and
39759 new hardware.
39760 * elf/tst-audit4.c: Add same checks here.
39761 * elf/tst-audit6.c: Likewise.
39762
39763 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39764
bfc9dc9b
AS
397652011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39766
39767 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39768
702e64bb
UD
397692011-07-20 Ulrich Drepper <drepper@gmail.com>
39770
39771 * po/cs.po: Update from translation team.
39772 * po/bg.po: Likewise.
39773
295e904f
MP
397742011-07-12 Marek Polacek <mpolacek@redhat.com>
39775
39776 * misc/sys/cdefs.h: Add support for const attribute.
39777 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39778 to gnu_dev_{major,minor,makedev} functions.
39779
3ff94596
MP
397802011-07-20 Marek Polacek <mpolacek@redhat.com>
39781
39782 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39783
28b59fca
AS
397842011-07-20 Andreas Schwab <schwab@redhat.com>
39785
39786 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39787 strlen results.
39788
19df733e
AK
397892011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39790
39791 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39792 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39793 register in order to avoid conflicts with the soft frame pointer
39794 being held in r11 when necessary.
39795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39796 (INTERNAL_VSYSCALL_NCS): Likewise.
39797
c8835729
MP
397982011-07-14 Marek Polacek <mpolacek@redhat.com>
39799
39800 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39801 * elf/dl-fini.c (_dl_fini): Adjust caller.
39802 * elf/dl-close.c (_dl_close_worker): Likewise.
39803 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39804
b902330c
MP
398052011-07-15 Marek Polacek <mpolacek@redhat.com>
39806
8991e135
MP
39807 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39808 "aux_cache->nlibs < 0".
39809
b902330c
MP
39810 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39811 in the reload-count case.
39812
99710781
LD
398132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39814
39815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39816 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39817 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39818 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39819 * sysdeps/x86_64/multiarch/strcat.S: New file.
39820 * sysdeps/x86_64/multiarch/strncat.S: New file.
39821 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39822 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39823 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39824 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39825 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39826 (USE_AS_STRCAT): Define.
39827 Add strcat and strncat support.
39828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39830 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39831 * string/strncat.c: Update.
39832 (USE_AS_STRNCAT): Define.
39833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39834 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39835 and i7.
39836 * sysdeps/x86_64/multiarch/init-arch.h
39837 (bit_Prefer_PMINUB_for_stringop): New.
39838 (index_Prefer_PMINUB_for_stringop): Likewise.
39839 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39840 bit_Prefer_PMINUB_for_stringop.
39841
7dc6bd90
UD
398422011-07-19 Ulrich Drepper <drepper@gmail.com>
39843
39844 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39845 buffer64.
39846 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39847 of casting of buffer.
39848 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39849 buffer32 and buffer64.
39850 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39851 writes instead of casting of buffer.
39852 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39853 buffer32.
39854 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39855 casting of buffer.
39856
e0e72284
AS
398572011-07-19 Andreas Schwab <schwab@redhat.com>
39858
39859 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39860
feb1eb0b
UD
398612011-07-19 Ulrich Drepper <drepper@gmail.com>
39862
39863 * nscd/nscd.c (termination_handler): Don't do anything for a database
39864 if it has not yet been initialized.
39865
298711ff
UD
398662011-07-18 Ulrich Drepper <drepper@gmail.com>
39867
39868 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39869
398702011-07-15 Marek Polacek <mpolacek@redhat.com>
39871
39872 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39873
f9d68389
UD
398742011-07-18 Ulrich Drepper <drepper@gmail.com>
39875
39876 * po/nl.po: Update from translation team.
39877 * po/sv.po: Likewise.
39878
db290cf5
RM
398792011-07-16 Roland McGrath <roland@hack.frob.com>
39880
39881 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39882 now disallowed by GCC.
5c550700 39883
fd5e21c7
RM
39884 * configure.in (use-default-link): Default to yes if a test -shared
39885 link meets our qualifications.
39886 * configure: Regenerated.
39887
5c550700
RM
39888 * config.make.in (output-format): New variable.
39889 * configure.in: Check for ld --print-output-format support.
39890 * configure: Regenerated.
39891 * Makerules ($(common-objpfx)format.lds)
39892 [$(output-format) != unknown]: Just use $(output-format),
39893 instead of the linker-script munging.
39894
9fa2c032
RM
398952011-07-14 Roland McGrath <roland@hack.frob.com>
39896
a6928d51
RM
39897 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39898 of $(common-objpfx)shlib.lds.
39899 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39900
661607b3
RM
39901 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39902 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39903
9fa2c032
RM
39904 * configure.in (-z relro check): Adjust test code to add a large
39905 writable data section after it.
39906 * configure: Regenerated.
39907
defe9061
RM
399082011-07-11 Roland McGrath <roland@hack.frob.com>
39909
39910 * configure.in (-z relro check): Fix test code to make the variable
39911 truly const.
39912 * configure: Regenerated.
39913
319b9ad4
UD
399142011-07-11 Ulrich Drepper <drepper@gmail.com>
39915
39916 * nscd/nscd.h (struct traced_file): Define.
39917 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39918 elements. Add traced_files.
39919 (inotify_fd): Declare.
39920 (register_traced_file): Declare.
39921 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39922 (inotify_fd): Export.
39923 (resolv_conf_descr): Remove.
39924 (nscd_init): Move inotify descriptor creation to main.
39925 Don't register files for notification here.
39926 (register_traced_file): New function.
39927 (invalidate_cache): Don't use reset_res to determine whether to call
39928 res_init, go through the list of registered files.
39929 (main_loop_poll): The inotify descriptors are now stored in the
39930 structures for the traced files.
39931 (main_loop_epoll): Likewise
39932 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39933 to __nss_disable_nscd.
39934 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39935 for a database anymore. Check the records for all the registered
39936 files instead.
39937 * nss/Makefile (libnss_files-routines): Add files-init.
39938 (libnss_db-routines): Add db-init.
39939 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39940 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39941 * nss/nss_db/db-init.c: New file.
39942 * nss/nss_files/files-init.c: New file.
39943 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39944 __nss_lookup_function.
39945 (__nss_lookup_function): Call nss_load_library.
39946 (nss_load_all_libraries): New function.
39947 (__nss_disable_nscd): Take parameter with callback function for files
39948 to register. Set is_nscd. Load all the DSOs for the NSS modules
39949 used for the cached services.
39950 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39952 options for features to all the files in nscd.
39953
39954 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39955
23bee3e8
RM
399562011-07-10 Roland McGrath <roland@hack.frob.com>
39957
39958 * csu/elf-init.c (__libc_csu_init): Comment typo.
39959
46a5b7f0
UD
399602011-07-09 Ulrich Drepper <drepper@gmail.com>
39961
39962 * po/pl.po: Update from translation team.
39963 * po/ja.po: Likewise.
39964 * po/ru.po: Likewise.
39965 * po/ko.po: Likewise.
39966 * po/fr.po: Likewise.
39967
d30cf5bb
RM
399682011-07-09 Roland McGrath <roland@hack.frob.com>
39969
113ddea4
RM
39970 * configure.in (.ctors/.dtors header and trailer check):
39971 Use an empirical test on a built program.
39972 * configure: Regenerated.
39973
574920b4
RM
39974 * configure.in (-z relro check): Use an empirical test on a built DSO.
39975 Detect, but do not require, on ia64.
39976 * configure: Regenerated.
39977
d30cf5bb
RM
39978 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39979 Update tests that use readelf to use $READELF instead.
39980 * configure: Regenerated.
39981
8538fdb3
UD
399822011-07-08 Ulrich Drepper <drepper@gmail.com>
39983
39984 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39985 if the result is not used.
39986
04d08991
AJ
399872011-07-05 Andreas Jaeger <aj@suse.de>
39988
39989 [BZ#9696]
39990 * stdlib/tst-strtod.c: Add testcase.
39991
de283087
AD
399922011-07-07 Ulrich Drepper <drepper@gmail.com>
39993
4e5f31c8 39994 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39995 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39996 The latter has a higher limit. Take additional parameter to pass to
39997 the new function.
39998 (__pathconf): Pass file to __statfs_link_max.
39999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40000 __statfs_link_max.
40001 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40002 __statfs_link_max.
40003
de283087
AD
40004 [BZ #12868]
40005 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40006 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40007 Handle Lustre.
40008 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40009 (__statfs_filesize_max): Likewise.
40010 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40011
c75fa153
AJ
400122011-07-05 Andreas Jaeger <aj@suse.de>
40013
40014 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40015
1a544854
UD
400162011-07-06 Marek Polacek <mpolacek@redhat.com>
40017
40018 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40019 `status' variable.
40020 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40021 Likewise.
40022
6f0eec67
UD
400232011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40024
40025 * Makefile (strop-tests): Add strncat.
40026 * string/test-strncat.c: New file.
40027
aae30307
UD
400282011-06-30 Marek Polacek <mpolacek@redhat.com>
40029
40030 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40031
c0cfb5eb
UD
400322011-06-21 Andreas Jaeger <aj@suse.de>
40033
40034 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40035 Copy rule from iconvdata/Makefile.
40036
01636b21
UD
400372011-07-06 Ulrich Drepper <drepper@gmail.com>
40038
40039 [BZ #12922]
40040 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40041 but no long options are defined, just return 'W'.
40042
9895c8bc
UD
400432011-06-22 Marek Polacek <mpolacek@redhat.com>
40044
40045 [BZ #9696]
40046 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40047
5d4cf042
UD
400482011-07-06 Ulrich Drepper <drepper@gmail.com>
40049
40050 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40051 netgroups to read.
960e5535 40052 (innetgr): Likewise.
5d4cf042 40053
751eb97e
RM
400542011-07-05 Roland McGrath <roland@hack.frob.com>
40055
40056 * config.make.in (install_root): Default to $(DESTDIR).
40057
f15f1e45
UD
400582011-07-05 Ulrich Drepper <drepper@gmail.com>
40059
40060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40061
4e34ac6a
RM
400622011-07-02 Roland McGrath <roland@hack.frob.com>
40063
5e9b6af4
RM
40064 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40065
84f9ea0f
RM
40066 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40067 containing directory rather than embedding absolute directory names.
40068
ea5ee9f7
RM
40069 * scripts/check-local-headers.sh: Rewritten using awk.
40070 Match by word, not by line. Print error messages for matches.
40071 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40072
1b74661a
RM
40073 * Makerules [shlib-lds-flags empty]:
40074 ($(common-objpfx)libc_pic.opts): New target.
40075 ($(common-objpfx)libc_pic.os.clean): New target.
40076 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40077
40078 * config.make.in (OBJCOPY): New variable.
40079 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40080 * configure: Regenerated.
40081
f781ef40
RM
40082 * config.make.in (use-default-link): New variable.
40083 * configure.in (use_default_link): Grok --with-default-link to set it.
40084 * configure: Regenerated.
40085 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40086 (shlib-lds, shlib-lds-flags): Define to empty.
40087
2d4fa81e
RM
40088 * Makerules (shlib-lds): New variable.
40089 (shlib-lds-flags): New variable.
40090 (build-shlib, build-moduile, build-module-asneeded): Use it.
40091 ($(common-objpfx)libc.so): Use $(shlib-lds).
40092 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40093 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40094
31fffa6b
RM
40095 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40096 DT_FLAGS/DT_FLAGS_1 with zero flags.
40097
4e34ac6a
RM
40098 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40099 linker script munging.
40100
fcfc776b
UD
401012011-07-02 Ulrich Drepper <drepper@gmail.com>
40102
40103 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40104 as 128-bit value.
40105 * crypt/sha512.c (sha512_process_block): Perform total addition using
40106 128-bit if possible.
40107 (__sha512_finish_ctx): Likewise.
40108 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40109 as 64-bit value.
40110 * crypt/sha256.c (SWAP64): Define.
40111 (sha256_process_block): Perform total addition using 64-bit if
40112 possible.
40113 (__sha256_finish_ctx): Likewise.
40114
99231d9a
UD
401152011-07-01 Ulrich Drepper <drepper@gmail.com>
40116
40117 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40118 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40119 * nscd/hstcache.c (cache_addhst): Likewise.
40120 * nscd/grpcache.c (cache_addgr): Likewise.
40121 * nscd/aicache.c (addhstaiX): Likewise
40122 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40123
445b4a53
TK
401242011-07-01 Thorsten Kukuk <kukuk@suse.de>
40125
40126 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40128 * nscd/hstcache.c (cache_addhst): Likewise.
40129 * nscd/grpcache.c (cache_addgr): Likewise.
40130 * nscd/aicache.c (addhstaiX): Likewise
40131
6d4d8e8e
AS
401322011-07-01 Andreas Schwab <schwab@redhat.com>
40133
40134 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40135 domain only when needed.
40136
89f654c5
AS
401372011-06-30 Andreas Schwab <schwab@redhat.com>
40138
40139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40140 is always restored.
40141
cf3b23ff
UD
401422011-06-29 Ulrich Drepper <drepper@gmail.com>
40143
40144 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40145 are re-adding the entry.
40146 * nscd/servicescache.c (cache_addserv): Likewise.
40147
751626f9
AJ
401482011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40149
40150 * sysdeps/generic/dl-irel.h: fix protection against multiple
40151 inclusions.
40152 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40153
9113ea1f
UD
401542011-06-28 Ulrich Drepper <drepper@gmail.com>
40155
5c0b8d90
UD
40156 [BZ #12935]
40157 * malloc/memusage.sh: Fix quoting in message.
40158 * debug/xtrace.sh: Likewise.
40159
9113ea1f
UD
40160 * configure.in: Remove support for --experimental-malloc option, make
40161 it the default.
40162 * config.make.in: Likewise.
40163 * malloc/Makefile: Likewise.
40164
a4172181
AS
401652011-06-27 Andreas Schwab <schwab@redhat.com>
40166
40167 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40168 two-byte characters.
40169
78a7eee7
RM
401702011-06-27 Roland McGrath <roland@hack.frob.com>
40171
62bede13
RM
40172 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40173 AC_CACHE_CHECK invocation.
40174 * configure: Regenerated.
40175
78a7eee7
RM
40176 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40177
5ce33a62
UD
401782011-06-27 Ulrich Drepper <drepper@gmail.com>
40179
034807a9
UD
40180 [BZ #12350]
40181 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40182 bit from old_res_options.
40183
4902da17
UD
40184 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40185
5ce33a62
UD
40186 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40187 value type for setfct.
40188
c2344f56
L
401892011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40190
40191 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40192 __gettimeofday instead of gettimeofday.
40193
68468076
UD
401942011-06-26 Ulrich Drepper <drepper@gmail.com>
40195
40196 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40197
acb0d739
L
401982011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40199
40200 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40201
40202 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40203 info.
40204
8912479f
L
402052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40206
40207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40208 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40209 strcpy-sse2-unaligned strncpy-sse2-unaligned
40210 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40211 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40212 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40213 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40214 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40217 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40218 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40219 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40220 (STRCPY): Support SSE2 and SSSE3 versions.
40221
d5495a11
UD
402222011-06-24 Ulrich Drepper <drepper@gmail.com>
40223
40224 [BZ #12874]
40225 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40226 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40227 kernels which artificially limit size of requests.
40228
0b1cbaae
L
402292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40230
40231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40232 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40233 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40234 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40235 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40236 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40237 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40238 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40241 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40242 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40243 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40244 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40245 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40247 Enable unaligned load optimization for Intel Core i3, i5 and i7
40248 processors.
40249 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40250 Define.
40251 (index_Fast_Unaligned_Load): Define.
40252 (HAS_FAST_UNALIGNED_LOAD): Define.
40253
07f494a0
MP
402542011-06-23 Marek Polacek <mpolacek@redhat.com>
40255
40256 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40257
fa3fc0fe
UD
402582011-06-22 Ulrich Drepper <drepper@gmail.com>
40259
40260 [BZ #12907]
40261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40262 until it is clear that the information is realy needed.
40263 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40264
e12df166
AS
402652011-06-22 Andreas Schwab <schwab@redhat.com>
40266
40267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40268
852eb34d
UD
402692011-06-22 Ulrich Drepper <drepper@gmail.com>
40270
84e2a551
UD
40271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40272 /sys/devices/system/cpu/online if it is usable.
40273
852eb34d
UD
40274 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40275 reading the information from the /proc filesystem to once a second.
40276
6e502e19
UD
402772011-06-21 Andreas Jaeger <aj@suse.de>
40278
40279 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40280 NULL after inclusion of kernel headers.
40281
75d39ff2
UD
402822011-06-21 Ulrich Drepper <drepper@gmail.com>
40283
51f9aa6a
UD
40284 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40285 calls to internal_setent.
40286
c0244a9d
UD
40287 [BZ #12885]
40288 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40289 addresses using gethostbyname4_r ignore IPv4 addresses.
40290
c5e3c2ae
UD
40291 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40292 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40293
75d39ff2
UD
40294 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40295
42675c6f
DM
402962011-06-20 David S. Miller <davem@davemloft.net>
40297
40298 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40299 inclusions.
40300 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40301
40302 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40303 (elf_irel): Use it.
40304 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40305 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40306 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40307 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40308 * sysdeps/x86_64/dl-irel.h: Likewise.
40309
40310 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40311 * elf/dl-sym.c: Likewise.
40312
57912a71
UD
403132011-06-15 Ulrich Drepper <drepper@gmail.com>
40314
40315 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40316 need to dereference resplen2.
40317
ee22793d
AS
403182011-06-14 Andreas Schwab <schwab@redhat.com>
40319
40320 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40321
a9e836b0
UD
403222011-06-15 Ulrich Drepper <drepper@gmail.com>
40323
77fb9117
UD
40324 * Makeconfig: Define vardbdir and inst_vardbdir.
40325 * nss/Makefile: Add rules to install db-Makefile.
40326
40c1b22c
UD
40327 * nss/nss_db/db-XXX.c: Cleanup.
40328
9f2da732
UD
40329 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40330 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40331 GLIBC_PRIVATE.
40332 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40333 * nss/makedb.c: Implement -g option to specify that value strings
40334 are generated and should not be added to table iterated over for
40335 get*ent calls.
40336 * nss/nss_db/db-initgroups.c: New file.
40337
82e9a1f7
UD
40338 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40339 interface.
40340
c41af17e
UD
40341 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40342 (internal_getgrouplist): Adjust to name change.
40343 Update use_initgroups_entry if this is not the first call.
40344 * nss/databases.def: Add initgroups entry.
40345
a9e836b0
UD
40346 * nss/makedb.c (compute_tables): Check result of multiple hash table
40347 sizes to minimize maximum chain length.
40348
2666d441
UD
403492011-06-14 Ulrich Drepper <drepper@gmail.com>
40350
40351 * Versions.def: Add entry for libnss_db.
40352 * shlib-versions: Likewise.
40353 * nss/Makefile: Add rules to build libnss_db.
40354 * nss/Versions: Add libnss_db information. Organize libnss_files
40355 entries better.
40356 * nss/db-Makefile: Add gshadow support. Change rules for the new
40357 makedb progra. Some minor improvements to generate smaller files.
40358 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40359 here from...
40360 * nss/makedb.c: ...here.
40361 Improve database format to be smaller and require less memory at
40362 runtime.
40363 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40364 db anymore.
40365 * nss/nss_db/db-netgrp.c: Likewise.
40366 * nss/nss_db/db-open.c: Likewise.
40367 * nss/nss_files/flies-XXX.x: Adjust comments.
40368 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40369 * nss/nss_files/files-grp.c: Likewise.
40370 * nss/nss_files/files-hosts.c: Likewise.
40371 * nss/nss_files/files-network.c: Likewise.
40372 * nss/nss_files/files-proto.c: Likewise.
40373 * nss/nss_files/files-pwd.c: Likewise.
40374 * nss/nss_files/files-rpc.c: Likewise.
40375 * nss/nss_files/files-service.c: Likewise.
40376 * nss/nss_files/files-sgrp.c: Likewise.
40377 * nss/nss_files/files-spwd.c: Likewise.
40378 * nss/nss_db/db-alias.c: Removed.
40379 * nss/nss_db/dummy-db.h: Removed.
40380
9ee76b5a
UD
403812011-06-02 Ulrich Drepper <drepper@gmail.com>
40382
40383 * nss/makedb.c: Rewritten to not use database library.
40384 * nss/Makefile: Update to build new makedb program.
40385
c71ca1f8
AJ
403862011-06-14 Andreas Jaeger <aj@suse.de>
40387
40388 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40389 memset declaration.
40390
3154bfb8
UD
403912011-06-10 Andreas Schwab <schwab@redhat.com>
40392
40393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40394 tmpbuf.
40395
b350afab
RM
403962011-06-10 Roland McGrath <roland@hack.frob.com>
40397
decd4e50
RM
40398 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40399 * elf/Makefile ($(objpfx)ld.so): Likewise.
40400
5615eaf2
RM
40401 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40402 Don't list ld.so twice in dependencies.
40403
40404 * posix/bug-regex31.c: Include <stdlib.h>.
40405
40406 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40407
40408 * nis/nss_compat/compat-spwd.c
40409 (getspent_next_nss_netgr): Remove unused variable.
40410 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40411
40412 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40413 nonmembers" output to use the right array.
40414
40415 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40416
40417 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40418
40419 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40420 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40421 * catgets/gencat.c (read_input_file): Likewise.
40422 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40423
40424 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40425 variable definition inside #if's controlling its use.
40426
40427 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40428
40429 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40430
40431 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40432
40433 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40434 unreachable code.
40435
40436 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40437
b68e08db
RM
40438 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40439 * configure: Regenerated.
40440
b350afab
RM
40441 * Makerules: Revert last change.
40442 * elf/Makefile: Likewise.
40443
28368601
RM
404442011-06-09 Roland McGrath <roland@hack.frob.com>
40445
40446 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40447 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40448 (reloc-link): Likewise.
40449
11988f8f
UD
404502011-06-09 Ulrich Drepper <drepper@gmail.com>
40451
40452 * elf/Makefile: Add rules to build pldd.
40453 * elf/pldd.c: New file.
40454 * elf/pldd-xx.c: New file.
40455
e80fab37
UD
404562011-06-07 Ulrich Drepper <drepper@gmail.com>
40457
40458 * version.h: Update for 2.15 development version.
40459
9b849836
DM
404602011-06-07 David S. Miller <davem@davemloft.net>
40461
40462 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40463 ifuncs.
40464 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40465 elf_machine_lazy_rel): Likewise.
40466 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40467 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40468 elf_machine_lazy_rel): Likewise.
40469 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40470 dl_hwcap via passed in argument.
40471 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40472 Likewise.
40473
5a31b283
AK
404742011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40475
40476 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40477
069e52f8
RM
404782011-06-06 Roland McGrath <roland@hack.frob.com>
40479
40480 [BZ #12849]
40481 * manual/fdl-1.1.texi: New file, verbatim from:
40482 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40483 * manual/lgpl-2.1.texi: New file, verbatim from:
40484 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40485 * manual/Makefile (licenses): New variable, list those new file names.
40486 (texis): Use it.
40487 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40488
40489 * manual/fdl.texi: File removed.
40490 * manual/lesser.texi: File removed.
40491 * manual/libc.texinfo (Copying, Documentation License):
40492 Use new @include file names, put @appendix directive before @include.
40493
f16846a5
JJ
404942011-06-04 Jakub Jelinek <jakub@redhat.com>
40495
40496 [BZ #12841]
40497 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40498 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40499 (mq_open): Add __NTH.
40500
3d29045b
L
405012011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40502
40503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40504 Assume Intel Core i3/i5/i7 processor if AVX is available.
40505
8c297311
UD
405062011-05-31 Ulrich Drepper <drepper@gmail.com>
40507
40508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40509 typo.
40510
c8fc0c91
UD
405112011-05-31 Andreas Schwab <schwab@redhat.com>
40512
40513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40514 memory. Use alloca_account. Fix memory leak when retrying.
40515
5b27a807
UD
405162011-05-31 Ulrich Drepper <drepper@gmail.com>
40517
356f8bc6
UD
40518 * version.h (RELEASE): Bump for 2.14 release.
40519 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40520
5b27a807
UD
40521 * config.make.in (RANLIB): Remove entry.
40522
01f16ab0
UD
405232011-05-30 Ulrich Drepper <drepper@gmail.com>
40524
41fce8bd
UD
40525 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40526 (libc.pot): Work around missing support for .ksh extension in xgettext.
40527
4769ae77
UD
40528 [BZ #12684]
40529 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40530 if both request failed.
40531 (send_dg): In case of server errors clear resplen or *resplen2.
40532
6b1e7d19
UD
40533 [BZ #12454]
40534 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40535 when there are multiple maps.
40536 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40537 (_dl_fini): Remove test here.
40538
01f16ab0
UD
40539 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40540
b1ebd700
UD
405412011-05-29 Ulrich Drepper <drepper@gmail.com>
40542
7ae22829
UD
40543 [BZ #12350]
40544 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40545 bit from old_res_options.
40546 (gaih_inet): Likewise.
40547
553149f6 40548 [BZ #11099]
18a84741 40549 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40550 as signed.
40551
652ffab1
UD
40552 * resolv/res_init.c (res_setoptions): Make the code more compact.
40553
16985fd0
UD
40554 [BZ #11558]
40555 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40556 set RES_USEVC.
40557
0464f746
UD
40558 [BZ #11634]
40559 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40560
7d17596c
UD
40561 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40562
cf6bbbd7
UD
40563 [BZ #11781]
40564 * malloc/malloc.h: Declare malloc hook variables as volatile.
40565
13f1ab36
UD
40566 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40567 in last patch.
40568
b1ebd700
UD
40569 [BZ #11799]
40570 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40571 raise in the comment.
80e2212d
UD
40572 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40574 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40575
ce67228d
UD
405762011-05-28 Ulrich Drepper <drepper@gmail.com>
40577
8887a920
UD
40578 [BZ #12811]
40579 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40580 grow the buffers more if it already has to be sufficient.
40581 (build_wcs_upper_buffer): Likewise.
40582 * posix/regexec.c (check_matching): Likewise.
40583 (clean_state_log_if_needed): Likewise.
40584 (extend_buffers): Don't enlarge buffers beyond size of the input
40585 buffer.
40586 Patches mostly by Emil Wojak <emil@wojak.eu>.
40587 * posix/bug-regex32.c: New file.
40588 * posix/Makefile (tests): Add bug-regex32.
40589
4f031072
UD
40590 * locale/findlocale.c (_nl_find_locale): Return right away if
40591 _nl_explode_name failed.
40592 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40593
d0478f0c
UD
40594 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40595
de81b246
UD
40596 * debug/xtrace.sh: Unify messages.
40597 * malloc/memusage.sh: Likewise.
40598
c738465a
UD
40599 [BZ #12813]
40600 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40601 time symbol from vDSO. Substitute with vsyscall if not available.
40602 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40603 __vdso_time.
40604
f1f929d7
UD
40605 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40606 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40607 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40608 Add sendmmsg and internal_sendmmsg.
40609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40610 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40612
ce67228d
UD
40613 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40614 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40616
e57420c6
UD
406172011-05-27 Ulrich Drepper <drepper@gmail.com>
40618
a8509ca5
UD
40619 [BZ #12813]
40620 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40621 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40622 available.
40623 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40624 __vdso_getcpu.
40625
e57420c6
UD
40626 [BZ #12814]
40627 * iconvdata/Makefile (tests): Add bug-iconv9.
40628 * iconvdata/bug-iconv9.c: New file.
40629
4d07db15
AS
406302011-05-27 Andreas Schwab <schwab@redhat.com>
40631
40632 [BZ #12814]
40633 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40634
ea486f69
JJ
406352011-05-25 Jakub Jelinek <jakub@redhat.com>
40636
40637 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40638 (struct user_regs_struct): Change intcs field back to cs.
40639
6f038433
UD
406402011-05-25 Ulrich Drepper <drepper@gmail.com>
40641
40642 * po/ja.po: Update from translation team.
40643
67f86a25
UD
406442011-05-23 Ulrich Drepper <drepper@gmail.com>
40645
40646 [BZ #12795]
40647 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40649
def7fbd6
AS
406502011-05-20 Andreas Schwab <schwab@redhat.com>
40651
40652 * stdlib/longlong.h: Update from GCC.
40653
f50ef8f1
AS
406542011-05-23 Andreas Schwab <schwab@redhat.com>
40655
40656 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40657 parameter name.
40658 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40659 Add parameter name.
40660 (__sysconf): Pass it down.
40661
de7ce8f1
UD
406622011-05-22 Ulrich Drepper <drepper@gmail.com>
40663
f2962a71
UD
40664 [BZ #12671]
40665 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40666 some situations.
40667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40668 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40669 add in in __libc_use_alloca calls. Adjust callers.
40670 (glob): Use malloc in some situations.
40671
de7ce8f1
UD
40672 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40673 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40674 pltexit.
40675
aec84f53
UD
406762011-05-21 Ulrich Drepper <drepper@gmail.com>
40677
05bb4a68
UD
40678 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40679 and CLOCK_BOOTTIME_ALARM.
40680
7ea72f99
UD
40681 [BZ #12782]
40682 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40683 is returned.
40684
7e4afad5
UD
40685 * string/_strerror.c (__strerror_r): Print negative errors as signed
40686 numbers.
40687
8e211fec
UD
40688 [BZ #12777]
40689 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40690 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40691 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40692
f7d82dc9
UD
40693 * configure.in: Fix typo in redirection and correct removal of test
40694 files in two cases.
40695
cc9e536d
UD
40696 [BZ #12788]
40697 * locale/setlocale.c (new_composite_name): Fix test to check for
40698 identical name of all categories.
40699
aec84f53
UD
40700 [BZ #12792]
40701 * libio/filedoalloc.c (local_isatty): New function.
40702 (_IO_file_doallocate): Use local_isatty.
40703 * stdio-common/perror.c (perror): In case a new stream is used
40704 forward the stream error.
40705 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40706 error flag.
40707
78e64fdc
RT
407082011-05-20 Ulrich Drepper <drepper@gmail.com>
40709
34a9094f
UD
40710 [BZ #11869]
40711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40712 alloca.
40713 * include/alloca.h (extend_alloca_account): Define.
40714
78e64fdc
RT
40715 [BZ #11857]
40716 * posix/regex.h: Fix comments with documentation of user-accessible
40717 fields after compilation and describe correct free'ing of pattern
40718 after re_compile_pattern.
40719 Patch by Reuben Thomas <rrt@sc3d.org>.
40720
457bddfc
RA
407212011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40722
40723 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40724 and -mno-altivec to prevent the compiler from using Altivec and/or
40725 VSX instructions when the corresponding registers are not available.
40726
a4527b51
AS
407272011-05-19 Andreas Schwab <schwab@redhat.com>
40728
40729 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40730
ed690b2f
UD
407312011-05-19 Ulrich Drepper <drepper@gmail.com>
40732
40733 * libio/freopen.c (freopen): Use __dup2, not dup2.
40734 * libio/freopen64.c (freopen64): Likewise.
40735
8db73634
L
407362011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40737
40738 [BZ #12775]
40739 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40740 * math/Makefile (tests): Add test-powl.
40741 (CFLAGS-test-powl.c): Define.
40742 * math/test-powl.c: New file.
40743
0a197a9d
L
407442011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40745
40746 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40747
ee30c380
UD
407482011-05-17 Ulrich Drepper <drepper@gmail.com>
40749
40750 [BZ #11837]
40751 * iconvdata/gb18030.c: Update to GB18020-2005.
40752
6ce75379
UD
407532011-05-16 Ulrich Drepper <drepper@gmail.com>
40754
a4b89fd8
AR
40755 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40756 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40757 Patch by Aharon Robbins <arnold@skeeve.com>.
40758
ea389b12
UD
40759 [BZ #11892]
40760 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40761 on the stack.
40762
68a3f91f
UD
40763 [BZ #11895]
40764 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40765 through underflows.
40766
15cc7dd1
UD
40767 [BZ #12766]
40768 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40769 point to strings before performing equality test for error_one_per_line
40770 mode.
40771
f3799213
UD
40772 [BZ #11697]
40773 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40774
d79a9c94
UD
40775 [BZ #11820]
40776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40777 (struct user_fpregs_struct): Avoid __uint*_t types.
40778
56e5eb46
UD
40779 [BZ #6420]
40780 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40781 symbol info. Use it instead of calling _dl_addr locally.
40782 (lock_and_info): New function.
40783 (tr_freehook): Call lock_and_info and pass symbol info as additional
40784 parameter to tr_where.
40785 (tr_mallochook): Likewise.
40786 (tr_reallochook): Likewise.
40787 (tr_memalignhook): Likewise.
40788
6ce75379
UD
40789 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40790 used and couldn't be at all thread-safe.
40791
f8a3b5bf
UD
407922011-05-15 Ulrich Drepper <drepper@gmail.com>
40793
94b7cc37
UD
40794 * libio/freopen.c (freopen): Don't close old file descriptor
40795 before the new one is opened. Instead dup the new file descriptor
40796 to the old one after the new stream is created.
40797 * libio/freopen64.c (freopen64): Likewise.
40798 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40799 * libio/fileops.c (_IO_new_file_close_it): Handle new
40800 _IO_FLAGS2_NOCLOSE flag.
40801 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40802 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40803 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40804 _IO_FLAGS2_NOCLOSE flag.
40805 * include/unistd.h: Add hidden_proto for dup3.
40806 Define __have_dup3.
40807 * io/dup3.c: Define hidden symbol.
40808 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40809
bd25564e
UD
40810 [BZ #7101]
40811 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40812 when an incomplete long option is used.
40813 * posix/tst-getopt_long1.c: New file.
40814 * posix/Makefile (tests): Add tst-getopt_long1.
40815
c84cfef4
UD
40816 [BZ #10138]
40817 * scripts/config.guess: Update from autoconf-2.68.
40818 * scripts/config.sub: Likewise.
40819
3b85df27
UD
40820 [BZ #10157]
40821 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40822 tests into ...
40823 (has_cpuclock): ...this. New function.
40824 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40825 macro here based on has_cpuclock code.
40826
15a856b1
UD
40827 [BZ #10149]
40828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40829 First byte (not low byte) is now always NUL.
40830 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40831
05f399e6
UD
40832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40833 Use non-cancelable interfaces.
40834
10a52685 40835 [BZ #9809]
94ecc67d
UD
40836 * locale/iso-639.def: Add entry for Sorani.
40837
f8a3b5bf
UD
40838 [BZ #11901]
40839 * include/stdlib.h: Move include protection to the right place.
40840 Define abort_msg_s. Declare __abort_msg with it.
40841 * stdlib/abort.c (__abort_msg): Adjust type.
40842 * assert/assert.c (__assert_fail_base): New function. Majority
40843 of code from __assert_fail. Allocate memory for __abort_msg with
40844 mmap.
40845 (__assert_fail): Now call __assert_fail_base.
40846 * assert/assert-perr.c: Remove bulk of implementation. Use
40847 __assert_fail_base.
40848 * include/assert.hL Declare __assert_fail_base.
40849 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40850 mmap.
40851 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40852
1af4e298
UD
408532011-05-14 Ulrich Drepper <drepper@gmail.com>
40854
f8a3b5bf 40855 [BZ #11952]
d26dfc60
MG
40856 [BZ #12453]
40857 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40858 until all modules are registered in the DTV.
40859 * elf/Makefile: Add rules to build and run tst-tls19.
40860 * elf/tst-tls19.c: New file.
40861 * elf/tst-tls19mod1.c: New file.
40862 * elf/tst-tls19mod2.c: New file.
40863 * elf/tst-tls19mod3.c: New file.
40864 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40865
2fc54d6f
UD
40866 [BZ #12083]
40867 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40868 correctly.
40869
98d76b46
UD
40870 [BZ #12601]
40871 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40872 two-byte sequence errors.
40873 * iconvdata/Makefile (tests): Add bug-iconv8.
40874 * iconvdata/bug-iconv8.c: New file.
40875
da3c19ef
UD
40876 [BZ #12626]
40877 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40878 buf2 definition.
40879
ca408c15
UD
40880 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40881
d6f67f7d
UD
40882 [BZ #12432]
40883 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40884 (dummy_getcfa): New function.
40885 (init): Get _Unwind_GetCFA address, use dummy if not found.
40886 (backtrace_helper): In recursion check, also check whether CFA changes.
40887 (__backtrace): Completely initialize arg.
40888
1af4e298 40889 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40890 storing incomplete byte sequence in state object. Avoid testing for
40891 guaranteed too small input if we know there is enough data available.
1af4e298 40892
da62f81b
AS
408932011-05-11 Andreas Schwab <schwab@redhat.com>
40894
40895 * Makeconfig (+link-pie): Indent.
40896 * Rules (binaries-pie): Define if $(have-fpie) and
40897 $(build-shared).
40898 (binaries-shared): Also filter out $(binaries-pie).
40899 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40900 * nscd/Makefile (others-pie): Add nscd.
40901 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40902 ($(objpfx)nscd): Remove command override.
40903 * login/Makefile (others-pie): Add pt_chown.
40904 ($(objpfx)pt_chown): Remove command override.
40905 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40906 remove command overrides.
40907
fcabc0f8
UD
409082011-05-13 Ulrich Drepper <drepper@gmail.com>
40909
20030ae6
UD
40910 * libio/tst_putwc.c: Fix error messages.
40911
fcabc0f8
UD
40912 [BZ #12724]
40913 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40914 currently writing and seek to current position when not.
40915 * libio/Makefile (tests): Add bug-fclose1.
40916 * libio/bug-fclose1.c: New file.
40917
320a5dc0
PB
409182011-05-12 Ulrich Drepper <drepper@gmail.com>
40919
40920 [BZ #12511]
40921 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40922 don't set DF_1_NODELETE here.
40923 (do_lookup_x): When entering new entry test for copy relocation
40924 and if necessary set DF_1_NODELETE flag.
40925 * elf/tst-unique4.cc: New file.
40926 * elf/tst-unique4.h: New file.
40927 * elf/tst-unique4lib.cc: New file.
40928 * elf/Makefile: Add rules to build and run tst-unique4.
40929 Patch by Piotr Bury <pbury@goahead.com>.
40930
22836f52
UD
409312011-05-11 Ulrich Drepper <drepper@gmail.com>
40932
f574184a
UD
40933 [BZ #12052]
40934 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40935
e1fb097f
UD
40936 [BZ #12625]
40937 * misc/mntent_r.c (addmntent): Flush the stream after the output
40938
22836f52
UD
40939 [BZ #12393]
40940 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40941 (is_trusted_path_normalize): Skip initial colon. Append slash
40942 to empty buffer. Duplicate is_trusted_path code but allow
40943 constructed patch to be prefix.
40944 (is_dst): Allow $ORIGIN followed by /.
40945 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40946 Correct testing of result of is_trusted_path_normalize
40947 (decompose_rpath): Fix warning.
40948
7b3b0b2a
UD
409492011-05-10 Ulrich Drepper <drepper@gmail.com>
40950
40951 [BZ #11257]
40952 * grp/initgroups.c (internal_getgrouplist): When we found the service
40953 list through the initgroups entry in nsswitch.conf do not always
40954 continue on a successful lookup. Don't always use the
eac80ce2 40955 __nss_group_database value if it is set.
7b3b0b2a
UD
40956 * nss/nsswitch.conf (initgroups): Change action for successful db
40957 lookup to continue for compatibility.
40958
2a81eaa5
UD
409592011-05-09 Ulrich Drepper <drepper@gmail.com>
40960
be97a69e
UD
40961 [BZ #11532]
40962 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40963 and CP774 modules.
40964 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40965 and CP774 modules.
40966 * iconvdata/tst-tables.sh: Likewise.
40967 * iconvdata/cp770.c: New file.
40968 * iconvdata/cp771.c: New file.
40969 * iconvdata/cp772.c: New file.
40970 * iconvdata/cp773.c: New file.
40971 * iconvdata/cp774.c: New file.
40972 * iconvdata/testdata/CP770: New file.
40973 * iconvdata/testdata/CP770..UTF8: New file.
40974 * iconvdata/testdata/CP771: New file.
40975 * iconvdata/testdata/CP771..UTF8: New file.
40976 * iconvdata/testdata/CP772: New file.
40977 * iconvdata/testdata/CP772..UTF8: New file.
40978 * iconvdata/testdata/CP773: New file.
40979 * iconvdata/testdata/CP773..UTF8: New file.
40980 * iconvdata/testdata/CP774: New file.
40981 * iconvdata/testdata/CP774..UTF8: New file.
40982
40983 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40984 END CHARMAP line.
40985 * iconvdata/gen-8bit-gap.sh: Likewise.
40986 * iconvdata/gen-8bit.sh: Likewise.
40987
c1e9e399
UD
40988 * locale/iso-639.def: Add ary entry.
40989
24c55fb3 40990 [BZ #11258]
96b4b1b0
UD
40991 * locale/C-translit.h.in: Add U20A1 transliteration.
40992
bdc2f971
KB
40993 [BZ #12178]
40994 * locale/iso-639.def: Add wae entry.
40995 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40996
2952b117
UD
40997 [BZ #12545]
40998 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40999 for n.
41000
2a81eaa5
UD
41001 [BZ #12711]
41002 * locale/C-translit.h.in: Add entry for U20B9.
41003 Patch by pravin.d.s@gmail.com.
41004
28377d1b
UD
410052011-05-08 Ulrich Drepper <drepper@gmail.com>
41006
7fb90fb8
UD
41007 [BZ #12713]
41008 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41009 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41010 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41011 in rtld. Use *stat64.
7fb90fb8 41012 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41013 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41014 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41015 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41016 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41017 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41018 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41019 __fstatat64 macros.
7fb90fb8
UD
41020 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41021 * dirent/rewinddir.c: Add libc_hidden_def.
41022 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41023 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41024
28377d1b
UD
41025 * include/dirent.h (__alloc_dir): Add flags parameter.
41026 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41027 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41028 __alloc_dir.
41029 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41030 from fdopendir if O_CLOEXEC is already set.
41031
66bdbaa4
AM
410322011-03-15 Alan Modra <amodra@gmail.com>
41033
41034 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41035 l_tls_firstbyte_offset non-zero. Save padding offset in
41036 l_tls_firstbyte_offset for later use.
41037 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41038 freeing static tls block.
41039
95721191
JN
410402011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41041
41042 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41043 where #ifdef was intended. The intent is to prevent ARG_MAX from
41044 being defined by the kernel headers.
41045
f87dfb1f
UD
410462011-05-07 Ulrich Drepper <drepper@gmail.com>
41047
41048 [BZ #12734]
41049 * resolv/resolv.h: Define RES_NOTLDQUERY.
41050 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41051 no-tld-query and set RES_NOTLDQUERY.
41052 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41053 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41054 modern BIND to search name as TLD unless forbidden.
41055
47c3cd7a
UD
410562011-05-07 Petr Baudis <pasky@suse.cz>
41057 Ulrich Drepper <drepper@gmail.com>
41058
41059 [BZ #12393]
41060 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41061 (is_trusted_path): ...to here.
c1e9ea35 41062 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41063 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41064 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41065
8a35c912
PP
410662011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41067
41068 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41069 __BEGIN/__END_DECLS.
41070
acd41f47
UD
410712011-05-06 Ulrich Drepper <drepper@gmail.com>
41072
41073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41074 NSS_STATUS_NOTFOUND if no record was found.
41075
597df647
AS
410762011-05-05 Andreas Schwab <schwab@redhat.com>
41077
41078 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41079 (headers-not-in-tirpc): Remove rpc/netdb.h
41080 * resolv/netdb.h: Revert last change.
41081
b9af1301
PP
410822011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41083
41084 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41085 circular dependency between libgcc.a and libc.a.
41086
4e34d5f5
AS
410872011-05-05 Andreas Schwab <schwab@redhat.com>
41088
41089 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41090 * nis/Makefile: Don't install rpcsvc/*.
41091 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41092 instead of <rpc/types.h>.
41093 (MAXHOSTNAMELEN): Define.
41094
00ee369c
AS
410952011-05-03 Andreas Schwab <schwab@redhat.com>
41096
41097 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41098
0b592a30
MB
410992011-04-28 Maciej Babinski <mbabinski@google.com>
41100
41101 [BZ #12714]
41102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41103 gethostbyname4_r when IPv6 results are possible.
41104
6e04cbbe
UD
411052011-05-02 Ulrich Drepper <drepper@gmail.com>
41106
41107 [BZ #12723]
41108 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41109 _PC_PIPE_BUF handling.
41110
e4ecafe0
BH
411112011-04-30 Bruno Haible <bruno@clisp.org>
41112
41113 [BZ #12717]
41114 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41115 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41116 to 'int'.
41117 * inet/getnameinfo.c (getnameinfo): Likewise.
41118
125ee683
UD
411192011-04-29 Ulrich Drepper <drepper@gmail.com>
41120
41121 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41122 to groups setting in database lookup.
41123 * nss/nsswitch.conf: Add initgroups entry.
41124
b722481a
EB
411252011-04-22 Ulrich Drepper <drepper@gmail.com>
41126
41127 [BZ #12685]
41128 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41129 mode string.
41130 Patch by Eric Blake <eblake@redhat.com>.
41131
4df46dbd
L
411322011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41133
41134 * sunrpc/Makefile (need-export-routines): Add svc_run.
41135 (routines): Remove svc_run.
41136 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41137 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41138 * sunrpc/svc_run.c (svc_run): Likewise.
41139 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41140
e84142d2
UD
411412011-04-21 Ulrich Drepper <drepper@gmail.com>
41142
41143 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41144 problem in reallocation in last patch.
41145
877175d8
UD
411462011-04-20 Ulrich Drepper <drepper@gmail.com>
41147
41148 * sunrpc/Makefile: Move inclusion of Rules.
41149
ab8eed78
UD
411502011-04-19 Ulrich Drepper <drepper@gmail.com>
41151
41152 * nss/nss_files/files-initgroups.c: New file.
41153 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41154 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41155 _nss_files_initgroups_dyn.
41156
e3d8f584
RS
411572011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41158
41159 * elf/elf.h (R_ARM_IRELATIVE): Define.
41160
af190f45
UD
411612011-04-19 Ulrich Drepper <drepper@gmail.com>
41162
41163 * po/ru.po: Update from translation team.
41164
53cf59ef
UD
411652011-04-17 Ulrich Drepper <drepper@gmail.com>
41166
41167 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41168 dependencies.
41169
4c559bcd
MF
411702011-02-06 Mike Frysinger <vapier@gentoo.org>
41171
41172 [BZ #12653]
41173 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41174 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41178
4420675c
AS
411792011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41180
41181 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41182 differing bytes.
41183 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41185 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41186
75ea32ab
UD
411872011-04-17 Ulrich Drepper <drepper@gmail.com>
41188
41189 [BZ #12420]
41190 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41191 storing it.
41192 * stdlib/bug-getcontext.c: New file.
41193 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41194
27390476
AK
411952011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41196
41197 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41198 instructions into .machine "z9-109".
41199 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41200 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41201
10442705
AK
412022011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41203
41204 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41205 between environment variables and auxiliary vector.
41206
7b57bfe5
UD
412072011-04-16 Ulrich Drepper <drepper@gmail.com>
41208
41209 * Makefile: Add rules to build linkobj/libc.so.
41210 * include/libc-symbols.h: Define libc_hidden_nolink.
41211 * include/rpc/auth.h: Mark functions which are to be hidden.
41212 * include/rpc/auth_des.h: Likewise.
41213 * include/rpc/auth_unix.h: Likewise.
41214 * include/rpc/clnt.h: Likewise.
41215 * include/rpc/des_crypt.h: Likewise.
41216 * include/rpc/key_prot.h: Likewise.
41217 * include/rpc/pmap_clnt.h: Likewise.
41218 * include/rpc/pmap_prot.h: Likewise.
41219 * include/rpc/pmap_rmt.h: Likewise.
41220 * include/rpc/rpc_msg.h: Likewise.
41221 * include/rpc/svc.h: Likewise.
41222 * include/rpc/svc_auth.h: Likewise.
41223 * include/rpc/xdr.h: Likewise.
41224 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41225 * nss/Makefile: Likewise.
41226 * sunrpc/Makefile: Don't install headers. Build library with normal
41227 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41228 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41229 for the compat linking library. Remove use of INTDEF/INTUSE.
41230 * sunrpc/auth_none.c: Likewise.
41231 * sunrpc/auth_unix.c: Likewise.
41232 * sunrpc/authdes_prot.c: Likewise.
41233 * sunrpc/authuxprot.c: Likewise.
41234 * sunrpc/clnt_gen.c: Likewise.
41235 * sunrpc/clnt_perr.c: Likewise.
41236 * sunrpc/clnt_raw.c: Likewise.
41237 * sunrpc/clnt_simp.c: Likewise.
41238 * sunrpc/clnt_tcp.c: Likewise.
41239 * sunrpc/clnt_udp.c: Likewise.
41240 * sunrpc/clnt_unix.c: Likewise.
41241 * sunrpc/des_crypt.c: Likewise.
41242 * sunrpc/des_soft.c: Likewise.
41243 * sunrpc/get_myaddr.c: Likewise.
41244 * sunrpc/key_call.c: Likewise.
41245 * sunrpc/key_prot.c: Likewise.
41246 * sunrpc/netname.c: Likewise.
41247 * sunrpc/pm_getmaps.c: Likewise.
41248 * sunrpc/pm_getport.c: Likewise.
41249 * sunrpc/pmap_clnt.c: Likewise.
41250 * sunrpc/pmap_prot.c: Likewise.
41251 * sunrpc/pmap_prot2.c: Likewise.
41252 * sunrpc/pmap_rmt.c: Likewise.
41253 * sunrpc/publickey.c: Likewise.
41254 * sunrpc/rpc_cmsg.c: Likewise.
41255 * sunrpc/rpc_common.c: Likewise.
41256 * sunrpc/rpc_dtable.c: Likewise.
41257 * sunrpc/rpc_prot.c: Likewise.
41258 * sunrpc/rpc_thread.c: Likewise.
41259 * sunrpc/rtime.c: Likewise.
41260 * sunrpc/svc.c: Likewise.
41261 * sunrpc/svc_auth.c: Likewise.
41262 * sunrpc/svc_authux.c: Likewise.
41263 * sunrpc/svc_raw.c: Likewise.
41264 * sunrpc/svc_run.c: Likewise.
41265 * sunrpc/svc_simple.c: Likewise.
41266 * sunrpc/svc_tcp.c: Likewise.
41267 * sunrpc/svc_udp.c: Likewise.
41268 * sunrpc/svc_unix.c: Likewise.
41269 * sunrpc/svcauth_des.c: Likewise.
41270 * sunrpc/xcrypt.c: Likewise.
41271 * sunrpc/xdr.c: Likewise.
41272 * sunrpc/xdr_array.c: Likewise.
41273 * sunrpc/xdr_float.c: Likewise.
41274 * sunrpc/xdr_intXX_t.c: Likewise.
41275 * sunrpc/xdr_mem.c: Likewise.
41276 * sunrpc/xdr_rec.c: Likewise.
41277 * sunrpc/xdr_ref.c: Likewise.
41278 * sunrpc/xdr_sizeof.c: Likewise.
41279 * sunrpc/xdr_stdio.c: Likewise.
41280
e6c61494
UD
412812011-04-10 Ulrich Drepper <drepper@gmail.com>
41282
41283 [BZ #12650]
41284 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41285 * sysdeps/ia64/dl-tls.h: Likewise.
41286 * sysdeps/powerpc/dl-tls.h: Likewise.
41287 * sysdeps/s390/dl-tls.h: Likewise.
41288 * sysdeps/sh/dl-tls.h: Likewise.
41289 * sysdeps/sparc/dl-tls.h: Likewise.
41290 * sysdeps/x86_64/dl-tls.h: Likewise.
41291 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41292
34fe483e
AS
412932011-03-14 Andreas Schwab <schwab@redhat.com>
41294
41295 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41296 rpath element also skip the following colon.
41297 (expand_dynamic_string_token): Add is_path parameter and pass
41298 down to DL_DST_REQUIRED and _dl_dst_substitute.
41299 (decompose_rpath): Call expand_dynamic_string_token with
41300 non-zero is_path. Ignore empty rpaths.
41301 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41302 with zero is_path.
41303
f12a32e6
AS
413042011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41305
41306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41307 Make cancelable.
41308
38a7d692
UD
413092011-04-09 Ulrich Drepper <drepper@gmail.com>
41310
41311 [BZ #12655]
41312 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41313 Patch by Filipe David Manana <fdmanana@apache.org>.
41314
e451d22b
AS
413152011-04-07 Andreas Schwab <schwab@redhat.com>
41316
41317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41318 Maintain aligned stack.
41319 (CHECK_RSP): Remove unused macro.
41320
dedc7c7b
UD
413212011-04-03 Ulrich Drepper <drepper@gmail.com>
41322
41323 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41324 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41325
94521213
UD
413262011-04-02 Ulrich Drepper <drepper@gmail.com>
41327
41328 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41329
8cb700c0 41330 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41331
0354e355
L
413322011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41333
41334 [BZ #12518]
41335 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41336 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41337 * sysdeps/x86_64/memmove.c: New file.
41338 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41339 (memcpy): Renamed to ...
41340 (__new_memcpy): This.
41341 (memcpy): Provide GLIBC_2_14 memcpy.
41342 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41343 (memcpy): Provide GLIBC_2_2_5 memcpy.
41344
8593482f
UD
413452011-04-01 Ulrich Drepper <drepper@gmail.com>
41346
41347 [BZ #12631]
41348 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41349
81a5726b
AS
413502011-03-30 Andreas Schwab <schwab@redhat.com>
41351
41352 * misc/syncfs.c: New file.
41353 * misc/Makefile (routines): Add syncfs.
41354 * posix/unistd.h: Declare syncfs.
41355 * sysdeps/unix/syscalls.list: Add syncfs.
41356
00e5419f
AS
413572011-04-01 Andreas Schwab <schwab@redhat.com>
41358
41359 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41360 open_by_handle_at.
41361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41362 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41364 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41366 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41368
748876bf
UD
413692011-04-01 Ulrich Drepper <drepper@gmail.com>
41370
658e451d
UD
41371 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41373 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41375 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41378
748876bf
UD
41379 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41380 sync_file_range.c with -fexceptions.
41381 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41382 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41383 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41384 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41385 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41386 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41387 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41388 sync_file_range as cancellation point
41389 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41390 now a wrapper around __call_sync_file_range with cancellation handling.
41391 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41392 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41393 function name to __call_sync_file_range.
41394 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41395 Add call_sync_file_range.
748876bf 41396
6e63d5e1
AS
413972011-04-01 Andreas Schwab <schwab@redhat.com>
41398
41399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41400 bits/timex.h.
6e63d5e1 41401
46998f74
UD
414022011-04-01 Ulrich Drepper <drepper@gmail.com>
41403
4c1423ed
UD
41404 * iconv/iconv.h: Fix typo in comment.
41405 * io/fcntl.h: Likewise.
41406 * libio/stdio.h: Likewise.
41407 * posix/spawn.h: Likewise.
41408 * posix/unistd.h: Likewise.
41409 * stdlib/stdlib.h: Likewise.
41410 * time/time.h: Likewise.
41411 * wcsmbs/wchar.h: Likewise.
41412
158648c0
UD
41413 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41414 open_by_handle): Add.
41415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41416 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41417 Augment a few comments.
41418 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41420 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41423 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41424 open_by_handle.
41425
46998f74
UD
41426 * io/fcntl.h (AT_EMPTY_PATH): Define.
41427
83fe108b
UD
414282011-03-30 Ulrich Drepper <drepper@gmail.com>
41429
41430 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41431 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41432 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41433 to...
41434 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41435 * Versions.def: Add GLIBC_2.14.
41436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41437 Export.
83fe108b 41438
bb242059
UD
414392011-03-22 Ulrich Drepper <drepper@gmail.com>
41440
41441 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41442 round counter.
41443 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41444
c97a1282
L
414452011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41446
41447 [BZ #12597]
41448 * string/test-strncmp.c (do_page_test): New function.
41449 (check2): Likewise.
41450 (test_main): Call check2.
41451 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41452
2a115601
UD
414532011-03-20 Ulrich Drepper <drepper@gmail.com>
41454
41455 [BZ #12587]
41456 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41457 Handle cache information in CPU leaf 4.
41458 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41459
8126d904
UD
414602011-03-18 Ulrich Drepper <drepper@gmail.com>
41461
042c49c6 41462 [BZ #12583]
8126d904
UD
41463 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41464 character representation.
41465 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41466
ccfe366e
RA
414672011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41468
41469 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41470 END(__isnan) to END(__isnanf) to match function entry point/label
41471 EALIGN(__isnanf,...).
41472
c6e13027
JJ
414732011-03-10 Jakub Jelinek <jakub@redhat.com>
41474
41475 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41476
33f85a3f
UD
414772011-03-10 Ulrich Drepper <drepper@gmail.com>
41478
028478fa
UD
41479 [BZ #12510]
41480 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41481 copy from the symbol referenced in the relocation to initialize the
41482 used variable.
41483 Patch by Piotr Bury <pbury@goahead.com>.
41484 * elf/Makefile: Add rules to build and tst-unique3.
41485 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41486 * elf/tst-unique3.cc: New file.
41487 * elf/tst-unique3.h: New file.
41488 * elf/tst-unique3lib.cc: New file.
41489 * elf/tst-unique3lib2.cc: New file.
41490
33f85a3f
UD
41491 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41492
03592fc7
MF
414932011-03-10 Mike Frysinger <vapier@gentoo.org>
41494
41495 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41496 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41497 to _start.
03592fc7 41498
6a5ee102
UD
414992011-03-06 Ulrich Drepper <drepper@gmail.com>
41500
41501 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41502 to-be-loaded object along a path to loader is ld.so.
41503
7e4ba49c
HJ
415042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41505 Ulrich Drepper <drepper@gmail.com>
41506
41507 * sysdeps/x86_64/memset.S: After aligning destination, code
41508 branches to different locations depending on the value of
41509 misalignment, when multiarch is enabled. Fix this.
41510
415112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41512
41513 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41514 Set _x86_64_preferred_memory_instruction for AMD processsors.
41515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41516 Set bit_Prefer_SSE_for_memop for AMD processors.
41517
13a804de
UD
415182011-03-04 Ulrich Drepper <drepper@gmail.com>
41519
41520 * libio/fmemopen.c (fmemopen): Optimize a bit.
41521
9d25c392
AS
415222011-03-03 Andreas Schwab <schwab@redhat.com>
41523
41524 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41525
a5543c6a
RM
415262011-03-03 Roland McGrath <roland@redhat.com>
41527
41528 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41529
012d35f7
DM
415302011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41531
7e4ba49c 41532 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41533 __bzero_ultra1 instead of __memset_ultra1.
41534
4bff6e01
AS
415352011-02-23 Andreas Schwab <schwab@redhat.com>
41536 Ulrich Drepper <drepper@gmail.com>
41537
41538 [BZ #12509]
41539 * include/link.h (struct link_map): Add l_orig_initfini.
41540 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41541 returning unsuccessfully.
41542 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41543 close of a file loaded at startup, restore the original l_initfini
41544 list.
41545 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41546 list, store the pointer.
41547 * elf/Makefile ($(objpfx)noload-mem): New rule.
41548 (noload-ENV): Define.
41549 (tests): Add $(objpfx)noload-mem.
41550 * elf/noload.c: Include <memcheck.h>.
41551 (main): Call mtrace. Close all opened handles.
41552
f2092faf
AS
415532011-02-17 Andreas Schwab <schwab@redhat.com>
41554
41555 [BZ #12454]
41556 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41557 dependencies are missing.
41558
6c8a2e88
ST
415592011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41560
f2092faf 41561 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41562 Hurd needs munmap.
41563 * sysdeps/mach/hurd/ifreq.h: New file.
41564
84a42118
PB
415652011-01-27 Petr Baudis <pasky@suse.cz>
41566 Ulrich Drepper <drepper@gmail.com>
41567
071f805e 41568 [BZ 12445]#
84a42118
PB
41569 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41570 to extend_alloca().
41571 * stdio-common/bug23.c: New file.
41572 * stdio-common/Makefile (tests): Add bug23.
41573
e23fe25b
AS
415742010-09-28 Andreas Schwab <schwab@redhat.com>
41575 Ulrich Drepper <drepper@gmail.com>
41576
41577 [BZ #12489]
41578 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41579 before performing relro protection. At old place add assertion
41580 to make sure nothing changed.
41581
d3f02e10
NS
415822011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41583 Glauber de Oliveira Costa <glommer@gmail.com>
41584
41585 * elf/elf.h: Add new ARM TLS relocs.
41586
d55fd7a5
RA
415872011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41588
41589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41590 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41591 cast from r3.
41592 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41593 'tests' variable.
41594 * sysdeps/wordsize-64/tst-writev.c: New file.
41595
2206397e
RA
415962011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41597
41598 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41599 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41600 insns in _dl_start to prevent a TOC reference before relocs are
41601 resolved.
41602
e9433893
UD
416032011-02-15 Ulrich Drepper <drepper@gmail.com>
41604
41605 [BZ #12469]
41606 * Makeconfig: Remove RANLIB definition.
41607 * Makerules: Don't use RANLIB.
41608 * aclocal.m4: Remove ranlib test.
41609 * configure.in: No need to check for ranlib.
41610 * elf/rtld-Rules: Don't use RANLIB.
41611
f75286c6
ST
416122011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41613
8e31c82d
ST
41614 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41615 protection macro.
41616 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41617 inclusion protection macro.
41618
f75286c6
ST
41619 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41620 SIGRTMIN and SIGRTMAX and print information in that case only when
41621 SIGRTMIN is defined.
41622
c1d0e639
JJ
416232011-02-11 Jakub Jelinek <jakub@redhat.com>
41624
41625 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41626 arginfo fn returning -1.
41627
41628 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41629 and thousands string is zero terminated.
41630
edf9294e
AS
416312011-02-03 Andreas Schwab <schwab@redhat.com>
41632
41633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41634 sysdeps/unix/sysv/linux/bits/socket.h.
41635
2b7e92df
ST
416362011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41637
edf9294e
AS
41638 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41639 (__CPU_COUNT): Remove old macros.
41640 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41641 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41642 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41643 (__sched_cpualloc, __sched_cpufree): Add declarations.
41644
a4c7ea7b
UD
416452011-02-05 Ulrich Drepper <drepper@gmail.com>
41646
41647 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41648 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41649 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41650 (readdhstai): Return value of addhstaiX call.
41651 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41652 (addgrbyX): Return value returned by cache_addgr.
41653 (readdgrbyname): Return value returned by addgrbyX.
41654 (readdgrbygid): Likewise.
41655 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41656 (addpwbyX): Return value returned by cache_addpw.
41657 (readdpwbyname): Return value returned by addhstbyX.
41658 (readdpwbyuid): Likewise.
41659 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41660 (addservbyX): Return value returned by cache_addserv.
41661 (readdservbyname): Return value returned by addservbyX:
41662 (readdservbyport): Likewise.
41663 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41664 (addhstbyX): Return value returned by cache_addhst.
41665 (readdhstbyname): Return value returned by addhstbyX.
41666 (readdhstbyaddr): Likewise.
41667 (readdhstbynamev6): Likewise.
41668 (readdhstbyaddrv6): Likewise.
41669 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41670 (readdinitgroups): Return value returned by addinitgroupsX.
41671 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41672 (prune_cache): Keep track of timeout value of re-added entries.
41673 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41674 * nscd/nscd.h: Adjust prototypes of readd* functions.
41675
a0bf67cc
RM
416762011-02-04 Roland McGrath <roland@redhat.com>
41677
41678 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41679 (nis_stats): Likewise.
41680 * nis/nis_modify.c (nis_modify): Likewise.
41681 * nis/nis_remove.c (nis_remove): Likewise.
41682 * nis/nis_add.c (nis_add): Likewise.
41683
41684 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41685
41686 * posix/fnmatch_loop.c: Add some consts.
41687
41688 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41689
435b95eb
L
416902011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41691
41692 [BZ #12460]
41693 * config.make.in (config-cflags-novzeroupper): Define.
41694 * configure.in: Substitute libc_cv_cc_novzeroupper.
41695 * elf/Makefile (AVX-CFLAGS): Define.
41696 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41697 (CFLAGS-tst-auditmod4a.c): Likewise.
41698 (CFLAGS-tst-auditmod4b.c): Likewise.
41699 (CFLAGS-tst-auditmod6b.c): Likewise.
41700 (CFLAGS-tst-auditmod6c.c): Likewise.
41701 (CFLAGS-tst-auditmod7b.c): Likewise.
41702 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41703
8517b15e
UD
417042011-02-02 Ulrich Drepper <drepper@gmail.com>
41705
41706 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41707 function to the callback.
41708 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41709
10a656fe
AS
417102011-02-02 Andreas Schwab <schwab@redhat.com>
41711
41712 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41713 of errno.
41714
968dad0a
UD
417152011-01-19 Ulrich Drepper <drepper@gmail.com>
41716
9f94d2ea 41717 [BZ #11724]
968dad0a
UD
41718 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41719 of constructors.
41720 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41721 of destructors.
41722 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41723
41724 [BZ #11724]
41725 * elf/Makefile: Add rules to build and run new test.
41726 * elf/tst-initorder.c: New file.
41727 * elf/tst-initorder.exp: New file.
41728 * elf/tst-initordera1.c: New file.
41729 * elf/tst-initordera2.c: New file.
41730 * elf/tst-initordera3.c: New file.
41731 * elf/tst-initordera4.c: New file.
41732 * elf/tst-initorderb1.c: New file.
41733 * elf/tst-initorderb2.c: New file.
41734 * elf/tst-order-a1.c: New file.
41735 * elf/tst-order-a2.c: New file.
41736 * elf/tst-order-a3.c: New file.
41737 * elf/tst-order-a4.c: New file.
41738 * elf/tst-order-b1.c: New file.
41739 * elf/tst-order-b2.c: New file.
41740 * elf/tst-order-main.c: New file.
41741 New test case by George Gensure <werkt0@gmail.com>.
41742
86e92359
UD
417432010-10-01 Andreas Schwab <schwab@redhat.com>
41744
41745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41746 decoding ACE if AI_CANONIDN.
41747
5d5732b0
UD
417482011-01-18 Ulrich Drepper <drepper@gmail.com>
41749
41750 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41751
a77e8cbc
UD
417522011-01-17 Ulrich Drepper <drepper@gmail.com>
41753
6392473f
UD
41754 * version.h (RELEASE): Bump for 2.13 release.
41755 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41756
620a0529
UD
41757 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41758
18ba70a5
UD
41759 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41760 MADV_NOHUGEPAGE.
32465c3e
UD
41761 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41763 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41764 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41766 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41767
c0dafcf1
UD
41768 * posix/getconf.c: Update copyright year.
41769 * catgets/gencat.c: Likewise.
41770 * csu/version.c: Likewise.
41771 * debug/catchsegv.sh: Likewise.
41772 * debug/xtrace.sh: Likewise.
41773 * elf/ldconfig.c: Likewise.
41774 * elf/ldd.bash.in: Likewise.
41775 * elf/sprof.c (print_version): Likewise.
41776 * iconv/iconv_prog.c: Likewise.
41777 * iconv/iconvconfig.c: Likewise.
41778 * locale/programs/locale.c: Likewise.
41779 * locale/programs/localedef.c: Likewise.
41780 * malloc/memusage.sh: Likewise.
41781 * malloc/mtrace.pl: Likewise.
41782 * nscd/nscd.c (print_version): Likewise.
41783 * nss/getent.c: Likewise.
41784
a77e8cbc
UD
41785 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41786 PF_CAIF, and PF_ALG.
41787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41788
77e8bddf
AS
417892011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41790
1f20b93a
AS
41791 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41792 (modules-names): Use them.
41793 (ifunc-test-modules, ifunc-pie-tests): Define.
41794 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41795 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41796 (test-extras): Likewise.
41797 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41798 $(compile-command.c).
41799 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41800 (all-built-dso): Define.
41801 (check-textrel.out, check-execstack.out): Depend on it.
41802
77e8bddf
AS
41803 * configure.in: Don't override --enable-multi-arch.
41804
bc425b33
UD
418052011-01-15 Ulrich Drepper <drepper@gmail.com>
41806
41807 [BZ #6812]
41808 * nscd/hstcache.c (tryagain): Define.
41809 (cache_addhst): Return tryagain not notfound for temporary errors.
41810 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41811 failed.
41812
794c3ad3
UD
418132011-01-14 Ulrich Drepper <drepper@gmail.com>
41814
70181fdd
UD
41815 [BZ #10563]
41816 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41817 to make the syscall.
41818 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41819
794c3ad3
UD
41820 [BZ #12378]
41821 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41822 and fall back to matching as normal character if the string ends before
41823 the matching ']' is found. This is what POSIX requires.
41824 * posix/testfnm.c: Adjust test result.
41825 * posix/globtest.sh: Adjust test result. Add new test.
41826 * posix/tst-fnmatch.input: Likewise.
41827 * posix/tst-fnmatch2.c: Add new test.
41828
68dc9497
AS
418292010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41830
41831 * elf/Makefile (check-execstack): Revert last change. Depend on
41832 check-execstack.h.
41833 (check-execstack.h): New target.
41834 (generated): Add check-execstack.h.
41835 * elf/check-execstack.c: Include "check-execstack.h".
41836 (main): Revert last change.
41837 (handle_file): Return zero if GNU_STACK is absent and
41838 DEFAULT_STACK_PERMS doesn't include PF_X.
41839
451f001b
UD
418402011-01-13 Ulrich Drepper <drepper@gmail.com>
41841
cfa28e56
UD
41842 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41843 in child fails because the descriptor is already closed.
8cf8ce17
UD
41844 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41845 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41846 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41847
1086d70d
UD
41848 [BZ #12397]
41849 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41850 syscall.
41851
451f001b
UD
41852 [BZ #10484]
41853 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41854 temporary buffer used to handle multi lookups locally.
a85b5cb4 41855 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41856
08769175
UD
418572011-01-12 Ulrich Drepper <drepper@gmail.com>
41858
41859 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41860 loader is ld.so.
41861
5e49c52e
UD
418622011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41863
41864 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41865 alignment for SSE2.
41866
60522a5f
UD
418672011-01-12 Ulrich Drepper <drepper@gmail.com>
41868
41869 [BZ #12394]
41870 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41871 characters. When rounding increased number of integer digits recompute
41872 number of groups.
41873 * stdio-common/tst-grouping.c: New file.
41874 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41875
f257bbd7
UD
418762011-01-09 Ulrich Drepper <drepper@gmail.com>
41877
41878 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41879 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41880
41881 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41882 void.
41883 * bits/select.h: Likewise.
41884
fa9c15cb
UD
418852011-01-08 Ulrich Drepper <drepper@gmail.com>
41886
41887 * po/ja.po: Update from translation team.
41888
16c2895f
DM
418892011-01-04 David S. Miller <davem@sunset.davemloft.net>
41890
41891 [BZ #11155]
41892 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41893 implementation just like for lxstat, fxstatat, et al.
41894
2543fef2
JM
418952010-12-27 Jim Meyering <meyering@redhat.com>
41896
41897 [BZ #12348]
41898 * posix/regexec.c (build_trtable): Return failure indication upon
41899 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41900
98727dbe
UD
419012010-12-25 Ulrich Drepper <drepper@gmail.com>
41902
5bd6dc5c
UD
41903 [BZ #12201]
41904 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41905 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41906 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41907 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41908
97983464
UD
41909 [BZ #12207]
41910 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41911
98727dbe
UD
41912 [BZ #12204]
41913 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41914 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41915
4a531bb0
L
419162010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41917
41918 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41919 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41920 script has SORT_BY_INIT_PRIORITY.
41921 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41922 NO_CTORS_DTORS_SECTIONS is defined.
41923 * elf/soinit.c: Likewise.
41924 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41925 NO_CTORS_DTORS_SECTIONS is defined.
41926 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41927 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41928 * sysdeps/sh/init-first.c: Likewise.
41929 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41930
07eb4b71
UD
419312010-12-24 Ulrich Drepper <drepper@gmail.com>
41932
41933 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41934 always use the slow path.
41935
30950a5f
RA
419362010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41937
41938 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41939 similar rule which adds the sysdep directories to the header search in
41940 order to pick up the correct platform stackinfo.h.
41941 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41942 perform test if it is, otherwise return successfully without testing.
41943 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41944 DEFAULT_STACK_PERMS define in stackinfo.h.
41945 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41946 defined in stackinfo.h.
41947 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41948 DEFAULT_STACK_PERMS defined in stackinfo.h.
41949 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41950 * sysdeps/ia64/stackinfo.h: Likewise.
41951 * sysdeps/s390/stackinfo.h: Likewise.
41952 * sysdeps/sh/stackinfo.h: Likewise.
41953 * sysdeps/sparc/stackinfo.h: Likewise.
41954 * sysdeps/x86_64/stackinfo.h: Likewise.
41955 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41956 PF_X for powerpc64. Retain PF_X for powerpc32.
41957
db753e2c
UD
419582010-12-19 Ulrich Drepper <drepper@gmail.com>
41959
14b697f7
UD
41960 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41961 accurately.
db753e2c
UD
41962 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41963 GETDENTS_64BIT_ALIGNED.
41964
28300719
UD
419652010-12-14 Ulrich Drepper <dreper@gmail.com>
41966
14b697f7 41967 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41968
4f197237
AS
419692010-12-10 Andreas Schwab <schwab@redhat.com>
41970
dbb0472f
AS
41971 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41972 _GNU_SOURCE.
41973
4f197237
AS
41974 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41975 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41976 Remove __restrict.
41977 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41978 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41979
fb88ac72
UD
419802010-12-09 Ulrich Drepper <drepper@gmail.com>
41981
41982 [BZ #11655]
41983 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41984 are initialized.
41985
42acbb92
JJ
419862010-12-09 Jakub Jelinek <jakub@redhat.com>
41987
41988 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41989
c038d98d
UD
419902010-12-03 Ulrich Drepper <drepper@gmail.com>
41991
41992 * po/it.po: Update from translation team.
41993
3a4a2499
L
419942010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41995
41996 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41997 unused codes.
41998
1e24cf6e
UD
419992010-11-30 Ulrich Drepper <drepper@gmail.com>
42000
42001 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42002
a7690819
AS
420032010-11-24 Andreas Schwab <schwab@redhat.com>
42004
42005 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42006 specially.
42007 (gaih_getanswer_slice): Likewise.
42008
3bf8d1b1
JJ
420092010-10-20 Jakub Jelinek <jakub@redhat.com>
42010
42011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42012
6db52fbb
PB
420132010-05-31 Petr Baudis <pasky@suse.cz>
42014
42015 [BZ #11149]
42016 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42017 silently even in the chroot mode.
42018
eaca7569
UD
420192010-11-22 Ulrich Drepper <drepper@gmail.com>
42020
42021 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42022 last patch a bit. Pretty printing
42023
3056dcdb
UD
420242010-05-31 Petr Baudis <pasky@suse.cz>
42025
42026 [BZ #10085]
42027 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42028 initialization of skip_initgroups_dyn.
42029
cf7c9078
UD
420302010-11-19 Ulrich Drepper <drepper@gmail.com>
42031
42032 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42033 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42034
a1fb5e3e
UD
420352010-11-16 Ulrich Drepper <drepper@gmail.com>
42036
42037 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42038
3540d66b
AS
420392010-11-11 Andreas Schwab <schwab@redhat.com>
42040
42041 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42042 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42043 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42044 ($(objpfx)tst-fnmatch-mem): New rule.
42045 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42046 * posix/tst-fnmatch.c (main): Call mtrace.
42047
13b69574
L
420482010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42049
42050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42051 Support Intel processor model 6 and model 0x2c.
42052
da93d214
LM
420532010-11-10 Luis Machado <luisgpm@br.ibm.com>
42054
42055 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42056 signed comparison.
42057
8ca52c6e
L
420582010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42059
42060 [BZ #12205]
42061 * string/test-strncasecmp.c (check_result): New function.
42062 (do_one_test): Use it.
42063 (check1): New function.
42064 (test_main): Use it.
42065 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42066 Support strcasecmp and strncasecmp.
42067
69da074d
UD
420682010-11-08 Ulrich Drepper <drepper@gmail.com>
42069
42070 [BZ #12194]
42071 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42072 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42073
ff02d528
L
420742010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42075
42076 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42077 IFUNC support.
42078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42079 memset-x86-64.
42080 * sysdeps/x86_64/multiarch/bzero.S: New file.
42081 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42082 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42083 * sysdeps/x86_64/multiarch/memset.S: New file.
42084 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42086 Set bit_Prefer_SSE_for_memop for Intel processors.
42087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42088 Define.
42089 (index_Prefer_SSE_for_memop): Define.
42090 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42091
344d0b54
LM
420922010-11-04 Luis Machado <luisgpm@br.ibm.com>
42093
42094 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42095 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42096
c0dde15b
UD
420972010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42098
42099 [BZ #12191]
42100 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42101 (__x86_64_raw_data_cache_size_half): Likewise.
42102 (__x86_64_raw_shared_cache_size): Likewise.
42103 (__x86_64_raw_shared_cache_size_half): Likewise.
42104
42105 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42106 (__x86_64_raw_data_cache_size_half): Likewise.
42107 (__x86_64_raw_shared_cache_size): Likewise.
42108 (__x86_64_raw_shared_cache_size_half): Likewise.
42109 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42110 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42111 and __x86_64_raw_shared_cache_size_half. Round
42112 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42113 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42114 to multiple of 256 bytes.
42115
0e516e0e
MS
421162010-11-03 Ulrich Drepper <drepper@gmail.com>
42117
42118 [BZ #12167]
42119 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42120 of inacessible symlinks. Verify result of symlink before returning it.
42121 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42122 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42123
0e012e87
ER
421242010-10-28 Erich Ritz <erichritz@gmail.com>
42125
42126 * math/math.h (isinf): Fix typo in comment.
42127
de0ff7bc
UD
421282010-11-01 Ulrich Drepper <drepper@gmail.com>
42129
42130 * po/da.po: Update from translation team.
42131
fa41c84d
UD
421322010-10-26 Ulrich Drepper <drepper@gmail.com>
42133
42134 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42135 is added to the list.
42136
f0967738
AK
421372010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42138 Ulrich Drepper <drepper@gmail.com>
42139
42140 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42141 the global list here. Move code to...
42142 (_dl_add_to_namespace_list): ...here. New function.
42143 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42144 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42145 * elf/dl-load.c (lose): Don't remove the element from the list.
42146 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42147 (_dl_map_object): Likewise.
42148
421492010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42150
42151 [BZ #12159]
42152 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42153 into all bytes of SSE register.
42154 Patch by Richard Li <richardpku@gmail.com>.
42155
f0967738 421562010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42157
42158 [BZ #12140]
42159 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42160 perturbing.
42161
d0b9e94f
MB
421622010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42163
42164 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42165 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42166 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42169 submachine.
42170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42171
8e9f92e9
AS
421722010-10-22 Andreas Schwab <schwab@redhat.com>
42173
42174 * include/dlfcn.h (__RTLD_SECURE): Define.
42175 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42176 mode & __RTLD_SECURE instead.
42177 (open_path): Rename preloaded parameter to secure.
42178 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42179 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42180 * elf/dl-deps.c (openaux): Likewise.
42181 * elf/rtld.c (struct map_args): Remove is_preloaded.
42182 (map_doit): Don't use it.
42183 (dl_main): Likewise.
42184 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42185 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42186
bc96fbda
AS
421872010-09-09 Andreas Schwab <schwab@redhat.com>
42188
42189 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42190 (sysd-rules-targets): Remove duplicates.
42191 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42192 rtld-%.$o dependency.
42193
22cd1c9b
AS
421942010-10-18 Andreas Schwab <schwab@redhat.com>
42195
42196 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42197 _dl_map_object do it.
42198
18edac48
UD
421992010-10-19 Ulrich Drepper <drepper@gmail.com>
42200
42201 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42202 fast fma builtins, define the macros in the C99 standard.
42203 (FP_FAST_FMAF): Likewise.
42204 (FP_FAST_FMAL): Likewise.
42205 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42206
42207 * bits/mathdef.h: Update copyright year.
42208 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42209
d2050124
MM
422102010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42211
42212 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42213 builtins, define the macros in the C99 standard.
42214 (FP_FAST_FMAF): Likewise.
42215 (FP_FAST_FMAL): Likewise.
42216 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42217 multiply/add.
42218 (FP_FAST_FMAF): Likewise.
42219
475facd1
JJ
422202010-10-15 Jakub Jelinek <jakub@redhat.com>
42221
42222 [BZ #3268]
42223 * math/libm-test.inc (fma_test): Some new testcases.
42224 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42225 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42226 y and infinite z. Do multiplication by C already in long double.
42227 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42229 y and infinite z. Do bitwise or of inexact bit into u.d.
42230 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42231 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42232 * sysdeps/i386/fpu/s_fma.S: Removed.
42233 * sysdeps/i386/fpu/s_fmal.S: Removed.
42234
7c08a05c
JJ
422352010-10-16 Jakub Jelinek <jakub@redhat.com>
42236
42237 [BZ #3268]
42238 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42240 computation is not scheduled after fetestexcept. Fix value
42241 of minimum denormal long double.
42242
f3f7372d
JJ
422432010-10-14 Jakub Jelinek <jakub@redhat.com>
42244
42245 [BZ #3268]
42246 * math/libm-test.inc (fma_test): Add some more tests.
42247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42248 correctly.
42249
14d43591
AS
422502010-10-15 Andreas Schwab <schwab@redhat.com>
42251
42252 * scripts/data/localplt-s390-linux-gnu.data: New file.
42253 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42254
5e908464
JJ
422552010-10-13 Jakub Jelinek <jakub@redhat.com>
42256
42257 [BZ #3268]
42258 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42259 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42260 instead of dbl-64.
42261 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42262 inlines.
42263 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42265 if one of x and y is very large and the other is subnormal.
42266 * sysdeps/s390/fpu/s_fmaf.c: New file.
42267 * sysdeps/s390/fpu/s_fma.c: New file.
42268 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42269 * sysdeps/powerpc/fpu/s_fma.S: New file.
42270 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42271 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42272 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42273
422742010-10-12 Jakub Jelinek <jakub@redhat.com>
42275
42276 [BZ #3268]
42277 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42278 fma tests.
42279 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42280 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42281 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42282 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42283 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42284 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42285 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42286
b833d51f
UD
422872010-10-12 Ulrich Drepper <drepper@redhat.com>
42288
42289 [BZ #12078]
42290 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42291 * posix/bug-regex31.input: Add test case.
42292
1751705d
UD
422932010-10-11 Ulrich Drepper <drepper@gmail.com>
42294
e9b9cbf5
UD
42295 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42296 * posix/bug-regex31.input: New file.
42297
42298 [BZ #12078]
42299 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42300 (parse_sub_exp): Fix last change, use postorder.
42301
ef06edbe
UD
42302 * posix/bug-regex31.c: New file.
42303 * posix/Makefile: Add rules to build and run bug-regex31.
42304
a129c80d
UD
42305 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42306
42307 [BZ #12078]
42308 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42309
b76b818e
UD
42310 [BZ #12108]
42311 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42312 to have entries in sys_siglist.
42313
1751705d
UD
42314 [BZ #12093]
42315 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42316 be NULL.
42317
9ff8d36f
JJ
423182010-10-07 Jakub Jelinek <jakub@redhat.com>
42319
42320 [BZ #3268]
42321 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42322 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42323 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42324 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42325 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42326 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42327 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42328 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42329 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42330 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42331 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42332 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42333 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42334 * math/ftestexcept.c (fetestexcept): Likewise.
42335 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42336 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42337 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42338 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42339 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42340 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42341 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42342
af325969
UD
423432010-10-11 Ulrich Drepper <drepper@gmail.com>
42344
c579b202 42345 [BZ #12107]
af325969
UD
42346 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42347 newline.
42348
67a67b95
UD
423492010-10-06 Ulrich Drepper <drepper@gmail.com>
42350
42351 * string/bug-strstr1.c: New file.
42352 * string/Makefile: Add rules to build and run bug-strstr1.
42353
5fb308bc
EB
423542010-10-05 Eric Blake <eblake@redhat.com>
42355
42356 [BZ #12092]
42357 * string/str-two-way.h (two_way_long_needle): Always clear memory
42358 when skipping input due to the shift table.
42359
45db99c7
UD
423602010-10-03 Ulrich Drepper <drepper@gmail.com>
42361
3b111893
UD
42362 [BZ #12005]
42363 * malloc/mcheck.c: Handle large requests.
42364
45db99c7
UD
42365 [BZ #12077]
42366 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42367 for strncmp and strncasecmp.
42368 * string/stratcliff.c: Add tests for strcmp and strncmp.
42369 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42370
cf7a1eb8
NI
423712010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42372
42373 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42374 __set_fpscr.
42375
6484ba5e
AJ
423762010-09-30 Andreas Jaeger <aj@suse.de>
42377
42378 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42379 (CGROUP_SUPER_MAGIC): Define.
42380 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42381 Handle btrfs and cgroup file systems.
42382 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42383 Likewise.
42384
91c42559
LM
423852010-09-27 Luis Machado <luisgpm@br.ibm.com>
42386
42387 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42388 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42389
87a97932
AK
423902010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42391
42392 [BZ #12067]
42393 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42394 trying to locate the ELF header.
42395
c21cc9bc
AS
423962010-09-27 Andreas Schwab <schwab@redhat.com>
42397
42398 [BZ #11611]
42399 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42400 Mask out sign-bit copies when constructing f_fsid.
42401
315970f6
PB
424022010-09-24 Petr Baudis <pasky@suse.cz>
42403
42404 * debug/stack_chk_fail_local.c: Add missing licence exception.
42405 * debug/warning-nop.c: Likewise.
42406
1ac7a2c7
JM
424072010-09-15 Joseph Myers <joseph@codesourcery.com>
42408
42409 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42410 implementing getdents64 using getdents syscall, set d_type if
42411 __ASSUME_GETDENTS32_D_TYPE.
42412
56801c50
AS
424132010-09-16 Andreas Schwab <schwab@redhat.com>
42414
42415 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42416 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42417
dda51327
UD
424182010-09-21 Ulrich Drepper <drepper@redhat.com>
42419
42420 [BZ #12037]
42421 * posix/unistd.h: Undo change of feature selection for ftruncate from
42422 2010-01-11.
42423
8ffcee4a
UD
424242010-09-20 Ulrich Drepper <drepper@redhat.com>
42425
a545ecd9 42426 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42427 detection.
42428
e24f0a8b
AS
424292010-09-20 Andreas Schwab <schwab@redhat.com>
42430
42431 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42432 fanotify_mark.
42433 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42434
7291c56f
AS
424352010-09-14 Andreas Schwab <schwab@redhat.com>
42436
42437 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42438 variables after CHECK_SP call.
42439 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42440
bc5fb037
AS
424412010-09-13 Andreas Schwab <schwab@redhat.com>
42442 Ulrich Drepper <drepper@redhat.com>
42443
42444 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42445 re-relocationg ld.so.
42446 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42447 _dl_init_paths call.
42448 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42449 here anymore.
42450
e66e7419
UD
424512010-09-14 Ulrich Drepper <drepper@redhat.com>
42452
42453 * resolv/res_init.c (__res_vinit): Count the default server we added.
42454
c044aa75
CLT
424552010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42456 Ulrich Drepper <drepper@redhat.com>
42457
42458 [BZ #11968]
42459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42460 (____longjmp_chk): Use %ebx for saving value across system call.
42461 Add unwind info.
42462
32cf4069
AS
424632010-09-06 Andreas Schwab <schwab@redhat.com>
42464
42465 * manual/Makefile: Don't mix pattern rules with normal rules.
42466
817328ee
AS
424672010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42468
42469 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42470 operation.
42471 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42472 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42473 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42474 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42476 Likewise.
42477
29fddf61
UD
424782010-09-04 Ulrich Drepper <drepper@redhat.com>
42479
42480 [BZ #11979]
42481 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42482 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42483
0959ffc9
UD
424842010-09-02 Ulrich Drepper <drepper@redhat.com>
42485
42486 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42487 * sysdeps/x86_64/addmul_1.S: Likewise.
42488 * sysdeps/x86_64/lshift.S: Likewise.
42489 * sysdeps/x86_64/mul_1.S: Likewise.
42490 * sysdeps/x86_64/rshift.S: Likewise.
42491 * sysdeps/x86_64/sub_n.S: Likewise.
42492 * sysdeps/x86_64/submul_1.S: Likewise.
42493
ece29840
ST
424942010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42495
0959ffc9
UD
42496 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42497 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42498 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42499 * bits/sched.h [__need_schedparam]
ece29840 42500 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42501 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42502 (__defined_schedparam): Define to 1.
ece29840
ST
42503 (__sched_param): New structure, identical to sched_param.
42504 (__need_schedparam): Undefine.
42505
e53a31fe
MF
425062010-08-31 Mike Frysinger <vapier@gentoo.org>
42507
fdc0c10d
MF
42508 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42509 (epoll_create1): Declare.
42510
e53a31fe
MF
42511 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42512
a726d796
AS
425132010-08-31 Andreas Schwab <schwab@redhat.com>
42514
42515 [BZ #7066]
42516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42517 shifting retval into place.
42518
2f3e3dc7
UD
425192010-09-01 Ulrich Drepper <drepper@redhat.com>
42520
f2933da9
UD
42521 * nis/rpcsvc/nis.h: Update copyright notice.
42522 * nis/rpcsvc/nis.x: Likewise.
42523 * nis/rpcsvc/nis_callback.h: Likewise.
42524 * nis/rpcsvc/nis_callback.x: Likewise.
42525 * nis/rpcsvc/nis_object.x: Likewise.
42526 * nis/rpcsvc/nis_tags.h: Likewise.
42527 * nis/rpcsvc/yp.h: Likewise.
42528 * nis/rpcsvc/yp.x: Likewise.
42529 * nis/rpcsvc/ypupd.h: Likewise.
42530 * nis/yp_xdr.c: Likewise.
42531 * nis/ypupdate_xdr.c: Likewise.
42532
2f3e3dc7
UD
42533 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42534 mainly the body of pmap_getport. Add parameters to specify timeouts.
42535 (pmap_getport): Use __libc_rpc_getport.
42536 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42537 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42538 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42539
f3dcc2f9
AS
425402010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42541
42542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42543 fanotify_mark.
42544
6d34eb5b
RM
425452010-08-27 Roland McGrath <roland@redhat.com>
42546
42547 * sysdeps/i386/i686/multiarch/Makefile
42548 (CFLAGS-varshift.c): New variable.
42549
9ea3de11
UD
425502010-08-27 Ulrich Drepper <drepper@redhat.com>
42551
c96d23fc
UD
42552 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42553 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42554
9ea3de11
UD
42555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42556
42557 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42558
623aac7f
L
425592010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42560
42561 * sysdeps/x86_64/strlen.S: Unroll the loop.
42562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42563 strlen-sse2 strlen-sse2-bsf.
42564 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42565 __strlen_no_bsf if bit_Slow_BSF is set.
42566 (__strlen_sse42): Removed.
42567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42568 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42569
8b2b7715
RM
425702010-08-25 Roland McGrath <roland@redhat.com>
42571
42572 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42573 * sysdeps/x86_64/multiarch/varshift.c: New file.
42574 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42575 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42576 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42577 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42578
e73015f2
L
425792010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42580
42581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42582 strlen-sse2 strlen-sse2-bsf.
42583 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42584 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42585 (__strlen_sse2): Removed.
42586 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42587 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42589 bit_Slow_BSF for Atom.
42590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42591 (index_Slow_BSF): Define.
42592 (HAS_SLOW_BSF): Define.
42593
df24a73e
UD
425942010-08-25 Ulrich Drepper <drepper@redhat.com>
42595
42596 [BZ #10851]
42597 * resolv/res_init.c (__res_vinit): When no server address at all
42598 is given default to loopback.
42599
f2ac4868
RM
426002010-08-24 Roland McGrath <roland@redhat.com>
42601
09055553
RM
42602 * configure.in: Remove config-name.h generation.
42603 * configure: Regenerated.
42604 * config-name.in: File removed.
42605 * scripts/config-uname.sh: New file.
42606 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42607 ($(objdir)config-name.h): New target.
42608
f2ac4868
RM
42609 * sunrpc/rpc_parse.h: Avoid nested comment.
42610
73f27d5e
RH
426112010-08-24 Richard Henderson <rth@redhat.com>
42612 Ulrich Drepper <drepper@redhat.com>
42613 H.J. Lu <hongjiu.lu@intel.com>
42614
42615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42617 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42618 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42619 _mm_alignr_epi8 with _mm_loadu_si128.
42620 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42621 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42622 (__m128i_shift_right): Removed.
42623 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42624 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42625 * sysdeps/x86_64/multiarch/varshift.h: New file.
42626 * sysdeps/x86_64/multiarch/varshift.S: New file.
42627
84b9230c
MF
426282010-08-21 Mike Frysinger <vapier@gentoo.org>
42629
42630 * configure.in: Move assembler checks to before sysdep dir checking.
42631
9bbd0ddc
PB
426322010-08-20 Petr Baudis <pasky@suse.cz>
42633
42634 * LICENSES: Sync the sunrpc license.
42635
9da4bb31
UD
426362010-08-19 Ulrich Drepper <drepper@redhat.com>
42637
a7ab6ec8
UD
42638 * sunrpc/auth_des.c: Update copyright notice once again.
42639 * sunrpc/auth_none.c: Likewise.
42640 * sunrpc/auth_unix.c: Likewise.
42641 * sunrpc/authdes_prot.c: Likewise.
42642 * sunrpc/authuxprot.c: Likewise.
42643 * sunrpc/bindrsvprt.c: Likewise.
42644 * sunrpc/clnt_gen.c: Likewise.
42645 * sunrpc/clnt_perr.c: Likewise.
42646 * sunrpc/clnt_raw.c: Likewise.
42647 * sunrpc/clnt_simp.c: Likewise.
42648 * sunrpc/clnt_tcp.c: Likewise.
42649 * sunrpc/clnt_udp.c: Likewise.
42650 * sunrpc/clnt_unix.c: Likewise.
42651 * sunrpc/des_crypt.c: Likewise.
42652 * sunrpc/des_soft.c: Likewise.
42653 * sunrpc/get_myaddr.c: Likewise.
42654 * sunrpc/getrpcport.c: Likewise.
42655 * sunrpc/key_call.c: Likewise.
42656 * sunrpc/key_prot.c: Likewise.
42657 * sunrpc/openchild.c: Likewise.
42658 * sunrpc/pm_getmaps.c: Likewise.
42659 * sunrpc/pm_getport.c: Likewise.
42660 * sunrpc/pmap_clnt.c: Likewise.
42661 * sunrpc/pmap_prot.c: Likewise.
42662 * sunrpc/pmap_prot2.c: Likewise.
42663 * sunrpc/pmap_rmt.c: Likewise.
42664 * sunrpc/rpc/auth.h: Likewise.
42665 * sunrpc/rpc/auth_unix.h: Likewise.
42666 * sunrpc/rpc/clnt.h: Likewise.
42667 * sunrpc/rpc/des_crypt.h: Likewise.
42668 * sunrpc/rpc/key_prot.h: Likewise.
42669 * sunrpc/rpc/netdb.h: Likewise.
42670 * sunrpc/rpc/pmap_clnt.h: Likewise.
42671 * sunrpc/rpc/pmap_prot.h: Likewise.
42672 * sunrpc/rpc/pmap_rmt.h: Likewise.
42673 * sunrpc/rpc/rpc.h: Likewise.
42674 * sunrpc/rpc/rpc_des.h: Likewise.
42675 * sunrpc/rpc/rpc_msg.h: Likewise.
42676 * sunrpc/rpc/svc.h: Likewise.
42677 * sunrpc/rpc/svc_auth.h: Likewise.
42678 * sunrpc/rpc/types.h: Likewise.
42679 * sunrpc/rpc/xdr.h: Likewise.
42680 * sunrpc/rpc_clntout.c: Likewise.
42681 * sunrpc/rpc_cmsg.c: Likewise.
42682 * sunrpc/rpc_common.c: Likewise.
42683 * sunrpc/rpc_cout.c: Likewise.
42684 * sunrpc/rpc_dtable.c: Likewise.
42685 * sunrpc/rpc_hout.c: Likewise.
42686 * sunrpc/rpc_main.c: Likewise.
42687 * sunrpc/rpc_parse.c: Likewise.
42688 * sunrpc/rpc_parse.h: Likewise.
42689 * sunrpc/rpc_prot.c: Likewise.
42690 * sunrpc/rpc_sample.c: Likewise.
42691 * sunrpc/rpc_scan.c: Likewise.
42692 * sunrpc/rpc_scan.h: Likewise.
42693 * sunrpc/rpc_svcout.c: Likewise.
42694 * sunrpc/rpc_tblout.c: Likewise.
42695 * sunrpc/rpc_util.c: Likewise.
42696 * sunrpc/rpc_util.h: Likewise.
42697 * sunrpc/rpcinfo.c: Likewise.
42698 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42699 * sunrpc/rpcsvc/key_prot.x: Likewise.
42700 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42701 * sunrpc/rpcsvc/mount.x: Likewise.
42702 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42703 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42704 * sunrpc/rpcsvc/rex.x: Likewise.
42705 * sunrpc/rpcsvc/rstat.x: Likewise.
42706 * sunrpc/rpcsvc/rusers.x: Likewise.
42707 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42708 * sunrpc/rpcsvc/spray.x: Likewise.
42709 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42710 * sunrpc/rtime.c: Likewise.
42711 * sunrpc/svc.c: Likewise.
42712 * sunrpc/svc_auth.c: Likewise.
42713 * sunrpc/svc_authux.c: Likewise.
42714 * sunrpc/svc_raw.c: Likewise.
42715 * sunrpc/svc_run.c: Likewise.
42716 * sunrpc/svc_simple.c: Likewise.
42717 * sunrpc/svc_tcp.c: Likewise.
42718 * sunrpc/svc_udp.c: Likewise.
42719 * sunrpc/svc_unix.c: Likewise.
42720 * sunrpc/svcauth_des.c: Likewise.
42721 * sunrpc/xcrypt.c: Likewise.
42722 * sunrpc/xdr.c: Likewise.
42723 * sunrpc/xdr_array.c: Likewise.
42724 * sunrpc/xdr_float.c: Likewise.
42725 * sunrpc/xdr_mem.c: Likewise.
42726 * sunrpc/xdr_rec.c: Likewise.
42727 * sunrpc/xdr_ref.c: Likewise.
42728 * sunrpc/xdr_sizeof.c: Likewise.
42729 * sunrpc/xdr_stdio.c: Likewise.
42730
9da4bb31
UD
42731 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42732 handling.
42733
bdaa77bc
AS
427342010-08-19 Andreas Schwab <schwab@redhat.com>
42735
42736 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42737
fe2f79db
LM
427382010-08-19 Luis Machado <luisgpm@br.ibm.com>
42739
42740 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42742 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42743 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42744 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42745 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42746 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42747 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42749 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42750 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42751 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42752 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42753 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42754
b9b42ee0
AB
427552010-07-26 Anton Blanchard <anton@samba.org>
42756
42757 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42758 * malloc/arena.c (heap_trim): Likewise.
42759
1c06ba31
UD
427602010-08-16 Ulrich Drepper <drepper@redhat.com>
42761
42762 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42763 here. Not...
42764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42765 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42766
f8392f40
L
427672010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42768
42769 * sysdeps/i386/elf/Makefile: New file.
42770
3162f12e
AS
427712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42772
42773 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42774 from fanotify_init.
42775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42777
28c90b2c
UD
427782010-08-15 Ulrich Drepper <drepper@redhat.com>
42779
42780 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42781 of strncasecmp_l.
1feccb6c 42782 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42783
ca6bb004
UD
427842010-08-14 Ulrich Drepper <drepper@redhat.com>
42785
e9f82e0d
UD
42786 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42787 strncase_l-nonascii.
42788 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42789 Add strncase_l-ssse3.
42790 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42791 * sysdeps/x86_64/strcmp.S: Likewise.
42792 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42793 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42794 * sysdeps/x86_64/strncase.S: New file.
42795 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42796 * sysdeps/x86_64/strncase_l.S: New file.
42797 * string/Makefile (strop-tests): Add strncasecmp.
42798 * string/test-strncasecmp.c: New file.
42799
42800 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42801 warning.
42802
ca6bb004
UD
42803 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42804 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42805
052fa7b3
AS
428062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42807
42808 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42809
962dba78
UD
428102010-08-12 Ulrich Drepper <drepper@redhat.com>
42811
42812 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42814 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42815
bebff237
AM
428162010-05-01 Alan Modra <amodra@gmail.com>
42817
42818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42819 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42820 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42821 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42822 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42823 tidying. Don't tail-call __sigjmp_save for static lib.
42824 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42825 save location.
42826 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42827 (CALL_MCOUNT): Add eh info, and nop after bl.
42828 (TAIL_CALL_SYSCALL_ERROR): New macro.
42829 (PSEUDO_RET): Use it.
42830 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42831 Correct save location of integer regs and cr.
42832 (_dl_profile_resolve): Correct cr save location. Delete nops
42833 after bl when SHARED. Reduce cfi size a little by better
42834 placement of cfi directives.
42835 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42836 make a stack frame. Instead use parm save area as a temp.
42837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42838 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42840 Don't make a stack frame for parent, use parm save area.
42841 Increase child stack frame to 112 bytes. Don't save unused reg,
42842 and adjust reg usage. Set up cfi on error recovery and
42843 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42845 (__makecontext): Add dummy nop after jump to exit.
42846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42847 Use correct parm save area and cr save, reduce stack frame.
42848 Correct cfi for possible PSEUDO_RET frame setup.
42849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42850 Branch to local label emitted by PSEUDO_RET rather than
42851 __syscall_error.
42852
02637374
AS
428532010-08-12 Andreas Schwab <schwab@redhat.com>
42854
42855 [BZ #11904]
42856 * locale/programs/locale.c (print_assignment): New function.
42857 (show_locale_vars): Use it.
42858
c3e2f19b
UD
428592010-08-11 Ulrich Drepper <drepper@redhat.com>
42860
3cdaa6ad
UD
42861 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42862 field.
42863 (struct statfs64): Likewise.
42864 (_STATFS_F_FLAGS): Define.
42865 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42866 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42867 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42868 (ST_VALID): Define locally.
42869 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42870 __statvfs_getflags, use the provided value.
42871 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42872 __ASSUME_STATFS_F_FLAGS.
42873
754f7da3
UD
42874 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42875
10b3bedc
UD
42876 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42877 Add sys/fanotify.h.
42878 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42879 fanotify_mask for GLIBC_2.13.
42880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42881 fanotify_init and fanotify_mark.
42882 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42883 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42884
c08fb0d7
UD
42885 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42886 Add prlimit.
42887 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42888 prlimit64 for GLIBC_2.13.
42889 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42890 prlimit64.
42891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42892 syscall.
42893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42894 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42895 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42896 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42898 add prlimit alias.
42899 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42900
15bac72b
UD
42901 [BZ #11903]
42902 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42903 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42904
c3e2f19b
UD
42905 * nss/Makefile: Add rules to build and run tst-nss-test1.
42906 * shlib-versions: Add entry for libnss_test1.
42907 * nss/nss_test1.c: New file.
42908 * nss/tst-nss-test1.c: New file.
42909
42910 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42911 (__nss_configure_lookup): Set appropriate entry in
42912 __nss_configure_lookup to true.
42913 * nss/nsswitch.h: Define enum with indeces of databases in
42914 databases and __nss_database_custom arrays. Declare
42915 __nss_database_custom.
42916 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42917 to avoid using nscd when custom rules are installed.
42918 * nss/getXXbyYY_r.c: Likewise.
42919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42920
42921 * nss/nss_files/files-parse.c: Whitespace fixes.
42922
f15ce4d8
UD
429232010-08-09 Ulrich Drepper <drepper@redhat.com>
42924
42925 [BZ #11883]
42926 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42927 * posix/fnmatch_loop.c: Likewise.
42928
d22e4cc9
AK
429292010-07-17 Andi Kleen <ak@linux.intel.com>
42930
42931 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42932 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42933 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42934 * Versions.def [GLIBC_2.13]: Add.
42935
805bc17d
UD
429362010-08-06 Ulrich Drepper <drepper@redhat.com>
42937
42938 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42939 Also fail if tpwd after pwuid call is NULL.
42940
5a42321d
ST
429412010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42942
42943 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42944 when converting to ms.
42945
fd3ebeda
ST
429462010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42947
42948 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42949 EOPNOTSUPP errors with ENOTTY.
42950 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42951 EOPNOTSUPP errors with ENOTTY.
42952
73507d3a
UD
429532010-07-31 Ulrich Drepper <drepper@redhat.com>
42954
42955 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42956 Add strcasecmp_l-ssse3.
42957 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42958 strcasecmp.
42959 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42960 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42961 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42962
fe36dd02
UD
429632010-07-30 Ulrich Drepper <drepper@redhat.com>
42964
66f6765a
UD
42965 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42966
42e08a54
UD
42967 * string/Makefile (strop-tests): Add strcasecmp.
42968 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42969 strcasecmp_l-nonascii.
42970 (gen-as-const-headers): Add locale-defines.sym.
42971 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42972 * sysdeps/x86_64/strcasecmp.S: New file.
42973 * sysdeps/x86_64/strcasecmp_l.S: New file.
42974 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42975 * sysdeps/x86_64/locale-defines.sym: New file.
42976 * string/test-strcasecmp.c: New file.
42977
fe36dd02
UD
42978 * string/test-strcasestr.c: Test both ends of the range of characters.
42979 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42980
48cbc0d6
RM
429812010-07-29 Roland McGrath <roland@redhat.com>
42982
76e6d6bc 42983 [BZ #11856]
48cbc0d6
RM
42984 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42985
880113d9
UD
429862010-07-27 Ulrich Drepper <drepper@redhat.com>
42987
42988 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42989 for ld.so.
42990
deb9cabb
AS
429912010-07-27 Andreas Schwab <schwab@redhat.com>
42992
42993 * manual/memory.texi (Malloc Tunable Parameters): Document
42994 M_PERTURB.
42995
1c7570ff
RM
429962010-07-26 Roland McGrath <roland@redhat.com>
42997
42998 [BZ #11840]
42999 * configure.in (-fgnu89-inline check): Set and substitute
43000 gnu89_inline, not libc_cv_gnu89_inline.
43001 * configure: Regenerated.
43002 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43003
24fb0f88
UD
430042010-07-26 Ulrich Drepper <drepper@redhat.com>
43005
43006 * string/test-strnlen.c: New file.
43007 * string/Makefile (strop-tests): Add strnlen.
43008 * string/tester.c (test_strnlen): Add a few more test cases.
43009 * string/tst-strlen.c: Better error reporting.
43010
43011 * sysdeps/x86_64/strnlen.S: New file.
43012
8e96b93a
UD
430132010-07-24 Ulrich Drepper <drepper@redhat.com>
43014
43015 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43016 lower-latency instructions.
43017
dbc676d4
UD
430182010-07-23 Ulrich Drepper <drepper@redhat.com>
43019
43020 * string/test-strcasestr.c: New file.
43021 * string/test-strstr.c: New file.
43022 * string/Makefile (strop-tests): Add strstr and strcasestr.
43023 * string/str-two-way.h: Don't undefine MAX.
43024 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43025
f6a31e0e
AS
430262010-07-21 Andreas Schwab <schwab@redhat.com>
43027
43028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43029 strcasestr-nonascii.
43030 (CFLAGS-strcasestr-nonascii.c): Define.
43031 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43032 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43033 Remove unused attribute.
43034
5dbc3b6c
RM
430352010-07-20 Roland McGrath <roland@redhat.com>
43036
43037 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43038 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43039 ld.so.cache was broken. With it, there is no way to disable dsocaps
43040 like LD_HWCAP_MASK can disable hwcaps.
43041
23d101d8
EPM
430422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43043
43044 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43045
cc9f2e47
UD
430462010-07-16 Ulrich Drepper <drepper@redhat.com>
43047
43048 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43049 call in strcasestr.
43050 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43051 __strcasestr_sse42_nonascii.
43052 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43053 strcasestr-nonascii.c.
43054 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43055
77c1b069
LM
430562010-06-15 Luis Machado <luisgpm@br.ibm.com>
43057
43058 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43059 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43060 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43061 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43062
440566c3
UD
430632010-07-09 Ulrich Drepper <drepper@redhat.com>
43064
43065 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43066 fcntl.
43067
5be9d05d
AS
430682010-07-06 Andreas Schwab <schwab@redhat.com>
43069
c30b7ee2 43070 [BZ #11577]
5be9d05d
AS
43071 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43072 dl_signal_cerror.
43073
8a492a67
UD
430742010-07-06 Ulrich Drepper <drepper@redhat.com>
43075
43076 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43077 _PC_PIPE_BUF using F_GETPIPE_SZ.
43078
713df3d5
RM
430792010-07-05 Roland McGrath <roland@redhat.com>
43080
43081 * manual/arith.texi (Rounding Functions): Fix rint description
43082 implicit in round description.
43083
702e8f14
UD
430842010-07-02 Ulrich Drepper <drepper@redhat.com>
43085
43086 * elf/Makefile: Fix linking for a few tests to make recent linker
43087 happy.
43088
52ed8be9
AS
430892010-06-30 Andreas Schwab <schwab@redhat.com>
43090
43091 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43092 $(common-objpfx)libc_nonshared.a.
43093
f47c9a11
LM
430942010-06-21 Luis Machado <luisgpm@br.ibm.com>
43095
43096 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43097 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43098 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43099 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43100 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43101 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43102 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43103 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43118 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43119 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43120 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43121 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43122 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43123 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43124 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43125 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43126 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43127 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43128 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43129 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43144
6fb8cbcb
L
431452010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43146
43147 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43148 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43149 * string/memmove.c (memmove): Renamed to ...
43150 (MEMMOVE): ...this. Default to memmove.
43151 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43152 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43153 (END_CHK): Define.
43154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43155 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43156 mempcpy-ssse3-back memmove-ssse3-back.
43157 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43158 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43159 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43160 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43161 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43162 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43163 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43164 * sysdeps/x86_64/multiarch/memmove.c: New file.
43165 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43166 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43167 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43168 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43169 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43170 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43171 Define.
43172 (index_Fast_Copy_Backward): Define.
43173 (HAS_ARCH_FEATURE): Define.
43174 (HAS_FAST_REP_STRING): Define.
43175 (HAS_FAST_COPY_BACKWARD): Define.
43176
4e733bac 431772010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43178
43179 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43180 Restore proper fallback handling.
43181
63c4ed22
UD
431822010-06-19 Ulrich Drepper <drepper@redhat.com>
43183
ac2b484c
UD
43184 [BZ #11701]
43185 * posix/group_member.c (__group_member): Correct checking loop.
43186
63c4ed22
UD
43187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43188 OOM in getpwuid_r correctly. Return error number when the caller
43189 should return, otherwise -1.
43190 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43191 call returning > 0 value.
43192 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43193
765ade4b
AS
431942010-06-07 Andreas Schwab <schwab@redhat.com>
43195
43196 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43197 libc_nonshared.a from targets in modules-names.
43198
80da2e09
KS
431992010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43200
43201 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43202 requires it.
43203
158db122
LM
432042010-06-10 Luis Machado <luisgpm@br.ibm.com>
43205
43206 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43207 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43209 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43210
caa78cf8
AS
432112010-06-02 Andreas Schwab <schwab@redhat.com>
43212
43213 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43214
b2ef2c01
UD
432152010-06-14 Ulrich Drepper <drepper@redhat.com>
43216
43217 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43218 and F_GETPIPE_SZ.
43219 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43225
fbd643b6
RM
432262010-06-14 Roland McGrath <roland@redhat.com>
43227
43228 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43229
f32f2869
JJ
432302010-06-07 Jakub Jelinek <jakub@redhat.com>
43231
43232 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43233 __REDIRECT followed by __THROW.
43234 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43235 * posix/getopt.h (getopt): Likewise.
43236
2a50c078
EPM
432372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43238
43239 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43240 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43241 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43242 in AT_FLAGS.
43243 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43244 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43245
eb5ad2eb
LM
432462010-05-28 Luis Machado <luisgpm@br.ibm.com>
43247
43248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43249
3c88fe1e
L
432502010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43251
43252 [BZ #11640]
43253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43254 Properly check family and model.
43255
d2f73151
TY
432562010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43257
43258 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43259
ebd2e13d
LM
432602010-05-24 Luis Machado <luisgpm@br.ibm.com>
43261
43262 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43263
b32b8b45
UD
432642010-05-21 Ulrich Drepper <drepper@redhat.com>
43265
43266 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43267 symbol reference.
43268
9acbe24d
AS
432692010-05-19 Andreas Schwab <schwab@redhat.com>
43270
43271 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43272 symbol reference.
43273
f0ccf6ea
AS
432742010-05-21 Andreas Schwab <schwab@redhat.com>
43275
3d04ff3a
AS
43276 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43277 and internal_recvmmsg.
43278 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43279 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43280 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43281 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43282
f0ccf6ea
AS
43283 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43284 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43285 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43286
5b08ac57
AS
432872010-05-20 Andreas Schwab <schwab@redhat.com>
43288
43289 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43290
4828935d
LM
432912010-05-17 Luis Machado <luisgpm@br.ibm.com>
43292
43293 POWER7 optimizations.
43294 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43295 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43296
373d545e
UD
432972010-05-19 Ulrich Drepper <drepper@redhat.com>
43298
43299 * version.h: Update for 2.13 development version.
43300
21a2b1ae
AS
433012010-05-12 Andrew Stubbs <ams@codesourcery.com>
43302
43303 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43304 exceptions. Return 0.
43305
3f7dcb2b
RM
433062010-05-07 Roland McGrath <roland@redhat.com>
43307
43308 * elf/ldconfig.c (main): Add a const.
43309
5f24d53a 433102010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43311
a160f8d8
UD
43312 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43313 (args_options): Add no-idn option.
43314 (ahosts_keys_int): Add idn_flags to ai_flags.
43315 (parse_option): Handle 'i' option to clear idn_flags.
43316
5f24d53a
UD
43317 * malloc/malloc.c (_int_free): Possible race in the most recently
43318 added check. Only act on the data if no current modification
43319 happened.
265bb1ce
UD
43320
43321See ChangeLog.17 for earlier changes.